Udostępnij za pośrednictwem


P2sVpnGatewaysOperationsExtensions.DisconnectP2sVpnConnectionsAsync Method

Definition

Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.

public static System.Threading.Tasks.Task DisconnectP2sVpnConnectionsAsync (this Microsoft.Azure.Management.Network.IP2sVpnGatewaysOperations operations, string resourceGroupName, string p2sVpnGatewayName, Microsoft.Azure.Management.Network.Models.P2SVpnConnectionRequest request, System.Threading.CancellationToken cancellationToken = default);
static member DisconnectP2sVpnConnectionsAsync : Microsoft.Azure.Management.Network.IP2sVpnGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.P2SVpnConnectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisconnectP2sVpnConnectionsAsync (operations As IP2sVpnGatewaysOperations, resourceGroupName As String, p2sVpnGatewayName As String, request As P2SVpnConnectionRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IP2sVpnGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

p2sVpnGatewayName
String

The name of the P2S Vpn Gateway.

request
P2SVpnConnectionRequest

The parameters are supplied to disconnect p2s vpn connections.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to