Queries the information about a network instance, such as a virtual private cloud (VPC), a virtual border router, or a Cloud Connect Network (CCN) instance, that is attached to a Cloud Enterprise Network (CEN) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenAttachedChildInstanceAttribute |
get |
*CenInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
The ID of the CEN instance. |
cen-5mv960yjhja0dh**** |
| ChildInstanceId |
string |
Yes |
The ID of the network instance that is attached to the CEN instance. |
vpc-2zebdboka7d7t37vo**** |
| ChildInstanceType |
string |
Yes |
The type of the network instance. Valid values:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
The region ID of the network instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-beijing |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Status |
string |
Indicates whether the network instance is attached to the CEN instance.
|
Attached |
| ChildInstanceType |
string |
The type of the network instance. Valid values:
|
VPC |
| ChildInstanceRegionId |
string |
The region ID of the network instance. |
cn-beijing |
| RequestId |
string |
The ID of the request. |
ADD98358-D265-4060-87CB-A2427F5A8944 |
| ChildInstanceOwnerId |
integer |
The ID of the Alibaba Cloud account to which the network instance belongs. |
1688000000000000 |
| ChildInstanceId |
string |
The ID of the network instance. |
vpc-2zebdboka7d7t37vo**** |
| CenId |
string |
The ID of the CEN instance. |
cen-5mv960yjhja0dh**** |
| ManagedService |
string |
The cloud service that the network instance belongs to. Its standard code is only returned when the VPC is connected to the transit router. For self-managed VPCs, no code is returned. |
swas |
| ChildInstanceAttachTime |
string |
The time when the network instance was attached to the CEN instance. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mmZ format. The time is displayed in UTC. |
2018-07-30T07:53Z |
| ChildInstanceAttributes |
object |
The details about the network instance. |
|
| CidrBlock |
string |
The IPv4 CIDR block of the VPC. |
192.168.0.0/16 |
| SecondaryCidrBlocks |
object |
||
| secondaryCidrBlock |
array |
The information about the VPC secondary CIDR block. |
|
|
string |
The secondary IPv4 CIDR block of the VPC. |
192.168.20.0/24 |
|
| Ipv6CidrBlock |
string |
The IPv6 CIDR block of the VPC. |
2408:XXXX:0:a600::/56 |
| Ipv6CidrBlocks |
object |
||
| ipv6CidrBlock |
array<object> |
The IPv6 CIDR blocks of the VPC. |
|
|
object |
The IPv6 CIDR blocks of the VPC. |
||
| Ipv6Isp |
string |
The type of the IPv6 CIDR block of the VPC. Valid values:
Note
If you are on the whitelist of single-line bandwidth, you can set this parameter to ChinaTelecom, ChinaUnicom, or ChinaMobile. |
BGP |
| Ipv6CidrBlock |
string |
The IPv6 CIDR blocks of the VPC. |
2408:XXXX:0:6a::/56 |
| ChildInstanceName |
string |
The name of the network instance. |
defaultvpc |
Examples
Success response
JSON format
{
"Status": "Attached",
"ChildInstanceType": "VPC",
"ChildInstanceRegionId": "cn-beijing",
"RequestId": "ADD98358-D265-4060-87CB-A2427F5A8944",
"ChildInstanceOwnerId": 1688000000000000,
"ChildInstanceId": "vpc-2zebdboka7d7t37vo****",
"CenId": "cen-5mv960yjhja0dh****",
"ManagedService": "swas",
"ChildInstanceAttachTime": "2018-07-30T07:53Z",
"ChildInstanceAttributes": {
"CidrBlock": "192.168.0.0/16",
"SecondaryCidrBlocks": {
"secondaryCidrBlock": [
"192.168.20.0/24"
]
},
"Ipv6CidrBlock": "2408:XXXX:0:a600::/56",
"Ipv6CidrBlocks": {
"ipv6CidrBlock": [
{
"Ipv6Isp": "BGP",
"Ipv6CidrBlock": "2408:XXXX:0:6a::/56"
}
]
}
},
"ChildInstanceName": "defaultvpc"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SystemBusy | The system is busy. Please try again later. | The error message returned because the system is unavailable. Try again later. |
| 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. |
| 404 | ParameterError | The parameter is error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.