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.ModelIdentity
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
|
The principal ID of the resource identity. |
tenant_id
|
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". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python