リカバリ可能なデータベースとテーブルの詳細をクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
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 を呼び出してリージョン ID をクエリできます。 |
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 |
データベースまたはテーブルのサイズ (バイト単位)。 |
|
|
integer |
データベースまたはテーブルのサイズ (バイト単位)。 |
16384 |
|
| DBClusterId |
string |
クラスター ID。 |
pc-bp1s826a1up****** |
例
成功レスポンス
JSONJSON
{
"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 ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. | |
| 400 | MissingUserID | The request is missing a user_id parameter. | |
| 400 | MissingUID | The request is missing a uid parameter. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidBackup.NotFound | The available backup does not exist in recovery time. | |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。