Udostępnij za pośrednictwem


ArmNetworkModelFactory.VirtualHubEffectiveRoute Method

Definition

Initializes a new instance of VirtualHubEffectiveRoute.

public static Azure.ResourceManager.Network.Models.VirtualHubEffectiveRoute VirtualHubEffectiveRoute (System.Collections.Generic.IEnumerable<string> addressPrefixes = default, System.Collections.Generic.IEnumerable<string> nextHops = default, string nextHopType = default, string asPath = default, string routeOrigin = default);
static member VirtualHubEffectiveRoute : seq<string> * seq<string> * string * string * string -> Azure.ResourceManager.Network.Models.VirtualHubEffectiveRoute
Public Shared Function VirtualHubEffectiveRoute (Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional nextHops As IEnumerable(Of String) = Nothing, Optional nextHopType As String = Nothing, Optional asPath As String = Nothing, Optional routeOrigin As String = Nothing) As VirtualHubEffectiveRoute

Parameters

addressPrefixes
IEnumerable<String>

The list of address prefixes.

nextHops
IEnumerable<String>

The list of next hops.

nextHopType
String

The type of the next hop.

asPath
String

The ASPath of this route.

routeOrigin
String

The origin of this route.

Returns

A new VirtualHubEffectiveRoute instance for mocking.

Applies to