public interface RoundRobinPoolApi
RoundRobinPoolAsyncApi
Modifier and Type | Method and Description |
---|---|
String |
addAAAARecordWithAddressAndTTL(String lbPoolID,
String ipv6Address,
com.google.common.primitives.UnsignedInteger ttl)
adds a new
AAAA record to the pool |
String |
addARecordWithAddressAndTTL(String lbPoolID,
String ipv4Address,
com.google.common.primitives.UnsignedInteger ttl)
adds a new
A record to the pool |
String |
createAAAAPoolForHostname(String name,
String hostname)
creates a round robin pool for
AAAA (ipv6) records |
String |
createAPoolForHostname(String name,
String hostname)
creates a round robin pool for
A (ipv4) records |
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<ResourceRecordMetadata> |
listRecords(String poolId)
Returns all records in the round robin pool.
|
void |
updateRecordWithAddressAndTTL(String lbPoolID,
String guid,
String address,
com.google.common.primitives.UnsignedInteger ttl)
updates an existing A or AAAA record in the pool.
|
String createAPoolForHostname(String name, String hostname) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
A
(ipv4) recordsname
- name
of the RR poolhostname
- dname
of the RR pool {ex.
www.jclouds.org.}guid
of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a pool already exists with the same attrsString addARecordWithAddressAndTTL(String lbPoolID, String ipv4Address, com.google.common.primitives.UnsignedInteger ttl) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
A
record to the poollbPoolID
- the pool to add the record to.ipv4Address
- the ipv4 addressttl
- the ttl
of the recordguid
of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a record already exists with the same attrsString createAAAAPoolForHostname(String name, String hostname) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
AAAA
(ipv6) recordsname
- name
of the RR poolhostname
- hostname
{ex.
www.jclouds.org.}guid
of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a pool already exists with the same attrsString addAAAARecordWithAddressAndTTL(String lbPoolID, String ipv6Address, com.google.common.primitives.UnsignedInteger ttl) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
AAAA
record to the poollbPoolID
- the pool to add the record to.ipv6Address
- the ipv6 addressttl
- the ttl
of the recordguid
of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a record already exists with the same attrsvoid updateRecordWithAddressAndTTL(String lbPoolID, String guid, String address, com.google.common.primitives.UnsignedInteger ttl) throws 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 recordResourceNotFoundException
- if the guid doesn't existcom.google.common.collect.FluentIterable<RoundRobinPool> list() throws ResourceNotFoundException
ResourceNotFoundException
- if the zone doesn't existcom.google.common.collect.FluentIterable<ResourceRecordMetadata> listRecords(String poolId) throws ResourceNotFoundException
ResourceNotFoundException
- if the pool doesn't existvoid deleteRecord(String guid)
guid
- the global unique identifier for the resource record ResourceRecordMetadata.getGuid()
Copyright © 2009-2013 jclouds. All Rights Reserved.