BatchAccountIdentity 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
BatchAccountIdentity()
初始化 BatchAccountIdentity 類別的新實例。
public BatchAccountIdentity ();
Public Sub New ()
適用於
BatchAccountIdentity(ResourceIdentityType, IDictionary<String,BatchAccountIdentityUserAssignedIdentitiesValue>)
警告
Please use BatchAccountIdentity(ResourceIdentityType type, IDictionary<string, UserAssignedIdentities> userAssignedIdentities) instead.
[System.Obsolete("Please use BatchAccountIdentity(ResourceIdentityType type, IDictionary<string, UserAssignedIdentities> userAssignedIdentities) instead.")]
public BatchAccountIdentity (Microsoft.Azure.Management.Batch.Models.ResourceIdentityType type, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Batch.Models.BatchAccountIdentityUserAssignedIdentitiesValue> userAssignedIdentities);
[<System.Obsolete("Please use BatchAccountIdentity(ResourceIdentityType type, IDictionary<string, UserAssignedIdentities> userAssignedIdentities) instead.")>]
new Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity : Microsoft.Azure.Management.Batch.Models.ResourceIdentityType * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Batch.Models.BatchAccountIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity
Public Sub New (type As ResourceIdentityType, userAssignedIdentities As IDictionary(Of String, BatchAccountIdentityUserAssignedIdentitiesValue))
參數
- type
- ResourceIdentityType
- userAssignedIdentities
- IDictionary<String,BatchAccountIdentityUserAssignedIdentitiesValue>
- 屬性
適用於
BatchAccountIdentity(ResourceIdentityType, IDictionary<String,UserAssignedIdentities>)
public BatchAccountIdentity (Microsoft.Azure.Management.Batch.Models.ResourceIdentityType type, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Batch.Models.UserAssignedIdentities> userAssignedIdentities);
new Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity : Microsoft.Azure.Management.Batch.Models.ResourceIdentityType * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Batch.Models.UserAssignedIdentities> -> Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity
Public Sub New (type As ResourceIdentityType, userAssignedIdentities As IDictionary(Of String, UserAssignedIdentities))
參數
- type
- ResourceIdentityType
- userAssignedIdentities
- IDictionary<String,UserAssignedIdentities>
適用於
BatchAccountIdentity(ResourceIdentityType, String, String, IDictionary<String,UserAssignedIdentities>)
初始化 BatchAccountIdentity 類別的新實例。
public BatchAccountIdentity (Microsoft.Azure.Management.Batch.Models.ResourceIdentityType type, string principalId = default, string tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Batch.Models.UserAssignedIdentities> userAssignedIdentities = default);
new Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity : Microsoft.Azure.Management.Batch.Models.ResourceIdentityType * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Batch.Models.UserAssignedIdentities> -> Microsoft.Azure.Management.Batch.Models.BatchAccountIdentity
Public Sub New (type As ResourceIdentityType, Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentities) = Nothing)
參數
- type
- ResourceIdentityType
用於 Batch 帳戶的身分識別類型。 可能的值包括:'SystemAssigned'、'UserAssigned'、'None'
- principalId
- String
Batch 帳戶的主體識別碼。 此屬性只會針對系統指派的身分識別提供。
- tenantId
- String
與 Batch 帳戶相關聯的租使用者識別碼。 此屬性只會針對系統指派的身分識別提供。
- userAssignedIdentities
- IDictionary<String,UserAssignedIdentities>
與 Batch 帳戶相關聯的使用者身分識別清單。