VirtualMachineScaleSetIdentity Class

Identity for the virtual machine scale set.

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

Inheritance
VirtualMachineScaleSetIdentity

Constructor

VirtualMachineScaleSetIdentity(*, type: Optional[Union[str, azure.mgmt.compute.v2018_04_01.models._compute_management_client_enums.ResourceIdentityType]] = None, identity_ids: Optional[List[str]] = None, **kwargs)

Parameters

type
str or ResourceIdentityType
Required

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. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None".

identity_ids
list[str]
Required

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

Variables

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.