VirtualMachine.DefinitionStages.WithAvailabilitySet Interface
public static interface VirtualMachine.DefinitionStages.WithAvailabilitySet
The stage of the virtual machine definition allowing to specify availability set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine. |
abstract
With |
withNewAvailabilitySet(Creatable<AvailabilitySet> creatable)
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with. |
abstract
With |
withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate with the virtual machine. |
Method Details
withExistingAvailabilitySet
public abstract VirtualMachine.DefinitionStages.WithCreate withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine.
Parameters:
Returns:
withNewAvailabilitySet
public abstract VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(Creatable
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.
Parameters:
Returns:
withNewAvailabilitySet
public abstract VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate with the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for