Package com.morpheusdata.core.cloud
Interface MorpheusComputeZonePoolService
-
public interface MorpheusComputeZonePoolService
Context methods for syncingComputeZonePool
in Morpheus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.Single<java.lang.Boolean>
create(java.util.List<ComputeZonePool> pools)
Create new ComputeZonePools in Morpheusio.reactivex.Observable<ComputeZonePool>
listById(java.util.Collection<java.lang.Long> ids)
Get a list of ComputeZonePool objects from a list of projection idsio.reactivex.Observable<ComputeZonePoolIdentityProjection>
listSyncProjections(java.lang.Long cloudId, java.lang.String category)
Get a list ofComputeZonePool
projections based on Cloud idio.reactivex.Single<java.lang.Boolean>
remove(java.util.List<ComputeZonePoolIdentityProjection> pools)
Remove persisted ComputeZonePool from Morpheusio.reactivex.Single<java.lang.Boolean>
save(java.util.List<ComputeZonePool> pools)
Save updates to existing ComputeZonePools
-
-
-
Method Detail
-
listSyncProjections
io.reactivex.Observable<ComputeZonePoolIdentityProjection> listSyncProjections(java.lang.Long cloudId, java.lang.String category)
Get a list ofComputeZonePool
projections based on Cloud id- Parameters:
cloudId
- Cloud idcategory
- 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
-
-