MetricType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. MetricType
- com.
- com.
public final class MetricType
extends ExpandableStringEnum<MetricType>
Defines values for MetricType.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Metric |
CPU
Static value cpu for Metric |
|
static final
Metric |
DTU
Static value dtu for Metric |
|
static final
Metric |
DURATION
Static value duration for Metric |
|
static final
Metric |
IO
Static value io for Metric |
|
static final
Metric |
LOG_IO
Static value log |
Constructor Summary
| Constructor | Description |
|---|---|
| MetricType() |
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
CPU
public static final MetricType CPU
Static value cpu for MetricType.
DTU
public static final MetricType DTU
Static value dtu for MetricType.
DURATION
public static final MetricType DURATION
Static value duration for MetricType.
IO
public static final MetricType IO
Static value io for MetricType.
LOG_IO
public static final MetricType LOG_IO
Static value logIo for MetricType.
Constructor Details
MetricType
@Deprecated
public MetricType()
Deprecated
Creates a new instance of MetricType value.
Method Details
fromString
public static MetricType fromString(String name)
Creates or finds a MetricType from its string representation.
Parameters:
Returns:
values
public static Collection<MetricType> values()
Gets known MetricType values.
Returns: