• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. OpenStack Nova APIs
  5. Flavor Management
  6. Rolling Back ECS Specifications Modification

Rolling Back ECS Specifications Modification

Function Description

This interface is used to roll back the specifications modification of an ECS.

Constraints

After the rollback, the data modified during migration will be lost.

An ECS must be in resized state, which is specified by OS-EXT-STS:vm_state.

URI

POST /v2/{project_id}/servers/{server_id}/action

POST /v2.1/{project_id}/servers/{server_id}/action

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

Request parameters

Table 2 describes the request parameters.
Table 2 Request parameters

Parameter

Type

Mandatory

Description

revertResize

Yes

Null

Confirms the rollback of the ECS specification modification.

Response

N/A

Examples

  • Example request
    {
        "revertResize" : null
    }

Returned Values

See General Request Returned Values.