Managing Automatic Recovery of an ECS
Function
This API is used to configure or delete automatic recovery of an ECS.
URI
PUT /v1/{project_id}/cloudservers/{server_id}/autorecovery
|
Parameter |
Mandatory |
Description |
|---|---|---|
|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
|
server_id |
Yes |
Specifies the ECS ID. |
Request
Table 2 describes the request parameters.
Response
None
Example Request
PUT https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/autorecovery
{
"support_auto_recovery": "true"
}
Example Response
None
Returned Values
Error Codes
Last Article: Querying Automatic Recovery of an ECS
Next Article: Cold Migrating an ECS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.