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

ResourceIdentity 构造函数

定义

重载

ResourceIdentity()

初始化 ResourceIdentity 类的新实例。

ResourceIdentity(String, String, String, IDictionary<String,UserAssignedIdentity>)

初始化 ResourceIdentity 类的新实例。

ResourceIdentity()

初始化 ResourceIdentity 类的新实例。

public ResourceIdentity ();
Public Sub New ()

适用于

ResourceIdentity(String, String, String, IDictionary<String,UserAssignedIdentity>)

初始化 ResourceIdentity 类的新实例。

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

参数

type
String

标识类型

principalId
String

支持 Msi 的服务主体 ID

tenantId
String

家庭租户 ID

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

用户分配的标识

适用于