diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-19 17:38:01 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-19 19:13:05 +1300 |
commit | 19552632f8cc74741aa85deac7384fa7a8e878ab (patch) | |
tree | 76d0eed188288c538cf4aa658503a33020867bf8 /api-ref/source/datastore-versions.inc | |
parent | ac0db3aec772e3b89bb8e0d790f6d3a401aa1f7d (diff) | |
download | trove-19552632f8cc74741aa85deac7384fa7a8e878ab.tar.gz |
[API Doc] Support datastore version number
Change-Id: Ia38f313a87067f664e11b3f61fb60b6ce584e930
Story: 2008358
Task: 41263
Diffstat (limited to 'api-ref/source/datastore-versions.inc')
-rw-r--r-- | api-ref/source/datastore-versions.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/api-ref/source/datastore-versions.inc b/api-ref/source/datastore-versions.inc index c431b1b2..1f0daf78 100644 --- a/api-ref/source/datastore-versions.inc +++ b/api-ref/source/datastore-versions.inc @@ -275,8 +275,11 @@ Create datastore version .. rest_method:: POST /v1.0/{project_id}/mgmt/datastore-versions -Admin only API. Register a datastore version, create the datastore if doesn't -exist. +Admin only API. Register a datastore version, the datastore is created +automatically if doesn't exist. + +It's allowed to create datastore versions with the same name but different +version numbers, or vice versa. Normal response codes: 202 @@ -293,6 +296,7 @@ Request - image_tags: image_tags - active: active - default: default + - version: version_number Request Example --------------- @@ -361,6 +365,8 @@ Update datastore version details Admin only API. Update a specific datastore version. +The version number is not allowed to update. + Normal response codes: 202 Request @@ -370,6 +376,7 @@ Request - project_id: project_id - datastore_version_id: datastore_version_id + - name: datastore_version_name_optional - datastore_manager: datastore_type - image: image_id - image_tags: image_tags |