tencent cloud

云安全中心

产品简介
产品概述
购买指南
计费概述
购买方式
续费说明
欠费说明
退费说明
快速入门
操作指南
访问权限管理
多云多账号管理
漏洞与风险中心
告警中心
日志投递(支持多账号多产品多日志)
资产中心
安全体检
云 API 异常监测
用户行为分析(UEBA)
报告下载
API 文档
History
Introduction
API Category
Making API Requests
Multi-account management related APIs
Scan Task APIs
Risk Center APIs
Asset Center APIs
Cloud Boundary Analysis APIs
Cloud API Anomaly Detection APIs
Report Download APIs
Solid Protection APIs
Cloud Security Center Overview APIs
Data Types
Error Codes
相关协议
Service Level Agreement
Terms Of Service
常见问题
词汇表

DescribeClusterPodAssets

PDF
聚焦模式
字号
最后更新时间: 2025-10-30 21:37:30

1. API Description

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

This API is used to list cluster pods.

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: DescribeClusterPodAssets.
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 Member id
Filter No Filter Filter conditions

3. Output Parameters

Parameter Name Type Description
Data Array of AssetClusterPod Data list
TotalCount Integer Total number of results
PodStatusList Array of FilterDataObject List of cluster pod status
NamespaceList Array of FilterDataObject List of namespaces
RegionList Array of FilterDataObject List of regions
AppIdList Array of FilterDataObject List of users (AppId)
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 Cluster Pod List

This example shows you how to obtain the cluster pod list.

Input Example

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

{
    "MemberId": [
        "mem-68b8087a65268000"
    ],
    "Filter": {
        "Limit": 1,
        "Offset": 0
    }
}

Output Example

{
    "Response": {
        "AppIdList": [
            {
                "Text": "1302396211",
                "Value": "1302396211"
            }
        ],
        "Data": [
            {
                "AppId": 1302396211,
                "AssetId": "002a244ad33***6b7ec01b91ae63a9",
                "AssetName": "kubernetes-proxy-6dd44f7b74-mqf4n",
                "ClusterId": "cls-0hdxu91s",
                "ClusterName": "yancyw",
                "ContainerCount": 1,
                "InstanceCreateTime": "2024-08-22 21:45:10",
                "IsCore": 2,
                "IsNewAsset": 0,
                "MachineId": "ins-0hdxu91s",
                "MachineName": "my-vm",
                "Namespace": "default",
                "Nick": "Sound of Oolong",
                "PodIp": "10.**.0.**",
                "PrivateIp": "10.**.0.**",
                "PublicIp": "118.**.**.**",
                "Region": "ap-guangzhou",
                "ServiceCount": 1,
                "Status": "Running",
                "Uin": "100014111178"
            }
        ],
        "NamespaceList": [
            {
                "Text": "default",
                "Value": "default"
            },
            {
                "Text": "kube-system",
                "Value": "kube-system"
            },
            {
                "Text": "tcss",
                "Value": "tcss"
            }
        ],
        "PodStatusList": [
            {
                "Text": "running",
                "Value": "running"
            },
            {
                "Text": "succeeded",
                "Value": "succeeded"
            }
        ],
        "RegionList": [
            {
                "Text": "Guangzhou",
                "Value": "ap-guangzhou"
            }
        ],
        "RequestId": "077d335a-f2c7-4f20-884a-9700086f3608",
        "TotalCount": 27
    }
}

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.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈