Freigeben über


P2sVpnGatewaysOperationsExtensions.DisconnectP2sVpnConnectionsAsync Methode

Definition

Trennen Sie P2S-VPN-Verbindungen des virtual wan P2SVpnGateway in der angegebenen Ressourcengruppe.

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

Parameter

operations
IP2sVpnGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

p2sVpnGatewayName
String

Der Name des P2S-VPN-Gateways.

request
P2SVpnConnectionRequest

Die Parameter werden angegeben, um p2s-VPN-Verbindungen zu trennen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: