Package org.ovirt.engine.sdk4.services
Interface VmNicsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VmNicsServiceImpl
public interface VmNicsService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmNicsService.AddRequest
Adds a NIC to the virtual machine.static interface
VmNicsService.AddResponse
Adds a NIC to the virtual machine.static interface
VmNicsService.ListRequest
Returns the list of NICs of the virtual machine.static interface
VmNicsService.ListResponse
Returns the list of NICs of the virtual machine.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmNicsService.AddRequest
add()
Adds a NIC to the virtual machine.VmNicsService.ListRequest
list()
Returns the list of NICs of the virtual machine.VmNicService
nicService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
VmNicsService.AddRequest add()
Adds a NIC to the virtual machine. The following example adds to the virtual machine `123` a network interface named `mynic` using `virtio` and the NIC profile `456`. [source] ---- POST /ovirt-engine/api/vms/123/nics ---- [source,xml] ----mynic virtio mynic virtio
-
list
VmNicsService.ListRequest list()
Returns the list of NICs of the virtual machine. The order of the returned list of NICs isn't guaranteed.
-
nicService
VmNicService nicService(String id)
-
-