Dela via


Cluster Konstruktorer

Definition

Överlagringar

Cluster()

Initierar en ny instans av klusterklassen.

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)

Initierar en ny instans av klusterklassen.

Cluster()

Initierar en ny instans av klusterklassen.

public Cluster ();
Public Sub New ()

Gäller för

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)

Initierar en ny instans av klusterklassen.

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)

Parametrar

id
String

Resursens ID.

name
String

Namnet på resursen.

type
String

Resurstypen.

vmSize
String

Storlek på virtuell dator.

vmPriority
Nullable<VmPriority>

VM-prioritet.

scaleSettings
ScaleSettings

Skalningsinställningar.

virtualMachineConfiguration
VirtualMachineConfiguration

VM-konfiguration.

nodeSetup
NodeSetup

Nodkonfiguration.

userAccountSettings
UserAccountSettings

Inställningar för användarkonto.

subnet
ResourceId

Undernät.

creationTime
Nullable<DateTime>

Skapandetid.

provisioningState
String

Etableringstillstånd.

provisioningStateTransitionTime
Nullable<DateTime>

Etableringstid för tillståndsövergång.

allocationState
String

Allokeringstillstånd.

allocationStateTransitionTime
Nullable<DateTime>

Övergångstid för allokeringstillstånd.

errors
IList<BatchAIError>

Fel.

currentNodeCount
Nullable<Int32>

Aktuellt antal noder.

nodeStateCounts
NodeStateCounts

Antal nodtillstånd.

Gäller för