public interface DomainApi
DomainAsyncApi
,
Modifier and Type | Method and Description |
---|---|
Domain |
create(String domain,
AddDomainOptions... options)
Add a domain to the Glesys dns-system
|
DomainRecord |
createRecord(String domain,
String host,
String type,
String data,
AddRecordOptions... options)
Add a DNS Record
|
void |
delete(String domain)
Remove a domain to the Glesys dns-system
|
void |
deleteRecord(String recordId)
Delete a DNS record
|
Domain |
get(String domain)
Get a specific domain.
|
com.google.common.collect.FluentIterable<Domain> |
list()
Get a list of all domains for this account.
|
Set<DomainRecord> |
listRecords(String domain)
Retrieve the DNS records for a given domain
|
Domain |
update(String domain,
DomainOptions options)
Update a domain to the Glesys dns-system
|
DomainRecord |
updateRecord(String recordId,
UpdateRecordOptions options)
Modify a specific DNS Record
|
com.google.common.collect.FluentIterable<Domain> list()
Domain create(String domain, AddDomainOptions... options)
domain
- the name of the domain to add.options
- optional parametersDomain update(String domain, DomainOptions options)
domain
- the name of the domain to add.options
- optional parametersvoid delete(String domain)
domain
- the name of the domain to removeSet<DomainRecord> listRecords(String domain)
domain
- the name of the domain to retrieve records forDomainRecord createRecord(String domain, String host, String type, String data, AddRecordOptions... options)
domain
- the domain to add the record tooptions
- optional settings for the recordDomainRecord updateRecord(String recordId, UpdateRecordOptions options)
recordId
- the id for the record to editoptions
- the settings to changeto retrieve the necessary ids
void deleteRecord(String recordId)
recordId
- the id for the record to deleteto retrieve the necessary ids
Copyright © 2009-2013 jclouds. All Rights Reserved.