Call the ListVpcEndpointZones operation to query the zones of an endpoint.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointZones |
get |
*VpcEndpoint
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. Call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
The number of entries to return on each page. Valid values: 1 to 1000. Default value: 50. |
50 |
| EndpointId |
string |
Yes |
The ID of the endpoint. After you specify the endpoint ID, the system queries the zones of the endpoint. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
Yes |
The ID of the region. Call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
Response elements
|
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:**** |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointNotFound | The specified Endpoint does not exist. | The specified Endpoint does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.