tencent cloud

DescribeNodeResourceConfigFast
Last updated: 2025-11-13 20:49:04
DescribeNodeResourceConfigFast
Last updated: 2025-11-13 20:49:04

1. API Description

Domain name for API request: emr.intl.tencentcloudapi.com.

This API is used to quickly obtain node specifications of the current cluster.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeNodeResourceConfigFast.
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 Cluster instance ID.
ResourceType Yes String Node type, CORE, TASK, ROUTER or ALL.
PayMode Yes Integer Billing type.
ZoneId No Integer Availability zone ID.
ResourceBaseType No String The type can be ComputeResource, EMR, or a default value. The default value is EMR.
ComputeResourceId No String Computing resource ID.
HardwareResourceType No String Hardware type.

3. Output Parameters

Parameter Name Type Description
Data Array of DescribeResourceConfig Return value of the DescribeResourceConfig API.
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.

4. Example

Example1 Invoking the DescribeNodeResourceConfigFast API

Input Example

POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeNodeResourceConfigFast
<Common request parameters>

{
    "InstanceId": "emr-laoxdz4n",
    "ResourceType": "ALL",
    "PayMode": 0
}

Output Example

{
    "Response": {
        "Data": [
            {
                "ResourceData": [
                    {
                        "CreateTime": "2024-03-25 17:52:23",
                        "IsDefault": "DEFAULT",
                        "MaxResourceNum": 0,
                        "Resource": {
                            "Cpu": 4,
                            "DiskNum": 1,
                            "DiskSize": 200,
                            "DiskType": "CLOUD_SSD",
                            "InstanceType": "SA2.LARGE8",
                            "LocalDiskNum": 0,
                            "MemSize": 8192,
                            "MultiDisks": [],
                            "RootSize": 70,
                            "Spec": "CVM.SA2",
                            "StorageType": 4,
                            "Tags": null
                        },
                        "ResourceConfigId": 20332,
                        "UpdateTime": "2024-03-25 17:52:23"
                    }
                ],
                "ResourceType": "CORE"
            },
            {
                "ResourceData": [
                    {
                        "CreateTime": "2024-04-08 15:13:04",
                        "IsDefault": "DEFAULT",
                        "MaxResourceNum": 0,
                        "Resource": {
                            "Cpu": 8,
                            "DiskNum": 1,
                            "DiskSize": 200,
                            "DiskType": "CLOUD_HSSD",
                            "InstanceType": "S6.2XLARGE32",
                            "LocalDiskNum": 0,
                            "MemSize": 32768,
                            "MultiDisks": [],
                            "RootSize": 70,
                            "Spec": "CVM.S6",
                            "StorageType": 6,
                            "Tags": null
                        },
                        "ResourceConfigId": 20560,
                        "UpdateTime": "2024-04-08 15:13:04"
                    }
                ],
                "ResourceType": "TASK"
            },
            {
                "ResourceData": [
                    {
                        "CreateTime": "2024-04-08 22:04:42",
                        "IsDefault": "DEFAULT",
                        "MaxResourceNum": 0,
                        "Resource": {
                            "Cpu": 4,
                            "DiskNum": 1,
                            "DiskSize": 200,
                            "DiskType": "CLOUD_HSSD",
                            "InstanceType": "SA2.LARGE8",
                            "LocalDiskNum": 0,
                            "MemSize": 8192,
                            "MultiDisks": [],
                            "RootSize": 70,
                            "Spec": "CVM.SA2",
                            "StorageType": 6,
                            "Tags": null
                        },
                        "ResourceConfigId": 20563,
                        "UpdateTime": "2024-04-08 22:04:42"
                    }
                ],
                "ResourceType": "ROUTER"
            }
        ],
        "RequestId": "638ef562-a954-4963-ae70-b54c2dd2bf94"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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 Internal error.
InternalError.CamCgwError An error occurred while calling another service API.
InternalError.CheckQuotaErr CVM or CBS resources are insufficient, or the software is invalid.
InvalidParameter Invalid parameter.
InvalidParameter.InvalidDiskType Parameter error.
InvalidParameter.InvalidInstanceType Invalid model.
ResourceNotFound.InstanceNotFound The instance was not found.
ResourceUnavailable.NotSupportResourceType Resources are unavailable.
ResourceUnavailable.ResourceSpecNotDefaultSpec There is no default value of the current resource spec.
ResourceUnavailable.ResourceSpecNotExist The resource specification does not exist.
UnsupportedOperation.ServiceNotSupport This operation is not supported.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback