The rule
The final inspection happens after the work authorized by the permit is in place. The inspector does whatever checking they consider necessary to be sure the work was installed in line with the intent of the code. The code doesn't give a fixed checklist, so what gets looked at is the inspector's call.
Nothing is covered or concealed until the inspector has inspected and approved it. That applies to the appliance and to any part of it. The vent has its own earlier inspection under Section 503.1, before it's covered.
In practice the inspector walks the pieces that the rest of Chapter 5 and Chapter 6 spell out: the strapping, the relief valve and its discharge pipe, the pan where one is required, combustion air, the vent and the clearances.
On the job
- Leave the heater, vent and valves visible and reachable until the inspection is signed. A box built around the vent or a ceiling closed over a pan drain is a correction notice waiting to happen.
- Walk it yourself first: straps in place, T&P discharge pipe ending where it can be seen, pan drain visible, vent connected and sloped, gas and water connections checked for leaks.
- Keep the manufacturer's instructions on site. The inspector measures your install against them as well as the code.
The inspector and your city's adopted edition have the final word.