Interface Metric

All Superinterfaces:
HasInner<com.microsoft.azure.management.monitor.implementation.MetricInner>

public interface Metric extends HasInner<com.microsoft.azure.management.monitor.implementation.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.
    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.microsoft.azure.management.resources.fluentcore.model.HasInner

    inner
  • 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. Possible values include: 'Count', 'Bytes', 'Seconds', 'CountPerSecond', 'BytesPerSecond', 'Percent', 'MilliSeconds', 'ByteSeconds', 'Unspecified'.
      Returns:
      the unit value
    • timeseries

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