Skip to main content

virtual_machine_scale_set_vms

Overview

Namevirtual_machine_scale_set_vms
TypeResource
Idazure.compute.virtual_machine_scale_set_vms

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
etagstringEtag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.
identityobjectIdentity for the virtual machine.
instanceIdstringThe virtual machine instance ID.
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 virtual machine.
resourcesarrayThe virtual machine child extension resources.
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 zones.

Methods

NameAccessible byRequired ParamsDescription
getSELECTinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameGets a virtual machine from a VM scale set.
listSELECTresourceGroupName, subscriptionId, virtualMachineScaleSetNameGets a list of all virtual machines in a VM scale sets.
deleteDELETEinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameDeletes a virtual machine from a VM scale set.
_listEXECresourceGroupName, subscriptionId, virtualMachineScaleSetNameGets a list of all virtual machines in a VM scale sets.
approve_rolling_upgradeEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameApprove upgrade on deferred rolling upgrade for OS disk on a VM scale set instance.
attach_detach_data_disksEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameAttach and detach data disks to/from a virtual machine in a VM scale set.
deallocateEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameDeallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.
perform_maintenanceEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNamePerforms maintenance on a virtual machine in a VM scale set.
power_offEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNamePower off (stop) a virtual machine 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.
redeployEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameShuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.
reimageEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameReimages (upgrade the operating system) a specific virtual machine in a VM scale set.
reimage_allEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameAllows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.
restartEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameRestarts a virtual machine in a VM scale set.
retrieve_boot_diagnostics_dataEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameThe operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.
run_commandEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetName, data__commandIdRun command on a virtual machine in a VM scale set.
simulate_evictionEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameThe operation to simulate the eviction of spot virtual machine in a VM scale set.
startEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameStarts a virtual machine in a VM scale set.
updateEXECinstanceId, resourceGroupName, subscriptionId, vmScaleSetNameUpdates a virtual machine of a VM scale set.