This article introduces how to use the cloud server ECS API to manage cloud resources and develop applications, and focuses on the specific steps. The content of this article is very compact, and I hope you will study patiently.
Welcome to choose cloud server ECS (Elastic Compute Service), we provide a rich API for you to use. If you are familiar with network service protocols and more than one programming language, we recommend that you use the cloud server ECS API to manage your cloud resources and develop your own applications. See the API overview for more details.
Usage restrictions
The cloud server ECS instances, disks, security groups, snapshots, instance public network bandwidth traffic and other resources you can create are all limited to There are quantity and specification restrictions. See Usage Restrictions for more details. When there is a conflict between the interface description, parameter optional values, and resource specifications and the usage restrictions, the usage restrictions will take precedence.
Instructions
We support HTTP or HTTPS requests, allowing GET and POST methods. You can call the cloud server ECS API in the following ways:
(Recommended) Cloud server ECS SDK in different programming languages
Alibaba Cloud CLI
Alibaba Cloud API Explorer
API URL request
The CLI, API Explorer and SDK eliminate your need for manual authentication, allowing you to quickly call interfaces. We recommend you use SDK to facilitate calling interfaces and managing resources.
Note
When calling the API in Alibaba Cloud CLI and SDK, some request parameters with a period (.) need to be used without the period (.). For example, use SystemDiskCategory to represent the request parameter SystemDisk.Category.
API URL requests require you to authenticate yourself and encode the URL. You can use this method to understand the Alibaba Cloud access verification process. For more details, see Signature Mechanism and Creating AccessKey.
Resource terminology
The above is the detailed content of How to use cloud server ECS API to manage cloud resources and develop applications. For more information, please follow other related articles on the PHP Chinese website!