Exclui uma tabela de rotas personalizada.
Descrição da operação
Descrição
-
DeleteRouteTable é uma operação assíncrona. Após o envio de uma solicitação, o sistema retorna um ID de solicitação e executa a tarefa em segundo plano. Você pode chamar a operação DescribeRouteTableList para consultar o status da tarefa.
Se a tabela de rotas personalizada estiver no estado Deleting, a tabela de rotas personalizada está sendo excluída.
Se você não conseguir consultar a tabela de rotas personalizada, a tabela de rotas personalizada foi excluída.
-
Você não pode chamar repetidamente a operação DeleteRouteTable para excluir uma tabela de rotas personalizada dentro do período de tempo especificado.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
vpc:DeleteRouteTable |
delete |
*RouteTable
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região da nuvem privada virtual (VPC) à qual a tabela de rotas personalizada pertence. Você pode chamar a operação DescribeRegions para consultar a lista de regiões mais recente. |
cn-hangzhou |
| RouteTableId |
string |
Sim |
O ID da tabela de rotas personalizada. |
vtb-bp145q7glnuzdvzu2**** |
| RegionId |
string |
Sim |
O ID da região da nuvem privada virtual (VPC) à qual a tabela de rotas personalizada pertence. Você pode chamar a operação DescribeRegions para consultar a lista de regiões mais recente. |
cn-hangzhou |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
DC668356-BCB4-42FD-9BC3-FA2B2E04B634 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "DC668356-BCB4-42FD-9BC3-FA2B2E04B634"
}
Resposta de erro
JSON formato
{
"RequestId": "62172DD5-6BAC-45DF-8D44-xxxxxxxx"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | OperationDenied.GatewayAssociated | You cannot delete the specified route table because it still associates with gateway. | You cannot delete the route table because it is associated with a gateway. |
| 400 | MissingParam.RouteTableId | The param of RouteTableId is missing. | |
| 400 | IncorrectRouteTableType | Route table can be deleted by this action only when it's type is custom. | |
| 400 | IncorrectVSwitchStatus | The current virtual switch status does not support this operation. | The error message returned because the vSwitch is in the Pending state and cannot be deleted. |
| 400 | IncorrectRouteTableStatus.RouteEntryExist | You cannot delete the specified route table because it still has custom route entry. | You cannot delete the route table because custom routes exist in the route table. |
| 400 | IncorrectStatus.cbnStatus | Current CBN status does not support this operation. | The status of the CEN instance is invalid. |
| 400 | InvalidRegionId.NotFound | Specified value of RegionId is not supported. | |
| 400 | InvalidParameter.Action | This vpc feature is not supported in this region | |
| 400 | IncorrectRouteTableStatus | The current status of the route table does not support this operation. | You cannot delete the route table in the current state. |
| 400 | DependencyViolation.RouteEntry | Vpc route table has route entry. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.