Package org.ovirt.engine.sdk4.services
Interface AttachedStorageDomainService.DeactivateRequest
-
- All Superinterfaces:
Request<AttachedStorageDomainService.DeactivateRequest,AttachedStorageDomainService.DeactivateResponse>
- Enclosing interface:
- AttachedStorageDomainService
public static interface AttachedStorageDomainService.DeactivateRequest extends Request<AttachedStorageDomainService.DeactivateRequest,AttachedStorageDomainService.DeactivateResponse>
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachedStorageDomainService.DeactivateRequest
async(Boolean async)
Indicates if the deactivation should be performed asynchronously.AttachedStorageDomainService.DeactivateRequest
force(Boolean force)
Indicates if the operation should succeed and the storage domain should be moved to a deactivated state, even if the OVF update for the storage domain failed.
-
-
-
Method Detail
-
async
AttachedStorageDomainService.DeactivateRequest async(Boolean async)
Indicates if the deactivation should be performed asynchronously.
-
force
AttachedStorageDomainService.DeactivateRequest force(Boolean force)
Indicates if the operation should succeed and the storage domain should be moved to a deactivated state, even if the OVF update for the storage domain failed. For example, to deactivate storage domain `456` using force flag, send the following request: [source] ---- POST /ovirt-engine/api/datacenters/123/storagedomains/456/deactivate ---- With a request body like this: [source,xml] ----true ---- This parameter is optional, and the default value is `false`.
-
-