ArmNetworkModelFactory.RouteMapRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.RouteMapRule RouteMapRule(string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.RouteCriterion> matchCriteria = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.RouteMapAction> actions = default, Azure.ResourceManager.Network.Models.RouteMapNextStepBehavior? nextStepIfMatched = default);
static member RouteMapRule : string * seq<Azure.ResourceManager.Network.Models.RouteCriterion> * seq<Azure.ResourceManager.Network.Models.RouteMapAction> * Nullable<Azure.ResourceManager.Network.Models.RouteMapNextStepBehavior> -> Azure.ResourceManager.Network.Models.RouteMapRule
Public Shared Function RouteMapRule (Optional name As String = Nothing, Optional matchCriteria As IEnumerable(Of RouteCriterion) = Nothing, Optional actions As IEnumerable(Of RouteMapAction) = Nothing, Optional nextStepIfMatched As Nullable(Of RouteMapNextStepBehavior) = Nothing) As RouteMapRule
Parameters
- name
- String
The unique name for the rule.
- matchCriteria
- IEnumerable<RouteCriterion>
List of matching criterion which will be applied to traffic.
- actions
- IEnumerable<RouteMapAction>
List of actions which will be applied on a match.
- nextStepIfMatched
- Nullable<RouteMapNextStepBehavior>
Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'.
Returns
A new RouteMapRule instance for mocking.