Interface NeutronResourceTagService

    • Method Detail

      • check

        ActionResponse check​(Resource resource,
                             String resourceId,
                             String tag)
        Confirms a given tag is set on the resource.
        Parameters:
        resource - resource type
        resourceId - resource id
        tag - tag
        Returns:
        the ActionResponse
      • list

        NeutronResourceTag list​(Resource resource,
                                String resourceId)
        Obtains the (Neutron) resource tags for a resource.
        Parameters:
        resource - resource type
        resourceId - resource id
        Returns:
        the NeutronResourceTag
      • addSingle

        ActionResponse addSingle​(Resource resource,
                                 String resourceId,
                                 String tag)
        Add tag to the resource.
        Parameters:
        resourceId - resource id
        tag - tag
        Returns:
        the ActionResponse
      • delete

        ActionResponse delete​(Resource resource,
                              String resourceId,
                              String tag)
        Delete tag from the resource.
        Parameters:
        resourceId - resource id
        tag - tag
        Returns:
        the ActionResponse
      • deleteAll

        ActionResponse deleteAll​(Resource resource,
                                 String resourceId)
        Remove all tags from the resource
        Parameters:
        resourceId - resource id
        Returns:
        the ActionResponse