Tüm Ürünler
Search
Belge Merkezi

:CreateTransitRouteTableAggregation

Son Güncelleme:Sep 29, 2026

Toplu rota oluşturur.

Operation description

Enterprise Edition transit yönlendirici rota tablosuna bir toplu rota ekledikten sonra, Enterprise Edition transit yönlendirici toplu rotayı yalnızca mevcut Enterprise Edition transit yönlendirici rota tablosuyla ilişkilendirilmiş ve rota senkronizasyonu etkinleştirilmiş VPC bağlantılı örneklerin rota tablolarına yayar.

Toplu rota oluşturmadan önce aşağıdaki işlemlerin tamamlandığından emin olun. Aksi takdirde, Enterprise Edition transit yönlendirici toplu rotayı VPC örnek rota tablolarına yaymaz:

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cen:CreateTransitRouteTableAggregation

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

TransitRouteTableId

string

Yes

Enterprise Edition transit yönlendirici rota tablosunun kimliği.

vtb-iq8qgruq1ry8jc7vt****

TransitRouteTableAggregationName

string

No

Toplu rotanın adı.

Ad boş olabilir veya 1 ila 128 karakter uzunluğunda olabilir ve http:// veya https:// ile başlayamaz.

nametest

TransitRouteTableAggregationCidr

string

Yes

Toplu rotanın hedef CIDR bloğu.

Not

Aşağıdaki CIDR blokları desteklenmez:

  • "0" veya "100.64" ile başlayan CIDR blokları

  • Çok noktaya yayın adresleri (224.0.0.1 - 239.255.255.254)

192.168.10.0/24

TransitRouteTableAggregationScope

string

No

Toplu rotanın yayılma kapsamı.

Değeri VPC olarak ayarlayın; bu, toplu rotanın mevcut Enterprise Edition transit yönlendirici rota tablosuyla ilişkili iletme ilişkisi kurmuş ve rota senkronizasyonu özelliği etkinleştirilmiş tüm VPC bağlantılı örneklere yayıldığını gösterir.

VPC

TransitRouteTableAggregationScopeList

array

No

Toplu rotanın yayılma kapsamı listesi.

Not

Yayılma kapsamı ve yayılma kapsamı listesinden en az birini belirtmelisiniz. Yayılma kapsamı listesini kullanmanızı öneririz. Yayılma kapsamı listesindeki öğeler, yayılma kapsamının değeriyle aynı olamaz.

string

No

Toplu rotanın yayılma kapsamı listesi. Geçerli değerler:

  • VPC: Toplu rotayı, mevcut Enterprise Edition transit yönlendirici rota tablosuyla ilişkili iletme ilişkisi kurmuş ve rota senkronizasyonu özelliği etkinleştirilmiş tüm VPC bağlantılı örneklere yayar.

  • VBR: Toplu rotayı, mevcut Enterprise Edition transit yönlendiriciye yüklenmiş VBR örneklerine yayar.

  • Peer: Toplu rotayı, mevcut Enterprise Edition transit yönlendiriciyle bölgeler arası bağlantılar kurmuş transit yönlendiricilere yayar.

  • VPN: Toplu rotayı, mevcut Enterprise Edition transit yönlendiriciye yüklenmiş VPN örneklerine yayar.

  • ECR: Toplu rotayı, mevcut Enterprise Edition transit yönlendiriciye yüklenmiş ECR örneklerine yayar.

VPC

TransitRouteTableAggregationDescription

string

No

Toplu rotanın açıklaması.

Açıklama boş olabilir veya 1 ila 256 karakter uzunluğunda olabilir ve http:// veya https:// ile başlayamaz.

desctest

ClientToken

string

No

İsteğin idempotent olmasını sağlamak için kullanılan istemci belirteci.

Belirteci oluşturmak için istemciyi kullanabilirsiniz, ancak belirtecin farklı istekler arasında benzersiz olduğundan emin olmalısınız. İstemci belirteci yalnızca ASCII karakterleri içerebilir.

Not

Bu parametreyi belirtmezseniz, sistem otomatik olarak API isteğinin RequestId değerini ClientToken olarak kullanır. RequestId her API isteği için farklı olabilir.

02fb3da4-130e-11e9-8e44-001****

DryRun

boolean

No

Deneme çalıştırması yapılıp yapılmayacağını belirtir. Deneme çalıştırması izinler ve örnek durumu gibi öğeleri kontrol eder. Geçerli değerler:

  • false (varsayılan): Normal bir istek gönderir ve istek kontrolü geçtikten sonra doğrudan toplu rotayı oluşturur.

  • true: Toplu rotayı oluşturmadan bir kontrol isteği gönderir. Kontrol öğeleri gerekli parametreleri ve istek biçimini içerir. Kontrol başarısız olursa, ilgili hata döndürülür. Kontrol başarılı olursa, DryRunOperation hata kodu döndürülür.

false

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

RequestId

string

İstek kimliği.

0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50

Examples

Success response

JSON format

{
  "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidOperation.RegionNotSupport The Operation is not Support in this region.
400 InstanceExist.AggregationRoute This aggregation route is already created.
400 InstanceNotExist.TransitRouteTable The transitRouter route table is not exist.
400 IncorrectStatus.TransitRouteTable The transitRouter route table is not in a valid state for the operation.
400 QuotaExceeded.AggregationRoute The aggregation route count is over limit.
400 InstanceNotExist.TransitRouter The aggregation route is not exist.
400 OperationUnsupported.TransitRouterType The operation is not supported because of the wrong transitRouter type.
400 IncorrectStatus.TransitRouter The status of transitRouter is invalid.
400 OperationUnsupported.ServiceMode The operation is not supported because of the wrong transitRouter service mode.
400 InvalidCidrBlock The cidr block is invalid.
400 RouteConflict 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.
400 InvalidParameter.TransitRouteTableAggregationScope TransitRouteTableAggregationScope is invalid.
400 InvalidParameter.TransitRouteTableAggregationScopeList TransitRouteTableAggregationScopeList is invalid.
400 MissingParam.TransitRouteTableAggregationScope The parameter TransitRouteTableAggregationScope is mandatory.
400 IllegalParam.TransitRouteTableAggregationScope TransitRouteTableAggregationScope is invalid, valid value is VPC.
400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
400 InvalidParameter.TransitRouteTableId The specified parameter TransitRouteTableId is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.