Azure / Azure/azure-powershell

New-AzDataShare should support the in-place share type

Open
#25,833 3 comments 0 reactions 0 assignees View on GitHub
customer-reported Data Share feature-request Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Type of issue

Other (describe below)

### Feedback

When creating data share from Azure Portal, one can select two share types: snapshot or in-place (as shown below). But the New-AzDataShare command does not support the share type. It seems the data share created by this command is always of snapshot type. A new parameter should be provided to support both snapshot type and in-place type.

![image](https://github.com/user-attachments/assets/f2381d41-90f5-4b6c-98fd-a25abe38d9fe)

### Page URL

https://learn.microsoft.com/en-us/powershell/module/az.datashare/new-azdatashare?view=azps-12.2.0

### Content source URL

https://github.com/Azure/azure-powershell/blob/main/src/DataShare/DataShare/help/New-AzDataShare.md

### Author

@mikefrobbins

### Document Id

e2510f7c-7324-b0d4-292d-c1df4e327133

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.