Welcome to the asylum. Bricks are pretty bullet proof and easy to work on. However they do not like sitting around and problems do result from inactivity. Electrical connectors can corrode resulting in all sorts of weird problems, two part DeoxIT will be one of your best friends. If left sitting in fuel, fuel pumps dampers(mounts) and hoses will degrade. Avoid letting them sit with ethanol based fuel. Air leaks can develop around the throttle bodies and a cracked "Z" hose can cause minor problems. The drive shaft splines can wear rapidly if not maintained. Check for oil leaks, Bricks are pretty leak proof. Oil/water leaks at the front of the engine can point to possible oil/water pump seal. Oil leaks at the weep hole at the engine gearbox join can mean rear main leak or gearbox front seal. All of the above problems are solvable, just requiring the addition of time and money.
I believe it is probably more cost effective to buy one that you can hear running and ride. They should start easily without having to crank the throttle, on a cold day a bit of fast idle (choke) will be needed. It should change up and down gears with a firm foot with no clunks grinding or balking. You need to ask lots of questions about maintenance and see receipts if possible for work done. Ask about shaft maintenance, at what distances was it done, what lubrication was used. Ask about general maintenance and what has had to be done over the period of ownership.
Owning a well maintained Brick can be a joy but owning a badly maintained one can be a pain in the proverbial. They tend to fall into a few categories well cared for and loved, maintained daily riders, unloved hacks, parts bikes and piles of parts that may once have been a bike. The more maintenance you can do the better and cheaper owning a Brick will be. Read as much as you can on assessing Bricks problems. Do not jump in and buy the first bike you see, it pays to wait and do comparisons. The right bike is out there.
Regards Martin.