Menyambungkan instans jaringan ke instans Cloud Enterprise Network (CEN).
Deskripsi operasi
CEN mendukung penyambungan instans jaringan lintas akun. Sebelum menyambungkan instans jaringan lintas akun, instans CEN harus diberi otorisasi oleh instans jaringan lintas akun:
Untuk otorisasi instans VPC lintas akun, lihat GrantInstanceToCen.
Untuk otorisasi instans Cloud Connect Network lintas akun, lihat GrantInstanceToCbn.
Otorisasi instans border router lintas akun tidak tersedia secara default. Untuk menggunakan fitur ini, hubungi manajer akun Anda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:AttachCenChildInstance |
update |
*CenInstance
*virtualborderrouter
*VPC
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
ID instans CEN. |
cen-7qthudw0ll6jmc**** |
| ChildInstanceId |
string |
Yes |
ID instans jaringan untuk menyambungkan. |
vpc-bp18sth14qii3pnvx**** |
| ChildInstanceType |
string |
Yes |
Tipe instans jaringan. Nilai valid:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
Wilayah instans jaringan. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-hangzhou |
| ChildInstanceOwnerId |
integer |
No |
ID akun Alibaba Cloud tempat instans jaringan berada. Catatan
Parameter ini diperlukan jika Anda ingin menyambungkan instans jaringan lintas akun. |
1688000000000000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A."
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbbiden.AttachChildInstanceAcrossBid | Operation is invalid, please apply for cross-bid attaching. | |
| 400 | IncorrectStatus.VpcSwitch | Operation is failed because some virtual switch is modifying within the same VPC. | Status saat ini dari vSwitch tidak mendukung operasi ini. Coba lagi nanti. |
| 400 | Forbbiden.CloudBoxVSwitchExist | The operation is not allowed because of cloud box vswitch existed. | VPC berisi vSwitch yang terkait dengan CloudBox dan tidak dapat disambungkan. |
| 400 | OperationFailed.InvalidVpcStatus | Operation is failed because the child-instance is configuring. | |
| 400 | OperationFailed.InvalidTransitRouter | Operation failed because the transit router is not supported. | Operasi gagal karena tabel rute router transit tidak mendukung operasi ini. |
| 400 | OperationUnsupported.CenFullLevel | CEN full level does not support vpn bgp. | Instans CEN dalam mode Full tidak mendukung VPN BGP. |
| 400 | IncorrectStatus.VpcRouteTable | The VPC route table is not in a desired state. | Tabel rute VPC yang terkait dengan operasi ini tidak berada dalam status stabil. Coba lagi nanti. |
| 400 | InvalidOperation.VbrAttachedToEcr | VBR has alreay attached to ECR. | VBR sudah terhubung dengan ECR. |
| 400 | OperationUnsupported.VpcRoutePropagationSource | The operation on this VPC route propagation source is not supported. | Operasi pada sumber propagasi rute VPC ini tidak didukung. |
| 400 | InvalidStatus.ResourceStatus | The resource is not in a valid state for the attachment operation. | Status Sumber daya saat ini tidak mendukung operasi ini. Coba lagi nanti. |
| 400 | IncorrectStatus.TransitRouter | The status of TransitRouter is incorrect. | Status saat ini dari router transit tidak mendukung operasi ini. Coba lagi nanti. |
| 400 | IllegalParam.RegionId | The specified RegionId is illegal. | Region yang ditentukan dalam permintaan tidak valid. |
| 400 | InvalidParameter | Invalid parameter. | Parameter tidak valid. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | Akun tidak memiliki izin untuk melakukan operasi ini. |
| 400 | InvalidParameter.CenId | The specified parameter CenId is invalid. | |
| 403 | Forbidden.AttachChildInstance | The attached VBR on some access device models are not supported. Please submit a ticket to continue using this VBR on CEN. | VBR ini tidak dapat disambungkan ke instans Cloud Enterprise Network (CEN). Kirim tiket untuk bantuan. |
| 404 | Bid.NotFound | Not found childInstance Bid by specified AliUid. | Penawaran tidak ada. |
| 404 | Operation.FailedAndTryAgain | Fail to get customer label by the specified aliUid. | |
| 409 | InvalidOperation.ChildInstanceRIAlreadyExist | Operation is invalid because the child-instance has already been attached to Express Connect. | |
| 409 | Forbbiden.AttachChildInstanceAcrossUid | Operation is invalid because the child-instance is not authorized to CEN. | |
| 409 | InvalidOperation.ChildInstanceAlreadyAttached | Operation is invalid because the child-instance has already been attached to another CEN. | |
| 409 | InvalidOperation.CenAlreadyAutoPubilshRouteToInstance | Operation is invalid because other cen has already auto published route to this instance. | CEN lain sedang menyebarkan entri rute ke instans ini. Operasi saat ini tidak didukung. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.