Pool 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Pool()
初始化 Pool 類別的新實例。
public Pool ();
Public Sub New ()
適用於
Pool(String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<PoolProvisioningState>, Nullable<DateTime>, Nullable<AllocationState>, Nullable<DateTime>, String, DeploymentConfiguration, Nullable<Int32>, Nullable<Int32>, ScaleSettings, AutoScaleRun, Nullable<InterNodeCommunicationState>, NetworkConfiguration, Nullable<Int32>, TaskSchedulingPolicy, IList<UserAccount>, IList<MetadataItem>, StartTask, IList<CertificateReference>, IList<ApplicationPackageReference>, IList<String>, ResizeOperationStatus, IList<MountConfiguration>, Nullable<NodeCommunicationMode>, Nullable<NodeCommunicationMode>, BatchPoolIdentity)
初始化 Pool 類別的新實例。
public Pool (string id = default, string name = default, string type = default, string etag = default, string displayName = default, DateTime? lastModified = default, DateTime? creationTime = default, Microsoft.Azure.Management.Batch.Models.PoolProvisioningState? provisioningState = default, DateTime? provisioningStateTransitionTime = default, Microsoft.Azure.Management.Batch.Models.AllocationState? allocationState = default, DateTime? allocationStateTransitionTime = default, string vmSize = default, Microsoft.Azure.Management.Batch.Models.DeploymentConfiguration deploymentConfiguration = default, int? currentDedicatedNodes = default, int? currentLowPriorityNodes = default, Microsoft.Azure.Management.Batch.Models.ScaleSettings scaleSettings = default, Microsoft.Azure.Management.Batch.Models.AutoScaleRun autoScaleRun = default, Microsoft.Azure.Management.Batch.Models.InterNodeCommunicationState? interNodeCommunication = default, Microsoft.Azure.Management.Batch.Models.NetworkConfiguration networkConfiguration = default, int? taskSlotsPerNode = default, Microsoft.Azure.Management.Batch.Models.TaskSchedulingPolicy taskSchedulingPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.UserAccount> userAccounts = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MetadataItem> metadata = default, Microsoft.Azure.Management.Batch.Models.StartTask startTask = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> certificates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference> applicationPackages = default, System.Collections.Generic.IList<string> applicationLicenses = default, Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus resizeOperationStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MountConfiguration> mountConfiguration = default, Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode? targetNodeCommunicationMode = default, Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode? currentNodeCommunicationMode = default, Microsoft.Azure.Management.Batch.Models.BatchPoolIdentity identity = default);
new Microsoft.Azure.Management.Batch.Models.Pool : string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Batch.Models.PoolProvisioningState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Batch.Models.AllocationState> * Nullable<DateTime> * string * Microsoft.Azure.Management.Batch.Models.DeploymentConfiguration * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.Batch.Models.ScaleSettings * Microsoft.Azure.Management.Batch.Models.AutoScaleRun * Nullable<Microsoft.Azure.Management.Batch.Models.InterNodeCommunicationState> * Microsoft.Azure.Management.Batch.Models.NetworkConfiguration * Nullable<int> * Microsoft.Azure.Management.Batch.Models.TaskSchedulingPolicy * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.UserAccount> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MetadataItem> * Microsoft.Azure.Management.Batch.Models.StartTask * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ApplicationPackageReference> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.MountConfiguration> * Nullable<Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode> * Nullable<Microsoft.Azure.Management.Batch.Models.NodeCommunicationMode> * Microsoft.Azure.Management.Batch.Models.BatchPoolIdentity -> Microsoft.Azure.Management.Batch.Models.Pool
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional displayName As String = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As Nullable(Of PoolProvisioningState) = Nothing, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional allocationState As Nullable(Of AllocationState) = Nothing, Optional allocationStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional vmSize As String = Nothing, Optional deploymentConfiguration As DeploymentConfiguration = Nothing, Optional currentDedicatedNodes As Nullable(Of Integer) = Nothing, Optional currentLowPriorityNodes As Nullable(Of Integer) = Nothing, Optional scaleSettings As ScaleSettings = Nothing, Optional autoScaleRun As AutoScaleRun = Nothing, Optional interNodeCommunication As Nullable(Of InterNodeCommunicationState) = Nothing, Optional networkConfiguration As NetworkConfiguration = Nothing, Optional taskSlotsPerNode As Nullable(Of Integer) = Nothing, Optional taskSchedulingPolicy As TaskSchedulingPolicy = Nothing, Optional userAccounts As IList(Of UserAccount) = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing, Optional startTask As StartTask = Nothing, Optional certificates As IList(Of CertificateReference) = Nothing, Optional applicationPackages As IList(Of ApplicationPackageReference) = Nothing, Optional applicationLicenses As IList(Of String) = Nothing, Optional resizeOperationStatus As ResizeOperationStatus = Nothing, Optional mountConfiguration As IList(Of MountConfiguration) = Nothing, Optional targetNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional currentNodeCommunicationMode As Nullable(Of NodeCommunicationMode) = Nothing, Optional identity As BatchPoolIdentity = Nothing)
參數
- id
- String
資源的識別碼。
- name
- String
資源名稱。
- type
- String
資源類型。
- etag
- String
資源的 ETag,用於並行語句。
- displayName
- String
集區的顯示名稱。
- provisioningState
- Nullable<PoolProvisioningState>
集區的目前狀態。
- allocationState
- Nullable<AllocationState>
集區是否調整大小。
- vmSize
- String
集區中的虛擬機器大小。 集區中的所有 VM 大小都相同。
- deploymentConfiguration
- DeploymentConfiguration
此屬性描述如何使用雲端服務或虛擬機器來部署集區節點。
- scaleSettings
- ScaleSettings
設定集區中的節點數目。
- autoScaleRun
- AutoScaleRun
自動調整公式上次執行的結果和錯誤。
- interNodeCommunication
- Nullable<InterNodeCommunicationState>
集區是否允許節點之間的直接通訊。
- networkConfiguration
- NetworkConfiguration
集區的網路組態。
- taskSchedulingPolicy
- TaskSchedulingPolicy
工作如何分散到集區中的計算節點。
- userAccounts
- IList<UserAccount>
要建立于集區中每個節點上的使用者帳戶清單。
- metadata
- IList<MetadataItem>
與集區相關聯的名稱/值組清單作為中繼資料。
- startTask
- StartTask
在聯結集區時,指定在每個計算節點上執行的工作。
- certificates
- IList<CertificateReference>
要安裝在集區中每個計算節點上的憑證清單。
- applicationPackages
- IList<ApplicationPackageReference>
要安裝在集區中每個計算節點上的應用程式套件清單。
- resizeOperationStatus
- ResizeOperationStatus
包含目前或上次完成調整大小作業的詳細資料。
- mountConfiguration
- IList<MountConfiguration>
要掛接在集區中每個節點上的檔案系統清單。
- targetNodeCommunicationMode
- Nullable<NodeCommunicationMode>
集區所需的節點通訊模式。
- currentNodeCommunicationMode
- Nullable<NodeCommunicationMode>
集區通訊模式的目前狀態。
- identity
- BatchPoolIdentity
用於 Batch 集區的身分識別類型。