File: datastores.inc

package info (click to toggle)
openstack-trove 1%3A6.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,412 kB
  • ctags: 13,061
  • sloc: python: 77,471; sh: 496; makefile: 52
file content (143 lines) | stat: -rw-r--r-- 2,267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.. -*- rst -*-

========================
Data stores (datastores)
========================

Lists data store versions, lists parameters for data stores, and
shows parameter details for a data store version.


Show configuration parameter details
====================================

.. rest_method::  GET /v1.0/{accountId}/datastores/versions/{datastore_version_id}/parameters/{parameter_name}

Displays details for a configuration parameter associated with a data store version.

Details include the type, minimum and maximum values, and whether
you must restart the instance after you change the parameter value.


Normal response codes: 200
Error response codes:413,405,404,403,401,400,422,503,500,501,


Request
-------

.. rest_parameters:: parameters.yaml

   - parameter_name: parameter_name
   - datastore_version_id: datastore_version_id
   - accountId: accountId




Response Example
----------------

.. literalinclude:: samples/db-show-parameter-details.json
   :language: javascript














List datastore versions
=======================

.. rest_method::  GET /v1.0/{accountId}/datastores/{datastore_name}/versions

Lists the available versions of a data store.


Normal response codes: 200
Error response codes:413,405,404,403,401,400,422,503,500,501,


Request
-------

.. rest_parameters:: parameters.yaml

   - datastore_name: datastore_name
   - accountId: accountId




Response Example
----------------

.. literalinclude:: samples/db-list-datastore-versions.json
   :language: javascript














List configuration parameters
=============================

.. rest_method::  GET /v1.0/{accountId}/datastores/versions/{datastore_version_id}/parameters

Lists the available configuration parameters for a data store version.

Parameter information includes the type, minimum and maximum
values, and whether you must restart the instance after you change
a parameter value.


Normal response codes: 200
Error response codes:413,405,404,403,401,400,422,503,500,501,


Request
-------

.. rest_parameters:: parameters.yaml

   - datastore_version_id: datastore_version_id
   - accountId: accountId




Response Example
----------------

.. literalinclude:: samples/db-list-parameters-response.json
   :language: javascript