• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. Appendix
  5. API Permissions
  6. Lifecycle Management

Lifecycle Management

API

API Function

Permissions

GET /v2/{project_id}/servers/detail

GET /v2.1/{project_id}/servers/detail

Queries details about ECSs (native OpenStack API).

  • ecs:servers:list
  • ecs:servers:get
  • ecs:serverVolumes:use
  • ecs:diskConfigs:use
  • ecs:securityGroups:use
  • ecs:serverKeypairs:get
  • vpc:securityGroups:list
  • vpc:securityGroups:get
  • vpc:securityGroupRules:get
  • vpc:networks:get
  • vpc:subnets:get
  • vpc:ports:get
  • vpc:routers:get

GET /v2/{tenant_id}/servers

GET /v2.1/{tenant_id}/servers

Queries ECSs (native OpenStack API).

  • ecs:servers:list

GET /v2/{project_id}/servers/{server_id}

GET /v2.1/{project_id}/servers/{server_id}

Queries details about an ECS (native OpenStack API).

  • ecs:servers:get

POST /v2/{tenant_id}/cloudservers/{server_id}/changeos

Changes an ECS OS.

  • ecs:cloudServers:changeOS

POST /v2/{tenant_id}/cloudservers/{server_id}/reinstallos

Reinstalls an ECS OS.

  • ecs:cloudServers:rebuild

POST /v1/{tenant_id}/cloudservers/{server_id}/resize

Modifies the specifications of an ECS.

  • ecs:cloudServers:resize

POST /v1/{tenant_id}/cloudservers/action

Stops ECSs in batches.

  • ecs:cloudServers:stop

POST /v1/{tenant_id}/cloudservers/action

Restarts ECSs in batches.

  • ecs:cloudServers:reboot

POST /v1/{tenant_id}/cloudservers/action

Starts ECSs in batches.

  • ecs:cloudServers:start

POST /v1/{tenant_id}/cloudservers/delete

Deletes ECSs.

  • ecs:cloudServers:delete

POST /v1/{tenant_id}/cloudservers

Creates ECSs.

  • ecs:cloudServers:create