Megosztás a következőn keresztül:


RoutingPolicy(String, IEnumerable<String>, String) Constructor

Definition

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