[comment]: # aside: 1

[comment]: # translation:outdated

[comment]: # ({4b9de593-01e2c406})
# Discovered serviceオブジェクト

次のオブジェクトは、`dservice`APIに直接関連しています。

[comment]: # ({/4b9de593-01e2c406})

[comment]: # ({01936fc9-507852d3})
### Discovered service

::: noteclassic
発見されたサービスはZabbix server によって作成され、APIから変更することはできません。
:::

発見されたサービスオブジェクトは、ホスト上のネットワーク発見ルールによって発見されたサービスに関する情報を<br>
含んでいます。このオブジェクトは以下のプロパティを持ちます。

|プロパティ|[Type](/manual/api/reference_commentary#data_types)|説明|
|--|--|------|
|dserviceid|string|ID of the discovered service.|
|dcheckid|string|ID of the discovery check used to detect the service.|
|dhostid|string|ID of the discovered host running the service.|
|dns|string|DNS of the host running the service.|
|ip|string|IP address of the host running the service.|
|lastdown|timestamp|Time when the discovered service last went down.|
|lastup|timestamp|Time when the discovered service last went up.|
|port|integer|Service port number.|
|status|integer|Status of the service.<br><br>Possible values:<br>0 - service up;<br>1 - service down.|
|value|string|Value returned by the service when performing a Zabbix agent, SNMPv1, SNMPv2 or SNMPv3 discovery check.|

[comment]: # ({/01936fc9-507852d3})
