VirtualMachineScaleSetIdentity Constructors
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.
Overloads
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. |
VirtualMachineScaleSetIdentity()
Initializes a new instance of the VirtualMachineScaleSetIdentity class.
public VirtualMachineScaleSetIdentity ();
Public Sub New ()
Applies to
VirtualMachineScaleSetIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue>)
Initializes a new instance of the VirtualMachineScaleSetIdentity class.
public VirtualMachineScaleSetIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.Compute.Fluent.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentity : string * string * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) = Nothing)
Parameters
- principalId
- String
The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenantId
- String
The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- type
- Nullable<ResourceIdentityType>
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
- IDictionary<String,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue>
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}'.