Availability Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.Availability

Implements

public final class Availability
implements JsonSerializable<Availability>

Availability of the metric.

Method Summary

Modifier and Type Method and Description
String blobDuration()

Get the blobDuration property: Duration of the availability blob.

static Availability fromJson(JsonReader jsonReader)

Reads an instance of Availability from the JsonReader.

String retention()

Get the retention property: The retention of the availability.

String timeGrain()

Get the timeGrain property: The time grain of the availability.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

blobDuration

public String blobDuration()

Get the blobDuration property: Duration of the availability blob.

Returns:

the blobDuration value.

fromJson

public static Availability fromJson(JsonReader jsonReader)

Reads an instance of Availability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Availability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Availability.

retention

public String retention()

Get the retention property: The retention of the availability.

Returns:

the retention value.

timeGrain

public String timeGrain()

Get the timeGrain property: The time grain of the availability.

Returns:

the timeGrain value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to