summaryrefslogtreecommitdiff
path: root/api-ref/source/parameters.yaml
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-11-19 17:38:01 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-11-19 19:13:05 +1300
commit19552632f8cc74741aa85deac7384fa7a8e878ab (patch)
tree76d0eed188288c538cf4aa658503a33020867bf8 /api-ref/source/parameters.yaml
parentac0db3aec772e3b89bb8e0d790f6d3a401aa1f7d (diff)
downloadtrove-19552632f8cc74741aa85deac7384fa7a8e878ab.tar.gz
[API Doc] Support datastore version number
Change-Id: Ia38f313a87067f664e11b3f61fb60b6ce584e930 Story: 2008358 Task: 41263
Diffstat (limited to 'api-ref/source/parameters.yaml')
-rwxr-xr-xapi-ref/source/parameters.yaml21
1 files changed, 19 insertions, 2 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 101f15d2..20a0123b 100755
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -74,7 +74,8 @@ user_project:
type: string
version:
description: |
- Name or ID of the datastore version.
+ Name or ID of the datastore version. If there are multiple datastore
+ versions with the same name but different version numbers, ID is needed.
in: path
required: false
type: string
@@ -353,10 +354,18 @@ datastore_version_id1:
type: string
datastore_version_name:
description: |
- The name of the datastore version.
+ The name of the datastore version. Different datastore versions can have
+ the same name.
in: body
required: true
type: string
+datastore_version_name_optional:
+ description: |
+ The name of the datastore version. Different datastore versions can have
+ the same name.
+ in: body
+ required: false
+ type: string
default:
description: |
When true this datastore version is created as the default in the
@@ -910,6 +919,14 @@ values:
in: body
required: true
type: string
+version_number:
+ description: |
+ The version number for the database. In container based trove instance
+ deployment, the version number is the same as the container image tag,
+ e.g. for MySQL, a valid version number is 5.7.30
+ in: body
+ required: false
+ type: string
volume:
description: |
A ``volume`` object.