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