Skip to main content

virtual_machine_scale_sets

Overview

Namevirtual_machine_scale_sets
TypeResource
Idazure.compute.virtual_machine_scale_sets

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
etagstringEtag is property returned in Create/Update/Get response of the VMSS, so that customer can supply it in the header to ensure optimistic updates
extendedLocationobjectThe complex type of the extended location.
identityobjectIdentity for the virtual machine scale set.
locationstringResource location
planobjectSpecifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
propertiesobjectDescribes the properties of a Virtual Machine Scale Set.
skuobjectDescribes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
tagsobjectResource tags
typestringResource type
zonesarrayThe virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vmScaleSetNameDisplay information about a virtual machine scale set.
listSELECTresourceGroupName, subscriptionIdGets a list of all VM scale sets under a resource group.
list_by_locationSELECTlocation, subscriptionIdGets all the VM scale sets under the specified subscription for the specified location.
create_or_updateINSERTresourceGroupName, subscriptionId, vmScaleSetNameCreate or update a VM scale set.
deleteDELETEresourceGroupName, subscriptionId, vmScaleSetNameDeletes a VM scale set.
_listEXECresourceGroupName, subscriptionIdGets a list of all VM scale sets under a resource group.
_list_by_locationEXEClocation, subscriptionIdGets all the VM scale sets under the specified subscription for the specified location.
approve_rolling_upgradeEXECresourceGroupName, subscriptionId, vmScaleSetNameApprove upgrade on deferred rolling upgrades for OS disks in the virtual machines in a VM scale set.
convert_to_single_placement_groupEXECresourceGroupName, subscriptionId, vmScaleSetNameConverts SinglePlacementGroup property to false for a existing virtual machine scale set.
deallocateEXECresourceGroupName, subscriptionId, vmScaleSetNameDeallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.
force_recovery_service_fabric_platform_update_domain_walkEXECplatformUpdateDomain, resourceGroupName, subscriptionId, vmScaleSetNameManual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.
perform_maintenanceEXECresourceGroupName, subscriptionId, vmScaleSetNamePerform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
power_offEXECresourceGroupName, subscriptionId, vmScaleSetNamePower off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.
reapplyEXECresourceGroupName, subscriptionId, vmScaleSetNameReapplies the Virtual Machine Scale Set Virtual Machine Profile to the Virtual Machine Instances
redeployEXECresourceGroupName, subscriptionId, vmScaleSetNameShuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.
reimageEXECresourceGroupName, subscriptionId, vmScaleSetNameReimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.
reimage_allEXECresourceGroupName, subscriptionId, vmScaleSetNameReimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.
restartEXECresourceGroupName, subscriptionId, vmScaleSetNameRestarts one or more virtual machines in a VM scale set.
set_orchestration_service_stateEXECresourceGroupName, subscriptionId, vmScaleSetName, data__action, data__serviceNameChanges ServiceState property for a given service
startEXECresourceGroupName, subscriptionId, vmScaleSetNameStarts one or more virtual machines in a VM scale set.
updateEXECresourceGroupName, subscriptionId, vmScaleSetNameUpdate a VM scale set.