Mengkueri hasil penerapan templat firewall ke server aplikasi sederhana.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
swas-open:DescribeFirewallTemplateApplyResults |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah server aplikasi sederhana. Anda dapat memanggil operasi ListRegions untuk mengkueri daftar wilayah 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 token tersebut unik untuk setiap permintaan. Token hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat Cara memastikan idempotensi. |
123e4567-e89b-12d3-a456-426655440000 |
| FirewallTemplateId |
string |
No |
ID templat firewall. |
ft-bcf1a7hrdq717**** |
| TaskId |
array |
No |
ID eksekusi untuk menerapkan templat. |
|
|
string |
No |
The ID of the execution to apply the template. |
aft-ikgt0bynitvs3**** |
|
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
30637AD6-D977-4833-A54C-CC89483E**** |
| PageNumber |
string |
The page number. |
1 |
| PageSize |
string |
The number of entries per page. Default value: 20. |
20 |
| TotalCount |
string |
The total number of entries returned. |
1 |
| data |
array<object> |
The returned results. |
|
|
array<object> |
|||
| TaskId |
string |
The ID of the execution to apply the template. |
aft-ikgt0bynitvs3**** |
| FirewallTemplateId |
string |
The ID of the firewall template. |
ft-bcf1a7hrdq717**** |
| Status |
string |
The status of applying the template to all simple application servers. Valid values:
|
Success |
| TotalCount |
string |
The total number of entries returned. |
1 |
| FailedCount |
string |
The total number of simple application servers to which the firewall template fails to apply. |
0 |
| InstanceApplyResults |
array<object> |
The result of applying the firewall template to the simple application servers. |
|
|
object |
|||
| InstanceId |
string |
The ID of the simple application server. |
33774babccc84003a2b1ad47e8001233 |
| Status |
string |
The status of applying the firewall template to the simple application servers. Valid values:
|
Success |
| CreateTime |
string |
The time when the firewall template was applied to the simple application servers. |
Tue May 14 11:53:07 CST 2024 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "30637AD6-D977-4833-A54C-CC89483E****",
"PageNumber": "1",
"PageSize": "20",
"TotalCount": "1",
"data": [
{
"TaskId": "aft-ikgt0bynitvs3****",
"FirewallTemplateId": "ft-bcf1a7hrdq717****",
"Status": "Success",
"TotalCount": "1",
"FailedCount": "0",
"InstanceApplyResults": [
{
"InstanceId": "33774babccc84003a2b1ad47e8001233",
"Status": "Success"
}
],
"CreateTime": "Tue May 14 11:53:07 CST 2024"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.