public interface ZoneApi
| 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 createZone)
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. 
 | 
@Named(value="ListZones") com.google.common.collect.FluentIterable<String> list() throws DynECTExceptions.JobStillRunningException
DynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="CreatePrimaryZone") Job scheduleCreate(CreatePrimaryZone createZone) 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 exists@Named(value="CreatePrimaryZone") Job 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@Named(value="GetZone") @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@Named(value="DeleteZone") @Nullable Job delete(String fqdn) throws DynECTExceptions.JobStillRunningException
fqdn - zone to deleteDynECTExceptions.JobStillRunningException - if a different job in the session is still running@Named(value="DeleteZoneChanges") Job 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 running@Named(value="PublishZone") Zone 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 exist@Named(value="FreezeZone") Job 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 running@Named(value="ThawZone") Job 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.