你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchAccountIdentity 构造函数

定义

重载

BatchAccountIdentity()

初始化 BatchAccountIdentity 类的新实例。

BatchAccountIdentity(ResourceIdentityType, IDictionary<String,BatchAccountIdentityUserAssignedIdentitiesValue>)
已过时.
BatchAccountIdentity(ResourceIdentityType, IDictionary<String,UserAssignedIdentities>)
BatchAccountIdentity(ResourceIdentityType, String, String, IDictionary<String,UserAssignedIdentities>)

初始化 BatchAccountIdentity 类的新实例。

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))

参数

属性

适用于

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))

参数

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 帐户的主体 ID。 此属性仅针对系统分配的标识提供。

tenantId
String

与 Batch 帐户关联的租户 ID。 此属性仅针对系统分配的标识提供。

userAssignedIdentities
IDictionary<String,UserAssignedIdentities>

与 Batch 帐户关联的用户标识列表。

适用于