Udostępnij za pośrednictwem


VirtualMachineConfiguration Class

Definition

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

public class VirtualMachineConfiguration
type VirtualMachineConfiguration = class
Public Class VirtualMachineConfiguration
Inheritance
VirtualMachineConfiguration

Constructors

VirtualMachineConfiguration()

Default constructor to support mocking the VirtualMachineConfiguration class.

VirtualMachineConfiguration(ImageReference, String)

Initializes a new instance of the VirtualMachineConfiguration class.

Properties

ContainerConfiguration

Gets or sets the container configuration for the pool.

DataDisks

Gets or sets the configuration for data disks attached to the Compute Nodes in the pool.

DiskEncryptionConfiguration

Gets or sets the disk encryption configuration for the pool.

Extensions

Gets or sets the virtual machine extension for the pool.

ImageReference

Gets or sets a reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use.

LicenseType

Gets or sets the type of on-premises license to be used when deploying the operating system.

NodeAgentSkuId

Gets or sets the SKU of Batch Node Agent to be provisioned on the compute node.

NodePlacementConfiguration

Gets or sets the node placement configuration for the pool.

OSDisk

Gets or sets settings for the operating system disk of the Virtual Machine.

SecurityProfile

Gets or sets specifies the security profile settings for the virtual machine or virtual machine scale set.

ServiceArtifactReference

Gets or sets 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.

WindowsConfiguration

Gets or sets windows operating system settings on the Virtual Machine. This property must not be specified if the ImageReference property specifies a Linux OS image.

Applies to