nav-img
Advanced

API Overview

APIs for ECS include native OpenStack APIs and ECS APIs. ECS APIs are recommended.

ECS APIs

Table 1 ECS APIs

Type

Description

Create, delete, or query ECSs.

Modify ECS specifications and reinstall or change the ECS OS

Start, restart, stop, or modify ECSs in a batch.

Query details about flavors and extended flavor information.

  • Add or delete ECS NICs in a batch.
  • Bind or unbind a private IP address to or from an ECS NIC.

Attach, detach, or query ECS disks.

Update ECS metadata and delete specified ECS metadata.

Query the quotas of a tenant, including the quota limit and used quotas.

Query asynchronous API execution status, such as creating or deleting ECSs, performing batch operations on ECSs, or performing operations on NICs.

Reset the password for logging in to an ECS with a few clicks.

Create or delete an ECS group, add an ECS to an ECS group, or delete an ECS from an ECS group.

Native OpenStack APIs

Table 2 Native OpenStack APIs

Type

Description

  • Query all API versions.
  • Query a specified API version.

Create, delete, modify, or query ECSs.

Start, stop, restart, lock, or unlock ECSs; modify ECS specifications; roll back ECS specifications modification.

Query ECS tenants or networks.

Delete or query images.

This image management API has been discarded. Use the IMS API.

Add, remove, query, create, update, or delete security groups and security group rules.

Query ECS flavors and details.

Add, delete, or query ECS NICs.

Attach, detach, or query ECS disks.

Update, set, delete, query, obtain, or modify ECS metadata.

Query tenant quotas.

Query, create, or delete SSH keys.

Allocate, release, create, query, or delete floating IP addresses.

This floating IP address management API has been discarded. Use the network service API.

Create, query, or delete ECS groups.

Query ECS operations or a specified operation by request ID.

Obtain ECS management console logs.

Create, query, or delete snapshots.

The snapshot management API has been discarded. Use the storage service API.

Show AZs.

Create, delete, or query ECS D1 tags.