Menambahkan kebijakan pemblokiran IP tertentu ke satu atau beberapa server spesifik berdasarkan kebutuhan yang disesuaikan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateCustomBlockRecord |
create |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Uuids |
string |
Yes |
UUID instans aset. Pisahkan beberapa UUID dengan koma (,). |
71c846d6-5c84-4714-acfc-58265bc3****,5013b5e8-1613-43a8-b4de-651db318****,df53f0ad-b3ba-4fe0-9ec7-f42a2ae2**** |
| BlockIp |
string |
Yes |
Alamat IP tunggal yang akan diblokir. Server memblokir akses Trafik dari IP ini. |
192.168.xx.xx |
| Bound |
string |
Yes |
Arah pemblokiran lalu lintas antara IP kustom dan server. Nilai valid:
|
in |
| ExpireTime |
integer |
Yes |
Pengatur waktu kedaluwarsa kebijakan. |
1859094550000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan, yaitu pengidentifikasi unik yang dihasilkan oleh Alibaba Cloud untuk permintaan. Dapat digunakan untuk memecahkan masalah dan melacak isu. |
30CBF632-109F-596F-97F2-451C8B2A**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "30CBF632-109F-596F-97F2-451C8B2A****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RuleRecordIsExists | Rule record already exists. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.