AvailabilityZonePeers Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.AvailabilityZonePeers

Implements

public final class AvailabilityZonePeers
implements JsonSerializable<AvailabilityZonePeers>

List of availability zones shared by the subscriptions.

Method Summary

Modifier and Type Method and Description
String availabilityZone()

Get the availabilityZone property: The availabilityZone.

static AvailabilityZonePeers fromJson(JsonReader jsonReader)

Reads an instance of AvailabilityZonePeers from the JsonReader.

List<Peers> peers()

Get the peers property: Details of shared availability zone.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

availabilityZone

public String availabilityZone()

Get the availabilityZone property: The availabilityZone.

Returns:

the availabilityZone value.

fromJson

public static AvailabilityZonePeers fromJson(JsonReader jsonReader)

Reads an instance of AvailabilityZonePeers from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailabilityZonePeers 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 AvailabilityZonePeers.

peers

public List<Peers> peers()

Get the peers property: Details of shared availability zone.

Returns:

the peers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to