public class AssignFloatingIpRequest extends AbstractOpenstackRequest<String>
Server. The return value of the task is the assigned IP address.| Constructor and Description |
|---|
AssignFloatingIpRequest(com.elastisys.scale.commons.openstack.OSClientFactory clientFactory,
org.openstack4j.model.compute.Server server)
Creates a new
AssignFloatingIpRequest. |
| Modifier and Type | Method and Description |
|---|---|
String |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getApiAccessConfig, getClientFactorypublic AssignFloatingIpRequest(com.elastisys.scale.commons.openstack.OSClientFactory clientFactory,
org.openstack4j.model.compute.Server server)
AssignFloatingIpRequest.clientFactory - OpenStack API client factory.server - public String doRequest(org.openstack4j.api.OSClient api) throws org.openstack4j.api.exceptions.ResponseException, NotFoundException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<String>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.org.openstack4j.api.exceptions.ResponseException - if the request failed.NotFoundExceptionCopyright © 2011–2017 Elastisys. All rights reserved.