Package org.ovirt.engine.sdk4.services
Interface HostsService.AddRequest
-
- All Superinterfaces:
Request<HostsService.AddRequest,HostsService.AddResponse>
- Enclosing interface:
- HostsService
public static interface HostsService.AddRequest extends Request<HostsService.AddRequest,HostsService.AddResponse>
Creates a new host. The host is created based on the attributes of the `host` parameter. The `name`, `address`, and `root_password` properties are required. For example, to add a host, send the following request: [source] ---- POST /ovirt-engine/api/hosts ---- With the following request body: [source,xml] ----myhost myhost.example.commyrootpassword myhost myhost.example.com123456
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostsService.AddRequest
activate(Boolean activate)
When set to `true`, this host will be activated after its installation completes.HostsService.AddRequest
deployHostedEngine(Boolean deployHostedEngine)
When set to `true`, this host deploys the hosted engine components.HostsService.AddRequest
host(HostBuilder host)
The host definition with which the new host is created is passed as a parameter, and the newly created host is returned.HostsService.AddRequest
host(Host host)
HostsService.AddRequest
reboot(Boolean reboot)
Indicates if the host should be rebooted after successful installation.HostsService.AddRequest
undeployHostedEngine(Boolean undeployHostedEngine)
When set to `true`, this host un-deploys the hosted engine components and does not function as part of the High Availability cluster.
-
-
-
Method Detail
-
activate
HostsService.AddRequest activate(Boolean activate)
When set to `true`, this host will be activated after its installation completes. When set to `false` the host will remain in `maintenance` status after its installation. Absence of this parameter will be interpreted as `true`, since the desired default behavior is activating the host after install.
-
deployHostedEngine
HostsService.AddRequest deployHostedEngine(Boolean deployHostedEngine)
When set to `true`, this host deploys the hosted engine components. A missing value is treated as `true`, i.e., deploy the hosted engine components. Omitting this parameter equals `false`, and the host performs no operation in the hosted engine area.
-
host
HostsService.AddRequest host(Host host)
-
host
HostsService.AddRequest host(HostBuilder host)
The host definition with which the new host is created is passed as a parameter, and the newly created host is returned.
-
reboot
HostsService.AddRequest reboot(Boolean reboot)
Indicates if the host should be rebooted after successful installation. The default value is `true`.
-
undeployHostedEngine
HostsService.AddRequest undeployHostedEngine(Boolean undeployHostedEngine)
When set to `true`, this host un-deploys the hosted engine components and does not function as part of the High Availability cluster. A missing value is treated as `true`, i.e., un-deploy. Omitting this parameter equals `false` and the host performs no operation in the hosted engine area.
-
-