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() |
Default constructor to support mocking the VirtualMachineConfiguration class. |
VirtualMachineConfiguration(ImageReference, String) |
Initializes a new instance of the VirtualMachineConfiguration class. |
VirtualMachineConfiguration()
Default constructor to support mocking the VirtualMachineConfiguration class.
protected VirtualMachineConfiguration ();
Protected Sub New ()
Applies to
VirtualMachineConfiguration(ImageReference, String)
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.