Condividi tramite


ResourceIdentity Class

Azure Active Directory identity configuration for a resource.

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

Constructor

ResourceIdentity(*, user_assigned_identities: dict[str, '_models.UserIdentity'] | None = None, type: str | _models.IdentityType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
user_assigned_identities

The resource ids of the user assigned identities to use.

Default value: None
type

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned".

Default value: None

Variables

Name Description
user_assigned_identities

The resource ids of the user assigned identities to use.

principal_id
str

The Azure Active Directory principal id.

type

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned".

tenant_id
str

The Azure Active Directory tenant id.