public interface ZoneApi
ZoneAsyncApi| Modifier and Type | Method and Description |
|---|---|
Job |
delete(String fqdn)
Deletes the 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 |
scheduleCreate(CreatePrimaryZone zone)
Schedules addition of a new primary zone into the current session.
|
Job |
scheduleCreateWithContact(String fqdn,
String contact)
Schedules addition of a new primary zone with one hour default TTL and
Zone.SerialStyle.INCREMENT into the
current session. |
Job |
thaw(String fqdn)
thaws the specified zone.
|
com.google.common.collect.FluentIterable<String> list() throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still runningJob scheduleCreate(CreatePrimaryZone zone) throws DynECTExceptions.JobStillRunningException, DynECTExceptions.TargetExistsException
publish(String) will
publish the zone, creating the zone.zone - required parameters to create the zone.DynECTExceptions.JobStillRunningException - if a different job in the session is still runningDynECTExceptions.TargetExistsException - if the same fqdn existsJob scheduleCreateWithContact(String fqdn, String contact) throws DynECTExceptions.JobStillRunningException, DynECTExceptions.TargetExistsException
Zone.SerialStyle.INCREMENT into the
current session. Calling publish(String) will publish the zone, creating the zone.fqdn - fqdn of the zone to create contact - email address of the contactDynECTExceptions.JobStillRunningException - if a different job in the session is still runningDynECTExceptions.TargetExistsException - if the same fqdn exists@Nullable Zone get(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - fqdn of the zone to get information about. ex jclouds.orgDynECTExceptions.JobStillRunningException - if a different job in the session is still running@Nullable Job delete(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - zone to deleteDynECTExceptions.JobStillRunningException - if a different job in the session is still runningJob deleteChanges(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - fqdn of the zone to delete changes from ex jclouds.orgDynECTExceptions.JobStillRunningException - if a different job in the session is still runningZone publish(String fqdn) throws DynECTExceptions.JobStillRunningException, ResourceNotFoundException
fqdn - fqdn of the zone to publish. ex jclouds.orgDynECTExceptions.JobStillRunningException - if a different job in the session is still runningResourceNotFoundException - if the zone doesn't existJob freeze(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - fqdn of the zone to freeze ex jclouds.orgDynECTExceptions.JobStillRunningException - if a different job in the session is still runningJob thaw(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - fqdn of the zone to thaw ex jclouds.orgDynECTExceptions.JobStillRunningException - if a different job in the session is still runningCopyright © 2009-2013 jclouds. All Rights Reserved.