Get AZs via API

Hi. How do I pull ‘availability zones’ for a given OpenStack cloud via the API?

There is an option source endpoint that returns this list. It requires passing the cloud (zoneId) and resource pool (resourcePoolId) as query string parameters. eg. GET $serverUrl/api/options/openStack/openstackAvailabilityZone?zoneId=$zoneId&resourcePoolId=$resourcePoolId

1 Like