共用方式為


ManagedServiceIdentity interface

Managed service identity (system assigned and/or user assigned identities)

Properties

principalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. NOTE: This property will not be serialized. It can only be populated by the server.

tenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. NOTE: This property will not be serialized. It can only be populated by the server.

type

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

userAssignedIdentities

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Property Details

principalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. NOTE: This property will not be serialized. It can only be populated by the server.

principalId?: string

Property Value

string

tenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. NOTE: This property will not be serialized. It can only be populated by the server.

tenantId?: string

Property Value

string

type

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

type: string

Property Value

string

userAssignedIdentities

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

userAssignedIdentities?: {[propertyName: string]: UserAssignedIdentity}

Property Value

{[propertyName: string]: UserAssignedIdentity}