|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ZoneApi
| Method Summary | |
|---|---|
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 SerialStyle#INCREMENT into the current session. |
Job |
thaw(String fqdn)
thaws the specified zone. |
| Method Detail |
|---|
@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 running
DynECTExceptions.TargetExistsException - if the same fqdn exists
@Named(value="CreatePrimaryZone")
Job scheduleCreateWithContact(String fqdn,
String contact)
throws DynECTExceptions.JobStillRunningException,
DynECTExceptions.TargetExistsException
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 contact
DynECTExceptions.JobStillRunningException - if a different job in the session is still running
DynECTExceptions.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.org
DynECTExceptions.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 delete
DynECTExceptions.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.org
DynECTExceptions.JobStillRunningException - if a different job in the session is still running
@Named(value="PublishZone")
Zone publish(String fqdn)
throws DynECTExceptions.JobStillRunningException,
org.jclouds.rest.ResourceNotFoundException
fqdn - fqdn of the zone to publish. ex jclouds.org
DynECTExceptions.JobStillRunningException - if a different job in the session is still running
org.jclouds.rest.ResourceNotFoundException - 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.org
DynECTExceptions.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.org
DynECTExceptions.JobStillRunningException - if a different job in the session is still running
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||