Identity Class

Describes an identity 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
azure.mgmt.msi.models._models_py3.TrackedResource
Identity

Constructor

Identity(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs)

Variables

id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

tags
dict[str, str]

A set of tags. Resource tags.

location
str

Required. The geo-location where the resource lives.

tenant_id
str

The id of the tenant which the identity belongs to.

principal_id
str

The id of the service principal object associated with the created identity.

client_id
str

The id of the app associated with the identity. This is a random generated UUID by MSI.