共用方式為


Cluster 建構函式

定義

多載

Cluster()

初始化 Cluster 類別的新實例。

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)

初始化 Cluster 類別的新實例。

Cluster()

初始化 Cluster 類別的新實例。

public Cluster ();
Public Sub New ()

適用於

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)

初始化 Cluster 類別的新實例。

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)

參數

id
String

資源的識別碼。

name
String

資源名稱。

type
String

資源類型。

vmSize
String

VM 大小。

vmPriority
Nullable<VmPriority>

VM 優先順序。

scaleSettings
ScaleSettings

調整設定。

virtualMachineConfiguration
VirtualMachineConfiguration

VM 組態。

nodeSetup
NodeSetup

節點設定]。

userAccountSettings
UserAccountSettings

使用者帳戶設定。

subnet
ResourceId

子。

creationTime
Nullable<DateTime>

建立時間。

provisioningState
String

布建狀態。

provisioningStateTransitionTime
Nullable<DateTime>

布建狀態轉換時間。

allocationState
String

配置狀態。

allocationStateTransitionTime
Nullable<DateTime>

配置狀態轉換時間。

errors
IList<BatchAIError>

錯誤。

currentNodeCount
Nullable<Int32>

目前的節點計數。

nodeStateCounts
NodeStateCounts

節點狀態計數。

適用於