Share via


RoutingPolicy Constructors

Definition

Overloads

RoutingPolicy()

Initializes a new instance of the RoutingPolicy class.

RoutingPolicy(String, IList<String>, String)

Initializes a new instance of the RoutingPolicy class.

RoutingPolicy()

Initializes a new instance of the RoutingPolicy class.

public RoutingPolicy ();
Public Sub New ()

Applies to

RoutingPolicy(String, IList<String>, String)

Initializes a new instance of the RoutingPolicy class.

public RoutingPolicy (string name, System.Collections.Generic.IList<string> destinations, string nextHop);
new Microsoft.Azure.Management.Network.Models.RoutingPolicy : string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Network.Models.RoutingPolicy
Public Sub New (name As String, destinations As IList(Of String), nextHop As String)

Parameters

name
String

The unique name for the routing policy.

destinations
IList<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.

Applies to