Module openstack_sdk::api::network::v2::floatingip::set
source · Expand description
Updates a floating IP and its association with an internal port.
The association process is the same as the process for the create floating IP operation.
To disassociate a floating IP from a port, set the port_id attribute to
null or omit it from the request body.
This example updates a floating IP:
Depending on the request body that you submit, this request associates a port with or disassociates a port from a floating IP.
Normal response codes: 200
Error response codes: 400, 401, 404, 409, 412
Structs§
- A
floatingipobject. 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. - Builder for
Floatingip. - Builder for
Request.
Enums§
- Error type for FloatingipBuilder
- Error type for RequestBuilder