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