DurabilityLevel Class

public final class DurabilityLevel
extends ExpandableStringEnum<DurabilityLevel>

The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). - Bronze - No privileges. This is the default. - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD. - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.

Field Summary

Modifier and Type Field and Description
static final DurabilityLevel BRONZE

Static value Bronze for DurabilityLevel.

static final DurabilityLevel GOLD

Static value Gold for DurabilityLevel.

static final DurabilityLevel SILVER

Static value Silver for DurabilityLevel.

Constructor Summary

Constructor Description
DurabilityLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DurabilityLevel value.

Method Summary

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

Creates or finds a DurabilityLevel from its string representation.

static Collection<DurabilityLevel> values()

Gets known DurabilityLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BRONZE

public static final DurabilityLevel BRONZE

Static value Bronze for DurabilityLevel.

GOLD

public static final DurabilityLevel GOLD

Static value Gold for DurabilityLevel.

SILVER

public static final DurabilityLevel SILVER

Static value Silver for DurabilityLevel.

Constructor Details

DurabilityLevel

@Deprecated
public DurabilityLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DurabilityLevel value.

Method Details

fromString

public static DurabilityLevel fromString(String name)

Creates or finds a DurabilityLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DurabilityLevel.

values

public static Collection values()

Gets known DurabilityLevel values.

Returns:

known DurabilityLevel values.

Applies to