Constructor and Description |
---|
Network(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
NetworkPermissions |
getPermissions()
Gets the value of the NetworkPermissions property.
|
NetworkVnicProfiles |
getVnicProfiles()
Gets the value of the NetworkVnicProfiles property.
|
Network |
update()
Updates Network object.
|
Network |
update(String correlationId)
Updates Network object.
|
getCluster, getDataCenter, getDisplay, getIp, getMtu, getProfileRequired, getRequired, getStatus, getStp, getUsages, getVlan, isSetCluster, isSetDataCenter, isSetDisplay, isSetIp, isSetMtu, isSetProfileRequired, isSetRequired, isSetStatus, isSetStp, isSetUsages, isSetVlan, setCluster, setDataCenter, setDisplay, setIp, setMtu, setProfileRequired, setRequired, setStatus, setStp, setUsages, setVlan
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 Network(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic NetworkPermissions getPermissions()
NetworkPermissions
public NetworkVnicProfiles getVnicProfiles()
NetworkVnicProfiles
public Network update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network
- Network
[network.name] [network.description] [network.comment] [network.vlan.id] [network.ip.address] [network.ip.gateway] [network.ip.netmask] [network.display] [network.stp] [network.mtu]
Network
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 Network update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
network
- Network
[network.name] [network.description] [network.comment] [network.vlan.id] [network.ip.address] [network.ip.gateway] [network.ip.netmask] [network.display] [network.stp] [network.mtu]
correlationId
- [any string]
Network
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