MetricAvailability Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. MetricAvailability
- com.
Implements
public final class MetricAvailability
implements JsonSerializable<MetricAvailability>
The availability of the metric.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Metric |
fromJson(JsonReader jsonReader)
Reads an instance of Metric |
| String |
retention()
Get the retention property: The retention for the metric values. |
| String |
timeGrain()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static MetricAvailability fromJson(JsonReader jsonReader)
Reads an instance of MetricAvailability from the JsonReader.
Parameters:
Returns:
Throws:
retention
public String retention()
Get the retention property: The retention for the metric values.
Returns:
timeGrain
public String timeGrain()
Get the timeGrain property: The time grain to be used to summarize the metric values.
Returns:
toJson
validate
public void validate()
Validates the instance.