Class StorageServerConnectionServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StorageServerConnectionServiceImpl
-
- All Implemented Interfaces:
Service
,StorageServerConnectionService
public class StorageServerConnectionServiceImpl extends ServiceImpl implements StorageServerConnectionService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StorageServerConnectionService
StorageServerConnectionService.GetRequest, StorageServerConnectionService.GetResponse, StorageServerConnectionService.RemoveRequest, StorageServerConnectionService.RemoveResponse, StorageServerConnectionService.UpdateGlusterfsRequest, StorageServerConnectionService.UpdateGlusterfsResponse, StorageServerConnectionService.UpdateIscsiRequest, StorageServerConnectionService.UpdateIscsiResponse, StorageServerConnectionService.UpdateLocalRequest, StorageServerConnectionService.UpdateLocalResponse, StorageServerConnectionService.UpdateNfsRequest, StorageServerConnectionService.UpdateNfsResponse, StorageServerConnectionService.UpdateRequest, StorageServerConnectionService.UpdateResponse, StorageServerConnectionService.UpdateVfsRequest, StorageServerConnectionService.UpdateVfsResponse
-
-
Constructor Summary
Constructors Constructor Description StorageServerConnectionServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageServerConnectionService.GetRequest
get()
StorageServerConnectionService.RemoveRequest
remove()
Removes a storage connection.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
StorageServerConnectionService.UpdateRequest
update()
Updates the storage connection.StorageServerConnectionService.UpdateGlusterfsRequest
updateGlusterfs()
Update the specified Glusterfs storage connection in the system.StorageServerConnectionService.UpdateIscsiRequest
updateIscsi()
Update the specified iSCSI storage connection in the system.StorageServerConnectionService.UpdateLocalRequest
updateLocal()
Update the specified local storage connection in the system.StorageServerConnectionService.UpdateNfsRequest
updateNfs()
Update the specified NFS storage connection in the system.StorageServerConnectionService.UpdateVfsRequest
updateVfs()
Update the specified VFS storage connection in the system.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StorageServerConnectionServiceImpl
public StorageServerConnectionServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public StorageServerConnectionService.GetRequest get()
- Specified by:
get
in interfaceStorageServerConnectionService
-
updateGlusterfs
public StorageServerConnectionService.UpdateGlusterfsRequest updateGlusterfs()
Description copied from interface:StorageServerConnectionService
Update the specified Glusterfs storage connection in the system.- Specified by:
updateGlusterfs
in interfaceStorageServerConnectionService
-
updateIscsi
public StorageServerConnectionService.UpdateIscsiRequest updateIscsi()
Description copied from interface:StorageServerConnectionService
Update the specified iSCSI storage connection in the system.- Specified by:
updateIscsi
in interfaceStorageServerConnectionService
-
updateLocal
public StorageServerConnectionService.UpdateLocalRequest updateLocal()
Description copied from interface:StorageServerConnectionService
Update the specified local storage connection in the system.- Specified by:
updateLocal
in interfaceStorageServerConnectionService
-
updateNfs
public StorageServerConnectionService.UpdateNfsRequest updateNfs()
Description copied from interface:StorageServerConnectionService
Update the specified NFS storage connection in the system.- Specified by:
updateNfs
in interfaceStorageServerConnectionService
-
remove
public StorageServerConnectionService.RemoveRequest remove()
Description copied from interface:StorageServerConnectionService
Removes a storage connection. A storage connection can only be deleted if neither storage domain nor LUN disks reference it. The host name or id is optional; providing it disconnects (unmounts) the connection from that host.- Specified by:
remove
in interfaceStorageServerConnectionService
-
update
public StorageServerConnectionService.UpdateRequest update()
Description copied from interface:StorageServerConnectionService
Updates the storage connection. For example, to change the address of an NFS storage server, send a request like this: [source,xml] ---- PUT /ovirt-engine/api/storageconnections/123 ---- With a request body like this: [source,xml] ----mynewnfs.example.com ---- To change the connection of an iSCSI storage server, send a request like this: [source,xml] ---- PUT /ovirt-engine/api/storageconnections/123 ---- With a request body like this: [source,xml] ----3260 iqn.2017-01.com.myhost:444 - Specified by:
update
in interfaceStorageServerConnectionService
-
updateVfs
public StorageServerConnectionService.UpdateVfsRequest updateVfs()
Description copied from interface:StorageServerConnectionService
Update the specified VFS storage connection in the system.- Specified by:
updateVfs
in interfaceStorageServerConnectionService
-
service
public Service service(String path)
Description copied from interface:StorageServerConnectionService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStorageServerConnectionService
-
-