Mengiklankan jaringan Protokol Gateway Perbatasan (BGP).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:AddBgpNetwork |
get |
*VirtualBorderRouter
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Wilayah tempat kelompok VBR berada. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-shanghai |
| DstCidrBlock |
string |
Yes |
Blok CIDR VPC atau vSwitch yang perlu diinterkoneksikan dengan pusat data lokal. |
10.10.XX.XX/32 |
| VpcId |
string |
No |
ID VPC. |
vpc-bp1qpo0kug3a2***** |
| RouterId |
string |
Yes |
ID vRouter yang terkait dengan antarmuka router. |
vrt-2zeo3xzyf38r4u****** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat nilai parameter dari klien Anda untuk memastikan keunikan di berbagai permintaan. ClientToken hanya mendukung karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dari setiap permintaan API mungkin berbeda. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
ID permintaan. |
||
| RequestId |
string |
ID permintaan. |
9C7FA9D6-72E0-48A9-A9C3-2DA8569CD5EB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9C7FA9D6-72E0-48A9-A9C3-2DA8569CD5EB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | QuotaExceeded.Bgp | bgp peer count per vbr quota exceed. | Jumlah peer BGP pada VBR telah mencapai kuota. |
| 400 | QuotaExceeded.Nqa | nqa count per vbr quota exceed. | |
| 400 | QuotaExceeded.BgpNetwork | bgp network count per vbr quota exceed. | |
| 400 | InvalidPeerIpAddress | multi pconn peer ip can not be null. | |
| 400 | InvalidVbrNetwork | vbr netowrk not exists | |
| 400 | InvalidBgpGroup | bgp group not exists | |
| 400 | InvalidBgpName.Malformed | Specified Bgp Group name is not valid. | |
| 400 | InvalidBgpDiscription.Malformed | Specified Bgp Group description is not valid. | |
| 400 | InvalidBgpAuthkey.Malformed | Specified Bgp Group authkey is not valid. | |
| 400 | InvalidIP.Malformed | Ip malformed. | |
| 400 | InvalidPeerAsn.Malformed | invalid peer asn cannot equals aliyun asn:45104 | |
| 400 | InvalidParams.NotNull | parameter must not null. | |
| 400 | InvalidParams.NotFound | instance not found | |
| 400 | InvalidParams.AlreadyExists | bgp network already exists | Jaringan BGP sudah ada. |
| 400 | InvalidStatus.CannotOperate | invalid status cannot operate | |
| 400 | InvalidParams.PeerIpAddressMustPointOut | vbr has 0 or more than 1 subif ,point out peerIpAddress. | Silakan tentukan PeerIpAddress. |
| 400 | InvalidParams.PeerIpAddressInUse | peer ip address in use ,cannot create bgp peer. | Alamat IP peer sedang digunakan. Peer BGP tidak dapat dibuat. |
| 400 | Duplicated.CidrBlock | bgp network cidr already exists. | |
| 400 | InvalidIP.IpInSnatPool | Multi ip in snat pool cannot remove ip from bandwidth package. | |
| 400 | InvalidDestCidrBlock.Malformed | Specified dstCidrBlock is not valid. | |
| 400 | IllegalParam.ConflictWithDClass | DClass IP can not support. | |
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | Operasi gagal karena lalu lintas keluar tidak diaktifkan. |
| 400 | OperationFailed.NoActiveRouterInterface | there's not active routerInterface,cannot add bgp network. | |
| 400 | IllegalParamFormat.DstCidrBlock | The format of the specified destination CIDR block is invalid. | Format blok CIDR tujuan tidak valid. |
| 400 | IllegalParam.IpVersion | The parameter of IpVersion is illegal. | Parameter IpVersion tidak valid. |
| 400 | IllegalParam.ipVersion | The IP version does not match. | Versi IP tidak cocok. |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.