This API is used to modify parameters in the parameter template of a specified DB instance.
PUT https://{Endpoint}/opengauss/v3/{project_id}/instances/{instance_id}/configurations
https://gaussdb.eu-de.otc.t-systems.com/opengauss/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/configurations
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. |
instance_id |
Yes |
Specifies the DB instance ID. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
values |
Yes |
Map<String,String> |
Specifies the parameter values defined by users based on the default parameter templates. For details, see Table 3. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
key |
Yes |
String |
Specifies the parameter name. For example, for the "failed_login_attempts": "4" parameter, the key is failed_login_attempts. |
value |
Yes |
String |
Specifies the parameter value. For example, for the "failed_login_attempts": "4" parameter, the value is 4. |
{ "values": { "xxx": "10", "yyy": "OFF" } }
Name |
Type |
Description |
---|---|---|
restart_required |
Boolean |
Indicates whether a reboot is required.
|
{ "restart_required": false }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.