Interface MorpheusSynchronousVirtualImageLocationService
- All Superinterfaces:
MorpheusSynchronousDataService<VirtualImageLocation,
,VirtualImageLocationIdentityProjection> MorpheusSynchronousIdentityService<VirtualImageLocationIdentityProjection>
public interface MorpheusSynchronousVirtualImageLocationService
extends MorpheusSynchronousDataService<VirtualImageLocation,VirtualImageLocationIdentityProjection>, MorpheusSynchronousIdentityService<VirtualImageLocationIdentityProjection>
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(VirtualImageLocation virtualImageLocation, Cloud cloud) Create a new VirtualImageLocation in Morpheuscreate
(List<VirtualImageLocation> virtualImageLocations, Cloud cloud) Create new VirtualImageLocations in MorpheuslistIdentityProjections
(Long cloudId, String regionCode) Get a list of VirtualImageLocation projections based on Cloud idsave
(List<VirtualImageLocation> virtualImageLocations, Cloud cloud) Save updates to existing VirtualImageLocationsMethods inherited from interface com.morpheusdata.core.MorpheusSynchronousDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, getDataService, list, listById, listOptions, remove, remove, save, save, search
Methods inherited from interface com.morpheusdata.core.MorpheusSynchronousIdentityService
getDataIdentityService, listIdentityProjections
-
Method Details
-
listIdentityProjections
List<VirtualImageLocationIdentityProjection> listIdentityProjections(Long cloudId, String regionCode) Get a list of VirtualImageLocation projections based on Cloud id- Parameters:
cloudId
- Cloud idregionCode
- theCloudRegion
to optionally filter by- Returns:
- Observable stream of sync projection
-
save
Save updates to existing VirtualImageLocations- Parameters:
virtualImageLocations
- updated VirtualImageLocationscloud
- the Cloud instance- Returns:
- success
-
create
Create new VirtualImageLocations in Morpheus- Parameters:
virtualImageLocations
- new VirtualImageLocations to persistcloud
- the Cloud instance- Returns:
- success
-
create
Create a new VirtualImageLocation in Morpheus- Parameters:
virtualImageLocation
- a new VirtualImageLocation to persistcloud
- the Cloud instance- Returns:
- success
-