tencentcloud-sdk-antiddos 1.0.244 → 1.0.245

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a469ec0d07a39f7c4dd2f773f1612774fda68ad
4
- data.tar.gz: b5f34832e90add3745e120983584b8b9f9b68b8d
3
+ metadata.gz: 9ab0f87fe89e5814a5ee7514f65663a01866fc26
4
+ data.tar.gz: 34b1c484cf95fa078fad5288e5eeeea4f7207712
5
5
  SHA512:
6
- metadata.gz: fe62c801b6366f3fa6fa9af188903b9442eb92db38d0e2ac551540feacf5bf75014cf4027b1a1aaeda0e1982db3a78065ea559deab49dc724822f854289f98c7
7
- data.tar.gz: 748355d496b525c88c87fbb2f7a46c2016a48ed26dae72389bddf4db6c2b433430738c5ca9701e6ce6323c6fa5db22656d17f966dd129a52a8063b94d8b7d46f
6
+ metadata.gz: 0753c67dcdb0b8b042c114b18f69b22f0630d0da6547495482d46411aacc9b4d54d4cef907c7c9e0c79f513321a7dfcbfcd16564dd3266cab49faf2efe8a3c1f
7
+ data.tar.gz: c620a293c8afdff4385fffc5bf694277de262f59209f18b40198414889ae248d6019864f7baf6222553364aadd51e2d4beb56b68870ce63ee7372490d9bc9263
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.244
1
+ 1.0.245
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
+ # 获取DDoS连接抑制配置列表
777
+
778
+ # @param request: Request instance for DescribeDDoSConnectLimitList.
779
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeDDoSConnectLimitListRequest`
780
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeDDoSConnectLimitListResponse`
781
+ def DescribeDDoSConnectLimitList(request)
782
+ body = send_request('DescribeDDoSConnectLimitList', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeDDoSConnectLimitListResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
776
800
  # 获取DDoS攻击流量带宽和攻击包速率数据
777
801
 
778
802
  # @param request: Request instance for DescribeDDoSTrend.
@@ -1061,6 +1085,30 @@ module TencentCloud
1061
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1086
  end
1063
1087
 
1088
+ # 获取DDoS防护的端口acl策略列表
1089
+
1090
+ # @param request: Request instance for DescribeListPortAclList.
1091
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeListPortAclListRequest`
1092
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeListPortAclListResponse`
1093
+ def DescribeListPortAclList(request)
1094
+ body = send_request('DescribeListPortAclList', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeListPortAclListResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1064
1112
  # 获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等
1065
1113
 
1066
1114
  # @param request: Request instance for DescribeListProtectThresholdConfig.
@@ -58,6 +58,36 @@ module TencentCloud
58
58
  end
59
59
  end
60
60
 
61
+ # 端口acl策略配置与高防资源关联
62
+ class AclConfigRelation < TencentCloud::Common::AbstractModel
63
+ # @param AclConfig: acl策略
64
+ # @type AclConfig: :class:`Tencentcloud::Antiddos.v20200309.models.AclConfig`
65
+ # @param InstanceDetailList: 实例列表
66
+ # @type InstanceDetailList: Array
67
+
68
+ attr_accessor :AclConfig, :InstanceDetailList
69
+
70
+ def initialize(aclconfig=nil, instancedetaillist=nil)
71
+ @AclConfig = aclconfig
72
+ @InstanceDetailList = instancedetaillist
73
+ end
74
+
75
+ def deserialize(params)
76
+ unless params['AclConfig'].nil?
77
+ @AclConfig = AclConfig.new
78
+ @AclConfig.deserialize(params['AclConfig'])
79
+ end
80
+ unless params['InstanceDetailList'].nil?
81
+ @InstanceDetailList = []
82
+ params['InstanceDetailList'].each do |i|
83
+ instancerelation_tmp = InstanceRelation.new
84
+ instancerelation_tmp.deserialize(i)
85
+ @InstanceDetailList << instancerelation_tmp
86
+ end
87
+ end
88
+ end
89
+ end
90
+
61
91
  # AssociateDDoSEipAddress请求参数结构体
62
92
  class AssociateDDoSEipAddressRequest < TencentCloud::Common::AbstractModel
63
93
  # @param InstanceId: 资源实例ID,实例ID形如:bgpip-0000011x。只能填写高防IP实例。
@@ -646,6 +676,36 @@ module TencentCloud
646
676
  end
647
677
  end
648
678
 
679
+ # 连接抑制列表
680
+ class ConnectLimitRelation < TencentCloud::Common::AbstractModel
681
+ # @param ConnectLimitConfig: 连接抑制配置
682
+ # @type ConnectLimitConfig: :class:`Tencentcloud::Antiddos.v20200309.models.ConnectLimitConfig`
683
+ # @param InstanceDetailList: 连接抑制关联的实例信息
684
+ # @type InstanceDetailList: Array
685
+
686
+ attr_accessor :ConnectLimitConfig, :InstanceDetailList
687
+
688
+ def initialize(connectlimitconfig=nil, instancedetaillist=nil)
689
+ @ConnectLimitConfig = connectlimitconfig
690
+ @InstanceDetailList = instancedetaillist
691
+ end
692
+
693
+ def deserialize(params)
694
+ unless params['ConnectLimitConfig'].nil?
695
+ @ConnectLimitConfig = ConnectLimitConfig.new
696
+ @ConnectLimitConfig.deserialize(params['ConnectLimitConfig'])
697
+ end
698
+ unless params['InstanceDetailList'].nil?
699
+ @InstanceDetailList = []
700
+ params['InstanceDetailList'].each do |i|
701
+ instancerelation_tmp = InstanceRelation.new
702
+ instancerelation_tmp.deserialize(i)
703
+ @InstanceDetailList << instancerelation_tmp
704
+ end
705
+ end
706
+ end
707
+ end
708
+
649
709
  # CreateBlackWhiteIpList请求参数结构体
650
710
  class CreateBlackWhiteIpListRequest < TencentCloud::Common::AbstractModel
651
711
  # @param InstanceId: 资源实例ID
@@ -2143,6 +2203,65 @@ module TencentCloud
2143
2203
  end
2144
2204
  end
2145
2205
 
2206
+ # DescribeDDoSConnectLimitList请求参数结构体
2207
+ class DescribeDDoSConnectLimitListRequest < TencentCloud::Common::AbstractModel
2208
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
2209
+ # @type Offset: Integer
2210
+ # @param Limit: 一页条数
2211
+ # @type Limit: Integer
2212
+ # @param FilterIp: 可选参数,按照IP进行过滤
2213
+ # @type FilterIp: String
2214
+ # @param FilterInstanceId: 可选参数,按照实例id进行过滤
2215
+ # @type FilterInstanceId: String
2216
+
2217
+ attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId
2218
+
2219
+ def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil)
2220
+ @Offset = offset
2221
+ @Limit = limit
2222
+ @FilterIp = filterip
2223
+ @FilterInstanceId = filterinstanceid
2224
+ end
2225
+
2226
+ def deserialize(params)
2227
+ @Offset = params['Offset']
2228
+ @Limit = params['Limit']
2229
+ @FilterIp = params['FilterIp']
2230
+ @FilterInstanceId = params['FilterInstanceId']
2231
+ end
2232
+ end
2233
+
2234
+ # DescribeDDoSConnectLimitList返回参数结构体
2235
+ class DescribeDDoSConnectLimitListResponse < TencentCloud::Common::AbstractModel
2236
+ # @param Total: 连接抑制配置总数
2237
+ # @type Total: Integer
2238
+ # @param ConfigList: 连接抑制配置详情信息
2239
+ # @type ConfigList: Array
2240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2241
+ # @type RequestId: String
2242
+
2243
+ attr_accessor :Total, :ConfigList, :RequestId
2244
+
2245
+ def initialize(total=nil, configlist=nil, requestid=nil)
2246
+ @Total = total
2247
+ @ConfigList = configlist
2248
+ @RequestId = requestid
2249
+ end
2250
+
2251
+ def deserialize(params)
2252
+ @Total = params['Total']
2253
+ unless params['ConfigList'].nil?
2254
+ @ConfigList = []
2255
+ params['ConfigList'].each do |i|
2256
+ connectlimitrelation_tmp = ConnectLimitRelation.new
2257
+ connectlimitrelation_tmp.deserialize(i)
2258
+ @ConfigList << connectlimitrelation_tmp
2259
+ end
2260
+ end
2261
+ @RequestId = params['RequestId']
2262
+ end
2263
+ end
2264
+
2146
2265
  # DescribeDDoSTrend请求参数结构体
2147
2266
  class DescribeDDoSTrendRequest < TencentCloud::Common::AbstractModel
2148
2267
  # @param Business: 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版;basic表示DDoS基础防护)
@@ -2918,6 +3037,65 @@ module TencentCloud
2918
3037
  end
2919
3038
  end
2920
3039
 
3040
+ # DescribeListPortAclList请求参数结构体
3041
+ class DescribeListPortAclListRequest < TencentCloud::Common::AbstractModel
3042
+ # @param Offset: 页起始偏移,取值为(页码-1)*一页条数
3043
+ # @type Offset: Integer
3044
+ # @param Limit: 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
3045
+ # @type Limit: Integer
3046
+ # @param FilterInstanceId: 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
3047
+ # @type FilterInstanceId: String
3048
+ # @param FilterIp: ip搜索
3049
+ # @type FilterIp: String
3050
+
3051
+ attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterIp
3052
+
3053
+ def initialize(offset=nil, limit=nil, filterinstanceid=nil, filterip=nil)
3054
+ @Offset = offset
3055
+ @Limit = limit
3056
+ @FilterInstanceId = filterinstanceid
3057
+ @FilterIp = filterip
3058
+ end
3059
+
3060
+ def deserialize(params)
3061
+ @Offset = params['Offset']
3062
+ @Limit = params['Limit']
3063
+ @FilterInstanceId = params['FilterInstanceId']
3064
+ @FilterIp = params['FilterIp']
3065
+ end
3066
+ end
3067
+
3068
+ # DescribeListPortAclList返回参数结构体
3069
+ class DescribeListPortAclListResponse < TencentCloud::Common::AbstractModel
3070
+ # @param Total: 总数
3071
+ # @type Total: Integer
3072
+ # @param AclList: 端口acl策略
3073
+ # @type AclList: Array
3074
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3075
+ # @type RequestId: String
3076
+
3077
+ attr_accessor :Total, :AclList, :RequestId
3078
+
3079
+ def initialize(total=nil, acllist=nil, requestid=nil)
3080
+ @Total = total
3081
+ @AclList = acllist
3082
+ @RequestId = requestid
3083
+ end
3084
+
3085
+ def deserialize(params)
3086
+ @Total = params['Total']
3087
+ unless params['AclList'].nil?
3088
+ @AclList = []
3089
+ params['AclList'].each do |i|
3090
+ aclconfigrelation_tmp = AclConfigRelation.new
3091
+ aclconfigrelation_tmp.deserialize(i)
3092
+ @AclList << aclconfigrelation_tmp
3093
+ end
3094
+ end
3095
+ @RequestId = params['RequestId']
3096
+ end
3097
+ end
3098
+
2921
3099
  # DescribeListProtectThresholdConfig请求参数结构体
2922
3100
  class DescribeListProtectThresholdConfigRequest < TencentCloud::Common::AbstractModel
2923
3101
  # @param Offset: 页起始偏移,取值为(页码-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: 1.0.244
4
+ version: 1.0.245
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-01-18 00:00:00.000000000 Z
11
+ date: 2022-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common