Identity Class

Identity for the resource.

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

Inheritance
Identity

Constructor

Identity(*, type: Optional[Union[str, azure.mgmt.resource.resources.v2019_08_01.models._resource_management_client_enums.ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str, azure.mgmt.resource.resources.v2019_08_01.models._models_py3.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties]] = None, **kwargs)

Variables

principal_id
str

The principal ID of resource identity.

tenant_id
str

The tenant ID of resource.

type
str or ResourceIdentityType

The identity type. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None".

user_assigned_identities
dict[<xref:str,azure.mgmt.resource.resources.v2019_08_01.models.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties>]

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