Class VmBackupsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmBackupsServiceImpl
-
- All Implemented Interfaces:
Service
,VmBackupsService
public class VmBackupsServiceImpl extends ServiceImpl implements VmBackupsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmBackupsService
VmBackupsService.AddRequest, VmBackupsService.AddResponse, VmBackupsService.ListRequest, VmBackupsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description VmBackupsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmBackupsService.AddRequest
add()
Adds a new backup entity to a virtual machine.VmBackupService
backupService(String id)
Returns a reference to the service that manages a specific VM backup.VmBackupsService.ListRequest
list()
The list of virtual machine backups.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmBackupsServiceImpl
public VmBackupsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public VmBackupsService.AddRequest add()
Description copied from interface:VmBackupsService
Adds a new backup entity to a virtual machine. For example, to start a new incremental backup of a virtual machine since checkpoint id `previous-checkpoint-uuid`, send a request like this: [source] ---- POST /ovirt-engine/api/vms/123/backups ---- With a request body like this: [source,xml] ----previous-checkpoint-uuid ... previous-checkpoint-uuid new-checkpoint-uuid ... ... initializing - Specified by:
add
in interfaceVmBackupsService
-
list
public VmBackupsService.ListRequest list()
Description copied from interface:VmBackupsService
The list of virtual machine backups.- Specified by:
list
in interfaceVmBackupsService
-
backupService
public VmBackupService backupService(String id)
Description copied from interface:VmBackupsService
Returns a reference to the service that manages a specific VM backup.- Specified by:
backupService
in interfaceVmBackupsService
-
service
public Service service(String path)
Description copied from interface:VmBackupsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmBackupsService
-
-