Restarting DCS Instances or Clearing DCS Instance Data
Function
This API is used to restart a running DCS instance.
Data clearance operations cannot be undone on DCS Redis 4.0 and 5.0 instances.
URI
PUT /v1.0/{project_id}/instances/status
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. |
Request
Request parameters
Example request
- Request URL:
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/status
- Example:
{ "action": "restart", "instances": [ "2e803f66-fbb0-47ad-b6cb-fb87f5bed4ef" ] }
Response
Response parameters
Parameter |
Type |
Description |
---|---|---|
instance |
String |
DCS instance ID. |
result |
String |
Instance modification result. Options: success or failed |
{ "results": [ { "result": "success", "instance": "2e803f66-fbb0-47ad-b6cb-fb87f5bed4ef" } ] }
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