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 |
activate(Action action,
String correlationId,
Boolean async)
Performs activate action.
|
Action |
deactivate(Action action)
Performs deactivate action.
|
Action |
deactivate(Action action,
String correlationId)
Performs deactivate action.
|
Action |
deactivate(Action action,
String correlationId,
Boolean async)
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.
|
VMNIC |
update(String correlationId,
Boolean async)
Updates VMNIC object.
|
VMNIC |
update(String correlationId,
Boolean async,
String expect)
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, setVnicProfile
getInstanceType, getTemplate, getVm, getVms, isSetInstanceType, isSetTemplate, isSetVm, isSetVms, setInstanceType, setTemplate, setVm, setVms
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public VMNIC(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic VMNICReportedDevices getReportedDevices()
getReportedDevices
in class NIC
VMNICReportedDevices
public VMNICStatistics getStatistics()
getStatistics
in class NIC
VMNICStatistics
public Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
Action
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 Action activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
Action
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 Action activate(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
async
- [true|false]
Action
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 Action deactivate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
Action
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 Action deactivate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
Action
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 Action deactivate(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
correlationId
- [any string]
async
- [true|false]
Action
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 Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
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 Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
Response
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 Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
correlationId
- [any string]
Response
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 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]
VMNIC
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 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]
VMNIC
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 VMNIC update(String correlationId, Boolean async) 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]
async
- [true|false]
VMNIC
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 VMNIC update(String correlationId, Boolean async, String expect) 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]
async
- [true|false]
expect
- [202-accepted]
VMNIC
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