public interface SnapshotAsyncClient
SnapshotClient, 
http://download.cloud.com/releases/2.2.0/api/TOC_User.html| Modifier and Type | Method and Description | 
|---|---|
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> | 
createSnapshot(String volumeId,
              CreateSnapshotOptions... options)
Creates an instant snapshot of a volume. 
 | 
com.google.common.util.concurrent.ListenableFuture<SnapshotPolicy> | 
createSnapshotPolicy(SnapshotPolicySchedule schedule,
                    String numberToRetain,
                    String timezone,
                    String volumeId)
Creates a snapshot policy for the account. 
 | 
com.google.common.util.concurrent.ListenableFuture<Void> | 
deleteSnapshot(String id)
Deletes a snapshot of a disk volume. 
 | 
com.google.common.util.concurrent.ListenableFuture<Void> | 
deleteSnapshotPolicies(Iterable<String> id)
Deletes snapshot policies for the account. 
 | 
com.google.common.util.concurrent.ListenableFuture<Void> | 
deleteSnapshotPolicy(String id)
Deletes a snapshot policy for the account. 
 | 
com.google.common.util.concurrent.ListenableFuture<Snapshot> | 
getSnapshot(String id)
Gets a snapshot by its ID. 
 | 
com.google.common.util.concurrent.ListenableFuture<Set<SnapshotPolicy>> | 
listSnapshotPolicies(String volumeId,
                    ListSnapshotPoliciesOptions... options)
Lists snapshot policies. 
 | 
com.google.common.util.concurrent.ListenableFuture<Set<Snapshot>> | 
listSnapshots(ListSnapshotsOptions... options)
Lists all available snapshots for the account, matching the query described by the options. 
 | 
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createSnapshot(String volumeId, CreateSnapshotOptions... options)
volumeId - The ID of the disk volumeoptions - optional argumentscom.google.common.util.concurrent.ListenableFuture<Set<Snapshot>> listSnapshots(ListSnapshotsOptions... options)
options - optional argumentscom.google.common.util.concurrent.ListenableFuture<Snapshot> getSnapshot(String id)
id - the snapshot IDcom.google.common.util.concurrent.ListenableFuture<Void> deleteSnapshot(String id)
id - The ID of the snapshotcom.google.common.util.concurrent.ListenableFuture<SnapshotPolicy> createSnapshotPolicy(SnapshotPolicySchedule schedule, String numberToRetain, String timezone, String volumeId)
schedule - how to schedule snapshotsnumberToRetain - maximum number of snapshots to retaintimezone - Specifies a timezone for this command. For more information on the timezone parameter, see Time Zone Format.volumeId - the ID of the disk volumecom.google.common.util.concurrent.ListenableFuture<Void> deleteSnapshotPolicy(String id)
id - The ID of the snapshot policycom.google.common.util.concurrent.ListenableFuture<Void> deleteSnapshotPolicies(Iterable<String> id)
id - IDs of snapshot policiescom.google.common.util.concurrent.ListenableFuture<Set<SnapshotPolicy>> listSnapshotPolicies(String volumeId, ListSnapshotPoliciesOptions... options)
volumeId - the ID of the disk volumeoptions - optional argumentsCopyright © 2009-2013 jclouds. All Rights Reserved.