VirtualMachineIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identity for the virtual machine.
public class VirtualMachineIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.BulkActions.Models.VirtualMachineIdentity>
type VirtualMachineIdentity = class
interface IJsonModel<VirtualMachineIdentity>
interface IPersistableModel<VirtualMachineIdentity>
Public Class VirtualMachineIdentity
Implements IJsonModel(Of VirtualMachineIdentity), IPersistableModel(Of VirtualMachineIdentity)
- Inheritance
-
VirtualMachineIdentity
- Implements
Constructors
| Name | Description |
|---|---|
| VirtualMachineIdentity() |
Initializes a new instance of VirtualMachineIdentity. |
Properties
| Name | Description |
|---|---|
| PrincipalId |
The principal id of virtual machine identity. This property will only be provided for a system assigned identity. |
| TenantId |
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. |
| UserAssignedIdentities |
The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |