Interface VirtualMachineScaleSet.DefinitionStages.WithUserAssignedManagedServiceIdentity
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionStages.WithCreate, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithManagedCreate, VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithUserAssignedManagedServiceIdentity
The stage of the virtual machine scale set definition allowing to specify User Assigned (External) Managed
Service Identities.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingUserAssignedManagedServiceIdentity(com.azure.resourcemanager.msi.models.Identity identity) Specifies an existing user assigned identity to be associated with the virtual machine scale set.withNewUserAssignedManagedServiceIdentity(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.msi.models.Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine scale set.
-
Method Details
-
withNewUserAssignedManagedServiceIdentity
VirtualMachineScaleSet.DefinitionStages.WithCreate withNewUserAssignedManagedServiceIdentity(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.msi.models.Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine scale set.- Parameters:
creatableIdentity- a creatable identity definition- Returns:
- the next stage of the virtual machine scale set definition
-
withExistingUserAssignedManagedServiceIdentity
VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingUserAssignedManagedServiceIdentity(com.azure.resourcemanager.msi.models.Identity identity) Specifies an existing user assigned identity to be associated with the virtual machine scale set.- Parameters:
identity- the identity- Returns:
- the next stage of the virtual machine scale set definition
-