You can modify the configuration parameters of your DCS instance to optimize DCS performance based on your requirements.
PUT /v1.0/{project_id}/instances/{instance_id}/configs
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Project ID. For details on how to obtain the value of this parameter, see Obtaining a Project ID. |
instance_id |
String |
Yes |
ID of the instance to be modified. |
Request parameters
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
param_id |
String |
Yes |
Configuration item ID. |
param_name |
String |
Yes |
Configuration item name. |
param_value |
String |
Yes |
Value of the configuration item. |
For possible values of parameters in Table 3, see Table 4.
Example request
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/configs
{ "redis_config": [ { "param_id": "1", "param_name": "timeout", "param_value": "100" } ] }
Response parameters
None
Example response
None