Dela via


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.Fluent.Models.VirtualNetworkGatewayInner> BeginResetAsync (this Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginResetAsync : Microsoft.Azure.Management.Network.Fluent.IVirtualNetworkGatewaysOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayInner>
<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 VirtualNetworkGatewayInner)

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