Dela via


P2SVpnGatewayResource.Reset(WaitUntil, CancellationToken) Method

Definition

Resets the primary of the p2s vpn gateway in the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset
  • Operation Id: P2SVpnGateways_Reset
  • Default Api Version: 2023-09-01
  • Resource: P2SVpnGatewayResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource> Reset (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member Reset : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource>
override this.Reset : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.P2SVpnGatewayResource>
Public Overridable Function Reset (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of P2SVpnGatewayResource)

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to