Querying Automatic Recovery of an ECS
Function
This API is used to query automatic recovery configured for an ECS.
URI
GET /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
None
Response
Table 2 describes the response parameters.
Example Request
None
Example Response
GET https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/autorecovery
{
"support_auto_recovery": "true"
}
Returned Values
Error Codes
Last Article: Changing an ECS OS (Using an Image Without Cloud-Init Installed)
Next Article: Managing Automatic Recovery of an ECS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.