GalleryIdentity Class

Identity for the virtual machine.

Constructor

GalleryIdentity()

Variables

Name Description
principal_id
str

The principal id of the gallery identity. This property will only be provided for a system assigned identity.

tenant_id
str

The AAD tenant id of the gallery identity. This property will only be provided for a system assigned identity.

type
Union[str, <xref:"ResourceIdentityType">]

The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", and "None".

user_assigned_identities
dict[str, <xref:"UserAssignedIdentitiesValue">]

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

Attributes

principalId

The principal id of the gallery identity. This property will only be provided for a system assigned identity.

principalId: str

tenantId

The AAD tenant id of the gallery identity. This property will only be provided for a system assigned identity.

tenantId: str

type

The type of identity used for the gallery. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove all identities from the gallery. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", and "None".

type: str | ResourceIdentityType

userAssignedIdentities

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

userAssignedIdentities: dict[str, 'UserAssignedIdentitiesValue']