Skip to content

Commit f7430a9

Browse files
author
naman-msft
committed
updated documentation
1 parent 21a854e commit f7430a9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ Not all documentation is suitable for conversion to Exec Docs. Use these filters
2727

2828
1. **Command Execution Limitations**
2929
- **Supported:**
30-
- Any command that can run in a BASH terminal
31-
- Azure CLI commands (e.g. azurecli, azure-cli-interactive, azurecli-interactive)
32-
- Terraform commands
30+
- Any command that can run in a BASH terminal (e.g. azurecli, azure-cli-interactive, azurecli-interactive, terraform commands)
3331

3432
- **Not supported:**
3533
- PowerShell scripts

scenarios/azure-compute-docs/articles/virtual-machine-scale-sets/tutorial-modify-scale-sets-cli.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ These properties describe the configuration of a VM instance within a scale set,
287287
You can perform updates to individual VM instances in a scale set just like you would a standalone VM. For example, attaching a new data disk to instance 1:
288288

289289
```azurecli-interactive
290-
az vm disk attach --resource-group $MY_RESOURCE_GROUP_NAME --vm-name $INSTANCE_NAME --name disk_name1 --new
290+
export DISK_NAME="disk_name$RANDOM_SUFFIX"
291+
az vm disk attach --resource-group $MY_RESOURCE_GROUP_NAME --vm-name $INSTANCE_NAME --name $DISK_NAME --new
291292
```
292293

293294
Running [az vm show](/cli/azure/vm#az-vm-show) again, we now will see that the VM instance has the new disk attached.
@@ -303,11 +304,11 @@ Running [az vm show](/cli/azure/vm#az-vm-show) again, we now will see that the V
303304
"diskSizeGb": 1023,
304305
"lun": 0,
305306
"managedDisk": {
306-
"id": "/subscriptions/xxxxx/resourceGroups/myResourceGroupxxx/providers/Microsoft.Compute/disks/disk_name1",
307+
"id": "/subscriptions/xxxxx/resourceGroups/myResourceGroupxxx/providers/Microsoft.Compute/disks/disk_namexxxx",
307308
"resourceGroup": "myResourceGroupxxx",
308309
"storageAccountType": "Premium_LRS"
309310
},
310-
"name": "disk_name1",
311+
"name": "disk_namexxxx",
311312
"toBeDetached": false
312313
}
313314
]

0 commit comments

Comments
 (0)