tencent cloud

フィードバック

DescribeCloneList

最終更新日:2024-01-30 10:25:41

    1. API Description

    Domain name for API request: cdb.tencentcloudapi.com.

    This API is used to query the clone task list of an instance.

    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: DescribeCloneList.
    Version Yes String Common Params. The value used for this API: 2017-03-20.
    Region No String Common Params. This parameter is not required for this API.
    InstanceId Yes String ID of the original instance. This parameter is used to query the clone task list of a specific original instance.
    Offset No Integer Paginated query offset. Default value: 0.
    Limit No Integer Number of results per page. Default value: 20.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer The number of results which meet the conditions
    Items Array of CloneItem Clone task list
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying the clone task list

    This example shows you how to query the clone task list.

    Input Example

    POST / HTTP/1.1
    Host: cdb.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeCloneList
    <Common request parameters>
    
    {
        &InstanceId=cdb-9303wd4x
    }
    

    Output Example

    {
        "Response": {
            "TotalCount": 2,
            "RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7",
            "Items": [
                {
                    "SrcInstanceId": "cdb-4bblpca3",
                    "RollbackTargetTime": "2019-11-15 12:34:56",
                    "CloneJobId": 80,
                    "SrcRegionId": 0,
                    "TaskStatus": "initial",
                    "NewRegionId": 8,
                    "RollbackStrategy": "test",
                    "StartTime": "2019-12-26 18:05:42",
                    "DstInstanceId": "cdb-9ubfzt6x",
                    "EndTime": ""
                },
                {
                    "SrcInstanceId": "cdb-4bblpca3",
                    "RollbackTargetTime": "2019-11-15 16:13:31",
                    "CloneJobId": 81,
                    "SrcRegionId": 4,
                    "TaskStatus": "initial",
                    "StartTime": "2019-12-26 17:16:58",
                    "RollbackStrategy": "backupset",
                    "NewRegionId": 0,
                    "DstInstanceId": "cdb-awbsatzq",
                    "EndTime": ""
                }
            ]
        }
    }
    

    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
    CdbError Backend or process error.
    CdbError.DatabaseError Backend database error.
    InternalError.UnknownError Unknown error
    お問い合わせ

    カスタマーサービスをご提供できるため、ぜひお気軽にお問い合わせくださいませ。

    テクニカルサポート

    さらにサポートが必要な場合は、サポートチケットを送信して弊社サポートチームにお問い合わせください。24時間365日のサポートをご提供します。

    電話サポート(24 時間365日対応)