Menanyakan informasi tentang sebuah instans jaringan, seperti virtual private cloud (VPC), virtual border router, atau instans Cloud Connect Network (CCN), yang terhubung ke instans Cloud Enterprise Network (CEN).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenAttachedChildInstanceAttribute |
get |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans CEN. |
cen-5mv960yjhja0dh**** |
| ChildInstanceId |
string |
Yes |
ID instans jaringan yang terhubung ke instans CEN. |
vpc-2zebdboka7d7t37vo**** |
| ChildInstanceType |
string |
Yes |
Jenis instans jaringan. Nilai yang valid:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
ID region instans jaringan. Anda dapat memanggil operasi DescribeRegions untuk menanyakan daftar region terbaru. |
cn-beijing |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Status |
string |
Menunjukkan apakah instans jaringan terhubung ke instans CEN.
|
Attached |
| ChildInstanceType |
string |
Jenis instans jaringan. Nilai yang valid:
|
VPC |
| ChildInstanceRegionId |
string |
ID region instans jaringan. |
cn-beijing |
| RequestId |
string |
ID permintaan. |
ADD98358-D265-4060-87CB-A2427F5A8944 |
| ChildInstanceOwnerId |
integer |
ID akun Alibaba Cloud tempat instans jaringan berada. |
1688000000000000 |
| ChildInstanceId |
string |
ID instans jaringan. |
vpc-2zebdboka7d7t37vo**** |
| CenId |
string |
ID instans CEN. |
cen-5mv960yjhja0dh**** |
| ManagedService |
string |
Layanan cloud tempat instans jaringan berada. Kode standarnya hanya dikembalikan ketika VPC terhubung ke transit router. Untuk VPC yang dikelola sendiri, tidak ada kode yang dikembalikan. |
swas |
| ChildInstanceAttachTime |
string |
Waktu saat instans jaringan dihubungkan ke instans CEN. Waktu mengikuti standar ISO 8601 dalam format yyyy-MM-ddThh:mmZ. Waktu ditampilkan dalam UTC. |
2018-07-30T07:53Z |
| ChildInstanceAttributes |
object |
Detail tentang instans jaringan. |
|
| CidrBlock |
string |
Blok CIDR IPv4 dari 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 |
Blok CIDR IPv6 dari 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:
Catatan
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 |
Nama instans jaringan. |
defaultvpc |
Contoh
Respons sukses
JSONformat
{
"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"
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.