Mengonfigurasi ulang WAF untuk sebuah Site
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:EditSiteWafSettings |
none |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
No |
ID Site, yang dapat diperoleh dengan memanggil API ListSites. |
1 |
| SiteVersion |
integer |
No |
Versi Site. |
0 |
| Settings | WafSiteSettings |
No |
Informasi konfigurasi WAF untuk site, dikirimkan dalam format JSON. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
36af3fcc-43d0-441c-86b1-428951dc8225 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | SpecifiedVersionReadOnly | The specified version number is read-only and cannot be modified. | |
| 403 | %s.NotSupport | The specified resource type %s is not supported. | |
| 403 | %s.OverQuota | The quantity of %s exceeds the quota. | |
| 403 | %s.WrongValueMatched | The value of specified parameter %s can not pass the matching check. | |
| 403 | Site.NotExist | The specified website does not exist or is not recognized by the system.Check whether the specified website identifier is valid and matches a website that is active, defined, and recognized by the system.If you want to add a new website, make sure that the creation and registration process is complete to integrate the website to the system. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.