ArmNetworkModelFactory.HubRoute Method

Definition

public static Azure.ResourceManager.Network.Models.HubRoute HubRoute(string name = default, string destinationType = default, System.Collections.Generic.IEnumerable<string> destinations = default, string nextHopType = default, string nextHop = default);
static member HubRoute : string * string * seq<string> * string * string -> Azure.ResourceManager.Network.Models.HubRoute
Public Shared Function HubRoute (Optional name As String = Nothing, Optional destinationType As String = Nothing, Optional destinations As IEnumerable(Of String) = Nothing, Optional nextHopType As String = Nothing, Optional nextHop As String = Nothing) As HubRoute

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
IEnumerable<String>

List of all destinations.

nextHopType
String

The type of next hop (eg: ResourceId).

nextHop
String

NextHop resource ID.

Returns

A new HubRoute instance for mocking.

Applies to