Skip to content

Community gallery legal agreement acceptance during 'az vm' #21815

Description

@kangsun-ctrl

Resource Provider

Azure Compute

Description of Feature or Work Requested

CELA team has an ask that when user creates a vm from community gallery, we should pop up an agreement acceptance line for user to accept/decline.

Design below:

  1. If user uses 'az vm --image /CommunityGalleries/xxx/Images/xxx/Versions/xxx" or use 'az vmss --image /CommunityGalleries/xxx/Images/xxx/Versions/xxx"

follow up with question
"To create a VM from a community gallery image, you must accept the license agreement and privacy statement : https:/xxx. If you want to accept the legal terms by command, please use option '--accept-terms' for 'az vm', please now choose by Y/N:"

"To create a VMSS from a community gallery image, you must accept the license agreement and privacy statement : https:/xxx. If you want to accept the legal terms by command, please use option '--accept-terms' for 'az vmss', please now choose by Y/N:"

If user accepts, proceed to VM/VMSS creation. If user declines, do not create VM/VMSS.

  1. If user uses 'az vm --image /CommunityGalleries/xxx/Images/xxx/Versions/xxx --accept-terms' or 'az vmss --image /CommunityGalleries/xxx/Images/xxx/Versions/xxx --accept-terms'
    We think user has accepted the legal terms and we proceed to VM creation directly.

I already talked to Xing Zhou in CLI team about this.

  1. One more change is to update description of eula when creating a community gallery, currently the description for 'eula' is 'Community gallery publisher eula', we intend to change it to 'community gallery license agreement and privacy statement'

Minimum API Version Required

2021-10-01

Swagger Link

None

Target Date

Start of April

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions