• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Server Actions
  6. Revert Resized Server

Revert Resized Server

Function Description

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

Restrictions

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

  • URI format

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

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

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    server_id

    Yes

    Specifies the ECS ID.

Request

  • Parameter description

    Parameter

    Mandatory

    Type

    Description

    revertResize

    Yes

    Null

    Confirms the rollback of the ECS specification modification.

  • Example request
    {
        "revertResize" : null
    }

Response

N/A

Returned Value

See General Request Returned Values.