Interface TagApi


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

    See Also:
    • Method Detail

      • listTags

        @Named("listTags")
        @GET
        @Consumes("application/json")
        Set<Tag> listTags​(ListTagsOptions... options)
        Lists tags
        Parameters:
        options - if present, how to constrain the list.
        Returns:
        tags matching query, or empty set, if no tags are found
      • createTags

        @Named("createTags")
        @GET
        @Consumes("application/json")
        AsyncCreateResponse createTags​(CreateTagsOptions options)
        Creates one or more tags on the specified resources.
        Parameters:
        options - arguments
        Returns:
        an asynchronous job structure
      • deleteTags

        @Named("deleteTags")
        @GET
        @Consumes("application/json")
        AsyncCreateResponse deleteTags​(DeleteTagsOptions options)
        Deletes one or more tags from the specified resources.
        Parameters:
        options - arguments
        Returns:
        an asynchronous job structure