Queries a list of network instances.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| ConnectType |
string |
No |
The type of connection. Valid values:
|
expressconnect |
| CenId |
string |
No |
The ID of the CEN instance. |
cen-x5jayxou71ad73**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries. |
21 |
| RequestId |
string |
The request ID. |
D2373503-3921-59F2-93A6-3DA7FB7**** |
| NetworkInstanceList |
array<object> |
The details of the network instances. |
|
|
object |
The details of the network instances. |
||
| NetworkInstanceId |
string |
The ID of the network instance. |
vpc-m5ewlqkuf7or**** |
| NetworkInstanceName |
string |
The name of the network instance. |
vpc-test |
| RegionNo |
string |
The region ID. |
cn-shanghai |
| NetworkInstanceType |
string |
The type of the network instance. Valid values:
|
vpc |
Examples
Success response
JSON format
{
"TotalCount": 21,
"RequestId": "D2373503-3921-59F2-93A6-3DA7FB7****",
"NetworkInstanceList": [
{
"NetworkInstanceId": "vpc-m5ewlqkuf7or****",
"NetworkInstanceName": "vpc-test",
"RegionNo": "cn-shanghai",
"NetworkInstanceType": "vpc"
}
]
}
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 | ErrorConnectType | Connect type invalid. | Incorrect selection of interworking type. Please select again. |
| 400 | ErrorMarshalJSON | internal error. | Internal error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.