-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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} Update description of license_msg #17427
Conversation
I would suggest update help in command level instead of parameter level |
@@ -833,6 +833,8 @@ def load_arguments(self, _): | |||
license_msg = "Specifies that the Windows image or disk was licensed on-premises. " \ | |||
"To enable Azure Hybrid Benefit for Windows Server, use 'Windows_Server'. " \ | |||
"To enable Multitenant Hosting Rights for Windows 10, use 'Windows_Client'. " \ | |||
"Remember that after setting the license type on VMSs, execute the following command to apply the changes to the existing VM." \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Remember that after setting the license type on VMSs, execute the following command to apply the changes to the existing VM." \ | |
"Remember that after setting the license type on VMSS, execute the following command to apply the changes to the existing VM." \ |
@@ -2758,6 +2758,7 @@ | |||
helps['vmss update'] = """ | |||
type: command | |||
short-summary: Update a VMSS. | |||
long-summary: To update a global scale set property, you must update the property in the scale set model.Remember to execute the `az vmss update-instances -g 'Your resource group name' -n 'Your VMSS name' --instance-ids '*' ` command after using this command to make the change take effect. If you don't set the automatic modes for the upgrade policy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BigCat20196 Put it in short summary. Long summary is not shown in references.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK,I've tried to write it in the short summary.
@@ -2757,8 +2757,7 @@ | |||
|
|||
helps['vmss update'] = """ | |||
type: command | |||
short-summary: Update a VMSS. | |||
long-summary: To update a global scale set property, you must update the property in the scale set model.Remember to execute the `az vmss update-instances -g 'Your resource group name' -n 'Your VMSS name' --instance-ids '*' ` command after using this command to make the change take effect. If you don't set the automatic modes for the upgrade policy. | |||
short-summary: Update a VMSS.After that,remember to execute the 'az vmss update-instances' command to make the changes take effect, assuming that you have not set the automatic modes for the upgrade policy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
short-summary: Update a VMSS.After that,remember to execute the 'az vmss update-instances' command to make the changes take effect, assuming that you have not set the automatic modes for the upgrade policy | |
short-summary: Update a VMSS. Run 'az vmss update-instances' command to roll out the changes to VMs if you have not configured upgrade policy. |
Co-authored-by: Feiyue Yu <iamyfy@163.com>
@BigCat20196 You should have seen a "Commit suggestion" button on my comment. If it looks good, just click it. |
Description
Resolve #16541
[Compute] Modify description of license_ msg. After reminding the user to set the license type on VMSS, execute the following command to apply the change to the existing VM.
az vmss update-instances -g "Your resource group name" -n "Your VMSS name" --instance-ids "*"
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.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.