Udostępnij za pośrednictwem


IGatewayOperations.GetVirtualNetworkGatewayAsync Method

Definition

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

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

Parameters

gatewayId
String

The virtual network gateway id.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to