VirtualMachineIdentity Class
Identity for the virtual machine.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVirtualMachineIdentity
Constructor
VirtualMachineIdentity(*, type: str | _models.ResourceIdentityType | None = None, identity_ids: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
type
|
The type of identity used for the virtual machine. 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. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", and "None". |
identity_ids
|
The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'. # pylint: disable=line-too-long |
Variables
Name | Description |
---|---|
principal_id
|
The principal id of virtual machine identity. This property will only be provided for a system assigned identity. |
tenant_id
|
The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. |
type
|
The type of identity used for the virtual machine. 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. Known values are: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", and "None". |
identity_ids
|
The list of user identities associated with the Virtual Machine. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'. # pylint: disable=line-too-long |
Azure SDK for Python