Package org.ovirt.engine.sdk4.services
Interface StorageDomainsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
StorageDomainsServiceImpl
public interface StorageDomainsService extends Service
Manages the set of storage domains in the system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageDomainsService.AddBlockDomainRequest
Import an existing block storage domain to the system using the targets already connected to the host.static interface
StorageDomainsService.AddBlockDomainResponse
Import an existing block storage domain to the system using the targets already connected to the host.static interface
StorageDomainsService.AddByPathRequest
Add a new storage domain to the system using the storage on the given host and path.static interface
StorageDomainsService.AddByPathResponse
Add a new storage domain to the system using the storage on the given host and path.static interface
StorageDomainsService.AddDirectLunRequest
Add a new storage domain to the system using a direct LUN.static interface
StorageDomainsService.AddDirectLunResponse
Add a new storage domain to the system using a direct LUN.static interface
StorageDomainsService.AddGlusterOrPostfsRequest
Add a new storage domain to the system using Gluster or POSIX FS storage.static interface
StorageDomainsService.AddGlusterOrPostfsResponse
Add a new storage domain to the system using Gluster or POSIX FS storage.static interface
StorageDomainsService.AddLocalRequest
Add a new storage domain to the system using the storage on the local host at the given path.static interface
StorageDomainsService.AddLocalResponse
Add a new storage domain to the system using the storage on the local host at the given path.static interface
StorageDomainsService.AddRequest
Adds a new storage domain.static interface
StorageDomainsService.AddResponse
Adds a new storage domain.static interface
StorageDomainsService.ListRequest
Returns the list of storage domains in the system.static interface
StorageDomainsService.ListResponse
Returns the list of storage domains in the system.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageDomainsService.AddRequest
add()
Adds a new storage domain.StorageDomainsService.AddBlockDomainRequest
addBlockDomain()
Import an existing block storage domain to the system using the targets already connected to the host.StorageDomainsService.AddByPathRequest
addByPath()
Add a new storage domain to the system using the storage on the given host and path.StorageDomainsService.AddDirectLunRequest
addDirectLun()
Add a new storage domain to the system using a direct LUN.StorageDomainsService.AddGlusterOrPostfsRequest
addGlusterOrPostfs()
Add a new storage domain to the system using Gluster or POSIX FS storage.StorageDomainsService.AddLocalRequest
addLocal()
Add a new storage domain to the system using the storage on the local host at the given path.StorageDomainsService.ListRequest
list()
Returns the list of storage domains in the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StorageDomainService
storageDomainService(String id)
-
-
-
Method Detail
-
add
StorageDomainsService.AddRequest add()
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
-
addBlockDomain
StorageDomainsService.AddBlockDomainRequest addBlockDomain()
Import an existing block storage domain to the system using the targets already connected to the host.
-
addByPath
StorageDomainsService.AddByPathRequest addByPath()
Add a new storage domain to the system using the storage on the given host and path.
-
addDirectLun
StorageDomainsService.AddDirectLunRequest addDirectLun()
Add a new storage domain to the system using a direct LUN.
-
addGlusterOrPostfs
StorageDomainsService.AddGlusterOrPostfsRequest addGlusterOrPostfs()
Add a new storage domain to the system using Gluster or POSIX FS storage.
-
list
StorageDomainsService.ListRequest list()
Returns the list of storage domains in the system. The order of the returned list of storage domains is guaranteed only if the `sortby` clause is included in the `search` parameter.
-
addLocal
StorageDomainsService.AddLocalRequest addLocal()
Add a new storage domain to the system using the storage on the local host at the given path.
-
storageDomainService
StorageDomainService storageDomainService(String id)
-
-