Menghapus layanan cloud dari Web Application Firewall (WAF). Operasi ini saat ini hanya mendukung Elastic Compute Service (ECS) dan Classic Load Balancer (CLB).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DeleteCloudResource |
delete |
*DefenseResource
DefenseResource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Instans WAF. Catatan
Panggil DescribeInstance untuk melihat ID Instans WAF Anda. |
waf_v2_public_cn-*** |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
ResourceProduct
deprecated
|
string |
No |
Tipe layanan cloud. Nilai valid:
|
clb7 |
ResourceInstanceId
deprecated
|
string |
No |
ID Instans layanan cloud. |
lb-bp1*****jqnnqk5uj2p |
Port
deprecated
|
integer |
No |
Port layanan cloud yang ditambahkan ke WAF. |
443 |
| CloudResourceId |
string |
No |
ID Sumber daya yang dilindungi. WAF secara otomatis menghasilkan ID ini saat Anda menambahkan layanan cloud ke WAF. Catatan
Panggil CreateCloudResource untuk menambahkan Sumber daya lalu melihat ID Sumber daya di tanggapan. |
lb-****py9kcm2n6nuesiu2a-80-clb4 |
| RegionId |
string |
Yes |
Wilayah tempat Instans WAF berada. Nilai valid:
|
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues. |
D7861F61-5B61-46CE-A47C-*** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D7861F61-5B61-46CE-A47C-***"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Waf.Control.DefenseResourceEmpty | CloudResourceId parameter is illegal. | |
| 400 | Waf.Control.CloudProductInfoEmpty | The resource Id of the cloud product accessing WAF is null or null values exist in the three input parameters of the cloud product name, port, and cloud product instance. | |
| 400 | Waf.Control.CloudProductInfoNotMartch | The value of the cloud product, port, instance, and input parameter to which the resource ID of the cloud product is connected to WAF does not match. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.