查询监控配置
GET
http:/domain/api/front/host/getMonitor/23
请求头
参数名
类型
描述
必填
Content-Type:application/json
sring
必填
Authorization
string
例如:Bearer token值
必填
请求参数
参数名
类型
描述
必填
id
int
记录id
必填
响应参数
参数名
类型
描述
必填
mtype
int
监控类型 0=监控关闭 1=HTTP 2=TCP 3=TCP OVER TLS 4=PING
必填
action
int
执行监控动作 0=无 1=停止解析 2=切换备用IP
必填
timeout
int
超时时间(秒)
必填
domain
string
监控值
必填
port
int
端口
必填
fallback
string
备用IP
必填
recordIP
string
未用到
必填
recordKey
string
未用到
必填