图标映射 object

以下 objects 与 iconmap API 直接相关。

图标映射

图标映射对象具有以下属性。

Property Type Description
iconmapid ID 图标映射的 ID。

Property behavior:
- read-only
- required for update operations
default_iconid ID 默认图标的 ID。

Property behavior:
- required for create operations
name string 图标映射的名称。

Property behavior:
- required for create operations

图标映射

图标映射对象定义了一个特定图标,用于具有某个特定库存字段值的主机。它具有以下属性。

Property Type Description
iconid ID 图标映射所使用的图标 ID。

Property behavior:
- required
expression string 用于匹配库存字段的表达式。

Property behavior:
- required
inventory_link integer 主机库存字段的 ID。

有关支持的库存字段列表,请参阅 主机库存对象

Property behavior:
- required
sortorder integer 图标映射在图标映射表中的位置。

Property behavior:
- read-only