All Products
Search
Document Center

Simple Application Server:DescribeFirewallTemplateApplyResults

Last Updated:Jun 10, 2026

Mengkueri hasil penerapan templat firewall ke server aplikasi sederhana.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

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:

  • Running: The firewall template is being applied to simple application servers.

  • Failed: The firewall template is applied to none of simple application servers.

  • Success: The firewall template is applied to all simple application servers.

  • PartFailed: The firewall template fails to be applied to some simple application servers.

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:

  • Running: The firewall template is being applied to the simple application servers.

  • Failed: The firewall template is applied to none of the simple application servers.

  • Success: The firewall template is applied to all the simple application servers.

  • PartFailed: The firewall template fails to be applied to some simple application servers.

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.