VirtualMachine.DefinitionStages.WithAvailabilitySet Interface
public interface WithAvailabilitySet
The stage of the virtual machine definition allowing to specify availability set.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine. |
Virtual |
withNewAvailabilitySet(Creatable<AvailabilitySet> creatable)
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with. |
Virtual |
withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate with the virtual machine. |
Method Details
withExistingAvailabilitySet
public WithCreate withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine.
Parameters:
Returns:
withNewAvailabilitySet
public WithCreate withNewAvailabilitySet(Creatable
Specifies definition of a not-yet-created availability set definition to associate the virtual machine with.
Parameters:
Returns:
withNewAvailabilitySet
public 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