Udostępnij za pośrednictwem


VirtualNetworkGatewayConnectionsOperationsExtensions.GetAsync Method

Definition

Gets the specified virtual network gateway connection by resource group.

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

Parameters

operations
IVirtualNetworkGatewayConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
String

The name of the virtual network gateway connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to