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 obtain the region ID. |
cn-hangzhou |
| ServiceResourceType |
string |
No |
The zone availability of PrivateLink in a region depends on the backend EPS resource type. You can specify the EPS resource type when querying the list of zones supported by PrivateLink. Valid values:
|
slb |
| RegionId |
string |
Yes |
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 |
| CrossRegion |
boolean |
No |
Specifies whether to query the zone availability 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 |
| CrossRegionSide |
string |
No |
Specifies whether to query the active zone support 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": "华东1 可用区B",
"ZoneId": "cn-hangzhou-b"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.