Interface VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity

All Known Subinterfaces:
VirtualMachine.DefinitionManaged, VirtualMachine.DefinitionManagedOrUnmanaged, VirtualMachine.DefinitionShared, VirtualMachine.DefinitionStages.WithCreate, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged, VirtualMachine.DefinitionStages.WithLinuxCreateManaged, VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachine.DefinitionStages.WithManagedCreate, VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachine.DefinitionStages.WithUnmanagedCreate, VirtualMachine.DefinitionStages.WithWindowsCreateManaged, VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachine.DefinitionUnmanaged
Enclosing interface:
VirtualMachine.DefinitionStages

public static interface VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
The stage of the virtual machine definition allowing to specify User Assigned (External) Managed Service Identities.
  • Method Details

    • withNewUserAssignedManagedServiceIdentity

      VirtualMachine.DefinitionStages.WithCreate 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 definition
    • withExistingUserAssignedManagedServiceIdentity

      VirtualMachine.DefinitionStages.WithCreate 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 definition