• Elastic Cloud Server

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

Metadata Management

API

API Function

Permissions

GET /v2/{tenant_id}/servers/{server_id}/metadata

Queries ECS metadata (native OpenStack API).

  • ecs:servers:listMetadata

GET /v2/{tenant_id}/servers/{server_id}/metadata/{key}

Queries metadata of an ECS key (native OpenStack API).

  • ecs:servers:getMetadata

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

Deletes specified ECS metadata (native OpenStack API).

  • ecs:servers:setMetadata

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

Modifies the key value in metadata of an ECS (native OpenStack API).

  • ecs:servers:setMetadata

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

Updates ECS metadata (native OpenStack API).

  • ecs:servers:setMetadata

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

Configures ECS metadata (native OpenStack API).

  • ecs:servers:setMetadata
  • ecs:servers:get

PUT /v1/{tenant_id}/cloudservers/{server_id}/autorecovery

Manages automatic recovery of an ECS.

  • ecs:cloudServers:setAutoRecovery

GET /v1/{tenant_id}/cloudservers/{server_id}/autorecovery

Queries automatic recovery of an ECS.

  • ecs:cloudServers:getAutoRecovery