Interface VirtualMachineScaleSet.DefinitionStages.WithVMPriority
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionStages.WithCreate, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithManagedCreate, VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
VirtualMachineScaleSet.DefinitionStages
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 TypeMethodDescriptionSpecify that virtual machines in the scale set should be low priority VMs.Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.Specify that virtual machines in the scale set should be spot priority VMs.Specify that virtual machines in the scale set should be spot priority VMs with provided eviction policy.Specifies the priority of the virtual machines in the scale set.
-
Method Details
-
withVirtualMachinePriority
VirtualMachineScaleSet.DefinitionStages.WithCreate withVirtualMachinePriority(VirtualMachinePriorityTypes priority) Specifies the priority of the virtual machines in the scale set.- Parameters:
priority- the priority- Returns:
- the next stage of the definition
-
withLowPriorityVirtualMachine
VirtualMachineScaleSet.DefinitionStages.WithCreate withLowPriorityVirtualMachine()Specify that virtual machines in the scale set should be low priority VMs.- Returns:
- the next stage of the definition
-
withLowPriorityVirtualMachine
VirtualMachineScaleSet.DefinitionStages.WithCreate withLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy) Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.- Parameters:
policy- eviction policy for the virtual machines in the scale set.- Returns:
- the next stage of the definition
-
withSpotPriorityVirtualMachine
VirtualMachineScaleSet.DefinitionStages.WithCreate withSpotPriorityVirtualMachine()Specify that virtual machines in the scale set should be spot priority VMs.- Returns:
- the next stage of the definition
-
withSpotPriorityVirtualMachine
VirtualMachineScaleSet.DefinitionStages.WithCreate withSpotPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy) Specify that virtual machines in the scale set should be spot priority VMs with provided eviction policy.- Parameters:
policy- eviction policy for the virtual machines in the scale set.- Returns:
- the next stage of the definition
-