public class DeleteServerRequest extends AbstractOpenstackRequest<Void>
Server, releases any
allocated floating IP addresses and waits for the server to be terminated
(since this may not be immediate due to eventual consistency).| Constructor and Description |
|---|
DeleteServerRequest(OpenStackPoolDriverConfig account,
String victimId) |
| Modifier and Type | Method and Description |
|---|---|
Void |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getAccessConfigpublic DeleteServerRequest(OpenStackPoolDriverConfig account, String victimId)
account - Account login credentials for a particular OpenStack Nova
endpoint.victimId - The identifier (UUID) of the server instance to delete.public Void doRequest(org.openstack4j.api.OSClient api) throws NotFoundException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<Void>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.NotFoundExceptionCopyright © 2011–2015 elastisys. All rights reserved.