public class ListImagesRequest extends AbstractOpenstackRequest<List<org.openstack4j.model.compute.Image>>
| Constructor and Description |
|---|
ListImagesRequest(com.elastisys.scale.commons.openstack.OSClientFactory clientFactory)
Constructs a new
ListImagesRequest task. |
| Modifier and Type | Method and Description |
|---|---|
List<org.openstack4j.model.compute.Image> |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getApiAccessConfig, getClientFactorypublic ListImagesRequest(com.elastisys.scale.commons.openstack.OSClientFactory clientFactory)
ListImagesRequest task.clientFactory - OpenStack API client factory.public List<org.openstack4j.model.compute.Image> doRequest(org.openstack4j.api.OSClient api) throws org.openstack4j.api.exceptions.ResponseException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<List<org.openstack4j.model.compute.Image>>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.org.openstack4j.api.exceptions.ResponseException - if the request failed.Copyright © 2011–2017 Elastisys. All rights reserved.