ScaleDownMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. ScaleDownMode
- com.
- com.
public final class ScaleDownMode
extends ExpandableStringEnum<ScaleDownMode>
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
| Modifier and Type | Field and Description |
|---|---|
|
static final
Scale |
DEALLOCATE
Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
|
static final
Scale |
DELETE
Create new instances during scale up and remove instances during scale down. |
Constructor Summary
| Constructor | Description |
|---|---|
| ScaleDownMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Scale |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scale |
fromString(String name)
Creates or finds a Scale |
|
static
Collection<Scale |
values()
Gets known Scale |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEALLOCATE
public static final ScaleDownMode DEALLOCATE
Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
DELETE
public static final ScaleDownMode DELETE
Create new instances during scale up and remove instances during scale down.
Constructor Details
ScaleDownMode
@Deprecated
public ScaleDownMode()
Deprecated
Creates a new instance of ScaleDownMode value.
Method Details
fromString
public static ScaleDownMode fromString(String name)
Creates or finds a ScaleDownMode from its string representation.
Parameters:
Returns:
values
public static Collection<ScaleDownMode> values()
Gets known ScaleDownMode values.
Returns: