public interface ArchiveClient
ArchiveAsyncClient
,
Modifier and Type | Method and Description |
---|---|
void |
changeArchivePassword(String username,
String password)
Change the password for an archive user.
|
void |
createArchive(String username,
String password,
int size)
Create a new backup volume.
|
void |
deleteArchive(String username)
Delete an archive volume.
|
ArchiveAllowedArguments |
getArchiveAllowedArguments()
Lists the allowed arguments for some of the functions in this module such as archive size.
|
ArchiveDetails |
getArchiveDetails(String username)
Get detailed information about an archive volume.
|
Set<Archive> |
listArchives()
Lists all active disks on this account.
|
void |
resizeArchive(String username,
int size)
Resize an archive volume.
|
ArchiveDetails getArchiveDetails(String username)
username
- the username associated with the archivevoid createArchive(String username, String password, int size)
username
- the archive username, this must be prefixed by Glesys account name (in lower case) and an
underscore, ex. "c100005_archive1"password
- the new passwordsize
- the new size required in GBvoid deleteArchive(String username)
username
- the username associated with the archivevoid resizeArchive(String username, int size)
username
- the username associated with the archivesize
- the new size required, see #getArchiveAllowedArguments for valid valuesvoid changeArchivePassword(String username, String password)
username
- the archive usernamepassword
- the new passwordArchiveAllowedArguments getArchiveAllowedArguments()
Copyright © 2009-2012 jclouds. All Rights Reserved.