Modifica uma rota agregada.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:ModifyTransitRouteTableAggregation |
create |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| TransitRouteTableId |
string |
Sim |
O ID da tabela de rotas do roteador de trânsito da Enterprise Edition. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationName |
string |
Não |
O nome da rota agregada. O nome pode estar vazio ou ter de 1 a 128 caracteres. Não pode começar com http:// ou https://. |
nametest |
| TransitRouteTableAggregationCidr |
string |
Sim |
O bloco CIDR de destino da rota agregada. |
192.168.10.0/24 |
| TransitRouteTableAggregationScope |
string |
Não |
O escopo de propagação da rota agregada. O único valor válido é VPC. Este valor especifica que a rota agregada é propagada para todas as instâncias de VPC associadas à tabela de rotas do roteador de trânsito da Enterprise Edition e que têm a sincronização de rotas ativada. |
VPC |
| TransitRouteTableAggregationScopeList |
array |
Não |
A lista de escopos de propagação para a rota agregada. Nota
Você deve especificar este parâmetro ou `TransitRouteTableAggregationScope`. Recomendamos que você especifique este parâmetro. Os elementos nesta lista não podem ser iguais ao valor de `TransitRouteTableAggregationScope`. |
|
|
string |
Não |
A lista de escopos de propagação para a rota agregada. Valores válidos:
|
VBR |
|
| TransitRouteTableAggregationDescription |
string |
Não |
A descrição da rota agregada. A descrição pode estar vazia ou ter de 0 a 256 caracteres. Não pode começar com http:// ou https://. |
desctest |
| ClientToken |
string |
Não |
O token de cliente usado para garantir a idempotência da solicitação. Gere um token a partir do seu cliente para garantir que o token seja exclusivo entre diferentes solicitações. O parâmetro `ClientToken` pode conter apenas caracteres ASCII. Nota
Se você não especificar este parâmetro, o sistema usará automaticamente o ID da solicitação como o token de cliente. O ID da solicitação pode ser diferente para cada solicitação. |
02fb3da4**** |
| DryRun |
boolean |
Não |
Especifica se deve ser realizado um dry run. Valores válidos:
|
false |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
O corpo da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.