VirtualMachineScaleSetIdentity Class

Identity for the virtual machine scale set.

Constructor

VirtualMachineScaleSetIdentity(*args: Any, **kwargs: Any)

Variables

Name Description
principal_id
str

The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.

tenant_id
str

The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.

type

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

user_assigned_identities

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

Attributes

principal_id

The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.

principal_id: str | None

tenant_id

The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.

tenant_id: str | None

type

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

type: str | _models.ResourceIdentityType | None

user_assigned_identities

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

user_assigned_identities: dict[str, '_models.UserAssignedIdentitiesValue'] | None