public class FloatingIPServiceImpl extends BaseNetworkingServices implements NetFloatingIPService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
FloatingIPServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
NetFloatingIP |
associateToPort(String fipId,
String portId)
Associates a Floating IP to a Port.
|
NetFloatingIP |
create(NetFloatingIP floatingIp)
Creates a new Floating IP
|
ActionResponse |
delete(String fipId)
Deletes NetFloatingIP by id.
|
NetFloatingIP |
disassociateFromPort(String fipId)
Disassociate from port.
|
NetFloatingIP |
get(String fipId)
Gets a NetFloatingIP by id.
|
List<? extends NetFloatingIP> |
list()
Returns list of floating IPs.
|
List<? extends NetFloatingIP> |
list(Map<String,String> filteringParams)
Returns list of floating IPs filtered by parameters.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends NetFloatingIP> list()
list in interface NetFloatingIPServicepublic List<? extends NetFloatingIP> list(Map<String,String> filteringParams)
list in interface NetFloatingIPServicefilteringParams - map (name, value) of filtering parameterspublic NetFloatingIP get(String fipId)
get in interface NetFloatingIPServicefipId - the floating-ip identifier.public ActionResponse delete(String fipId)
delete in interface NetFloatingIPServicefipId - the floating-ip identifier.public NetFloatingIP create(NetFloatingIP floatingIp)
create in interface NetFloatingIPServicefloatingIp - the floating ippublic NetFloatingIP associateToPort(String fipId, String portId)
associateToPort in interface NetFloatingIPServicefipId - the floating-ip identifier.portId - Id of the port to associate to.public NetFloatingIP disassociateFromPort(String fipId)
disassociateFromPort in interface NetFloatingIPServicefipId - the floating-ip identifier.Copyright © 2020. All rights reserved.