This API is used to modify parameters in the parameter template of a specified DB instance. Before calling this API:
The values of the modified parameters must be within the default value range of the specified database version.
PUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/configurations
https://gaussdb.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/configurations
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
instance_id |
Yes |
DB instance ID. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
values |
Yes |
Map<String,String> |
Parameter values defined by users based on the default parameter templates. Example: For failed_login_attempts: 4, failed_login_attempts indicates the parameter name, and 4 indicated the changed parameter value. |
{ "values": { "failed_login_attempts": "4" } }
{ "values": { "track_activity_query_size": "2048", "max_replication_slots": "30" } }
Name |
Type |
Description |
---|---|---|
restart_required |
Boolean |
Whether a reboot is required.
|
{ "restart_required": false }
{ "restart_required": true }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.