Queries the list of zones supported by PrivateLink in a specified region. In cross-region scenarios, the zones supported on the endpoint side and the endpoint service side are independent of each other. This operation allows you to query the supported zones for the endpoint side and the endpoint service side separately.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the zones. You can call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| ServiceResourceType |
string |
No |
The zone active status of PrivateLink in a region depends on the EPS resource type. You can specify the EPS resource type when querying the list of zones supported by PrivateLink. Valid values:
|
slb |
| CrossRegion |
boolean |
No |
Specifies whether this is a cross-region scenario. Default value: false. Set CrossRegion to true and use it together with CrossRegionSide in the following scenarios:
|
false |
| CrossRegionSide |
string |
No |
Specifies whether to query the zone active status for the initiator side or the service side in a cross-region connection. Valid values:
Note
This parameter takes effect only when CrossRegion is set to true. |
EndpointService |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F |
| Zones |
object |
||
| Zone |
array<object> |
The collection of zones. |
|
|
object |
The collection of zones. |
||
| LocalName |
string |
The zone name. |
China (Hangzhou) Zone B |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
Examples
Success response
JSON format
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Zones": {
"Zone": [
{
"LocalName": "China (Hangzhou) Zone B",
"ZoneId": "cn-hangzhou-b"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.