tencent cloud

云数据库 MySQL

动态与公告
产品动态
产品公告
新手指引
产品简介
产品概述
产品优势
应用场景
数据库架构
隔离策略
经济型实例
产品功能列表
数据库实例
高可用性(多可用区)
地域和可用区
自研内核
内核概述
内核版本更新动态
功能类特性
性能类特性
安全类特性
稳定类特性
TXRocks 引擎
内核问题检查与修复
购买指南
计费概述
选型指南
购买方式
续费说明
欠费说明
退费说明
按量转包年包月
调整实例费用说明
备份空间收费说明
数据库审计计费说明
数据库代理商业化计费和活动说明
数据库代理计费周期说明
查看费用账单
快速入门
入门概述
创建 MySQL 实例
连接 MySQL 实例
SQL 洞察(原数据库审计)
数据库审计简介
查看审计实例列表
开通审计服务
查看审计日志
日志投递
配置事后告警
修改审计规则
修改审计服务
关闭审计服务
审计规则模板
SQL 审计规则(旧版)
查看审计任务
授权子用户使用数据库审计
MySQL 云盘版
MySQL 云盘版概述
创建 MySQL 云盘版实例
维护管理实例
查看实例监控
调整实例配置
其他功能相关操作
迁移或升级至 MySQL 云盘版
操作指南
使用限制
操作总览
维护管理实例
升级实例
CPU 弹性扩容
只读/灾备实例
数据库代理
数据库管理(DMC)
账号管理
参数配置
备份与回档
数据迁移
网络与安全
监控与告警
日志中心
只读分析引擎
标签
实践教程
腾讯云 MySQL 帮助实现 MySQL 5.7升级至 MySQL 8.0
MySQL 5.6升级到 MySQL 5.7方法和说明
云数据库 MySQL 数据库审计等保实践
构建全场景高可用架构
云数据库 MySQL 使用规范
应用程序配置自动重连功能
MySQL 主实例参数修改的影响
MyISAM 自动转换为 InnoDB 引擎限制
为云数据库 MySQL 创建 VPC
使用云数据库 MySQL 提高业务负载能力
两地三中心灾备建设
读写分离扩展云数据库 MySQL 性能
使用 DTS 将 InnoDB 数据迁移至 RocksDB
构建 LAMP 堆栈 Web 应用程序
构建 Drupal 网站
通过 Python 语言使用 MySQL API
主备实例查询数据不一致
白皮书
性能白皮书
安全白皮书
故障处理
连接相关
性能相关
实例数据同步延迟
设置大小写不敏感失败
通过命令获取 slow_query_log_file 失败
API 文档
History
Introduction
API Category
Instance APIs
调用方式
Data Import APIs
Database Proxy APIs
数据库审计相关接口
Security APIs
Task APIs
Backup APIs
Account APIs
Rollback APIs
Parameter APIs
Database APIs
Monitoring APIs
Log-related API
Data Types
Error Codes
常见问题
选型相关
计费相关
备份相关
回档相关
连接登录
参数修改
升级相关
账号权限
性能内存
运维相关
数据迁移
功能特性
控制台相关
日志相关
事件相关
数据库审计
实例切换影响
API 2.0 切换 3.0 指引
相关协议
服务等级协议
服务条款
通用参考
标准与认证
联系我们
词汇表

DescribeRollbackTaskDetail

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-10-28 22:19:06

1. API Description

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

This API is used to query the details of a TencentDB instance rollback task.

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: DescribeRollbackTaskDetail.
Version Yes String Common Params. The value used for this API: 2017-03-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
InstanceId Yes String Instance ID, which is the same as the instance ID displayed in the TencentDB Console. You can use the DescribeDBInstances API to query the ID.
AsyncRequestId No String Async task ID.
Limit No Integer Pagination parameter, i.e., the number of entries to be returned for a single request. Default value: 20. Maximum value: 100.
Offset No Integer Pagination offset. Default value: 0.

3. Output Parameters

Parameter Name Type Description
TotalCount Integer Number of eligible entries.
Items Array of RollbackTask Rollback task details.
Note: this field may return null, indicating that no valid values can be obtained.
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 Querying the details of a rollback task

Input Example

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

{
    "InstanceId": "cdb-qwer1234",
    "Limit": "1"
}

Output Example

{
    "Response": {
        "TotalCount": 2,
        "Items": [
            {
                "Info": "batch rollback success",
                "Status": "SUCCESS",
                "Progress": 100,
                "StartTime": "2020-04-22 10:01:23",
                "EndTime": "2020-04-22 10:06:25",
                "Detail": [
                    {
                        "InstanceId": "cdb-qwer1234",
                        "Strategy": "full",
                        "RollbackTime": "2020-04-22 10:00:57",
                        "Databases": [],
                        "Tables": [
                            {
                                "Table": [
                                    {
                                        "TableName": "sbtest1",
                                        "NewTableName": "sbtest1_bak"
                                    },
                                    {
                                        "TableName": "sbtest2",
                                        "NewTableName": "sbtest2_bak"
                                    }
                                ],
                                "Database": "dbtest_bak"
                            }
                        ]
                    }
                ]
            }
        ],
        "RequestId": "1ac120c8-744a-4c15-be4e-4431511c0233"
    }
}

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.DatabaseError Backend database error.
InternalError.CdbError System error.
InvalidParameter.ResourceNotExists The resource does not exist.
OperationDenied.UserHasNoStrategy This account is not authorized to access the requested resource.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック