Package org.jclouds.cloudstack.features
Interface AccountApi
- All Known Subinterfaces:
DomainAccountApi
,GlobalAccountApi
public interface AccountApi
Provides synchronous access to cloudstack via their REST API.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAccount
(String id) get a specific Account by idlistAccounts
(ListAccountsOptions... options) Lists Accounts
-
Method Details
-
listAccounts
@Named("listAccounts") @GET @Consumes("application/json") Set<Account> listAccounts(ListAccountsOptions... options) Lists Accounts- Parameters:
options
- if present, how to constrain the list.- Returns:
- Accounts matching query, or empty set, if no Accounts are found
-
getAccount
@Named("listAccounts") @GET @Consumes("application/json") Account getAccount(@QueryParam("id") String id) get a specific Account by id- Parameters:
id
- Account to get- Returns:
- Account or null if not found
-