There are all sorts of rules contained in the CSA standard "C282-05 - Emergency Electrical Power Supply for bUildings." This standard is referenced in the Z32 rule 1.4.1.

How a generator is to be installed is detailed in both the Z32 and the C282 with the Z32 having precedence over the C282 code.

And... self contained in what way? Location? Fuel supply?

Go look at C282 rules... 6.2, 7.3 and 7.4