QueryMetricUnitType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. QueryMetricUnitType
- com.
- com.
public final class QueryMetricUnitType
extends ExpandableStringEnum<QueryMetricUnitType>
The unit of the metric.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Query |
COUNT
Static value count for Query |
static final
Query |
KB
Static value KB for Query |
static final
Query |
MICROSECONDS
Static value microseconds for Query |
static final
Query |
PERCENTAGE
Static value percentage for Query |
Constructor Summary
Constructor | Description |
---|---|
QueryMetricUnitType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Query |
fromString(String name)
Creates or finds a Query |
static
Collection<Query |
values()
Gets known Query |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COUNT
public static final QueryMetricUnitType COUNT
Static value count for QueryMetricUnitType.
KB
public static final QueryMetricUnitType KB
Static value KB for QueryMetricUnitType.
MICROSECONDS
public static final QueryMetricUnitType MICROSECONDS
Static value microseconds for QueryMetricUnitType.
PERCENTAGE
public static final QueryMetricUnitType PERCENTAGE
Static value percentage for QueryMetricUnitType.
Constructor Details
QueryMetricUnitType
@Deprecated
public QueryMetricUnitType()
Deprecated
Creates a new instance of QueryMetricUnitType value.
Method Details
fromString
public static QueryMetricUnitType fromString(String name)
Creates or finds a QueryMetricUnitType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known QueryMetricUnitType values.
Returns:
Applies to
Azure SDK for Java