Interface MetricDefinition
-
- All Superinterfaces:
HasInnerModel<MetricDefinitionInner>,HasManager<MonitorManager>
public interface MetricDefinition extends HasManager<MonitorManager>, HasInnerModel<MetricDefinitionInner>
The Azure metric definition entries are of type MetricDefinition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMetricDefinition.MetricsQueryDefinitionThe entirety of a Metrics query definition.static interfaceMetricDefinition.MetricsQueryDefinitionStagesGrouping of Metric query stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilterdefineQuery()Begins a definition for a new resource Metric query.List<LocalizableString>dimensions()the name and the display name of the dimension, i.e.Stringid()Get the id value.booleanisDimensionRequired()Get the isDimensionRequired value.List<MetricAvailability>metricAvailabilities()Get the metricAvailabilities value.LocalizableStringname()Get the name value.Stringnamespace()Get the namespace value.AggregationTypeprimaryAggregationType()Get the primaryAggregationType value.StringresourceId()Get the resourceId value.List<AggregationType>supportedAggregationTypes()the collection of what aggregation types are supported.Unitunit()Get the unit value.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
-
-
-
Method Detail
-
resourceId
String resourceId()
Get the resourceId value.- Returns:
- the resourceId value
-
name
LocalizableString name()
Get the name value.- Returns:
- the name value
-
namespace
String namespace()
Get the namespace value.- Returns:
- the namespace value
-
isDimensionRequired
boolean isDimensionRequired()
Get the isDimensionRequired value.- Returns:
- the isDimensionRequired value
-
dimensions
List<LocalizableString> dimensions()
the name and the display name of the dimension, i.e. it is a localizable string.- Returns:
- the list of dimension values.
-
supportedAggregationTypes
List<AggregationType> supportedAggregationTypes()
the collection of what aggregation types are supported.- Returns:
- the list of supported aggregation type values.
-
unit
Unit unit()
Get the unit value.- Returns:
- the unit value
-
primaryAggregationType
AggregationType primaryAggregationType()
Get the primaryAggregationType value.- Returns:
- the primaryAggregationType value
-
metricAvailabilities
List<MetricAvailability> metricAvailabilities()
Get the metricAvailabilities value.- Returns:
- the metricAvailabilities value
-
id
String id()
Get the id value.- Returns:
- the id value
-
defineQuery
MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilter defineQuery()
Begins a definition for a new resource Metric query.- Returns:
- the stage of start time filter definition.
-
-