Aracılığıyla paylaş


VirtualNetworkGatewaysOperationsExtensions.BeginResetAsync Method

Definition

Resets the primary of the virtual network gateway in the specified resource group.

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

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.

gatewayVip
String

Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to