Class VmNumaNodesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmNumaNodesServiceImpl
-
- All Implemented Interfaces:
Service
,VmNumaNodesService
public class VmNumaNodesServiceImpl extends ServiceImpl implements VmNumaNodesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmNumaNodesService
VmNumaNodesService.AddRequest, VmNumaNodesService.AddResponse, VmNumaNodesService.ListRequest, VmNumaNodesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description VmNumaNodesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmNumaNodesService.AddRequest
add()
Creates a new virtual NUMA node for the virtual machine.VmNumaNodesService.ListRequest
list()
Lists virtual NUMA nodes of a virtual machine.VmNumaNodeService
nodeService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmNumaNodesServiceImpl
public VmNumaNodesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public VmNumaNodesService.AddRequest add()
Description copied from interface:VmNumaNodesService
Creates a new virtual NUMA node for the virtual machine. An example of creating a NUMA node: [source] ---- POST /ovirt-engine/api/vms/c7ecd2dc/numanodes Accept: application/xml Content-type: application/xml ---- The request body can contain the following: [source,xml] ----0 0 1024 strict - Specified by:
add
in interfaceVmNumaNodesService
-
list
public VmNumaNodesService.ListRequest list()
Description copied from interface:VmNumaNodesService
Lists virtual NUMA nodes of a virtual machine. The order of the returned list of NUMA nodes isn't guaranteed.- Specified by:
list
in interfaceVmNumaNodesService
-
nodeService
public VmNumaNodeService nodeService(String id)
- Specified by:
nodeService
in interfaceVmNumaNodesService
-
service
public Service service(String path)
Description copied from interface:VmNumaNodesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmNumaNodesService
-
-