Interface Metric

All Superinterfaces:
HasInnerModel<MetricInner>

public interface Metric extends HasInnerModel<MetricInner>
The Azure metric entries are of type Metric.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Get the metric Id.
    Get the name and the display name of the metric, i.e. it is localizable string.
    Get the time series returned when a data query is performed.
    Get the resource type of the metric resource.
    Get the unit of the metric.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel
  • Method Details

    • id

      String id()
      Get the metric Id.
      Returns:
      the id value
    • type

      String type()
      Get the resource type of the metric resource.
      Returns:
      the type value
    • name

      Get the name and the display name of the metric, i.e. it is localizable string.
      Returns:
      the name value
    • unit

      Unit unit()
      Get the unit of the metric.
      Returns:
      the unit value
    • timeseries

      List<TimeSeriesElement> timeseries()
      Get the time series returned when a data query is performed.
      Returns:
      the timeseries value