MetricDefinition Interface
Implements
public interface MetricDefinition
extends HasManager<MonitorManager>, HasInnerModel<MetricDefinitionInner>
The Azure metric definition entries are of type MetricDefinition.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
defineQuery()
Begins a definition for a new resource Metric query. |
abstract
List<Localizable |
dimensions()
the name and the display name of the dimension, i. |
abstract String |
id()
Get the id value. |
abstract boolean |
isDimensionRequired()
Get the is |
abstract
List<Metric |
metricAvailabilities()
Get the metric |
abstract
Localizable |
name()
Get the name value. |
abstract String |
namespace()
Get the namespace value. |
abstract
Aggregation |
primaryAggregationType()
Get the primary |
abstract String |
resourceId()
Get the resource |
abstract
List<Aggregation |
supportedAggregationTypes()
the collection of what aggregation types are supported. |
abstract Unit |
unit()
Get the unit value. |
Method Details
defineQuery
public abstract MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilter defineQuery()
Begins a definition for a new resource Metric query.
Returns:
dimensions
public abstract List
the name and the display name of the dimension, i.e. it is a localizable string.
Returns:
id
public abstract String id()
Get the id value.
Returns:
isDimensionRequired
public abstract boolean isDimensionRequired()
Get the isDimensionRequired value.
Returns:
metricAvailabilities
public abstract List
Get the metricAvailabilities value.
Returns:
name
public abstract LocalizableString name()
Get the name value.
Returns:
namespace
public abstract String namespace()
Get the namespace value.
Returns:
primaryAggregationType
public abstract AggregationType primaryAggregationType()
Get the primaryAggregationType value.
Returns:
resourceId
public abstract String resourceId()
Get the resourceId value.
Returns:
supportedAggregationTypes
public abstract List
the collection of what aggregation types are supported.
Returns:
unit
public abstract Unit unit()
Get the unit value.
Returns:
Applies to
Azure SDK for Java