VpnGatewaysOperationsExtensions.CreateOrUpdate Method

Definition

Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.

public static Microsoft.Azure.Management.Network.Models.VpnGateway CreateOrUpdate (this Microsoft.Azure.Management.Network.IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName, Microsoft.Azure.Management.Network.Models.VpnGateway vpnGatewayParameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.VpnGateway -> Microsoft.Azure.Management.Network.Models.VpnGateway
<Extension()>
Public Function CreateOrUpdate (operations As IVpnGatewaysOperations, resourceGroupName As String, gatewayName As String, vpnGatewayParameters As VpnGateway) As VpnGateway

Parameters

operations
IVpnGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnGateway.

gatewayName
String

The name of the gateway.

vpnGatewayParameters
VpnGateway

Parameters supplied to create or Update a virtual wan vpn gateway.

Returns

Applies to