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

ManagedServiceIdentity 构造函数

定义

重载

ManagedServiceIdentity()

初始化 ManagedServiceIdentity 类的新实例。

ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)

初始化 ManagedServiceIdentity 类的新实例。

ManagedServiceIdentity()

初始化 ManagedServiceIdentity 类的新实例。

public ManagedServiceIdentity ();
Public Sub New ()

适用于

ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)

初始化 ManagedServiceIdentity 类的新实例。

public ManagedServiceIdentity (string type, Guid? principalId = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Redis.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.Redis.Models.ManagedServiceIdentity : string * Nullable<Guid> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Redis.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.Redis.Models.ManagedServiceIdentity
Public Sub New (type As String, Optional principalId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing)

参数

type
String

可能的值包括:“None”、“SystemAssigned”、“UserAssigned”、“SystemAssigned、UserAssigned”

principalId
Nullable<Guid>

系统分配的标识的服务主体 ID。 此属性仅针对系统分配的标识提供。

tenantId
Nullable<Guid>

系统分配的标识的租户 ID。 此属性仅针对系统分配的标识提供。

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

适用于