Condividi tramite


VirtualMachineScaleSetIdentity Class

Definition

Identity for the virtual machine scale set.

public class VirtualMachineScaleSetIdentity
type VirtualMachineScaleSetIdentity = class
Public Class VirtualMachineScaleSetIdentity
Inheritance
VirtualMachineScaleSetIdentity

Constructors

VirtualMachineScaleSetIdentity()

Initializes a new instance of the VirtualMachineScaleSetIdentity class.

VirtualMachineScaleSetIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue>)

Initializes a new instance of the VirtualMachineScaleSetIdentity class.

Properties

PrincipalId

Gets the principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.

TenantId

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

Type

Gets or sets 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'

UserAssignedIdentities

Gets or sets 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}'.

Applies to