[comment]: # aside:1

[comment]: # ({8ab5cca4-141f308b})
# Discovery rule object

The following objects are directly related to the `drule` API.

[comment]: # ({/8ab5cca4-141f308b})

[comment]: # ({14b9f670-8884a1d1})
### Discovery rule

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

|Property|[Type](/manual/api/reference_commentary#data-types)|Description|
|--|--|------|
|druleid|ID|ID of the discovery rule.<br><br>[Property behavior](/manual/api/reference_commentary#property-behavior):<br>- *read-only*<br>- *required* for update operations|
|iprange|string|One or several IP ranges to check, separated by commas.<br><br>Refer to the [network discovery configuration](/manual/discovery/network_discovery/rule) section for more information on supported formats of IP ranges.<br><br>[Property behavior](/manual/api/reference_commentary#property-behavior):<br>- *required* for create operations|
|name|string|Name of the discovery rule.<br><br>[Property behavior](/manual/api/reference_commentary#property-behavior):<br>- *required* for create operations|
|delay|string|Execution interval of the discovery rule.<br><br>Accepts seconds or time unit with suffix (e.g., 30s, 1m, 2h, 1d), or a user macro.<br><br>Default: 1h.|
|proxyid|ID|ID of the proxy used for discovery.|
|status|integer|Whether the discovery rule is enabled.<br><br>Possible values:<br>0 - *(default)* enabled;<br>1 - disabled.|
|concurrency\_max|integer|Maximum number of concurrent checks per discovery rule.<br><br>Possible values:<br>0 - *(default)* unlimited number of checks;<br>1 - one check;<br>2-999 - custom number of checks.|
|error|string|Error text if there have been any problems when executing the discovery rule.<br><br>[Property behavior](/manual/api/reference_commentary#property-behavior):<br>- *read-only*|

[comment]: # ({/14b9f670-8884a1d1})
