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.WithVMPriorityThe stage of the virtual machine scale set definition allowing to specify priority for vms in the scale-set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineScaleSet.DefinitionStages.WithCreatewithLowPriorityVirtualMachine()Specify that virtual machines in the scale set should be low priority VMs.VirtualMachineScaleSet.DefinitionStages.WithCreatewithLowPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)Specify that virtual machines in the scale set should be low priority VMs with provided eviction policy.VirtualMachineScaleSet.DefinitionStages.WithCreatewithSpotPriorityVirtualMachine()Specify that virtual machines in the scale set should be spot priority VMs.VirtualMachineScaleSet.DefinitionStages.WithCreatewithSpotPriorityVirtualMachine(VirtualMachineEvictionPolicyTypes policy)Specify that virtual machines in the scale set should be spot priority VMs with provided eviction policy.VirtualMachineScaleSet.DefinitionStages.WithCreatewithVirtualMachinePriority(VirtualMachinePriorityTypes priority)Specifies the priority of the virtual machines in the scale set.
-
-
-
Method Detail
-
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
-
-