tencentcloud-sdk-antiddos 1.0.333 → 1.0.334
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/v20200309/client.rb +1 -1
- data/lib/v20200309/models.rb +105 -16
- 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: 1fefad7e8b816c2abad564b6a75c1aa75c3fdf91
|
4
|
+
data.tar.gz: 22269436bb77eb87aeb573aa51bb27c497df52bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 800f81e34a861ea09bb6dfa689363c5a060186d99697ce69543d89169ea547d5bcb44e4e6ff3b1091735e22d4a6f781d1d52fb4577a38307a1427a57d5760570
|
7
|
+
data.tar.gz: ee0461fb1919fa60470dc8b5a734ac572c0521d56df5f4084d62ae442aa3b4cd667720a7a45584b59b4385b03faf20c1d5c4d712247737d6d0ec8c35e23de867
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.334
|
data/lib/v20200309/client.rb
CHANGED
@@ -989,7 +989,7 @@ module TencentCloud
|
|
989
989
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
990
|
end
|
991
991
|
|
992
|
-
#
|
992
|
+
# 获取边界防护CC防护等级列表
|
993
993
|
|
994
994
|
# @param request: Request instance for DescribeCCLevelList.
|
995
995
|
# @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeCCLevelListRequest`
|
data/lib/v20200309/models.rb
CHANGED
@@ -243,10 +243,13 @@ module TencentCloud
|
|
243
243
|
# @param BGPIPChannelFlag: 是否渠道版高防IP,是为1,否为0
|
244
244
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
245
245
|
# @type BGPIPChannelFlag: Integer
|
246
|
+
# @param TagInfoList: 资源关联标签
|
247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
248
|
+
# @type TagInfoList: Array
|
246
249
|
|
247
|
-
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag, :BGPIPChannelFlag
|
250
|
+
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag, :BGPIPChannelFlag, :TagInfoList
|
248
251
|
|
249
|
-
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil, bgpipchannelflag=nil)
|
252
|
+
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil, bgpipchannelflag=nil, taginfolist=nil)
|
250
253
|
@InstanceDetail = instancedetail
|
251
254
|
@SpecificationLimit = specificationlimit
|
252
255
|
@Usage = usage
|
@@ -267,6 +270,7 @@ module TencentCloud
|
|
267
270
|
@DamDDoSStatus = damddosstatus
|
268
271
|
@V6Flag = v6flag
|
269
272
|
@BGPIPChannelFlag = bgpipchannelflag
|
273
|
+
@TagInfoList = taginfolist
|
270
274
|
end
|
271
275
|
|
272
276
|
def deserialize(params)
|
@@ -314,6 +318,14 @@ module TencentCloud
|
|
314
318
|
@DamDDoSStatus = params['DamDDoSStatus']
|
315
319
|
@V6Flag = params['V6Flag']
|
316
320
|
@BGPIPChannelFlag = params['BGPIPChannelFlag']
|
321
|
+
unless params['TagInfoList'].nil?
|
322
|
+
@TagInfoList = []
|
323
|
+
params['TagInfoList'].each do |i|
|
324
|
+
taginfo_tmp = TagInfo.new
|
325
|
+
taginfo_tmp.deserialize(i)
|
326
|
+
@TagInfoList << taginfo_tmp
|
327
|
+
end
|
328
|
+
end
|
317
329
|
end
|
318
330
|
end
|
319
331
|
|
@@ -430,10 +442,12 @@ module TencentCloud
|
|
430
442
|
# @type DDoSLevel: String
|
431
443
|
# @param CCEnable: CC防护开关
|
432
444
|
# @type CCEnable: Integer
|
445
|
+
# @param TagInfoList: 资源关联标签
|
446
|
+
# @type TagInfoList: Array
|
433
447
|
|
434
|
-
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :CreatedTime, :ExpiredTime, :Name, :PackInfo, :EipProductInfos, :BoundStatus, :DDoSLevel, :CCEnable
|
448
|
+
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :CreatedTime, :ExpiredTime, :Name, :PackInfo, :EipProductInfos, :BoundStatus, :DDoSLevel, :CCEnable, :TagInfoList
|
435
449
|
|
436
|
-
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, createdtime=nil, expiredtime=nil, name=nil, packinfo=nil, eipproductinfos=nil, boundstatus=nil, ddoslevel=nil, ccenable=nil)
|
450
|
+
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, createdtime=nil, expiredtime=nil, name=nil, packinfo=nil, eipproductinfos=nil, boundstatus=nil, ddoslevel=nil, ccenable=nil, taginfolist=nil)
|
437
451
|
@InstanceDetail = instancedetail
|
438
452
|
@SpecificationLimit = specificationlimit
|
439
453
|
@Usage = usage
|
@@ -447,6 +461,7 @@ module TencentCloud
|
|
447
461
|
@BoundStatus = boundstatus
|
448
462
|
@DDoSLevel = ddoslevel
|
449
463
|
@CCEnable = ccenable
|
464
|
+
@TagInfoList = taginfolist
|
450
465
|
end
|
451
466
|
|
452
467
|
def deserialize(params)
|
@@ -485,6 +500,14 @@ module TencentCloud
|
|
485
500
|
@BoundStatus = params['BoundStatus']
|
486
501
|
@DDoSLevel = params['DDoSLevel']
|
487
502
|
@CCEnable = params['CCEnable']
|
503
|
+
unless params['TagInfoList'].nil?
|
504
|
+
@TagInfoList = []
|
505
|
+
params['TagInfoList'].each do |i|
|
506
|
+
taginfo_tmp = TagInfo.new
|
507
|
+
taginfo_tmp.deserialize(i)
|
508
|
+
@TagInfoList << taginfo_tmp
|
509
|
+
end
|
510
|
+
end
|
488
511
|
end
|
489
512
|
end
|
490
513
|
|
@@ -583,14 +606,17 @@ module TencentCloud
|
|
583
606
|
# @type InstanceDetailList: Array
|
584
607
|
# @param Mask: ip掩码,0表示32位完整ip
|
585
608
|
# @type Mask: Integer
|
609
|
+
# @param ModifyTime: 修改时间
|
610
|
+
# @type ModifyTime: String
|
586
611
|
|
587
|
-
attr_accessor :Ip, :Type, :InstanceDetailList, :Mask
|
612
|
+
attr_accessor :Ip, :Type, :InstanceDetailList, :Mask, :ModifyTime
|
588
613
|
|
589
|
-
def initialize(ip=nil, type=nil, instancedetaillist=nil, mask=nil)
|
614
|
+
def initialize(ip=nil, type=nil, instancedetaillist=nil, mask=nil, modifytime=nil)
|
590
615
|
@Ip = ip
|
591
616
|
@Type = type
|
592
617
|
@InstanceDetailList = instancedetaillist
|
593
618
|
@Mask = mask
|
619
|
+
@ModifyTime = modifytime
|
594
620
|
end
|
595
621
|
|
596
622
|
def deserialize(params)
|
@@ -605,6 +631,7 @@ module TencentCloud
|
|
605
631
|
end
|
606
632
|
end
|
607
633
|
@Mask = params['Mask']
|
634
|
+
@ModifyTime = params['ModifyTime']
|
608
635
|
end
|
609
636
|
end
|
610
637
|
|
@@ -1318,15 +1345,18 @@ module TencentCloud
|
|
1318
1345
|
# @type Domain: String
|
1319
1346
|
# @param Policy: 策略项
|
1320
1347
|
# @type Policy: :class:`Tencentcloud::Antiddos.v20200309.models.CCReqLimitPolicyRecord`
|
1348
|
+
# @param IsGlobal: 是否为兜底频控
|
1349
|
+
# @type IsGlobal: Integer
|
1321
1350
|
|
1322
|
-
attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Policy
|
1351
|
+
attr_accessor :InstanceId, :Ip, :Protocol, :Domain, :Policy, :IsGlobal
|
1323
1352
|
|
1324
|
-
def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, policy=nil)
|
1353
|
+
def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, policy=nil, isglobal=nil)
|
1325
1354
|
@InstanceId = instanceid
|
1326
1355
|
@Ip = ip
|
1327
1356
|
@Protocol = protocol
|
1328
1357
|
@Domain = domain
|
1329
1358
|
@Policy = policy
|
1359
|
+
@IsGlobal = isglobal
|
1330
1360
|
end
|
1331
1361
|
|
1332
1362
|
def deserialize(params)
|
@@ -1338,6 +1368,7 @@ module TencentCloud
|
|
1338
1368
|
@Policy = CCReqLimitPolicyRecord.new
|
1339
1369
|
@Policy.deserialize(params['Policy'])
|
1340
1370
|
end
|
1371
|
+
@IsGlobal = params['IsGlobal']
|
1341
1372
|
end
|
1342
1373
|
end
|
1343
1374
|
|
@@ -3017,7 +3048,7 @@ module TencentCloud
|
|
3017
3048
|
class DescribeCCLevelListResponse < TencentCloud::Common::AbstractModel
|
3018
3049
|
# @param Total: 分级策略列表总数
|
3019
3050
|
# @type Total: Integer
|
3020
|
-
# @param LevelList:
|
3051
|
+
# @param LevelList: 分级策略列表总数
|
3021
3052
|
# @type LevelList: Array
|
3022
3053
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3023
3054
|
# @type RequestId: String
|
@@ -3880,10 +3911,12 @@ module TencentCloud
|
|
3880
3911
|
# @type FilterCname: String
|
3881
3912
|
# @param FilterInstanceIdList: 批量查询实例ID对应的高防IP实例资源
|
3882
3913
|
# @type FilterInstanceIdList: Array
|
3914
|
+
# @param FilterTag: 标签搜索
|
3915
|
+
# @type FilterTag: :class:`Tencentcloud::Antiddos.v20200309.models.TagFilter`
|
3883
3916
|
|
3884
|
-
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterLine, :FilterRegion, :FilterName, :FilterEipType, :FilterEipEipAddressStatus, :FilterDamDDoSStatus, :FilterStatus, :FilterCname, :FilterInstanceIdList
|
3917
|
+
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterLine, :FilterRegion, :FilterName, :FilterEipType, :FilterEipEipAddressStatus, :FilterDamDDoSStatus, :FilterStatus, :FilterCname, :FilterInstanceIdList, :FilterTag
|
3885
3918
|
|
3886
|
-
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterline=nil, filterregion=nil, filtername=nil, filtereiptype=nil, filtereipeipaddressstatus=nil, filterdamddosstatus=nil, filterstatus=nil, filtercname=nil, filterinstanceidlist=nil)
|
3919
|
+
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterline=nil, filterregion=nil, filtername=nil, filtereiptype=nil, filtereipeipaddressstatus=nil, filterdamddosstatus=nil, filterstatus=nil, filtercname=nil, filterinstanceidlist=nil, filtertag=nil)
|
3887
3920
|
@Offset = offset
|
3888
3921
|
@Limit = limit
|
3889
3922
|
@FilterIp = filterip
|
@@ -3897,6 +3930,7 @@ module TencentCloud
|
|
3897
3930
|
@FilterStatus = filterstatus
|
3898
3931
|
@FilterCname = filtercname
|
3899
3932
|
@FilterInstanceIdList = filterinstanceidlist
|
3933
|
+
@FilterTag = filtertag
|
3900
3934
|
end
|
3901
3935
|
|
3902
3936
|
def deserialize(params)
|
@@ -3913,6 +3947,10 @@ module TencentCloud
|
|
3913
3947
|
@FilterStatus = params['FilterStatus']
|
3914
3948
|
@FilterCname = params['FilterCname']
|
3915
3949
|
@FilterInstanceIdList = params['FilterInstanceIdList']
|
3950
|
+
unless params['FilterTag'].nil?
|
3951
|
+
@FilterTag = TagFilter.new
|
3952
|
+
@FilterTag.deserialize(params['FilterTag'])
|
3953
|
+
end
|
3916
3954
|
end
|
3917
3955
|
end
|
3918
3956
|
|
@@ -3971,10 +4009,12 @@ module TencentCloud
|
|
3971
4009
|
# @type FilterInstanceIdList: Array
|
3972
4010
|
# @param FilterEnterpriseFlag: 企业版搜索
|
3973
4011
|
# @type FilterEnterpriseFlag: Integer
|
4012
|
+
# @param FilterTag: 标签搜索
|
4013
|
+
# @type FilterTag: :class:`Tencentcloud::Antiddos.v20200309.models.TagFilter`
|
3974
4014
|
|
3975
|
-
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterRegion, :FilterName, :FilterLine, :FilterStatus, :FilterBoundStatus, :FilterInstanceIdList, :FilterEnterpriseFlag
|
4015
|
+
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterRegion, :FilterName, :FilterLine, :FilterStatus, :FilterBoundStatus, :FilterInstanceIdList, :FilterEnterpriseFlag, :FilterTag
|
3976
4016
|
|
3977
|
-
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterregion=nil, filtername=nil, filterline=nil, filterstatus=nil, filterboundstatus=nil, filterinstanceidlist=nil, filterenterpriseflag=nil)
|
4017
|
+
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterregion=nil, filtername=nil, filterline=nil, filterstatus=nil, filterboundstatus=nil, filterinstanceidlist=nil, filterenterpriseflag=nil, filtertag=nil)
|
3978
4018
|
@Offset = offset
|
3979
4019
|
@Limit = limit
|
3980
4020
|
@FilterIp = filterip
|
@@ -3986,6 +4026,7 @@ module TencentCloud
|
|
3986
4026
|
@FilterBoundStatus = filterboundstatus
|
3987
4027
|
@FilterInstanceIdList = filterinstanceidlist
|
3988
4028
|
@FilterEnterpriseFlag = filterenterpriseflag
|
4029
|
+
@FilterTag = filtertag
|
3989
4030
|
end
|
3990
4031
|
|
3991
4032
|
def deserialize(params)
|
@@ -4000,6 +4041,10 @@ module TencentCloud
|
|
4000
4041
|
@FilterBoundStatus = params['FilterBoundStatus']
|
4001
4042
|
@FilterInstanceIdList = params['FilterInstanceIdList']
|
4002
4043
|
@FilterEnterpriseFlag = params['FilterEnterpriseFlag']
|
4044
|
+
unless params['FilterTag'].nil?
|
4045
|
+
@FilterTag = TagFilter.new
|
4046
|
+
@FilterTag.deserialize(params['FilterTag'])
|
4047
|
+
end
|
4003
4048
|
end
|
4004
4049
|
end
|
4005
4050
|
|
@@ -5670,7 +5715,7 @@ module TencentCloud
|
|
5670
5715
|
class ListenerCcThreholdConfig < TencentCloud::Common::AbstractModel
|
5671
5716
|
# @param Domain: 域名
|
5672
5717
|
# @type Domain: String
|
5673
|
-
# @param Protocol: 协议(可取值
|
5718
|
+
# @param Protocol: 协议(可取值https)
|
5674
5719
|
# @type Protocol: String
|
5675
5720
|
# @param CCEnable: 开关状态(0:关闭,1:开启)
|
5676
5721
|
# @type CCEnable: Integer
|
@@ -6733,12 +6778,15 @@ module TencentCloud
|
|
6733
6778
|
# @type PacketFilterConfig: :class:`Tencentcloud::Antiddos.v20200309.models.PacketFilterConfig`
|
6734
6779
|
# @param InstanceDetailList: 特征过滤配置所属的实例
|
6735
6780
|
# @type InstanceDetailList: Array
|
6781
|
+
# @param ModifyTime: 修改时间
|
6782
|
+
# @type ModifyTime: String
|
6736
6783
|
|
6737
|
-
attr_accessor :PacketFilterConfig, :InstanceDetailList
|
6784
|
+
attr_accessor :PacketFilterConfig, :InstanceDetailList, :ModifyTime
|
6738
6785
|
|
6739
|
-
def initialize(packetfilterconfig=nil, instancedetaillist=nil)
|
6786
|
+
def initialize(packetfilterconfig=nil, instancedetaillist=nil, modifytime=nil)
|
6740
6787
|
@PacketFilterConfig = packetfilterconfig
|
6741
6788
|
@InstanceDetailList = instancedetaillist
|
6789
|
+
@ModifyTime = modifytime
|
6742
6790
|
end
|
6743
6791
|
|
6744
6792
|
def deserialize(params)
|
@@ -6754,6 +6802,7 @@ module TencentCloud
|
|
6754
6802
|
@InstanceDetailList << instancerelation_tmp
|
6755
6803
|
end
|
6756
6804
|
end
|
6805
|
+
@ModifyTime = params['ModifyTime']
|
6757
6806
|
end
|
6758
6807
|
end
|
6759
6808
|
|
@@ -7185,6 +7234,46 @@ module TencentCloud
|
|
7185
7234
|
end
|
7186
7235
|
end
|
7187
7236
|
|
7237
|
+
# 标签类型
|
7238
|
+
class TagFilter < TencentCloud::Common::AbstractModel
|
7239
|
+
# @param TagKey: 标签键
|
7240
|
+
# @type TagKey: String
|
7241
|
+
# @param TagValue: 标签键值列表
|
7242
|
+
# @type TagValue: Array
|
7243
|
+
|
7244
|
+
attr_accessor :TagKey, :TagValue
|
7245
|
+
|
7246
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
7247
|
+
@TagKey = tagkey
|
7248
|
+
@TagValue = tagvalue
|
7249
|
+
end
|
7250
|
+
|
7251
|
+
def deserialize(params)
|
7252
|
+
@TagKey = params['TagKey']
|
7253
|
+
@TagValue = params['TagValue']
|
7254
|
+
end
|
7255
|
+
end
|
7256
|
+
|
7257
|
+
# 标签信息,用于资源列表返回关联的标签
|
7258
|
+
class TagInfo < TencentCloud::Common::AbstractModel
|
7259
|
+
# @param TagKey: 标签键
|
7260
|
+
# @type TagKey: String
|
7261
|
+
# @param TagValue: 标签值
|
7262
|
+
# @type TagValue: String
|
7263
|
+
|
7264
|
+
attr_accessor :TagKey, :TagValue
|
7265
|
+
|
7266
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
7267
|
+
@TagKey = tagkey
|
7268
|
+
@TagValue = tagvalue
|
7269
|
+
end
|
7270
|
+
|
7271
|
+
def deserialize(params)
|
7272
|
+
@TagKey = params['TagKey']
|
7273
|
+
@TagValue = params['TagValue']
|
7274
|
+
end
|
7275
|
+
end
|
7276
|
+
|
7188
7277
|
# 水印防护配置
|
7189
7278
|
class WaterPrintConfig < TencentCloud::Common::AbstractModel
|
7190
7279
|
# @param Offset: 水印偏移量,取值范围[0, 100)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.334
|
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-06-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|