Queries the regions that support PrivateLink.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| RegionId |
string |
No |
地域 ID。 |
cn-hangzhou |
| ServiceResourceType |
string |
No |
The EPS resource type supported by PrivateLink. The available regions vary based on the service resource type. You can specify a service resource type when querying the regions where PrivateLink is available. Valid values:
|
slb |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Regions |
object |
||
| Region |
array<object> |
The collection of available regions. |
|
|
array<object> |
The collection of available regions. |
||
| LocalName |
string |
The name of the region. |
华东1(杭州) |
| RegionEndpoint |
string |
The endpoint of the region service. |
privatelink.cn-hangzhou.aliyuncs.com |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| ServiceResourceTypes |
object |
||
| ServiceResourceType |
array |
The list of resource types supported in the region. Note
If ServiceResourceType is set to "ALL" in the request parameters, all supported resource types are returned. If a specific resource type is specified, only the specified resource type is returned in the list. |
|
|
string |
The supported resource type. |
slb |
|
| RequestId |
string |
The request ID. |
611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F |
Examples
Success response
JSON format
{
"Regions": {
"Region": [
{
"LocalName": "华东1(杭州)",
"RegionEndpoint": "privatelink.cn-hangzhou.aliyuncs.com",
"RegionId": "cn-hangzhou",
"ServiceResourceTypes": {
"ServiceResourceType": [
"slb"
]
}
}
]
},
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.