Interface VirtualMachine.DefinitionStages.WithAvailabilitySet
-
- 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.WithAvailabilitySetThe stage of the virtual machine definition allowing to specify availability set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithCreatewithExistingAvailabilitySet(AvailabilitySet availabilitySet)Specifies an existing availability set to associate with the virtual machine.VirtualMachine.DefinitionStages.WithCreatewithNewAvailabilitySet(Creatable<AvailabilitySet> creatable)Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.VirtualMachine.DefinitionStages.WithCreatewithNewAvailabilitySet(String name)Specifies the name of a new availability set to associate with the virtual machine.
-
-
-
Method Detail
-
withNewAvailabilitySet
VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate with the virtual machine.- Parameters:
name- the name of an availability set- Returns:
- the next stage of the definition
-
withNewAvailabilitySet
VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(Creatable<AvailabilitySet> creatable)
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.- Parameters:
creatable- a creatable availability set definition- Returns:
- the next stage of the definition
-
withExistingAvailabilitySet
VirtualMachine.DefinitionStages.WithCreate withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine.- Parameters:
availabilitySet- an existing availability set- Returns:
- the next stage of the definition
-
-