CmdID

CmdID / az / az vmss / az vmss disk

az vmss disk attach

Attach managed data disks to a scale set or its instances. Azure CLI reference

2 examples Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Attach managed data disks to a scale set or its instances. (autogenerated)

az vmss disk attach --disk {disk} --instance-id 0 --resource-group MyResourceGroupIdentify
--diskexisting disk name or ID to attach or detach from VM instances
--instance-idScale set VM instance id
--resource-groupName of resource group.

Attach managed data disks of a given size to a scale set or its instances. (autogenerated)

az vmss disk attach --vmss-name MyVmss --resource-group MyResourceGroup --size-gb 50Identify
--resource-groupName of resource group.
--size-gbsize in GB.