Package org.jclouds.cloudstack.features
Interface ProjectApi
public interface ProjectApi
Provides synchronous access to CloudStack project features.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProject
(String id) gets a specific Project by idlistProjects
(ListProjectsOptions... options) Lists the projects this account has access to.
-
Method Details
-
listProjects
@Named("listProjects") @GET @Consumes("application/json") Set<Project> listProjects(ListProjectsOptions... options) Lists the projects this account has access to.- Parameters:
options
- if present, how to constrain the list
-
getProject
@Named("listProjects") @GET @Consumes("application/json") Project getProject(@QueryParam("id") String id) gets a specific Project by id- Parameters:
id
- Project to get- Returns:
- Project or null if not found
-