Class StorageDomainDisksServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StorageDomainDisksServiceImpl
-
- All Implemented Interfaces:
Service
,StorageDomainDisksService
public class StorageDomainDisksServiceImpl extends ServiceImpl implements StorageDomainDisksService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StorageDomainDisksService
StorageDomainDisksService.AddRequest, StorageDomainDisksService.AddResponse, StorageDomainDisksService.ListRequest, StorageDomainDisksService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description StorageDomainDisksServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageDomainDisksService.AddRequest
add()
Adds or registers a disk.StorageDomainDiskService
diskService(String id)
A reference to the service that manages a specific disk.StorageDomainDisksService.ListRequest
list()
Retrieves the list of disks that are available in the 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
-
StorageDomainDisksServiceImpl
public StorageDomainDisksServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public StorageDomainDisksService.AddRequest add()
Description copied from interface:StorageDomainDisksService
Adds or registers a disk. IMPORTANT: Since version 4.2 of the {engine-name} this operation is deprecated, and preserved only for backwards compatibility. It will be removed in the future. To add a new disk use the <> operation of the service that manages the disks of the system. To register an unregistered disk use the < > operation of the service that manages that disk. - Specified by:
add
in interfaceStorageDomainDisksService
-
list
public StorageDomainDisksService.ListRequest list()
Description copied from interface:StorageDomainDisksService
Retrieves the list of disks that are available in the storage domain. The order of the returned list of disks is not guaranteed.- Specified by:
list
in interfaceStorageDomainDisksService
-
diskService
public StorageDomainDiskService diskService(String id)
Description copied from interface:StorageDomainDisksService
A reference to the service that manages a specific disk.- Specified by:
diskService
in interfaceStorageDomainDisksService
-
service
public Service service(String path)
Description copied from interface:StorageDomainDisksService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStorageDomainDisksService
-
-