DeleteRouteEntry.
Esta API foi descontinuada. Recomendamos migrar para Vpc(2016-04-28) - DeleteRouteEntry para funcionalidade aprimorada e suporte contínuo. Embora a API descontinuada permaneça temporariamente acessível, nenhuma atualização ou correção de bugs será fornecida.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
vpc:DeleteRouteEntry |
delete |
*RouteTable
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. Chame a operação DescribeRegions para obter a lista mais recente de regiões. |
|
| RouteTableId |
string |
Sim |
O ID da tabela de rotas que contém a entrada de rota a ser excluída. |
|
| DestinationCidrBlock |
string |
Sim |
O bloco CIDR de destino da entrada de rota. Há suporte para blocos CIDR IPv4 e IPv6. |
|
| NextHopId |
string |
Não |
O ID do próximo salto da rota personalizada.\n\n> Você deve especificar o parâmetro NextHopId ou NextHopList. |
|
| NextHopList |
array<object> |
Não |
A lista de próximos saltos da rota de múltiplos caminhos de igual custo (ECMP).\n\n> Você deve especificar o parâmetro NextHopId ou NextHopList. |
|
|
object |
Não |
|||
| NextHopId |
string |
Não |
O ID do próximo salto. |
|
| NextHopType |
string |
Não |
O tipo do próximo salto. Valores válidos:\n\n- Instance (padrão): uma instância ECS\n- HaVip: um endereço IP virtual de alta disponibilidade (HAVIP)\n- VpnGateway: um gateway de VPN\n- NatGateway: um gateway NAT\n- NetworkInterface: uma interface de rede elástica (ENI)\n- RouterInterface: uma interface de roteador\n- IPv6Gateway: um gateway IPv6. |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": ""
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | MissingParameter | Miss mandatory parameter. | Required parameters must be specified. |
| 400 | IncorrcetRouteEntryStatus | Some route entry status blocked this operation. | The route entry is in an state that does not support current operation. |
| 400 | InvalidCidrBlock.Malformed | Specified CIDR block is not valid. | The specified CIDR block is invalid. |
| 400 | OperationDenied | Specified operation is denied as route entry type is system. | The specified route is a system route and does not support the operation. |
| 400 | InvalidRouteEntry.NotFound | Route entry not exists. | |
| 400 | InvalidVRouter.NotFound | vRouter not exists. | |
| 400 | IncorrectRouteEntryStatus | Some route entry status blocked this operation. | The operation is not supported while the route table contains routes that are in the Pending or Modifying state. |
| 400 | Forbbiden | Specified RouteEntry cannot allowed delete by openApi. | |
| 400 | InvalidNextHop | Specified nexthop and nexthop list cannot both null. | The next hop and next hop list cannot be left empty. |
| 400 | InvalidRouteEntry | Specified routeEntry not exist. | |
| 400 | Forbidden.VRouterNotFound | pecified virtual switch is not found during access authentication. | |
| 400 | TaskConflict | The operation is too frequent, TaskConflict. | |
| 400 | IncorrectVpcStatus | Current VPC status does not support this operation. | The VPC is in a state that does not support the current operation. |
| 400 | InvalidVpnInstanceId.NotFound | %s | |
| 400 | InvalidNextHopList.Size | Nexthop list size should be between 2 and 16 | |
| 400 | ParamExclusive.NextHopIdAndList | NextHopId and NextHopList cannot both be not null. | |
| 400 | OperationFailed.DeleteMultiScopeEntry | Multi or ecmp scope must delete with force. | |
| 400 | OperationFailed.DistibuteLock | Distibute lock fail. | |
| 500 | Vpc.Error | error code 500,Internal server error. | |
| 404 | InvalidRouteTableId.NotFound | Specified route table does not exist. | The specified virtual route table does not exist. |
| 404 | InvalidVpcId.NotFound | Specified value of VpcId is not found in our record. | The specified VPC ID 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.