Constructor and Description |
---|
TemplateNIC(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
TemplateNIC |
update()
Updates TemplateNIC object.
|
TemplateNIC |
update(String correlationId)
Updates TemplateNIC object.
|
getActive, getInterface, getLinked, getMac, getNetwork, getPlugged, getPortMirroring, getReportedDevices, getStatistics, getVnicProfile, isSetActive, isSetInterface, isSetLinked, isSetMac, isSetNetwork, isSetPlugged, isSetPortMirroring, isSetReportedDevices, isSetStatistics, isSetVnicProfile, setActive, setInterface, setLinked, setMac, setNetwork, setPlugged, setPortMirroring, setReportedDevices, setStatistics, setVnicProfile
getTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVm
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 TemplateNIC(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic TemplateNIC update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
nic
- NIC
Overload 1: [nic.vnic_profile.id] [nic.linked] [nic.name] [nic.mac.address] [nic.interface] [nic.plugged] Overload 2: [nic.network.id|name] [nic.linked] [nic.name] [nic.mac.address] [nic.interface] [nic.port_mirroring.networks.network]
TemplateNIC
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 TemplateNIC update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
nic
- NIC
Overload 1: [nic.vnic_profile.id] [nic.linked] [nic.name] [nic.mac.address] [nic.interface] [nic.plugged] Overload 2: [nic.network.id|name] [nic.linked] [nic.name] [nic.mac.address] [nic.interface] [nic.port_mirroring.networks.network]
correlationId
- [any string]
TemplateNIC
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, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId
- [any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0