Condividi tramite


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.

Constructor

Identity(*, type: str | ResourceIdentityType, user_assigned_identities: Dict[str, ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties] | None = None, **kwargs)

Parameters

Name Description
type
Required

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

user_assigned_identities
Required

The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Keyword-Only Parameters

Name Description
type
Required
user_assigned_identities
Default value: None

Variables

Name Description
principal_id
str

The principal ID of resource identity.

tenant_id
str

The tenant ID of resource.