Domain name for API request: emr.tencentcloudapi.com.
This API is used to inquiry detailed records of cluster autoscaling.
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: DescribeAutoScaleRecords. |
Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
Region | No | String | Common Params. This parameter is not required for this API. |
InstanceId | Yes | String | The instance ID. |
Filters.N | No | Array of KeyValue | Parameter for record filtration. Valid values: "StartTime", "EndTime" and "StrategyName". StartTime and EndTime support the time format of 2006-01-02 15:04:05 or 2006/01/02 15:04:05. |
Offset | No | Integer | Pagination parameters. |
Limit | No | Integer | Pagination parameters. Maximum value: 100 |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total scale-in and scale-out records. |
RecordList | Array of AutoScaleRecord | Record list. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: emr.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAutoScaleRecords
<Common request parameters>
{
"InstanceId": "emr-3ap64zl6",
"Limit": "10",
"Offset": "0"
}
{
"Response": {
"TotalCount": 0,
"RecordList": [
{
"StrategyName": "abc",
"ScaleAction": "abc",
"ActionStatus": "abc",
"ActionTime": "abc",
"ScaleInfo": "abc",
"ExpectScaleNum": 0,
"EndTime": "abc",
"StrategyType": 0,
"SpecInfo": "abc",
"CompensateFlag": 0,
"CompensateCount": 0
}
],
"RequestId": "abc"
}
}
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 |
---|---|
InvalidParameter.InvalidFilterKey | Invalid filter parameter. |
InvalidParameter.InvalidStartTimeOrEndTime | Invalid StartTime or EndTime parameter. |
ResourceNotFound.InstanceNotFound | The instance was not found. |
Was this page helpful?