Aracılığıyla paylaş


VirtualNetworkGatewaysOperationsExtensions.BeginDisconnectVirtualNetworkGatewayVpnConnectionsAsync Method

Definition

Disconnect vpn connections of virtual network gateway in the specified resource group.

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

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayName
String

The name of the virtual network gateway.

request
P2SVpnConnectionRequest

The parameters are supplied to disconnect vpn connections.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to