你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Route Interface

Implements

public interface Route
extends HasInnerModel<RouteInner>, ChildResource<RouteTable>

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

Method Summary

Modifier and Type Method and Description
abstract String destinationAddressPrefix()

Gets the destination address prefix.

abstract String nextHopIpAddress()

Gets the IP address of the next hop.

abstract RouteNextHopType nextHopType()

Gets the type of the next hop.

Method Details

destinationAddressPrefix

public abstract String destinationAddressPrefix()

Gets the destination address prefix.

Returns:

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

nextHopIpAddress

public abstract String nextHopIpAddress()

Gets the IP address of the next hop.

Returns:

the IP address of the next hop

nextHopType

public abstract RouteNextHopType nextHopType()

Gets the type of the next hop.

Returns:

the type of the next hop

Applies to