diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py index cb0e2a5fb79..4022fc9f55d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py @@ -1384,11 +1384,11 @@ latest=$(az vm extension image list-versions \\ - --publisher {publisher} -l {location} -n {extension} \\ + --publisher ${publisher} -l ${location} -n ${extension} \\ --query "[].name" -o tsv | sort | tail -n 1) - az vm extension image show -l {location} \\ - --publisher {publisher} -n {extension} --version {latest} + az vm extension image show -l ${location} \\ + --publisher ${publisher} -n ${extension} --version ${latest} """ helps['vm extension list'] = """ @@ -1461,9 +1461,9 @@ - name: Deallocate, generalize, and capture multiple stopped virtual machines. text: | vms_ids=$(az vm list -g MyResourceGroup --query "[].id" -o tsv) - az vm deallocate --ids {vms_ids} - az vm generalize --ids {vms_ids} - az vm capture --ids {vms_ids} --vhd-name-prefix MyPrefix + az vm deallocate --ids ${vms_ids} + az vm generalize --ids ${vms_ids} + az vm capture --ids ${vms_ids} --vhd-name-prefix MyPrefix """ @@ -1709,7 +1709,7 @@ text: > latest=$(az vm image list -p OpenLogic -s 7.3 --all --query \\ "[?offer=='CentOS'].version" -o tsv | sort -u | tail -n 1) - az vm image show -l westus -f CentOS -p OpenLogic --sku 7.3 --version {latest} + az vm image show -l westus -f CentOS -p OpenLogic --sku 7.3 --version ${latest} - name: Get the details for a VM image available in the Azure Marketplace. (autogenerated) text: | az vm image show --location westus --urn publisher:offer:sku:version