CheckZonePeersResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.CheckZonePeersResultInner

Implements

public final class CheckZonePeersResultInner
implements JsonSerializable<CheckZonePeersResultInner>

Result of the Check zone peers operation.

Method Summary

Modifier and Type Method and Description
List<AvailabilityZonePeers> availabilityZonePeers()

Get the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

static CheckZonePeersResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckZonePeersResultInner from the JsonReader.

String location()

Get the location property: the location of the subscription.

String subscriptionId()

Get the subscriptionId property: The subscription ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

availabilityZonePeers

public List<AvailabilityZonePeers> availabilityZonePeers()

Get the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

Returns:

the availabilityZonePeers value.

fromJson

public static CheckZonePeersResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckZonePeersResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: the location of the subscription.

Returns:

the location value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscription ID.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to