Skip to main content

Get Floating IP

GET/v2.0/floatingips/{floatingip_id}

Shows details of a floating IP.

Request​

Parameters​

floatingip_idstringrequired

The ID of the floating IP address.

Sample Request​

curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
https://api.vietnix.cloud:9696/v2.0/floatingips/15adb7f5-05ce-4ec0-a146-b4921dcc5b4c

Response​

Response Parameters​

floatingipobjectrequired

A floatingip object. When you associate a floating IP address with a VM, the instance has the same public IP address each time that it boots, basically to maintain a consistent IP address for maintaining DNS assignment.

idstringrequired

The ID of the floating IP address.

router_idstringrequired

The ID of the router for the floating IP.

statusstringrequired

The status of the floating IP. Values are ACTIVE, DOWN and ERROR.

descriptionstringrequired

A human-readable description for the resource.

dns_domainstringrequired

A valid DNS domain.

dns_namestringrequired

A valid DNS name.

port_detailsstringrequired

The information of the port that this floating IP associates with. In particular, if the floating IP is associated with a port, this field contains some attributes of the associated port, including name, network_id, mac_address, admin_state_up, status, device_id and device_owner. If the floating IP is not associated with a port, this field is null.

tenant_idstringrequired

The ID of the project.

created_atstringrequired

The date and time when the resource was created. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm±hh. For example, 2015-08-27T09:49:58-05:00. The ±hh value, if included, is the time zone as an offset from UTC. In this example, the offset value is -05:00.

updated_atstringrequired

The date and time when the resource was updated. If the resource has not been updated, this field will be null. The date and time stamp format is ISO 8601: CCYY-MM-DDThh:mm±hh. For example, 2015-08-27T09:49:58-05:00. The ±hh value, if included, is the time zone as an offset from UTC. In this example, the offset value is -05:00.

revision_numberintegerrequired

The revision number of the resource.

project_idstringrequired

The ID of the project.

floating_network_idstringrequired

The ID of the network associated with the floating IP.

fixed_ip_addressstringrequired

The fixed IP address that is associated with the floating IP address.

floating_ip_addressstringrequired

The floating IP address.

port_idstringrequired

The ID of a port associated with the floating IP.

tagsarrayrequired

The list of tags on the resource.

port_forwardingsarrayrequired

The associated port forwarding resources for the floating IP. If the floating IP has multiple port forwarding resources, this field has multiple entries. Each entry consists of network IP protocol (protocol), the fixed IP address of internal neutron port (internal_ip_address), the TCP or UDP port used by internal neutron port (internal_port) and the TCP or UDP port used by floating IP (external_port).

Sample Response​

Response body
{
"floatingip": {
"id": "15adb7f5-05ce-4ec0-a146-b4921dcc5b4c",
"tenant_id": "f33507157a634f1cac71e06a70fb558e",
"floating_ip_address": "45.115.16.163",
"floating_network_id": "79cab11a-122d-43a7-9427-3575d9512413",
"router_id": "2740d75c-9a36-48fe-b660-16d47c2d0b29",
"port_id": "92f0c431-a2d6-4d74-94c4-74136353759b",
"fixed_ip_address": "192.168.0.131",
"status": "DOWN",
"description": "",
"qos_policy_id": null,
"port_details": {
"name": "kub02-og2n27k6f2kz-kube_masters-6vvzptxbvy5x-0-c7l5byvrp3xu-kube_master_eth0-wmsgxbcjat4h-0-qthrc3kaycd6",
"network_id": "87aa2b20-580c-420c-9ca0-15f20144024b",
"mac_address": "fa:16:3e:4f:0f:d9",
"admin_state_up": true,
"status": "ACTIVE",
"device_id": "3503c7d0-d59b-4996-9fd8-7ca5b479351f",
"device_owner": "compute:nova"
},
"tags": [],
"created_at": "2025-09-25T01:33:46Z",
"updated_at": "2025-09-25T01:33:54Z",
"revision_number": 6,
"project_id": "f33507157a634f1cac71e06a70fb558e"
}
}

Status Codes​

Success​

Status CodeDescription
200 - OKRequest was successful.

Error​

Status CodeDescription
401 - UnauthorizedUser must authenticate before making a request.
403 - ForbiddenPolicy does not allow current user to do this operation.
404 - Not FoundThe requested resource could not be found.