az vmss
Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). Azure CLI reference
35 commands 7 options Its page in the Azure CLI reference
Commands
applicationmanage applications for VM scale set.createCreate an Azure Virtual Machine Scale Set.deallocateDeallocate VMs within a VMSS.deleteDelete a VM scale set.delete-instancesDelete VMs within a VMSS.diagnosticsConfigure the Azure Virtual Machine Scale Set diagnostics extension.diskManage data disks of a VMSS.encryptionManage encryption of VMSS.extensionManage extensions on a VM scale set.get-instance-viewView an instance of a VMSS.get-os-upgrade-historyList the OS upgrades on a VM scale set instance.identitymanage service identities of a VM scaleset.lifecycle-hookManage lifecycle hooks on a Virtual Machine Scale Set (preview).lifecycle-hook-eventManage Lifecycle Hook EventlistList all VM scale sets under a resource group.list-instance-connection-infoGet the IP address and port number used to connect to individual VM instances within a set.list-instance-public-ipsList public IP addresses of VM instances within a set.list-instancesList all virtual machines in a VM scale sets.list-skusList SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.nicManage network interfaces of a VMSS.perform-maintenancePerform maintenance on one or more virtual machines in a VM scale set.reimageReimage VMs within a VMSS.restartRestart VMs within a VMSS.rolling-upgradeManage rolling upgrades.run-commandManage Run CommandscaleChange the number of VMs within a VMSS.set-orchestration-service-stateChange ServiceState property for a given service within a VMSS.showGet details on VMs within a VMSS.simulate-evictionSimulate the eviction of a Spot virtual machine in a VM scale set.startStart VMs within a VMSS.stopPower off (stop) VMs within a VMSS.updateUpdate a VMSS.update-domain-walkManual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.update-instancesUpgrade VMs within a VMSS.waitPlace the CLI in a waiting state until a condition is met.Options
--cachingDisk caching policy--host-groupName or ID of dedicated host group that the virtual machine scale set resides in--instance-id--instance-idsSpace-separated list of IDs (ex: 1 2 3 ...) or * for all instances.--no-auto-upgrade-minor-versionIf set, the extension service will not automatically pick or upgrade to the latest minor version, even if the extension is redeployed.--tagsspace-separated tags: key[=value] [key[=value] ...].--zones, -zSpace-separated list of availability zones into which to provision the resource.