调用UpdateGtmMonitor修改健康检查。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | UpdateGtmMonitor |
系统规定参数。取值:UpdateGtmMonitor。 |
MonitorConfigId | String | 是 | 1234abc |
健康检查配置ID |
MonitorExtendInfo | String | 是 | {\”code\”:200,\”path\”:\”\\index.htm\”,\”host\”:\”aliyun.com\”} |
扩展信息 |
ProtocolType | String | 是 | HTTP |
检查协议 |
EvaluationCount | Integer | 否 | 3 |
连续次数 |
Interval | Integer | 否 | 60 |
检查间隔 |
IspCityNode.N.CityCode | String | 否 | 572 |
城市Code |
IspCityNode.N.IspCode | String | 否 | 465 |
运营商code(目前仅阿里巴巴) |
Lang | String | 否 | en |
用户语言 |
Timeout | Integer | 否 | 3000 |
超时时间 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 6856BCF6-11D6-4D7E-AC53-FD579933522B |
请求ID |
示例
请求示例
http(s)://alidns.aliyuncs.com/?Action=UpdateGtmMonitor
&MonitorConfigId=1234abc
&MonitorExtendInfo={\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"}
&ProtocolType=HTTP
&<公共请求参数>
正常返回示例
XML
格式
<UpdateGtmMonitorResponse>
<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
</UpdateGtmMonitorResponse>
JSON
格式
{
"RequestId":"6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
错误码
访问错误中心查看更多错误码。
原创文章,作者:网友投稿,如若转载,请注明出处:https://www.cloudads.cn/archives/33472.html