Mengatur status pertahanan firewall kontainer.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:SetClusterInterceptionConfig |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterIds |
string |
Yes |
ID kluster. Pisahkan beberapa ID kluster dengan koma (,). Catatan
Anda dapat memanggil operasi ListClusterInterceptionConfig untuk mendapatkan parameter ini. |
c60b77fe62093480db6164a3c2fa**** |
| SwitchType |
integer |
Yes |
Tipe sakelar yang ingin Anda konfigurasi. Nilai valid:
|
0 |
| SwitchOn |
integer |
Yes |
Operasi sakelar. Nilai valid:
|
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| Result |
boolean |
Hasil pemrosesan permintaan. Nilai valid:
|
true |
| RequestId |
string |
ID permintaan, yang digunakan untuk melacak dan memecahkan masalah. |
74AB990C-539B-579B-9239-B8A2036B7337 |
Contoh
Respons sukses
JSONformat
{
"Result": true,
"RequestId": "74AB990C-539B-579B-9239-B8A2036B7337"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.