Mengkueri zona titik akhir.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointZones |
get |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Panggil operasi DescribeRegions untuk mendapatkan ID wilayah. |
cn-huhehaote |
| NextToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya. Nilai valid:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai valid: 1 hingga 1000. Nilai default: 50. |
50 |
| EndpointId |
string |
Yes |
ID titik akhir. Setelah Anda menentukan ID titik akhir, sistem akan mengkueri zona titik akhir. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
Yes |
The ID of the region. Call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to retrieve the next page of results. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries returned on each page. |
50 |
| TotalCount |
integer |
The total number of entries returned. |
12 |
| Zones |
array<object> |
The collection of zone information. |
|
|
object |
The information about the zone. |
||
| VSwitchId |
string |
The vSwitch in the zone. The system automatically creates an endpoint elastic network interface (ENI) in the vSwitch. |
vsw-hjkshjvdkdvd**** |
| EniIp |
string |
The IP address of the endpoint ENI. |
192.168.2.23 |
| ZoneStatus |
string |
The status of the zone. Valid values:
|
Wait |
| ZoneId |
string |
The zone ID. |
cn-huhehaote-a |
| EniId |
string |
The ID of the endpoint ENI. |
eni-hp3c8qj1tyct8aqy**** |
| ZoneDomain |
string |
The domain name of the zone. After an endpoint connection is established, use this domain name to access the service resources of the endpoint service. |
ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com |
| RegionId |
string |
The ID of the region where the endpoint is deployed. |
cn-huhehaote |
| ZoneIpv6Address |
string |
The IPv6 address of the endpoint ENI. |
2408:4005:3b6:****:6955:c3cb:34c:**** |
Contoh
Respons sukses
JSONformat
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12,
"Zones": [
{
"VSwitchId": "vsw-hjkshjvdkdvd****",
"EniIp": "192.168.2.23",
"ZoneStatus": "Wait",
"ZoneId": "cn-huhehaote-a",
"EniId": "eni-hp3c8qj1tyct8aqy****",
"ZoneDomain": "ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com",
"RegionId": "cn-huhehaote",
"ZoneIpv6Address": "2408:4005:3b6:****:6955:c3cb:34c:****\n"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointNotFound | The specified Endpoint does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.