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(OSClientFactory clientFactory,
String victimId)
Creates a new
DeleteServerRequest. |
| Modifier and Type | Method and Description |
|---|---|
Void |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getApiAccessConfig, getClientFactorypublic DeleteServerRequest(OSClientFactory clientFactory, String victimId)
DeleteServerRequest.clientFactory - OpenStack API client factory.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–2016 elastisys. All rights reserved.