• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Flavor Management
  6. Rolling Back ECS Specifications Modification

Rolling Back ECS Specifications Modification

Function

This API 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.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

Null

Yes

Confirms the rollback of the ECS specification modification.

Response

N/A

Examples

  • Example request
    {
        "revertResize" : null
    }

Returned Values

See General Request Returned Values.