tencentcloud-sdk-antiddos 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55e0a87ac47003de2ce0cad60245c9924d2d614a
4
- data.tar.gz: bb36c823ef7d5bd9b9ddb0d4b4198718a473eda3
3
+ metadata.gz: bf0491e33092a55f7c7bff03300fa35c2868f659
4
+ data.tar.gz: d34bbd0fba6e0fccaf3fa272d0a4e5b4c0f547d8
5
5
  SHA512:
6
- metadata.gz: a66775c0d7205fea1be3d1ad9db304c1c41c6d282aa1ec7a4fc99612c97afa0eaf039815f023ad281e0d4271e15b92825c174904240e7de76da575d0f9577e5e
7
- data.tar.gz: 02034df8af592388f6fbf9b396e52d92d0d56e394ef9fd0762fcca516fc014e29cc0942634cb002d788359657dfe5487bd32bb351a8b023bd6abfbfc2c2525fe
6
+ metadata.gz: c829eb8c103d657cf90c618c721ea8363922380b33b52d2463bfcdd120252ca1f0d35c7c8f0870ca06a6ed26f59f14b2eb8403432c20937a10e803db48eb37e5
7
+ data.tar.gz: 6de579074cf413132a44448cb889defb23218e08c6ef6d3f6b3b2a9414609da843eb749e3dd61a8b834699d81ab4ec35ea7972d8871d7a87133c701b85dd5ef1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1024
1
+ 3.0.1026
@@ -1061,32 +1061,6 @@ module TencentCloud
1061
1061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1062
  end
1063
1063
 
1064
- # 接口变更
1065
-
1066
- # 获取DDoS防护的IP黑白名单
1067
-
1068
- # @param request: Request instance for DescribeBlackWhiteIpList.
1069
- # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeBlackWhiteIpListRequest`
1070
- # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeBlackWhiteIpListResponse`
1071
- def DescribeBlackWhiteIpList(request)
1072
- body = send_request('DescribeBlackWhiteIpList', request.serialize)
1073
- response = JSON.parse(body)
1074
- if response['Response'].key?('Error') == false
1075
- model = DescribeBlackWhiteIpListResponse.new
1076
- model.deserialize(response['Response'])
1077
- model
1078
- else
1079
- code = response['Response']['Error']['Code']
1080
- message = response['Response']['Error']['Message']
1081
- reqid = response['Response']['RequestId']
1082
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1083
- end
1084
- rescue TencentCloud::Common::TencentCloudSDKException => e
1085
- raise e
1086
- rescue StandardError => e
1087
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1088
- end
1089
-
1090
1064
  # 获取边界防护CC防护等级列表
1091
1065
 
1092
1066
  # @param request: Request instance for DescribeCCLevelList.
@@ -1663,32 +1637,6 @@ module TencentCloud
1663
1637
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1664
1638
  end
1665
1639
 
1666
- # 接口变更
1667
-
1668
- # 获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等
1669
-
1670
- # @param request: Request instance for DescribeListProtectThresholdConfig.
1671
- # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeListProtectThresholdConfigRequest`
1672
- # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeListProtectThresholdConfigResponse`
1673
- def DescribeListProtectThresholdConfig(request)
1674
- body = send_request('DescribeListProtectThresholdConfig', request.serialize)
1675
- response = JSON.parse(body)
1676
- if response['Response'].key?('Error') == false
1677
- model = DescribeListProtectThresholdConfigResponse.new
1678
- model.deserialize(response['Response'])
1679
- model
1680
- else
1681
- code = response['Response']['Error']['Code']
1682
- message = response['Response']['Error']['Message']
1683
- reqid = response['Response']['RequestId']
1684
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1685
- end
1686
- rescue TencentCloud::Common::TencentCloudSDKException => e
1687
- raise e
1688
- rescue StandardError => e
1689
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1690
- end
1691
-
1692
1640
  # 获取DDoS防护的协议封禁配置列表
1693
1641
 
1694
1642
  # @param request: Request instance for DescribeListProtocolBlockConfig.
@@ -3602,46 +3602,6 @@ module TencentCloud
3602
3602
  end
3603
3603
  end
3604
3604
 
3605
- # DescribeBlackWhiteIpList请求参数结构体
3606
- class DescribeBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
3607
- # @param InstanceId: 资源实例ID
3608
- # @type InstanceId: String
3609
-
3610
- attr_accessor :InstanceId
3611
-
3612
- def initialize(instanceid=nil)
3613
- @InstanceId = instanceid
3614
- end
3615
-
3616
- def deserialize(params)
3617
- @InstanceId = params['InstanceId']
3618
- end
3619
- end
3620
-
3621
- # DescribeBlackWhiteIpList返回参数结构体
3622
- class DescribeBlackWhiteIpListResponse < TencentCloud::Common::AbstractModel
3623
- # @param BlackIpList: 黑名单IP列表
3624
- # @type BlackIpList: Array
3625
- # @param WhiteIpList: 白名单IP列表
3626
- # @type WhiteIpList: Array
3627
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3628
- # @type RequestId: String
3629
-
3630
- attr_accessor :BlackIpList, :WhiteIpList, :RequestId
3631
-
3632
- def initialize(blackiplist=nil, whiteiplist=nil, requestid=nil)
3633
- @BlackIpList = blackiplist
3634
- @WhiteIpList = whiteiplist
3635
- @RequestId = requestid
3636
- end
3637
-
3638
- def deserialize(params)
3639
- @BlackIpList = params['BlackIpList']
3640
- @WhiteIpList = params['WhiteIpList']
3641
- @RequestId = params['RequestId']
3642
- end
3643
- end
3644
-
3645
3605
  # DescribeCCLevelList请求参数结构体
3646
3606
  class DescribeCCLevelListRequest < TencentCloud::Common::AbstractModel
3647
3607
  # @param Business: DDoS防护子产品代号(bgp-multip表示高防包)
@@ -5264,73 +5224,6 @@ module TencentCloud
5264
5224
  end
5265
5225
  end
5266
5226
 
5267
- # DescribeListProtectThresholdConfig请求参数结构体
5268
- class DescribeListProtectThresholdConfigRequest < TencentCloud::Common::AbstractModel
5269
- # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
5270
- # @type Offset: Integer
5271
- # @param Limit: 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
5272
- # @type Limit: Integer
5273
- # @param FilterInstanceId: 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
5274
- # @type FilterInstanceId: String
5275
- # @param FilterIp: IP搜索
5276
- # @type FilterIp: String
5277
- # @param FilterDomain: 域名搜索(查询域名与协议的CC防护阈值时使用)
5278
- # @type FilterDomain: String
5279
- # @param FilterProtocol: 协议搜索(查询域名与协议的CC防护阈值时使用)
5280
- # @type FilterProtocol: String
5281
-
5282
- attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterIp, :FilterDomain, :FilterProtocol
5283
-
5284
- def initialize(offset=nil, limit=nil, filterinstanceid=nil, filterip=nil, filterdomain=nil, filterprotocol=nil)
5285
- @Offset = offset
5286
- @Limit = limit
5287
- @FilterInstanceId = filterinstanceid
5288
- @FilterIp = filterip
5289
- @FilterDomain = filterdomain
5290
- @FilterProtocol = filterprotocol
5291
- end
5292
-
5293
- def deserialize(params)
5294
- @Offset = params['Offset']
5295
- @Limit = params['Limit']
5296
- @FilterInstanceId = params['FilterInstanceId']
5297
- @FilterIp = params['FilterIp']
5298
- @FilterDomain = params['FilterDomain']
5299
- @FilterProtocol = params['FilterProtocol']
5300
- end
5301
- end
5302
-
5303
- # DescribeListProtectThresholdConfig返回参数结构体
5304
- class DescribeListProtectThresholdConfigResponse < TencentCloud::Common::AbstractModel
5305
- # @param Total: 总记录数
5306
- # @type Total: Integer
5307
- # @param ConfigList: 防护阈值配置列表
5308
- # @type ConfigList: Array
5309
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5310
- # @type RequestId: String
5311
-
5312
- attr_accessor :Total, :ConfigList, :RequestId
5313
-
5314
- def initialize(total=nil, configlist=nil, requestid=nil)
5315
- @Total = total
5316
- @ConfigList = configlist
5317
- @RequestId = requestid
5318
- end
5319
-
5320
- def deserialize(params)
5321
- @Total = params['Total']
5322
- unless params['ConfigList'].nil?
5323
- @ConfigList = []
5324
- params['ConfigList'].each do |i|
5325
- protectthresholdrelation_tmp = ProtectThresholdRelation.new
5326
- protectthresholdrelation_tmp.deserialize(i)
5327
- @ConfigList << protectthresholdrelation_tmp
5328
- end
5329
- end
5330
- @RequestId = params['RequestId']
5331
- end
5332
- end
5333
-
5334
5227
  # DescribeListProtocolBlockConfig请求参数结构体
5335
5228
  class DescribeListProtocolBlockConfigRequest < TencentCloud::Common::AbstractModel
5336
5229
  # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
@@ -6807,34 +6700,6 @@ module TencentCloud
6807
6700
  end
6808
6701
  end
6809
6702
 
6810
- # 域名与协议纬度的CC防护阈值
6811
- class ListenerCcThreholdConfig < TencentCloud::Common::AbstractModel
6812
- # @param Domain: 域名
6813
- # @type Domain: String
6814
- # @param Protocol: 协议(可取值https)
6815
- # @type Protocol: String
6816
- # @param CCEnable: 开关状态(0:关闭,1:开启)
6817
- # @type CCEnable: Integer
6818
- # @param CCThreshold: cc防护阈值
6819
- # @type CCThreshold: Integer
6820
-
6821
- attr_accessor :Domain, :Protocol, :CCEnable, :CCThreshold
6822
-
6823
- def initialize(domain=nil, protocol=nil, ccenable=nil, ccthreshold=nil)
6824
- @Domain = domain
6825
- @Protocol = protocol
6826
- @CCEnable = ccenable
6827
- @CCThreshold = ccthreshold
6828
- end
6829
-
6830
- def deserialize(params)
6831
- @Domain = params['Domain']
6832
- @Protocol = params['Protocol']
6833
- @CCEnable = params['CCEnable']
6834
- @CCThreshold = params['CCThreshold']
6835
- end
6836
- end
6837
-
6838
6703
  # ModifyCCLevelPolicy请求参数结构体
6839
6704
  class ModifyCCLevelPolicyRequest < TencentCloud::Common::AbstractModel
6840
6705
  # @param InstanceId: 实例Id
@@ -7916,120 +7781,6 @@ module TencentCloud
7916
7781
  end
7917
7782
  end
7918
7783
 
7919
- # 防护阈值配置相关信息
7920
- class ProtectThresholdRelation < TencentCloud::Common::AbstractModel
7921
- # @param DDoSLevel: DDoS防护等级,取值[
7922
- # low(宽松)
7923
- # middle(适中)
7924
- # high(严格)
7925
- # ]
7926
- # @type DDoSLevel: String
7927
- # @param DDoSThreshold: DDoS清洗阈值,单位Mbps
7928
- # @type DDoSThreshold: Integer
7929
- # @param DDoSAI: DDoS的AI防护开关,取值[
7930
- # on(开启)
7931
- # off(关闭)
7932
- # ]
7933
- # @type DDoSAI: String
7934
- # @param CCEnable: CC清洗开关,取值[
7935
- # 0(关闭)
7936
- # 1(开启)
7937
- # ]
7938
- # @type CCEnable: Integer
7939
- # @param CCThreshold: CC清洗阈值,单位QPS
7940
- # @type CCThreshold: Integer
7941
- # @param InstanceDetailList: 所属的资源实例
7942
- # @type InstanceDetailList: Array
7943
- # @param ListenerCcThresholdList: 域名与协议纬度的防护阈值
7944
- # @type ListenerCcThresholdList: Array
7945
- # @param SynFloodThreshold: SYN FLOOD流量阈值
7946
- # 注意:此字段可能返回 null,表示取不到有效值。
7947
- # @type SynFloodThreshold: Integer
7948
- # @param SynFloodPktThreshold: SYN FLOOD包量阈值
7949
- # 注意:此字段可能返回 null,表示取不到有效值。
7950
- # @type SynFloodPktThreshold: Integer
7951
- # @param UdpFloodThreshold: UDP FLOOD流量阈值
7952
- # 注意:此字段可能返回 null,表示取不到有效值。
7953
- # @type UdpFloodThreshold: Integer
7954
- # @param UdpFloodPktThreshold: UDP FLOOD包量阈值
7955
- # 注意:此字段可能返回 null,表示取不到有效值。
7956
- # @type UdpFloodPktThreshold: Integer
7957
- # @param AckFloodThreshold: ACK FLOOD流量阈值
7958
- # 注意:此字段可能返回 null,表示取不到有效值。
7959
- # @type AckFloodThreshold: Integer
7960
- # @param AckFloodPktThreshold: ACK FLOOD包量阈值
7961
- # 注意:此字段可能返回 null,表示取不到有效值。
7962
- # @type AckFloodPktThreshold: Integer
7963
- # @param SynAckFloodThreshold: SYNACK FLOOD流量阈值
7964
- # 注意:此字段可能返回 null,表示取不到有效值。
7965
- # @type SynAckFloodThreshold: Integer
7966
- # @param SynAckFloodPktThreshold: SYNACK FLOOD包量阈值
7967
- # 注意:此字段可能返回 null,表示取不到有效值。
7968
- # @type SynAckFloodPktThreshold: Integer
7969
- # @param RstFloodThreshold: RST FLOOD流量阈值
7970
- # 注意:此字段可能返回 null,表示取不到有效值。
7971
- # @type RstFloodThreshold: Integer
7972
- # @param RstFloodPktThreshold: RST FLOOD包量阈值
7973
- # 注意:此字段可能返回 null,表示取不到有效值。
7974
- # @type RstFloodPktThreshold: Integer
7975
-
7976
- attr_accessor :DDoSLevel, :DDoSThreshold, :DDoSAI, :CCEnable, :CCThreshold, :InstanceDetailList, :ListenerCcThresholdList, :SynFloodThreshold, :SynFloodPktThreshold, :UdpFloodThreshold, :UdpFloodPktThreshold, :AckFloodThreshold, :AckFloodPktThreshold, :SynAckFloodThreshold, :SynAckFloodPktThreshold, :RstFloodThreshold, :RstFloodPktThreshold
7977
-
7978
- def initialize(ddoslevel=nil, ddosthreshold=nil, ddosai=nil, ccenable=nil, ccthreshold=nil, instancedetaillist=nil, listenerccthresholdlist=nil, synfloodthreshold=nil, synfloodpktthreshold=nil, udpfloodthreshold=nil, udpfloodpktthreshold=nil, ackfloodthreshold=nil, ackfloodpktthreshold=nil, synackfloodthreshold=nil, synackfloodpktthreshold=nil, rstfloodthreshold=nil, rstfloodpktthreshold=nil)
7979
- @DDoSLevel = ddoslevel
7980
- @DDoSThreshold = ddosthreshold
7981
- @DDoSAI = ddosai
7982
- @CCEnable = ccenable
7983
- @CCThreshold = ccthreshold
7984
- @InstanceDetailList = instancedetaillist
7985
- @ListenerCcThresholdList = listenerccthresholdlist
7986
- @SynFloodThreshold = synfloodthreshold
7987
- @SynFloodPktThreshold = synfloodpktthreshold
7988
- @UdpFloodThreshold = udpfloodthreshold
7989
- @UdpFloodPktThreshold = udpfloodpktthreshold
7990
- @AckFloodThreshold = ackfloodthreshold
7991
- @AckFloodPktThreshold = ackfloodpktthreshold
7992
- @SynAckFloodThreshold = synackfloodthreshold
7993
- @SynAckFloodPktThreshold = synackfloodpktthreshold
7994
- @RstFloodThreshold = rstfloodthreshold
7995
- @RstFloodPktThreshold = rstfloodpktthreshold
7996
- end
7997
-
7998
- def deserialize(params)
7999
- @DDoSLevel = params['DDoSLevel']
8000
- @DDoSThreshold = params['DDoSThreshold']
8001
- @DDoSAI = params['DDoSAI']
8002
- @CCEnable = params['CCEnable']
8003
- @CCThreshold = params['CCThreshold']
8004
- unless params['InstanceDetailList'].nil?
8005
- @InstanceDetailList = []
8006
- params['InstanceDetailList'].each do |i|
8007
- instancerelation_tmp = InstanceRelation.new
8008
- instancerelation_tmp.deserialize(i)
8009
- @InstanceDetailList << instancerelation_tmp
8010
- end
8011
- end
8012
- unless params['ListenerCcThresholdList'].nil?
8013
- @ListenerCcThresholdList = []
8014
- params['ListenerCcThresholdList'].each do |i|
8015
- listenerccthreholdconfig_tmp = ListenerCcThreholdConfig.new
8016
- listenerccthreholdconfig_tmp.deserialize(i)
8017
- @ListenerCcThresholdList << listenerccthreholdconfig_tmp
8018
- end
8019
- end
8020
- @SynFloodThreshold = params['SynFloodThreshold']
8021
- @SynFloodPktThreshold = params['SynFloodPktThreshold']
8022
- @UdpFloodThreshold = params['UdpFloodThreshold']
8023
- @UdpFloodPktThreshold = params['UdpFloodPktThreshold']
8024
- @AckFloodThreshold = params['AckFloodThreshold']
8025
- @AckFloodPktThreshold = params['AckFloodPktThreshold']
8026
- @SynAckFloodThreshold = params['SynAckFloodThreshold']
8027
- @SynAckFloodPktThreshold = params['SynAckFloodPktThreshold']
8028
- @RstFloodThreshold = params['RstFloodThreshold']
8029
- @RstFloodPktThreshold = params['RstFloodPktThreshold']
8030
- end
8031
- end
8032
-
8033
7784
  # 协议封禁配置
8034
7785
  class ProtocolBlockConfig < TencentCloud::Common::AbstractModel
8035
7786
  # @param DropTcp: TCP封禁,取值[0(封禁关),1(封禁开)]
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: 3.0.1024
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-20 00:00:00.000000000 Z
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