> Discovery rule object

The following objects are directly related to the drule API.

Discovery rule

The discovery rule object defines a network discovery rule. It has the following properties.

PropertyTypeDescription
druleidstringID of the discovery rule.

Property behavior:
- read-only
- required for update operations
iprangestringOne or several IP ranges to check, separated by commas.

Refer to the network discovery configuration section for more information on supported formats of IP ranges.

Property behavior:
- required for create operations
namestringName of the discovery rule.

Property behavior:
- required for create operations
delaystringExecution interval of the discovery rule.
Accepts seconds, time unit with suffix, or a user macro.

Default: 1h.
proxy_hostidstringID of the proxy used for discovery.
statusintegerWhether the discovery rule is enabled.

Possible values:
0 - (default) enabled;
1 - disabled.