编辑SSL证书监视器API
使用此API,您可以编辑SSL证书监视器中提供的值。
用于编辑服务监视器的API:
http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=SSLCertificateMonitor&resourceid= [RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&pollInterval=[pollInterval]&domain=[DOMAIN]&isProxyNeeded= [ISPROXYNEEDED] &timeout=[TIMEOUT]
http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=SSLCertificateMonitor&displayname= [DISPLAYNAME]&newdisplayname=[DISPLAYNAME]&pollInterval=[pollInterval]&domain=[DOMAIN]&isProxyNeeded= [ISPROXYNEEDED]&timeout=[TIMEOUT]
请求参数:
字段 |
描述 |
domain |
应该监控的SSL证书的域名。 |
isProxyNeeded |
是的,如果服务器通过代理连接。不,如果不是。 |
timeout |
超时值(以秒为单位) |
其他常规 API 和 错误情况 |
示例请求:
- http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=SSLCertificateMonitor&resourceid=10000661&pollInterval=10
- http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=SSLCertificateMonitor&resourceid=10000661&domain=zoho.com
- http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=SSLCertificateMonitor&resourceid=10000661&timeout=60
- http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=SSLCertificateMonitor&resourceid=10000661&isProxyNeeded=Yes
- http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=SSLCertificateMonitor&resourceid=10000661&domain=zoho.com&isProxyNeeded=No&timeout=60