ScaleDownMode Class

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 ScaleDownMode DEALLOCATE

Static value Deallocate for ScaleDownMode.

static final ScaleDownMode DELETE

Static value Delete for ScaleDownMode.

Constructor Summary

Constructor Description
ScaleDownMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleDownMode value.

Method Summary

Modifier and Type Method and Description
static ScaleDownMode fromString(String name)

Creates or finds a ScaleDownMode from its string representation.

static Collection<ScaleDownMode> values()

Gets known ScaleDownMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEALLOCATE

public static final ScaleDownMode DEALLOCATE

Static value Deallocate for ScaleDownMode.

DELETE

public static final ScaleDownMode DELETE

Static value Delete for ScaleDownMode.

Constructor Details

ScaleDownMode

@Deprecated
public ScaleDownMode()

Deprecated

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ScaleDownMode.

values

public static Collection values()

Gets known ScaleDownMode values.

Returns:

known ScaleDownMode values.

Applies to