Udostępnij za pośrednictwem


VirtualNetworkGatewayResource.SetVpnclientIPsecParameters Method

Definition

The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters
  • Operation Id: VirtualNetworkGateways_SetVpnclientIPsecParameters
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnClientIPsecParameters> SetVpnclientIPsecParameters (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VpnClientIPsecParameters vpnclientIPsecParams, System.Threading.CancellationToken cancellationToken = default);
abstract member SetVpnclientIPsecParameters : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnClientIPsecParameters * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnClientIPsecParameters>
override this.SetVpnclientIPsecParameters : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnClientIPsecParameters * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnClientIPsecParameters>
Public Overridable Function SetVpnclientIPsecParameters (waitUntil As WaitUntil, vpnclientIPsecParams As VpnClientIPsecParameters, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of VpnClientIPsecParameters)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

vpnclientIPsecParams
VpnClientIPsecParameters

Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vpnclientIPsecParams is null.

Applies to