public interface DomainApi
Modifier and Type | Method and Description |
---|---|
Job<Set<Domain>> |
create(Iterable<CreateDomain> createDomains)
Provisions one or more new DNS domains based on the configuration defined in CreateDomain.
|
Job<Void> |
delete(Iterable<Integer> ids,
boolean deleteSubdomains)
This call removes one or more specified domains from the account; when a domain is deleted, its immediate resource
records are also deleted from the account.
|
Job<List<String>> |
exportFormat(int id,
Domain.Format format)
This call provides the BIND (Berkeley Internet Name Domain) 9 formatted contents of the requested domain.
|
Domain |
get(int id)
Get all information for a Domain, including records and subdomains.
|
Job<Domain> |
importFormat(List<String> contents,
Domain.Format format)
This call provisions a new DNS domain under the account specified by the BIND 9 formatted file configuration
contents.
|
PagedIterable<Domain> |
list()
The resulting list is flat, and does not break the domains down hierarchically by subdomain.
|
PaginatedCollection<Domain> |
list(PaginationOptions options)
The resulting list is flat, and does not break the domains down hierarchically by subdomain.
|
DomainChange |
listChanges(int id,
Date since)
Shows all changes to the specified domain since the specified date/time.
|
PagedIterable<Subdomain> |
listSubdomains(int domainId)
List the subdomains of a domain.
|
PaginatedCollection<Subdomain> |
listSubdomains(int domainId,
PaginationOptions options)
List the subdomains of a domain and manually control pagination.
|
PagedIterable<Domain> |
listWithFilterByNamesMatching(String nameFilter)
Filtering the search to limit the results returned can be performed by using the nameFilter parameter.
|
Job<Void> |
update(int id,
UpdateDomain updateDomain)
This call modifies the domain attributes only.
|
Job<Void> |
updateEmail(Iterable<Integer> ids,
String email)
This call modifies the domain's email only.
|
Job<Void> |
updateTTL(Iterable<Integer> ids,
int ttl)
This call modifies the domain's TTL only.
|
@Named(value="domain:create") Job<Set<Domain>> create(Iterable<CreateDomain> createDomains)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="domain:list") PagedIterable<Domain> list()
@Named(value="domain:list") PagedIterable<Domain> listWithFilterByNamesMatching(String nameFilter)
@Named(value="domain:list") PaginatedCollection<Domain> list(PaginationOptions options)
@Named(value="domain:list") @Nullable PagedIterable<Subdomain> listSubdomains(int domainId)
@Named(value="domain:list") PaginatedCollection<Subdomain> listSubdomains(int domainId, PaginationOptions options)
@Named(value="domain:list") @Nullable DomainChange listChanges(int id, Date since)
@Named(value="domain:get") @Nullable Domain get(int id)
@Named(value="domain:update") Job<Void> update(int id, UpdateDomain updateDomain)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.RecordApi
@Named(value="domain:update") Job<Void> updateTTL(Iterable<Integer> ids, int ttl)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="domain:update") Job<Void> updateEmail(Iterable<Integer> ids, String email)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="domain:delete") Job<Void> delete(Iterable<Integer> ids, boolean deleteSubdomains)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="domain:export") Job<List<String>> exportFormat(int id, Domain.Format format)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="domain:import") Job<Domain> importFormat(List<String> contents, Domain.Format format)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.Copyright © 2009-2013 jclouds. All Rights Reserved.