Interface Metric
-
- All Superinterfaces:
HasInnerModel<MetricInner>
public interface Metric extends HasInnerModel<MetricInner>
The Azure metric entries are of type Metric.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringid()Get the metric Id.LocalizableStringname()Get the name and the display name of the metric, i.e.List<TimeSeriesElement>timeseries()Get the time series returned when a data query is performed.Stringtype()Get the resource type of the metric resource.Unitunit()Get the unit of the metric.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
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.- Returns:
- the unit value
-
timeseries
List<TimeSeriesElement> timeseries()
Get the time series returned when a data query is performed.- Returns:
- the timeseries value
-
-