public interface ServerAsyncApi
ServerApi
,
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
clone(String serverid,
String hostname,
CloneServerOptions... options) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
createWithHostnameAndRootPassword(ServerSpec serverSpec,
String hostname,
String rootPassword,
CreateServerOptions... options) |
com.google.common.util.concurrent.ListenableFuture<Void> |
destroy(String id,
DestroyServerOptions keepIp) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
get(String id) |
com.google.common.util.concurrent.ListenableFuture<Map<String,AllowedArgumentsForCreateServer>> |
getAllowedArgumentsForCreateByPlatform() |
com.google.common.util.concurrent.ListenableFuture<Console> |
getConsole(String id) |
com.google.common.util.concurrent.ListenableFuture<SortedMap<String,ServerLimit>> |
getLimits(String id) |
com.google.common.util.concurrent.ListenableFuture<ResourceUsage> |
getResourceUsage(String id,
String resource,
String resolution) |
com.google.common.util.concurrent.ListenableFuture<ServerStatus> |
getStatus(String id,
ServerStatusOptions... options) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
hardStop(String id) |
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<Server>> |
list() |
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<OSTemplate>> |
listTemplates() |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
reboot(String id) |
com.google.common.util.concurrent.ListenableFuture<SortedMap<String,ServerLimit>> |
resetLimit(String id,
String type) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
resetPassword(String id,
String password) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
start(String id) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
stop(String id) |
com.google.common.util.concurrent.ListenableFuture<ServerDetails> |
update(String serverid,
UpdateServerOptions options) |
@Named(value="server:list") com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<Server>> list()
ServerApi.list()
@Named(value="server:details") com.google.common.util.concurrent.ListenableFuture<ServerDetails> get(String id)
ServerApi.get(java.lang.String)
@Named(value="server:status") com.google.common.util.concurrent.ListenableFuture<ServerStatus> getStatus(String id, ServerStatusOptions... options)
@Named(value="server:limits") com.google.common.util.concurrent.ListenableFuture<SortedMap<String,ServerLimit>> getLimits(String id)
@Named(value="server:console") com.google.common.util.concurrent.ListenableFuture<Console> getConsole(String id)
@Named(value="server:allowedarguments") com.google.common.util.concurrent.ListenableFuture<Map<String,AllowedArgumentsForCreateServer>> getAllowedArgumentsForCreateByPlatform()
@Named(value="server:templates") com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<OSTemplate>> listTemplates()
ServerApi.listTemplates()
@Named(value="server:resetlimit") com.google.common.util.concurrent.ListenableFuture<SortedMap<String,ServerLimit>> resetLimit(String id, String type)
ServerApi.stop(java.lang.String)
@Named(value="server:reboot") com.google.common.util.concurrent.ListenableFuture<ServerDetails> reboot(String id)
ServerApi.reboot(java.lang.String)
@Named(value="server:start") com.google.common.util.concurrent.ListenableFuture<ServerDetails> start(String id)
ServerApi.start(java.lang.String)
@Named(value="server:stop") com.google.common.util.concurrent.ListenableFuture<ServerDetails> stop(String id)
ServerApi.stop(java.lang.String)
@Named(value="server:stop:hard") com.google.common.util.concurrent.ListenableFuture<ServerDetails> hardStop(String id)
ServerApi.hardStop(java.lang.String)
@Named(value="server:create") com.google.common.util.concurrent.ListenableFuture<ServerDetails> createWithHostnameAndRootPassword(ServerSpec serverSpec, String hostname, String rootPassword, CreateServerOptions... options)
@Named(value="server:clone") com.google.common.util.concurrent.ListenableFuture<ServerDetails> clone(String serverid, String hostname, CloneServerOptions... options)
@Named(value="server:edit") com.google.common.util.concurrent.ListenableFuture<ServerDetails> update(String serverid, UpdateServerOptions options)
@Named(value="server:destroy") com.google.common.util.concurrent.ListenableFuture<Void> destroy(String id, DestroyServerOptions keepIp)
@Named(value="server:resetpassword") com.google.common.util.concurrent.ListenableFuture<ServerDetails> resetPassword(String id, String password)
@Named(value="server:resourceusage") com.google.common.util.concurrent.ListenableFuture<ResourceUsage> getResourceUsage(String id, String resource, String resolution)
Copyright © 2009-2013 jclouds. All Rights Reserved.