Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to query change details in YARN resource scheduling.
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: DescribeResourceScheduleDiffDetail. |
| 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 | English ID of the EMR cluster. |
| Scheduler | No | String | Scheduler for the queried change details. The available values are fair and capacity. If this parameter is not passed or a null value is passed, the latest scheduler will be used. |
| Parameter Name | Type | Description |
|---|---|---|
| Details | Array of DiffDetail | Details of change items. Note: This field may return null, indicating that no valid values can be obtained. |
| 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: DescribeResourceScheduleDiffDetail
<Common request parameters>
{
"InstanceId": "emr-xxx",
"Scheduler": "fair"
}{
"Response": {
"Details": [
{
"Count": 1,
"Header": [
{
"Id": "Attribute",
"Name": "Attribute"
},
{
"Id": "InEffect",
"Name": "Current Effective Value"
},
{
"Id": "PendingEffectiveness",
"Name": "Pending Effective Value"
},
{
"Id": "Operation",
"Name": "Operation"
}
],
"Name": "Global Configuration",
"Rows": [
{
"Attribute": "Scheduler",
"InEffect": "fair",
"Operation": "Update",
"PendingEffectiveness": "capacity"
}
]
},
{
"Count": 1,
"Header": [
{
"Id": "Attribute",
"Name": "Attribute"
},
{
"Id": "InEffect",
"Name": "Current Effective Value"
},
{
"Id": "PendingEffectiveness",
"Name": "Pending Effective Value"
},
{
"Id": "Operation",
"Name": "Operation"
}
],
"Name": "Tag Switch",
"Rows": [
{
"Attribute": "LabelDir",
"InEffect": "",
"Operation": "Update",
"PendingEffectiveness": ""
}
]
}
],
"RequestId": "50ed72af-1cc9-4566-8080-3594994aea80"
}
}
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. |
| InternalError.CamCgwError | An error occurred while calling another service API. |
| InternalError.WoodServerError | An error occurred while calling another service API. |
| InvalidParameter | Invalid parameter. |
| InvalidParameter.InvalidInstanceName | Invalid cluster name. |
| ResourceNotFound.InstanceNotFound | The instance was not found. |
Feedback