|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlobalAccountClient
Provides synchronous access to CloudStack Account features available to Global Admin users.
Method Summary | |
---|---|
Account |
createAccount(String userName,
Account.Type accountType,
String email,
String firstName,
String lastName,
String hashedPassword,
CreateAccountOptions... options)
Create a new Cloudstack account |
Void |
deleteAccount(long accountId)
Delete an account with the specified ID |
Account |
updateAccount(String accountName,
long domainId,
String newName,
UpdateAccountOptions... options)
Update an existing account |
Methods inherited from interface org.jclouds.cloudstack.features.DomainAccountClient |
---|
disableAccount, enableAccount |
Methods inherited from interface org.jclouds.cloudstack.features.AccountClient |
---|
getAccount, listAccounts |
Method Detail |
---|
Account createAccount(String userName, Account.Type accountType, String email, String firstName, String lastName, String hashedPassword, CreateAccountOptions... options)
userName
- unique username.accountType
- type of accountemail
- firstName
- lastName
- hashedPassword
- Hashed password (Default is MD5). If you wish to use any other
hashing algorithm, you would need to write a custom authentication adapter See Docs section.options
- optional parameters
Account updateAccount(String accountName, long domainId, String newName, UpdateAccountOptions... options)
accountName
- the current account namedomainId
- the ID of the domain were the account existsnewName
- new name for the accountoptions
- optional arguments
Void deleteAccount(long accountId)
accountId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |