Class StorageServerConnectionsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StorageServerConnectionsServiceImpl
-
- All Implemented Interfaces:
Service
,StorageServerConnectionsService
public class StorageServerConnectionsServiceImpl extends ServiceImpl implements StorageServerConnectionsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StorageServerConnectionsService
StorageServerConnectionsService.AddGlusterfsRequest, StorageServerConnectionsService.AddGlusterfsResponse, StorageServerConnectionsService.AddIscsiRequest, StorageServerConnectionsService.AddIscsiResponse, StorageServerConnectionsService.AddLocalRequest, StorageServerConnectionsService.AddLocalResponse, StorageServerConnectionsService.AddNfsRequest, StorageServerConnectionsService.AddNfsResponse, StorageServerConnectionsService.AddRequest, StorageServerConnectionsService.AddResponse, StorageServerConnectionsService.AddVfsRequest, StorageServerConnectionsService.AddVfsResponse, StorageServerConnectionsService.ListRequest, StorageServerConnectionsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description StorageServerConnectionsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageServerConnectionsService.AddRequest
add()
Creates a new storage connection.StorageServerConnectionsService.AddGlusterfsRequest
addGlusterfs()
Add a Glusterfs storage connection to the system.StorageServerConnectionsService.AddIscsiRequest
addIscsi()
Add a iSCSI storage connection to the system.StorageServerConnectionsService.AddLocalRequest
addLocal()
Add a local storage connection to the system.StorageServerConnectionsService.AddNfsRequest
addNfs()
Add a nfs storage connection to the system.StorageServerConnectionsService.AddVfsRequest
addVfs()
Add a vfs storage connection to the system.StorageServerConnectionsService.ListRequest
list()
Returns the list of storage connections.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StorageServerConnectionService
storageConnectionService(String id)
String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StorageServerConnectionsServiceImpl
public StorageServerConnectionsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public StorageServerConnectionsService.AddRequest add()
Description copied from interface:StorageServerConnectionsService
Creates a new storage connection. For example, to create a new storage connection for the NFS server `mynfs.example.com` and NFS share `/export/mydata` send a request like this: [source] ---- POST /ovirt-engine/api/storageconnections ---- With a request body like this: [source,xml] ----nfs mynfs.example.com/export/mydata myhost - Specified by:
add
in interfaceStorageServerConnectionsService
-
addGlusterfs
public StorageServerConnectionsService.AddGlusterfsRequest addGlusterfs()
Description copied from interface:StorageServerConnectionsService
Add a Glusterfs storage connection to the system.- Specified by:
addGlusterfs
in interfaceStorageServerConnectionsService
-
addIscsi
public StorageServerConnectionsService.AddIscsiRequest addIscsi()
Description copied from interface:StorageServerConnectionsService
Add a iSCSI storage connection to the system.- Specified by:
addIscsi
in interfaceStorageServerConnectionsService
-
list
public StorageServerConnectionsService.ListRequest list()
Description copied from interface:StorageServerConnectionsService
Returns the list of storage connections. The order of the returned list of connections isn't guaranteed.- Specified by:
list
in interfaceStorageServerConnectionsService
-
addLocal
public StorageServerConnectionsService.AddLocalRequest addLocal()
Description copied from interface:StorageServerConnectionsService
Add a local storage connection to the system.- Specified by:
addLocal
in interfaceStorageServerConnectionsService
-
addNfs
public StorageServerConnectionsService.AddNfsRequest addNfs()
Description copied from interface:StorageServerConnectionsService
Add a nfs storage connection to the system.- Specified by:
addNfs
in interfaceStorageServerConnectionsService
-
addVfs
public StorageServerConnectionsService.AddVfsRequest addVfs()
Description copied from interface:StorageServerConnectionsService
Add a vfs storage connection to the system.- Specified by:
addVfs
in interfaceStorageServerConnectionsService
-
storageConnectionService
public StorageServerConnectionService storageConnectionService(String id)
- Specified by:
storageConnectionService
in interfaceStorageServerConnectionsService
-
service
public Service service(String path)
Description copied from interface:StorageServerConnectionsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStorageServerConnectionsService
-
-