Class StorageDomainVmServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StorageDomainVmServiceImpl
-
- All Implemented Interfaces:
Service
,StorageDomainVmService
public class StorageDomainVmServiceImpl extends ServiceImpl implements StorageDomainVmService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StorageDomainVmService
StorageDomainVmService.GetRequest, StorageDomainVmService.GetResponse, StorageDomainVmService.ImportRequest, StorageDomainVmService.ImportResponse, StorageDomainVmService.RegisterRequest, StorageDomainVmService.RegisterResponse, StorageDomainVmService.RemoveRequest, StorageDomainVmService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description StorageDomainVmServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageDomainVmDiskAttachmentsService
diskAttachmentsService()
Returns a reference to the service that manages the disk attachments of the virtual machine.StorageDomainContentDisksService
disksService()
StorageDomainVmService.GetRequest
get()
StorageDomainVmService.ImportRequest
import_()
Imports a virtual machine from an export storage domain.StorageDomainVmService.RegisterRequest
register()
StorageDomainVmService.RemoveRequest
remove()
Deletes a virtual machine from an export storage domain.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
-
StorageDomainVmServiceImpl
public StorageDomainVmServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public StorageDomainVmService.GetRequest get()
- Specified by:
get
in interfaceStorageDomainVmService
-
import_
public StorageDomainVmService.ImportRequest import_()
Description copied from interface:StorageDomainVmService
Imports a virtual machine from an export storage domain. For example, send a request like this: [source] ---- POST /ovirt-engine/api/storagedomains/123/vms/456/import ---- With a request body like this: [source,xml] ----mydata mycluster mydata mycluster true myvm mycluster myvm - Specified by:
import_
in interfaceStorageDomainVmService
-
register
public StorageDomainVmService.RegisterRequest register()
- Specified by:
register
in interfaceStorageDomainVmService
-
remove
public StorageDomainVmService.RemoveRequest remove()
Description copied from interface:StorageDomainVmService
Deletes a virtual machine from an export storage domain. For example, to delete the virtual machine `456` from the storage domain `123`, send a request like this: [source] ---- DELETE /ovirt-engine/api/storagedomains/123/vms/456 ----- Specified by:
remove
in interfaceStorageDomainVmService
-
diskAttachmentsService
public StorageDomainVmDiskAttachmentsService diskAttachmentsService()
Description copied from interface:StorageDomainVmService
Returns a reference to the service that manages the disk attachments of the virtual machine.- Specified by:
diskAttachmentsService
in interfaceStorageDomainVmService
-
disksService
public StorageDomainContentDisksService disksService()
- Specified by:
disksService
in interfaceStorageDomainVmService
-
service
public Service service(String path)
Description copied from interface:StorageDomainVmService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStorageDomainVmService
-
-