DiagnosticMetricSet Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DiagnosticMetricSet
- com.
Implements
public final class DiagnosticMetricSet
implements JsonSerializable<DiagnosticMetricSet>
Class representing Diagnostic Metric information.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
|
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
| String |
name()
Get the name property: Name of the metric. |
|
Offset |
startTime()
Get the start |
| String |
timeGrain()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unit()
Get the unit property: Metric's unit. |
| void |
validate()
Validates the instance. |
|
List<Diagnostic |
values()
Get the values property: Collection of metric values for the selected period based on the {Microsoft. |
Methods inherited from java.lang.Object
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.
Returns:
fromJson
public static DiagnosticMetricSet fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticMetricSet from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the metric.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.
Returns:
timeGrain
public String timeGrain()
Get the timeGrain property: Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D.
Returns:
toJson
unit
public String unit()
Get the unit property: Metric's unit.
Returns:
validate
public void validate()
Validates the instance.
values
public List<DiagnosticMetricSample> values()
Get the values property: Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}.
Returns: