DurabilityLevel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. servicefabric. models. DurabilityLevel
- com.
- com.
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
Durability |
BRONZE
Static value Bronze for Durability |
static final
Durability |
GOLD
Static value Gold for Durability |
static final
Durability |
SILVER
Static value Silver for Durability |
Constructor Summary
Constructor | Description |
---|---|
DurabilityLevel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Durability |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Durability |
fromString(String name)
Creates or finds a Durability |
static
Collection<Durability |
values()
Gets known Durability |
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
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:
Returns:
values
public static Collection
Gets known DurabilityLevel values.
Returns:
Applies to
Azure SDK for Java