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

EncryptionSetIdentity 构造函数

定义

重载

EncryptionSetIdentity()

初始化 EncryptionSetIdentity 类的新实例。

EncryptionSetIdentity(String, String, String, IDictionary<String,UserAssignedIdentitiesValue>)

初始化 EncryptionSetIdentity 类的新实例。

EncryptionSetIdentity()

初始化 EncryptionSetIdentity 类的新实例。

public EncryptionSetIdentity ();
Public Sub New ()

适用于

EncryptionSetIdentity(String, String, String, IDictionary<String,UserAssignedIdentitiesValue>)

初始化 EncryptionSetIdentity 类的新实例。

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

参数

type
String

DiskEncryptionSet 使用的托管标识的类型。 新创建仅支持 SystemAssigned。 在将订阅迁移到新的 Azure Active Directory 租户期间,可以使用标识类型 None 更新磁盘加密集;这将导致加密的资源失去对密钥的访问权限。 可能的值包括:“SystemAssigned”、“UserAssigned”、“SystemAssigned、UserAssigned”、“None”

principalId
String

托管标识资源的对象 ID。 如果资源具有 systemAssigned (隐式) 标识,则会通过 PUT 请求中的 x-ms-identity-principal-id 标头从 ARM 发送到 RP

tenantId
String

托管标识资源的租户 ID。 如果资源具有 systemAssigned (隐式) 标识,则会通过 PUT 请求中的 x-ms-client-tenant-id 标头从 ARM 发送到 RP

userAssignedIdentities
IDictionary<String,UserAssignedIdentitiesValue>

与磁盘加密集关联的用户标识列表。 用户标识字典键引用将是 ARM 资源 ID,格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。

适用于