Domain name for API request: tchd.tencentcloudapi.com.
This API is used to query the availability event list of tencent cloud services. It can be filtered by product, region, or event occurrence date.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeEvents. |
Version | Yes | String | Common Params. The value used for this API: 2023-03-06. |
Region | No | String | Common Params. This parameter is not required. |
EventDate | Yes | Date | event occurrence date |
ProductIds.N | No | Array of String | Query by Product ID(s). Product ID examples: cvm, lb, cdb, cdn, crs. |
RegionIds.N | No | Array of String | 1. Query by Region ID(s). Region ID examples: ap-guangzhou、ap-shanghai、ap-singapore. 2. The region ID for non-region-specific products should be set to non-regional. |
Parameter Name | Type | Description |
---|---|---|
Data | ProductEventList | Detailed event information. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
Query for all events that occurred in the regions of Guangzhou and Shanghai on 2023-06-09
POST / HTTP/1.1
Host: tchd.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeEvents
<Common request parameters>
{
"ProductIds": [
"cvm"
],
"RegionIds": [
"ap-guangzhou",
"ap-shanghai"
],
"EventDate": "2023-06-09"
}
{
"Response": {
"Data": {
"EventList": [
{
"ProductId": "cvm",
"ProductName": "Cloud Virtual Machine",
"RegionId": "ap-chongqing",
"RegionName": "ChongQing",
"StartTime": "2023-06-09 14:16:00",
"EndTime": "2023-06-09 14:28:00",
"CurrentStatus": "Normally"
}
]
},
"RequestId": "76a0ee91-c081-4a9c-9ba6-ad7e15f06ce4"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Invalid parameter value. |
Was this page helpful?