org.jclouds.openstack.nova
Interface NovaAsyncClient
public interface NovaAsyncClient
Provides asynchronous access to OpenStack Nova via their REST API.
All commands return a ListenableFuture of the result from OpenStack Nova. Any exceptions incurred
during processing will be wrapped in an ExecutionException
as documented in
Future.get()
.
- Author:
- Adrian Cole
- See Also:
NovaClient
,
listServers
com.google.common.util.concurrent.ListenableFuture<? extends Set<Server>> listServers(ListOptions... options)
- See Also:
NovaClient.listServers(org.jclouds.openstack.nova.options.ListOptions...)
getServer
com.google.common.util.concurrent.ListenableFuture<Server> getServer(int id)
- See Also:
NovaClient.getServer(int)
deleteServer
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(int id)
- See Also:
NovaClient.deleteServer(int)
rebootServer
com.google.common.util.concurrent.ListenableFuture<Void> rebootServer(int id,
RebootType rebootType)
- See Also:
NovaClient.rebootServer(int, org.jclouds.openstack.nova.domain.RebootType)
resizeServer
com.google.common.util.concurrent.ListenableFuture<Void> resizeServer(int id,
int flavorId)
- See Also:
NovaClient.resizeServer(int, int)
confirmResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> confirmResizeServer(int id)
- See Also:
NovaClient.confirmResizeServer(int)
revertResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> revertResizeServer(int id)
- See Also:
NovaClient.revertResizeServer(int)
createServer
com.google.common.util.concurrent.ListenableFuture<Server> createServer(String name,
String imageRef,
String flavorRef,
CreateServerOptions... options)
- See Also:
NovaClient.createServer(java.lang.String, java.lang.String, java.lang.String, org.jclouds.openstack.nova.options.CreateServerOptions...)
rebuildServer
com.google.common.util.concurrent.ListenableFuture<Void> rebuildServer(int id,
RebuildServerOptions... options)
- See Also:
NovaClient.rebuildServer(int, org.jclouds.openstack.nova.options.RebuildServerOptions...)
changeAdminPass
com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(int id,
String adminPass)
- See Also:
NovaClient.changeAdminPass(int, java.lang.String)
renameServer
com.google.common.util.concurrent.ListenableFuture<Void> renameServer(int id,
String newName)
- See Also:
NovaClient.renameServer(int, java.lang.String)
listFlavors
com.google.common.util.concurrent.ListenableFuture<? extends Set<Flavor>> listFlavors(ListOptions... options)
- See Also:
NovaClient.listFlavors(org.jclouds.openstack.nova.options.ListOptions...)
getFlavor
com.google.common.util.concurrent.ListenableFuture<Flavor> getFlavor(int id)
- See Also:
NovaClient.getFlavor(int)
listImages
com.google.common.util.concurrent.ListenableFuture<? extends Set<Image>> listImages(ListOptions... options)
- See Also:
NovaClient.listImages(org.jclouds.openstack.nova.options.ListOptions...)
getImage
com.google.common.util.concurrent.ListenableFuture<Image> getImage(int id)
- See Also:
NovaClient.getImage(int)
deleteImage
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteImage(int id)
- See Also:
NovaClient.deleteImage(int)
createImageFromServer
com.google.common.util.concurrent.ListenableFuture<Image> createImageFromServer(String imageName,
int serverId)
- See Also:
NovaClient.createImageFromServer(java.lang.String, int)
getAddresses
com.google.common.util.concurrent.ListenableFuture<Addresses> getAddresses(int serverId)
- See Also:
NovaClient#listAddresses
listPublicAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPublicAddresses(int serverId)
- See Also:
NovaClient.listPublicAddresses(int)
listPrivateAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPrivateAddresses(int serverId)
- See Also:
NovaClient.listPrivateAddresses(int)
Copyright © 2009-2011 jclouds. All Rights Reserved.