All Products
Search
Document Center

Global Accelerator:ListDomains

Last Updated:Jun 10, 2026

Mengkueri nama domain yang diakselerasi.

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

ga:ListDomains

list

*Domain

acs:ga:{#regionId}:{#accountId}:ga/*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

No

ID Wilayah instans GA. Atur nilainya ke cn-hangzhou.

cn-hangzhou

AcceleratorId

string

No

ID instans GA yang ingin Anda kueri.

ga-bp1odcab8tmno0hdq****

Domain

string

No

Nama domain yang diakselerasi yang ingin Anda kueri.

www.example.com

PageNumber

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai maksimum: 50. Nilai default: 10.

10

State

string

No

Status Pendaftaran ICP dari Nama domain yang diakselerasi yang ingin Anda kueri. Nilai valid:

  • illegal: Nama domain ilegal.

  • inactive: Nama domain belum menyelesaikan Pendaftaran ICP.

  • active: Nama domain memiliki Pendaftaran ICP yang valid.

  • unknown: Status Pendaftaran ICP tidak diketahui.

active

Elemen respons

Element

Type

Description

Example

object

The response parameters.

TotalCount

integer

The number of entries returned.

1

PageSize

integer

The number of entries returned per page.

10

RequestId

string

The ID of the request.

04F0F334-1335-436C-A1D7-6C044FE73368

PageNumber

integer

The page number of the returned page.

1

Domains

array<object>

A list of accelerated domain names.

array<object>

The list of accelerated domain names.

Accelerators

array<object>

A list of GA instances.

array<object>

The list of GA instances.

AcceleratorId

string

The ID of the GA instance.

ga-bp1odcab8tmno0hdq****

Name

string

The name of the GA instance.

Accelerator

ServiceId

string

The ID of the service that manages the GA instance.

Catatan

This parameter takes effect only if ServiceManaged is set to True.

ALB

ServiceManaged

boolean

Indicates whether the GA instance is managed. Valid values:

  • true: The GA instance is managed.

  • false: The GA instance is not managed.

true

ServiceManagedInfos

array<object>

The actions that you can perform on the managed instance.

Catatan

This parameter takes effect only if ServiceManaged is set to True.

  • You can perform only specific actions on a managed instance.

object

Action

string

The name of the action on the managed instance. Valid values:

  • Create: Create an instance.

  • Update: Update the current instance.

  • Delete: Delete the current instance.

  • Associate: Reference the current instance.

  • UserUnmanaged: Unmanage the instance.

  • CreateChild: Create a child resource in the current instance.

Update

ChildType

string

The type of the child resource. Valid values:

  • Listener: listener.

  • IpSet: acceleration region.

  • EndpointGroup: endpoint group.

  • ForwardingRule: forwarding rule.

  • Endpoint: endpoint.

  • EndpointGroupDestination: protocol mapping of an endpoint group associated with a custom routing listener.

  • EndpointPolicy: traffic policy of an endpoint associated with a custom routing listener.

Catatan

This parameter takes effect only if Action is set to CreateChild.

Listener

IsManaged

boolean

Indicates whether the specified actions are managed. Valid values:

  • true: The specified actions are managed, and you cannot perform the specified actions on the managed instance.

  • false: The specified actions are not managed, and you can perform the specified actions on the managed instance.

false

Domain

string

The accelerated domain name.

www.example.com

State

string

The ICP filing status of the accelerated domain name. Valid values:

  • illegal: The domain name is illegal.

  • inactive: The domain name has not completed ICP filing.

  • active: The domain name has a valid ICP number.

  • unknown: The ICP filing status is unknown.

active

Contoh

Respons sukses

JSONformat

{
  "TotalCount": 1,
  "PageSize": 10,
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  "PageNumber": 1,
  "Domains": [
    {
      "Accelerators": [
        {
          "AcceleratorId": "ga-bp1odcab8tmno0hdq****",
          "Name": "Accelerator",
          "ServiceId": "ALB",
          "ServiceManaged": true,
          "ServiceManagedInfos": [
            {
              "Action": "Update",
              "ChildType": "Listener",
              "IsManaged": false
            }
          ]
        }
      ],
      "Domain": "www.example.com",
      "State": "active"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.