查看主域名的监控项的配置以及状态
GET
https://domainservice.jdcloud-api.com/v2/regions/{regionId}/domain/{domainId}/monitor
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
regionId | String | True | 实例所属的地域ID | |
domainId | String | True | 域名ID,请使用describeDomains接口获取。 |
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
pageIndex | Integer | False | 当前页数,起始值为1,默认为1 | |
pageSize | Integer | False | 分页查询时设置的每页行数 | |
searchValue | String | False | 查询的值 |
名称 | 类型 | 描述 |
---|---|---|
result | Result | |
requestId | String | 此次请求的ID |
名称 | 类型 | 描述 |
---|---|---|
currentCount | Integer | 当前页面网站监控项的个数 |
totalCount | Integer | 所有网站监控项的个数 |
totalPage | Integer | 所有网站监控项的页数 |
dataList | Monitor[ ] | 当前页面的网站监控项的列表 |
名称 | 类型 | 描述 |
---|---|---|
alarmLimit | Integer | 连续几次触发报警 |
canRecover | Boolean | 现在是否可以恢复 |
canSwitch | Boolean | 现在是否可以切换 |
clusters | String | 机房探测点的集合 |
domainName | String | 主域名 |
hostStatus | Integer | 主机状态,0正常,1异常 |
hostValue | String | 监控对象 |
id | Integer | 监控项ID |
ipBackup01 | String | 备用地址1 |
ipBackup01Status | Integer | 备用地址1的状态,0正常,1异常 |
ipBackup01Type | Integer | 备用地址1的类型,1为ip 2为域名 |
ipBackup02 | String | 备用地址2 |
ipBackup02Status | Integer | 备用地址2的状态,0正常,1异常 |
ipBackup02Type | Integer | 备用地址1的类型,1为ip 2为域名 |
manualBackup | String | 手动切换的地址 |
manualBackupStatus | Integer | 手动切换的地址的状态,0正常,1异常 |
manualBackupType | Integer | 手动切换的地址的类型,1为ip 2为域名 |
monitorEnable | Integer | 监控状况 开启监控 2,暂停监控 4 |
monitorFreq | Integer | 监控频率,单位秒 |
monitorPort | Integer | 监控端口 |
monitorRule | Integer | 不做任何修改0,强制暂停解析记录1,自动切换到备用地址2 |
monitorUri | String | 监控路径 |
notifyEmail | String | 邮箱地址 |
notifyEmailEnable | Integer | 不发送邮件0, 发送邮件1 |
notifyMsgBarEnable | Integer | 不发送通知栏 0, 发送通知栏 1 |
notifySms | String | 手机号码 |
notifySmsEnable | Integer | 不发送短信 0, 发送短信 1 |
protocol | Integer | http协议:0,https协议:1 |
stopRecoverRule | Integer | 自动恢复:0 手动恢复:1 |
subDomainName | String | 子域名 |
switchRecoverRule | Integer | 自动恢复至主host:0 手动恢复至主host:1 |
type | Integer | 1为A记录,2为CNAME |
usedType | Integer | 使用记录,host_value 0,ip_backup_01 1,ip_backup_02 2,cname_backup 3 |
返回码 | 描述 |
---|---|
200 | OK |
400 | BAD_REQUEST |
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通