VirtualMachineConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
VirtualMachineConfiguration()
Initializes a new instance of the VirtualMachineConfiguration class.
public VirtualMachineConfiguration ();
Public Sub New ()
Applies to
VirtualMachineConfiguration(ImageReference, String, WindowsConfiguration, IList<DataDisk>, String, ContainerConfiguration, DiskEncryptionConfiguration, NodePlacementConfiguration, IList<VMExtension>, OSDisk, SecurityProfile, ServiceArtifactReference)
Initializes a new instance of the VirtualMachineConfiguration class.
public VirtualMachineConfiguration (Microsoft.Azure.Batch.Protocol.Models.ImageReference imageReference, string nodeAgentSKUId, Microsoft.Azure.Batch.Protocol.Models.WindowsConfiguration windowsConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.DataDisk> dataDisks = default, string licenseType = default, Microsoft.Azure.Batch.Protocol.Models.ContainerConfiguration containerConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.DiskEncryptionConfiguration diskEncryptionConfiguration = default, Microsoft.Azure.Batch.Protocol.Models.NodePlacementConfiguration nodePlacementConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.VMExtension> extensions = default, Microsoft.Azure.Batch.Protocol.Models.OSDisk osDisk = default, Microsoft.Azure.Batch.Protocol.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Batch.Protocol.Models.ServiceArtifactReference serviceArtifactReference = default);
new Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration : Microsoft.Azure.Batch.Protocol.Models.ImageReference * string * Microsoft.Azure.Batch.Protocol.Models.WindowsConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.DataDisk> * string * Microsoft.Azure.Batch.Protocol.Models.ContainerConfiguration * Microsoft.Azure.Batch.Protocol.Models.DiskEncryptionConfiguration * Microsoft.Azure.Batch.Protocol.Models.NodePlacementConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.VMExtension> * Microsoft.Azure.Batch.Protocol.Models.OSDisk * Microsoft.Azure.Batch.Protocol.Models.SecurityProfile * Microsoft.Azure.Batch.Protocol.Models.ServiceArtifactReference -> Microsoft.Azure.Batch.Protocol.Models.VirtualMachineConfiguration
Public Sub New (imageReference As ImageReference, nodeAgentSKUId As String, Optional windowsConfiguration As WindowsConfiguration = Nothing, Optional dataDisks As IList(Of DataDisk) = Nothing, Optional licenseType As String = Nothing, Optional containerConfiguration As ContainerConfiguration = Nothing, Optional diskEncryptionConfiguration As DiskEncryptionConfiguration = Nothing, Optional nodePlacementConfiguration As NodePlacementConfiguration = Nothing, Optional extensions As IList(Of VMExtension) = Nothing, Optional osDisk As OSDisk = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional serviceArtifactReference As ServiceArtifactReference = Nothing)
Parameters
- imageReference
- ImageReference
A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use.
- nodeAgentSKUId
- String
The SKU of the Batch Compute Node agent to be provisioned on Compute Nodes in the Pool.
- windowsConfiguration
- WindowsConfiguration
Windows operating system settings on the virtual machine.
The configuration for data disks attached to the Compute Nodes in the Pool.
- licenseType
- String
The type of on-premises license to be used when deploying the operating system.
- containerConfiguration
- ContainerConfiguration
The container configuration for the Pool.
- diskEncryptionConfiguration
- DiskEncryptionConfiguration
The disk encryption configuration for the pool.
- nodePlacementConfiguration
- NodePlacementConfiguration
The node placement configuration for the pool.
- extensions
- IList<VMExtension>
The virtual machine extension for the pool.
- osDisk
- OSDisk
Settings for the operating system disk of the Virtual Machine.
- securityProfile
- SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
- serviceArtifactReference
- ServiceArtifactReference
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.
Applies to
Azure SDK for .NET