Skip to content

Conversation

@Jing-song
Copy link
Contributor

Related command

Shared gallery replace '--seletct=permissions' with '--expand=sharingProfile/Groups' #22327

Description

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.

@Jing-song Jing-song requested a review from zhoxing-ms as a code owner May 12, 2022 10:32
@Jing-song Jing-song self-assigned this May 12, 2022
@ghost ghost requested a review from yonzhan May 12, 2022 10:32
@ghost ghost added the Auto-Assign Auto assign by bot label May 12, 2022
@ghost ghost assigned zhoxing-ms May 12, 2022
@ghost ghost added this to the May 2022 (2022-05-24) - For Build milestone May 12, 2022
@ghost ghost added the Compute az vm/vmss/image/disk/snapshot label May 12, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented May 12, 2022

Compute

Copy link
Member

@jiasli jiasli left a comment

Choose a reason for hiding this comment

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

Approve for core.

])

self.cmd('sig show -g {rg} -r {gallery_name}', checks=[
self.cmd('sig show -g {rg} -r {gallery_name} --expand sharingProfile/Groups', checks=[
Copy link
Contributor

@zhoxing-ms zhoxing-ms May 13, 2022

Choose a reason for hiding this comment

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

I recommend using the independent parameter --sharing-groups instead of directly asking users to enter --expand sharingProfile/Groups, because the meaning of this parameter is clearer (we can add help information for this parameter) and more convenient for users to input. @kangsun-ctrl What do you think of it?

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good!

@wangzelin007
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Jing-song Jing-song changed the title [Compute] az sig show: Add new parameters --expand to support query shared gallery [Compute] az sig show: Add new parameters --sharing-groups to support query shared gallery group May 18, 2022
@zhoxing-ms zhoxing-ms merged commit 2179aa7 into Azure:dev May 18, 2022
@Jing-song Jing-song deleted the jins-sigexpand branch July 5, 2022 02:39
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.

Shared gallery replace '--seletct=permissions' with '--expand=sharingProfile/Groups'

6 participants