/// <summary> /// Resets the primary of the vpn gateway in the specified resource group. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name of the VpnGateway. /// </param> /// <param name='gatewayName'> /// The name of the gateway. /// </param> public static VpnGateway Reset(this IVpnGatewaysOperations operations, string resourceGroupName, string gatewayName) { return(operations.ResetAsync(resourceGroupName, gatewayName).GetAwaiter().GetResult()); }