tencent cloud

APIs

CreateClusterNamespaceListExportJob

Download
Focus Mode
Font Size
Last updated: 2026-09-01 10:19:42

1. API Description

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

Creates a cluster namespace list export task. The export fields include namespace name, Labels, and creation time. Filter filtering is supported. Export is implemented through an async task. After JobId is returned, the frontend polls to query the export task status.

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: CreateClusterNamespaceListExportJob.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
ClusterCaMD5 Yes String

Cluster CA certificate MD5

MemberId.N No Array of String

Group account member id

Filter No Filter

Common filter criteria list. Supported filter fields:
Name: namespace name, fuzzy matching.
Label: tag, fuzzy matching (match the key or value of the tag. A match is made if either is hit).

ExportFields.N No Array of String

Export field list (if not specified, all fields will be exported)
Enumeration values:
Name: namespace name
Labels: tags (format: key1=value1;key2=value2)
CreateTime: creation time

3. Output Parameters

Parameter Name Type Description
JobId String

Export task ID
Parameter value for reference: used when polling the export task status on the frontend

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 Creating a Cluster Namespace List Export Task Example

Input Example

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

{
    "ClusterCaMD5": "a1b2c3d4e5f6789012345678901234ab",
    "Filter": {
        "Filters": [],
        "Limit": 20,
        "Offset": 0
    },
    "ExportFields": [
        "Name",
        "Labels",
        "CreateTime"
    ]
}

Output Example

{
    "Response": {
        "JobId": "export-job-12345",
        "RequestId": "5cd96106-1d72-466c-9bcf-9876543210ab"
    }
}

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
InternalError Internal error.
InvalidParameter Parameter error.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback