Package com.morpheusdata.core
Interface MorpheusWorkloadService
- All Superinterfaces:
MorpheusDataQueryService<Workload>
,MorpheusDataService<Workload,
,WorkloadIdentityProjection> MorpheusIdentityService<WorkloadIdentityProjection>
public interface MorpheusWorkloadService
extends MorpheusDataService<Workload,WorkloadIdentityProjection>, MorpheusIdentityService<WorkloadIdentityProjection>
Context methods for syncing
Workload
in Morpheus- Since:
- 0.13.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the workload type set context used for syncing workloads within Morpheus.io.reactivex.rxjava3.core.Observable<WorkloadIdentityProjection>
listIdentityProjections
(Long accountId) Get a list ofWorkload
projections based on Cloud idio.reactivex.rxjava3.core.Observable<WorkloadIdentityProjection>
listSyncProjections
(Long accountId) Deprecated.Methods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, search
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, remove, save, save
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<WorkloadIdentityProjection> listIdentityProjections(Long accountId) Get a list ofWorkload
projections based on Cloud id- Parameters:
accountId
- Account id- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<WorkloadIdentityProjection> listSyncProjections(Long accountId) Deprecated.Get a list ofWorkload
projections based on Cloud id- Parameters:
accountId
- Account id- Returns:
- Observable stream of sync projection
-
getTypeSet
MorpheusWorkloadTypeSetService getTypeSet()Returns the workload type set context used for syncing workloads within Morpheus. Typically this would be called by aCloudProvider
.- Returns:
- An instance of the workload type set Context to be used for calls by various providers
-