共用方式為


BatchAccount 建構函式

定義

多載

BatchAccount()

初始化 BatchAccount 類別的新實例。

BatchAccount(String, String, String, String, IDictionary<String, String>, String, String, ProvisioningState, Nullable<PoolAllocationMode>, KeyVaultReference, Nullable<PublicNetworkAccessType>, NetworkProfile, IList<PrivateEndpointConnection>, AutoStorageProperties, EncryptionProperties, Nullable<Int32>, Nullable<Int32>, IList<VirtualMachineFamilyCoreQuota>, Boolean, Int32, Int32, IList<Nullable<AuthenticationMode>>, BatchAccountIdentity)

初始化 BatchAccount 類別的新實例。

BatchAccount()

初始化 BatchAccount 類別的新實例。

public BatchAccount ();
Public Sub New ()

適用於

BatchAccount(String, String, String, String, IDictionary<String, String>, String, String, ProvisioningState, Nullable<PoolAllocationMode>, KeyVaultReference, Nullable<PublicNetworkAccessType>, NetworkProfile, IList<PrivateEndpointConnection>, AutoStorageProperties, EncryptionProperties, Nullable<Int32>, Nullable<Int32>, IList<VirtualMachineFamilyCoreQuota>, Boolean, Int32, Int32, IList<Nullable<AuthenticationMode>>, BatchAccountIdentity)

初始化 BatchAccount 類別的新實例。

public BatchAccount (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string accountEndpoint = default, string nodeManagementEndpoint = default, Microsoft.Azure.Management.Batch.Models.ProvisioningState provisioningState = Microsoft.Azure.Management.Batch.Models.ProvisioningState.Invalid, Microsoft.Azure.Management.Batch.Models.PoolAllocationMode? poolAllocationMode = default, Microsoft.Azure.Management.Batch.Models.KeyVaultReference keyVaultReference = default, Microsoft.Azure.Management.Batch.Models.PublicNetworkAccessType? publicNetworkAccess = default, Microsoft.Azure.Management.Batch.Models.NetworkProfile networkProfile = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection> privateEndpointConnections = default, Microsoft.Azure.Management.Batch.Models.AutoStorageProperties autoStorage = default, Microsoft.Azure.Management.Batch.Models.EncryptionProperties encryption = default, int? dedicatedCoreQuota = default, int? lowPriorityCoreQuota = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.VirtualMachineFamilyCoreQuota> dedicatedCoreQuotaPerVMFamily = default, bool dedicatedCoreQuotaPerVMFamilyEnforced = false, int poolQuota = 0, int activeJobAndJobScheduleQuota = 0, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.AuthenticationMode?> allowedAuthenticationModes = default, Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity identity = default);
new Microsoft.Azure.Management.Batch.Models.BatchAccount : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Microsoft.Azure.Management.Batch.Models.ProvisioningState * Nullable<Microsoft.Azure.Management.Batch.Models.PoolAllocationMode> * Microsoft.Azure.Management.Batch.Models.KeyVaultReference * Nullable<Microsoft.Azure.Management.Batch.Models.PublicNetworkAccessType> * Microsoft.Azure.Management.Batch.Models.NetworkProfile * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection> * Microsoft.Azure.Management.Batch.Models.AutoStorageProperties * Microsoft.Azure.Management.Batch.Models.EncryptionProperties * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.VirtualMachineFamilyCoreQuota> * bool * int * int * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Batch.Models.AuthenticationMode>> * Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity -> Microsoft.Azure.Management.Batch.Models.BatchAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional accountEndpoint As String = Nothing, Optional nodeManagementEndpoint As String = Nothing, Optional provisioningState As ProvisioningState = Microsoft.Azure.Management.Batch.Models.ProvisioningState.Invalid, Optional poolAllocationMode As Nullable(Of PoolAllocationMode) = Nothing, Optional keyVaultReference As KeyVaultReference = Nothing, Optional publicNetworkAccess As Nullable(Of PublicNetworkAccessType) = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional autoStorage As AutoStorageProperties = Nothing, Optional encryption As EncryptionProperties = Nothing, Optional dedicatedCoreQuota As Nullable(Of Integer) = Nothing, Optional lowPriorityCoreQuota As Nullable(Of Integer) = Nothing, Optional dedicatedCoreQuotaPerVMFamily As IList(Of VirtualMachineFamilyCoreQuota) = Nothing, Optional dedicatedCoreQuotaPerVMFamilyEnforced As Boolean = false, Optional poolQuota As Integer = 0, Optional activeJobAndJobScheduleQuota As Integer = 0, Optional allowedAuthenticationModes As IList(Of Nullable(Of AuthenticationMode)) = Nothing, Optional identity As BatchAccountIdentity = Nothing)

參數

id
String

資源的識別碼。

name
String

資源名稱。

type
String

資源類型。

location
String

資源的位置。

tags
IDictionary<String,String>

資源的標記。

accountEndpoint
String

用來與 Batch 服務互動的帳戶端點。

nodeManagementEndpoint
String

計算節點用來連線到 Batch-節點管理服務的端點。

provisioningState
ProvisioningState

資源的布建狀態。 可能的值包括:'Invalid'、'Create'、'刪除'、'Succeeded'、'Failed'、'Cancelled'

poolAllocationMode
Nullable<PoolAllocationMode>

在 Batch 帳戶中建立集區所使用的配置模式。

keyVaultReference
KeyVaultReference

與 Batch 帳戶相關聯的 Azure 金鑰保存庫參考。

publicNetworkAccess
Nullable<PublicNetworkAccessType>

用於存取Azure Batch服務和 Batch 帳戶作業的網路介面類別型。

networkProfile
NetworkProfile

Batch 帳戶的網路設定檔,其中包含每個端點的網路規則設定。

privateEndpointConnections
IList<PrivateEndpointConnection>

與 Batch 帳戶相關聯的私人端點連線清單

autoStorage
AutoStorageProperties

與 Batch 帳戶相關聯的任何自動儲存體帳戶的屬性和狀態。

encryption
EncryptionProperties

Batch 帳戶的加密組態。

dedicatedCoreQuota
Nullable<Int32>

Batch 帳戶的專用核心配額。

lowPriorityCoreQuota
Nullable<Int32>

Batch 帳戶的 Spot/低優先順序核心配額。

dedicatedCoreQuotaPerVMFamily
IList<VirtualMachineFamilyCoreQuota>

Batch 帳戶的每個虛擬機器系列專用核心配額清單。 對於將 PoolAllocationMode 設定為 UserSubscription 的帳戶,系統會在訂用帳戶上管理配額,因此不會傳回此值。

dedicatedCoreQuotaPerVMFamilyEnforced
Boolean

值,指出是否針對此帳戶強制執行每個虛擬機器系列的核心配額

poolQuota
Int32

Batch 帳戶的集區配額。

activeJobAndJobScheduleQuota
Int32

Batch 帳戶的作用中作業和作業排程配額。

allowedAuthenticationModes
IList<Nullable<AuthenticationMode>>

Batch 帳戶允許的驗證模式清單,可用來向資料平面進行驗證。 這不會影響控制平面的驗證。

identity
BatchAccountIdentity

Batch 帳戶的身分識別。

適用於