Package org.ovirt.engine.sdk4.services
Interface QosService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
QosServiceImpl
public interface QosService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
QosService.GetRequest
Get specified QoS in the data center.static interface
QosService.GetResponse
Get specified QoS in the data center.static interface
QosService.RemoveRequest
Remove specified QoS from datacenter.static interface
QosService.RemoveResponse
Remove specified QoS from datacenter.static interface
QosService.UpdateRequest
Update the specified QoS in the dataCenter.static interface
QosService.UpdateResponse
Update the specified QoS in the dataCenter.
-
Method Summary
All Methods Instance Methods Abstract 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.QosService.UpdateRequest
update()
Update the specified QoS in the dataCenter.
-
-
-
Method Detail
-
get
QosService.GetRequest get()
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
-
remove
QosService.RemoveRequest remove()
Remove specified QoS from datacenter. [source] ---- DELETE /ovirt-engine/api/datacenters/123/qoss/123 ----
-
update
QosService.UpdateRequest update()
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
-
-