tencentcloud-sdk-teo 3.0.446 → 3.0.447
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +2 -2
- data/lib/v20220901/models.rb +118 -51
- 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: de41f1979e45acc270126406c096ac263b850736
|
4
|
+
data.tar.gz: 03e3a801ad3ce43cd3176da211014d997385c6d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8287d1f164f83693d4d8c4db80ee6eca0f8f6548a04bc11e33bb0f95b257e44498ec0cefd982c9b2554fef42bd87b86cbbddc7bf133ecb07b9fef5ebc5acab46
|
7
|
+
data.tar.gz: 96ccad7034a86c6f28432ad9ebe51ba7e939a40bdb74dfb2a98d70ef47f8b30bcc3649d6d236b7264aaf1b50e04f7a0971dd5241f408f78f71ef9f46c768225e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.447
|
data/lib/v20220901/client.rb
CHANGED
@@ -1661,7 +1661,7 @@ module TencentCloud
|
|
1661
1661
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
1662
|
end
|
1663
1663
|
|
1664
|
-
#
|
1664
|
+
# 查询安全防护配置详情。请求参数中ZoneId+Entity或TemplateId至少填一项。
|
1665
1665
|
|
1666
1666
|
# @param request: Request instance for DescribeSecurityPolicy.
|
1667
1667
|
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeSecurityPolicyRequest`
|
@@ -2813,7 +2813,7 @@ module TencentCloud
|
|
2813
2813
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2814
2814
|
end
|
2815
2815
|
|
2816
|
-
# 修改Web&Bot
|
2816
|
+
# 修改Web&Bot安全配置。
|
2817
2817
|
|
2818
2818
|
# @param request: Request instance for ModifySecurityPolicy.
|
2819
2819
|
# @type request: :class:`Tencentcloud::teo::V20220901::ModifySecurityPolicyRequest`
|
data/lib/v20220901/models.rb
CHANGED
@@ -2126,9 +2126,10 @@ module TencentCloud
|
|
2126
2126
|
# <li>purge_url:URL;</li>
|
2127
2127
|
# <li>purge_prefix:前缀;</li>
|
2128
2128
|
# <li>purge_host:Hostname;</li>
|
2129
|
-
# <li>purge_all
|
2129
|
+
# <li>purge_all:全部缓存;</li>
|
2130
|
+
# <li>purge_cache_tag:cache-tag刷新。</li>
|
2130
2131
|
# @type Type: String
|
2131
|
-
# @param Targets:
|
2132
|
+
# @param Targets: 要清除缓存的资源列表,每个元素格式依据Type而定:
|
2132
2133
|
# 1) Type = purge_host 时:
|
2133
2134
|
# 形如:www.example.com 或 foo.bar.example.com。
|
2134
2135
|
# 2) Type = purge_prefix 时:
|
@@ -2137,6 +2138,8 @@ module TencentCloud
|
|
2137
2138
|
# 形如:https://www.example.com/example.jpg。
|
2138
2139
|
# 4)Type = purge_all 时:
|
2139
2140
|
# Targets可为空,不需要填写。
|
2141
|
+
# 5)Type = purge_cache_tag 时:
|
2142
|
+
# 形如:tag1。
|
2140
2143
|
# @type Targets: Array
|
2141
2144
|
# @param EncodeUrl: 若有编码转换,仅清除编码转换后匹配的资源。
|
2142
2145
|
# 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
|
@@ -4255,36 +4258,40 @@ module TencentCloud
|
|
4255
4258
|
|
4256
4259
|
# DescribeBotManagedRules请求参数结构体
|
4257
4260
|
class DescribeBotManagedRulesRequest < TencentCloud::Common::AbstractModel
|
4258
|
-
# @param ZoneId: 站点Id。
|
4259
|
-
# @type ZoneId: String
|
4260
|
-
# @param Entity: 子域名。
|
4261
|
-
# @type Entity: String
|
4262
4261
|
# @param Offset: 分页查询偏移量。默认值:0。
|
4263
4262
|
# @type Offset: Integer
|
4264
4263
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
4265
4264
|
# @type Limit: Integer
|
4265
|
+
# @param ZoneId: 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
4266
|
+
# @type ZoneId: String
|
4267
|
+
# @param Entity: 子域名/应用名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
4268
|
+
# @type Entity: String
|
4266
4269
|
# @param RuleType: 规则类型,取值有:
|
4267
4270
|
# <li> idcid;</li>
|
4268
4271
|
# <li>sipbot;</li>
|
4269
4272
|
# <li>uabot。</li>传空或不传,即全部类型。
|
4270
4273
|
# @type RuleType: String
|
4274
|
+
# @param TemplateId: 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
4275
|
+
# @type TemplateId: String
|
4271
4276
|
|
4272
|
-
attr_accessor :
|
4277
|
+
attr_accessor :Offset, :Limit, :ZoneId, :Entity, :RuleType, :TemplateId
|
4273
4278
|
|
4274
|
-
def initialize(
|
4275
|
-
@ZoneId = zoneid
|
4276
|
-
@Entity = entity
|
4279
|
+
def initialize(offset=nil, limit=nil, zoneid=nil, entity=nil, ruletype=nil, templateid=nil)
|
4277
4280
|
@Offset = offset
|
4278
4281
|
@Limit = limit
|
4282
|
+
@ZoneId = zoneid
|
4283
|
+
@Entity = entity
|
4279
4284
|
@RuleType = ruletype
|
4285
|
+
@TemplateId = templateid
|
4280
4286
|
end
|
4281
4287
|
|
4282
4288
|
def deserialize(params)
|
4283
|
-
@ZoneId = params['ZoneId']
|
4284
|
-
@Entity = params['Entity']
|
4285
4289
|
@Offset = params['Offset']
|
4286
4290
|
@Limit = params['Limit']
|
4291
|
+
@ZoneId = params['ZoneId']
|
4292
|
+
@Entity = params['Entity']
|
4287
4293
|
@RuleType = params['RuleType']
|
4294
|
+
@TemplateId = params['TemplateId']
|
4288
4295
|
end
|
4289
4296
|
end
|
4290
4297
|
|
@@ -6030,7 +6037,7 @@ module TencentCloud
|
|
6030
6037
|
|
6031
6038
|
# DescribePurgeTasks请求参数结构体
|
6032
6039
|
class DescribePurgeTasksRequest < TencentCloud::Common::AbstractModel
|
6033
|
-
# @param ZoneId:
|
6040
|
+
# @param ZoneId: 字段已废弃,请使用Filters中的zone-id。
|
6034
6041
|
# @type ZoneId: String
|
6035
6042
|
# @param StartTime: 查询起始时间。
|
6036
6043
|
# @type StartTime: String
|
@@ -6040,8 +6047,7 @@ module TencentCloud
|
|
6040
6047
|
# @type Offset: Integer
|
6041
6048
|
# @param Limit: 分页查限制数目,默认值:20,最大值:1000。
|
6042
6049
|
# @type Limit: Integer
|
6043
|
-
# @param Filters: 过滤条件,Filters.Values的上限为20
|
6044
|
-
# <li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤。<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname</li>
|
6050
|
+
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-xxx,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤,domains形如:www.qq.com<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li>
|
6045
6051
|
# @type Filters: Array
|
6046
6052
|
|
6047
6053
|
attr_accessor :ZoneId, :StartTime, :EndTime, :Offset, :Limit, :Filters
|
@@ -6249,22 +6255,25 @@ module TencentCloud
|
|
6249
6255
|
|
6250
6256
|
# DescribeSecurityGroupManagedRules请求参数结构体
|
6251
6257
|
class DescribeSecurityGroupManagedRulesRequest < TencentCloud::Common::AbstractModel
|
6252
|
-
# @param ZoneId: 站点Id。
|
6258
|
+
# @param ZoneId: 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
6253
6259
|
# @type ZoneId: String
|
6254
|
-
# @param Entity:
|
6260
|
+
# @param Entity: 子域名/应用名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
6255
6261
|
# @type Entity: String
|
6256
6262
|
# @param Offset: 分页查询偏移量。默认值:0。
|
6257
6263
|
# @type Offset: Integer
|
6258
6264
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
6259
6265
|
# @type Limit: Integer
|
6266
|
+
# @param TemplateId: 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
6267
|
+
# @type TemplateId: String
|
6260
6268
|
|
6261
|
-
attr_accessor :ZoneId, :Entity, :Offset, :Limit
|
6269
|
+
attr_accessor :ZoneId, :Entity, :Offset, :Limit, :TemplateId
|
6262
6270
|
|
6263
|
-
def initialize(zoneid=nil, entity=nil, offset=nil, limit=nil)
|
6271
|
+
def initialize(zoneid=nil, entity=nil, offset=nil, limit=nil, templateid=nil)
|
6264
6272
|
@ZoneId = zoneid
|
6265
6273
|
@Entity = entity
|
6266
6274
|
@Offset = offset
|
6267
6275
|
@Limit = limit
|
6276
|
+
@TemplateId = templateid
|
6268
6277
|
end
|
6269
6278
|
|
6270
6279
|
def deserialize(params)
|
@@ -6272,6 +6281,7 @@ module TencentCloud
|
|
6272
6281
|
@Entity = params['Entity']
|
6273
6282
|
@Offset = params['Offset']
|
6274
6283
|
@Limit = params['Limit']
|
6284
|
+
@TemplateId = params['TemplateId']
|
6275
6285
|
end
|
6276
6286
|
end
|
6277
6287
|
|
@@ -6404,19 +6414,23 @@ module TencentCloud
|
|
6404
6414
|
class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
6405
6415
|
# @param ZoneId: 站点Id。
|
6406
6416
|
# @type ZoneId: String
|
6407
|
-
# @param Entity:
|
6417
|
+
# @param Entity: 子域名/应用名。当使用Entity时可不填写TemplateId,否则必须填写TemplateId。
|
6408
6418
|
# @type Entity: String
|
6419
|
+
# @param TemplateId: 模板策略id。当使用模板Id时可不填Entity,否则必须填写Entity。
|
6420
|
+
# @type TemplateId: String
|
6409
6421
|
|
6410
|
-
attr_accessor :ZoneId, :Entity
|
6422
|
+
attr_accessor :ZoneId, :Entity, :TemplateId
|
6411
6423
|
|
6412
|
-
def initialize(zoneid=nil, entity=nil)
|
6424
|
+
def initialize(zoneid=nil, entity=nil, templateid=nil)
|
6413
6425
|
@ZoneId = zoneid
|
6414
6426
|
@Entity = entity
|
6427
|
+
@TemplateId = templateid
|
6415
6428
|
end
|
6416
6429
|
|
6417
6430
|
def deserialize(params)
|
6418
6431
|
@ZoneId = params['ZoneId']
|
6419
6432
|
@Entity = params['Entity']
|
6433
|
+
@TemplateId = params['TemplateId']
|
6420
6434
|
end
|
6421
6435
|
end
|
6422
6436
|
|
@@ -6446,21 +6460,25 @@ module TencentCloud
|
|
6446
6460
|
|
6447
6461
|
# DescribeSecurityPortraitRules请求参数结构体
|
6448
6462
|
class DescribeSecurityPortraitRulesRequest < TencentCloud::Common::AbstractModel
|
6449
|
-
# @param ZoneId: 站点Id。
|
6463
|
+
# @param ZoneId: 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
6450
6464
|
# @type ZoneId: String
|
6451
|
-
# @param Entity:
|
6465
|
+
# @param Entity: 子域名/应用名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
6452
6466
|
# @type Entity: String
|
6467
|
+
# @param TemplateId: 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
6468
|
+
# @type TemplateId: String
|
6453
6469
|
|
6454
|
-
attr_accessor :ZoneId, :Entity
|
6470
|
+
attr_accessor :ZoneId, :Entity, :TemplateId
|
6455
6471
|
|
6456
|
-
def initialize(zoneid=nil, entity=nil)
|
6472
|
+
def initialize(zoneid=nil, entity=nil, templateid=nil)
|
6457
6473
|
@ZoneId = zoneid
|
6458
6474
|
@Entity = entity
|
6475
|
+
@TemplateId = templateid
|
6459
6476
|
end
|
6460
6477
|
|
6461
6478
|
def deserialize(params)
|
6462
6479
|
@ZoneId = params['ZoneId']
|
6463
6480
|
@Entity = params['Entity']
|
6481
|
+
@TemplateId = params['TemplateId']
|
6464
6482
|
end
|
6465
6483
|
end
|
6466
6484
|
|
@@ -8895,7 +8913,7 @@ module TencentCloud
|
|
8895
8913
|
class FailReason < TencentCloud::Common::AbstractModel
|
8896
8914
|
# @param Reason: 失败原因。
|
8897
8915
|
# @type Reason: String
|
8898
|
-
# @param Targets:
|
8916
|
+
# @param Targets: 处理失败的资源列表。
|
8899
8917
|
# @type Targets: Array
|
8900
8918
|
|
8901
8919
|
attr_accessor :Reason, :Targets
|
@@ -9348,15 +9366,21 @@ module TencentCloud
|
|
9348
9366
|
# @type RuleID: Integer
|
9349
9367
|
# @param UpdateTime: 更新时间。仅出参使用。
|
9350
9368
|
# @type UpdateTime: String
|
9369
|
+
# @param Status: 规则启用状态,当返回为null时,为启用。取值有:
|
9370
|
+
# <li> on:启用;</li>
|
9371
|
+
# <li> off:未启用。</li>
|
9372
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9373
|
+
# @type Status: String
|
9351
9374
|
|
9352
|
-
attr_accessor :Action, :MatchFrom, :MatchContent, :RuleID, :UpdateTime
|
9375
|
+
attr_accessor :Action, :MatchFrom, :MatchContent, :RuleID, :UpdateTime, :Status
|
9353
9376
|
|
9354
|
-
def initialize(action=nil, matchfrom=nil, matchcontent=nil, ruleid=nil, updatetime=nil)
|
9377
|
+
def initialize(action=nil, matchfrom=nil, matchcontent=nil, ruleid=nil, updatetime=nil, status=nil)
|
9355
9378
|
@Action = action
|
9356
9379
|
@MatchFrom = matchfrom
|
9357
9380
|
@MatchContent = matchcontent
|
9358
9381
|
@RuleID = ruleid
|
9359
9382
|
@UpdateTime = updatetime
|
9383
|
+
@Status = status
|
9360
9384
|
end
|
9361
9385
|
|
9362
9386
|
def deserialize(params)
|
@@ -9365,6 +9389,7 @@ module TencentCloud
|
|
9365
9389
|
@MatchContent = params['MatchContent']
|
9366
9390
|
@RuleID = params['RuleID']
|
9367
9391
|
@UpdateTime = params['UpdateTime']
|
9392
|
+
@Status = params['Status']
|
9368
9393
|
end
|
9369
9394
|
end
|
9370
9395
|
|
@@ -10754,26 +10779,30 @@ module TencentCloud
|
|
10754
10779
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
10755
10780
|
# @param ZoneId: 站点Id。
|
10756
10781
|
# @type ZoneId: String
|
10757
|
-
# @param Entity: 子域名/应用名。
|
10758
|
-
# @type Entity: String
|
10759
10782
|
# @param SecurityConfig: 安全配置。
|
10760
10783
|
# @type SecurityConfig: :class:`Tencentcloud::Teo.v20220901.models.SecurityConfig`
|
10784
|
+
# @param Entity: 子域名/应用名。当使用Entity时可不填写TemplateId,否则必须填写TemplateId。
|
10785
|
+
# @type Entity: String
|
10786
|
+
# @param TemplateId: 模板策略id。当使用模板Id时可不填Entity,否则必须填写Entity。
|
10787
|
+
# @type TemplateId: String
|
10761
10788
|
|
10762
|
-
attr_accessor :ZoneId, :Entity, :
|
10789
|
+
attr_accessor :ZoneId, :SecurityConfig, :Entity, :TemplateId
|
10763
10790
|
|
10764
|
-
def initialize(zoneid=nil, entity=nil,
|
10791
|
+
def initialize(zoneid=nil, securityconfig=nil, entity=nil, templateid=nil)
|
10765
10792
|
@ZoneId = zoneid
|
10766
|
-
@Entity = entity
|
10767
10793
|
@SecurityConfig = securityconfig
|
10794
|
+
@Entity = entity
|
10795
|
+
@TemplateId = templateid
|
10768
10796
|
end
|
10769
10797
|
|
10770
10798
|
def deserialize(params)
|
10771
10799
|
@ZoneId = params['ZoneId']
|
10772
|
-
@Entity = params['Entity']
|
10773
10800
|
unless params['SecurityConfig'].nil?
|
10774
10801
|
@SecurityConfig = SecurityConfig.new
|
10775
10802
|
@SecurityConfig.deserialize(params['SecurityConfig'])
|
10776
10803
|
end
|
10804
|
+
@Entity = params['Entity']
|
10805
|
+
@TemplateId = params['TemplateId']
|
10777
10806
|
end
|
10778
10807
|
end
|
10779
10808
|
|
@@ -10795,9 +10824,9 @@ module TencentCloud
|
|
10795
10824
|
|
10796
10825
|
# ModifySecurityWafGroupPolicy请求参数结构体
|
10797
10826
|
class ModifySecurityWafGroupPolicyRequest < TencentCloud::Common::AbstractModel
|
10798
|
-
# @param ZoneId: 站点Id。
|
10827
|
+
# @param ZoneId: 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
10799
10828
|
# @type ZoneId: String
|
10800
|
-
# @param Entity:
|
10829
|
+
# @param Entity: 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
10801
10830
|
# @type Entity: String
|
10802
10831
|
# @param Switch: 总开关,取值有:
|
10803
10832
|
# <li>on:开启;</li>
|
@@ -10820,10 +10849,12 @@ module TencentCloud
|
|
10820
10849
|
# @type AiRule: :class:`Tencentcloud::Teo.v20220901.models.AiRule`
|
10821
10850
|
# @param WafGroups: 托管规则等级组。不填默认为上次的配置。
|
10822
10851
|
# @type WafGroups: Array
|
10852
|
+
# @param TemplateId: 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
10853
|
+
# @type TemplateId: String
|
10823
10854
|
|
10824
|
-
attr_accessor :ZoneId, :Entity, :Switch, :Level, :Mode, :WafRules, :AiRule, :WafGroups
|
10855
|
+
attr_accessor :ZoneId, :Entity, :Switch, :Level, :Mode, :WafRules, :AiRule, :WafGroups, :TemplateId
|
10825
10856
|
|
10826
|
-
def initialize(zoneid=nil, entity=nil, switch=nil, level=nil, mode=nil, wafrules=nil, airule=nil, wafgroups=nil)
|
10857
|
+
def initialize(zoneid=nil, entity=nil, switch=nil, level=nil, mode=nil, wafrules=nil, airule=nil, wafgroups=nil, templateid=nil)
|
10827
10858
|
@ZoneId = zoneid
|
10828
10859
|
@Entity = entity
|
10829
10860
|
@Switch = switch
|
@@ -10832,6 +10863,7 @@ module TencentCloud
|
|
10832
10863
|
@WafRules = wafrules
|
10833
10864
|
@AiRule = airule
|
10834
10865
|
@WafGroups = wafgroups
|
10866
|
+
@TemplateId = templateid
|
10835
10867
|
end
|
10836
10868
|
|
10837
10869
|
def deserialize(params)
|
@@ -10856,6 +10888,7 @@ module TencentCloud
|
|
10856
10888
|
@WafGroups << wafgroup_tmp
|
10857
10889
|
end
|
10858
10890
|
end
|
10891
|
+
@TemplateId = params['TemplateId']
|
10859
10892
|
end
|
10860
10893
|
end
|
10861
10894
|
|
@@ -11703,11 +11736,12 @@ module TencentCloud
|
|
11703
11736
|
# @type Daily: Integer
|
11704
11737
|
# @param DailyAvailable: 每日剩余的可提交配额。
|
11705
11738
|
# @type DailyAvailable: Integer
|
11706
|
-
# @param Type:
|
11707
|
-
# <li> purge_prefix
|
11708
|
-
# <li> purge_url
|
11709
|
-
# <li> purge_host
|
11710
|
-
# <li> purge_all
|
11739
|
+
# @param Type: 刷新预热缓存类型,取值有:
|
11740
|
+
# <li> purge_prefix:按前缀刷新;</li>
|
11741
|
+
# <li> purge_url:按URL刷新;</li>
|
11742
|
+
# <li> purge_host:按Hostname刷新;</li>
|
11743
|
+
# <li> purge_all:刷新全部缓存内容;</li>
|
11744
|
+
# <li> purge_cache_tag:按CacheTag刷新;</li><li> prefetch_url:按URL预热。</li>
|
11711
11745
|
# @type Type: String
|
11712
11746
|
|
11713
11747
|
attr_accessor :Batch, :Daily, :DailyAvailable, :Type
|
@@ -11936,8 +11970,7 @@ module TencentCloud
|
|
11936
11970
|
# @type PunishTimeUnit: String
|
11937
11971
|
# @param RuleStatus: 规则状态,取值有:
|
11938
11972
|
# <li>on:生效;</li>
|
11939
|
-
# <li>off:不生效。</li
|
11940
|
-
# <li>hour:小时。</li>默认on生效。
|
11973
|
+
# <li>off:不生效。</li>默认on生效。
|
11941
11974
|
# @type RuleStatus: String
|
11942
11975
|
# @param AclConditions: 规则详情。
|
11943
11976
|
# @type AclConditions: Array
|
@@ -11947,17 +11980,21 @@ module TencentCloud
|
|
11947
11980
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11948
11981
|
# @type RuleID: Integer
|
11949
11982
|
# @param FreqFields: 过滤词,取值有:
|
11950
|
-
# <li>host:域名;</li>
|
11951
11983
|
# <li>sip:客户端ip。</li>
|
11952
11984
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11953
11985
|
# @type FreqFields: Array
|
11954
11986
|
# @param UpdateTime: 更新时间。
|
11955
11987
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11956
11988
|
# @type UpdateTime: String
|
11989
|
+
# @param FreqScope: 统计范围,字段为null时,代表source_to_eo。取值有:
|
11990
|
+
# <li>source_to_eo:(响应)源站到EdgeOne。</li>
|
11991
|
+
# <li>client_to_eo:(请求)客户端到EdgeOne;</li>
|
11992
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11993
|
+
# @type FreqScope: Array
|
11957
11994
|
|
11958
|
-
attr_accessor :Threshold, :Period, :RuleName, :Action, :PunishTime, :PunishTimeUnit, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :FreqFields, :UpdateTime
|
11995
|
+
attr_accessor :Threshold, :Period, :RuleName, :Action, :PunishTime, :PunishTimeUnit, :RuleStatus, :AclConditions, :RulePriority, :RuleID, :FreqFields, :UpdateTime, :FreqScope
|
11959
11996
|
|
11960
|
-
def initialize(threshold=nil, period=nil, rulename=nil, action=nil, punishtime=nil, punishtimeunit=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, freqfields=nil, updatetime=nil)
|
11997
|
+
def initialize(threshold=nil, period=nil, rulename=nil, action=nil, punishtime=nil, punishtimeunit=nil, rulestatus=nil, aclconditions=nil, rulepriority=nil, ruleid=nil, freqfields=nil, updatetime=nil, freqscope=nil)
|
11961
11998
|
@Threshold = threshold
|
11962
11999
|
@Period = period
|
11963
12000
|
@RuleName = rulename
|
@@ -11970,6 +12007,7 @@ module TencentCloud
|
|
11970
12007
|
@RuleID = ruleid
|
11971
12008
|
@FreqFields = freqfields
|
11972
12009
|
@UpdateTime = updatetime
|
12010
|
+
@FreqScope = freqscope
|
11973
12011
|
end
|
11974
12012
|
|
11975
12013
|
def deserialize(params)
|
@@ -11992,6 +12030,7 @@ module TencentCloud
|
|
11992
12030
|
@RuleID = params['RuleID']
|
11993
12031
|
@FreqFields = params['FreqFields']
|
11994
12032
|
@UpdateTime = params['UpdateTime']
|
12033
|
+
@FreqScope = params['FreqScope']
|
11995
12034
|
end
|
11996
12035
|
end
|
11997
12036
|
|
@@ -12827,10 +12866,13 @@ module TencentCloud
|
|
12827
12866
|
# @param DropPageConfig: 自定义拦截页面配置。如果为null,默认使用历史配置。
|
12828
12867
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12829
12868
|
# @type DropPageConfig: :class:`Tencentcloud::Teo.v20220901.models.DropPageConfig`
|
12869
|
+
# @param TemplateConfig: 模板配置。此处仅出参数使用。
|
12870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12871
|
+
# @type TemplateConfig: :class:`Tencentcloud::Teo.v20220901.models.TemplateConfig`
|
12830
12872
|
|
12831
|
-
attr_accessor :WafConfig, :RateLimitConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig, :ExceptConfig, :DropPageConfig
|
12873
|
+
attr_accessor :WafConfig, :RateLimitConfig, :AclConfig, :BotConfig, :SwitchConfig, :IpTableConfig, :ExceptConfig, :DropPageConfig, :TemplateConfig
|
12832
12874
|
|
12833
|
-
def initialize(wafconfig=nil, ratelimitconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil, exceptconfig=nil, droppageconfig=nil)
|
12875
|
+
def initialize(wafconfig=nil, ratelimitconfig=nil, aclconfig=nil, botconfig=nil, switchconfig=nil, iptableconfig=nil, exceptconfig=nil, droppageconfig=nil, templateconfig=nil)
|
12834
12876
|
@WafConfig = wafconfig
|
12835
12877
|
@RateLimitConfig = ratelimitconfig
|
12836
12878
|
@AclConfig = aclconfig
|
@@ -12839,6 +12881,7 @@ module TencentCloud
|
|
12839
12881
|
@IpTableConfig = iptableconfig
|
12840
12882
|
@ExceptConfig = exceptconfig
|
12841
12883
|
@DropPageConfig = droppageconfig
|
12884
|
+
@TemplateConfig = templateconfig
|
12842
12885
|
end
|
12843
12886
|
|
12844
12887
|
def deserialize(params)
|
@@ -12874,6 +12917,10 @@ module TencentCloud
|
|
12874
12917
|
@DropPageConfig = DropPageConfig.new
|
12875
12918
|
@DropPageConfig.deserialize(params['DropPageConfig'])
|
12876
12919
|
end
|
12920
|
+
unless params['TemplateConfig'].nil?
|
12921
|
+
@TemplateConfig = TemplateConfig.new
|
12922
|
+
@TemplateConfig.deserialize(params['TemplateConfig'])
|
12923
|
+
end
|
12877
12924
|
end
|
12878
12925
|
end
|
12879
12926
|
|
@@ -13647,6 +13694,26 @@ module TencentCloud
|
|
13647
13694
|
end
|
13648
13695
|
end
|
13649
13696
|
|
13697
|
+
# 安全模板配置
|
13698
|
+
class TemplateConfig < TencentCloud::Common::AbstractModel
|
13699
|
+
# @param TemplateId: 模板ID。
|
13700
|
+
# @type TemplateId: String
|
13701
|
+
# @param TemplateName: 模板名称。
|
13702
|
+
# @type TemplateName: String
|
13703
|
+
|
13704
|
+
attr_accessor :TemplateId, :TemplateName
|
13705
|
+
|
13706
|
+
def initialize(templateid=nil, templatename=nil)
|
13707
|
+
@TemplateId = templateid
|
13708
|
+
@TemplateName = templatename
|
13709
|
+
end
|
13710
|
+
|
13711
|
+
def deserialize(params)
|
13712
|
+
@TemplateId = params['TemplateId']
|
13713
|
+
@TemplateName = params['TemplateName']
|
13714
|
+
end
|
13715
|
+
end
|
13716
|
+
|
13650
13717
|
# 统计曲线数据项
|
13651
13718
|
class TimingDataItem < TencentCloud::Common::AbstractModel
|
13652
13719
|
# @param Timestamp: 返回数据对应时间点,采用unix秒级时间戳。
|
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.447
|
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-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|