Modifying Configuration Parameters
Function
You can modify the configuration parameters of your DCS instance to optimize DCS performance based on your requirements.
URI
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
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
- Request URL:
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/configs
- Example:
{ "redis_config": [ { "param_id": "1", "param_name": "timeout", "param_value": "100" } ] }
Response
Response parameters
None
Example response
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot