你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: