查看支持恢复的库表信息详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
polardb:DescribeMetaList |
get |
*DBCluster
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DBClusterId |
string |
是 |
集群 ID。 说明
您可以通过 DescribeDBClusters 接口查询账号下所有集群的信息详情。 |
pc-************** |
| BackupId |
string |
否 |
备份集 ID。 说明
|
111111 |
| RestoreTime |
string |
否 |
还原时间点,格式为 YYYY-MM-DDThh:mmZ(UTC 时间)。 说明
查询时, |
2020-10-04T01:40:00Z |
| GetDbName |
string |
否 |
传入具体的数据库名称(如 说明
|
test_db |
| PageSize |
integer |
否 |
每页记录数,取值范围如下:
|
30 |
| PageNumber |
integer |
否 |
页码,取值范围为大于 0 但不超过 Integer 最大值的整数,默认值为 1。 |
1 |
| RegionCode |
string |
否 |
实例所在地域 ID,您可以调用 DescribeDBClusterAttribute 查询。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| TotalPageCount |
string |
总页数。 |
1 |
| TotalRecordCount |
string |
总记录数。 |
2 |
| PageSize |
string |
本页记录数。 |
30 |
| RequestId |
string |
请求 ID。 |
AA815DE7-B576-4B22-B33C-3FB31A****** |
| PageNumber |
string |
页码。 |
1 |
| Items |
array<object> |
支持恢复的库表信息详情。 |
|
|
object |
|||
| Database |
string |
支持恢复的数据库名称。 |
test_db |
| Tables |
array |
支持恢复的表名称。 |
|
|
string |
支持恢复的表名称。 |
test_tb1 |
|
| Size |
array |
库表大小。单位:字节 (Byte)。 |
|
|
integer |
库表大小。单位:字节 (Byte)。 |
16384 |
|
| DBClusterId |
string |
集群 ID。 |
pc-bp1s826a1up****** |
示例
正常返回示例
JSON格式
{
"TotalPageCount": "1",
"TotalRecordCount": "2",
"PageSize": "30",
"RequestId": "AA815DE7-B576-4B22-B33C-3FB31A******",
"PageNumber": "1",
"Items": [
{
"Database": "test_db",
"Tables": [
"test_tb1"
],
"Size": [
16384
]
}
],
"DBClusterId": "pc-bp1s826a1up******"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidRestoreType.Format | Specified restore type is not valid. | 操作失败,指定的还原类型无效。 |
| 400 | InvalidRestoreTime.Format | Specified restore time is not valid. | 操作失败,指定的恢复时间无效。 |
| 400 | InvalidBackupSetID.NotFound | Specified backup set ID does not exist. | |
| 400 | IncorrectBackupSetState | Current backup set state does not support operations. | |
| 400 | InvalidDBName.Duplicate | Specified DB name already exists in the This instance. | 操作失败,此实例中已存在指定的数据库名称。 |
| 400 | InvalidParameters.Format | Specified parameters is not valid. | 指定的参数无效。 |
| 400 | InsufficientResourceCapacity | There is insufficient capacity available for the requested instance. | 操作失败,请求的实例没有足够的可用容量。 |
| 400 | InvalidRestoreType.NotFound | At least one of BackupId and RestoreTime is malformed. | BackupId和RestoreTime中至少有一个格式不正 |
| 400 | MissingUserID | The request is missing a user_id parameter. | 请求缺少user_id参数 |
| 400 | MissingUID | The request is missing a uid parameter. | 请求缺少uid参数 |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | 当前的记录中不存在提供的DBClusterId。 |
| 404 | InvalidBackup.NotFound | The available backup does not exist in recovery time. | 操作失败,可用备份在恢复时间内不存在。 |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | 当前的记录中不存在提供的DBClusterId。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。