tencent cloud

APIs

DescribeDynamicInstanceDetail

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-10-10 14:59:04

1. API Description

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

This API is used to describe the details of a DynamicInstance in an EMR on TKE 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: DescribeDynamicInstanceDetail.
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

EMR cluster ID.

RayClusterId Yes Integer

Ray cluster ID.

3. Output Parameters

Parameter Name Type Description
RayClusterName String

Ray cluster name.

RayClusterId Integer

Ray cluster ID.

SubmitType Integer

Creation type.

Enumeration values:

  • 1: form creation
  • 2: YAML creation
Namespace String

Namespace.

CreateTime String

Creation time.

UpdateTime String

Update time.

Labels Array of NameValue

labels

Tolerations Array of Toleration

Tolerations

Env Array of NameValue

Environment variable.

SupportExternalKerberosService Boolean

Whether to rely on external Kerberos components.

KerberosCluster String

Dependent Kerberos cluster.

Token String

token

HeadGroupSpec DynamicInstanceGroupSpec

HeadGroup

WorkerGroupSpecs Array of DynamicInstanceGroupSpec

WorkerGroup

StorageConfigEnabled Boolean

Whether to enable storage configuration.

RedisInstance RedisInstance

Redis instance information.

CustomImage CustomImage

Image information.

DashboardUrl String

Dashboard link.

TotalPodCount Integer

Total number of Pods.

HighAvailability Boolean

Whether to support high availability.

PersistentVolume PersistentVolume

Storage information.

RayClusterYaml String

rayClusterYamlJson

ImageInfoV2 ImageInfoV2

Image information.

EnableHistoryServer Boolean

Whether to enable log collection.

TensorBoardUrl String

TensorBoard link.

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 DynamicInstance Detailed Information

Input Example

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

{
    "InstanceId": "emr-a2jqs6n3",
    "RayClusterId": 28
}

Output Example

{
    "Response": {
        "CreateTime": "2025-12-27 16:43:18",
        "DashboardUrl": "http://43.141.243.208/raycluster",
        "HeadGroupSpec": {
            "Cpu": 1,
            "Env": [
                {
                    "Name": "testkey",
                    "Value": "testval"
                }
            ],
            "Gpu": 0,
            "GpuType": "",
            "GroupType": "HeadGroup",
            "Labels": [
                {
                    "Name": "label-key-01",
                    "Value": "label-val-01"
                }
            ],
            "MaxNodes": 0,
            "MemSize": 2,
            "MinNodes": 0,
            "Name": "headGroup",
            "PersistentVolume": {
                "CBSVolumes": [],
                "CFSVolumes": [],
                "COSVolumes": [],
                "StorageVolumeDetail": [],
                "StorageVolumeName": [],
                "VolumeMounts": []
            },
            "PodCount": 2,
            "ResourceLabels": "{\"Custom1\":1,\"Custom2\":5}",
            "Scheduler": "{\"nodeSelector\":{\"kubernetes.io/hostname\":\"10.0.1.61\"},\"nodeAffinity\":null}",
            "StorageConfigEnabled": false,
            "Tolerations": [
                {
                    "Key": "toleration-key-01",
                    "Value": "toleration_val_01"
                }
            ]
        },
        "HighAvailability": true,
        "KerberosCluster": "emr-h6mtwtgn",
        "Namespace": "251233703-emr-a2jqs6n3",
        "PersistentVolume": {
            "CBSVolumes": [],
            "CFSVolumes": [],
            "COSVolumes": [],
            "StorageVolumeDetail": [],
            "StorageVolumeName": [],
            "VolumeMounts": []
        },
        "RayClusterId": 28,
        "RayClusterName": "raycluster",
        "RayClusterYaml": "apiVersion: ray.io/v1\nkind: RayCluster\nmetadata:\n    name: raycluster\n    namespace: 251233703-emr-a2jqs6n3\n    annotations:\n        ray.io/ft-enabled: \"true\"\n        runtime.emr.tencent.com/raycluster-managedby-emr: \"true\"\nspec:\n    headGroupSpec:\n        serviceType: ClusterIP\n        rayStartParams:\n            enable-head-ha: \"true\"\n            resources: '{\\\"Custom1\\\":1,\\\"Custom2\\\":5}'\n        template:\n            metadata:\n                labels:\n                    label-key-01: label-val-01\n            spec:\n                tolerations:\n                    - key: toleration-key-01\n                      value: toleration_val_01\n                nodeSelector:\n                    kubernetes.io/hostname: 10.0.1.61\n                containers:\n                    - name: ray-head\n                      image: ccr.ccs.tencentyun.com/emr-image-base/ray:2.52.0-65-653-dev\n                      resources:\n                        requests:\n                            cpu: \"1\"\n                            memory: 2G\n                        limits:\n                            cpu: \"1\"\n                            memory: 2G\n                      env:\n                        - name: testkey\n                          value: testval\n                      securityContext:\n                        capabilities:\n                            add:\n                                - SYS_ADMIN\n        replicas: 2\n    workerGroupSpecs:\n        - groupName: workerGroup0\n          replicas: 1\n          minReplicas: 1\n          maxReplicas: 1\n          rayStartParams: {}\n          template:\n            metadata: {}\n            spec:\n                containers:\n                    - name: ray-worker\n                      image: ccr.ccs.tencentyun.com/emr-image-base/ray:2.52.0-65-653-dev\n                      resources:\n                        requests:\n                            cpu: \"1\"\n                            memory: 2G\n                        limits:\n                            cpu: \"1\"\n                            memory: 2G\n                      securityContext:\n                        capabilities:\n                            add:\n                                - SYS_ADMIN\n        - groupName: WorkerGroup1\n          replicas: 1\n          minReplicas: 1\n          maxReplicas: 1\n          rayStartParams: {}\n          template:\n            metadata: {}\n            spec:\n                containers:\n                    - name: ray-worker\n                      image: ccr.ccs.tencentyun.com/emr-image-base/ray:2.52.0-65-653-dev\n                      resources:\n                        requests:\n                            cpu: \"1\"\n                            memory: 2G\n                        limits:\n                            cpu: \"1\"\n                            memory: 2G\n                      securityContext:\n                        capabilities:\n                            add:\n                                - SYS_ADMIN\n",
        "RedisInstance": {
            "Host": "10.0.1.120",
            "Id": "crs-2yrj6b29",
            "Port": 6379
        },
        "RequestId": "f79d7d08-51b4-4569-bd47-0a6cd2abed6a",
        "StorageConfigEnabled": false,
        "SubmitType": 1,
        "SupportExternalKerberosService": true,
        "Token": "emr-token-1pqyhv6r-n4fnvseb-9b6svpe3",
        "TotalPodCount": 4,
        "UpdateTime": "2025-12-29 11:27:53",
        "WorkerGroupSpecs": [
            {
                "Cpu": 1,
                "Gpu": 0,
                "GpuType": "",
                "GroupType": "WorkerGroup",
                "MaxNodes": 1,
                "MemSize": 2,
                "MinNodes": 1,
                "Name": "workerGroup0",
                "PersistentVolume": {
                    "CBSVolumes": [],
                    "CFSVolumes": [],
                    "COSVolumes": [],
                    "StorageVolumeDetail": [],
                    "StorageVolumeName": [],
                    "VolumeMounts": []
                },
                "PodCount": 1,
                "ResourceLabels": "null",
                "Scheduler": "",
                "StorageConfigEnabled": false
            },
            {
                "Cpu": 1,
                "Gpu": 0,
                "GpuType": "",
                "GroupType": "WorkerGroup",
                "MaxNodes": 1,
                "MemSize": 2,
                "MinNodes": 1,
                "Name": "WorkerGroup1",
                "PersistentVolume": {
                    "CBSVolumes": [],
                    "CFSVolumes": [],
                    "COSVolumes": [],
                    "StorageVolumeDetail": [],
                    "StorageVolumeName": [],
                    "VolumeMounts": []
                },
                "PodCount": 1,
                "ResourceLabels": "null",
                "Scheduler": "",
                "StorageConfigEnabled": false
            }
        ]
    }
}

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

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan