GatewayRoute Class
- java.
lang. Object - com.
microsoft. azure. management. network. GatewayRoute
- com.
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
Constructor Details
GatewayRoute
public GatewayRoute()
Method Details
asPath
public String asPath()
Get the route's AS path sequence.
Returns:
localAddress
public String localAddress()
Get the gateway's local address.
Returns:
network
public String network()
Get the route's network prefix.
Returns:
nextHop
public String nextHop()
Get the route's next hop.
Returns:
origin
public String origin()
Get the source this route was learned from.
Returns:
sourcePeer
public String sourcePeer()
Get the peer this route was learned from.
Returns:
weight
public Integer weight()
Get the route's weight.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for