|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceRecordApi
| Method Summary | |
|---|---|
String |
create(ResourceRecord toCreate)
creates a resource record in the zone. |
void |
delete(String guid)
deletes a specific resource record |
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
list()
Returns all the specified record types in the zone. |
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
listByName(String hostName)
Returns all the specified record types in the zone with the fully qualified hostName |
com.google.common.collect.FluentIterable<ResourceRecordDetail> |
listByNameAndType(String hostName,
int rrType)
Returns all the specified record types in the zone with the fully qualified hostName and rrType |
void |
update(String guid,
ResourceRecord toCreate)
updates an existing resource record in the zone. |
| Method Detail |
|---|
@Named(value="createResourceRecord")
String create(ResourceRecord toCreate)
throws UltraDNSWSExceptions.ResourceAlreadyExistsException
toCreate - the new record to create.
guid of the new record
UltraDNSWSExceptions.ResourceAlreadyExistsException - if a record already exists with the same attrs
@Named(value="updateResourceRecord")
void update(String guid,
ResourceRecord toCreate)
throws org.jclouds.rest.ResourceNotFoundException
guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()updated - the record to update.
org.jclouds.rest.ResourceNotFoundException - if the guid doesn't exist
@Named(value="getResourceRecordsOfZone")
com.google.common.collect.FluentIterable<ResourceRecordDetail> list()
throws org.jclouds.rest.ResourceNotFoundException
org.jclouds.rest.ResourceNotFoundException - if the zone doesn't exist
@Named(value="getResourceRecordsOfDNameByType")
com.google.common.collect.FluentIterable<ResourceRecordDetail> listByName(String hostName)
throws org.jclouds.rest.ResourceNotFoundException
hostName
hostName - fully qualified hostname including the trailing dot.
org.jclouds.rest.ResourceNotFoundException - if the zone doesn't exist
@Named(value="getResourceRecordsOfDNameByType")
com.google.common.collect.FluentIterable<ResourceRecordDetail> listByNameAndType(String hostName,
int rrType)
throws org.jclouds.rest.ResourceNotFoundException
hostName and rrType
hostName - fully qualified hostname including the trailing dot.rrType - type value (ex. for A, this is 1
org.jclouds.rest.ResourceNotFoundException - if the zone doesn't exist@Named(value="deleteResourceRecord") void delete(String guid)
guid - the global unique identifier for the resource record ResourceRecordMetadata#getGuid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||