共用方式為


IGatewayOperations.CreateLocalNetworkGatewayAsync Method

Definition

The Create Local network Gateway operation creates a new local network gateway.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.LocalNetworkGatewayCreateResponse> CreateLocalNetworkGatewayAsync (Microsoft.WindowsAzure.Management.Network.Models.LocalNetworkGatewayCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateLocalNetworkGatewayAsync : Microsoft.WindowsAzure.Management.Network.Models.LocalNetworkGatewayCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.LocalNetworkGatewayCreateResponse>
Public Function CreateLocalNetworkGatewayAsync (parameters As LocalNetworkGatewayCreateParameters, cancellationToken As CancellationToken) As Task(Of LocalNetworkGatewayCreateResponse)

Parameters

parameters
LocalNetworkGatewayCreateParameters

Parameters supplied to Create Local Network Gateway operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Create Local Network Gateway operation response.

Applies to