Mengkueri titik akhir yang terkait dengan instans Akselerator Global (GA) dasar.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListBasicEndpoints |
list |
*BasicEndpoint
|
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 |
| 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:
|
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:
|
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 |
| 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.
|
172.16.XX.XX |
| EndpointSubAddressType |
string |
The secondary address type of the endpoint.
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:
|
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.