-
Notifications
You must be signed in to change notification settings - Fork 321
Update azure-hybrid-benefit-linux.md #424
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -487,6 +487,20 @@ Converting to a PAYG subscription model is supported for Azure Marketplace image | |||||||||
| # In order to revert back to the original licensing model, set license-type to None. | ||||||||||
| az vm update -g myResourceGroup -n myVmName --license-type NONE | ||||||||||
| ``` | ||||||||||
| In some cases, you must utilize the Azure Management API to patch the license type in the virtual machine's metadata: | ||||||||||
|
||||||||||
| In some cases, you must utilize the Azure Management API to patch the license type in the virtual machine's metadata: | |
| In some cases, you must utilize the Azure Management API to patch the license type in the VM's metadata: |
Copilot
AI
Feb 12, 2026
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.
The placeholder "YourVMName" is inconsistent with the naming convention used throughout this document. The document consistently uses "myVmName" (with lowercase 'm' in 'Vm') as the placeholder for VM names in the -n parameter of az vm update commands. Change "YourVMName" to "myVmName" to match the established pattern.
| VM_ID=$(az vm list --query "[?name=='YourVMName'].id" -o tsv) | |
| VM_ID=$(az vm list --query "[?name=='myVmName'].id" -o tsv) |
Copilot
AI
Feb 12, 2026
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.
The command should specify the resource group to ensure the correct VM is selected, especially in subscriptions with multiple resource groups. Consider adding --resource-group myResourceGroup to match the pattern used elsewhere in this document, or update the query to include a resource group filter like "[?name=='myVmName' && resourceGroup=='myResourceGroup'].id".
| VM_ID=$(az vm list --query "[?name=='YourVMName'].id" -o tsv) | |
| VM_ID=$(az vm list --resource-group myResourceGroup --query "[?name=='YourVMName'].id" -o tsv) |
Copilot
AI
Feb 12, 2026
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.
The phrase "change PAYG license to SLES_SAP" is unclear. Based on the context of the document, this should be "change from PAYG to SLES_SAP" or "change the license type from PAYG to SLES_SAP" to match the pattern seen in line 406 ("conversion from PAYG to BYOS") and to clarify that you're converting between subscription models, not just changing a PAYG license.
| 1. Update the license type by patching the VM's metadata. For example, change PAYG license to SLES_SAP: | |
| 1. Update the license type by patching the VM's metadata. For example, change the license type from PAYG to SLES_SAP: |
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.
A blank line should be added before this new paragraph to maintain consistency with the document's formatting. Looking at the surrounding context, numbered list items are followed by a blank line before new paragraphs or sections begin (see lines 484-485 and 464-465).