Interface AsyncJobApi


  • public interface AsyncJobApi
    Provides synchronous access to cloudstack via their REST API.

    See Also:
    • Method Detail

      • listAsyncJobs

        @Named("listAsyncJobs")
        @GET
        Set<AsyncJob<?>> listAsyncJobs​(ListAsyncJobsOptions... options)
        Lists asyncJobs
        Parameters:
        options - if present, how to constrain the list.
        Returns:
        asyncJobs matching query, or empty set, if no asyncJobs are found
      • getAsyncJob

        @Named("queryAsyncJobResult")
        @GET
        @Consumes("application/json")
        <T> AsyncJob<T> getAsyncJob​(@QueryParam("jobid")
                                    String id)
        get a specific asyncJob by id
        Parameters:
        id - asyncJob to get
        Returns:
        asyncJob or null if not found