开始按实例计费tidb的恢复 - StartTiDBClusterRestore
简介
开始按实例计费tidb的恢复
定义
公共参数
| 参数名 | 类型 | 描述信息 | 必填 |
|---|---|---|---|
| Action | string | 对应的 API 指令名称,当前 API 为 StartTiDBClusterRestore | Yes |
| PublicKey | string | 用户公钥,可从 控制台 获取 | Yes |
| Signature | string | 根据公钥及 API 指令生成的用户签名,参见 签名算法 | Yes |
请求参数
| 参数名 | 类型 | 描述信息 | 必填 |
|---|---|---|---|
| Region | string | 地域。 参见 地域和可用区列表 | Yes |
| BackupId | string | 备份id | Yes |
| Id | string | 实例id | Yes |
响应字段
| 字段名 | 类型 | 描述信息 | 必填 |
|---|---|---|---|
| RetCode | int | 返回状态码,为 0 则为成功返回,非 0 为失败 | Yes |
| Action | string | 操作指令名称 | Yes |
| Message | string | 返回错误消息,当 RetCode 非 0 时提供详细的描述信息 | No |
| RestoreId | string | 恢复任务Id | Yes |
| ServiceId | string | 实例id | Yes |
示例
请求示例
https://api.tnqacloud.com/?Action=StartTiDBClusterRestore
&Region=cn-zj
&BackupId=WjspwUvO
&Id=ltdnOqWw响应示例
{
"Action": "StartTiDBClusterRestoreResponse",
"Message": "rJfLhaPY",
"RestoreId": "zPcTqOJC",
"RetCode": 0,
"ServiceId": "mPMyGJFZ"
}