public class DataCenterQoSs extends CollectionDecorator<QoS,QoSs,DataCenterQoS>
DataCenterQoSs providing relation and functional services
to QoSs.
| Constructor and Description |
|---|
DataCenterQoSs(HttpProxyBroker proxy,
DataCenter parent) |
| Modifier and Type | Method and Description |
|---|---|
DataCenterQoS |
add(QoS qos)
Adds QoS object.
|
DataCenterQoS |
add(QoS qos,
String expect)
Adds QoS object.
|
DataCenterQoS |
add(QoS qos,
String expect,
String correlationId)
Adds QoS object.
|
DataCenterQoS |
get(UUID id)
Fetches DataCenterQoS object by id.
|
DataCenterQoS |
getById(String id)
Fetches DataCenterQoS object by id.
|
List<DataCenterQoS> |
list()
Lists DataCenterQoS objects.
|
List<DataCenterQoS> |
list(Integer max)
Lists DataCenterQoS objects.
|
getpublic DataCenterQoSs(HttpProxyBroker proxy, DataCenter parent)
proxy - HttpProxyBrokerparent - DataCenterpublic List<DataCenterQoS> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<QoS,QoSs,DataCenterQoS>DataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterQoS get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<QoS,QoSs,DataCenterQoS>id - entity idDataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterQoS getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<QoS,QoSs,DataCenterQoS>id - entity idDataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public List<DataCenterQoS> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
DataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterQoS add(QoS qos) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
qos - QoS
qos.name
qos.type
[qos.description]
[qos.max_throughput]
[qos.max_read_throughput]
[qos.max_write_throughput]
[qos.max_iops]
[qos.max_read_iops]
[qos.max_write_iops]
[qos.cpu_limit]
[qos.inbound_average]
[qos.inbound_peak]
[qos.inbound_burst]
[qos.outbound_average]
[qos.outbound_peak]
[qos.outbound_burst]
DataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterQoS add(QoS qos, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
qos - QoS
qos.name
qos.type
[qos.description]
[qos.max_throughput]
[qos.max_read_throughput]
[qos.max_write_throughput]
[qos.max_iops]
[qos.max_read_iops]
[qos.max_write_iops]
[qos.cpu_limit]
[qos.inbound_average]
[qos.inbound_peak]
[qos.inbound_burst]
[qos.outbound_average]
[qos.outbound_peak]
[qos.outbound_burst]
expect -
[201-created]
DataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public DataCenterQoS add(QoS qos, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
qos - QoS
qos.name
qos.type
[qos.description]
[qos.max_throughput]
[qos.max_read_throughput]
[qos.max_write_throughput]
[qos.max_iops]
[qos.max_read_iops]
[qos.max_write_iops]
[qos.cpu_limit]
[qos.inbound_average]
[qos.inbound_peak]
[qos.inbound_burst]
[qos.outbound_average]
[qos.outbound_peak]
[qos.outbound_burst]
expect -
[201-created]
correlationId -
[any string]
DataCenterQoSorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0