This topic describes the basic information and usage notes for calling CloudMonitor API operations. For more information about how to call API operations in OpenAPI Explorer, see Call API operations.
Basic information
Versions
Version | Description |
We recommend that you use this version. |
Endpoints
For more information about endpoints, see Endpoints.
User identities
Identity | Supported or not |
Yes | |
RAM user (recommended) | Yes |
RAM role (recommended) | Yes |
We recommend that you use a Resource Access Management (RAM) user or a RAM role to call API operations. Before you use a RAM user or RAM role to call API operations, you must grant permissions to the RAM user or RAM role.
API styles
CloudMonitor API operations are called in the remote procedure call (RPC) style.
Methods to call API operations
Calling method | Supported or not | References |
Alibaba Cloud SDKs | Yes | For information about the languages supported by CloudMonitor SDKs and how to install the dependencies, see CloudMonitor SDKs. Note For information about how to use Alibaba Cloud SDKs to call CloudMonitor API operations, see Alibaba Cloud SDKs. |
Alibaba Cloud Command Line Interface (CLI) | Yes | For information about how to use Alibaba Cloud CLI to call CloudMonitor API operations, see Alibaba Cloud CLI. |
Resource Orchestration Service (ROS) | Yes | For information about how to use ROS to call CloudMonitor API operations, see ROS. |
Terraform | Yes | For information about how to use Terraform to call CloudMonitor API operations, see Terraform. |
If none of the preceding methods meets your business requirements, you can encapsulate a request for an API operation and call the operation. For more information, see Custom encapsulation.
Usage notes
Each API operation can be called up to 20 times per second. Each Alibaba Cloud account and the RAM users within the account share the quota.
The size of an API request and response must conform to the following limits:
HTTP request header + Query ≤ 128 KB
HTTP request body ≤ 512 KB
HTTP response ≤ 2,048 KB