• Elastic Cloud Server

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

Confirming ECS Specifications Modification

Function Description

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

Constraints

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

confirmResize

Yes

Null

Confirms the modification to ECS specifications.

Response

N/A

Examples

  • Example request
    {
        "confirmResize" : null
    }

Returned Values

See General Request Returned Values.