ManagedServiceIdentity Class

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cosmosdb._serialization.Model
ManagedServiceIdentity

Constructor

ManagedServiceIdentity(*, type: str | _models.ResourceIdentityType | None = None, user_assigned_identities: Dict[str, _models.ManagedServiceIdentityUserAssignedIdentity] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", and "None".

user_assigned_identities

The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. # pylint: disable=line-too-long

Variables

Name Description
principal_id
str

The principal id of the system assigned identity. This property will only be provided for a system assigned identity.

tenant_id
str

The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.

type

The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", and "None".

user_assigned_identities

The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. # pylint: disable=line-too-long