Package com.morpheusdata.core.cloud
Interface MorpheusCloudRegionService
- All Superinterfaces:
MorpheusDataService<CloudRegion,
,CloudRegionIdentity> MorpheusIdentityService<CloudRegionIdentity>
public interface MorpheusCloudRegionService
extends MorpheusDataService<CloudRegion,CloudRegionIdentity>, MorpheusIdentityService<CloudRegionIdentity>
Provides service/context methods for querying
CloudRegion
objects for use with syncing a clouds regions
These regions are useful for all region based clouds as well when needing to iterate over regions to sync items.
NOTE: Morpheus used to internally call a Cloud a Zone. This is why some of these models contain the Zone terminology.- Since:
- 0.14.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Optional<CloudRegion>>
findByCloudAndRegionCode
(Long cloudId, String regionCode) io.reactivex.rxjava3.core.Observable<CloudRegionIdentity>
listIdentityProjections
(Long cloudId) Get a list ofCloudRegion
projections based on Cloud idio.reactivex.rxjava3.core.Observable<CloudRegionIdentity>
io.reactivex.rxjava3.core.Observable<CloudRegionIdentity>
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, list, listById, listOptions, remove, remove, save, save, search
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listIdentityProjections
Get a list ofCloudRegion
projections based on Cloud id- Parameters:
cloudId
- Cloud id- Returns:
- Observable stream of sync projection
-
listIdentityProjectionsForRegionsWithVolumes
io.reactivex.rxjava3.core.Observable<CloudRegionIdentity> listIdentityProjectionsForRegionsWithVolumes(Long cloudId) -
listIdentityProjectionsForRegionsWithCloudPools
io.reactivex.rxjava3.core.Observable<CloudRegionIdentity> listIdentityProjectionsForRegionsWithCloudPools(Long cloudId) -
findByCloudAndRegionCode
io.reactivex.rxjava3.core.Single<Optional<CloudRegion>> findByCloudAndRegionCode(Long cloudId, String regionCode)
-