public static interface VirtualMachine.DefinitionStages.WithAvailabilitySet
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithCreate |
withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing
AvailabilitySet availability set to to associate the virtual machine with. |
VirtualMachine.DefinitionStages.WithCreate |
withNewAvailabilitySet(com.microsoft.azure.management.resources.fluentcore.model.Creatable<AvailabilitySet> creatable)
Specifies definition of a not-yet-created availability set definition
to associate the virtual machine with.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate the virtual machine with.
|
VirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(String name)
Adding virtual machines running your application to an availability set ensures that during maintenance event at least one virtual machine will be available.
name - the name of the availability setVirtualMachine.DefinitionStages.WithCreate withNewAvailabilitySet(com.microsoft.azure.management.resources.fluentcore.model.Creatable<AvailabilitySet> creatable)
Adding virtual machines running your application to an availability set ensures that during maintenance event at least one virtual machine will be available.
creatable - the availability set in creatable stageVirtualMachine.DefinitionStages.WithCreate withExistingAvailabilitySet(AvailabilitySet availabilitySet)
AvailabilitySet availability set to to associate the virtual machine with.
Adding virtual machines running your application to an availability set ensures that during maintenance event at least one virtual machine will be available.
availabilitySet - an existing availability set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/