org.jclouds.cloudservers
Interface CloudServersAsyncClient
public interface CloudServersAsyncClient
Provides asynchronous access to Cloud Servers via their REST API.
All commands return a ListenableFuture of the result from Cloud Servers. Any exceptions incurred
during processing will be wrapped in an ExecutionException
as documented in
Future.get()
.
- Author:
- Adrian Cole
- See Also:
CloudServersClient
,
Method Summary |
com.google.common.util.concurrent.ListenableFuture<Void> |
changeAdminPass(int id,
String adminPass)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
confirmResizeServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Image> |
createImageFromServer(String imageName,
int serverId)
|
com.google.common.util.concurrent.ListenableFuture<Server> |
createServer(String name,
int imageId,
int flavorId,
CreateServerOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<SharedIpGroup> |
createSharedIpGroup(String name,
CreateSharedIpGroupOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteBackupSchedule(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteImage(int id)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteSharedIpGroup(int id)
|
com.google.common.util.concurrent.ListenableFuture<Addresses> |
getAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<BackupSchedule> |
getBackupSchedule(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<Flavor> |
getFlavor(int id)
|
com.google.common.util.concurrent.ListenableFuture<Image> |
getImage(int id)
|
com.google.common.util.concurrent.ListenableFuture<Limits> |
getLimits()
|
com.google.common.util.concurrent.ListenableFuture<Server> |
getServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<SharedIpGroup> |
getSharedIpGroup(int id)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Flavor>> |
listFlavors(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Image>> |
listImages(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> |
listPrivateAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> |
listPublicAddresses(int serverId)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<Server>> |
listServers(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<? extends Set<SharedIpGroup>> |
listSharedIpGroups(ListOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
rebootServer(int id,
RebootType rebootType)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
rebuildServer(int id,
RebuildServerOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
renameServer(int id,
String newName)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
replaceBackupSchedule(int id,
BackupSchedule backupSchedule)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
resizeServer(int id,
int flavorId)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
revertResizeServer(int id)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
shareIp(String addressToShare,
int serverToTosignBindressTo,
int sharedIpGroup,
boolean configureServer)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
unshareIp(String addressToShare,
int serverToTosignBindressTo)
|
getLimits
com.google.common.util.concurrent.ListenableFuture<Limits> getLimits()
- See Also:
CloudServersClient.getLimits()
listServers
com.google.common.util.concurrent.ListenableFuture<? extends Set<Server>> listServers(ListOptions... options)
- See Also:
CloudServersClient.listServers(org.jclouds.cloudservers.options.ListOptions...)
getServer
com.google.common.util.concurrent.ListenableFuture<Server> getServer(int id)
- See Also:
CloudServersClient.getServer(int)
deleteServer
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteServer(int id)
- See Also:
CloudServersClient.deleteServer(int)
rebootServer
com.google.common.util.concurrent.ListenableFuture<Void> rebootServer(int id,
RebootType rebootType)
- See Also:
CloudServersClient.rebootServer(int, org.jclouds.cloudservers.domain.RebootType)
resizeServer
com.google.common.util.concurrent.ListenableFuture<Void> resizeServer(int id,
int flavorId)
- See Also:
CloudServersClient.resizeServer(int, int)
confirmResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> confirmResizeServer(int id)
- See Also:
CloudServersClient.confirmResizeServer(int)
revertResizeServer
com.google.common.util.concurrent.ListenableFuture<Void> revertResizeServer(int id)
- See Also:
CloudServersClient.revertResizeServer(int)
createServer
com.google.common.util.concurrent.ListenableFuture<Server> createServer(String name,
int imageId,
int flavorId,
CreateServerOptions... options)
- See Also:
CloudServersClient.createServer(java.lang.String, int, int, org.jclouds.cloudservers.options.CreateServerOptions...)
rebuildServer
com.google.common.util.concurrent.ListenableFuture<Void> rebuildServer(int id,
RebuildServerOptions... options)
- See Also:
CloudServersClient.rebuildServer(int, org.jclouds.cloudservers.options.RebuildServerOptions...)
shareIp
com.google.common.util.concurrent.ListenableFuture<Void> shareIp(String addressToShare,
int serverToTosignBindressTo,
int sharedIpGroup,
boolean configureServer)
- See Also:
CloudServersClient.shareIp(java.lang.String, int, int, boolean)
unshareIp
com.google.common.util.concurrent.ListenableFuture<Void> unshareIp(String addressToShare,
int serverToTosignBindressTo)
- See Also:
CloudServersClient.unshareIp(java.lang.String, int)
changeAdminPass
com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(int id,
String adminPass)
- See Also:
CloudServersClient.changeAdminPass(int, java.lang.String)
renameServer
com.google.common.util.concurrent.ListenableFuture<Void> renameServer(int id,
String newName)
- See Also:
CloudServersClient.renameServer(int, java.lang.String)
listFlavors
com.google.common.util.concurrent.ListenableFuture<? extends Set<Flavor>> listFlavors(ListOptions... options)
- See Also:
CloudServersClient.listFlavors(org.jclouds.cloudservers.options.ListOptions...)
getFlavor
com.google.common.util.concurrent.ListenableFuture<Flavor> getFlavor(int id)
- See Also:
CloudServersClient.getFlavor(int)
listImages
com.google.common.util.concurrent.ListenableFuture<? extends Set<Image>> listImages(ListOptions... options)
- See Also:
CloudServersClient.listImages(org.jclouds.cloudservers.options.ListOptions...)
getImage
com.google.common.util.concurrent.ListenableFuture<Image> getImage(int id)
- See Also:
CloudServersClient.getImage(int)
deleteImage
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteImage(int id)
- See Also:
CloudServersClient.deleteImage(int)
createImageFromServer
com.google.common.util.concurrent.ListenableFuture<Image> createImageFromServer(String imageName,
int serverId)
- See Also:
CloudServersClient.createImageFromServer(java.lang.String, int)
listSharedIpGroups
com.google.common.util.concurrent.ListenableFuture<? extends Set<SharedIpGroup>> listSharedIpGroups(ListOptions... options)
- See Also:
CloudServersClient.listSharedIpGroups(org.jclouds.cloudservers.options.ListOptions...)
getSharedIpGroup
com.google.common.util.concurrent.ListenableFuture<SharedIpGroup> getSharedIpGroup(int id)
- See Also:
CloudServersClient.getSharedIpGroup(int)
createSharedIpGroup
com.google.common.util.concurrent.ListenableFuture<SharedIpGroup> createSharedIpGroup(String name,
CreateSharedIpGroupOptions... options)
- See Also:
CloudServersClient.createSharedIpGroup(java.lang.String, org.jclouds.cloudservers.options.CreateSharedIpGroupOptions...)
deleteSharedIpGroup
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteSharedIpGroup(int id)
- See Also:
CloudServersClient.deleteSharedIpGroup(int)
getBackupSchedule
com.google.common.util.concurrent.ListenableFuture<BackupSchedule> getBackupSchedule(int serverId)
- See Also:
CloudServersClient#listBackupSchedule
deleteBackupSchedule
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteBackupSchedule(int serverId)
- See Also:
CloudServersClient.deleteBackupSchedule(int)
replaceBackupSchedule
com.google.common.util.concurrent.ListenableFuture<Void> replaceBackupSchedule(int id,
BackupSchedule backupSchedule)
- See Also:
CloudServersClient.replaceBackupSchedule(int, org.jclouds.cloudservers.domain.BackupSchedule)
getAddresses
com.google.common.util.concurrent.ListenableFuture<Addresses> getAddresses(int serverId)
- See Also:
CloudServersClient#listAddresses
listPublicAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPublicAddresses(int serverId)
- See Also:
CloudServersClient.listPublicAddresses(int)
listPrivateAddresses
com.google.common.util.concurrent.ListenableFuture<? extends Set<String>> listPrivateAddresses(int serverId)
- See Also:
CloudServersClient.listPrivateAddresses(int)
Copyright © 2009-2011 jclouds. All Rights Reserved.