public class VnicProfiles extends CollectionDecorator<VnicProfile,VnicProfiles,VnicProfile>
VnicProfiles providing relation and functional services
to VnicProfiles.
| Constructor and Description |
|---|
VnicProfiles(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
VnicProfile |
add(VnicProfile vnicprofile)
Adds VnicProfile object.
|
VnicProfile |
add(VnicProfile vnicprofile,
String expect)
Adds VnicProfile object.
|
VnicProfile |
add(VnicProfile vnicprofile,
String expect,
String correlationId)
Adds VnicProfile object.
|
VnicProfile |
get(UUID id)
Fetches VnicProfile object by id.
|
VnicProfile |
getById(String id)
Fetches VnicProfile object by id.
|
List<VnicProfile> |
list()
Lists VnicProfile objects.
|
List<VnicProfile> |
list(Integer max)
Lists VnicProfile objects.
|
getpublic VnicProfiles(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic List<VnicProfile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<VnicProfile,VnicProfiles,VnicProfile>VnicProfileorg.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 VnicProfile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<VnicProfile,VnicProfiles,VnicProfile>id - entity idVnicProfileorg.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 VnicProfile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<VnicProfile,VnicProfiles,VnicProfile>id - entity idVnicProfileorg.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<VnicProfile> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max -
[max results]
VnicProfileorg.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 VnicProfile add(VnicProfile vnicprofile) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vnicprofile - VnicProfile
vnicprofile.network.id
vnicprofile.name
[vnicprofile.description]
[vnicprofile.port_mirroring]
[vnicprofile.custom_properties.custom_property]
VnicProfileorg.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 VnicProfile add(VnicProfile vnicprofile, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vnicprofile - VnicProfile
vnicprofile.network.id
vnicprofile.name
[vnicprofile.description]
[vnicprofile.port_mirroring]
[vnicprofile.custom_properties.custom_property]
expect -
[201-created]
VnicProfileorg.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 VnicProfile add(VnicProfile vnicprofile, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vnicprofile - VnicProfile
vnicprofile.network.id
vnicprofile.name
[vnicprofile.description]
[vnicprofile.port_mirroring]
[vnicprofile.custom_properties.custom_property]
expect -
[201-created]
correlationId -
[any string]
VnicProfileorg.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