共用方式為


IGatewayOperations.GetGatewayConnectionAsync Method

Definition

The Get Virtual Network Gateway Connection operation gets information about the virtual network gateway connection.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayConnectionGetResponse> GetGatewayConnectionAsync (string gatewayId, string connectedentityId, System.Threading.CancellationToken cancellationToken);
abstract member GetGatewayConnectionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayConnectionGetResponse>
Public Function GetGatewayConnectionAsync (gatewayId As String, connectedentityId As String, cancellationToken As CancellationToken) As Task(Of GatewayConnectionGetResponse)

Parameters

gatewayId
String

The virtual network gateway id.

connectedentityId
String

The virtual network gateway connected entity Id.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response including an HTTP status code and request ID.

Applies to