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

EffectiveRoute 构造函数

定义

重载

EffectiveRoute()

初始化 EffectiveRoute 类的新实例。

EffectiveRoute(String, Nullable<Boolean>, String, String, IList<String>, IList<String>, String)

初始化 EffectiveRoute 类的新实例。

EffectiveRoute()

初始化 EffectiveRoute 类的新实例。

public EffectiveRoute ();
Public Sub New ()

适用于

EffectiveRoute(String, Nullable<Boolean>, String, String, IList<String>, IList<String>, String)

初始化 EffectiveRoute 类的新实例。

public EffectiveRoute (string name = default, bool? disableBgpRoutePropagation = default, string source = default, string state = default, System.Collections.Generic.IList<string> addressPrefix = default, System.Collections.Generic.IList<string> nextHopIpAddress = default, string nextHopType = default);
new Microsoft.Azure.Management.Network.Models.EffectiveRoute : string * Nullable<bool> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Network.Models.EffectiveRoute
Public Sub New (Optional name As String = Nothing, Optional disableBgpRoutePropagation As Nullable(Of Boolean) = Nothing, Optional source As String = Nothing, Optional state As String = Nothing, Optional addressPrefix As IList(Of String) = Nothing, Optional nextHopIpAddress As IList(Of String) = Nothing, Optional nextHopType As String = Nothing)

参数

name
String

用户定义的路由的名称。 此为可选项。

disableBgpRoutePropagation
Nullable<Boolean>

如果为 true,则不会将本地路由传播到子网中的网络接口。

source
String

路由的创建者。 可能的值包括:“Unknown”、“User”、“VirtualNetworkGateway”、“Default”

state
String

有效路由的值。 可能的值包括:“Active”、“Invalid”

addressPrefix
IList<String>

CIDR 表示法中有效路由的地址前缀。

nextHopIpAddress
IList<String>

有效路由的下一跃点的 IP 地址。

nextHopType
String

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

适用于