public interface ZoneApi
ZoneAsyncApi
Modifier and Type | Method and Description |
---|---|
Zone |
create(CreatePrimaryZone zone)
Creates a new primary zone.
|
Zone |
createWithContact(String fqdn,
String contact)
Creates a new primary zone with one hour default TTL and
Zone.SerialStyle.INCREMENT |
Job |
delete(String fqdn)
deletes the specified zone.
|
Job |
deleteChanges(String fqdn)
Deletes changes to the specified zone that have been created during the
current session but not yet published to the zone.
|
Job |
freeze(String fqdn)
freezes the specified zone.
|
Zone |
get(String fqdn)
Retrieves information about the specified zone.
|
com.google.common.collect.FluentIterable<String> |
list()
Lists all zone ids.
|
Zone |
publish(String fqdn)
Publishes the current zone
|
Job |
thaw(String fqdn)
thaws the specified zone.
|
com.google.common.collect.FluentIterable<String> list() throws DynECTExceptions.JobStillRunningException
Zone create(CreatePrimaryZone zone) throws DynECTExceptions.JobStillRunningException, DynECTExceptions.TargetExistsException
zone
- required parameters to create the zone.DynECTExceptions.JobStillRunningException
DynECTExceptions.TargetExistsException
Zone createWithContact(String fqdn, String contact) throws DynECTExceptions.JobStillRunningException, DynECTExceptions.TargetExistsException
Zone.SerialStyle.INCREMENT
fqdn
- fqdn of the zone to create contact
- email address of the contactDynECTExceptions.JobStillRunningException
DynECTExceptions.TargetExistsException
@Nullable Zone get(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to get information about. ex
jclouds.org
DynECTExceptions.JobStillRunningException
@Nullable Job delete(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to delete ex jclouds.org
DynECTExceptions.JobStillRunningException
Job deleteChanges(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to delete changes from ex jclouds.org
DynECTExceptions.JobStillRunningException
Zone publish(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to publish. ex
jclouds.org
DynECTExceptions.JobStillRunningException
Job freeze(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to freeze ex jclouds.org
DynECTExceptions.JobStillRunningException
Job thaw(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn
- fqdn of the zone to thaw ex jclouds.org
DynECTExceptions.JobStillRunningException
Copyright © 2009-2013 jclouds. All Rights Reserved.