This API is used to obtain the parameter template list, including default parameter templates of all databases and those created by users.
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
Name |
Type |
Description |
---|---|---|
configurations |
Array of objects |
Indicates the parameter template list. For details, see Table 3. |
Name |
Type |
Description |
---|---|---|
id |
String |
Specifies 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. |
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. |
user_defined |
Boolean |
Specifies whether the parameter template is created by users.
|
{ "configurations": [{ "id": "887ea0d1bb0843c49e8d8e5a09a95652pr01", "name": "configuration_test", "description": "configuration_test", "datastore_version_name": "5.6", "datastore_name": "mysql", "created": "2019-05-15T11:53:34+0000", "updated": "2019-05-15T11:53:34+0000", "user_defined": true }, { "id": "3bc1e9cc0d34404b9225ed7a58fb284epr01", "name": "Default-MySQL-5.7", "description": "Default parameter group for MySQL 5.7", "datastore_version_name": "5.7", "datastore_name": "mysql", "created": "2019-05-27T03:38:51+0000", "updated": "2019-05-27T03:38:51+0000", "user_defined": false } ] }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.