ManageEngine® Applications Manager


编辑DNS监视器API

<< 上一页

主页

下一页 >>

编辑DNS监视器API

 

这个API允许您编辑DNS监视器中的值。

 

API - 编辑DNS监视器

 

按资源编号
http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=DNSMonitor&resourceid=[RESOURCEID]&newdisplayname=

[NEWDISPLAYNAME]&pollInterval=[pollInterval]&domain=[DOMAIN]&isProxyNeeded=[ISPROXYNEEDED]&timeout=[TIMEOUT]


按显示名称

http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=DNSMonitor&displayname=[DISPLAYNAME]&newdisplayname=

[DISPLAYNAME]&pollInterval=[pollInterval]&LookupAddress=[LOOKUPADDRESS]&RecordType=[RECORDTYPE]&SearchField=[SEARCHFIELD]

&SearchValue=[SEARCHVALUE]&TargetAddress=[TARGETADDRESS]&timeout=[TIMEOUT]

 

请求参数

字段 描述        
LookupAddress 您想要在DNS服务器中查询的地址
RecordType 查询地址的返回类型,可用选项包括:-None-、A、AAAA、CNAME、MX、NS、PTR、SOA、SPF、SRV、TXT
SearchField 搜索字段的值,可用选项包括:-None-、Record Name、Address、Additional Name、Target、Admin、Host、Alias、Port、Priority
SearchValue 您想要在特定字段中查找的值
TargetAddress DNS服务器的主机名称/IP地址
timeout 超时时间(秒)
其它的API通用参数错误处理

请求示例

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&LookupAddress=sample

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&RecordType=AAAA

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&SearchField=Host

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&SearchValue=zoho

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&TargetAddress=192.168.5.11

http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=DNSMonitor&resourceid=10000657&LookupAddress=sample

&RecordType=AAAA&SearchField=Host&SearchValue=zoho&TargetAddress=192.168.5.11&timeout=45


<< 上一页

主页

下一页 >>

编辑监视器API

编辑服务监视器API