Udostępnij za pośrednictwem


GatewayOperationsExtensions.GetGatewayConnectionAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayConnectionGetResponse> GetGatewayConnectionAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId);
static member GetGatewayConnectionAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayConnectionGetResponse>
<Extension()>
Public Function GetGatewayConnectionAsync (operations As IGatewayOperations, gatewayId As String, connectedentityId As String) As Task(Of GatewayConnectionGetResponse)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

gatewayId
String

Required. The virtual network gateway id.

connectedentityId
String

Required. The virtual network gateway connected entity Id.

Returns

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

Applies to