Package org.ovirt.engine.sdk4.services
Interface StorageDomainsService.AddResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- StorageDomainsService
public static interface StorageDomainsService.AddResponse extends Response
Adds a new storage domain. Creation of a new <> requires the `name`, `type`, `host`, and `storage` attributes. Identify the `host` attribute with the `id` or `name` attributes. In {product-name} 3.6 and later you can enable the wipe after delete option by default on the storage domain. To configure this, specify `wipe_after_delete` in the POST request. This option can be edited after the domain is created, but doing so will not change the wipe after delete property of disks that already exist. To add a new storage domain with specified `name`, `type`, `storage.type`, `storage.address`, and `storage.path`, and using a host with an id `123`, send a request like this: [source] ---- POST /ovirt-engine/api/storageDomains ---- With a request body like this: [source,xml] ---- mydata data nfs mynfs.example.com/exports/mydata myhost myisos iso nfs mynfs.example.com/export/myisos myhost myiscsi data iscsi myhost
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageDomain
storageDomain()
The storage domain to add.
-
-
-
Method Detail
-
storageDomain
StorageDomain storageDomain()
The storage domain to add.
-
-