RoutingPolicy(String, IEnumerable<String>, String) Constructor
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.
Initializes a new instance of RoutingPolicy.
public RoutingPolicy (string name, System.Collections.Generic.IEnumerable<string> destinations, string nextHop);
new Azure.ResourceManager.Network.Models.RoutingPolicy : string * seq<string> * string -> Azure.ResourceManager.Network.Models.RoutingPolicy
Public Sub New (name As String, destinations As IEnumerable(Of String), nextHop As String)
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.
Exceptions
name
, destinations
or nextHop
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET