Route Interface

Implements

ChildResource<RouteTable> HasInner<com.microsoft.azure.management.network.implementation.RouteInner>

public interface Route
extends HasInner<com.microsoft.azure.management.network.implementation.RouteInner>, ChildResource<RouteTable>

An immutable client-side representation of a route of a route table.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String destinationAddressPrefix()
abstract java.lang.String nextHopIPAddress()
abstract RouteNextHopType nextHopType()

Method Details

destinationAddressPrefix

public abstract String destinationAddressPrefix()

Returns:

the destination address prefix, expressed using the CIDR notation, to which the route applies

nextHopIPAddress

public abstract String nextHopIPAddress()

Returns:

the IP address of the next hop

nextHopType

public abstract RouteNextHopType nextHopType()

Returns:

the type of the next hop

Applies to