Package com.morpheusdata.core.cloud
Interface MorpheusAccountResourceService
- All Superinterfaces:
MorpheusDataQueryService<AccountResource>
,MorpheusDataService<AccountResource,
,AccountResourceIdentityProjection> MorpheusIdentityService<AccountResourceIdentityProjection>
public interface MorpheusAccountResourceService
extends MorpheusDataService<AccountResource,AccountResourceIdentityProjection>, MorpheusIdentityService<AccountResourceIdentityProjection>
Provides service/context methods for querying
AccountResource
objects for use with syncing generic cloud resources.
These resources are useful for syncing non compute / vm related objects. For example, cloud native services often can be categorized as a resource
with a given AccountResourceType
. These even can be linked to deployed terraform resource artefacts or cloudformation
This service is accessible in the MorpheusContext
via the following traversal path: morpheusContext.getAsync().getCloud().getAccountResource()
- Since:
- 0.14.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection>
listIdentityProjections
(Long cloudId) Deprecated.io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection>
listIdentityProjections
(Long cloudId, String typeCode) Deprecated.io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection>
listIdentityProjections
(Long cloudId, String typeCode, String regionCode) Deprecated.io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection>
listIdentityProjections
(Long cloudId, String typeCode, String regionCode, Long ownerId) 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
@Deprecated io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection> listIdentityProjections(Long cloudId) Deprecated.Get a list ofAccountResource
projections based on Cloud id- Parameters:
cloudId
- Cloud id- Returns:
- Observable stream of sync projection
-
listIdentityProjections
@Deprecated io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection> listIdentityProjections(Long cloudId, String typeCode) Deprecated.Get a list ofAccountResource
projections based on Cloud id and resource type code- Parameters:
cloudId
- Cloud idtypeCode
- theAccountResourceType.getCode()
to query by- Returns:
- Observable stream of sync projection
-
listIdentityProjections
@Deprecated io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection> listIdentityProjections(Long cloudId, String typeCode, String regionCode) Deprecated.Get a list ofAccountResource
projections based on Cloud id and resource type code- Parameters:
cloudId
- Cloud idtypeCode
- theAccountResourceType.getCode()
to query by- Returns:
- Observable stream of sync projection
-
listIdentityProjections
@Deprecated io.reactivex.rxjava3.core.Observable<AccountResourceIdentityProjection> listIdentityProjections(Long cloudId, String typeCode, String regionCode, Long ownerId) Deprecated.Get a list ofAccountResource
projections based on Cloud id and resource type code- Parameters:
cloudId
- Cloud idtypeCode
- theAccountResourceType.getCode()
to query byownerId
- the- Returns:
- Observable stream of sync projection
-
MorpheusIdentityService.listIdentityProjections(DataQuery)