Libera uma alocação CIDR de um pool de endereços IPAM. Os tipos de alocação compatíveis incluem virtual private cloud (VPC) e alocação personalizada.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Sim |
O ID da região onde está localizada a alocação de bloco CIDR que você deseja liberar. Você pode chamar a operação DescribeRegions para obter o ID da região. |
cn-hangzhou |
| IpamPoolAllocationId |
string |
Sim |
O ID da alocação de bloco CIDR que você deseja liberar. |
ipam-alloc-c4vhvr3b22mmc6**** |
| DryRun |
boolean |
Não |
Especifica se deve ser realizado um dry run. Valores válidos:
|
false |
| ClientToken |
string |
Não |
Garante a idempotência. Forneça um token ASCII exclusivo gerado pelo seu cliente. Um novo token é fornecido para cada solicitação distinta. Nota
Se você não especificar este parâmetro, o sistema usará o RequestId como ClientToken. O RequestId é exclusivo para cada solicitação. |
123e4567-e89b-12d3-a456-426655440000 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
A resposta. |
||
| RequestId |
string |
O ID da solicitação. |
B90776C8-F703-51D5-893A-AD1CA699D535 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "B90776C8-F703-51D5-893A-AD1CA699D535"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | OperationDenied.ResourceTypeIsNotCustom | The operation is not allowed because the resource type is not Custom. | The operation is not allowed because the resource type is not Custom. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | ResourceNotFound.IpamPoolAllocation | The specified resource of IPAM pool allocation is not found. | The specified allocation does not exist. |
| 400 | OperationDenied.UnexpectedResourceType | The operation is not allowed because the resource type is unexpected. | The operation is not allowed because the resource type is unexpected. |
| 400 | OperationDenied.Unauthorized | The operation is denied because the user is not authorized. | The operation is denied because the user is not authorized. |
| 400 | OperationDenied.RequestRegionInvalid | The operation is not allowed because the request is not invoked in the region of the IPAM pool. | The operation is not called in the region of the pool. |
| 400 | OperationDenied.Ipv6VpcNotSupport | The allocation of IPv6 VPC is not supported to delete. | The allocation of IPv6 VPC is not supported to delete. |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. | The IPAM pool 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.