VirtualMachineScaleSetVM Class
Describes a virtual machine scale set virtual machine.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute.v2021_11_01.models._models_py3.ResourceVirtualMachineScaleSetVM
Constructor
VirtualMachineScaleSetVM(*, location: str, tags: Dict[str, str] | None = None, plan: _models.Plan | None = None, hardware_profile: _models.HardwareProfile | None = None, storage_profile: _models.StorageProfile | None = None, additional_capabilities: _models.AdditionalCapabilities | None = None, os_profile: _models.OSProfile | None = None, security_profile: _models.SecurityProfile | None = None, network_profile: _models.NetworkProfile | None = None, network_profile_configuration: _models.VirtualMachineScaleSetVMNetworkProfileConfiguration | None = None, diagnostics_profile: _models.DiagnosticsProfile | None = None, availability_set: _models.SubResource | None = None, license_type: str | None = None, protection_policy: _models.VirtualMachineScaleSetVMProtectionPolicy | None = None, user_data: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location
|
Resource location. Required. |
tags
|
Resource tags. |
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. |
hardware_profile
|
Specifies the hardware settings for the virtual machine. |
storage_profile
|
Specifies the storage settings for the virtual machine disks. |
additional_capabilities
|
Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type. |
os_profile
|
Specifies the operating system settings for the virtual machine. |
security_profile
|
Specifies the Security related profile settings for the virtual machine. |
network_profile
|
Specifies the network interfaces of the virtual machine. |
network_profile_configuration
|
Specifies the network profile configuration of the virtual machine. |
diagnostics_profile
|
Specifies the boot diagnostic settings state.
|
availability_set
|
Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see Availability sets overview.
|
license_type
|
Specifies that the image or disk that is being used was licensed
on-premises. |
protection_policy
|
Specifies the protection policy of the virtual machine. |
user_data
|
UserData for the VM, which must be base-64 encoded. Customer should not
pass any secrets in here. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. Required. |
tags
|
Resource tags. |
instance_id
|
The virtual machine instance ID. |
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. |
latest_model_applied
|
Specifies whether the latest model has been applied to the virtual machine. |
vm_id
|
Azure VM unique ID. |
instance_view
|
The virtual machine instance view. |
hardware_profile
|
Specifies the hardware settings for the virtual machine. |
storage_profile
|
Specifies the storage settings for the virtual machine disks. |
additional_capabilities
|
Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type. |
os_profile
|
Specifies the operating system settings for the virtual machine. |
security_profile
|
Specifies the Security related profile settings for the virtual machine. |
network_profile
|
Specifies the network interfaces of the virtual machine. |
network_profile_configuration
|
Specifies the network profile configuration of the virtual machine. |
diagnostics_profile
|
Specifies the boot diagnostic settings state.
|
availability_set
|
Specifies information about the availability set that the virtual
machine should be assigned to. Virtual machines specified in the same availability set are
allocated to different nodes to maximize availability. For more information about availability
sets, see Availability sets overview.
|
provisioning_state
|
The provisioning state, which only appears in the response. |
license_type
|
Specifies that the image or disk that is being used was licensed
on-premises. |
model_definition_applied
|
Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. |
protection_policy
|
Specifies the protection policy of the virtual machine. |
user_data
|
UserData for the VM, which must be base-64 encoded. Customer should not pass
any secrets in here. |
Azure SDK for Python