Share via


VirtualHubsOperationsExtensions.GetEffectiveVirtualHubRoutesAsync Method

Definition

Gets the effective routes configured for the Virtual Hub resource or the specified resource .

public static System.Threading.Tasks.Task GetEffectiveVirtualHubRoutesAsync (this Microsoft.Azure.Management.Network.IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, Microsoft.Azure.Management.Network.Models.EffectiveRoutesParameters effectiveRoutesParameters = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEffectiveVirtualHubRoutesAsync : Microsoft.Azure.Management.Network.IVirtualHubsOperations * string * string * Microsoft.Azure.Management.Network.Models.EffectiveRoutesParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GetEffectiveVirtualHubRoutesAsync (operations As IVirtualHubsOperations, resourceGroupName As String, virtualHubName As String, Optional effectiveRoutesParameters As EffectiveRoutesParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IVirtualHubsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

effectiveRoutesParameters
EffectiveRoutesParameters

Parameters supplied to get the effective routes for a specific resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to