|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArchiveApi
Provides synchronous access to Archive requests.
| Method Summary | |
|---|---|
Archive |
changePassword(String username,
String password)
Change the password for an archive user. |
Archive |
createWithCredentialsAndSize(String username,
String password,
int size)
Create a new backup volume. |
void |
delete(String username)
Delete an archive volume. |
Archive |
get(String username)
Get detailed information about an archive volume. |
ArchiveAllowedArguments |
getAllowedArguments()
Lists the allowed arguments for some of the functions in this module such as archive size. |
com.google.common.collect.FluentIterable<Archive> |
list()
Lists all active disks on this account. |
Archive |
resize(String username,
int size)
Resize an archive volume. |
| Method Detail |
|---|
@Named(value="archive:list") com.google.common.collect.FluentIterable<Archive> list()
@Named(value="archive:details") Archive get(String username)
username - the username associated with the archive
@Named(value="archive:create")
Archive createWithCredentialsAndSize(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 GB@Named(value="archive:delete") void delete(String username)
username - the username associated with the archive
@Named(value="archive:resize")
Archive resize(String username,
int size)
username - the username associated with the archivesize - the new size required, see #getAllowedArguments for valid values
@Named(value="archive:changepassword")
Archive changePassword(String username,
String password)
username - the archive usernamepassword - the new password@Named(value="archive:allowedarguments") ArchiveAllowedArguments getAllowedArguments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||