你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EffectiveRoute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
用户定义的路由的名称。 此为可选项。
- source
- String
路由的创建者。 可能的值包括:“Unknown”、“User”、“VirtualNetworkGateway”、“Default”
- state
- String
有效路由的值。 可能的值包括:“Active”、“Invalid”
- nextHopType
- String
数据包应发送到的 Azure 跃点的类型。 可能的值包括:“VirtualNetworkGateway”、“VnetLocal”、“Internet”、“VirtualAppliance”、“None”