Package org.ovirt.engine.sdk4.services
Interface HostsService.AddResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- HostsService
public static interface HostsService.AddResponse extends Response
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 Host
host()
The host definition with which the new host is created is passed as a parameter, and the newly created host is returned.
-
-
-
Method Detail
-
host
Host host()
The host definition with which the new host is created is passed as a parameter, and the newly created host is returned.
-
-