Mengkueri detail aturan pencegahan pelolosan kontainer.
Deskripsi operasi
Hanya pengguna Pusat Keamanan Edisi Ultimate yang dapat memanggil operasi ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetAegisContainerPluginRule |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Tipe bahasa untuk permintaan dan tanggapan. Nilai default: zh. Nilai valid:
|
zh |
| RuleType |
integer |
No |
Tipe aturan. Nilai valid:
|
0 |
| Id |
string |
No |
ID aturan pencegahan pelolosan kontainer. Catatan
Anda dapat memanggil operasi ListAegisContainerPluginRule untuk mengkueri parameter ini. |
1141**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
Data tanggapan. |
|
| GmtCreate |
integer |
Stempel waktu saat aturan dibuat. Unit: milidetik. |
1671607025000 |
| GmtModified |
integer |
Stempel waktu saat aturan dimodifikasi. Unit: milidetik. |
1671607025000 |
| RuleId |
integer |
ID aturan. |
21** |
| RuleName |
string |
Nama aturan. |
auto_test_rule-EmzIXZ |
| RuleDescription |
string |
Deskripsi aturan. |
autoTest |
| RuleTemplateId |
string |
ID templat aturan. |
100** |
| RuleTemplateName |
string |
Nama templat aturan. |
template01 |
| Mode |
integer |
Mode aksi aturan. Nilai valid:
|
1 |
| SelectedPolicy |
array |
Daftar item aturan yang dipilih. |
|
|
string |
Item aturan. |
notify_on_release_2 |
|
| SwitchId |
string |
ID switch yang sesuai. |
USER-CONTAINER-RULE-SWITCH-TYPE_*** |
| WhiteImages |
array |
Daftar image yang masuk daftar putih. |
|
|
string |
Image yang masuk daftar putih. |
centos |
|
| RequestId |
string |
ID permintaan, yaitu pengidentifikasi unik yang dihasilkan Alibaba Cloud untuk permintaan tersebut. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
09969D2C-***0DEF8BF6F |
Contoh
Respons sukses
JSONformat
{
"Data": {
"GmtCreate": 1671607025000,
"GmtModified": 1671607025000,
"RuleId": 0,
"RuleName": "auto_test_rule-EmzIXZ",
"RuleDescription": "autoTest",
"RuleTemplateId": "100**",
"RuleTemplateName": "template01",
"Mode": 1,
"SelectedPolicy": [
"notify_on_release_2"
],
"SwitchId": "USER-CONTAINER-RULE-SWITCH-TYPE_***",
"WhiteImages": [
"centos"
]
},
"RequestId": "09969D2C-***0DEF8BF6F"
}
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.