Interface VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
-
- All Known Subinterfaces:
VirtualMachine.Update,VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
- Enclosing interface:
- VirtualMachine.UpdateStages
public static interface VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentityThe stage of the virtual machine update allowing to add or remove User Assigned (External) Managed Service Identities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.UpdatewithExistingUserAssignedManagedServiceIdentity(Identity identity)Specifies an existing user assigned identity to be associated with the virtual machine.VirtualMachine.UpdatewithNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity)Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.VirtualMachine.UpdatewithoutUserAssignedManagedServiceIdentity(String identityId)Specifies that an user assigned identity associated with the virtual machine should be removed.
-
-
-
Method Detail
-
withNewUserAssignedManagedServiceIdentity
VirtualMachine.Update 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 update
-
withExistingUserAssignedManagedServiceIdentity
VirtualMachine.Update 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 update
-
withoutUserAssignedManagedServiceIdentity
VirtualMachine.Update 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 update
-
-