Chama a operação DeletePhysicalConnection para excluir um circuito Express Connect.
Descrição da operação
Você pode excluir apenas circuitos Express Connect que estejam no estado Allocated, Confirmed, Rejected, Canceled, AllocationFailed ou Terminated.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
vpc:DeletePhysicalConnection |
delete |
*PhysicalConnection
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região do circuito Express Connect. Você pode chamar a operação DescribeRegions para consultar os IDs de região. |
cn-shanghai |
| PhysicalConnectionId |
string |
Sim |
O ID da instância do circuito Express Connect. |
pc-119mfjzm7********* |
| ClientToken |
string |
Não |
O token do cliente usado para garantir a idempotência da solicitação. O valor é gerado pelo cliente. O valor deve ser único entre diferentes solicitações e não pode exceder 64 caracteres ASCII. |
02fb3da4-130e-11e9-8e44-0016e04115b |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidPhysicalConnectionId.NotMatched | instance id not matched. | |
| 400 | Forbidden.VBRExists | physical connection owner's vbr still exists. | |
| 400 | Forbidden.AssociateToVBR | The physical connection still associate to VBR. | |
| 400 | OperationDenied.NeedVpconnOwner | The operation is denied. | The deletion failed. Only the owner of a shared port can delete it. |
| 400 | OperationDenied.NeedPconnOwner | The operation is denied. | The deletion failed. Only the owner of a physical port can delete it. |
| 400 | Forbidden.NotInAllowDeleteStatus | Only physical connection in the Cancelled, Rejected, Terminated, Allocated, or AllocationFailed states can be deleted. | Only physical connection in the Cancelled, Rejected, Terminated, Allocated, or AllocationFailed states can be deleted. |
| 400 | ResourceAlreadyAssociated.PconnQos | The specified resource of PconnQos is already associated. | The physical line has been bound to another QoS policy. |
| 400 | ResourceNotFound.PhysicalConnectionId | PhysicalConnection is not found. | PhysicalConnectionId is set to an invalid value. |
| 400 | OperationDenied.NeedVpconnOwnerOrPconnOwner | The deletion failed. Only the owner of virtual physical connection or physical connection can delete it. | The deletion failed. Only the owner of virtual physical connection or physical connection can delete it. |
| 400 | OperationDenied.ExistVbrInPhysicalConnection | It cannot be deleted when VBR exists. | When a virtual border router exists under a physical port, it cannot be deleted. |
| 400 | OperationDenied.MacsecAttached | The operation is not allowed because of MacsecAttached. | The current operation is rejected because there is still a MACSec key binding on the physical connection. |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.