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:
VPC örneği, Enterprise Edition transit yönlendirici rota tablosuyla ilişkilendirilmiştir. Daha fazla bilgi için AssociateTransitRouterAttachmentWithRouteTable konusuna bakın.
VPC örneği için rota senkronizasyonu etkinleştirilmiştir. Daha fazla bilgi için CreateTransitRouterVpcAttachment konusuna bakın.
Try it now
Test
RAM authorization
|
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:
|
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 |
|
| 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 |
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.