set director ip X.X.X.Xset discovery-agent enable
set provisioning-tag zonename
If AP is running on 100.x version, you should first give the "get director ip " command so that AP will upgrade its firmware to vSZ's and then give the set scg ip command which will make the AP to join the vSZ.
set director ip X.X.X.X