Queries a list of Cloud Enterprise Network (CEN) instances for a VPC.
Operation description
QPS limit
The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which can affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the content. Valid values:
|
zh |
| Lang |
string |
No |
The language of the content. Valid values:
|
zh |
| CurrentPage |
string |
No |
The page number for a paged query. The default value is 1. |
1 |
| PageSize |
string |
No |
The number of entries to return on each page. |
10 |
| MemberUid |
string |
No |
The UID of the member account. |
135809047715**** |
| TransitRouterType |
string |
No |
The type of the CEN transit router. Valid values: Basic: Basic Edition Enterprise: Enterprise Edition |
Basic |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries returned. |
5 |
| RequestId |
string |
The ID of the request. |
432D6CCA-5186-5B91-A2B8-10C8994B**** |
| CenList |
array<object> |
The list of CEN instances. |
|
|
object |
The list of CEN instances. |
||
| CenName |
string |
The name of the CEN instance. |
test |
| CenId |
string |
The ID of the CEN instance. |
cen-maqfw3abcmjy56**** |
| RegionNoList |
array |
The list of region IDs for the VPC border firewall. |
|
|
string |
The list of region IDs for the VPC border firewall. |
[ "cn-hangzhou", "cn-beijing" ] |
Examples
Success response
JSON format
{
"TotalCount": 5,
"RequestId": "432D6CCA-5186-5B91-A2B8-10C8994B****",
"CenList": [
{
"CenName": "test",
"CenId": "cen-maqfw3abcmjy56****",
"RegionNoList": [
"[\n \"cn-hangzhou\",\n \"cn-beijing\"\n]"
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorPageNo | Either page number or page size is invalid. | Either page number or page size is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.