38.模板

此类用于管理模板。 对象引用:

可用方法:

  • [template.create](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/create "manual:api:reference:template:create") - 创建新模板

  • [template.delete](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/delete "manual:api:reference:template:delete") - 删除模板

  • [template.get](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/get "manual:api:reference:template:get") - 检索模板

  • [template.massadd](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/massadd "manual:api:reference:template:massadd") - 添加相关对象到模板中

  • [template.massremove](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/massremove "manual:api:reference:template:massremove") - 从模板中删除相关对象

  • [template.massupdate](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/massupdate "manual:api:reference:template:massupdate") - 从模板中替换或删除相关对象

  • [template.update](https://www.zabbix.com/documentation/5.0/manual/api/reference/template/update "manual:api:reference:template:update") - 更新模板