ScaleSetPriority Class

public final class ScaleSetPriority
extends ExpandableStringEnum<ScaleSetPriority>

The Virtual Machine Scale Set priority.

Field Summary

Modifier and Type Field and Description
static final ScaleSetPriority REGULAR

Static value Regular for ScaleSetPriority.

static final ScaleSetPriority SPOT

Static value Spot for ScaleSetPriority.

Constructor Summary

Constructor Description
ScaleSetPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleSetPriority value.

Method Summary

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

Creates or finds a ScaleSetPriority from its string representation.

static Collection<ScaleSetPriority> values()

Gets known ScaleSetPriority values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REGULAR

public static final ScaleSetPriority REGULAR

Static value Regular for ScaleSetPriority.

SPOT

public static final ScaleSetPriority SPOT

Static value Spot for ScaleSetPriority.

Constructor Details

ScaleSetPriority

@Deprecated
public ScaleSetPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScaleSetPriority value.

Method Details

fromString

public static ScaleSetPriority fromString(String name)

Creates or finds a ScaleSetPriority from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScaleSetPriority.

values

public static Collection values()

Gets known ScaleSetPriority values.

Returns:

known ScaleSetPriority values.

Applies to