Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to access the global configuration of automatic scaling.
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: DescribeAutoScaleGroupGlobalConf. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID. |
| Parameter Name | Type | Description |
|---|---|---|
| GroupGlobalConfs | Array of GroupGlobalConfs | Global information of all scaling groups in the cluster. Note: This field may return null, indicating that no valid values can be obtained. |
| TotalCount | Integer | Total number. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAutoScaleGroupGlobalConf
<Common request parameters>
{
"InstanceId": "emr-123"
}{
"Response": {
"GroupGlobalConfs": [
{
"CurrentNodes": 0,
"CurrentPostPaidNodes": 0,
"CurrentSpotPaidNodes": 0,
"GroupGlobalConf": {
"ChangeToPod": 0,
"ClusterId": 33003386,
"EnableMNode": 0,
"GraceDownFlag": true,
"GroupName": "Regression Group-002",
"GroupStatus": 2,
"HardwareType": "HOST",
"Id": 26,
"NextTimeCanScale": 0,
"Parallel": 1,
"PayMode": "POSTPAY",
"PostPayPercentMin": 0,
"ScaleLowerBound": 0,
"ScaleUpperBound": 30,
"StrategyType": 0
}
}
],
"RequestId": "4dea2795-c996-4385-88f8-c6191766e519",
"TotalCount": 1
}
}
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 |
|---|---|
| FailedOperation | Operation failed. |
| InternalError.CamCgwError | An error occurred while calling another service API. |
| ResourceNotFound.InstanceNotFound | The instance was not found. |
| UnauthorizedOperation.CheckCamAuth | Unauthorized operation. |
Feedback