org.jclouds.openstack.nova.v2_0.features
Interface ServerAsyncApi


public interface ServerAsyncApi

Provides asynchronous access to Server via their REST API.

Author:
Adrian Cole
See Also:
ServerApi,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(String id, String adminPass)
           
 com.google.common.util.concurrent.ListenableFuture<Void> confirmResizeServer(String id)
           
 com.google.common.util.concurrent.ListenableFuture<String> createImageFromServer(String name, String id)
           
 com.google.common.util.concurrent.ListenableFuture<ServerCreated> createServer(String name, String imageRef, String flavorRef, CreateServerOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Server> getServer(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Resource>> listServers()
           
 com.google.common.util.concurrent.ListenableFuture<Set<Server>> listServersInDetail()
           
 com.google.common.util.concurrent.ListenableFuture<Void> rebootServer(String id, RebootType rebootType)
           
 com.google.common.util.concurrent.ListenableFuture<Void> rebuildServer(String id, RebuildServerOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> renameServer(String id, String newName)
           
 com.google.common.util.concurrent.ListenableFuture<Void> resizeServer(String id, String flavorId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> revertResizeServer(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> startServer(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Void> stopServer(String id)
           
 

Method Detail

listServers

com.google.common.util.concurrent.ListenableFuture<Set<Resource>> listServers()
See Also:
ServerApi.listServers()

listServersInDetail

com.google.common.util.concurrent.ListenableFuture<Set<Server>> listServersInDetail()
See Also:
ServerApi.listServersInDetail()

getServer

com.google.common.util.concurrent.ListenableFuture<Server> getServer(String id)
See Also:
ServerApi.getServer(java.lang.String)

deleteServer

com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(String id)
See Also:
ServerApi.deleteServer(java.lang.String)

startServer

com.google.common.util.concurrent.ListenableFuture<Void> startServer(String id)
See Also:
ServerApi.startServer(java.lang.String)

stopServer

com.google.common.util.concurrent.ListenableFuture<Void> stopServer(String id)
See Also:
ServerApi.stopServer(java.lang.String)

rebootServer

com.google.common.util.concurrent.ListenableFuture<Void> rebootServer(String id,
                                                                      RebootType rebootType)
See Also:
ServerApi.rebootServer(java.lang.String, org.jclouds.openstack.nova.v2_0.domain.RebootType)

resizeServer

com.google.common.util.concurrent.ListenableFuture<Void> resizeServer(String id,
                                                                      String flavorId)
See Also:
ServerApi.resizeServer(java.lang.String, java.lang.String)

confirmResizeServer

com.google.common.util.concurrent.ListenableFuture<Void> confirmResizeServer(String id)
See Also:
ServerApi.confirmResizeServer(java.lang.String)

revertResizeServer

com.google.common.util.concurrent.ListenableFuture<Void> revertResizeServer(String id)
See Also:
ServerApi.revertResizeServer(java.lang.String)

createServer

com.google.common.util.concurrent.ListenableFuture<ServerCreated> createServer(String name,
                                                                               String imageRef,
                                                                               String flavorRef,
                                                                               CreateServerOptions... options)
See Also:
ServerApi.createServer(java.lang.String, java.lang.String, java.lang.String, org.jclouds.openstack.nova.v2_0.options.CreateServerOptions...)

rebuildServer

com.google.common.util.concurrent.ListenableFuture<Void> rebuildServer(String id,
                                                                       RebuildServerOptions... options)
See Also:
ServerApi.rebuildServer(java.lang.String, org.jclouds.openstack.nova.v2_0.options.RebuildServerOptions...)

changeAdminPass

com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(String id,
                                                                         String adminPass)
See Also:
ServerApi.changeAdminPass(java.lang.String, java.lang.String)

renameServer

com.google.common.util.concurrent.ListenableFuture<Void> renameServer(String id,
                                                                      String newName)
See Also:
ServerApi.renameServer(java.lang.String, java.lang.String)

createImageFromServer

com.google.common.util.concurrent.ListenableFuture<String> createImageFromServer(String name,
                                                                                 String id)
See Also:
ServerApi.createImageFromServer(java.lang.String, java.lang.String)


Copyright © 2009-2012 jclouds. All Rights Reserved.