Remove um endereço de IP elástico (EIP) ou um endereço IP virtual (VIP) de uma zona de um registro DNS.
Descrição da operação
Esta operação é suportada por instâncias do Application Load Balancer (ALB) que utilizam endereços IP estáticos. A zona não pode ser removida se a instância ALB possuir apenas uma zona disponível.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
alb:StartShiftLoadBalancerZones |
update |
*LoadBalancer
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| ClientToken |
string |
Não |
O token do cliente usado para garantir a idempotência da solicitação. Você pode usar o cliente para gerar o token, mas deve garantir que o token seja único entre diferentes solicitações. O token pode conter apenas caracteres ASCII. Nota
Se você não especificar este parâmetro, o sistema usará automaticamente o ID da solicitação como o token do cliente. O ID da solicitação pode ser diferente para cada solicitação. |
5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
| DryRun |
boolean |
Não |
Especifica se deve ser realizado apenas um dry run, sem executar a solicitação real. Valores válidos:
|
true |
| LoadBalancerId |
string |
Sim |
O ID da instância ALB. |
alb-o9ulmq5hgn68jk**** |
| ZoneMappings |
array<object> |
Sim |
Os mapeamentos entre zonas e vSwitches. Nota
Você pode remover apenas uma zona em cada chamada. |
|
|
object |
Não |
|||
| VSwitchId |
string |
Sim |
O ID do vSwitch na zona. Por padrão, cada zona usa um vSwitch e uma sub-rede. |
vsw-bp1rmcrwg3erh1fh8**** |
| ZoneId |
string |
Sim |
O ID da zona. Você pode chamar a operação DescribeZones para consultar a lista de zonas mais recente. |
cn-hangzhou-a |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Schema da resposta. |
||
| RequestId |
string |
O ID da solicitação. |
5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "5A2CFF0E-5718-45B5-9D4D-70B3FF3898"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | IncorrectStatus.LoadBalancer | The status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.LoadBalancer | The business status of %s [%s] is incorrect. | The business status of %s [%s] is incorrect. |
| 400 | IncorrectBusinessStatus.Eip | The business status of %s [%s] is incorrect. | The business status of %s [%s] is incorrect. |
| 400 | OperationDenied.ZoneVSwitchChanged | The operation is not allowed because of %s. | The operation is not allowed because of %s. |
| 400 | OperationDenied.ZoneMappingsNotChanged | The operation is not allowed because of %s. | |
| 400 | OperationDenied.ZoneVSwitchNotExist | The operation is not allowed because of %s. | The instance does not contain the zone or vSwitch specified in the request. |
| 400 | OperationDenied.EniStatusNotSupport | The operation is not allowed because of %s. | This operation is not supported by the status of the ENI. |
| 400 | OperationDenied.OnlyFixedAddressAllocatedModeSupported | The operation is not allowed because of %s. | This operation is not supported by the IP mode of the SLB instance. |
| 400 | OperationDenied.ConfigLastActiveZoneNotSupport | The operation is not allowed because of %s. | You are not allowed to remove, disable, or delete the A record of the last active zone. |
| 400 | OperationFailed.ShiftLoadBalancerZonesFailed | The operation is not allowed because of %s. | Failed to remove the A record of the IP address in the zone. |
| 400 | ResourceNotEnough.VSwitchIp | The specified resource %s is not enough. | The specified resource %s is not enough. |
| 400 | Mismatch.ZoneIdAndVSwitchId | The %s and %s are mismatched. | The %s and %s are mismatched. |
| 404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | The specified resource %s is not found. |
| 404 | ResourceNotFound.VSwitch | The specified resource %s is not found. | The specified resource %s is not found. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.