tencent cloud

APIs

DescribeNodeResourceConfigFast

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-10-10 14:58:29

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 ID.
ResourceType Yes String Node type. Valid values: CORE, TASK, ROUTER, and ALL.
PayMode Yes Integer Billing type.
ZoneId No Integer AZ ID.
ResourceBaseType No String Type. Valid values: ComputeResource and EMR. Default value: 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 Calling 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 Internal service call exception.
InternalError.CheckQuotaErr Insufficient CVM or CBS resources, or invalid software.
InvalidParameter Parameter error.
InvalidParameter.InvalidDiskType Parameter error.
InvalidParameter.InvalidInstanceType Invalid instance type.
ResourceNotFound.InstanceNotFound The instance cannot be found.
ResourceUnavailable.NotSupportResourceType Resources are unavailable.
ResourceUnavailable.ResourceSpecNotDefaultSpec The current resource specifications do not have the default specifications.
ResourceUnavailable.ResourceSpecNotExist The resource specifications do not exist.
UnsupportedOperation.ServiceNotSupport This service does not support this operation.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan