VirtualMachineScaleSetVM Class

Describes a virtual machine scale set virtual machine.

Constructor

VirtualMachineScaleSetVM(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

properties

Describes the properties of a virtual machine scale set virtual machine.

instance_id
str

The virtual machine instance ID.

sku
Sku

The virtual machine SKU.

plan

Specifies 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.

resources

The virtual machine child extension resources.

zones

The virtual machine zones.

identity

The identity of the virtual machine, if configured.

etag
str

Etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.

Attributes

etag

Etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.

etag: str | None

identity

The identity of the virtual machine, if configured.

identity: _models.VirtualMachineIdentity | None

instance_id

The virtual machine instance ID.

instance_id: str | None

plan

Specifies 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.

plan: _models.Plan | None

properties

Describes the properties of a virtual machine scale set virtual machine.

properties: _models.VirtualMachineScaleSetVMProperties | None

resources

The virtual machine child extension resources.

resources: list['_models.VirtualMachineExtension'] | None

sku

The virtual machine SKU.

sku: _models.Sku | None

zones

The virtual machine zones.

zones: list[str] | None