ZoneMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.ZoneMapping

Implements

public final class ZoneMapping
implements JsonSerializable<ZoneMapping>

The ZoneMapping model.

Method Summary

Modifier and Type Method and Description
static ZoneMapping fromJson(JsonReader jsonReader)

Reads an instance of ZoneMapping from the JsonReader.

String location()

Get the location property: The location of the zone mapping.

JsonWriter toJson(JsonWriter jsonWriter)
List<String> zones()

Get the zones property: The zones property.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ZoneMapping fromJson(JsonReader jsonReader)

Reads an instance of ZoneMapping from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: The location of the zone mapping.

Returns:

the location value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

zones

public List<String> zones()

Get the zones property: The zones property.

Returns:

the zones value.

Applies to