org.jclouds.glesys.features
Interface IpAsyncApi


public interface IpAsyncApi

Provides asynchronous access to IP Addresses via their REST API.

Author:
Adrian Cole, Mattias Holmqvist, Adam Lowe
See Also:
IpApi,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<IpDetails> addToServer(String ipAddress, String serverId)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> get(String ipAddress)
           
 com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<IpDetails>> list(ListIpOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<String>> listFree(int ipversion, String datacenter, String platform)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> release(String ipAddress)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> removeFromServer(String ipAddress, String serverId)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> removeFromServerAndRelease(String ipAddress, String serverId)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> resetPtr(String ipAddress)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> setPtr(String ipAddress, String ptr)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> take(String ipAddress)
           
 

Method Detail

listFree

@Named(value="ip:listfree")
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<String>> listFree(int ipversion,
                                                                                                                    String datacenter,
                                                                                                                    String platform)
See Also:
IpApi.listFree(int, java.lang.String, java.lang.String)

take

@Named(value="ip:take")
com.google.common.util.concurrent.ListenableFuture<IpDetails> take(String ipAddress)
See Also:
IpApi.take(java.lang.String)

release

@Named(value="ip:release")
com.google.common.util.concurrent.ListenableFuture<IpDetails> release(String ipAddress)
See Also:
IpApi.release(java.lang.String)

list

@Named(value="ip:listown")
com.google.common.util.concurrent.ListenableFuture<com.google.common.collect.FluentIterable<IpDetails>> list(ListIpOptions... options)
See Also:
IpApi.list(org.jclouds.glesys.options.ListIpOptions...)

get

@Named(value="ip:details")
com.google.common.util.concurrent.ListenableFuture<IpDetails> get(String ipAddress)
See Also:
IpApi.get(java.lang.String)

addToServer

@Named(value="ip:add")
com.google.common.util.concurrent.ListenableFuture<IpDetails> addToServer(String ipAddress,
                                                                                String serverId)
See Also:
IpApi.addToServer(java.lang.String, java.lang.String)

removeFromServer

@Named(value="ip:remove")
com.google.common.util.concurrent.ListenableFuture<IpDetails> removeFromServer(String ipAddress,
                                                                                     String serverId)
See Also:
IpApi.removeFromServer(java.lang.String, java.lang.String)

removeFromServerAndRelease

@Named(value="ip:remove:release")
com.google.common.util.concurrent.ListenableFuture<IpDetails> removeFromServerAndRelease(String ipAddress,
                                                                                               String serverId)
See Also:
IpApi.removeFromServer(java.lang.String, java.lang.String)

setPtr

@Named(value="ip:setptr")
com.google.common.util.concurrent.ListenableFuture<IpDetails> setPtr(String ipAddress,
                                                                           String ptr)
See Also:
IpApi.setPtr(java.lang.String, java.lang.String)

resetPtr

@Named(value="ip:resetptr")
com.google.common.util.concurrent.ListenableFuture<IpDetails> resetPtr(String ipAddress)
See Also:
IpApi.resetPtr(java.lang.String)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.