Constructor and Description |
---|
TemplateNIC(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
TemplateNIC |
update()
Updates TemplateNIC object.
|
TemplateNIC |
update(String correlationId)
Updates TemplateNIC object.
|
TemplateNIC |
update(String correlationId,
Boolean async)
Updates TemplateNIC object.
|
TemplateNIC |
update(String correlationId,
Boolean async,
String expect)
Updates TemplateNIC object.
|
getActive, getBootProtocol, getInterface, getLinked, getMac, getNetwork, getOnBoot, getPlugged, getPortMirroring, getReportedDevices, getStatistics, 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 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 TemplateNIC update(String correlationId, Boolean async) 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]
async
- [true|false]
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, Boolean async, String expect) 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]
async
- [true|false]
expect
- [202-accepted]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0