neutron-lib/api-ref/source/v2/availability_zones.inc
Hongbin Lu 29609c6aa8 api-ref: add availability_zone extension
Depends-On: Id882f949cc73a34290c311f3ce3d69d1b809c29f
Change-Id: Icbf427f20ca912a40d68e8042abeeabffeb3005f
Closes-Bug: #1733362
2018-05-29 22:20:57 +00:00

44 lines
741 B
ReStructuredText

.. -*- rst -*-
==================
Availability Zones
==================
Lists availability zones.
List all availability zones
===========================
.. rest_method:: GET /v2.0/availability_zones
Lists all availability zones.
Normal response codes: 200
Error response codes: 401
Request
-------
.. rest_parameters:: parameters.yaml
- state: state-query
- resource: resource-query
- name: name-query
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- availability_zones: availability_zones-list
- state: state
- resource: resource
- name: name
Response Example
----------------
.. literalinclude:: samples/availability-zones/azs-list-response.json
:language: javascript