Class AttachedStorageDomainServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.AttachedStorageDomainServiceImpl
-
- All Implemented Interfaces:
Service
,AttachedStorageDomainService
public class AttachedStorageDomainServiceImpl extends ServiceImpl implements AttachedStorageDomainService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.AttachedStorageDomainService
AttachedStorageDomainService.ActivateRequest, AttachedStorageDomainService.ActivateResponse, AttachedStorageDomainService.DeactivateRequest, AttachedStorageDomainService.DeactivateResponse, AttachedStorageDomainService.GetRequest, AttachedStorageDomainService.GetResponse, AttachedStorageDomainService.RemoveRequest, AttachedStorageDomainService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description AttachedStorageDomainServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachedStorageDomainService.ActivateRequest
activate()
This operation activates an attached storage domain.AttachedStorageDomainService.DeactivateRequest
deactivate()
This operation deactivates an attached storage domain.AttachedStorageDomainDisksService
disksService()
AttachedStorageDomainService.GetRequest
get()
AttachedStorageDomainService.RemoveRequest
remove()
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
-
AttachedStorageDomainServiceImpl
public AttachedStorageDomainServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
activate
public AttachedStorageDomainService.ActivateRequest activate()
Description copied from interface:AttachedStorageDomainService
This operation activates an attached storage domain. Once the storage domain is activated it is ready for use with the data center. [source] ---- POST /ovirt-engine/api/datacenters/123/storagedomains/456/activate ---- The activate action does not take any action specific parameters, so the request body should contain an empty `action`: [source,xml] -------- - Specified by:
activate
in interfaceAttachedStorageDomainService
-
deactivate
public AttachedStorageDomainService.DeactivateRequest deactivate()
Description copied from interface:AttachedStorageDomainService
This operation deactivates an attached storage domain. Once the storage domain is deactivated it will not be used with the data center. For example, to deactivate storage domain `456`, send the following request: [source] ---- POST /ovirt-engine/api/datacenters/123/storagedomains/456/deactivate ---- With a request body like this: [source,xml] -------- If the `force` parameter is `true` then the operation will succeed, even if the OVF update which takes place before the deactivation of the storage domain failed. If the `force` parameter is `false` and the OVF update failed, the deactivation of the storage domain will also fail. - Specified by:
deactivate
in interfaceAttachedStorageDomainService
-
get
public AttachedStorageDomainService.GetRequest get()
- Specified by:
get
in interfaceAttachedStorageDomainService
-
remove
public AttachedStorageDomainService.RemoveRequest remove()
- Specified by:
remove
in interfaceAttachedStorageDomainService
-
disksService
public AttachedStorageDomainDisksService disksService()
- Specified by:
disksService
in interfaceAttachedStorageDomainService
-
service
public Service service(String path)
Description copied from interface:AttachedStorageDomainService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceAttachedStorageDomainService
-
-