VpnGatewaysOperationsExtensions.CreateOrUpdate(IVpnGatewaysOperations, String, String, VpnGateway) VpnGatewaysOperationsExtensions.CreateOrUpdate(IVpnGatewaysOperations, String, String, VpnGateway) VpnGatewaysOperationsExtensions.CreateOrUpdate(IVpnGatewaysOperations, String, String, VpnGateway) 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 IVpnGatewaysOperations IVpnGatewaysOperations

The operations group for this extension method.

resourceGroupName
String String String

The resource group name of the VpnGateway.

gatewayName
String String String

The name of the gateway.

vpnGatewayParameters
VpnGateway VpnGateway VpnGateway

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

Returns

Applies to