Interface MetricDefinition

All Superinterfaces:
HasInner<com.microsoft.azure.management.monitor.implementation.MetricDefinitionInner>, HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>

public interface MetricDefinition extends HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>, HasInner<com.microsoft.azure.management.monitor.implementation.MetricDefinitionInner>
The Azure metric definition entries are of type MetricDefinition.
  • Method Details

    • resourceId

      String resourceId()
      Get the resourceId value.
      Returns:
      the resourceId value
    • 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

      Begins a definition for a new resource Metric query.
      Returns:
      the stage of start time filter definition.