GatewayRoute Class

  • java.lang.Object
    • com.microsoft.azure.management.network.GatewayRoute

public class GatewayRoute

Gateway routing details.

Constructor Summary

Constructor Description
GatewayRoute()

Method Summary

Modifier and Type Method and Description
java.lang.String asPath()

Get the route's AS path sequence.

java.lang.String localAddress()

Get the gateway's local address.

java.lang.String network()

Get the route's network prefix.

java.lang.String nextHop()

Get the route's next hop.

java.lang.String origin()

Get the source this route was learned from.

java.lang.String sourcePeer()

Get the peer this route was learned from.

java.lang.Integer weight()

Get the route's weight.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

GatewayRoute

public GatewayRoute()

Method Details

asPath

public String asPath()

Get the route's AS path sequence.

Returns:

the asPath value

localAddress

public String localAddress()

Get the gateway's local address.

Returns:

the localAddress value

network

public String network()

Get the route's network prefix.

Returns:

the network value

nextHop

public String nextHop()

Get the route's next hop.

Returns:

the nextHop value

origin

public String origin()

Get the source this route was learned from.

Returns:

the origin value

sourcePeer

public String sourcePeer()

Get the peer this route was learned from.

Returns:

the sourcePeer value

weight

public Integer weight()

Get the route's weight.

Returns:

the weight value

Applies to