Sdílet prostřednictvím


VirtualHubsOperationsExtensions.BeginGetOutboundRoutesAsync Method

Definition

Gets the outbound routes configured for the Virtual Hub on a particular connection.

public static System.Threading.Tasks.Task BeginGetOutboundRoutesAsync (this Microsoft.Azure.Management.Network.IVirtualHubsOperations operations, string resourceGroupName, string virtualHubName, Microsoft.Azure.Management.Network.Models.GetOutboundRoutesParameters getOutboundRoutesParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginGetOutboundRoutesAsync : Microsoft.Azure.Management.Network.IVirtualHubsOperations * string * string * Microsoft.Azure.Management.Network.Models.GetOutboundRoutesParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginGetOutboundRoutesAsync (operations As IVirtualHubsOperations, resourceGroupName As String, virtualHubName As String, getOutboundRoutesParameters As GetOutboundRoutesParameters, 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.

getOutboundRoutesParameters
GetOutboundRoutesParameters

Parameters supplied to get the outbound routes for a connection resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to