Class MetricType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricType>
com.azure.resourcemanager.sql.models.MetricType
Defines values for MetricType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetricTypeStatic value cpu for MetricType.static final MetricTypeStatic value dtu for MetricType.static final MetricTypeStatic value duration for MetricType.static final MetricTypeStatic value io for MetricType.static final MetricTypeStatic value logIo for MetricType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricTypefromString(String name) Creates or finds a MetricType from its string representation.static Collection<MetricType>values()Gets known MetricType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CPU
Static value cpu for MetricType. -
IO
Static value io for MetricType. -
LOG_IO
Static value logIo for MetricType. -
DURATION
Static value duration for MetricType. -
DTU
Static value dtu for MetricType.
-
-
Constructor Details
-
MetricType
public MetricType()
-
-
Method Details
-
fromString
Creates or finds a MetricType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MetricType.
-
values
Gets known MetricType values.- Returns:
- known MetricType values.
-