Share via


VirtualMachineIdentityOutput interface

Identity for the virtual machine.

Properties

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}'.

Property Details

principalId

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

principalId?: string

Property Value

string

tenantId

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

tenantId?: string

Property Value

string

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.

type?: "None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned"

Property Value

"None" | "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned"

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}'.

userAssignedIdentities?: Record<string, UserAssignedIdentitiesValueOutput>

Property Value