Class ScaleDownMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ScaleDownMode>
com.azure.resourcemanager.containerservice.models.ScaleDownMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Describes how VMs are added to or removed from Agent Pools. See [billing
states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScaleDownModeAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.static final ScaleDownModeCreate new instances during scale up and remove instances during scale down. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScaleDownModefromString(String name) Creates or finds a ScaleDownMode from its string representation.static Collection<ScaleDownMode> values()Gets known ScaleDownMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DELETE
Create new instances during scale up and remove instances during scale down. -
DEALLOCATE
Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
-
-
Constructor Details
-
ScaleDownMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of ScaleDownMode value.
-
-
Method Details
-
fromString
Creates or finds a ScaleDownMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ScaleDownMode.
-
values
Gets known ScaleDownMode values.- Returns:
- known ScaleDownMode values.
-
fromString(String)factory method.