Interface MorpheusStorageBucketService

All Superinterfaces:
MorpheusDataQueryService<StorageBucket>, MorpheusDataService<StorageBucket,StorageBucketIdentityProjection>, MorpheusIdentityService<StorageBucketIdentityProjection>

Context methods for dealing with StorageBucket in Morpheus
  • Method Details

    • listIdentityProjections

      io.reactivex.rxjava3.core.Observable<StorageBucketIdentityProjection> listIdentityProjections(StorageServer storageServer)
      Get a list of StorageBucket projections scoped to a StorageServer
      Parameters:
      storageServer - StorageServer
      Returns:
      Observable stream of sync projection
    • listIdentityProjections

      io.reactivex.rxjava3.core.Observable<StorageBucketIdentityProjection> listIdentityProjections(StorageServer storageServer, String region)
      Get a list of StorageBucket projections scoped to a StorageServer and region code
      Parameters:
      storageServer - StorageServer
      region - the region code
      Returns:
      Observable stream of sync projection
    • removeForSync

      io.reactivex.rxjava3.core.Single<Boolean> removeForSync(List<StorageBucketIdentityProjection> storageBuckets)
      Remove persisted StorageBuckets from Morpheus Removal is skipped if the buckets are still in use by a Backup,DeploymentVersion, or VirtualImage.
      Parameters:
      storageBuckets - List of StorageBucketIdentityProjection to delete
      Returns:
      success
    • getBucketStorageProvider

      io.reactivex.rxjava3.core.Single<com.bertramlabs.plugins.karman.StorageProvider> getBucketStorageProvider(Long storageBucketId)
      Get a StorageProvider for a given StorageBucket
      Parameters:
      storageBucketId - the id of the StorageBucket
      Returns:
      Single stream of the StorageProvider for the storage bucket