public final class MetricDefinition extends Object
Constructor and Description |
---|
MetricDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Returns the custom category name for this metric.
|
String |
getDescription()
Returns the detailed description of this metric.
|
List<String> |
getDimensions()
Returns the names of all the dimensions available for this metric.
|
String |
getId()
The resource identifier of the metric definition.
|
List<MetricAvailability> |
getMetricAvailabilities()
Returns the collection of what aggregation intervals are available to be queried.
|
MetricClass |
getMetricClass()
Returns the class of the metric.
|
String |
getName()
Returns the name of the metric,
|
String |
getNamespace()
Returns the namespace the metric belongs to.
|
AggregationType |
getPrimaryAggregationType()
Returns the primary aggregation type value defining how to use the values for display.
|
String |
getResourceId()
Returns the resource identifier of the resource that emitted the metric.
|
List<AggregationType> |
getSupportedAggregationTypes()
Returns the collection of what aggregation types are supported.
|
MetricUnit |
getUnit()
Returns the unit of the metric.
|
Boolean |
isDimensionRequired()
Returns a flag to indicate whether the dimension is required.
|
public Boolean isDimensionRequired()
public String getResourceId()
public String getNamespace()
public String getName()
public String getDescription()
public String getCategory()
public MetricClass getMetricClass()
public MetricUnit getUnit()
public AggregationType getPrimaryAggregationType()
public List<AggregationType> getSupportedAggregationTypes()
public List<MetricAvailability> getMetricAvailabilities()
public String getId()
Copyright © 2021 Microsoft Corporation. All rights reserved.