Membuat entri rute agregasi.
Deskripsi operasi
Setelah Anda menambahkan entri rute agregasi ke tabel rute Router transit edisi perusahaan, router transit hanya akan menyebarkan entri rute agregasi tersebut ke tabel rute instans VPC yang terkait dengan tabel rute router transit dan telah mengaktifkan sinkronisasi rute.
Sebelum membuat entri rute agregasi, pastikan persyaratan berikut terpenuhi. Jika tidak, Router transit edisi perusahaan tidak akan menyebarkan entri rute agregasi ke tabel rute instans VPC:
Instans VPC terkait dengan tabel rute Router transit edisi perusahaan. Untuk informasi selengkapnya, lihat AssociateTransitRouterAttachmentWithRouteTable.
Sinkronisasi rute diaktifkan untuk instans VPC. Untuk informasi selengkapnya, lihat CreateTransitRouterVpcAttachment.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:CreateTransitRouteTableAggregation |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TransitRouteTableId |
string |
Yes |
ID tabel rute Router transit edisi perusahaan. |
vtb-iq8qgruq1ry8jc7vt**** |
| TransitRouteTableAggregationName |
string |
No |
Nama entri rute agregasi. Nama boleh kosong atau terdiri dari 1 hingga 128 karakter. Nama tidak boleh diawali dengan http:// atau https://. |
nametest |
| TransitRouteTableAggregationCidr |
string |
Yes |
Blok CIDR tujuan entri rute agregasi. Catatan
Blok CIDR berikut tidak didukung:
|
192.168.10.0/24 |
| TransitRouteTableAggregationScope |
string |
No |
Cakupan penyebaran entri rute agregasi. Satu-satunya nilai yang valid adalah VPC. Nilai ini menunjukkan bahwa entri rute agregasi disebarkan ke semua instans VPC yang terkait dengan tabel rute Router transit edisi perusahaan dan telah mengaktifkan sinkronisasi rute. |
VPC |
| TransitRouteTableAggregationScopeList |
array |
No |
Daftar cakupan penyebaran entri rute agregasi. Catatan
Anda harus menentukan salah satu parameter ini atau TransitRouteTableAggregationScope. Kami menyarankan agar Anda menggunakan parameter ini. Elemen dalam daftar ini tidak boleh sama dengan nilai TransitRouteTableAggregationScope. |
|
|
string |
No |
Daftar cakupan penyebaran entri rute agregasi. Nilai yang valid:
|
VPC |
|
| TransitRouteTableAggregationDescription |
string |
No |
Deskripsi entri rute agregasi. Deskripsi boleh kosong atau terdiri dari 1 hingga 256 karakter. Deskripsi tidak boleh diawali dengan http:// atau https://. |
desctest |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Hasilkan nilai dari klien Anda untuk memastikan nilainya unik di antara permintaan yang berbeda. ClientToken hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
02fb3da4-130e-11e9-8e44-001**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run untuk permintaan. Dry run memeriksa izin dan status instans. Nilai yang valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOperation.RegionNotSupport | The Operation is not Support in this region. | The error message returned because this operation is not supported in the specified region. |
| 400 | InstanceExist.AggregationRoute | This aggregation route is already created. | The error message returned because the aggregated route already exists. |
| 400 | InstanceNotExist.TransitRouteTable | The transitRouter route table is not exist. | The error message returned because the specified transit router route table does not exist. |
| 400 | IncorrectStatus.TransitRouteTable | The transitRouter route table is not in a valid state for the operation. | The error message returned because the status of the transit router route table does not support this operation. Try again later. |
| 400 | QuotaExceeded.AggregationRoute | The aggregation route count is over limit. | The error message returned because the number of aggregated routes has reached the upper limit. |
| 400 | InstanceNotExist.TransitRouter | The aggregation route is not exist. | The error message returned because the specified transit router does not exist. |
| 400 | OperationUnsupported.TransitRouterType | The operation is not supported because of the wrong transitRouter type. | The error message returned because this operation is not supported by the specified type of transit router. |
| 400 | IncorrectStatus.TransitRouter | The status of transitRouter is invalid. | The error message returned because the status of the transit router does not support this operation. Try again later. |
| 400 | OperationUnsupported.ServiceMode | The operation is not supported because of the wrong transitRouter service mode. | The error message returned because the transit router mode does not support this operation. |
| 400 | InvalidCidrBlock | The cidr block is invalid. | The error message returned because the specified CIDR block is invalid. |
| 400 | RouteConflict | The specified route already exists. | The specified route already exists. |
| 400 | InvalidOperation.InstanceNotSupportIPv6Route | The cen dose not support Ipv6 route. | |
| 400 | IllegalParam.TransitRouteTableAggregationCidr | The param TransitRouteTableAggregationCidr is illegal. | |
| 400 | MissingParameter.ScopeListOrScope | The input parameter TransitRouteTableAggregationScopeList or TransitRouteTableAggregationScope that is mandatory for processing this request is not supplied. | The input parameter TransitRouteTableAggregationScopeList or TransitRouteTableAggregationScope that is mandatory for processing this request is not supplied. |
| 400 | InvalidParameter.TransitRouteTableAggregationScope | TransitRouteTableAggregationScope is invalid. | The propagation scope of the aggregate route is illegal. |
| 400 | InvalidParameter.TransitRouteTableAggregationScopeList | TransitRouteTableAggregationScopeList is invalid. | TransitRouteTableAggregationScopeList is invalid. |
| 400 | MissingParam.TransitRouteTableAggregationScope | The parameter TransitRouteTableAggregationScope is mandatory. | The parameter TransitRouteTableAggregationScope is mandatory. |
| 400 | IllegalParam.TransitRouteTableAggregationScope | TransitRouteTableAggregationScope is invalid, valid value is VPC. | TransitRouteTableAggregationScope is invalid, valid value is VPC. |
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.