Merge "[api-ref] Add request examples for share replica APIs"

This commit is contained in:
Zuul 2022-03-10 14:10:29 +00:00 committed by Gerrit Code Review
commit b6b1f41664
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
"promote": null
}

View File

@ -0,0 +1,3 @@
{
"resync": null
}

View File

@ -155,6 +155,12 @@ Request
- project_id: project_id_path
- share_replica_id: share_replica_id_path
Request example
---------------
.. literalinclude:: samples/share-replica-promote-request.json
:language: javascript
Resync share replica
====================
@ -188,6 +194,13 @@ Request
- share_replica_id: share_replica_id_path
Request example
---------------
.. literalinclude:: samples/share-replica-resync-request.json
:language: javascript
List share replicas
===================