Identity Class

Identity for the resource.

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

All required parameters must be populated in order to send to Azure.

Inheritance
Identity

Constructor

Identity(*, type: Union[str, azure.mgmt.storage.v2021_04_01.models._storage_management_client_enums.IdentityType], user_assigned_identities: Optional[Dict[str, azure.mgmt.storage.v2021_04_01.models._models_py3.UserAssignedIdentity]] = None, **kwargs)

Variables

principal_id
str

The principal ID of resource identity.

tenant_id
str

The tenant ID of resource.

type
str or IdentityType

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

user_assigned_identities
dict[<xref:str,azure.mgmt.storage.v2021_04_01.models.UserAssignedIdentity>]

Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.