Class CostThresholdStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CostThresholdStatus>
com.azure.resourcemanager.devtestlabs.models.CostThresholdStatus
public final class CostThresholdStatus
extends com.azure.core.util.ExpandableStringEnum<CostThresholdStatus>
Indicates whether this threshold will be displayed on cost charts.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CostThresholdStatus
Static value Disabled for CostThresholdStatus.static final CostThresholdStatus
Static value Enabled for CostThresholdStatus. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CostThresholdStatus
fromString
(String name) Creates or finds a CostThresholdStatus from its string representation.static Collection<CostThresholdStatus>
values()
Gets known CostThresholdStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for CostThresholdStatus. -
DISABLED
Static value Disabled for CostThresholdStatus.
-
-
Constructor Details
-
CostThresholdStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CostThresholdStatus value.
-
-
Method Details
-
fromString
Creates or finds a CostThresholdStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CostThresholdStatus.
-
values
Gets known CostThresholdStatus values.- Returns:
- known CostThresholdStatus values.
-
fromString(String)
factory method.