- Visão geral de serviço
- Primeiros passos
-
Guia de usuário
-
Elastic IP
- Visão geral do EIP
- Atribuição de um EIP
- Vinculação de um EIP a uma instância
- Desvinculação de um EIP de uma instância
- Liberação de um EIP
- Alteração do tamanho da largura de banda dedicada de um EIP
- Desvinculação de um EIP de um ECS e liberação do EIP
- Modificação de uma largura de banda do EIP
- Exportação de informações do EIP
- Gerenciamento de tags do EIP
- EIP IPv6
- Cobrança de EIP
- Largura de banda compartilhada
- Pacote de dados compartilhados
-
Larguras de banda de Internet globais
- Visão geral da largura de banda da Internet global
- Compra de uma largura de banda de Internet global
- Adição de EIPs globais a uma largura de banda de Internet global
- Modificação de uma largura de banda global da Internet
- Visualização de uma largura de banda da Internet global
- Exclusão de uma largura de banda de Internet global
-
EIPs globais
- Visão geral do EIP global
- Atribuição de um EIP global
- Vinculação de um EIP global a uma instância
- Desvinculação de um EIP global de uma instância
- Visualização de detalhes sobre um EIP global
- Liberação de um EIP global
- Modificação da largura de banda privada global de um EIP global
- Modificação da largura de banda da Internet global de um EIP global
- Monitoramento
- Gerenciamento de permissões
-
Elastic IP
- Melhores práticas
- Referência de API
-
Perguntas frequentes
-
Consulta de produto
- O que é uma cota?
- Como atribuir ou recuperar um EIP específico?
- Por que um EIP recém-atribuído é o mesmo que eu liberei?
- Quais são as diferenças entre EIP, endereço IP privado e endereço IP virtual?
- Um EIP que usa largura de banda dedicada pode ser alterado para usar largura de banda compartilhada?
- Posso vincular um EIP a vários ECSs?
- Quais são as diferenças entre as NICs primárias e de extensão dos ECSs?
- O que é a política de atribuição de EIP?
- Posso comprar um EIP específico?
- Does an EIP Change Over Time?
- Como consultar a região dos meus EIPs?
- Uma largura de banda pode ser usada por várias contas?
- Como alterar um EIP para uma instância?
- Quais são as diferenças entre um pacote complementar de largura de banda, pacote de dados compartilhados e largura de banda compartilhada?
- Preciso configurar um pacote de dados compartilhado para uso depois que ele for comprado?
- Por que não consigo encontrar meu EIP comprado no console de gerenciamento?
- Por que meus EIPs estão congelados? Como descongelar meus EIPs?
- Como consultar o uso de tráfego do meu EIP?
- Quando devo usar o BGP premium e existem limitações no uso do BGP premium?
-
Cobrança e pagamentos
- Como um EIP é cobrado?
- Como alterar meu modo de cobrança do EIP de pagamento por uso para anual/mensal?
- Como alterar um EIP de pagamento por uso de cobrança por largura de banda para tráfego ou de cobrança por tráfego para largura de banda?
- Por que ainda estou sendo cobrado depois que meu EIP foi desvinculado ou liberado?
- Quando estou sendo cobrado por um EIP?
- Vinculação e desvinculação de EIP
-
Largura de banda
- Qual é a faixa de tamanho de largura de banda?
- Como aumentar uma largura de banda para ser mais de 300 Mbit/s?
- Quais tipos de largura de banda estão disponíveis?
- Como comprar uma largura de banda compartilhada?
- Existe um limite para o número de EIPs que podem ser adicionados a cada largura de banda compartilhada?
- Quais são as diferenças entre uma largura de banda dedicada e uma compartilhada? Uma largura de banda dedicada pode ser alterada para uma largura de banda compartilhada ou o contrário?
- O que são largura de banda de entrada e largura de banda de saída?
- Como saber se meu limite de largura de banda do EIP foi excedido?
- Quais são as diferenças entre largura de banda do EIP e largura de banda de rede privada?
- Posso aumentar minha largura de banda faturada em base anual/mensal e depois diminuí-la?
- Qual é a relação entre largura de banda e taxa de upload/download?
- Quais são as diferenças entre BGP estático, BGP dinâmico e BGP premium?
-
Conectividade
- Quais são as prioridades da rota personalizada e do EIP se ambos estiverem configurados para um ECS para permitir que o ECS acesse a Internet?
- Por que meu ECS não consegue acessar a Internet mesmo depois que um EIP é vinculado?
- Como desbloquear um EIP?
- Por que há tremulação de rede ou perda de pacotes durante comunicações transfronteiriças?
- Por que a velocidade de download do meu ECS é lenta?
-
Consulta de produto
- No momento, o conteúdo não está disponível no seu idioma selecionado. Consulte a versão em inglês.
- What's New
- Function Overview
- Billing
- SDK Reference
- Videos
- Glossary
-
More Documents
-
User Guide (ME-Abu Dhabi Region)
- Service Overview
- Quick Start
-
Elastic IP
- EIP Overview
- Assigning an EIP and Binding It to an ECS
- Assigning an EIP
- Binding an EIP to an Instance
- Unbinding an EIP from an Instance
- Releasing an EIP
- Changing Dedicated Bandwidth Size of an EIP
- Unbinding an EIP from an ECS and Releasing the EIP
- Modifying an EIP Bandwidth
- Exporting EIP Information
- Managing EIP Tags
- Shared Bandwidth
- Monitoring
-
FAQs
-
Product Consultation
- What Is a Quota?
- How Do I Assign or Retrieve a Specific EIP?
- Why Is an EIP Newly Assigned the Same as the One I Released?
- What Are the Differences Between EIP, Private IP Address, and Virtual IP Address?
- Can an EIP That Uses Dedicated Bandwidth Be Changed to Use Shared Bandwidth?
- Can I Bind an EIP to Multiple ECSs?
- What Are the Differences Between the Primary and Extension NICs of ECSs?
- What Is the EIP Assignment Policy?
- Can I Assign a Specific EIP?
- Can a Bandwidth Be Used by Multiple Accounts?
- How Do I Unbind an EIP from an Instance and Bind a New EIP to the Instance?
- Why Can't I Find My Assigned EIP on the Management Console?
- EIP Binding and Unbinding
-
Bandwidth
- What Is the Bandwidth Size Range?
- How Do I Increase a Bandwidth to Be More Than 300 Mbit/s?
- What Bandwidth Types Are Available?
- Is There a Limit to the Number of EIPs That Can Be Added to Each Shared Bandwidth?
- What Are the Differences Between a Dedicated Bandwidth and a Shared Bandwidth?
- What Are Inbound Bandwidth and Outbound Bandwidth?
- How Do I Know If My EIP Bandwidth Limit Has Been Exceeded?
- What Are the Differences Between Public Bandwidth and Private Bandwidth?
- What Is the Relationship Between Bandwidth and Upload/Download Rate?
- Connectivity
-
Product Consultation
- Change History
- API Reference (ME-Abu Dhabi Region)
-
User Guide (Kuala Lumpur Region)
- Service Overview
- Quick Start
- EIP
- Shared Bandwidth
- Monitoring
-
FAQs
- Product Consultation
- EIP Binding and Unbinding
-
Bandwidth
- What Is the Bandwidth Size Range?
- What Bandwidth Types Are Available?
- Is There a Limit to the Number of EIPs That Can Be Added to Each Shared Bandwidth?
- What Are the Differences Between a Dedicated Bandwidth and a Shared Bandwidth? Can a Dedicated Bandwidth Be Changed to a Shared Bandwidth or the Other Way Around?
- Connectivity
- Change History
- API Reference (Kuala Lumpur Region)
- User Guide (Ankara Region)
- API Reference (Ankara Region)
-
User Guide (ME-Abu Dhabi Region)
Mostrar todos
Copiado.
Updating a Floating IP Address
Function
This API is used to update a floating IP address.
During the update, the ID of the floating IP address must be provided in the URL.
If port_id is left blank, the floating IP address has been unbound from the port.

- If you want to bind a floating IP address in the error state, unbind the IP address first.
- Do not associate a port that has a floating IP address associated to another floating IP address. You must first disassociate the port from the IP address and then associate it with another IP address.
Request Message
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. The token can be obtained by calling the IAM API used for obtaining a user token. The value of X-Subject-Token in the response header is the user token. |
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
floatingip |
floatingip object |
Yes |
Specifies the floating IP address list. For details, see Tabela 4. |
Response Message
Parameter |
Type |
Description |
---|---|---|
floatingip |
floatingip object |
Specifies the floating IP address list. For details, see Tabela 6. |
Attribute |
Type |
Description |
---|---|---|
status |
String |
Specifies the floating IP address status. The value can be ACTIVE, DOWN, or ERROR.
|
id |
String |
Specifies the floating IP address ID. |
floating_ip_address |
String |
Specifies the floating IP address. |
floating_network_id |
String |
Specifies the external network ID. |
router_id |
String |
Specifies the ID of the belonged router. |
port_id |
String |
Specifies the port ID. |
fixed_ip_address |
String |
Specifies the private IP address of the associated port. |
tenant_id |
String |
Specifies the project ID. |
dns_name |
String |
Specifies the DNS name. This parameter is available only in the CN South-Guangzhou region. |
dns_domain |
String |
Specifies the DNS domain. This parameter is available only in the CN South-Guangzhou region. |
Example:
Example request 1 (Binding a floating IP address to a port)
PUT https://{Endpoint}/v2.0/floatingips/b997e0d4-3359-4c74-8f88-bc0af81cd5a2 { "floatingip": { "port_id": "f91f5763-c5a2-4458-979d-61e48b3c3fac" } }
Example response 1 (Binding a floating IP address to a port)
{ "floatingip": { "id": "b997e0d4-3359-4c74-8f88-bc0af81cd5a2", "status": "DOWN", "router_id": null, "tenant_id": "bbfe8c41dd034a07bebd592bf03b4b0c", "project_id": "bbfe8c41dd034a07bebd592bf03b4b0c", "floating_network_id": "0a2228f2-7f8a-45f1-8e09-9039e1d09975", "fixed_ip_address": "192.168.10.3", "floating_ip_address": "88.88.215.205", "port_id": 00587256-27e3-489b-96bf-ea80c1da4aeb, "created_at": "2018-09-20T02:10:02", "updated_at": "2018-09-20T02:10:07" } }
Example request 2 (Unbinding a floating IP address from a port)
PUT https://{Endpoint}/v2.0/floatingips/b997e0d4-3359-4c74-8f88-bc0af81cd5a2 { "floatingip": { "port_id": null } }
Example response 2 (Unbinding a floating IP address from a port)
{ "floatingip": { "id": "b997e0d4-3359-4c74-8f88-bc0af81cd5a2", "status": "DOWN", "router_id": null, "tenant_id": "bbfe8c41dd034a07bebd592bf03b4b0c", "project_id": "bbfe8c41dd034a07bebd592bf03b4b0c", "floating_network_id": "0a2228f2-7f8a-45f1-8e09-9039e1d09975", "fixed_ip_address": null, "floating_ip_address": "88.88.215.205", "port_id": null, "created_at": "2018-09-20T02:10:02", "updated_at": "2018-09-20T02:10:07" } }