All Products
Search
Document Center

Cloud Enterprise Network:ModifyTransitRouteTableAggregation

Last Updated:Jun 10, 2026

Mengubah entri rute agregasi.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:ModifyTransitRouteTableAggregation

create

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

TransitRouteTableId

string

Yes

ID tabel rute Router transit Edisi Perusahaan.

vtb-6ehgc262hr170qgyc****

TransitRouteTableAggregationName

string

No

Nama entri rute agregasi.

Nama dapat kosong atau berisi 1 hingga 128 karakter. Nama tidak boleh diawali dengan http:// atau https://.

nametest

TransitRouteTableAggregationCidr

string

Yes

Blok CIDR tujuan entri rute agregasi.

192.168.10.0/24

TransitRouteTableAggregationScope

string

No

Cakupan propagasi entri rute agregasi.

Satu-satunya nilai valid adalah VPC. Nilai ini menentukan bahwa entri rute agregasi dipropagasikan ke semua instans VPC yang terkait dengan tabel rute Router transit Edisi Perusahaan dan memiliki Sinkronisasi rute yang diaktifkan.

VPC

TransitRouteTableAggregationScopeList

array

No

Daftar cakupan propagasi untuk entri rute agregasi.

Catatan

Anda harus menentukan parameter ini atau `TransitRouteTableAggregationScope`. Tentukan parameter ini. Elemen dalam daftar ini tidak boleh sama dengan nilai `TransitRouteTableAggregationScope`.

string

No

The list of propagation scopes for the aggregate route. Valid values:

  • VPC: propagates the aggregate route to all VPC instances that are associated with the route table of the Enterprise Edition transit router and have route synchronization enabled.

  • VBR: propagates the aggregate route to all VBR instances that are attached to the Enterprise Edition transit router.

  • Peer: propagates the aggregate route to transit routers that have an inter-region connection with the Enterprise Edition transit router.

  • VPN: propagates the aggregate route to all VPN attachments that are attached to the Enterprise Edition transit router.

  • ECR: propagates the aggregate route to all ECR instances that are attached to the Enterprise Edition transit router.

VBR

TransitRouteTableAggregationDescription

string

No

Deskripsi entri rute agregasi.

Deskripsi dapat kosong atau berisi 0 hingga 256 karakter. Deskripsi tidak boleh diawali dengan http:// atau https://.

desctest

ClientToken

string

No

Token Klien yang digunakan untuk memastikan idempotensi permintaan.

Buat token dari Klien Anda untuk memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Parameter `ClientToken` hanya dapat berisi karakter ASCII.

Catatan

Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai token Klien. ID permintaan dapat berbeda untuk setiap permintaan.

02fb3da4****

DryRun

boolean

No

Apakah akan menjalankan dry run. Nilai valid:

  • false (default): mengirim permintaan normal dan mengubah entri rute agregasi setelah permintaan lolos pemeriksaan.

  • true: mengirim permintaan pemeriksaan untuk menjalankan dry run. Sistem memeriksa parameter yang diperlukan, format permintaan, dan izin. Jika pemeriksaan gagal, kesalahan terkait dikembalikan. Jika pemeriksaan berhasil, kode kesalahan `DryRunOperation` dikembalikan. Dalam hal ini, entri rute agregasi tidak diubah.

false

Elemen respons

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID.

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 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 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.
400 OperationUnsupported.ModifyTransitRouteTableAggregation ModifyTransitRouteTableAggregation is unsupported. ModifyTransitRouteTableAggregation is unsupported.
400 InvalidParameter.TransitRouteTableAggregationScopeList TransitRouteTableAggregationScopeList is invalid. TransitRouteTableAggregationScopeList is invalid.
400 InvalidParameter.TransitRouteTableAggregationScope TransitRouteTableAggregationScope is invalid. The propagation scope of the aggregate route is illegal.
400 IncorrectStatus.AggregationRoute The aggregation route is not in a valid state for the operation. The aggregation route is not in a valid state for the operation.
400 InstanceNotExist.AggregationRoute The aggregation route is not exist. The error message returned because the aggregated route does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.