ArmNetworkModelFactory.RoutingPolicy 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.RoutingPolicy RoutingPolicy(string name = default, System.Collections.Generic.IEnumerable<string> destinations = default, string nextHop = default);
static member RoutingPolicy : string * seq<string> * string -> Azure.ResourceManager.Network.Models.RoutingPolicy
Public Shared Function RoutingPolicy (Optional name As String = Nothing, Optional destinations As IEnumerable(Of String) = Nothing, Optional nextHop As String = Nothing) As RoutingPolicy
Parameters
- name
- String
The unique name for the routing policy.
- destinations
- IEnumerable<String>
List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).
- nextHop
- String
The next hop resource id on which this routing policy is applicable to.
Returns
A new RoutingPolicy instance for mocking.