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

RouteMapRule 构造函数

定义

重载

RouteMapRule()

初始化 RouteMapRule 类的新实例。

RouteMapRule(String, IList<Criterion>, IList<Action>, String)

初始化 RouteMapRule 类的新实例。

RouteMapRule()

初始化 RouteMapRule 类的新实例。

public RouteMapRule();
Public Sub New ()

适用于

RouteMapRule(String, IList<Criterion>, IList<Action>, String)

初始化 RouteMapRule 类的新实例。

public RouteMapRule(string name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Criterion> matchCriteria = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Action> actions = default, string nextStepIfMatched = default);
new Microsoft.Azure.Management.Network.Models.RouteMapRule : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Criterion> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Action> * string -> Microsoft.Azure.Management.Network.Models.RouteMapRule
Public Sub New (Optional name As String = Nothing, Optional matchCriteria As IList(Of Criterion) = Nothing, Optional actions As IList(Of Action) = Nothing, Optional nextStepIfMatched As String = Nothing)

参数

name
String

规则的唯一名称。

matchCriteria
IList<Criterion>

将应用于流量的匹配条件列表。

actions
IList<Action>

将应用于匹配项的操作列表。

nextStepIfMatched
String

评估规则后的下一步。 当前支持的行为是“继续” (下一个规则) 和“终止”。 可能的值包括:“Unknown”、“Continue”、“Terminate”

适用于