PUT /ovirt-engine/api/hosts/123
public static interface HostService.UpdateRequest extends Request<HostService.UpdateRequest,HostService.UpdateResponse>
Update the host properties.
For example, to update a the kernel command line of a host send a request like this:
PUT /ovirt-engine/api/hosts/123
With request body like this:
<host>
<os>
<custom_kernel_cmdline>vfio_iommu_type1.allow_unsafe_interrupts=1</custom_kernel_cmdline>
</os>
</host>
Modifier and Type | Method and Description |
---|---|
HostService.UpdateRequest |
async(Boolean async)
Indicates if the update should be performed asynchronously.
|
HostService.UpdateRequest |
host(Host host) |
HostService.UpdateRequest |
host(HostBuilder host) |
HostService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
HostService.UpdateRequest host(Host host)
HostService.UpdateRequest host(HostBuilder host)
Copyright © 2018. All rights reserved.