调用DescribeGtmMonitorConfig获取地址池健康检查配置。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeGtmMonitorConfig

系统规定参数。取值:DescribeGtmMonitorConfig

MonitorConfigId String 100

健康检查配置ID

Lang String en

用户语言

返回数据

名称 类型 示例值 描述
RequestId String 6856BCF6-11D6-4D7E-AC53-FD579933522B

请求ID

MonitorConfigId String 1234abc

健康检查配置ID

CreateTime String 2017-12-28T13:08Z

创建时间

CreateTimestamp Long 1527690629357

创建时间(时间戳)

UpdateTime String 2017-12-28T13:08Z

更新时间

UpdateTimestamp Long 1527690629357

更新时间(时间戳)

ProtocolType String HTTP

检查协议

Interval Integer 60

检查间隔,单位:秒,取值范围:60。

EvaluationCount Integer 3

连续次数

Timeout Integer 3000

超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。

MonitorExtendInfo String {\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"}

扩展信息,参考如下:

  • port:检查端口
  • host:Host设置
  • path:URL路径
  • code:返回码大于
  • failureRate:失败率
  • packetNum:ping包数
  • packetLossRate:ping丢包率
IspCityNodes Array

监控节点

CountryName String 中国

国家展示名

CountryCode String 001

国家编码

CityName String 张家口市

城市展示名

CityCode String 503

城市编码

IspCode String 465

运营商Code

IspName String 阿里巴巴

运营商名称

示例

请求示例

http(s)://alidns.aliyuncs.com/?Action=DescribeGtmMonitorConfig
&MonitorConfigId=100
&<公共请求参数>

正常返回示例

XML 格式

<DescribeGtmMonitorConfigResponse>
  <RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
	  <MonitorConfigId>1234abc</MonitorConfigId>
	  <CreateTime>2017-12-28T13:08Z</CreateTime>
	  <CreateTimestamp>1527690629357</CreateTimestamp>
	  <UpdateTime>2018-01-03T08:57Z</UpdateTime>
	  <UpdateTimestamp>1527690629357</UpdateTimestamp>
	  <ProtocolType>HTTP</ProtocolType>
	  <Interval>60</Interval>
	  <EvaluationCount>3</EvaluationCount>
	  <Timeout>3000</Timeout>
	  <MonitorExtendInfo>{"code":200,"path":"\index.htm","host":"aliyun.com"}</MonitorExtendInfo>
	  <IspCityNodes>
		    <CountryName>中国</CountryName>
		    <CountryCode>001</CountryCode>
		    <City>张家口市</City>
		    <CityCode>503</CityCode>
	  </IspCityNodes>
	  <IspCityNodes>
		    <CountryName>中国</CountryName>
		    <CountryCode>001</CountryCode>
		    <City>青岛市</City>
		    <CityCode>572</CityCode>
	  </IspCityNodes>
</DescribeGtmMonitorConfigResponse>

JSON 格式

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
  "MonitorConfigId": "1234abc",
  "CreateTime": "2017-12-28T13:08Z",
  "CreateTimestamp": 1527690629357,
  "UpdateTime": "2018-01-03T08:57Z",
  "UpdateTimestamp": 1527690629357,
  "ProtocolType": "HTTP",
  "Interval": 60,
  "EvaluationCount": 3,
  "Timeout": 3000,
  "MonitorExtendInfo": "{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"}",
  "IspCityNodes": [{
      "CountryName": "中国",
      "CountryCode": "001",
      "City": "张家口市",
      "CityCode": "503",
      "IspCode": "123",
      "IspName": "阿里巴巴"
    },
    {
      "CountryName": "中国",
      "CountryCode": "001",
      "City": "青岛市",
      "CityCode": "572",
      "IspCode": "123",
      "IspName": "阿里巴巴"
    }
  ]
}

错误码

访问错误中心查看更多错误码。