2016-09-17 01:12:40 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
2017-12-10 09:23:18 -08:00
|
|
|
Consistency group snapshots (DEPRECATED)
|
|
|
|
========================================
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Lists all, lists all with details, shows details for, creates, and
|
|
|
|
deletes consistency group snapshots.
|
|
|
|
|
|
|
|
|
|
|
|
Delete a consistency group snapshot
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: DELETE /v3/{project_id}/cgsnapshots/{cgsnapshot_id}
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Deletes a consistency group snapshot.
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2018-03-01 09:11:44 -06:00
|
|
|
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 202
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2018-10-30 11:03:09 +05:30
|
|
|
- cgsnapshot_id: cgsnapshot_id_path
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Show consistency group snapshot detail
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: GET /v3/{project_id}/cgsnapshots/{cgsnapshot_id}
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Shows details for a consistency group snapshot.
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 200
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2018-10-30 11:03:09 +05:30
|
|
|
- cgsnapshot_id: cgsnapshot_id_path
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
- cgsnapshot: cgsnapshot
|
2016-09-17 01:12:40 -04:00
|
|
|
- status: status
|
2017-12-26 14:53:45 +08:00
|
|
|
- description: description_cg_snapshot_true
|
2016-09-17 01:12:40 -04:00
|
|
|
- created_at: created_at
|
2018-10-30 11:03:09 +05:30
|
|
|
- consistencygroup_id: consistencygroup_id_required
|
2016-09-17 01:12:40 -04:00
|
|
|
- id: id
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_cgsnap
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/cgsnapshots-show-response.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
|
|
|
|
List all consistency group snapshots with details
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: GET /v3/{project_id}/cgsnapshots/detail
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Lists all consistency group snapshots with details.
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2018-03-01 09:11:44 -06:00
|
|
|
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
- 200
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2018-01-18 15:06:15 +08:00
|
|
|
- all_tenants: all-tenants
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
- cgsnapshots: cgsnapshots
|
2016-09-17 01:12:40 -04:00
|
|
|
- status: status
|
2017-12-26 14:53:45 +08:00
|
|
|
- description: description_cg_snapshot_true
|
2016-09-17 01:12:40 -04:00
|
|
|
- created_at: created_at
|
2018-10-30 11:03:09 +05:30
|
|
|
- consistencygroup_id: consistencygroup_id_required
|
2016-09-17 01:12:40 -04:00
|
|
|
- id: id
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_cgsnap
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/cgsnapshots-list-detailed-response.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
List all consistency group snapshots
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: GET /v3/{project_id}/cgsnapshots
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Lists all consistency group snapshots.
|
|
|
|
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2018-03-01 09:11:44 -06:00
|
|
|
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 200
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2018-01-18 15:06:15 +08:00
|
|
|
- all_tenants: all-tenants
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
- cgsnapshots: cgsnapshots
|
2016-09-17 01:12:40 -04:00
|
|
|
- id: id
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_cgsnap
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/cgsnapshots-list-response.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a consistency group snapshot
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: POST /v3/{project_id}/cgsnapshots
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Creates a consistency group snapshot.
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2018-03-01 09:11:44 -06:00
|
|
|
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 202
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2017-08-29 16:07:03 -05:00
|
|
|
- cgsnapshot: cgsnapshot
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_snap
|
|
|
|
- consistencygroup_id: consistencygroup_id_required
|
2017-12-26 14:53:45 +08:00
|
|
|
- description: description_cg_snapshot_false
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Request Example
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/cgsnapshots-create-request.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- status: status
|
2017-12-26 14:53:45 +08:00
|
|
|
- description: description_cg_snapshot_true
|
2016-09-17 01:12:40 -04:00
|
|
|
- created_at: created_at
|
2018-10-30 11:03:09 +05:30
|
|
|
- consistencygroup_id: consistencygroup_id_required
|
2016-09-17 01:12:40 -04:00
|
|
|
- id: id
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_cgsnap
|