Queries the configurations of Alibaba Cloud services that are configured in a Basic Edition transit router.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeRouteServicesInCen |
get |
*CenInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The default value is 10. Valid values: 1 to 50. |
10 |
| CenId |
string |
Yes |
The ID of the Cloud Enterprise Network (CEN) instance. |
cen-pfa6ugf3xl0qsd**** |
| Host |
string |
No |
The endpoint of the Alibaba Cloud service. The endpoint can be a domain name, an IP address, or a CIDR block. |
100.118.28.0/24 |
| HostRegionId |
string |
No |
The ID of the region where the Alibaba Cloud service is deployed. Call the DescribeChildInstanceRegions operation to obtain the region ID. |
cn-hangzhou |
| AccessRegionId |
string |
No |
The ID of the region where the cloud service is accessed. |
cn-hangzhou |
| HostVpcId |
string |
No |
The ID of the VPC that is associated with the Alibaba Cloud service. |
vpc-bp1h8vbrbcgohcju5**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response. |
||
| PageSize |
integer |
The number of entries returned per page. |
10 |
| RequestId |
string |
The request ID. |
196C99CA-6997-5951-9721-AE89720DF856 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| RouteServiceEntries |
object |
||
| RouteServiceEntry |
array<object> |
A list of Alibaba Cloud services. |
|
|
object |
The configuration of the Alibaba Cloud service. |
||
| Status |
string |
The status of the Alibaba Cloud service.
|
Active |
| Host |
string |
The endpoint of the Alibaba Cloud service. |
100.118.28.0/24 |
| Description |
string |
The description of the Alibaba Cloud service. |
descname |
| HostVpcId |
string |
The ID of the VPC that is associated with the Alibaba Cloud service. |
vpc-bp1h8vbrbcgohcju5**** |
| CenId |
string |
The ID of the CEN instance. |
cen-pfa6ugf3xl0qsd**** |
| AccessRegionId |
string |
The ID of the region where the cloud service is accessed. |
cn-hangzhou |
| HostRegionId |
string |
The ID of the region where the Alibaba Cloud service is deployed. |
cn-hangzhou |
| Cidrs |
object |
||
| Cidr |
array |
A list of endpoints for the Alibaba Cloud service. |
|
|
string |
The endpoint of the Alibaba Cloud service.
|
100.118.28.0/24 |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "196C99CA-6997-5951-9721-AE89720DF856",
"PageNumber": 1,
"TotalCount": 2,
"RouteServiceEntries": {
"RouteServiceEntry": [
{
"Status": "Active",
"Host": "100.118.28.0/24",
"Description": "descname",
"HostVpcId": "vpc-bp1h8vbrbcgohcju5****",
"CenId": "cen-pfa6ugf3xl0qsd****",
"AccessRegionId": "cn-hangzhou",
"HostRegionId": "cn-hangzhou",
"Cidrs": {
"Cidr": [
"100.118.28.0/24"
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.