object hostinterface.massadd(object parameters)
This method allows to simultaneously add host interfaces to multiple hosts.
(object) Parameters containing the host interfaces to be created on the given hosts.
The method accepts the following parameters.
|object/array||Hosts to be updated.
The hosts must have the
|object/array||Host interfaces to create on the given hosts.|
(object) Returns an object containing the IDs of the created host interfaces under the
Create an interface on two hosts.
CHostInterface::massAdd() in frontends/php/api/classes/CHostInterface.php.