Mengubah informasi objek jaringan firewall kontainer.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyInterceptionTarget |
update |
*All Resources
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TargetId |
integer |
Yes |
ID objek jaringan. Catatan
Anda dapat memanggil operasi ListInterceptionTargetPage untuk mendapatkan parameter ini. |
400913 |
| TargetName |
string |
Yes |
Nama. |
test001 |
| TargetType |
string |
Yes |
Tipe target. Nilai valid:
|
IMAGE |
| Namespace |
string |
Yes |
Namespace. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
demo4 |
| AppName |
string |
No |
Nama aplikasi. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
yasintt-daemonst |
| ImageList |
array |
No |
Daftar image. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
|
|
string |
No |
Image. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
arms-prom-operator:v0.1 |
|
| TagList |
array |
No |
Daftar Label. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
|
|
string |
No |
Label. Catatan
Anda dapat memanggil operasi DescribeContainerTags untuk mendapatkan parameter ini. |
app.kubernetes.io/component:query |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| Result |
boolean |
Hasil permintaan. Nilai valid:
|
true |
| RequestId |
string |
ID permintaan, yaitu pengidentifikasi unik yang dibuat oleh Alibaba Cloud untuk permintaan tersebut. Anda dapat menggunakan ID ini untuk memecahkan masalah. |
16CB4467-56AE-546C-BF19-AD4584C0DD03 |
Contoh
Respons sukses
JSONformat
{
"Result": true,
"RequestId": "16CB4467-56AE-546C-BF19-AD4584C0DD03"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | The service is faulty. Try again later. |
| 403 | NoPermission | caller has no permission | The current operation is not authorized. Contact the Alibaba Cloud account to grant authorization in the RAM console before performing the operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.