Partager via


ResourceIdentity Class

The identity of a 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.chaos._serialization.Model
ResourceIdentity

Constructor

ResourceIdentity(*, type: str | _models.ResourceIdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

String of the resource identity type. Required. Known values are: "None", "SystemAssigned", and "UserAssigned".

user_assigned_identities

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

Variables

Name Description
type

String of the resource identity type. Required. Known values are: "None", "SystemAssigned", and "UserAssigned".

user_assigned_identities

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

principal_id
str

GUID that represents the principal ID of this resource identity.

tenant_id
str

GUID that represents the tenant ID of this resource identity.