| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent.models |
Package containing the inner data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
MetricInner |
MetricInner.withId(String id)
Set the id property: the metric Id.
|
MetricInner |
MetricInner.withName(LocalizableStringInner name)
Set the name property: the name and the display name of the metric, i.e.
|
MetricInner |
MetricInner.withTimeseries(List<TimeSeriesElement> timeseries)
Set the timeseries property: the time series returned when a data query is performed.
|
MetricInner |
MetricInner.withType(String type)
Set the type property: the resource type of the metric resource.
|
MetricInner |
MetricInner.withUnit(Unit unit)
Set the unit property: the unit of the metric.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.