P2SVpnGatewayResource.DisconnectP2SVpnConnections Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections
- Operation Id: P2sVpnGateways_DisconnectP2SVpnConnections
- Default Api Version: 2024-03-01
- Resource: P2SVpnGatewayResource
public virtual Azure.ResourceManager.ArmOperation DisconnectP2SVpnConnections (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member DisconnectP2SVpnConnections : Azure.WaitUntil * Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.DisconnectP2SVpnConnections : Azure.WaitUntil * Azure.ResourceManager.Network.Models.P2SVpnConnectionRequest * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function DisconnectP2SVpnConnections (waitUntil As WaitUntil, request As P2SVpnConnectionRequest, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation
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.
- request
- P2SVpnConnectionRequest
The parameters are supplied to disconnect p2s vpn connections.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
request
is null.
Applies to
Azure SDK for .NET