|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpClient
Provides synchronous access to IP Addresses.
IpAsyncClient,
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void take(String ipAddress)
ipAddress - void release(String ipAddress)
ipAddress - the IP address to be released
void addIpToServer(String ipAddress,
String serverId)
ipAddress - the IP address to removeserverId - the server to add the IP address to
void removeIpFromServer(String ipAddress,
String serverId)
ipAddress - the IP address to removeserverId - the server to remove the IP address from
Set<String> listFree(String ipversion,
String datacenter,
String platform)
ipversion - "4" or "6", for IPV4 or IPV6, respectivelydatacenter - the datacenterplatform - the platform
IpDetails getIpDetails(String ipAddress)
ipAddress - the ip address
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||