org.jclouds.cloudstack.features
Interface ProjectApi


public interface ProjectApi

Provides synchronous access to CloudStack project features.

See Also:

Method Summary
 Project getProject(String id)
          gets a specific Project by id
 Set<Project> listProjects(ListProjectsOptions... options)
          Lists the projects this account has access to.
 

Method Detail

listProjects

@Named(value="listProjects")
Set<Project> listProjects(ListProjectsOptions... options)
Lists the projects this account has access to.

Parameters:
options - if present, how to constrain the list

getProject

@Named(value="listProjects")
Project getProject(String id)
gets a specific Project by id

Parameters:
id - Project to get
Returns:
Project or null if not found


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.