Identity Class

Identity for the resource.

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

Inheritance
azure.mgmt.resource.policy._serialization.Model
Identity

Constructor

Identity(*, type: str | _models.ResourceIdentityType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

The identity type. This is the only required field when adding a system assigned identity to a resource. Known values are: "SystemAssigned" and "None".

Variables

Name Description
principal_id
str

The principal ID of the resource identity.

tenant_id
str

The tenant ID of the resource identity.

type

The identity type. This is the only required field when adding a system assigned identity to a resource. Known values are: "SystemAssigned" and "None".