Compartilhar via


VirtualNetworkGatewaysOperationsExtensions.DisconnectVirtualNetworkGatewayVpnConnectionsAsync Método

Definição

Desconecte as conexões vpn do gateway de rede virtual no grupo de recursos especificado.

public static System.Threading.Tasks.Task DisconnectVirtualNetworkGatewayVpnConnectionsAsync (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 DisconnectVirtualNetworkGatewayVpnConnectionsAsync : Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations * string * string * Microsoft.Azure.Management.Network.Models.P2SVpnConnectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisconnectVirtualNetworkGatewayVpnConnectionsAsync (operations As IVirtualNetworkGatewaysOperations, resourceGroupName As String, virtualNetworkGatewayName As String, request As P2SVpnConnectionRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IVirtualNetworkGatewaysOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayName
String

O nome do gateway de rede virtual.

request
P2SVpnConnectionRequest

Os parâmetros são fornecidos para desconectar conexões vpn.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a