Interface Metric

  • All Superinterfaces:
    com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.monitor.implementation.MetricInner>

    public interface Metric
    extends com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.monitor.implementation.MetricInner>
    The Azure metric entries are of type Metric.
    • Method Detail

      • 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

        LocalizableString 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