Interface ShareService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    ShareServiceImpl

    public interface ShareService
    extends RestService
    Shared File Systems API (Manila)
    Author:
    Daniel Gonzalez Nothnagel
    • Method Detail

      • listExtensions

        @Deprecated
        List<? extends Extension> listExtensions()
        Deprecated.
        https://docs.openstack.org/api-ref/compute/?expanded=#extensions-extensions-deprecated
        Returns:
        a list of available Shared File Systems API extensions
      • limits

        Limits limits()
        Returns:
        the resource limitations allowed for the tenant
      • shares

        SharesService shares()
        Returns:
        service which provides methods to manage shares
      • securityServices

        SecurityServiceService securityServices()
        Returns:
        service which provides methods to manage security services
      • shareSnapshots

        ShareSnapshotService shareSnapshots()
        Returns:
        service which provides methods to manage share snapshots
      • shareNetworks

        ShareNetworkService shareNetworks()
        Returns:
        service which provides methods to manage share networks
      • shareServers

        ShareServerService shareServers()
        Returns:
        service which provides methods to manage share servers
      • shareInstances

        ShareInstanceService shareInstances()
        Returns:
        service which provides methods to manage share instances
      • shareTypes

        ShareTypeService shareTypes()
        Returns:
        service which provides methods to manage share types
      • schedulerStats

        SchedulerStatsService schedulerStats()
        Returns:
        service which provides methods to query scheduler stats
      • services

        List<? extends Service> services()
        Lists all services.
        Returns:
        a list of all services
      • enableService

        ManilaService.ServiceStatus enableService​(String binary,
                                                  String host)
        Enables a service.
        Parameters:
        binary - the name of the service binary that you want to enable
        host - the host name of the service that you want to enable
        Returns:
        the status of the enabled service
      • disableService

        ManilaService.ServiceStatus disableService​(String binary,
                                                   String host)
        Disables a service.
        Parameters:
        binary - the name of the service binary that you want to disable
        host - the host name of the service that you want to disable
        Returns:
        the status of the disabled service
      • availabilityZones

        List<? extends AvailabilityZone> availabilityZones()
        Lists all availability zones.
        Returns:
        a list of all availability zones
      • manageShare

        Share manageShare​(ShareManage shareManage)
        Configures Shared File Systems to manage a share.
        Parameters:
        shareManage - the share to manage
        Returns:
        the managed share
      • unmanageShare

        ActionResponse unmanageShare​(String shareId)
        Configures Shared File Systems to stop managing a share.
        Parameters:
        shareId - the share ID
        Returns:
        the action response
      • quotaSets

        QuotaSetService quotaSets()
        Returns:
        service which provides methods to manage quota sets