全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

查询规则

最近更新时间:2020-08-07 12:53:37

DescribeRules(查询规则)

Request Parameters(请求参数)

RuleId.N

  • 规则的ID
  • 类型: String
  • 是否可缺省: 是
  • 缺省值: 描述region下所有的规则

Filter.N

  • host-header-id, 域名的ID
  • 类型: Filter list
  • 是否可缺省: 是

Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

RuleSet

  • 规则信息的列表
  • 类型: Rule List

Examples(举例)

Sample Request(请求)
http://slb.region.api.ksyun.com/?Action=DescribeRules&Version=2016-03-04&RuleId.1=67306ea9-24a6-47cc-9826-6fb7f7936d9b
Sample Response(返回)
<DescribeRulesResponse xmlns="http://slb.ksyun.com/doc/2017-12-10/">
    <RequestId>7fb61447-991a-4a2c-a63e-ab6c8fa52f5d</RequestId>
    <RuleSet>
        <Rule>
            <CreateTime>2020-08-07 12:27:31</CreateTime>
            <HealthCheck>
                <HealthCheckState>stop</HealthCheckState>
                <Interval>5</Interval>
                <UnhealthyThreshold>3</UnhealthyThreshold>
                <HealthyThreshold>3</HealthyThreshold>
                <Timeout>5</Timeout>
                <UrlPath>/</UrlPath>
            </HealthCheck>
            <RuleId>67306ea9-24a6-47cc-9826-6fb7f7936d9b</RuleId>
            <Method>LeastConnections</Method>
            <ListenerSync>off</ListenerSync>
            <BackendServerGroupId>50b83517-cf9a-4717-8807-8373cde95136</BackendServerGroupId>
            <Path>/test</Path>
            <HostHeaderId>0655e7a4-6bfc-4870-8e7c-a8e36a88c37a</HostHeaderId>
            <Session>
                <SessionState>stop</SessionState>
                <CookieName>KLBRSID</CookieName>
                <CookieType>ImplantCookie</CookieType>
                <SessionPersistencePeriod>3600</SessionPersistencePeriod>
            </Session>
        </Rule>
    </RuleSet>
</DescribeRulesResponse>
文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈