public class VMVirtualNumaNodes extends CollectionDecorator<VirtualNumaNode,VirtualNumaNodes,VMVirtualNumaNode>
VMVirtualNumaNodes providing relation and functional services
to VirtualNumaNodes
.
Constructor and Description |
---|
VMVirtualNumaNodes(HttpProxyBroker proxy,
VM parent) |
Modifier and Type | Method and Description |
---|---|
VMVirtualNumaNode |
add(VirtualNumaNode virtualnumanode)
Adds VirtualNumaNode object.
|
VMVirtualNumaNode |
add(VirtualNumaNode virtualnumanode,
String expect)
Adds VirtualNumaNode object.
|
VMVirtualNumaNode |
add(VirtualNumaNode virtualnumanode,
String expect,
String correlationId)
Adds VirtualNumaNode object.
|
VMVirtualNumaNode |
get(UUID id)
Fetches VMVirtualNumaNode object by id.
|
VMVirtualNumaNode |
getById(String id)
Fetches VMVirtualNumaNode object by id.
|
List<VMVirtualNumaNode> |
list()
Lists VMVirtualNumaNode objects.
|
List<VMVirtualNumaNode> |
list(Integer max)
Lists VMVirtualNumaNode objects.
|
get
public VMVirtualNumaNodes(HttpProxyBroker proxy, VM parent)
proxy
- HttpProxyBrokerparent
- VMpublic List<VMVirtualNumaNode> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list
in class CollectionDecorator<VirtualNumaNode,VirtualNumaNodes,VMVirtualNumaNode>
VMVirtualNumaNode
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 VMVirtualNumaNode get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get
in class CollectionDecorator<VirtualNumaNode,VirtualNumaNodes,VMVirtualNumaNode>
id
- entity idVMVirtualNumaNode
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 VMVirtualNumaNode getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById
in class CollectionDecorator<VirtualNumaNode,VirtualNumaNodes,VMVirtualNumaNode>
id
- entity idVMVirtualNumaNode
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 VMVirtualNumaNode add(VirtualNumaNode virtualnumanode) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
virtualnumanode
- VirtualNumaNode
vm_numa_node.index vm_numa_node.memory vm_numa_node.cpu.cores.core [vm_numa_node.numa_node_pins.numa_node_pin]
VMVirtualNumaNode
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 VMVirtualNumaNode add(VirtualNumaNode virtualnumanode, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
virtualnumanode
- VirtualNumaNode
vm_numa_node.index vm_numa_node.memory vm_numa_node.cpu.cores.core [vm_numa_node.numa_node_pins.numa_node_pin]
expect
- [201-created]
VMVirtualNumaNode
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 VMVirtualNumaNode add(VirtualNumaNode virtualnumanode, String expect, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
virtualnumanode
- VirtualNumaNode
vm_numa_node.index vm_numa_node.memory vm_numa_node.cpu.cores.core [vm_numa_node.numa_node_pins.numa_node_pin]
expect
- [201-created]
correlationId
- [any string]
VMVirtualNumaNode
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 List<VMVirtualNumaNode> list(Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
max
- [max results]
VMVirtualNumaNode
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