你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IdentityProperties 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
资源的托管标识。
public class IdentityProperties
type IdentityProperties = class
Public Class IdentityProperties
- 继承
-
IdentityProperties
构造函数
IdentityProperties() |
初始化 IdentityProperties 类的新实例。 |
IdentityProperties(String, String, Nullable<ResourceIdentityType>, IDictionary<String,UserIdentityProperties>) |
初始化 IdentityProperties 类的新实例。 |
属性
PrincipalId |
获取或设置资源标识的主体 ID。 |
TenantId |
获取或设置资源的租户 ID。 |
Type |
获取或设置标识类型。 可能的值包括:“SystemAssigned”、“UserAssigned”、“SystemAssigned、UserAssigned”、“None” |
UserAssignedIdentities |
获取或设置与资源关联的用户标识的列表。 用户标识字典密钥引用将是采用以下格式的 ARM 资源 ID:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 |