Mengambil detail database dan tabel yang dapat dipulihkan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeMetaList |
get |
*DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. Catatan
Panggil operasi DescribeDBClusters untuk menanyakan detail semua kluster dalam akun Anda. |
pc-************** |
| BackupId |
string |
No |
ID set cadangan. Catatan
|
111111 |
| RestoreTime |
string |
No |
Titik waktu ke mana Anda ingin memulihkan data. Tentukan waktu dalam format YYYY-MM-DDThh:mmZ. Waktu harus dalam UTC. Catatan
Anda harus menentukan salah satu parameter |
2020-10-04T01:40:00Z |
| GetDbName |
string |
No |
Nama database, seperti Catatan
|
test_db |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai yang valid:
|
30 |
| PageNumber |
integer |
No |
Nomor halaman. Nilainya harus berupa bilangan bulat yang lebih besar dari 0 dan tidak melebihi nilai maksimum tipe data Integer. Nilai default: 1. |
1 |
| RegionCode |
string |
No |
ID wilayah instans. Anda dapat memanggil DescribeDBClusterAttribute untuk menanyakan ID wilayah. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalPageCount |
string |
Total jumlah halaman. |
1 |
| TotalRecordCount |
string |
Total jumlah catatan. |
2 |
| PageSize |
string |
Jumlah catatan pada halaman saat ini. |
30 |
| RequestId |
string |
ID permintaan. |
AA815DE7-B576-4B22-B33C-3FB31A****** |
| PageNumber |
string |
Nomor halaman. |
1 |
| Items |
array<object> |
Detail database dan tabel yang dapat dipulihkan. |
|
|
object |
|||
| Database |
string |
Nama database yang dapat dipulihkan. |
test_db |
| Tables |
array |
Nama tabel yang dapat dipulihkan. |
|
|
string |
Nama tabel yang dapat dipulihkan. |
test_tb1 |
|
| Size |
array |
Ukuran database atau tabel, dalam byte. |
|
|
integer |
Ukuran database atau tabel dalam byte. |
16384 |
|
| DBClusterId |
string |
ID kluster. |
pc-bp1s826a1up****** |
Contoh
Respons sukses
JSONformat
{
"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******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.