org.jclouds.glesys.features
Interface IpAsyncClient


public interface IpAsyncClient

Provides asynchronous access to IP Addresses via their REST API.

Author:
Adrian Cole, Mattias Holmqvist
See Also:
ServerClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> addIpToServer(String ipAddress, String serverId)
           
 com.google.common.util.concurrent.ListenableFuture<IpDetails> getIpDetails(String ipAddress)
           
 com.google.common.util.concurrent.ListenableFuture<Set<String>> listFree(String ipversion, String datacenter, String platform)
           
 com.google.common.util.concurrent.ListenableFuture<Void> release(String ipAddress)
           
 com.google.common.util.concurrent.ListenableFuture<Void> removeIpFromServer(String ipAddress, String serverId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> take(String ipAddress)
           
 

Method Detail

take

com.google.common.util.concurrent.ListenableFuture<Void> take(String ipAddress)
See Also:
IpClient.take(java.lang.String)

release

com.google.common.util.concurrent.ListenableFuture<Void> release(String ipAddress)
See Also:
IpClient.release(java.lang.String)

addIpToServer

com.google.common.util.concurrent.ListenableFuture<Void> addIpToServer(String ipAddress,
                                                                       String serverId)
See Also:
IpClient#add

removeIpFromServer

com.google.common.util.concurrent.ListenableFuture<Void> removeIpFromServer(String ipAddress,
                                                                            String serverId)
See Also:
TODO: add optional release_ip parameter

listFree

com.google.common.util.concurrent.ListenableFuture<Set<String>> listFree(String ipversion,
                                                                         String datacenter,
                                                                         String platform)
See Also:
IpClient.listFree(java.lang.String, java.lang.String, java.lang.String)

getIpDetails

com.google.common.util.concurrent.ListenableFuture<IpDetails> getIpDetails(String ipAddress)
See Also:
IpClient.getIpDetails(java.lang.String)


Copyright © 2009-2012 jclouds. All Rights Reserved.