共用方式為


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()

Initializes a new instance of the VirtualMachineConfiguration class.

VirtualMachineConfiguration(ImageReference, String, WindowsConfiguration, IList<DataDisk>, String, ContainerConfiguration, DiskEncryptionConfiguration, NodePlacementConfiguration, IList<VMExtension>, OSDisk, SecurityProfile, ServiceArtifactReference)

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 the Batch Compute Node agent to be provisioned on Compute Nodes in the Pool.

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.

Applies to