ResourceIdentity interface
可与资源关联的标识。
属性
principal |
标识的主体 ID。 此属性仅针对系统分配的标识提供。 注意:此属性不会序列化。 它只能由服务器填充。 |
tenant |
与资源的标识关联的租户 ID。 此属性仅针对系统分配的标识提供。 注意:此属性不会序列化。 它只能由服务器填充。 |
type | 使用的托管标识的类型。 类型“SystemAssigned,UserAssigned”包括隐式创建的标识和一组用户分配的标识。 类型“None”将删除任何标识。 |
user |
与资源关联的用户分配标识的列表。 用户分配的标识字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 |
属性详细信息
principalId
标识的主体 ID。 此属性仅针对系统分配的标识提供。 注意:此属性不会序列化。 它只能由服务器填充。
principalId?: string
属性值
string
tenantId
与资源的标识关联的租户 ID。 此属性仅针对系统分配的标识提供。 注意:此属性不会序列化。 它只能由服务器填充。
tenantId?: string
属性值
string
type
使用的托管标识的类型。 类型“SystemAssigned,UserAssigned”包括隐式创建的标识和一组用户分配的标识。 类型“None”将删除任何标识。
type?: string
属性值
string
userAssignedIdentities
与资源关联的用户分配标识的列表。 用户分配的标识字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。
userAssignedIdentities?: {[propertyName: string]: UserIdentity}
属性值
{[propertyName: string]: UserIdentity}