public interface IpClient
IpAsyncClient
,
Modifier and Type | Method and Description |
---|---|
void |
addIpToServer(String ipAddress,
String serverId)
Add an IP address to an server.
|
IpDetails |
getIpDetails(String ipAddress)
Get details about the given IP address such as gateway and netmask.
|
Set<String> |
listFree(String ipversion,
String datacenter,
String platform)
Get a set of all IP addresses that are available and not used on any account or server.
|
void |
release(String ipAddress)
Return an unused IP address to the pool of free ips.
|
void |
removeIpFromServer(String ipAddress,
String serverId)
Remove an IP address from a server.
|
void |
take(String ipAddress)
Take a free IP address and add it to this account.
|
void take(String ipAddress)
ipAddress
- void release(String ipAddress)
ipAddress
- the IP address to be releasedvoid addIpToServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to add the IP address tovoid removeIpFromServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to remove the IP address fromSet<String> listFree(String ipversion, String datacenter, String platform)
ipversion
- "4" or "6", for IPV4 or IPV6, respectivelydatacenter
- the datacenterplatform
- the platformCopyright © 2009-2012 jclouds. All Rights Reserved.