IGatewayOperations.CreateLocalNetworkGatewayAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.