VirtualMachineScaleSet.DefinitionStages.WithVMPriority Interface
public static interface VirtualMachineScaleSet.DefinitionStages.WithVMPriority
The stage of the virtual machine scale set definition allowing to specify priority for vms in the scale-set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withLowPriorityVirtualMachine()
Specify that virtual machines in the scale set should be low priority VMs. |
abstract
With |
withLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)
Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy. |
abstract
With |
withSpotPriorityVirtualMachine()
Specify that virtual machines in the scale set should be spot priority VMs. |
abstract
With |
withSpotPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)
Specify that virtual machines in the scale set should be spot priority VMs with provided eviction policy. |
abstract
With |
withVirtualMachinePriority(VirtualMachinePriorityTypes priority)
Specifies the priority of the virtual machines in the scale set. |
Method Details
withLowPriorityVirtualMachine
public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withLowPriorityVirtualMachine()
Specify that virtual machines in the scale set should be low priority VMs.
Returns:
withLowPriorityVirtualMachine
public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)
Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.
Parameters:
Returns:
withSpotPriorityVirtualMachine
public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withSpotPriorityVirtualMachine()
Specify that virtual machines in the scale set should be spot priority VMs.
Returns:
withSpotPriorityVirtualMachine
public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withSpotPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)
Specify that virtual machines in the scale set should be spot priority VMs with provided eviction policy.
Parameters:
Returns:
withVirtualMachinePriority
public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withVirtualMachinePriority(VirtualMachinePriorityTypes priority)
Specifies the priority of the virtual machines in the scale set.
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