Obtaining a Parameter Template List
Function
This API is used to obtain a parameter template list, including all of the databases' default and custom parameter templates.
Constraints
This API supports the following DB instances:
- GaussDB(for Cassandra)
- GaussDB(for Mongo) cluster 3.4 and replica set 4.0
- GaussDB(for Influx)
URI
Requests
Responses
- Parameter description
Table 2 Parameter description Name
Type
Description
count
Integer
Indicates the total number of records.
configurations
Array of objects
Indicates the parameter template list.
For details, see Table 3.
Table 3 configuration field data structure description Name
Type
Description
id
String
Indicates the parameter template ID.
name
String
Indicates the parameter template name.
description
String
Indicates the parameter template description.
datastore_version_name
String
Indicates the database version name.
datastore_name
String
Indicates the database name.
created
String
Indicates the creation time in the following format: yyyy-MM-ddTHH:mm:ssZ.
T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. For example, in the Beijing time zone, the time zone offset is shown as +0800.
updated
String
Indicates the update time in the following format: yyyy-MM-ddTHH:mm:ssZ.
T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. For example, in the Beijing time zone, the time zone offset is shown as +0800.
user_defined
Boolean
Indicates whether the parameter template is created by users.
- false: The parameter template is a default parameter template.
- true: The parameter template is a custom template.
- Response example
{ "count": 2, "configurations": [{ "id": "887ea0d1bb0843c49e8d8e5a09a95652pr06", "name": "configuration_test", "description": "configuration_test", "datastore_version_name": "3.11", "datastore_name": "cassandra", "created": "2019-05-15T11:53:34+0000", "updated": "2019-05-15T11:53:34+0000", "user_defined": true }, { "id": "3bc1e9cc0d34404b9225ed7a58fb284epr06", "name": "Default-Cassandra-3.11", "description": "Default parameter group for cassandra 3.11", "datastore_version_name": "3.11", "datastore_name": "cassandra", "created": "2020-03-21T03:38:51+0000", "updated": "2019-03-21T03:38:51+0000", "user_defined": false } ] }
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Last Article: Parameter Template Management
Next Article: Creating a Parameter Template
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.