Menghapus beberapa aturan firewall dari simple application server.
Deskripsi operasi
Setelah aturan firewall dihapus, bisnis Anda yang di-deploy pada simple application server mungkin menjadi tidak dapat diakses. Sebelum Anda menghapus aturan firewall, pastikan bahwa aturan firewall tersebut sudah tidak diperlukan lagi oleh simple application server.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
swas-open:DeleteFirewallRules |
delete |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID simple application server. |
2ad1ae67295445f598017499dc**** |
| RegionId |
string |
Yes |
ID region simple application server. Anda dapat memanggil operasi ListRegions untuk mengkueri daftar region terbaru. |
cn-hangzhou |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat Cara memastikan idempotensi. |
123e4567-e89b-12d3-a456-426655440000 |
| RuleIds |
array |
No |
ID aturan firewall yang ingin Anda hapus. |
|
|
string |
No |
ID aturan firewall yang ingin Anda hapus. |
eeea34d9867b4d55a4ff8d5fcfbd**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
20758A-585D-4A41-A9B2-28DA8F4F534F |
Contoh
Respons sukses
JSONformat
{
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F534F"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidProtocol.ValueNotSupported | The specified parameter Protocol is invalid. | |
| 400 | InvalidPort.ValueNotSupported | The specified parameter Port is invalid. | |
| 400 | RegionIdNotMatchHost | The parameter regionId does not match the endpoint host. | |
| 500 | InternalError | An error occurred while processing your request. | |
| 403 | FirewallRuleLimitExceed | The maximum number of firewall rules in an instance is exceeded. | |
| 403 | FirewallRuleAlreadyExist | The specified Rule already exist | |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.