Interface KubernetesClusterAgentPool.DefinitionStages.WithVMPriority<ParentT>
- Type Parameters:
ParentT- the stage of the container service definition to return to after attaching this definition
- All Known Subinterfaces:
KubernetesClusterAgentPool.Definition<ParentT>,KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- KubernetesClusterAgentPool.DefinitionStages
public static interface KubernetesClusterAgentPool.DefinitionStages.WithVMPriority<ParentT>
The stage of a container service agent pool definition allowing to specify the priority of the virtual
machine.
-
Method Summary
Modifier and TypeMethodDescriptionSpecify that virtual machines should be spot priority VMs.Specify that virtual machines should be spot priority VMs with provided eviction policy.withVirtualMachinePriority(ScaleSetPriority priority) Specifies the priority of the virtual machines.
-
Method Details
-
withVirtualMachinePriority
KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withVirtualMachinePriority(ScaleSetPriority priority) Specifies the priority of the virtual machines.- Parameters:
priority- the priority- Returns:
- the next stage of the definition
-
withSpotPriorityVirtualMachine
KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withSpotPriorityVirtualMachine()Specify that virtual machines should be spot priority VMs.- Returns:
- the next stage of the definition
-
withSpotPriorityVirtualMachine
KubernetesClusterAgentPool.DefinitionStages.WithAttach<ParentT> withSpotPriorityVirtualMachine(ScaleSetEvictionPolicy policy) Specify that virtual machines should be spot priority VMs with provided eviction policy.- Parameters:
policy- eviction policy for the virtual machines.- Returns:
- the next stage of the definition
-