Interface ShareInstanceService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    ShareInstanceServiceImpl

    public interface ShareInstanceService
    extends RestService
    Share Instance Service for Manila Shared Filesystems.
    Author:
    Daniel Gonzalez Nothnagel
    • Method Detail

      • list

        List<? extends ShareInstance> list()
        Lists all share instances.
        Returns:
        a list of all share instances
      • get

        ShareInstance get​(String shareInstanceId)
        Shows details for a share instance.
        Parameters:
        shareInstanceId - the share instance ID
        Returns:
        the share instance or null if not found
      • resetState

        ActionResponse resetState​(String shareInstanceId,
                                  ShareInstance.Status status)
        Administrator only. Explicitly updates the state of a share instance.
        Parameters:
        shareInstanceId - the share instance ID
        status - the status to set
        Returns:
        the action response
      • forceDelete

        ActionResponse forceDelete​(String shareInstanceId)
        Administrator only. Force-deletes a share instance.
        Parameters:
        shareInstanceId - the share instance ID
        Returns:
        the action response