| Constructor and Description |
|---|
VMNIC(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Action |
activate(Action action)
Performs activate action.
|
Action |
activate(Action action,
String correlationId)
Performs activate action.
|
Action |
deactivate(Action action)
Performs deactivate action.
|
Action |
deactivate(Action action,
String correlationId)
Performs deactivate action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
VMNICReportedDevices |
getReportedDevices()
Gets the value of the VMNICReportedDevices property.
|
VMNICStatistics |
getStatistics()
Gets the value of the VMNICStatistics property.
|
VMNIC |
update()
Updates VMNIC object.
|
VMNIC |
update(String correlationId)
Updates VMNIC object.
|
getActive, getBootProtocol, getInterface, getLinked, getMac, getNetwork, getOnBoot, getPlugged, getPortMirroring, getVnicProfile, isSetActive, isSetBootProtocol, isSetInterface, isSetLinked, isSetMac, isSetNetwork, isSetOnBoot, isSetPlugged, isSetPortMirroring, isSetReportedDevices, isSetStatistics, isSetVnicProfile, setActive, setBootProtocol, setInterface, setLinked, setMac, setNetwork, setOnBoot, setPlugged, setPortMirroring, setReportedDevices, setStatistics, setVnicProfilegetTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVmgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic VMNIC(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic VMNICReportedDevices getReportedDevices()
getReportedDevices in class NICVMNICReportedDevicespublic VMNICStatistics getStatistics()
getStatistics in class NICVMNICStatisticspublic Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActionActionorg.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 Action activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActioncorrelationId -
[any string]
Actionorg.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 VMNIC update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
nic - NIC
Overload 1:
update the network interface
for the given virtual machine
[nic.vnic_profile.id]
[nic.linked]
[nic.name]
[nic.mac.address]
[nic.interface]
[nic.plugged]
Overload 2:
update the network interface
for the given virtual machine
with port mirroring options
[nic.network.id|name]
[nic.linked]
[nic.name]
[nic.mac.address]
[nic.interface]
[nic.port_mirroring.networks.network]
[nic.plugged]
VMNICorg.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 VMNIC update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
nic - NIC
Overload 1:
update the network interface
for the given virtual machine
[nic.vnic_profile.id]
[nic.linked]
[nic.name]
[nic.mac.address]
[nic.interface]
[nic.plugged]
Overload 2:
update the network interface
for the given virtual machine
with port mirroring options
[nic.network.id|name]
[nic.linked]
[nic.name]
[nic.mac.address]
[nic.interface]
[nic.port_mirroring.networks.network]
[nic.plugged]
correlationId -
[any string]
VMNICorg.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 Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.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 Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async -
[true|false]
Responseorg.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 Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId -
[any string]
async -
[true|false]
Responseorg.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 Action deactivate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActionActionorg.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 Action deactivate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - ActioncorrelationId -
[any string]
Actionorg.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