LocalNetworkGatewaysOperations.StartCreateOrUpdate(String, String, LocalNetworkGateway, CancellationToken) Method

Definition

Creates or updates a local network gateway in the specified resource group.

public virtual Azure.ResourceManager.Network.LocalNetworkGatewaysCreateOrUpdateOperation StartCreateOrUpdate (string resourceGroupName, string localNetworkGatewayName, Azure.ResourceManager.Network.Models.LocalNetworkGateway parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member StartCreateOrUpdate : string * string * Azure.ResourceManager.Network.Models.LocalNetworkGateway * System.Threading.CancellationToken -> Azure.ResourceManager.Network.LocalNetworkGatewaysCreateOrUpdateOperation
override this.StartCreateOrUpdate : string * string * Azure.ResourceManager.Network.Models.LocalNetworkGateway * System.Threading.CancellationToken -> Azure.ResourceManager.Network.LocalNetworkGatewaysCreateOrUpdateOperation
Public Overridable Function StartCreateOrUpdate (resourceGroupName As String, localNetworkGatewayName As String, parameters As LocalNetworkGateway, Optional cancellationToken As CancellationToken = Nothing) As LocalNetworkGatewaysCreateOrUpdateOperation

Parameters

resourceGroupName
System.String

The name of the resource group.

localNetworkGatewayName
System.String

The name of the local network gateway.

parameters
LocalNetworkGateway

Parameters supplied to the create or update local network gateway operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

LocalNetworkGatewaysCreateOrUpdateOperation

Exceptions

System.ArgumentNullException

resourceGroupName, localNetworkGatewayName, or parameters is null.

Applies to