Interface ImageTransfersService.AddResponse

  • All Superinterfaces:
    Response
    Enclosing interface:
    ImageTransfersService

    public static interface ImageTransfersService.AddResponse
    extends Response
    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 ----
    • Method Detail

      • imageTransfer

        ImageTransfer imageTransfer()
        The image transfer to add.