Get domains and organizational units.

This API is overloaded to get domains and OUs in a domain across AD directories with and without cache
API variations (excluding useCache variations)
1. id = null, directoryServiceUuid = null - fetches domains seen by cloud across directory services
2. id = null, directoryServiceUuid != null - fetches domains specified by directory service uuid
3. id != null, directoryServiceUuid = null - failure case
4. id != null, directoryServiceUuid != null - gets ou under domain specified by id using directory service uuid passed in

Language