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.
|
get
public 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>
DataCenterQoS
org.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 idDataCenterQoS
org.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 idDataCenterQoS
org.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] [qos.outbound_average_linkshare] [qos.outbound_average_upperlimit] [qos.outbound_average_realtime]
DataCenterQoS
org.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] [qos.outbound_average_linkshare] [qos.outbound_average_upperlimit] [qos.outbound_average_realtime]
expect
- [201-created]
DataCenterQoS
org.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] [qos.outbound_average_linkshare] [qos.outbound_average_upperlimit] [qos.outbound_average_realtime]
expect
- [201-created]
correlationId
- [any string]
DataCenterQoS
org.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]
DataCenterQoS
org.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