tencent cloud

DescribeClusterAssets
Last updated:2026-01-30 14:54:54
DescribeClusterAssets
Last updated: 2026-01-30 14:54:54

1. API Description

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

This example shows you how to obtain the cluster list.

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: DescribeClusterAssets.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
MemberId.N No Array of String Group Account Member ID
Filter No Filter Filter.

3. Output Parameters

Parameter Name Type Description
Data Array of AssetCluster List
TotalCount Integer Total number.
ClusterTypeList Array of FilterDataObject Cluster Type Enumeration
ClusterStatusList Array of FilterDataObject Cluster Status Enumeration
ComponentStatusList Array of FilterDataObject Component Status Enumeration
VpcList Array of FilterDataObject VPC Enumeration
RegionList Array of FilterDataObject Region Enumeration
AppIdList Array of FilterDataObject Tenant Enumeration
ProtectStatusList Array of FilterDataObject Cluster protection status enumeration.
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 Null example.

Null example.

Input Example

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

{
    "Filter": {
        "Filters": [
            {
                "Name": "TimeRange",
                "Values": [
                    "2"
                ],
                "OperatorType": 7
            }
        ],
        "Limit": 10,
        "Offset": 0,
        "Order": "desc",
        "By": "InstanceCreateTime"
    },
    "MemberId": [
        "mem-b21i4hgxa"
    ]
}

Output Example

{
    "Response": {
        "AppIdList": [
            {
                "Text": "1300448058",
                "Value": "1300448058"
            },
            {
                "Text": "1302396215",
                "Value": "1302396215"
            },
            {
                "Text": "1305350016",
                "Value": "1305350016"
            }
        ],
        "ClusterStatusList": [
            {
"Text": "Running"
                "Value": "running"
            }
        ],
        "ClusterTypeList": [
            {
Managed cluster
                "Value": "managed_cluster"
            },
            {
elastic cluster
                "Value": "eks"
            }
        ],
        "ComponentStatusList": [
            {
"Text": "Not installed"
                "Value": "defender_uninstall"
            }
        ],
        "Data": [
            {
                "AppId": 1302396215,
                "AssetId": "cls-bc1916ky",
                "AssetName": "benben",
                "AssetType": "managed_cluster",
                "Region": "ap-guangzhou",
                "ServiceCount": 17,
                "PodCount": 41,
                "MachineCount": 1,
                "VpcId": "vpc-fw2ndu5f",
                "KubernetesVersion": "1.30.0",
                "Component": "containerd",
                "CheckCount": 43,
                "VulRisk": 0,
                "CFGRisk": 1,
                "InstanceCreateTime": "2024-12-04 10:33:08",
                "Status": "running",
                "ComponentStatus": "defended",
                "Uin": "100014592178",
                "VpcName": "fengqqian2test",
                "CheckTime": "",
                "ComponentVersion": "1.6.9",
"Nick": "Sheng Sheng Wu Long"
                "IsCore": 1,
                "IsNewAsset": 0,
                "ProtectStatus": 0,
                "ProtectInfo": "AccessedSubNone",
                "CloudType": 0
            }
        ],
        "ProtectStatusList": [
            {
not connected
                "Value": "0"
            },
            {
unprotected
                "Value": "1"
            },
            {
Partial protection
                "Value": "2"
            },
            {
Under protection
                "Value": "3"
            },
            {
Access exception
                "Value": "4"
            },
            {
"Text": "Accessing"
                "Value": "5"
            },
            {
uninstalling
                "Value": "6"
            },
            {
uninstallation exception
                "Value": "7"
            }
        ],
        "RegionList": [
            {
"Text": "Guangzhou"
                "Value": "ap-guangzhou"
            }
        ],
        "RequestId": "035c9d95-a2da-465e-b735-535d9afed6cf",
        "TotalCount": 1,
        "VpcList": [
            {
                "Text": "wy conflict",
                "Value": "vpc-39sc6ru5"
            },
            {
                "Text": "Default-VPC",
                "Value": "vpc-ommo5hlv"
            },
            {
                "Text": "fengqqian2test",
                "Value": "vpc-fw2ndu5f"
            },
            {
                "Text": "gordan-test1",
                "Value": "vpc-q1of50wz"
            }
        ]
    }
}

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.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback