object hostinterface.create(object/array hostInterfaces)
This method allows to create new host interfaces.
(object/array) Host interfaces to create. The method accepts host interfaces with the standard host interface properties.
(object) Returns an object containing the IDs of the created host interfaces under the
interfaceids property. The order of the returned IDs matches the order of the passed host interfaces.
Create a secondary IP agent interface on host "30052."
CHostInterface::create() in frontends/php/include/classes/api/services/CHostInterface.php.
CHostInterface::create() in ui/include/classes/api/services/CHostInterface.php.