Show / Hide Table of Contents

    Class VirtualMachineScaleSetIdentity

    Identity for the virtual machine scale set.

    Inheritance
    Object
    VirtualMachineScaleSetIdentity
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class VirtualMachineScaleSetIdentity

    Constructors

    VirtualMachineScaleSetIdentity()

    Initializes a new instance of the VirtualMachineScaleSetIdentity class.

    Declaration
    public VirtualMachineScaleSetIdentity ();

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

    Initializes a new instance of the VirtualMachineScaleSetIdentity class.

    Declaration
    public VirtualMachineScaleSetIdentity (string principalId = null, string tenantId = null, Nullable<Microsoft.Azure.Management.Compute.Models.ResourceIdentityType> type = null, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue> userAssignedIdentities = null);
    Parameters
    String principalId

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

    String tenantId

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

    Nullable<ResourceIdentityType> type

    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'

    IDictionary<String,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue> userAssignedIdentities

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

    Properties

    PrincipalId

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="principalId")]
    public string PrincipalId { get; }
    Property Value
    String

    TenantId

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tenantId")]
    public string TenantId { get; }
    Property Value
    String

    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'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="type")]
    public Nullable<Microsoft.Azure.Management.Compute.Models.ResourceIdentityType> Type { get; set; }
    Property Value
    Nullable<ResourceIdentityType>

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

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="userAssignedIdentities")]
    public System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue> UserAssignedIdentities { get; set; }
    Property Value
    IDictionary<String,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue>

    Back to top Azure SDK for Net