Interface MorpheusComputeZonePoolService


  • public interface MorpheusComputeZonePoolService
    Context methods for syncing ComputeZonePool in Morpheus
    • Method Detail

      • listSyncProjections

        io.reactivex.Observable<ComputeZonePoolIdentityProjection> listSyncProjections​(java.lang.Long cloudId,
                                                                                       java.lang.String category)
        Get a list of ComputeZonePool projections based on Cloud id
        Parameters:
        cloudId - Cloud id
        category - filter by category
        Returns:
        Observable stream of sync projection
      • listById

        io.reactivex.Observable<ComputeZonePool> listById​(java.util.Collection<java.lang.Long> ids)
        Get a list of ComputeZonePool objects from a list of projection ids
        Parameters:
        ids - ComputeZonePool ids
        Returns:
        Observable stream of ComputeZonePools
      • save

        io.reactivex.Single<java.lang.Boolean> save​(java.util.List<ComputeZonePool> pools)
        Save updates to existing ComputeZonePools
        Parameters:
        pools - updated ComputeZonePool
        Returns:
        success
      • create

        io.reactivex.Single<java.lang.Boolean> create​(java.util.List<ComputeZonePool> pools)
        Create new ComputeZonePools in Morpheus
        Parameters:
        pools - new ComputeZonePools to persist
        Returns:
        success
      • remove

        io.reactivex.Single<java.lang.Boolean> remove​(java.util.List<ComputeZonePoolIdentityProjection> pools)
        Remove persisted ComputeZonePool from Morpheus
        Parameters:
        pools - Images to delete
        Returns:
        success