Dela via


HubRoute Constructors

Definition

Overloads

HubRoute()

Initializes a new instance of the HubRoute class.

HubRoute(String, String, IList<String>, String, String)

Initializes a new instance of the HubRoute class.

HubRoute()

Initializes a new instance of the HubRoute class.

public HubRoute ();
Public Sub New ()

Applies to

HubRoute(String, String, IList<String>, String, String)

Initializes a new instance of the HubRoute class.

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

Parameters

name
String

The name of the Route that is unique within a RouteTable. This name can be used to access this route.

destinationType
String

The type of destinations (eg: CIDR, ResourceId, Service).

destinations
IList<String>

List of all destinations.

nextHopType
String

The type of next hop (eg: ResourceId).

nextHop
String

NextHop resource ID.

Applies to