Interface ImageTransfersService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    ImageTransfersServiceImpl

    public interface ImageTransfersService
    extends Service
    This service manages image transfers, for performing Image I/O API in {product-name}. Please refer to <> for further documentation.
    • Method Detail

      • add

        ImageTransfersService.AddRequest add()
        Add a new image transfer. An image, disk or disk snapshot needs to be specified in order to make a new transfer. IMPORTANT: The `image` attribute is deprecated since version 4.2 of the engine. Use the `disk` or `snapshot` attributes instead. *Creating a new image transfer for downloading or uploading a `disk`:* To create an image transfer to download or upload a disk with id `123`, send the following request: [source] ---- POST /ovirt-engine/api/imagetransfers ---- With a request body like this: [source,xml] ---- upload|download ---- *Creating a new image transfer for downloading or uploading a `disk_snapshot`:* To create an image transfer to download or upload a `disk_snapshot` with id `456`, send the following request: [source] ---- POST /ovirt-engine/api/imagetransfers ---- With a request body like this: [source,xml] ---- download|upload ----
      • list

        ImageTransfersService.ListRequest list()
        Retrieves the list of image transfers that are currently being performed. The order of the returned list of image transfers is not guaranteed.
      • imageTransferService

        ImageTransferService imageTransferService​(String id)
        Returns a reference to the service that manages an specific image transfer.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.