tencentcloud-sdk-teo 1.0.363 → 3.0.380
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/v20220106/models.rb +139 -15
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f120104cfd9a845254e5bdb243677fd33e61ca
|
4
|
+
data.tar.gz: 503f88f887d9a08b003e46a92bff7cf9b906e683
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b87173a9167fcfb1abd55086a30715531f6153460de835b1f989daec29238fa16124c26b65ab7d8ff725be6933d6e2a92295a64618aa8ab24aecd072dfde9feb
|
7
|
+
data.tar.gz: 076fd61c069a94385488eed2e2e12743b0efeb3aee4de5556dbbbe12b8d0e12579f6e502a95cf4738d79e83609ea9d9dc94a3323c246ac4c1f0ef3d016571cd1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.380
|
data/lib/v20220106/models.rb
CHANGED
@@ -534,7 +534,7 @@ module TencentCloud
|
|
534
534
|
end
|
535
535
|
end
|
536
536
|
|
537
|
-
# Bot
|
537
|
+
# Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
|
538
538
|
class BotManagedRule < TencentCloud::Common::AbstractModel
|
539
539
|
# @param ManagedIds: 想开启的规则id
|
540
540
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1168,15 +1168,20 @@ module TencentCloud
|
|
1168
1168
|
# on:开启
|
1169
1169
|
# off:关闭
|
1170
1170
|
# @type Switch: String
|
1171
|
+
# @param Algorithms: 支持的压缩算法列表
|
1172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1173
|
+
# @type Algorithms: Array
|
1171
1174
|
|
1172
|
-
attr_accessor :Switch
|
1175
|
+
attr_accessor :Switch, :Algorithms
|
1173
1176
|
|
1174
|
-
def initialize(switch=nil)
|
1177
|
+
def initialize(switch=nil, algorithms=nil)
|
1175
1178
|
@Switch = switch
|
1179
|
+
@Algorithms = algorithms
|
1176
1180
|
end
|
1177
1181
|
|
1178
1182
|
def deserialize(params)
|
1179
1183
|
@Switch = params['Switch']
|
1184
|
+
@Algorithms = params['Algorithms']
|
1180
1185
|
end
|
1181
1186
|
end
|
1182
1187
|
|
@@ -2170,7 +2175,7 @@ module TencentCloud
|
|
2170
2175
|
|
2171
2176
|
# DDoS地域封禁
|
2172
2177
|
class DDoSGeoIp < TencentCloud::Common::AbstractModel
|
2173
|
-
# @param RegionId:
|
2178
|
+
# @param RegionId: 地域信息,ID参考接口DescribeSecurityPolicyRegions
|
2174
2179
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2175
2180
|
# @type RegionId: Array
|
2176
2181
|
# @param Switch: 区域封禁清空标识
|
@@ -6321,12 +6326,15 @@ module TencentCloud
|
|
6321
6326
|
# @param Tags: 资源标签
|
6322
6327
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6323
6328
|
# @type Tags: Array
|
6329
|
+
# @param Resources: 计费资源
|
6330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6331
|
+
# @type Resources: Array
|
6324
6332
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6325
6333
|
# @type RequestId: String
|
6326
6334
|
|
6327
|
-
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :VanityNameServers, :VanityNameServersIps, :CnameSpeedUp, :CnameStatus, :Tags, :RequestId
|
6335
|
+
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :VanityNameServers, :VanityNameServersIps, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :RequestId
|
6328
6336
|
|
6329
|
-
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, vanitynameservers=nil, vanitynameserversips=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, requestid=nil)
|
6337
|
+
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, vanitynameservers=nil, vanitynameserversips=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, requestid=nil)
|
6330
6338
|
@Id = id
|
6331
6339
|
@Name = name
|
6332
6340
|
@OriginalNameServers = originalnameservers
|
@@ -6341,6 +6349,7 @@ module TencentCloud
|
|
6341
6349
|
@CnameSpeedUp = cnamespeedup
|
6342
6350
|
@CnameStatus = cnamestatus
|
6343
6351
|
@Tags = tags
|
6352
|
+
@Resources = resources
|
6344
6353
|
@RequestId = requestid
|
6345
6354
|
end
|
6346
6355
|
|
@@ -6376,6 +6385,14 @@ module TencentCloud
|
|
6376
6385
|
@Tags << tag_tmp
|
6377
6386
|
end
|
6378
6387
|
end
|
6388
|
+
unless params['Resources'].nil?
|
6389
|
+
@Resources = []
|
6390
|
+
params['Resources'].each do |i|
|
6391
|
+
resource_tmp = Resource.new
|
6392
|
+
resource_tmp.deserialize(i)
|
6393
|
+
@Resources << resource_tmp
|
6394
|
+
end
|
6395
|
+
end
|
6379
6396
|
@RequestId = params['RequestId']
|
6380
6397
|
end
|
6381
6398
|
end
|
@@ -8862,7 +8879,10 @@ module TencentCloud
|
|
8862
8879
|
# @type Area: Array
|
8863
8880
|
# @param Weight: 当源站配置类型Type=weight时,表示权重
|
8864
8881
|
# 取值范围为[1-100]
|
8865
|
-
# 源站组内多个源站权重总和应为100
|
8882
|
+
# 源站组内多个源站权重总和应为100。
|
8883
|
+
# 当源站配置类型Type=proto,表示权重
|
8884
|
+
# 取值范围为[1-100]
|
8885
|
+
# 源站组内Proto相同的多个源站权重总和应为100。
|
8866
8886
|
# @type Weight: Integer
|
8867
8887
|
# @param Port: 端口
|
8868
8888
|
# @type Port: Integer
|
@@ -8876,10 +8896,13 @@ module TencentCloud
|
|
8876
8896
|
# 当源站类型Private=true时有效
|
8877
8897
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8878
8898
|
# @type PrivateParameter: Array
|
8899
|
+
# @param Proto: 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
|
8900
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8901
|
+
# @type Proto: String
|
8879
8902
|
|
8880
|
-
attr_accessor :Record, :Area, :Weight, :Port, :RecordId, :Private, :PrivateParameter
|
8903
|
+
attr_accessor :Record, :Area, :Weight, :Port, :RecordId, :Private, :PrivateParameter, :Proto
|
8881
8904
|
|
8882
|
-
def initialize(record=nil, area=nil, weight=nil, port=nil, recordid=nil, private=nil, privateparameter=nil)
|
8905
|
+
def initialize(record=nil, area=nil, weight=nil, port=nil, recordid=nil, private=nil, privateparameter=nil, proto=nil)
|
8883
8906
|
@Record = record
|
8884
8907
|
@Area = area
|
8885
8908
|
@Weight = weight
|
@@ -8887,6 +8910,7 @@ module TencentCloud
|
|
8887
8910
|
@RecordId = recordid
|
8888
8911
|
@Private = private
|
8889
8912
|
@PrivateParameter = privateparameter
|
8913
|
+
@Proto = proto
|
8890
8914
|
end
|
8891
8915
|
|
8892
8916
|
def deserialize(params)
|
@@ -8904,6 +8928,7 @@ module TencentCloud
|
|
8904
8928
|
@PrivateParameter << originrecordprivateparameter_tmp
|
8905
8929
|
end
|
8906
8930
|
end
|
8931
|
+
@Proto = params['Proto']
|
8907
8932
|
end
|
8908
8933
|
end
|
8909
8934
|
|
@@ -9295,6 +9320,66 @@ module TencentCloud
|
|
9295
9320
|
end
|
9296
9321
|
end
|
9297
9322
|
|
9323
|
+
# 计费资源
|
9324
|
+
class Resource < TencentCloud::Common::AbstractModel
|
9325
|
+
# @param Id: 资源 ID
|
9326
|
+
# @type Id: String
|
9327
|
+
# @param PayMode: 付费模式
|
9328
|
+
# 0 为后付费
|
9329
|
+
# 1 为预付费
|
9330
|
+
# @type PayMode: Integer
|
9331
|
+
# @param CreateTime: 创建时间
|
9332
|
+
# @type CreateTime: String
|
9333
|
+
# @param EnableTime: 生效时间
|
9334
|
+
# @type EnableTime: String
|
9335
|
+
# @param ExpireTime: 失效时间
|
9336
|
+
# @type ExpireTime: String
|
9337
|
+
# @param Status: 套餐状态
|
9338
|
+
# @type Status: String
|
9339
|
+
# @param Sv: 询价参数
|
9340
|
+
# @type Sv: Array
|
9341
|
+
# @param AutoRenewFlag: 是否自动续费
|
9342
|
+
# 0 表示默认状态
|
9343
|
+
# 1 表示自动续费
|
9344
|
+
# 2 表示不自动续费
|
9345
|
+
# @type AutoRenewFlag: Integer
|
9346
|
+
# @param PlanId: 套餐关联资源ID
|
9347
|
+
# @type PlanId: String
|
9348
|
+
|
9349
|
+
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId
|
9350
|
+
|
9351
|
+
def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil)
|
9352
|
+
@Id = id
|
9353
|
+
@PayMode = paymode
|
9354
|
+
@CreateTime = createtime
|
9355
|
+
@EnableTime = enabletime
|
9356
|
+
@ExpireTime = expiretime
|
9357
|
+
@Status = status
|
9358
|
+
@Sv = sv
|
9359
|
+
@AutoRenewFlag = autorenewflag
|
9360
|
+
@PlanId = planid
|
9361
|
+
end
|
9362
|
+
|
9363
|
+
def deserialize(params)
|
9364
|
+
@Id = params['Id']
|
9365
|
+
@PayMode = params['PayMode']
|
9366
|
+
@CreateTime = params['CreateTime']
|
9367
|
+
@EnableTime = params['EnableTime']
|
9368
|
+
@ExpireTime = params['ExpireTime']
|
9369
|
+
@Status = params['Status']
|
9370
|
+
unless params['Sv'].nil?
|
9371
|
+
@Sv = []
|
9372
|
+
params['Sv'].each do |i|
|
9373
|
+
sv_tmp = Sv.new
|
9374
|
+
sv_tmp.deserialize(i)
|
9375
|
+
@Sv << sv_tmp
|
9376
|
+
end
|
9377
|
+
end
|
9378
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
9379
|
+
@PlanId = params['PlanId']
|
9380
|
+
end
|
9381
|
+
end
|
9382
|
+
|
9298
9383
|
# ScanDnsRecords请求参数结构体
|
9299
9384
|
class ScanDnsRecordsRequest < TencentCloud::Common::AbstractModel
|
9300
9385
|
# @param ZoneId: 站点 ID
|
@@ -9632,6 +9717,26 @@ module TencentCloud
|
|
9632
9717
|
end
|
9633
9718
|
end
|
9634
9719
|
|
9720
|
+
# 询价参数
|
9721
|
+
class Sv < TencentCloud::Common::AbstractModel
|
9722
|
+
# @param Key: 询价参数 key
|
9723
|
+
# @type Key: String
|
9724
|
+
# @param Value: 询价参数 value
|
9725
|
+
# @type Value: String
|
9726
|
+
|
9727
|
+
attr_accessor :Key, :Value
|
9728
|
+
|
9729
|
+
def initialize(key=nil, value=nil)
|
9730
|
+
@Key = key
|
9731
|
+
@Value = value
|
9732
|
+
end
|
9733
|
+
|
9734
|
+
def deserialize(params)
|
9735
|
+
@Key = params['Key']
|
9736
|
+
@Value = params['Value']
|
9737
|
+
end
|
9738
|
+
end
|
9739
|
+
|
9635
9740
|
# 功能总开关
|
9636
9741
|
class SwitchConfig < TencentCloud::Common::AbstractModel
|
9637
9742
|
# @param WebSwitch: Web类型的安全总开关:Web基础防护,自定义规则,速率限制
|
@@ -9967,7 +10072,7 @@ module TencentCloud
|
|
9967
10072
|
# @type Level: String
|
9968
10073
|
# @param Mode: 模式 block-阻断;observe-观察模式;close-关闭
|
9969
10074
|
# @type Mode: String
|
9970
|
-
# @param WafRules:
|
10075
|
+
# @param WafRules: 托管规则黑白名单
|
9971
10076
|
# @type WafRules: :class:`Tencentcloud::Teo.v20220106.models.WafRule`
|
9972
10077
|
# @param AiRule: AI规则引擎防护
|
9973
10078
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -10000,11 +10105,11 @@ module TencentCloud
|
|
10000
10105
|
|
10001
10106
|
# Waf规则
|
10002
10107
|
class WafRule < TencentCloud::Common::AbstractModel
|
10003
|
-
# @param BlockRuleIDs:
|
10108
|
+
# @param BlockRuleIDs: 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
|
10004
10109
|
# @type BlockRuleIDs: Array
|
10005
|
-
# @param Switch:
|
10110
|
+
# @param Switch: 托管规则 开关
|
10006
10111
|
# @type Switch: String
|
10007
|
-
# @param ObserveRuleIDs:
|
10112
|
+
# @param ObserveRuleIDs: 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
|
10008
10113
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10009
10114
|
# @type ObserveRuleIDs: Array
|
10010
10115
|
|
@@ -10279,10 +10384,18 @@ module TencentCloud
|
|
10279
10384
|
# @param Tags: 资源标签
|
10280
10385
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10281
10386
|
# @type Tags: Array
|
10387
|
+
# @param Resources: 计费资源
|
10388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10389
|
+
# @type Resources: Array
|
10390
|
+
# @param CnameSpeedUp: 是否开启cname加速
|
10391
|
+
# - enabled 开启
|
10392
|
+
# - disabled 关闭
|
10393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10394
|
+
# @type CnameSpeedUp: String
|
10282
10395
|
|
10283
|
-
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :CnameStatus, :Tags
|
10396
|
+
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :CnameStatus, :Tags, :Resources, :CnameSpeedUp
|
10284
10397
|
|
10285
|
-
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, cnamestatus=nil, tags=nil)
|
10398
|
+
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, cnamestatus=nil, tags=nil, resources=nil, cnamespeedup=nil)
|
10286
10399
|
@Id = id
|
10287
10400
|
@Name = name
|
10288
10401
|
@OriginalNameServers = originalnameservers
|
@@ -10294,6 +10407,8 @@ module TencentCloud
|
|
10294
10407
|
@ModifiedOn = modifiedon
|
10295
10408
|
@CnameStatus = cnamestatus
|
10296
10409
|
@Tags = tags
|
10410
|
+
@Resources = resources
|
10411
|
+
@CnameSpeedUp = cnamespeedup
|
10297
10412
|
end
|
10298
10413
|
|
10299
10414
|
def deserialize(params)
|
@@ -10315,6 +10430,15 @@ module TencentCloud
|
|
10315
10430
|
@Tags << tag_tmp
|
10316
10431
|
end
|
10317
10432
|
end
|
10433
|
+
unless params['Resources'].nil?
|
10434
|
+
@Resources = []
|
10435
|
+
params['Resources'].each do |i|
|
10436
|
+
resource_tmp = Resource.new
|
10437
|
+
resource_tmp.deserialize(i)
|
10438
|
+
@Resources << resource_tmp
|
10439
|
+
end
|
10440
|
+
end
|
10441
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
10318
10442
|
end
|
10319
10443
|
end
|
10320
10444
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.380
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
|
-
- lib/tencentcloud-sdk-teo.rb
|
38
|
-
- lib/v20220106/client.rb
|
39
36
|
- lib/v20220106/models.rb
|
37
|
+
- lib/v20220106/client.rb
|
38
|
+
- lib/tencentcloud-sdk-teo.rb
|
39
|
+
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - TEO
|