查询健康检查信息

最近更新时间:2018-01-05 11:46:46

DescribeHealthChecks(描述健康检查)

Request Parameters(请求参数)

HealthCheckId.N

  • 健康检查的ID
  • 类型: String
  • 是否可缺省: 是
  • 缺省值: 描述region下所有的健康检查

Filter.N

  • listener-id, 监听器的ID
  • 类型: Filter list
  • 是否可缺省: 是

Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

HealthCheckSet

Examples(举例)

Sample Request(请求)
https://slb.region.api.ksyun.com/?Action=DescribeHealthChecks
&Version=2016-03-04
&Filter.1.Name=listener-id
&Filter.1.Value.1=8017e46e-5ed5-4d69-8a95-264f4fc4cb0c
Sample Response(返回)
<DescribeHealthChecksResponse xmlns="http://slb.ksyun.com/doc/2016-03-04/">
    <HealthCheckSet>
        <Item>
            <Interval>5</Interval>
            <UnhealthyThreshold>4</UnhealthyThreshold>
            <HealthCheckState>start</HealthCheckState>
            <HealthCheckId>ccb27759-be8b-4594-9a46-5fe8d73e4d4c</HealthCheckId>
            <HealthyThreshold>5</HealthyThreshold>
            <Timeout>4</Timeout>
            <ListenerId>8017e46e-5ed5-4d69-8a95-264f4fc4cb0c</ListenerId>
        </Item>
    </HealthCheckSet>
    <RequestId>d7f63b6e-3c9e-4663-a2be-c441ef693172</RequestId>
</DescribeHealthChecksResponse>

金山云,开启您的云计算之旅

免费注册