Package org.ovirt.engine.sdk4.services
Interface StorageDomainService.UpdateRequest
-
- All Superinterfaces:
Request<StorageDomainService.UpdateRequest,StorageDomainService.UpdateResponse>
- Enclosing interface:
- StorageDomainService
public static interface StorageDomainService.UpdateRequest extends Request<StorageDomainService.UpdateRequest,StorageDomainService.UpdateResponse>
Updates a storage domain. Not all of the <>'s attributes are updatable after creation. Those that can be updated are: `name`, `description`, `comment`, `warning_low_space_indicator`, `critical_space_action_blocker` and `wipe_after_delete.` (Note that changing the `wipe_after_delete` attribute will not change the wipe after delete property of disks that already exist). To update the `name` and `wipe_after_delete` attributes of a storage domain with an identifier `123`, send a request as follows: [source] ---- PUT /ovirt-engine/api/storageDomains/123 ---- With a request body as follows: [source,xml] ---- data2 true
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageDomainService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.StorageDomainService.UpdateRequest
storageDomain(StorageDomainBuilder storageDomain)
The updated storage domain.StorageDomainService.UpdateRequest
storageDomain(StorageDomain storageDomain)
-
-
-
Method Detail
-
async
StorageDomainService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
storageDomain
StorageDomainService.UpdateRequest storageDomain(StorageDomain storageDomain)
-
storageDomain
StorageDomainService.UpdateRequest storageDomain(StorageDomainBuilder storageDomain)
The updated storage domain.
-
-