Class ScaleSetPriority
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ScaleSetPriority>
com.azure.resourcemanager.containerservice.models.ScaleSetPriority
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ScaleSetPriority
extends com.azure.core.util.ExpandableStringEnum<ScaleSetPriority>
The Virtual Machine Scale Set priority.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScaleSetPriorityRegular VMs will be used.static final ScaleSetPrioritySpot priority VMs will be used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScaleSetPriorityfromString(String name) Creates or finds a ScaleSetPriority from its string representation.static Collection<ScaleSetPriority> values()Gets known ScaleSetPriority values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SPOT
Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information. -
REGULAR
Regular VMs will be used.
-
-
Constructor Details
-
ScaleSetPriority
Deprecated.Use thefromString(String)factory method.Creates a new instance of ScaleSetPriority value.
-
-
Method Details
-
fromString
Creates or finds a ScaleSetPriority from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ScaleSetPriority.
-
values
Gets known ScaleSetPriority values.- Returns:
- known ScaleSetPriority values.
-
fromString(String)factory method.