This method allows to update existing LLD rules. 此方法允许更新已存在的LLD规则。

    (object/array) LLD rule properties to be updated. (object/array) 要更新的 itemid property must be defined for each LLD rule, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged. 每个LLD规则的itemid属性必须被定义,其他属性为可选。值传递要被更新的属性,其他属性保持不变。 Additionally to the [standard LLD rule properties]($1c84f66cb6a6533e.md#lld_rule "zh:manual:api:reference:discoveryrule:object"), the method accepts the following parameters. 另外见[standard LLD rule properties]($1c84f66cb6a6533e.md#lld_rule "zh:manual:api:reference:discoveryrule:object"),此方法接受如下参数。 ^ Parameter ^ Type ^ Description ^ | filter | object | LLD rule filter object to replace the current filter. LLD规则要替换当前的筛选对象。 | ==== Return values 返回值==== (object) itemids property. (object)itemids’’属性下返回一个包含被更新的LLD规则的IDs。

    Adding a filter to an LLD rule 为LLD规则添加一个筛选器

    Request:

    Response:

    Disable trapping 禁用trapping

    Request:

    Response: