共用方式為


ServiceManagedIdentityIdentity interface

Setting indicating whether the service has a managed identity associated with it.

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 identity being specified, currently SystemAssigned and None 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 identity being specified, currently SystemAssigned and None 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}