Package org.ovirt.engine.sdk4.services
Interface AttachedStorageDomainService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AttachedStorageDomainServiceImpl
public interface AttachedStorageDomainService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AttachedStorageDomainService.ActivateRequest
This operation activates an attached storage domain.static interface
AttachedStorageDomainService.ActivateResponse
This operation activates an attached storage domain.static interface
AttachedStorageDomainService.DeactivateRequest
This operation deactivates an attached storage domain.static interface
AttachedStorageDomainService.DeactivateResponse
This operation deactivates an attached storage domain.static interface
AttachedStorageDomainService.GetRequest
static interface
AttachedStorageDomainService.GetResponse
static interface
AttachedStorageDomainService.RemoveRequest
static interface
AttachedStorageDomainService.RemoveResponse
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
activate
AttachedStorageDomainService.ActivateRequest activate()
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] --------
-
deactivate
AttachedStorageDomainService.DeactivateRequest deactivate()
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.
-
get
AttachedStorageDomainService.GetRequest get()
-
remove
AttachedStorageDomainService.RemoveRequest remove()
-
disksService
AttachedStorageDomainDisksService disksService()
-
-