Class QossServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.QossServiceImpl
-
- All Implemented Interfaces:
Service
,QossService
public class QossServiceImpl extends ServiceImpl implements QossService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.QossService
QossService.AddRequest, QossService.AddResponse, QossService.ListRequest, QossService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description QossServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QossService.AddRequest
add()
Add a new QoS to the dataCenter.QossService.ListRequest
list()
Returns the list of _quality of service_ configurations available in the data center.QosService
qosService(String id)
A reference to a service managing a specific QoS.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
QossServiceImpl
public QossServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public QossService.AddRequest add()
Description copied from interface:QossService
Add a new QoS to the dataCenter. [source] ---- POST /ovirt-engine/api/datacenters/123/qoss ---- The response will look as follows: [source,xml] ----123 123 10 storage - Specified by:
add
in interfaceQossService
-
list
public QossService.ListRequest list()
Description copied from interface:QossService
Returns the list of _quality of service_ configurations available in the data center. [source] ---- GET /ovirt-engine/api/datacenter/123/qoss ---- You will get response which will look like this: [source, xml] ----... ... ... - Specified by:
list
in interfaceQossService
-
qosService
public QosService qosService(String id)
Description copied from interface:QossService
A reference to a service managing a specific QoS.- Specified by:
qosService
in interfaceQossService
-
service
public Service service(String path)
Description copied from interface:QossService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceQossService
-
-