ResourceMetricAvailability Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ResourceMetricAvailability
- com.
Implements
public final class ResourceMetricAvailability
implements JsonSerializable<ResourceMetricAvailability>
Metrics availability and retention.
Constructor Summary
Constructor | Description |
---|---|
ResourceMetricAvailability() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
retention()
Get the retention property: Retention period for the current time grain. |
String |
timeGrain()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ResourceMetricAvailability
public ResourceMetricAvailability()
Creates an instance of ResourceMetricAvailability class.
Method Details
fromJson
public static ResourceMetricAvailability fromJson(JsonReader jsonReader)
Reads an instance of ResourceMetricAvailability from the JsonReader.
Parameters:
Returns:
Throws:
retention
public String retention()
Get the retention property: Retention period for the current time grain.
Returns:
timeGrain
public String timeGrain()
Get the timeGrain property: Time grain .
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java