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

[Compute] az disk create: --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version #22756

Merged
merged 8 commits into from
Jun 22, 2022

Conversation

yanzhudd
Copy link
Contributor

@yanzhudd yanzhudd commented Jun 7, 2022

Description

Add two supported formats of --gallery-image-reference argument in az disk createscenario to support creating disk from shared gallery image version and community gallery image version.
Close #22425

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@ghost ghost requested a review from yonzhan June 7, 2022 08:06
@ghost ghost added the Auto-Assign Auto assign by bot label Jun 7, 2022
@ghost ghost assigned zhoxing-ms Jun 7, 2022
@ghost ghost added this to the Jun 2022 (2022-07-05) milestone Jun 7, 2022
@ghost ghost added the Compute az vm/vmss/image/disk/snapshot label Jun 7, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 7, 2022

Compute

Comment on lines 1043 to 1044
community_gallery_image_version = '/CommunityGalleries/' + public_name + '/Images/' + self.kwargs['image1'] \
+ '/Versions/' + self.kwargs['version']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After feature #21423 is completed, community_gallery_image_version can be obtained from the sig image-version show-community command instead

@zhoxing-ms zhoxing-ms changed the title [Compute]az disk create: Add two supported formats of --gallery-image-reference to support creating disk from shared gallery image version and community gallery image version [Compute]az disk create: The parameter --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version Jun 7, 2022
@zhoxing-ms zhoxing-ms changed the title [Compute]az disk create: The parameter --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version [Compute]az disk create: --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version Jun 7, 2022
@zhoxing-ms zhoxing-ms changed the title [Compute]az disk create: --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version [Compute] az disk create: --gallery-image-reference adds support for creating disk from shared gallery image version or community gallery image version Jun 7, 2022
@zhoxing-ms zhoxing-ms merged commit 3fa8af4 into Azure:dev Jun 22, 2022
@yanzhudd yanzhudd deleted the put_disk_for_two_galleries branch June 22, 2022 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Compute az vm/vmss/image/disk/snapshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Put disk for Community Gallery and Shared Gallery
3 participants