VirtualMachineConfiguration Constructors

Definition

Overloads

VirtualMachineConfiguration()

Default constructor to support mocking the VirtualMachineConfiguration class.

VirtualMachineConfiguration(ImageReference, String)

Initializes a new instance of the VirtualMachineConfiguration class.

VirtualMachineConfiguration()

Source:
VirtualMachineConfiguration.cs

Default constructor to support mocking the VirtualMachineConfiguration class.

protected VirtualMachineConfiguration ();
Protected Sub New ()

Applies to

VirtualMachineConfiguration(ImageReference, String)

Source:
VirtualMachineConfiguration.cs

Initializes a new instance of the VirtualMachineConfiguration class.

public VirtualMachineConfiguration (Microsoft.Azure.Batch.ImageReference imageReference, string nodeAgentSkuId);
new Microsoft.Azure.Batch.VirtualMachineConfiguration : Microsoft.Azure.Batch.ImageReference * string -> Microsoft.Azure.Batch.VirtualMachineConfiguration
Public Sub New (imageReference As ImageReference, nodeAgentSkuId As String)

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 Batch Node Agent to be provisioned on the compute node.

Applies to