Merge "Remove doc for promote/reenable replica"
This commit is contained in:
commit
345cbf8b00
@ -1037,18 +1037,6 @@ os-force_detach:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
os-promote-replica:
|
||||
description: |
|
||||
The ``os-promote-replica`` action.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
os-reenable-replica:
|
||||
description: |
|
||||
The ``os-reenable-replica`` action.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
os-reset_status:
|
||||
description: |
|
||||
The ``os-reset_status`` action.
|
||||
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"os-promote-replica": {}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
{
|
||||
"os-reenable-replica": {}
|
||||
}
|
@ -267,67 +267,3 @@ Request Example
|
||||
|
||||
|
||||
|
||||
Promote replicated volume
|
||||
=========================
|
||||
|
||||
.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
|
||||
|
||||
Promotes a replicated volume. Specify the ``os-promote-replica`` action in the request body.
|
||||
|
||||
Error response codes:202,
|
||||
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- os-promote-replica: os-promote-replica
|
||||
- tenant_id: tenant_id
|
||||
- volume_id: volume_id
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
|
||||
.. literalinclude:: ./samples/volume-replica-promote-request.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reenable volume replication
|
||||
===========================
|
||||
|
||||
.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
|
||||
|
||||
Re-enables replication of a volume. Specify the ``volume-replica-reenable`` action in the request body.
|
||||
|
||||
Error response codes:202,
|
||||
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- os-reenable-replica: os-reenable-replica
|
||||
- size: size
|
||||
- os-volume-replication:driver_data: os-volume-replication:driver_data
|
||||
- os-volume-replication:extended_status: os-volume-replication:extended_status
|
||||
- tenant_id: tenant_id
|
||||
- volume_id: volume_id
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
|
||||
.. literalinclude:: ./samples/volume-replica-reenable-request.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user