tencentcloud-sdk-teo 3.0.1020 → 3.0.1021

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff9e0898b54ff00754f6e19c2004d86522ef9afb
4
- data.tar.gz: 27e6f73c0e2941a18a8b9123e315791a24490db9
3
+ metadata.gz: 80e4acd81439ff7a4dcc21216270e86dd60922a8
4
+ data.tar.gz: 3799b3e071b9bebc733763ac040b16cab6d455be
5
5
  SHA512:
6
- metadata.gz: 0db284e4e374aa0cc3d09e1950e184c8fae0e9ce9a8b540a7513b0d19dd9e39604c72538f6a233bd34eefee94f3e7b5f4379b34f44865e2f6552640e2e54a0c4
7
- data.tar.gz: 5da8709562581a521676f146437dd0fd29b8312e4c183c3b267786ddb726a91a284ef5b4fa1ad9c86b7ed475d8ec5cc8248cc49048d096050c489538b1419a69
6
+ metadata.gz: 1efe7df7060b2c205df5ade3baed0c61192d3f9026b17ed019799cec45d3791a107b19b36a35e40ddcff4e04e1aad26faf4051114a66902f1aed7216e4e2c839
7
+ data.tar.gz: 5a511a4b04451b0c8771d476cee1856b7336549be66b4cf6bbc8dd277a0df07c325d9c461e110a19a896f23189581c3493e882c6323e85f4b22b4e4e9418dd59
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1020
1
+ 3.0.1021
@@ -636,7 +636,8 @@ module TencentCloud
636
636
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
637
637
  end
638
638
 
639
- # 本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [CreateL7AccRules](https://cloud.tencent.com/document/product/1552/115822)。
639
+ # 本接口为旧版本创建规则引擎接口,EdgeOne 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本创建七层加速规则接口详情请参考 [CreateL7AccRules](https://cloud.tencent.com/document/product/1552/115822)。
640
+ # <p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
640
641
 
641
642
  # @param request: Request instance for CreateRule.
642
643
  # @type request: :class:`Tencentcloud::teo::V20220901::CreateRuleRequest`
@@ -1095,7 +1096,8 @@ module TencentCloud
1095
1096
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1096
1097
  end
1097
1098
 
1098
- # 本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
1099
+ # 本接口为旧版本删除规则引擎接口,EdgeOne 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本删除七层加速规则接口详情请参考 [DeleteL7AccRules](https://cloud.tencent.com/document/product/1552/115821)。
1100
+ # <p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
1099
1101
 
1100
1102
  # @param request: Request instance for DeleteRules.
1101
1103
  # @type request: :class:`Tencentcloud::teo::V20220901::DeleteRulesRequest`
@@ -2055,7 +2057,8 @@ module TencentCloud
2055
2057
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2056
2058
  end
2057
2059
 
2058
- # 本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820)。
2060
+ # 本接口为旧版本查询规则引擎规则接口,EdgeOne 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本查询七层加速规则接口详情请参考 [DescribeL7AccRules](https://cloud.tencent.com/document/product/1552/115820)。
2061
+ # <p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
2059
2062
 
2060
2063
  # @param request: Request instance for DescribeRules.
2061
2064
  # @type request: :class:`Tencentcloud::teo::V20220901::DescribeRulesRequest`
@@ -3200,7 +3203,8 @@ module TencentCloud
3200
3203
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3201
3204
  end
3202
3205
 
3203
- # 本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [ModifyL7AccRule](https://cloud.tencent.com/document/product/1552/115818)。
3206
+ # 本接口为旧版本修改规则引擎接口,EdgeOne 2025 年 1 月 21 日已对规则引擎相关接口全面升级,新版本修改七层加速规则接口详情请参考 [ModifyL7AccRule](https://cloud.tencent.com/document/product/1552/115818)。
3207
+ # <p style="color: red;">注意:自 2025 年 1 月 21 日起,旧版接口停止更新迭代,后续新增功能将仅在新版接口中提供,旧版接口支持的原有能力将不受影响。为避免在使用旧版接口时出现数据字段冲突,建议您尽早迁移到新版规则引擎接口。</p>
3204
3208
 
3205
3209
  # @param request: Request instance for ModifyRule.
3206
3210
  # @type request: :class:`Tencentcloud::teo::V20220901::ModifyRuleRequest`
@@ -8900,6 +8900,95 @@ module TencentCloud
8900
8900
  end
8901
8901
  end
8902
8902
 
8903
+ # 检测长度限制配置条件。
8904
+ class DetectLengthLimitCondition < TencentCloud::Common::AbstractModel
8905
+ # @param Name: 匹配条件的参数名称,取值有:
8906
+ # <li>body_depth:请求正文包部分的检测深度。</li>
8907
+ # @type Name: String
8908
+ # @param Values: 匹配条件的参数值,取值与 Name 成对使用。
8909
+ # 当 Name 值为 body_depth 时, Values 只支持传入单个值,取值有:
8910
+ # <li>8KB;</li>
8911
+ # <li>64KB;</li>
8912
+ # <li>128KB。</li>
8913
+ # @type Values: Array
8914
+
8915
+ attr_accessor :Name, :Values
8916
+
8917
+ def initialize(name=nil, values=nil)
8918
+ @Name = name
8919
+ @Values = values
8920
+ end
8921
+
8922
+ def deserialize(params)
8923
+ @Name = params['Name']
8924
+ @Values = params['Values']
8925
+ end
8926
+ end
8927
+
8928
+ # 检测长度限制
8929
+ class DetectLengthLimitConfig < TencentCloud::Common::AbstractModel
8930
+ # @param DetectLengthLimitRules: 检测长度限制的规则列表。
8931
+ # @type DetectLengthLimitRules: Array
8932
+
8933
+ attr_accessor :DetectLengthLimitRules
8934
+
8935
+ def initialize(detectlengthlimitrules=nil)
8936
+ @DetectLengthLimitRules = detectlengthlimitrules
8937
+ end
8938
+
8939
+ def deserialize(params)
8940
+ unless params['DetectLengthLimitRules'].nil?
8941
+ @DetectLengthLimitRules = []
8942
+ params['DetectLengthLimitRules'].each do |i|
8943
+ detectlengthlimitrule_tmp = DetectLengthLimitRule.new
8944
+ detectlengthlimitrule_tmp.deserialize(i)
8945
+ @DetectLengthLimitRules << detectlengthlimitrule_tmp
8946
+ end
8947
+ end
8948
+ end
8949
+ end
8950
+
8951
+ # 检测长度限制规则详情
8952
+ class DetectLengthLimitRule < TencentCloud::Common::AbstractModel
8953
+ # @param RuleId: 规则Id。仅出参使用。
8954
+ # @type RuleId: Integer
8955
+ # @param RuleName: 规则名称。仅出参使用。
8956
+ # @type RuleName: String
8957
+ # @param Description: 规则描述,仅出参使用。
8958
+ # @type Description: String
8959
+ # @param Conditions: 规则配置条件。仅出参使用。
8960
+ # @type Conditions: Array
8961
+ # @param Action: 处置方式,取值有:
8962
+ # <li>skip:当请求正文数据超过 Conditions 出参中 body_depth 设置的检测深度时,跳过所有请求正文内容的检测;</li>
8963
+ # <li>scan:仅检测 Conditions 出参中 body_depth 设置的检测深度,对超出部分的请求正文内容直接截断处理,超出部分的请求正文不会经过安全检测。</li>仅出参使用。
8964
+ # @type Action: String
8965
+
8966
+ attr_accessor :RuleId, :RuleName, :Description, :Conditions, :Action
8967
+
8968
+ def initialize(ruleid=nil, rulename=nil, description=nil, conditions=nil, action=nil)
8969
+ @RuleId = ruleid
8970
+ @RuleName = rulename
8971
+ @Description = description
8972
+ @Conditions = conditions
8973
+ @Action = action
8974
+ end
8975
+
8976
+ def deserialize(params)
8977
+ @RuleId = params['RuleId']
8978
+ @RuleName = params['RuleName']
8979
+ @Description = params['Description']
8980
+ unless params['Conditions'].nil?
8981
+ @Conditions = []
8982
+ params['Conditions'].each do |i|
8983
+ detectlengthlimitcondition_tmp = DetectLengthLimitCondition.new
8984
+ detectlengthlimitcondition_tmp.deserialize(i)
8985
+ @Conditions << detectlengthlimitcondition_tmp
8986
+ end
8987
+ end
8988
+ @Action = params['Action']
8989
+ end
8990
+ end
8991
+
8903
8992
  # 最新IP白名单列表相比于当前IP白名单列表的区别
8904
8993
  class DiffIPWhitelist < TencentCloud::Common::AbstractModel
8905
8994
  # @param LatestIPWhitelist: 最新IP白名单列表。
@@ -15935,7 +16024,7 @@ module TencentCloud
15935
16024
  end
15936
16025
  end
15937
16026
 
15938
- # 安全配置
16027
+ # Web安全配置
15939
16028
  class SecurityConfig < TencentCloud::Common::AbstractModel
15940
16029
  # @param WafConfig: 托管规则。如果入参为空或不填,默认使用历史配置。
15941
16030
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -15967,10 +16056,13 @@ module TencentCloud
15967
16056
  # @param SlowPostConfig: 慢速攻击配置。如果入参为空或不填,默认使用历史配置。
15968
16057
  # 注意:此字段可能返回 null,表示取不到有效值。
15969
16058
  # @type SlowPostConfig: :class:`Tencentcloud::Teo.v20220901.models.SlowPostConfig`
16059
+ # @param DetectLengthLimitConfig: 检测长度限制配置。仅出参使用。
16060
+ # 注意:此字段可能返回 null,表示取不到有效值。
16061
+ # @type DetectLengthLimitConfig: :class:`Tencentcloud::Teo.v20220901.models.DetectLengthLimitConfig`
15970
16062
 
15971
- attr_accessor :WafConfig, :RateLimitConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig, :ExceptConfig, :DropPageConfig, :TemplateConfig, :SlowPostConfig
16063
+ attr_accessor :WafConfig, :RateLimitConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig, :ExceptConfig, :DropPageConfig, :TemplateConfig, :SlowPostConfig, :DetectLengthLimitConfig
15972
16064
 
15973
- def initialize(wafconfig=nil, ratelimitconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil, exceptconfig=nil, droppageconfig=nil, templateconfig=nil, slowpostconfig=nil)
16065
+ def initialize(wafconfig=nil, ratelimitconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil, exceptconfig=nil, droppageconfig=nil, templateconfig=nil, slowpostconfig=nil, detectlengthlimitconfig=nil)
15974
16066
  @WafConfig = wafconfig
15975
16067
  @RateLimitConfig = ratelimitconfig
15976
16068
  @AclConfig = aclconfig
@@ -15981,6 +16073,7 @@ module TencentCloud
15981
16073
  @DropPageConfig = droppageconfig
15982
16074
  @TemplateConfig = templateconfig
15983
16075
  @SlowPostConfig = slowpostconfig
16076
+ @DetectLengthLimitConfig = detectlengthlimitconfig
15984
16077
  end
15985
16078
 
15986
16079
  def deserialize(params)
@@ -16024,6 +16117,10 @@ module TencentCloud
16024
16117
  @SlowPostConfig = SlowPostConfig.new
16025
16118
  @SlowPostConfig.deserialize(params['SlowPostConfig'])
16026
16119
  end
16120
+ unless params['DetectLengthLimitConfig'].nil?
16121
+ @DetectLengthLimitConfig = DetectLengthLimitConfig.new
16122
+ @DetectLengthLimitConfig.deserialize(params['DetectLengthLimitConfig'])
16123
+ end
16027
16124
  end
16028
16125
  end
16029
16126
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1020
4
+ version: 3.0.1021
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud