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

ApiManagementServiceIdentity 类

定义

Api 管理服务资源的标识属性。

public class ApiManagementServiceIdentity
type ApiManagementServiceIdentity = class
Public Class ApiManagementServiceIdentity
继承
ApiManagementServiceIdentity

构造函数

ApiManagementServiceIdentity()

初始化 ApiManagementServiceIdentity 类的新实例。

ApiManagementServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserIdentityProperties>)

初始化 ApiManagementServiceIdentity 类的新实例。

属性

PrincipalId

获取标识的主体 ID。

TenantId

获取标识的客户端租户 ID。

Type

获取或设置用于资源的标识类型。 类型“SystemAssigned ,UserAssigned”包含隐式创建的标识和一组用户分配的标识。 类型“None”将从服务中删除任何标识。 可能的值包括:“SystemAssigned”、“UserAssigned”、“SystemAssigned、UserAssigned”、“None”

UserAssignedIdentities

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

方法

Validate()

验证 对象。

适用于