This API is used to obtain a parameter template list, including all databases' default and custom parameter templates.
GET https://{Endpoint}/mysql/v3/0483b6b16e954cb88930a360d2c4e663/configurations
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
None.
Name |
Type |
Description |
---|---|---|
configurations |
Array of objects |
Parameter template list. For details, see Table 3. |
total_count |
Integer |
Total number of parameter templates. |
Name |
Type |
Description |
---|---|---|
id |
String |
Parameter template ID. |
name |
String |
Parameter template name. |
description |
String |
Parameter template description. |
datastore_version_name |
String |
DB version name. |
datastore_name |
String |
DB name. |
created |
String |
Creation time in the "yyyy-MM-ddTHH:mm:ssZ" format. T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. |
updated |
String |
Update time in the "yyyy-MM-ddTHH:mm:ssZ" format. T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. |
user_defined |
Boolean |
Whether the parameter template is a custom template.
|
{ "configurations":[ { "id":"1ad028f5f6b8482483948860feb33339pr07", "name":"DBS_GaussDB_ParameterTemple_Apply_001", "description":"GaussDB-Test", "datastore_version_name":"8.0", "datastore_name":"gaussdb-mysql", "created":"2020-04-08 07:12:17", "updated":"2020-04-08 07:12:17", "user_defined":true, } ] }
For details, see Status Codes.
For details, see Error Codes.