Compartilhar via


P2sVpnGatewaysOperationsExtensions.ResetAsync Método

Definição

Redefine o primário do gateway de vpn p2s no grupo de recursos especificado.

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

Parâmetros

operations
IP2sVpnGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos do P2SVpnGateway.

gatewayName
String

O nome do gateway.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a