public static interface HostsService.Add
Creates a new host and adds it to the database. The host is created based on the properties of the host
parameter. The name
, address
rootPassword
properties are required.
Modifier and Type | Method and Description |
---|---|
Host |
host()
The host definition from which to create the new host is passed as parameter, and the newly created host
is returned.
|
Host host()
The host definition from which to create the new host is passed as parameter, and the newly created host is returned.
Copyright © 2016. All rights reserved.