ListEndpointByRegion
Queries the supported MaxCompute service endpoints and Tunnel data transfer endpoints in a specified region. Results are grouped by Internet, VPC, and Alibaba Cloud product interconnect network. Only configured network types for the region are returned.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/endpoints HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region |
string |
No |
The ID of the MaxCompute region to query. If omitted, the region in the request context is used. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response, which contains the request ID and region endpoints. |
||
| requestId |
string |
The ID of the request. |
EFAB5AA9-394A-5B28-81FB-A32F03C4DD13 |
| httpCode |
integer |
The HTTP status code returned when the request fails. |
400 |
| errorCode |
string |
The error code returned when the request fails. |
InvalidArgument |
| errorMsg |
string |
The error message returned when the request fails. |
The specified parameter is invalid. |
| data |
object |
The MaxCompute service and Tunnel endpoints for various network types in the region. |
|
| region |
string |
The ID of the MaxCompute region to which these endpoints belong. |
cn-hangzhou |
| vpc |
object |
The MaxCompute service and Tunnel endpoints for Virtual Private Cloud (VPC). |
|
| mcEndpoint |
string |
The endpoint used to access the MaxCompute service over a VPC. |
https://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api |
| tunnelEndpoint |
string |
The endpoint used for Tunnel data transfer over a VPC. |
https://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com |
| external |
object |
The MaxCompute service and Tunnel endpoints for the Internet. |
|
| mcEndpoint |
string |
The endpoint for public network access to the MaxCompute service. |
https://service.cn-hangzhou.maxcompute.aliyun.com/api |
| tunnelEndpoint |
string |
The endpoint used for Tunnel data transfer over the Internet. |
https://dt.cn-hangzhou.maxcompute.aliyun.com |
| classic |
object |
The MaxCompute service and Tunnel endpoints for the Alibaba Cloud product interconnect network. The API retains the classic field name. |
|
| mcEndpoint |
string |
The endpoint used to access the MaxCompute service over the Alibaba Cloud product interconnect network. |
https://service.cn-hangzhou-intranet.maxcompute.aliyun-inc.com/api |
| tunnelEndpoint |
string |
The endpoint used for Tunnel data transfer over the Alibaba Cloud product interconnect network. |
https://dt.cn-hangzhou-intranet.maxcompute.aliyun-inc.com |
Examples
Success response
JSON format
{
"requestId": "EFAB5AA9-394A-5B28-81FB-A32F03C4DD13",
"httpCode": 400,
"errorCode": "InvalidArgument",
"errorMsg": "The specified parameter is invalid.",
"data": {
"region": "cn-hangzhou",
"vpc": {
"mcEndpoint": "https://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api",
"tunnelEndpoint": "https://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com"
},
"external": {
"mcEndpoint": "https://service.cn-hangzhou.maxcompute.aliyun.com/api",
"tunnelEndpoint": "https://dt.cn-hangzhou.maxcompute.aliyun.com"
},
"classic": {
"mcEndpoint": "https://service.cn-hangzhou-intranet.maxcompute.aliyun-inc.com/api",
"tunnelEndpoint": "https://dt.cn-hangzhou-intranet.maxcompute.aliyun-inc.com"
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.