Panggil operasi DescribeDcdnFullDomainsBlockIPHistory untuk mengambil riwayat alamat IP yang diblokir.
Deskripsi operasi
Operasi ini mengembalikan waktu pengiriman dan status untuk alamat IP serta rentang waktu tertentu.
Jika terdapat beberapa catatan pengiriman untuk alamat IP atau Blok CIDR tertentu dalam suatu rentang waktu, catatan tersebut diurutkan berdasarkan waktu pengiriman secara menurun (descending order).
Rentang waktu maksimum yang dapat Anda kueri adalah 90 hari.
Jika tidak ada catatan pengiriman untuk alamat IP dan rentang waktu tertentu, atau jika pengiriman gagal, waktu pengirimannya akan kosong.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnFullDomainsBlockIPHistory |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| IPList |
string |
Yes |
Alamat IP atau Blok CIDR yang akan dikueri. |
10.XX.XX.10/24 |
| StartTime |
string |
Yes |
Awal rentang waktu untuk dikueri. Tentukan waktu dalam format YYYY-MM-DDThh:mm:ssZ. |
2023-04-24T17:00:00Z |
| EndTime |
string |
Yes |
Akhir rentang waktu untuk dikueri. Tentukan waktu dalam format YYYY-MM-DDThh:mm:ssZ. Waktu akhir harus lebih baru daripada waktu mulai. |
2023-04-24T19:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
13A2B792-9212-1CC9-8525-59EBEF3FFE01 |
| IPBlockInfo |
array<object> |
Hasil operasi. |
|
|
object |
|||
| BlockIP |
string |
Alamat IP atau Blok CIDR yang diblokir. |
1.XXX.XXX.0~1.XXX.XXX.255 |
| DeliverTime |
string |
Waktu pengiriman. |
2023-04-24 18:49:37 |
| Status |
string |
Status pengiriman.
|
Success |
| OperationType |
string |
||
| BlockInterval |
string |
||
| UpdateType |
string |
||
| Code |
integer |
Kode hasil. Nilai selain 0 untuk Code dapat mengindikasikan salah satu dari masalah berikut:
|
0 |
| Description |
string |
Deskripsi status respons. |
OK |
Contoh
Respons sukses
JSONformat
{
"RequestId": "13A2B792-9212-1CC9-8525-59EBEF3FFE01",
"IPBlockInfo": [
{
"BlockIP": "1.XXX.XXX.0~1.XXX.XXX.255",
"DeliverTime": "2023-04-24 18:49:37",
"Status": "Success",
"OperationType": "",
"BlockInterval": "",
"UpdateType": ""
}
],
"Code": 0,
"Description": "OK"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 500 | InternalError | An internal error occurred; please try again later. | An internal error occurred. Try again later. If the error persists, submit a ticket. |
| 406 | InvalidKey.QuotaFull | The maximum number of keys is exceeded. | The number of keys has reached the upper limit. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.