Class QosServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.QosServiceImpl
-
- All Implemented Interfaces:
Service
,QosService
public class QosServiceImpl extends ServiceImpl implements QosService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.QosService
QosService.GetRequest, QosService.GetResponse, QosService.RemoveRequest, QosService.RemoveResponse, QosService.UpdateRequest, QosService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description QosServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QosService.GetRequest
get()
Get specified QoS in the data center.QosService.RemoveRequest
remove()
Remove specified QoS from datacenter.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
QosService.UpdateRequest
update()
Update the specified QoS in the dataCenter.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
QosServiceImpl
public QosServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public QosService.GetRequest get()
Description copied from interface:QosService
Get specified QoS in the data center. [source] ---- GET /ovirt-engine/api/datacenters/123/qoss/123 ---- You will get response like this one below: [source,xml] ----123 123 1 1 storage - Specified by:
get
in interfaceQosService
-
remove
public QosService.RemoveRequest remove()
Description copied from interface:QosService
Remove specified QoS from datacenter. [source] ---- DELETE /ovirt-engine/api/datacenters/123/qoss/123 ----- Specified by:
remove
in interfaceQosService
-
update
public QosService.UpdateRequest update()
Description copied from interface:QosService
Update the specified QoS in the dataCenter. [source] ---- PUT /ovirt-engine/api/datacenters/123/qoss/123 ---- For example with curl: [source] ---- curl -u admin@internal:123456 -X PUT -H "content-type: application/xml" -d \ " " \ https://engine/ovirt-engine/api/datacenters/123/qoss/123 ---- You will receive response like this: [source,xml] ----321 321 10 321 321 10 1 storage - Specified by:
update
in interfaceQosService
-
service
public Service service(String path)
Description copied from interface:QosService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceQosService
-
-