ExpressRouteFailoverRedundantRoute Class

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

Implements

public final class ExpressRouteFailoverRedundantRoute
implements JsonSerializable<ExpressRouteFailoverRedundantRoute>

The ExpressRouteFailoverRedundantRoute model.

Method Summary

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

Reads an instance of ExpressRouteFailoverRedundantRoute from the JsonReader.

List<String> peeringLocations()

Get the peeringLocations property: A list of all the peering locations for the redundant routes.

List<String> routes()

Get the routes property: A list of all the redundant routes in the peering locations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ExpressRouteFailoverRedundantRoute fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteFailoverRedundantRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

peeringLocations

public List<String> peeringLocations()

Get the peeringLocations property: A list of all the peering locations for the redundant routes.

Returns:

the peeringLocations value.

routes

public List<String> routes()

Get the routes property: A list of all the redundant routes in the peering locations.

Returns:

the routes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to