|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoundRobinPoolApi
| Method Summary | |
|---|---|
String |
addAAAARecordWithAddressAndTTL(String lbPoolID,
String ipv6Address,
int ttl)
adds a new AAAA record to the pool |
String |
addARecordWithAddressAndTTL(String lbPoolID,
String ipv4Address,
int ttl)
adds a new A record to the pool |
String |
createForDNameAndType(String name,
String dname,
int rrType)
creates a round robin pool. |
void |
delete(String id)
removes a pool and all its records and probes |
void |
deleteRecord(String guid)
deletes a specific pooled resource record |
com.google.common.collect.FluentIterable<RoundRobinPool> |
list()
Returns all round robin pools in the zone. |
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
listRecords(String poolId)
Returns all records in the round robin pool. |
void |
updateRecordWithAddressAndTTL(String lbPoolID,
String guid,
String ipv4Address,
int ttl)
updates an existing A or AAAA record in the pool. |
| Method Detail |
|---|
@Named(value="getLoadBalancingPoolsByZone")
com.google.common.collect.FluentIterable<RoundRobinPool> list()
throws org.jclouds.rest.ResourceNotFoundException
org.jclouds.rest.ResourceNotFoundException - if the zone doesn't exist
@Named(value="getRRPoolRecords")
com.google.common.collect.FluentIterable<ResourceRecordDetail> listRecords(String poolId)
throws org.jclouds.rest.ResourceNotFoundException
org.jclouds.rest.ResourceNotFoundException - if the pool doesn't exist
@Named(value="addRRLBPool")
String createForDNameAndType(String name,
String dname,
int rrType)
throws UltraDNSWSExceptions.ResourceAlreadyExistsException
name - name of the RR pooldname - dname of the RR pool {ex.
www.jclouds.org.}rrType - the record type supported.
guid of the new pool
UltraDNSWSExceptions.ResourceAlreadyExistsException - if a pool already exists with the same attrs
@Named(value="addRecordToRRPool")
String addARecordWithAddressAndTTL(String lbPoolID,
String ipv4Address,
int ttl)
throws UltraDNSWSExceptions.ResourceAlreadyExistsException
A record to the pool
lbPoolID - the pool to add the record to.ipv4Address - the ipv4 addressttl - the ttl of the record
guid of the new record
UltraDNSWSExceptions.ResourceAlreadyExistsException - if a record already exists with the same attrs
@Named(value="updateRecordOfRRPool")
void updateRecordWithAddressAndTTL(String lbPoolID,
String guid,
String ipv4Address,
int ttl)
throws org.jclouds.rest.ResourceNotFoundException
lbPoolID - the pool to add the record to.guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()address - the ipv4 or ipv6 addressttl - the ttl of the record
org.jclouds.rest.ResourceNotFoundException - if the guid doesn't exist@Named(value="deleteRecordOfRRPool") void deleteRecord(String guid)
guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()
@Named(value="addRecordToRRPool")
String addAAAARecordWithAddressAndTTL(String lbPoolID,
String ipv6Address,
int ttl)
throws UltraDNSWSExceptions.ResourceAlreadyExistsException
AAAA record to the pool
lbPoolID - the pool to add the record to.ipv6Address - the ipv6 addressttl - the ttl of the record
guid of the new record
UltraDNSWSExceptions.ResourceAlreadyExistsException - if a record already exists with the same attrs@Named(value="deleteLBPool") void delete(String id)
id - the id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||