Mengkueri daftar log cadangan dan mengembalikan URL unduhannya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeBackupLogs |
get |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster. |
pc-************** |
| StartTime |
string |
Yes |
Awal rentang pengatur waktu untuk dikueri. Tentukan pengatur waktu dalam format YYYY-MM-DDThh:mmZ. Pengatur waktu harus dalam UTC. |
2020-02-01T15:00Z |
| EndTime |
string |
Yes |
Akhir rentang pengatur waktu untuk dikueri. Pengatur waktu akhir harus lebih lambat dari Waktu mulai. Tentukan pengatur waktu dalam format YYYY-MM-DDThh:mmZ. Pengatur waktu harus dalam UTC. |
2020-02-12T15:00Z |
| BackupRegion |
string |
No |
Wilayah cadangan. |
cn-hangzhou |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai valid:
Nilai default: 30. |
30 |
| PageNumber |
integer |
No |
Nomor halaman. Nilai harus berupa bilangan bulat yang lebih besar dari 0 dan tidak melebihi nilai maksimum tipe data Integer. Nilai default: 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalRecordCount |
string |
The total number of entries. |
2 |
| PageRecordCount |
string |
The number of entries returned on the current page. |
2 |
| RequestId |
string |
The request ID. |
ADAC63DB-0691-4ECE-949A-FAEA68****** |
| PageNumber |
string |
The page number. |
1 |
| Items |
object |
||
| BackupLog |
array<object> |
The details of the backup logs. |
|
|
object |
|||
| BackupLogId |
string |
The ID of the backup log. |
1111111111 |
| IntranetDownloadLink |
string |
The internal URL used to download the backup log. |
http://***********.oss-cn-hangzhou-internal.aliyuncs.com |
| LinkExpiredTime |
string |
The time when the download URL expires. |
2020-02-14T08:40:50Z |
| BackupLogStartTime |
string |
The time when the backup task started. The time follows the ISO 8601 standard in the |
2020-02-12T03:54:43Z |
| BackupLogEndTime |
string |
The time when the backup task ended. The time follows the ISO 8601 standard in the |
2020-02-12T03:55:31Z |
| DownloadLink |
string |
The public URL used to download the backup log. |
http://***********.oss-cn-hangzhou.aliyuncs.com |
| BackupLogSize |
string |
The size of the backup log. Unit: bytes. |
1073741824 |
| BackupLogName |
string |
The name of the backup log. |
ib_logfile1 |
Contoh
Respons sukses
JSONformat
{
"TotalRecordCount": "2",
"PageRecordCount": "2",
"RequestId": "ADAC63DB-0691-4ECE-949A-FAEA68******",
"PageNumber": "1",
"Items": {
"BackupLog": [
{
"BackupLogId": "1111111111",
"IntranetDownloadLink": "http://***********.oss-cn-hangzhou-internal.aliyuncs.com",
"LinkExpiredTime": "2020-02-14T08:40:50Z",
"BackupLogStartTime": "2020-02-12T03:54:43Z",
"BackupLogEndTime": "2020-02-12T03:55:31Z",
"DownloadLink": "http://***********.oss-cn-hangzhou.aliyuncs.com",
"BackupLogSize": "1073741824",
"BackupLogName": "ib_logfile1"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified parameter StartTime is not valid. | |
| 400 | InvalidEndTime.Malformed | The specified parameter EndTime is not valid. | |
| 400 | InvalidPageSize.Malformed | The specified parameter PageSize is not valid. | |
| 400 | InvalidPageNumber.Malformed | The specified parameter PageNumber is not valid. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | |
| 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.