Share via


Cluster Constructors

Definition

Overloads

Cluster()

Initializes a new instance of the Cluster class.

Cluster(String, String, String, String, Nullable<VmPriority>, ScaleSettings, VirtualMachineConfiguration, NodeSetup, UserAccountSettings, ResourceId, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, IList<BatchAIError>, Nullable<Int32>, NodeStateCounts)

Initializes a new instance of the Cluster class.

Cluster()

Initializes a new instance of the Cluster class.

public Cluster ();
Public Sub New ()

Applies to

Cluster(String, String, String, String, Nullable<VmPriority>, ScaleSettings, VirtualMachineConfiguration, NodeSetup, UserAccountSettings, ResourceId, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<DateTime>, IList<BatchAIError>, Nullable<Int32>, NodeStateCounts)

Initializes a new instance of the Cluster class.

public Cluster (string id = default, string name = default, string type = default, string vmSize = default, Microsoft.Azure.Management.BatchAI.Models.VmPriority? vmPriority = default, Microsoft.Azure.Management.BatchAI.Models.ScaleSettings scaleSettings = default, Microsoft.Azure.Management.BatchAI.Models.VirtualMachineConfiguration virtualMachineConfiguration = default, Microsoft.Azure.Management.BatchAI.Models.NodeSetup nodeSetup = default, Microsoft.Azure.Management.BatchAI.Models.UserAccountSettings userAccountSettings = default, Microsoft.Azure.Management.BatchAI.Models.ResourceId subnet = default, DateTime? creationTime = default, string provisioningState = default, DateTime? provisioningStateTransitionTime = default, string allocationState = default, DateTime? allocationStateTransitionTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.BatchAIError> errors = default, int? currentNodeCount = default, Microsoft.Azure.Management.BatchAI.Models.NodeStateCounts nodeStateCounts = default);
new Microsoft.Azure.Management.BatchAI.Models.Cluster : string * string * string * string * Nullable<Microsoft.Azure.Management.BatchAI.Models.VmPriority> * Microsoft.Azure.Management.BatchAI.Models.ScaleSettings * Microsoft.Azure.Management.BatchAI.Models.VirtualMachineConfiguration * Microsoft.Azure.Management.BatchAI.Models.NodeSetup * Microsoft.Azure.Management.BatchAI.Models.UserAccountSettings * Microsoft.Azure.Management.BatchAI.Models.ResourceId * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.BatchAI.Models.BatchAIError> * Nullable<int> * Microsoft.Azure.Management.BatchAI.Models.NodeStateCounts -> Microsoft.Azure.Management.BatchAI.Models.Cluster
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional vmSize As String = Nothing, Optional vmPriority As Nullable(Of VmPriority) = Nothing, Optional scaleSettings As ScaleSettings = Nothing, Optional virtualMachineConfiguration As VirtualMachineConfiguration = Nothing, Optional nodeSetup As NodeSetup = Nothing, Optional userAccountSettings As UserAccountSettings = Nothing, Optional subnet As ResourceId = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional allocationState As String = Nothing, Optional allocationStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional errors As IList(Of BatchAIError) = Nothing, Optional currentNodeCount As Nullable(Of Integer) = Nothing, Optional nodeStateCounts As NodeStateCounts = Nothing)

Parameters

id
String

The ID of the resource.

name
String

The name of the resource.

type
String

The type of the resource.

vmSize
String

VM size.

vmPriority
Nullable<VmPriority>

VM priority.

scaleSettings
ScaleSettings

Scale settings.

virtualMachineConfiguration
VirtualMachineConfiguration

VM configuration.

nodeSetup
NodeSetup

Node setup.

userAccountSettings
UserAccountSettings

User account settings.

subnet
ResourceId

Subnet.

creationTime
Nullable<DateTime>

Creation time.

provisioningState
String

Provisioning state.

provisioningStateTransitionTime
Nullable<DateTime>

Provisioning State Transition time.

allocationState
String

Allocation state.

allocationStateTransitionTime
Nullable<DateTime>

Allocation state transition time.

errors
IList<BatchAIError>

Errors.

currentNodeCount
Nullable<Int32>

Current node count.

nodeStateCounts
NodeStateCounts

Node state counts.

Applies to