Interface VirtualMachineScaleSet.UpdateStages.WithUserAssignedManagedServiceIdentity
- All Known Subinterfaces:
VirtualMachineScaleSet.Update,VirtualMachineScaleSet.UpdateStages.WithApply,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerBackendOrNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer,VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply
- Enclosing interface:
- VirtualMachineScaleSet.UpdateStages
public static interface VirtualMachineScaleSet.UpdateStages.WithUserAssignedManagedServiceIdentity
The stage of the virtual machine update allowing to add or remove User Assigned (External)
Managed Service Identities.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies an existing user assigned identity to be associated with the virtual machine.withNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.withoutUserAssignedManagedServiceIdentity(String identityId) Specifies that an user assigned identity associated with the virtual machine should be removed.
-
Method Details
-
withNewUserAssignedManagedServiceIdentity
VirtualMachineScaleSet.UpdateStages.WithApply withNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.- Parameters:
creatableIdentity- a creatable identity definition- Returns:
- the next stage of the virtual machine scale set update
-
withExistingUserAssignedManagedServiceIdentity
VirtualMachineScaleSet.UpdateStages.WithApply withExistingUserAssignedManagedServiceIdentity(Identity identity) Specifies an existing user assigned identity to be associated with the virtual machine.- Parameters:
identity- the identity- Returns:
- the next stage of the virtual machine scale set update
-
withoutUserAssignedManagedServiceIdentity
VirtualMachineScaleSet.UpdateStages.WithApply withoutUserAssignedManagedServiceIdentity(String identityId) Specifies that an user assigned identity associated with the virtual machine should be removed.- Parameters:
identityId- ARM resource id of the identity- Returns:
- the next stage of the virtual machine scale set update
-