共用方式為


IGatewayOperations.GetLocalNetworkGatewayAsync Method

Definition

The Get Local Network Gateway operation gets information about the local network gateway

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

Parameters

gatewayId
String

The local network gateway id.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to