Interface MorpheusSynchronousVirtualImageService
- All Superinterfaces:
MorpheusSynchronousDataService<VirtualImage,
,VirtualImageIdentityProjection> MorpheusSynchronousIdentityService<VirtualImage>
public interface MorpheusSynchronousVirtualImageService
extends MorpheusSynchronousDataService<VirtualImage,VirtualImageIdentityProjection>, MorpheusSynchronousIdentityService<VirtualImage>
-
Method Summary
Modifier and TypeMethodDescriptiongetCloudFileStreamUrl
(VirtualImage virtualImage, com.bertramlabs.plugins.karman.CloudFile cloudFile, User createdBy, Cloud cloud) Get a one-off url for an image to upload to it to a cloudThe context for dealing with VirtualImageLocationsgetType()
The context for VirtualIMageTypeMethods 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
-
getLocation
MorpheusSynchronousVirtualImageLocationService getLocation()The context for dealing with VirtualImageLocations- Returns:
- MorpheusVirtualImageLocationService
-
getType
The context for VirtualIMageType -
getCloudFileStreamUrl
String getCloudFileStreamUrl(VirtualImage virtualImage, com.bertramlabs.plugins.karman.CloudFile cloudFile, User createdBy, Cloud cloud) Get a one-off url for an image to upload to it to a cloud- Parameters:
virtualImage
- the imagecloudFile
- the specific filecreatedBy
- the user associated with the workload or servercloud
- the Cloud instance- Returns:
- the url of the image file
- Since:
- 0.15.13
-