• Elastic Cloud Server

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

ECS Status Management

API

API Function

Permissions

POST /v2/{tenant_id}/servers

POST /v2/{tenant_id}/os-volumes_boot

Creates an ECS (native OpenStack API).

  • ecs:servers:create
  • ecs:servers:get
  • ecs:serverInterfaces:use
  • ecs:serverInterfaces:get
  • ecs:flavors:get
  • ecs:securityGroups:use
  • evs:volumes:list
  • evs:volumes:get
  • evs:volumes:create
  • evs:volumes:attach
  • evs:volumes:manage
  • vpc:securityGroups:get
  • vpc:networks:get
  • vpc:networks:update
  • vpc:subnets:get
  • vpc:subnets:update
  • vpc:ports:create
  • vpc:ports:update
  • vpc:ports:get
  • vpc:ports:delete
  • vpc:networks:create
  • vpc:subnets:create
  • vpc:routers:get
  • vpc:routers:update
  • ims:images:list
  • ims:images:get

DELETE /v2/{tenant_id}/servers/{server_id}

Deletes an ECS (native OpenStack API).

  • ecs:servers:delete

PUT /v2/{tenant_id}/servers/{server_id}

Modifies ECS information (native OpenStack API).

  • ecs:servers:update
  • ecs:servers:get

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

Starts an ECS (native OpenStack API).

  • ecs:servers:start
  • ecs:servers:get

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

Stops an ECS (native OpenStack API).

  • ecs:servers:stop
  • ecs:servers:get

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

Restarts an ECS (native OpenStack API).

  • ecs:servers:reboot
  • ecs:servers:get

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

Modifies the specifications of an ECS (native OpenStack API).

  • ecs:servers:resize
  • ecs:servers:get
  • evs:volumes:list
  • evs:volumes:create
  • evs:volumes:get
  • evs:volumes:attach
  • evs:volumes:detach
  • evs:volumes:manage
  • vpc:ports:get
  • vpc:ports:update
  • vpc:ports:create
  • vpc:ports:delete

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

Rebuilds an ECS (native OpenStack API).

  • ecs:servers:rebuild
  • ecs:servers:get
  • ecs:servers:update
  • ims:images:get
  • ims:images:list
  • ims:images:update

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

Locks an ECS (native OpenStack API).

  • ecs:servers:lock
  • ecs:servers:get

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

Unlocks an ECS (native OpenStack API).

  • ecs:servers:unlock
  • ecs:servers:get

POST /v2.1/{tenant_id}/servers/{server_id}/remote-consoles

Obtains the address for logging in to the console using VNC.

  • ecs:servers:createConsole
  • ecs:servers:get

GET /v2/{tenant_id}/servers/{server_id}/os-server-password

Retrieves the password of a Windows ECS (native OpenStack API).

  • ecs:serverPasswords:manage

DELETE /v2/{tenant_id}/servers/{server_id}/os-server-password

Deletes the password of a Windows ECS (native OpenStack API).

  • ecs:serverPasswords:manage