说明

    This method allows to copy LLD rules with all of the prototypes to the given hosts. 此方法允许复制包含所有属性的LLD规则到给定的主机。

    Return values

    (boolean) Returns if the copying was successful.

    Copy an LLD rule to multiple hosts

    Request:

    1. "jsonrpc": "2.0",
    2. "id": 1

    Source

    CDiscoveryrule::copy() in frontends/php/include/classes/api/services/CDiscoveryRule.php.