Dissocia uma conexão de instância de rede de uma tabela de rotas.
Descrição da operação
DissociateTransitRouterAttachmentFromRouteTable é uma operação assíncrona. Após o envio de uma solicitação, o sistema retorna um RequestId, mas a operação é executada em segundo plano. A conexão de instância de rede não é dissociada imediatamente da tabela de rotas. Para consultar o status da associação, chame a operação ListTransitRouterRouteTableAssociations.
-
Se o status da associação for Dissociating, a conexão de instância de rede estará sendo dissociada da tabela de rotas. Nesse estado, você pode apenas consultar a associação. Não é possível realizar outras operações.
-
Se a operação ListTransitRouterRouteTableAssociations não retornar informações sobre a associação, a conexão de instância de rede foi dissociada.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:DissociateTransitRouterAttachmentFromRouteTable |
delete |
*TransitRouterVpcAttachment
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| TransitRouterAttachmentId |
string |
Sim |
O ID da conexão de instância de rede. |
tr-attach-nls9fzkfat8934**** |
| TransitRouterRouteTableId |
string |
Sim |
O ID da tabela de rotas do roteador de trânsito da Enterprise Edition. |
vtb-bp1dudbh2d5na6b50**** |
| ClientToken |
string |
Não |
Um token de cliente que garante a idempotência da solicitação. Gere um token exclusivo no seu cliente. O token de cliente pode conter apenas caracteres ASCII. Nota
Se você não especificar este parâmetro, o sistema usará o RequestId como o ClientToken. O RequestId pode ser diferente para cada solicitação de API. |
02fb3da4-130e-11e9-8e44-001**** |
| 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 |
|||
| RequestId |
string |
O ID da solicitação. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | IncorrectStatus.AttachmentOrRouteTable | The resource is not in a valid state for the operation. | The error message returned because this operation is not supported when the specified attachment or route table is in an unstable state. Try again later. |
| 400 | OperationUnsupported.dissociateRouteTable | The specified attachment or routeTable is not supported by this operation. | The error message returned because this operation is not supported by the specified attachment or route table. |
| 400 | IncorrectStatus.TransitRouterConnectPeer | The resource is not in a valid state for the operation. | The error message returned because this operation is not supported when the connect peer is in an unstable state. |
| 400 | IncorrectStatus.TransitRouterInstance | The status of TransitRouter is incorrect. | The error message returned because the transit router is in an invalid state. |
| 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 | InvalidParameter.TransitRouterAttachmentId | The specified parameter TransitRouterAttachmentId is invalid. | |
| 400 | InvalidParameter.TransitRouterRouteTableId | The specified parameter TransitRouterRouteTableId is invalid. | |
| 404 | InvalidAttachmentId.NotFound | The specified AttachmentId is not found. | The error message returned because the specified network instance connection ID does not exist. |
| 404 | InvalidRouteTableId.NotFound | The specified RouteTableId is not found. | The specified route table 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.