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

EffectiveRoute 类

定义

有效路由。

public class EffectiveRoute
type EffectiveRoute = class
Public Class EffectiveRoute
继承
EffectiveRoute

构造函数

EffectiveRoute()

初始化 EffectiveRoute 类的新实例。

EffectiveRoute(String, Nullable<Boolean>, EffectiveRouteSource, EffectiveRouteState, IList<String>, IList<String>, RouteNextHopType)

初始化 EffectiveRoute 类的新实例。

属性

AddressPrefix

获取或设置 CIDR 表示法中有效路由的地址前缀。

DisableBgpRoutePropagation

如果为 true,则获取或设置本地路由不会传播到子网中的网络接口。

Name

获取或设置用户定义的路由的名称。 此为可选项。

NextHopIpAddress

获取或设置有效路由的下一跃点的 IP 地址。

NextHopType

获取或设置数据包应发送到的 Azure 跃点的类型。 可能的值包括:“VirtualNetworkGateway”、“VnetLocal”、“Internet”、“VirtualAppliance”、“None”

Source

获取或设置创建路由的人员。 可能的值包括:“Unknown”、“User”、“VirtualNetworkGateway”、“Default”

State

获取或设置有效路由的值。 可能的值包括:“Active”、“Invalid”

适用于