MetricClass Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. monitor. models. MetricClass
- com.
- com.
public final class MetricClass
extends ExpandableStringEnum<MetricClass>
The class of the metric.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Metric |
AVAILABILITY
Static value Availability for Metric |
static final
Metric |
ERRORS
Static value Errors for Metric |
static final
Metric |
LATENCY
Static value Latency for Metric |
static final
Metric |
SATURATION
Static value Saturation for Metric |
static final
Metric |
TRANSACTIONS
Static value Transactions for Metric |
Constructor Summary
Constructor | Description |
---|---|
MetricClass() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Metric |
fromString(String name)
Creates or finds a Metric |
static
Collection<Metric |
values()
Gets known Metric |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AVAILABILITY
public static final MetricClass AVAILABILITY
Static value Availability for MetricClass.
ERRORS
public static final MetricClass ERRORS
Static value Errors for MetricClass.
LATENCY
public static final MetricClass LATENCY
Static value Latency for MetricClass.
SATURATION
public static final MetricClass SATURATION
Static value Saturation for MetricClass.
TRANSACTIONS
public static final MetricClass TRANSACTIONS
Static value Transactions for MetricClass.
Constructor Details
MetricClass
@Deprecated
public MetricClass()
Deprecated
Creates a new instance of MetricClass value.
Method Details
fromString
public static MetricClass fromString(String name)
Creates or finds a MetricClass from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known MetricClass values.
Returns:
Applies to
Azure SDK for Java