Package org.ovirt.engine.sdk4.services
Interface StorageServerConnectionExtensionsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
StorageServerConnectionExtensionsServiceImpl
public interface StorageServerConnectionExtensionsService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageServerConnectionExtensionsService.AddRequest
Creates a new storage server connection extension for the given host.static interface
StorageServerConnectionExtensionsService.AddResponse
Creates a new storage server connection extension for the given host.static interface
StorageServerConnectionExtensionsService.ListRequest
Returns the list os storage connection extensions.static interface
StorageServerConnectionExtensionsService.ListResponse
Returns the list os storage connection extensions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageServerConnectionExtensionsService.AddRequest
add()
Creates a new storage server connection extension for the given host.StorageServerConnectionExtensionsService.ListRequest
list()
Returns the list os storage connection extensions.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StorageServerConnectionExtensionService
storageConnectionExtensionService(String id)
-
-
-
Method Detail
-
add
StorageServerConnectionExtensionsService.AddRequest add()
Creates a new storage server connection extension for the given host. The extension lets the user define credentials for an iSCSI target for a specific host. For example to use `myuser` and `mypassword` as the credentials when connecting to the iSCSI target from host `123` send a request like this: [source] ---- POST /ovirt-engine/api/hosts/123/storageconnectionextensions ---- With a request body like this: [source,xml] ----iqn.2016-01.com.example:mytarget myuser mypassword
-
list
StorageServerConnectionExtensionsService.ListRequest list()
Returns the list os storage connection extensions. The order of the returned list of storage connections isn't guaranteed.
-
storageConnectionExtensionService
StorageServerConnectionExtensionService storageConnectionExtensionService(String id)
-
-