All Products
Search
Document Center

Global Accelerator:ListBasicEndpoints

Last Updated:Jun 10, 2026

Mengkueri titik akhir yang terkait dengan instans Akselerator Global (GA) dasar.

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:ListBasicEndpoints

list

*BasicEndpoint

acs:ga:{#regionId}:{#accountId}:endpointgroup/{#EndpointGroupId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID Wilayah tempat instans GA di-deploy. Atur nilainya ke cn-hangzhou.

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 dapat berisi karakter ASCII.

Catatan

Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan request ID sebagai token klien. Request ID dapat berbeda untuk setiap permintaan.

123e4567-e89b-12d3-a456-426655440000

EndpointGroupId

string

Yes

ID kelompok titik akhir tempat titik akhir yang ingin Anda kueri berada.

epg-bp1dmlohjjz4kqaun****

EndpointType

string

No

Tipe titik akhir yang ingin Anda kueri. Nilai valid:

  • ENI: elastic antarmuka jaringan (ENI).

  • SLB: instans Classic Load Balancer (CLB).

  • ECS: Instans Elastic Compute Service (ECS).

  • NLB: instans Network Load Balancer (NLB).

ENI

EndpointId

string

No

ID titik akhir yang ingin Anda kueri.

ep-bp14sz7ftcwwjgrdm****

Name

string

No

Nama titik akhir yang ingin Anda kueri.

Nama harus terdiri dari 1 hingga 128 karakter, dan dapat berisi huruf, angka, titik (.), garis bawah (_), dan tanda hubung (-). Nama harus dimulai dengan huruf.

ep01

NextToken

string

No

Token yang menentukan titik awal kueri. Nilai valid:

  • Jika ini adalah kueri pertama Anda atau tidak ada kueri berikutnya yang akan dikirim, abaikan parameter ini.

  • Jika kueri berikutnya akan dikirim, atur nilainya ke nilai NextToken yang dikembalikan dari panggilan terakhir.

FFmyTO70tTpLG6I3FmYAXGKPd****

MaxResults

integer

No

Jumlah entri yang akan dikembalikan di setiap halaman. Nilai valid: 1 hingga 50. Nilai default: 10.

10

Elemen respons

Element

Type

Description

Example

object

A list of response parameters.

RequestId

string

The ID of the request.

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

TotalCount

string

The total number of entries returned.

1

NextToken

string

The token that determines the start point of the query. Valid values:

  • If NextToken is not returned, it indicates that no additional results exist.

  • If a value is returned for NextToken, the value is the token that determines the start point of the next query.

FFmyTO70tTpLG6I3FmYAXGKPd****

MaxResults

string

The number of entries returned per page.

10

Endpoints

array<object>

The endpoints that are associated with the basic GA instance.

object

The endpoints that are associated with the basic GA instance.

AcceleratorId

string

The ID of the basic GA instance.

ga-bp17frjjh0udz4qz****

EndpointGroupId

string

The ID of the endpoint group to which the endpoint belongs.

epg-bp1dmlohjjz4kqaun****

EndpointId

string

The ID of the endpoint that is associated with the basic GA instance.

ep-bp14sz7ftcwwjgrdm****

Name

string

The name of the endpoint.

ep01

EndpointType

string

The type of endpoint. Valid values:

  • ENI: ENI.

  • SLB: CLB instance.

  • ECS: ECS instance.

  • NLB: NLB instance.

ENI

EndpointAddress

string

The address of the endpoint.

eni-bp1a05txelswuj8g****

EndpointSubAddress

string

The secondary address of the endpoint.

This parameter is returned if the endpoint type is ECS, ENI, or NLB.

  • If the endpoint type is ECS, EndpointSubAddress returns the primary or secondary private IP address of the primary ENI.

  • If the endpoint type is ENI, EndpointSubAddress returns the primary or secondary private IP address of the secondary ENI.

  • If the endpoint type is NLB, EndpointSubAddress returns the primary private IP address of the NLB backend server.

172.16.XX.XX

EndpointSubAddressType

string

The secondary address type of the endpoint.

  • primary: a primary private IP address.

  • secondary: a secondary private IP address.

This parameter is returned if the type of the endpoint is set to ECS, ENI, or NLB. If the endpoint type is set to NLB, primary is returned.

primary

EndpointZoneId

string

The zone ID of the endpoint.

This parameter is returned only when the endpoint type is set to NLB.

cn-hangzhou-g

State

string

The status of the endpoint. Valid values:

  • init: The endpoint is being initialized.

  • active: The endpoint is available.

  • updating: The endpoint is being configured.

  • binding: The endpoint is being associated.

  • unbinding: The endpoint is being disassociated.

  • deleting: The endpoint is being deleted.

  • bound: The endpoint is associated.

active

Contoh

Respons sukses

JSONformat

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  "TotalCount": "1",
  "NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
  "MaxResults": "10",
  "Endpoints": [
    {
      "AcceleratorId": "ga-bp17frjjh0udz4qz****",
      "EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
      "EndpointId": "ep-bp14sz7ftcwwjgrdm****",
      "Name": "ep01",
      "EndpointType": "ENI",
      "EndpointAddress": "eni-bp1a05txelswuj8g****",
      "EndpointSubAddress": "172.16.XX.XX",
      "EndpointSubAddressType": "primary",
      "EndpointZoneId": "cn-hangzhou-g",
      "State": "active"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.