• SAP HANA

saphana
  1. Help Center
  2. SAP HANA
  3. User Guide (API)
  4. Creating a HANA ECS
  5. (Optional) Binding a Floating IP address

(Optional) Binding a Floating IP address

API Format

Method

URI

Description

PUT

/v2.0/floatingips/{floatingip_id}

Binds the floating IP address to the specified port.

Restrictions

None

Request Parameters

Parameter

Type

Mandatory or Not

Description

floatingip

Dict

Yes

Floating IP address

For details, see the Floating IP address table.

The floatingip and port_id fields are mandatory.

Response Parameters

Parameter

Type

Mandatory or Not

Description

floatingip

Dict

Yes

Floating IP address

For details, see the Floating IP address table.

Request Example

PUT /v2.0/floatingips/b639c937-4737-4107-8978-fecc7327a5ae
{
   "floatingip": {
     "port_id": "21b5c483-84e9-40a1-86b3-3041606106f5"
   }
}

Response Example

{
    "floatingip": {
     "router_id": null,
     "tenant_id": "6fbe9263116a4b68818cf1edce16bc4f",
     "floating_network_id": "0a2228f2-7f8a-45f1-8e09-9039e1d09975",
     "fixed_ip_address": "10.0.2.2",
     "floating_ip_address": "192.150.73.19",
     "port_id": "21b5c483-84e9-40a1-86b3-3041606106f5",
     "id": "b639c937-4737-4107-8978-fecc7327a5ae"
   }
}