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.v2020_12_01.models._compute_management_client_enums.ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str, azure.mgmt.compute.v2020_12_01.models._models_py3.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue]] = None, **kwargs)
Parameters
- type
- str or ResourceIdentityType
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".
- user_assigned_identities
- dict[<xref:str,azure.mgmt.compute.v2020_12_01.models.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue>]
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}'.
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.
Feedback
Submit and view feedback for