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.WithAvailabilitySet
The stage of the virtual machine definition allowing to specify availability set.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingAvailabilitySet
(AvailabilitySet availabilitySet) Specifies an existing availability set to associate with the virtual machine.withNewAvailabilitySet
(Creatable<AvailabilitySet> creatable) Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.withNewAvailabilitySet
(String name) Specifies the name of a new availability set to associate with the virtual machine.
-
Method Details
-
withNewAvailabilitySet
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
-