Udostępnij za pośrednictwem


HubVirtualNetworkConnectionsOperationsExtensions.GetAsync Method

Definition

Retrieves the details of a HubVirtualNetworkConnection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.HubVirtualNetworkConnectionInner> GetAsync (this Microsoft.Azure.Management.Network.Fluent.IHubVirtualNetworkConnectionsOperations operations, string resourceGroupName, string virtualHubName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.Fluent.IHubVirtualNetworkConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.HubVirtualNetworkConnectionInner>
<Extension()>
Public Function GetAsync (operations As IHubVirtualNetworkConnectionsOperations, resourceGroupName As String, virtualHubName As String, connectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HubVirtualNetworkConnectionInner)

Parameters

operations
IHubVirtualNetworkConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VirtualHub.

virtualHubName
String

The name of the VirtualHub.

connectionName
String

The name of the vpn connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to