VirtualMachineInfo 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
VirtualMachineInfo() |
Initializes a new instance of the VirtualMachineInfo class. |
VirtualMachineInfo(ImageReference, String) |
Initializes a new instance of the VirtualMachineInfo class. |
VirtualMachineInfo()
- Source:
- VirtualMachineInfo.cs
Initializes a new instance of the VirtualMachineInfo class.
public VirtualMachineInfo ();
Public Sub New ()
Applies to
VirtualMachineInfo(ImageReference, String)
- Source:
- VirtualMachineInfo.cs
Initializes a new instance of the VirtualMachineInfo class.
public VirtualMachineInfo (Microsoft.Azure.Batch.Protocol.Models.ImageReference imageReference = default, string scaleSetVmResourceId = default);
new Microsoft.Azure.Batch.Protocol.Models.VirtualMachineInfo : Microsoft.Azure.Batch.Protocol.Models.ImageReference * string -> Microsoft.Azure.Batch.Protocol.Models.VirtualMachineInfo
Public Sub New (Optional imageReference As ImageReference = Nothing, Optional scaleSetVmResourceId As String = Nothing)
Parameters
- imageReference
- ImageReference
The reference to the Azure Virtual Machine's Marketplace Image.
- scaleSetVmResourceId
- String
The resource ID of the Compute Node's current Virtual Machine Scale Set VM. Only defined if the Batch Account was created with its poolAllocationMode property set to 'UserSubscription'.
Applies to
Azure SDK for .NET