tencentcloud-sdk-teo 3.0.1024 → 3.0.1026
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +24 -0
- data/lib/v20220901/models.rb +37 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4862ddb73a2094ff7d3932b3e476d6bbeb7fd957
|
4
|
+
data.tar.gz: 4a4e2446d4d9da0d511b0828f55197cf784332e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7476878a946b0eb80df52324a701673c16f800aadec6f7e8a8dd7afa92551ca67bba0954e9c3f14d69325190350fa2dd7bf42c2ffea3877fffb05c22c33585a6
|
7
|
+
data.tar.gz: 1a281d9bf32e12225bbe7e66f6403dd345f17ee8953e01b85d57955bede988e01b725705aa69cb5ea5afb00605d2f2803a15168cc2f4ef4ef64b351aeac0ceaa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1026
|
data/lib/v20220901/client.rb
CHANGED
@@ -3107,6 +3107,30 @@ module TencentCloud
|
|
3107
3107
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3108
3108
|
end
|
3109
3109
|
|
3110
|
+
# 本接口用于修改[规则引擎](https://cloud.tencent.com/document/product/1552/70901)中规则列表的优先级,本接口需要传入站点 ID 下完整的规则 ID 列表,规则 ID 列表可以通过[查询七层加速规则](https://cloud.tencent.com/document/product/1552/115820)接口获取,最终优先级顺序将调整成规则 ID 列表的顺序,从前往后执行。
|
3111
|
+
|
3112
|
+
# @param request: Request instance for ModifyL7AccRulePriority.
|
3113
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyL7AccRulePriorityRequest`
|
3114
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyL7AccRulePriorityResponse`
|
3115
|
+
def ModifyL7AccRulePriority(request)
|
3116
|
+
body = send_request('ModifyL7AccRulePriority', request.serialize)
|
3117
|
+
response = JSON.parse(body)
|
3118
|
+
if response['Response'].key?('Error') == false
|
3119
|
+
model = ModifyL7AccRulePriorityResponse.new
|
3120
|
+
model.deserialize(response['Response'])
|
3121
|
+
model
|
3122
|
+
else
|
3123
|
+
code = response['Response']['Error']['Code']
|
3124
|
+
message = response['Response']['Error']['Message']
|
3125
|
+
reqid = response['Response']['RequestId']
|
3126
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3127
|
+
end
|
3128
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3129
|
+
raise e
|
3130
|
+
rescue StandardError => e
|
3131
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3132
|
+
end
|
3133
|
+
|
3110
3134
|
# 本接口用于修改[站点加速](https://cloud.tencent.com/document/product/1552/96193)全局配置。
|
3111
3135
|
|
3112
3136
|
# @param request: Request instance for ModifyL7AccSetting.
|
data/lib/v20220901/models.rb
CHANGED
@@ -9038,7 +9038,7 @@ module TencentCloud
|
|
9038
9038
|
# @type Name: String
|
9039
9039
|
# @param Values: 匹配条件的参数值,取值与 Name 成对使用。
|
9040
9040
|
# 当 Name 值为 body_depth 时, Values 只支持传入单个值,取值有:
|
9041
|
-
# <li>
|
9041
|
+
# <li>10KB;</li>
|
9042
9042
|
# <li>64KB;</li>
|
9043
9043
|
# <li>128KB。</li>
|
9044
9044
|
# @type Values: Array
|
@@ -12780,6 +12780,42 @@ module TencentCloud
|
|
12780
12780
|
end
|
12781
12781
|
end
|
12782
12782
|
|
12783
|
+
# ModifyL7AccRulePriority请求参数结构体
|
12784
|
+
class ModifyL7AccRulePriorityRequest < TencentCloud::Common::AbstractModel
|
12785
|
+
# @param ZoneId: 站点 ID。
|
12786
|
+
# @type ZoneId: String
|
12787
|
+
# @param RuleIds: 站点 ID 下完整的规则 ID 列表,规则 ID 列表可以通过 [查询七层加速规则](https://cloud.tencent.com/document/product/1552/115820) 获取,最终优先级顺序将调整成规则 ID 列表的顺序,从前往后依次执行。
|
12788
|
+
# @type RuleIds: Array
|
12789
|
+
|
12790
|
+
attr_accessor :ZoneId, :RuleIds
|
12791
|
+
|
12792
|
+
def initialize(zoneid=nil, ruleids=nil)
|
12793
|
+
@ZoneId = zoneid
|
12794
|
+
@RuleIds = ruleids
|
12795
|
+
end
|
12796
|
+
|
12797
|
+
def deserialize(params)
|
12798
|
+
@ZoneId = params['ZoneId']
|
12799
|
+
@RuleIds = params['RuleIds']
|
12800
|
+
end
|
12801
|
+
end
|
12802
|
+
|
12803
|
+
# ModifyL7AccRulePriority返回参数结构体
|
12804
|
+
class ModifyL7AccRulePriorityResponse < TencentCloud::Common::AbstractModel
|
12805
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12806
|
+
# @type RequestId: String
|
12807
|
+
|
12808
|
+
attr_accessor :RequestId
|
12809
|
+
|
12810
|
+
def initialize(requestid=nil)
|
12811
|
+
@RequestId = requestid
|
12812
|
+
end
|
12813
|
+
|
12814
|
+
def deserialize(params)
|
12815
|
+
@RequestId = params['RequestId']
|
12816
|
+
end
|
12817
|
+
end
|
12818
|
+
|
12783
12819
|
# ModifyL7AccRule请求参数结构体
|
12784
12820
|
class ModifyL7AccRuleRequest < TencentCloud::Common::AbstractModel
|
12785
12821
|
# @param ZoneId: 站点 ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1026
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|