The following objects are directly related to the iconmap API.
The icon map object has the following properties.
| Property | Type | Description |
|---|---|---|
| iconmapid | ID | ID of the icon map. Property behavior: - read-only - required for update operations |
| default_iconid | ID | ID of the default icon. Property behavior: - required for create operations |
| name | string | Name of the icon map. Property behavior: - required for create operations |
The icon mapping object defines a specific icon to be used for hosts with a certain inventory field value. It has the following properties.
| Property | Type | Description |
|---|---|---|
| iconid | ID | ID of the icon used by the icon mapping. Property behavior: - required |
| expression | string | Expression to match the inventory field against. Property behavior: - required |
| inventory_link | integer | ID of the host inventory field. Refer to the host inventory object for a list of supported inventory fields. Property behavior: - required |
| sortorder | integer | Position of the icon mapping in the icon map. Property behavior: - read-only |