Class StorageServerConnectionExtensionsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StorageServerConnectionExtensionsServiceImpl
-
- All Implemented Interfaces:
Service
,StorageServerConnectionExtensionsService
public class StorageServerConnectionExtensionsServiceImpl extends ServiceImpl implements StorageServerConnectionExtensionsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StorageServerConnectionExtensionsService
StorageServerConnectionExtensionsService.AddRequest, StorageServerConnectionExtensionsService.AddResponse, StorageServerConnectionExtensionsService.ListRequest, StorageServerConnectionExtensionsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description StorageServerConnectionExtensionsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete 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)
String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StorageServerConnectionExtensionsServiceImpl
public StorageServerConnectionExtensionsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public StorageServerConnectionExtensionsService.AddRequest add()
Description copied from interface:StorageServerConnectionExtensionsService
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 - Specified by:
add
in interfaceStorageServerConnectionExtensionsService
-
list
public StorageServerConnectionExtensionsService.ListRequest list()
Description copied from interface:StorageServerConnectionExtensionsService
Returns the list os storage connection extensions. The order of the returned list of storage connections isn't guaranteed.- Specified by:
list
in interfaceStorageServerConnectionExtensionsService
-
storageConnectionExtensionService
public StorageServerConnectionExtensionService storageConnectionExtensionService(String id)
- Specified by:
storageConnectionExtensionService
in interfaceStorageServerConnectionExtensionsService
-
service
public Service service(String path)
Description copied from interface:StorageServerConnectionExtensionsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStorageServerConnectionExtensionsService
-
-