public class GetServerRequest extends AbstractOpenstackRequest<org.openstack4j.model.compute.Server>
Server instance.
If the requested Server cannot be found, an
IllegalArgumentException is raised.| Constructor and Description |
|---|
GetServerRequest(OpenStackPoolDriverConfig account,
String serverId) |
| Modifier and Type | Method and Description |
|---|---|
org.openstack4j.model.compute.Server |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getAccessConfigpublic GetServerRequest(OpenStackPoolDriverConfig account, String serverId)
public org.openstack4j.model.compute.Server doRequest(org.openstack4j.api.OSClient api)
throws NotFoundException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<org.openstack4j.model.compute.Server>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.NotFoundExceptionCopyright © 2011–2015 elastisys. All rights reserved.