public interface IpApi
IpAsyncApi
,
Modifier and Type | Method and Description |
---|---|
IpDetails |
addToServer(String ipAddress,
String serverId)
Add an IP address to an server.
|
IpDetails |
get(String ipAddress)
Get details about the given IP address such as gateway and netmask.
|
com.google.common.collect.FluentIterable<IpDetails> |
list(ListIpOptions... options)
Get IP addresses associated with your account (reserved, assigned to servers, etc)
|
com.google.common.collect.FluentIterable<String> |
listFree(int ipVersion,
String datacenter,
String platform)
Get a set of all IP addresses that are available and not used on any account or server.
|
IpDetails |
release(String ipAddress)
Return an unused IP address to the pool of free ips.
|
IpDetails |
removeFromServer(String ipAddress,
String serverId)
Remove an IP address from a server.
|
IpDetails |
removeFromServerAndRelease(String ipAddress,
String serverId)
Remove an IP address from a server and release it back to GleSYS pool of free ips.
|
IpDetails |
resetPtr(String ipAddress)
Resets PTR data for an IP back to the default value
|
IpDetails |
setPtr(String ipAddress,
String ptr)
Sets PTR data for an IP.
|
IpDetails |
take(String ipAddress)
Take a free IP address and add it to this account.
|
com.google.common.collect.FluentIterable<String> listFree(int ipVersion, String datacenter, String platform)
ipVersion
- 4 or 6, for IPV4 or IPV6, respectivelydatacenter
- the datacenterplatform
- the platformIpDetails take(String ipAddress)
ipAddress
- the IP address to be add to this account (reserve)IpDetails release(String ipAddress)
ipAddress
- the IP address to be releasedcom.google.common.collect.FluentIterable<IpDetails> list(ListIpOptions... options)
options
- options to filter the results (by IPV4/6, serverId, etc)IpDetails get(String ipAddress)
ipAddress
- the ip addressIpDetails addToServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to add the IP address toIpDetails removeFromServer(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to remove the IP address fromremoveFromServerAndRelease(java.lang.String, java.lang.String)
IpDetails removeFromServerAndRelease(String ipAddress, String serverId)
ipAddress
- the IP address to removeserverId
- the server to remove the IP address fromremoveFromServer(java.lang.String, java.lang.String)
IpDetails setPtr(String ipAddress, String ptr)
Copyright © 2009-2013 jclouds. All Rights Reserved.