Modifies an aggregate route.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyTransitRouteTableAggregation |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TransitRouteTableId |
string |
Yes |
The ID of the route table of the Enterprise Edition transit router. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationName |
string |
No |
The name of the aggregate route. The name can be empty or 1 to 128 characters in length. It cannot start with http:// or https://. |
nametest |
| TransitRouteTableAggregationCidr |
string |
Yes |
The destination CIDR block of the aggregate route. |
192.168.10.0/24 |
| TransitRouteTableAggregationScope |
string |
No |
The propagation scope of the aggregate route. The only valid value is VPC. This value specifies that the aggregate route is propagated to all VPC instances that are associated with the route table of the Enterprise Edition transit router and have route synchronization enabled. |
VPC |
| TransitRouteTableAggregationScopeList |
array |
No |
The list of propagation scopes for the aggregate route. Note
You must specify this parameter or `TransitRouteTableAggregationScope`. We recommend that you specify this parameter. The elements in this list cannot be the same as the value of `TransitRouteTableAggregationScope`. |
|
|
string |
No |
The list of propagation scopes for the aggregate route. Valid values:
|
VBR |
|
| TransitRouteTableAggregationDescription |
string |
No |
The description of the aggregate route. The description can be empty or 0 to 256 characters in length. It cannot start with http:// or https://. |
desctest |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a token from your client to make sure that the token is unique among different requests. The `ClientToken` parameter can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. |
02fb3da4**** |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
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. | 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.