共用方式為


GatewayOperationsExtensions.GetVirtualNetworkGatewayAsync Method

Definition

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

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

Parameters

operations
IGatewayOperations

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

gatewayId
String

Required. The virtual network gateway id.

Returns

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

Applies to