Interface StorageDomainDiskService

  • All Superinterfaces:
    MeasurableService, Service
    All Known Implementing Classes:
    StorageDomainDiskServiceImpl

    public interface StorageDomainDiskService
    extends MeasurableService
    Manages a single disk available in a storage domain. IMPORTANT: Since version 4.2 of the engine this service is intended only to list disks available in the storage domain, and to register unregistered disks. All the other operations, like copying a disk, moving a disk, etc, have been deprecated and will be removed in the future. To perform those operations use the <>, or the <>.
    • Method Detail

      • copy

        StorageDomainDiskService.CopyRequest copy()
        Copies a disk to the specified storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To copy a disk use the <> operation of the service that manages that disk.
      • export

        StorageDomainDiskService.ExportRequest export()
        Exports a disk to an export storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To export a disk use the <> operation of the service that manages that disk.
      • move

        StorageDomainDiskService.MoveRequest move()
        Moves a disk to another storage domain. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To move a disk use the <> operation of the service that manages that disk.
      • reduce

        StorageDomainDiskService.ReduceRequest reduce()
        Reduces the size of the disk image. Invokes _reduce_ on the logical volume (i.e. this is only applicable for block storage domains). This is applicable for floating disks and disks attached to non-running virtual machines. There is no need to specify the size as the optimal size is calculated automatically.
      • remove

        StorageDomainDiskService.RemoveRequest remove()
        Removes a disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To remove a disk use the <> operation of the service that manages that disk.
      • sparsify

        StorageDomainDiskService.SparsifyRequest sparsify()
        Sparsify the disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To remove a disk use the <> operation of the service that manages that disk.
      • update

        StorageDomainDiskService.UpdateRequest update()
        Updates the disk. IMPORTANT: Since version 4.2 of the engine this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To update a disk use the <> operation of the service that manages that disk.
      • permissionsService

        AssignedPermissionsService permissionsService()
        Reference to the service that manages the permissions assigned to the disk.