Share via


VirtualNetworkGatewaysOperationsExtensions.ResetAsync 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> ResetAsync(this Microsoft.Azure.Management.Network.IVirtualNetworkGatewaysOperations operations, string resourceGroupName, string virtualNetworkGatewayName, string gatewayVip = default, System.Threading.CancellationToken cancellationToken = default);

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

Product Versions
Azure SDK for .NET Latest