public interface ServerAsyncApi
ServerApi
,
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
changeAdminPass(String id,
String adminPass) |
com.google.common.util.concurrent.ListenableFuture<Void> |
confirmResize(String id) |
com.google.common.util.concurrent.ListenableFuture<ServerCreated> |
create(String name,
String imageRef,
String flavorRef,
CreateServerOptions... options) |
com.google.common.util.concurrent.ListenableFuture<String> |
createImageFromServer(String name,
String id) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
delete(String id) |
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteMetadata(String id,
String key) |
com.google.common.util.concurrent.ListenableFuture<? extends Server> |
get(String id) |
com.google.common.util.concurrent.ListenableFuture<com.google.common.base.Optional<Map<String,String>>> |
getDiagnostics(String id) |
com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> |
getMetadata(String id) |
com.google.common.util.concurrent.ListenableFuture<String> |
getMetadata(String id,
String key) |
com.google.common.util.concurrent.ListenableFuture<? extends PagedIterable<? extends Resource>> |
list() |
com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Resource>> |
list(PaginationOptions options) |
com.google.common.util.concurrent.ListenableFuture<? extends PagedIterable<? extends Server>> |
listInDetail() |
com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Server>> |
listInDetail(PaginationOptions options) |
com.google.common.util.concurrent.ListenableFuture<Void> |
reboot(String id,
RebootType rebootType) |
com.google.common.util.concurrent.ListenableFuture<Void> |
rebuild(String id,
RebuildServerOptions... options) |
com.google.common.util.concurrent.ListenableFuture<Void> |
rename(String id,
String newName) |
com.google.common.util.concurrent.ListenableFuture<Void> |
resize(String id,
String flavorId) |
com.google.common.util.concurrent.ListenableFuture<Void> |
revertResize(String id) |
com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> |
setMetadata(String id,
Map<String,String> metadata) |
com.google.common.util.concurrent.ListenableFuture<Void> |
start(String id) |
com.google.common.util.concurrent.ListenableFuture<Void> |
stop(String id) |
com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> |
updateMetadata(String id,
Map<String,String> metadata) |
com.google.common.util.concurrent.ListenableFuture<String> |
updateMetadata(String id,
String key,
String value) |
@Named(value="server:list") com.google.common.util.concurrent.ListenableFuture<? extends PagedIterable<? extends Resource>> list()
ServerApi.list()
@Named(value="server:list") com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Resource>> list(PaginationOptions options)
ServerApi.list(PaginationOptions)
@Named(value="server:list") com.google.common.util.concurrent.ListenableFuture<? extends PagedIterable<? extends Server>> listInDetail()
ServerApi.listInDetail()
@Named(value="server:list") com.google.common.util.concurrent.ListenableFuture<? extends PaginatedCollection<? extends Server>> listInDetail(PaginationOptions options)
@Named(value="server:get") com.google.common.util.concurrent.ListenableFuture<? extends Server> get(String id)
ServerApi.get(java.lang.String)
@Named(value="server:delete") com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
ServerApi.delete(java.lang.String)
@Named(value="server:start") com.google.common.util.concurrent.ListenableFuture<Void> start(String id)
ServerApi.start(java.lang.String)
@Named(value="server:stop") com.google.common.util.concurrent.ListenableFuture<Void> stop(String id)
ServerApi.stop(java.lang.String)
@Named(value="server:reboot") com.google.common.util.concurrent.ListenableFuture<Void> reboot(String id, RebootType rebootType)
@Named(value="server:resize") com.google.common.util.concurrent.ListenableFuture<Void> resize(String id, String flavorId)
@Named(value="server:resize") com.google.common.util.concurrent.ListenableFuture<Void> confirmResize(String id)
@Named(value="server:resize") com.google.common.util.concurrent.ListenableFuture<Void> revertResize(String id)
@Named(value="server:create") com.google.common.util.concurrent.ListenableFuture<ServerCreated> create(String name, String imageRef, String flavorRef, CreateServerOptions... options)
@Named(value="server:rebuild") com.google.common.util.concurrent.ListenableFuture<Void> rebuild(String id, RebuildServerOptions... options)
@Named(value="server:changeadminpass") com.google.common.util.concurrent.ListenableFuture<Void> changeAdminPass(String id, String adminPass)
@Named(value="server:rename") com.google.common.util.concurrent.ListenableFuture<Void> rename(String id, String newName)
@Named(value="server:create") com.google.common.util.concurrent.ListenableFuture<String> createImageFromServer(String name, String id)
@Named(value="server:getmetadata") com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> getMetadata(String id)
@Named(value="server:setmetadata") com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> setMetadata(String id, Map<String,String> metadata)
@Named(value="server:updatemetadata") com.google.common.util.concurrent.ListenableFuture<? extends Map<String,String>> updateMetadata(String id, Map<String,String> metadata)
@Named(value="server:getmetadata") com.google.common.util.concurrent.ListenableFuture<String> getMetadata(String id, String key)
@Named(value="server:updatemetadata") com.google.common.util.concurrent.ListenableFuture<String> updateMetadata(String id, String key, String value)
@Named(value="server:deletemetadata") com.google.common.util.concurrent.ListenableFuture<Void> deleteMetadata(String id, String key)
Copyright © 2009-2013 jclouds. All Rights Reserved.