EffectiveRoute Class

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

Implements

public final class EffectiveRoute
implements JsonSerializable<EffectiveRoute>

Effective Route.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefix()

Get the addressPrefix property: The address prefixes of the effective routes in CIDR notation.

Boolean disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network interfaces in the subnet.

static EffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of EffectiveRoute from the JsonReader.

String name()

Get the name property: The name of the user defined route.

List<String> nextHopIpAddress()

Get the nextHopIpAddress property: The IP address of the next hop of the effective route.

RouteNextHopType nextHopType()

Get the nextHopType property: The type of Azure hop the packet should be sent to.

EffectiveRouteSource source()

Get the source property: Who created the route.

EffectiveRouteState state()

Get the state property: The value of effective route.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

addressPrefix

public List<String> addressPrefix()

Get the addressPrefix property: The address prefixes of the effective routes in CIDR notation.

Returns:

the addressPrefix value.

disableBgpRoutePropagation

public Boolean disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network interfaces in the subnet.

Returns:

the disableBgpRoutePropagation value.

fromJson

public static EffectiveRoute fromJson(JsonReader jsonReader)

Reads an instance of EffectiveRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the user defined route. This is optional.

Returns:

the name value.

nextHopIpAddress

public List<String> nextHopIpAddress()

Get the nextHopIpAddress property: The IP address of the next hop of the effective route.

Returns:

the nextHopIpAddress value.

nextHopType

public RouteNextHopType nextHopType()

Get the nextHopType property: The type of Azure hop the packet should be sent to.

Returns:

the nextHopType value.

source

public EffectiveRouteSource source()

Get the source property: Who created the route.

Returns:

the source value.

state

public EffectiveRouteState state()

Get the state property: The value of effective route.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to