doc-exports/docs/ecs/api-ref/en-us_topic_0067600284.html
Goncharov, Artem e804cc1855 ecs api-ref update from https://github.com/opentelekomcloud-docs/doc-exports/pull/13/
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-committed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
2022-08-17 15:16:30 +00:00

6.8 KiB

Managing Automatic Recovery of an ECS (Discarded)

Function

This API is used to configure or delete automatic recovery of an ECS.

URI

PUT /v1/{project_id}/cloudservers/{server_id}/autorecovery

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

server_id

Yes

Specifies the ECS ID.

Request

Table 2 describes the request parameters.

Table 2 Request parameters

Parameter

Mandatory

Type

Description

support_auto_recovery

Yes

String

Configures or deletes automatic recovery of an ECS.

  • true: indicates configuring automatic recovery for an ECS.
  • false: indicates deleting automatic recovery of an ECS.

Response

None

Example Request

PUT https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/autorecovery
{
    "support_auto_recovery": "true"
}

Example Response

None

Error Codes

See Error Codes.