Share via


VirtualMachineConfiguration Class

The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.

Constructor

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

Variables

Name Description
image_reference

A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use. Required.

node_agent_sku_id
str

The SKU of the Batch node agent to be provisioned on compute nodes in the pool. Required.

windows_configuration

Windows operating system settings on the virtual machine.

data_disks

The configuration for data disks attached to the compute nodes in the pool.

license_type
str

The type of on-premises license to be used when deploying the operating system.

container_configuration

The container configuration for the pool.

disk_encryption_configuration

The disk encryption configuration for the pool.

node_placement_configuration

The node placement configuration for the pool.

extensions

The virtual machine extension for the pool.

os_disk

Settings for the operating system disk of the Virtual Machine.

security_profile

Specifies the security profile settings for the virtual machine or virtual machine scale set.

service_artifact_reference

Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.

Attributes

container_configuration

The container configuration for the pool.

container_configuration: _models.ContainerConfiguration | None

data_disks

The configuration for data disks attached to the compute nodes in the pool.

data_disks: list['_models.DataDisk'] | None

disk_encryption_configuration

The disk encryption configuration for the pool.

disk_encryption_configuration: _models.DiskEncryptionConfiguration | None

extensions

The virtual machine extension for the pool.

extensions: list['_models.VMExtension'] | None

image_reference

A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use. Required.

image_reference: _models.ImageReference

license_type

The type of on-premises license to be used when deploying the operating system.

license_type: str | None

node_agent_sku_id

The SKU of the Batch node agent to be provisioned on compute nodes in the pool. Required.

node_agent_sku_id: str

node_placement_configuration

The node placement configuration for the pool.

node_placement_configuration: _models.NodePlacementConfiguration | None

os_disk

Settings for the operating system disk of the Virtual Machine.

os_disk: _models.OSDisk | None

security_profile

Specifies the security profile settings for the virtual machine or virtual machine scale set.

security_profile: _models.SecurityProfile | None

service_artifact_reference

Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.

service_artifact_reference: _models.ServiceArtifactReference | None

windows_configuration

Windows operating system settings on the virtual machine.

windows_configuration: _models.WindowsConfiguration | None