2e5a91da72
Rather than our freeform way of listing response codes in our api-ref, we should be using the os-api-ref extension option to get nicely formatted response code listings. https://docs.openstack.org/os-api-ref/latest/usage.html#rest-status-code Change-Id: Iee21f54fe7cf0ea28258966e2d0f8fa2849c83f2
53 lines
1.0 KiB
ReStructuredText
53 lines
1.0 KiB
ReStructuredText
.. -*- rst -*-
|
|
|
|
Back-end storage pools
|
|
======================
|
|
|
|
Administrator only. Lists all back-end storage pools that are known
|
|
to the scheduler service.
|
|
|
|
|
|
List back-end storage pools
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /v2/{project_id}/scheduler-stats/get_pools
|
|
|
|
Lists all back-end storage pools.
|
|
|
|
Response codes
|
|
~~~~~~~~~~~~~~
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
- 200
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- project_id: project_id_path
|
|
- detail: detail
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- updated: updated
|
|
- QoS_support: QoS_support
|
|
- name: name
|
|
- total_capacity: total_capacity
|
|
- volume_backend_name: volume_backend_name
|
|
- capabilities: capabilities
|
|
- free_capacity: free_capacity
|
|
- driver_version: driver_version
|
|
- reserved_percentage: reserved_percentage
|
|
- storage_protocol: storage_protocol
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/pools-list-detailed-response.json
|
|
:language: javascript
|