Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Put disk for Community Gallery and Shared Gallery #22425

Closed
kangsun-ctrl opened this issue May 13, 2022 · 1 comment · Fixed by #22756
Closed

Support Put disk for Community Gallery and Shared Gallery #22425

kangsun-ctrl opened this issue May 13, 2022 · 1 comment · Fixed by #22756
Assignees
Labels
Auto-Assign Auto assign by bot Compute az vm/vmss/image/disk/snapshot feature-request

Comments

@kangsun-ctrl
Copy link
Contributor

Related command

az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference

Resource Provider

Az.Compute

Description of Feature or Work Requested

Currently users can create a disk from gallery image version by:
az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.0.0

and backend match the --gallery-image-reference input to [disk - properties - creationData - galleryImageReference - id]

for community gallery, user can do
az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /CommunityGalleries/{communityGalleryPublicGalleryName}/Images/{imageName}/Versions/1.0.0

backend should match the --gallery-image-reference input to [disk - properties - creationData - galleryImageReference - communityGalleryImageId]

for shared gallery/direct sharing, user can do
az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /SharedGalleries/{sharedGalleryUniqueName}/Images/{imageName}/Versions/1.0.0

backend should match the --gallery-image-reference input to [disk - properties - creationData - galleryImageReference - sharedGalleryImageId]

Minimum API Version Required

2022-03-02

Swagger Link

Azure/azure-rest-api-specs#18945 (this has not been merged to main, but it should be soon)

Target Date

06/30

@ghost ghost added the Compute az vm/vmss/image/disk/snapshot label May 13, 2022
@ghost ghost added this to the Backlog milestone May 13, 2022
@ghost ghost assigned zhoxing-ms May 13, 2022
@ghost ghost added the Auto-Assign Auto assign by bot label May 13, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented May 13, 2022

Compute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment