Package org.ovirt.engine.sdk4.services
Interface ImageService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
ImageServiceImpl
public interface ImageService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ImageService.GetRequest
static interface
ImageService.GetResponse
static interface
ImageService.ImportRequest
Imports an image.static interface
ImageService.ImportResponse
Imports an image.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageService.GetRequest
get()
ImageService.ImportRequest
import_()
Imports an image.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
ImageService.GetRequest get()
-
import_
ImageService.ImportRequest import_()
Imports an image. If the `import_as_template` parameter is `true` then the image will be imported as a template, otherwise it will be imported as a disk. When imported as a template, the name of the template can be specified by the optional `template.name` parameter. If that parameter is not specified, then the name of the template will be automatically assigned by the engine as `GlanceTemplate-x` (where `x` will be seven random hexadecimal characters). When imported as a disk, the name of the disk can be specified by the optional `disk.name` parameter. If that parameter is not specified, then the name of the disk will be automatically assigned by the engine as `GlanceDisk-x` (where `x` will be the seven hexadecimal characters of the image identifier). It is recommended to always explicitly specify the template or disk name, to avoid these automatic names generated by the engine.
-
-