|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArchiveClient
Provides synchronous access to Archive requests.
ArchiveAsyncClient
,
Method Summary | |
---|---|
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. |
Method Detail |
---|
Set<Archive> listArchives()
ArchiveDetails getArchiveDetails(String username)
username
- the username associated with the archive
void 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |