Modifier and Type | Method and Description |
---|---|
String |
addRecordToPoolWithTTL(String rdata,
String lbPoolID,
int ttl)
adds a new record to the pool with default weight.
|
String |
addRecordToPoolWithTTLAndWeight(String rdata,
String lbPoolID,
int ttl,
int weight)
adds a new record to the pool with a specified weight.
|
String |
createForDNameAndType(String name,
String dname,
int rrType)
creates a traffic controller pool.
|
void |
delete(String id)
removes a pool and all its records and probes
|
void |
deleteRecord(String poolRecordID)
deletes a specific pooled resource record
|
String |
getNameByDName(String dname)
Retrieves the name of the specified pool by dname.
|
PoolRecordSpec |
getRecordSpec(String poolRecordID) |
com.google.common.collect.FluentIterable<TrafficControllerPool> |
list()
Returns all traffic controller pools in the zone.
|
com.google.common.collect.FluentIterable<TrafficControllerPoolRecordDetail> |
listRecords(String poolId)
Returns all records in the traffic controller pool.
|
void |
updateRecord(String poolRecordID,
UpdatePoolRecord update)
This request updates an existing pool record.
|
@Named(value="addTCLBPool") String createForDNameAndType(String name, String dname, int rrType) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
name
- name
of the TC pooldname
- dname
of the TC pool
{ex. www.jclouds.org.}rrType
- the record type
supported.guid
of the new recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a pool already exists with the same attrs@Named(value="getLoadBalancingPoolsByZone") com.google.common.collect.FluentIterable<TrafficControllerPool> list() throws ResourceNotFoundException
ResourceNotFoundException
- if the zone doesn't exist@Named(value="getPoolRecords") com.google.common.collect.FluentIterable<TrafficControllerPoolRecordDetail> listRecords(String poolId) throws ResourceNotFoundException
ResourceNotFoundException
- if the pool doesn't exist@Nullable @Named(value="getPoolForPoolHostName>") String getNameByDName(String dname)
dname
- TrafficControllerPool.getDName()
ex. jclouds.org.
@Named(value="deleteLBPool") void delete(String id)
id
- the id
@Named(value="addPoolRecord") String addRecordToPoolWithTTL(String rdata, String lbPoolID, int ttl) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
rdata
- the ipv4 address or hostnamelbPoolID
- the pool to add the record to.ttl
- the ttl
of the recordid
of the new
recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a record already exists with the same attrs@Named(value="addPoolRecord") String addRecordToPoolWithTTLAndWeight(String rdata, String lbPoolID, int ttl, int weight) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
rdata
- the ipv4 address or hostnamelbPoolID
- the pool to add the record to.ttl
- the ttl
of the recordweight
- the weight
of the recordid
of the new
recordUltraDNSWSExceptions.ResourceAlreadyExistsException
- if a record already exists with the same attrs@Named(value="getPoolRecordSpec>") @Nullable PoolRecordSpec getRecordSpec(String poolRecordID)
poolRecordID
- TrafficControllerPoolRecordDetail.getId()
@Named(value="updatePoolRecord>") void updateRecord(String poolRecordID, UpdatePoolRecord update) throws ResourceNotFoundException
poolRecordID
- TrafficControllerPoolRecordDetail.getId()
update
- what to update, usually primed via
UpdatePoolRecord.pointingTo(PoolRecordSpec, String)
or
UpdatePoolRecord.Builder.from(PoolRecordSpec)
ResourceNotFoundException
- if the record doesn't exist@Named(value="deletePoolRecord") void deleteRecord(String poolRecordID)
poolRecordID
- TrafficControllerPoolRecord#getId()
Copyright © 2009-2013 jclouds. All Rights Reserved.