mogan/api-ref/source/availability_zones.inc
Zhenguo Niu 44ac91540f Add availability zones API
Users should have the ability of listing all availability
zones, so they can specify which az they want the instance
to be built.

Change-Id: Id04f2e0fb64d6e88c4860e695d258239d2349dea
Implements: blueprint availability-zone
2016-11-26 18:05:38 +08:00

33 lines
613 B
ReStructuredText

.. -*- rst -*-
====================
Availability Zones
====================
Lists availability zones.
List Availability Zone information
==================================
.. rest_method:: GET /availability_zones
Lists availability zone information.
Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403)
Response
--------
.. rest_parameters:: parameters.yaml
- availability_zones: availability_zones
|
**Example List availability zone information**
.. literalinclude:: ../../doc/api_samples/availability_zones/availability-zone-list-resp.json
:language: javascript