tencentcloud-sdk-cfw 3.0.1097 → 3.0.1145

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: 360964e0fd99501e5838b3bc4080803e1a38d9f7
4
- data.tar.gz: 0401b85f67c8f14f9c81794c585a7c050d783463
3
+ metadata.gz: 9ed4fe975a2de19392f0ecad6bbbc1c1b05f58c0
4
+ data.tar.gz: dc4557a6982f7ae6d318de50bd79183eea8e1738
5
5
  SHA512:
6
- metadata.gz: 89831c9c8d0c42a57492eb34976ae540537ecb144affdf53e818c56e8a02f6d12e39e690d7ae42875fdbd6f0e6453a24828feeb287c173bbe43f6e045245c461
7
- data.tar.gz: 37dae7ca328b946a87f0a3dc853bbef6f0e74fa3d63abe4a4681f6456e7f12deef67aeb063549b0323ba34c0ecba1099b0ec77223f1ae79417cda20d2dbe9faa
6
+ metadata.gz: 0ae99dc970b4eb3fe76744cb5792c7edc3fedfef10ad6ea5e8b51c53996535d67182eef05d6188353470f9ecbd6897842c3d9ab15f77b3651d6e1f2907e4b526
7
+ data.tar.gz: 549f30ae806f07d5c0f94c63305470301d06dd9424b3fecd3792b828aabf2af6d82fe4897986f585560b1473b809b6cc175bbb2d273076632ffd6de4ec48fd0f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1097
1
+ 3.0.1145
@@ -341,32 +341,6 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
- # CreateIdsWhiteRule
345
-
346
- # 创建入侵防御规则白名单接口
347
-
348
- # @param request: Request instance for CreateIdsWhiteRule.
349
- # @type request: :class:`Tencentcloud::cfw::V20190904::CreateIdsWhiteRuleRequest`
350
- # @rtype: :class:`Tencentcloud::cfw::V20190904::CreateIdsWhiteRuleResponse`
351
- def CreateIdsWhiteRule(request)
352
- body = send_request('CreateIdsWhiteRule', request.serialize)
353
- response = JSON.parse(body)
354
- if response['Response'].key?('Error') == false
355
- model = CreateIdsWhiteRuleResponse.new
356
- model.deserialize(response['Response'])
357
- model
358
- else
359
- code = response['Response']['Error']['Code']
360
- message = response['Response']['Error']['Message']
361
- reqid = response['Response']['RequestId']
362
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
363
- end
364
- rescue TencentCloud::Common::TencentCloudSDKException => e
365
- raise e
366
- rescue StandardError => e
367
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
368
- end
369
-
370
344
  # 创建NAT防火墙实例(Region参数必填)
371
345
 
372
346
  # @param request: Request instance for CreateNatFwInstance.
@@ -583,32 +557,6 @@ module TencentCloud
583
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
584
558
  end
585
559
 
586
- # 历史方案,业务已迁移,接口不再适用
587
-
588
- # 删除入侵防御规则白名单接口
589
-
590
- # @param request: Request instance for DeleteIdsWhiteRule.
591
- # @type request: :class:`Tencentcloud::cfw::V20190904::DeleteIdsWhiteRuleRequest`
592
- # @rtype: :class:`Tencentcloud::cfw::V20190904::DeleteIdsWhiteRuleResponse`
593
- def DeleteIdsWhiteRule(request)
594
- body = send_request('DeleteIdsWhiteRule', request.serialize)
595
- response = JSON.parse(body)
596
- if response['Response'].key?('Error') == false
597
- model = DeleteIdsWhiteRuleResponse.new
598
- model.deserialize(response['Response'])
599
- model
600
- else
601
- code = response['Response']['Error']['Code']
602
- message = response['Response']['Error']['Message']
603
- reqid = response['Response']['RequestId']
604
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
605
- end
606
- rescue TencentCloud::Common::TencentCloudSDKException => e
607
- raise e
608
- rescue StandardError => e
609
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
610
- end
611
-
612
560
  # 销毁防火墙实例
613
561
 
614
562
  # @param request: Request instance for DeleteNatFwInstance.
@@ -1185,32 +1133,6 @@ module TencentCloud
1185
1133
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1186
1134
  end
1187
1135
 
1188
- # 历史方案,业务已迁移,接口不再适用
1189
-
1190
- # 查询入侵防御规则白名单接口
1191
-
1192
- # @param request: Request instance for DescribeIdsWhiteRule.
1193
- # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeIdsWhiteRuleRequest`
1194
- # @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeIdsWhiteRuleResponse`
1195
- def DescribeIdsWhiteRule(request)
1196
- body = send_request('DescribeIdsWhiteRule', request.serialize)
1197
- response = JSON.parse(body)
1198
- if response['Response'].key?('Error') == false
1199
- model = DescribeIdsWhiteRuleResponse.new
1200
- model.deserialize(response['Response'])
1201
- model
1202
- else
1203
- code = response['Response']['Error']['Code']
1204
- message = response['Response']['Error']['Message']
1205
- reqid = response['Response']['RequestId']
1206
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1207
- end
1208
- rescue TencentCloud::Common::TencentCloudSDKException => e
1209
- raise e
1210
- rescue StandardError => e
1211
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1212
- end
1213
-
1214
1136
  # 租户日志存储统计
1215
1137
 
1216
1138
  # @param request: Request instance for DescribeLogStorageStatistic.
@@ -1183,7 +1183,7 @@ module TencentCloud
1183
1183
  # @type Rules: Array
1184
1184
  # @param RuleType: RuleType: 1黑名单 2外部IP 3域名 4情报 5资产 6自定义规则 7入侵防御规则
1185
1185
  # @type RuleType: Integer
1186
- # @param CoverDuplicate: 是否覆盖重复数据,1覆盖,非1不覆盖,跳过重复数据
1186
+ # @param CoverDuplicate: 删除白名单冲突地址并继续添加/删除封禁列表冲突地址并继续添加;表示是否覆盖重复数据,1为覆盖,非1不覆盖,跳过重复数据
1187
1187
  # @type CoverDuplicate: Integer
1188
1188
 
1189
1189
  attr_accessor :Rules, :RuleType, :CoverDuplicate
@@ -1310,79 +1310,6 @@ module TencentCloud
1310
1310
  end
1311
1311
  end
1312
1312
 
1313
- # CreateIdsWhiteRule请求参数结构体
1314
- class CreateIdsWhiteRuleRequest < TencentCloud::Common::AbstractModel
1315
- # @param IdsRuleId: 入侵防御规则ID
1316
- # @type IdsRuleId: String
1317
- # @param WhiteRuleType: 白名单类型:
1318
- # src 针对源放通
1319
- # dst 针对目的放通
1320
- # srcdst 针对源和目的放通
1321
- # @type WhiteRuleType: String
1322
- # @param FwType: 白名单生效防火墙范围:
1323
- # 1 边界防火墙
1324
- # 2 nat防火墙
1325
- # 4 vpc防火墙
1326
- # 7 = 1+2+4 所有防火墙
1327
- # @type FwType: Integer
1328
- # @param SrcIp: 源IP
1329
- # @type SrcIp: String
1330
- # @param DstIp: 目的IP
1331
- # @type DstIp: String
1332
-
1333
- attr_accessor :IdsRuleId, :WhiteRuleType, :FwType, :SrcIp, :DstIp
1334
-
1335
- def initialize(idsruleid=nil, whiteruletype=nil, fwtype=nil, srcip=nil, dstip=nil)
1336
- @IdsRuleId = idsruleid
1337
- @WhiteRuleType = whiteruletype
1338
- @FwType = fwtype
1339
- @SrcIp = srcip
1340
- @DstIp = dstip
1341
- end
1342
-
1343
- def deserialize(params)
1344
- @IdsRuleId = params['IdsRuleId']
1345
- @WhiteRuleType = params['WhiteRuleType']
1346
- @FwType = params['FwType']
1347
- @SrcIp = params['SrcIp']
1348
- @DstIp = params['DstIp']
1349
- end
1350
- end
1351
-
1352
- # CreateIdsWhiteRule返回参数结构体
1353
- class CreateIdsWhiteRuleResponse < TencentCloud::Common::AbstractModel
1354
- # @param ReturnCode: 返回状态码:
1355
- # 0 成功
1356
- # 非0 失败
1357
- # @type ReturnCode: Integer
1358
- # @param ReturnMsg: 返回信息:
1359
- # success 成功
1360
- # 其他
1361
- # @type ReturnMsg: String
1362
- # @param Status: 返回状态码:
1363
- # 0 处置成功
1364
- # -1 通用错误,不用处理
1365
- # @type Status: Integer
1366
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1367
- # @type RequestId: String
1368
-
1369
- attr_accessor :ReturnCode, :ReturnMsg, :Status, :RequestId
1370
-
1371
- def initialize(returncode=nil, returnmsg=nil, status=nil, requestid=nil)
1372
- @ReturnCode = returncode
1373
- @ReturnMsg = returnmsg
1374
- @Status = status
1375
- @RequestId = requestid
1376
- end
1377
-
1378
- def deserialize(params)
1379
- @ReturnCode = params['ReturnCode']
1380
- @ReturnMsg = params['ReturnMsg']
1381
- @Status = params['Status']
1382
- @RequestId = params['RequestId']
1383
- end
1384
- end
1385
-
1386
1313
  # CreateNatFwInstance请求参数结构体
1387
1314
  class CreateNatFwInstanceRequest < TencentCloud::Common::AbstractModel
1388
1315
  # @param Name: 防火墙实例名称
@@ -2149,57 +2076,6 @@ module TencentCloud
2149
2076
  end
2150
2077
  end
2151
2078
 
2152
- # DeleteIdsWhiteRule请求参数结构体
2153
- class DeleteIdsWhiteRuleRequest < TencentCloud::Common::AbstractModel
2154
- # @param Id: 入侵防御白名单id
2155
- # 参考DescribeIdsWhiteRule接口返回的Id字段
2156
- # @type Id: Integer
2157
-
2158
- attr_accessor :Id
2159
-
2160
- def initialize(id=nil)
2161
- @Id = id
2162
- end
2163
-
2164
- def deserialize(params)
2165
- @Id = params['Id']
2166
- end
2167
- end
2168
-
2169
- # DeleteIdsWhiteRule返回参数结构体
2170
- class DeleteIdsWhiteRuleResponse < TencentCloud::Common::AbstractModel
2171
- # @param ReturnCode: 返回状态码:
2172
- # 0 成功
2173
- # 非0 失败
2174
- # @type ReturnCode: Integer
2175
- # @param ReturnMsg: 返回信息:
2176
- # success 成功
2177
- # 其他
2178
- # @type ReturnMsg: String
2179
- # @param Status: 返回状态码:
2180
- # 0 处置成功
2181
- # -1 通用错误,不用处理
2182
- # @type Status: Integer
2183
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2184
- # @type RequestId: String
2185
-
2186
- attr_accessor :ReturnCode, :ReturnMsg, :Status, :RequestId
2187
-
2188
- def initialize(returncode=nil, returnmsg=nil, status=nil, requestid=nil)
2189
- @ReturnCode = returncode
2190
- @ReturnMsg = returnmsg
2191
- @Status = status
2192
- @RequestId = requestid
2193
- end
2194
-
2195
- def deserialize(params)
2196
- @ReturnCode = params['ReturnCode']
2197
- @ReturnMsg = params['ReturnMsg']
2198
- @Status = params['Status']
2199
- @RequestId = params['RequestId']
2200
- end
2201
- end
2202
-
2203
2079
  # DeleteNatFwInstance请求参数结构体
2204
2080
  class DeleteNatFwInstanceRequest < TencentCloud::Common::AbstractModel
2205
2081
  # @param CfwInstance: 防火墙实例id
@@ -2467,10 +2343,14 @@ module TencentCloud
2467
2343
  # @type CountryKey: String
2468
2344
  # @param CityKey: 省份、城市简称
2469
2345
  # @type CityKey: String
2346
+ # @param CreateTime: 规则创建时间
2347
+ # @type CreateTime: String
2348
+ # @param UpdateTime: 规则最近更新时间
2349
+ # @type UpdateTime: String
2470
2350
 
2471
- attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :ScopeDesc, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName, :LastHitTime, :CountryKey, :CityKey
2351
+ attr_accessor :SourceContent, :TargetContent, :Protocol, :Port, :RuleAction, :Description, :Count, :OrderIndex, :SourceType, :TargetType, :Uuid, :Invalid, :IsRegion, :CountryCode, :CityCode, :CountryName, :CityName, :CloudCode, :IsCloud, :Enable, :Direction, :InstanceName, :InternalUuid, :Status, :BetaList, :Scope, :ScopeDesc, :InternetBorderUuid, :ParamTemplateName, :ParamTemplateId, :SourceName, :TargetName, :LastHitTime, :CountryKey, :CityKey, :CreateTime, :UpdateTime
2472
2352
 
2473
- def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, scopedesc=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil, sourcename=nil, targetname=nil, lasthittime=nil, countrykey=nil, citykey=nil)
2353
+ def initialize(sourcecontent=nil, targetcontent=nil, protocol=nil, port=nil, ruleaction=nil, description=nil, count=nil, orderindex=nil, sourcetype=nil, targettype=nil, uuid=nil, invalid=nil, isregion=nil, countrycode=nil, citycode=nil, countryname=nil, cityname=nil, cloudcode=nil, iscloud=nil, enable=nil, direction=nil, instancename=nil, internaluuid=nil, status=nil, betalist=nil, scope=nil, scopedesc=nil, internetborderuuid=nil, paramtemplatename=nil, paramtemplateid=nil, sourcename=nil, targetname=nil, lasthittime=nil, countrykey=nil, citykey=nil, createtime=nil, updatetime=nil)
2474
2354
  @SourceContent = sourcecontent
2475
2355
  @TargetContent = targetcontent
2476
2356
  @Protocol = protocol
@@ -2506,6 +2386,8 @@ module TencentCloud
2506
2386
  @LastHitTime = lasthittime
2507
2387
  @CountryKey = countrykey
2508
2388
  @CityKey = citykey
2389
+ @CreateTime = createtime
2390
+ @UpdateTime = updatetime
2509
2391
  end
2510
2392
 
2511
2393
  def deserialize(params)
@@ -2551,6 +2433,8 @@ module TencentCloud
2551
2433
  @LastHitTime = params['LastHitTime']
2552
2434
  @CountryKey = params['CountryKey']
2553
2435
  @CityKey = params['CityKey']
2436
+ @CreateTime = params['CreateTime']
2437
+ @UpdateTime = params['UpdateTime']
2554
2438
  end
2555
2439
  end
2556
2440
 
@@ -3909,84 +3793,6 @@ module TencentCloud
3909
3793
  end
3910
3794
  end
3911
3795
 
3912
- # DescribeIdsWhiteRule请求参数结构体
3913
- class DescribeIdsWhiteRuleRequest < TencentCloud::Common::AbstractModel
3914
- # @param Limit: 每页条数
3915
- # @type Limit: Integer
3916
- # @param Offset: 偏移值
3917
- # @type Offset: Integer
3918
- # @param Filters: 过滤条件组合
3919
- # @type Filters: Array
3920
- # @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
3921
- # @type Order: String
3922
- # @param By: 排序所用到的字段
3923
- # @type By: String
3924
-
3925
- attr_accessor :Limit, :Offset, :Filters, :Order, :By
3926
-
3927
- def initialize(limit=nil, offset=nil, filters=nil, order=nil, by=nil)
3928
- @Limit = limit
3929
- @Offset = offset
3930
- @Filters = filters
3931
- @Order = order
3932
- @By = by
3933
- end
3934
-
3935
- def deserialize(params)
3936
- @Limit = params['Limit']
3937
- @Offset = params['Offset']
3938
- unless params['Filters'].nil?
3939
- @Filters = []
3940
- params['Filters'].each do |i|
3941
- commonfilter_tmp = CommonFilter.new
3942
- commonfilter_tmp.deserialize(i)
3943
- @Filters << commonfilter_tmp
3944
- end
3945
- end
3946
- @Order = params['Order']
3947
- @By = params['By']
3948
- end
3949
- end
3950
-
3951
- # DescribeIdsWhiteRule返回参数结构体
3952
- class DescribeIdsWhiteRuleResponse < TencentCloud::Common::AbstractModel
3953
- # @param Total: 总条数
3954
- # @type Total: Integer
3955
- # @param Data: 规则详情
3956
- # @type Data: Array
3957
- # @param ReturnCode: 返回状态码 0 成功 非0不成功
3958
- # @type ReturnCode: Integer
3959
- # @param ReturnMsg: 返回信息 success 成功 其他 不成功
3960
- # @type ReturnMsg: String
3961
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3962
- # @type RequestId: String
3963
-
3964
- attr_accessor :Total, :Data, :ReturnCode, :ReturnMsg, :RequestId
3965
-
3966
- def initialize(total=nil, data=nil, returncode=nil, returnmsg=nil, requestid=nil)
3967
- @Total = total
3968
- @Data = data
3969
- @ReturnCode = returncode
3970
- @ReturnMsg = returnmsg
3971
- @RequestId = requestid
3972
- end
3973
-
3974
- def deserialize(params)
3975
- @Total = params['Total']
3976
- unless params['Data'].nil?
3977
- @Data = []
3978
- params['Data'].each do |i|
3979
- idswhiteinfo_tmp = IdsWhiteInfo.new
3980
- idswhiteinfo_tmp.deserialize(i)
3981
- @Data << idswhiteinfo_tmp
3982
- end
3983
- end
3984
- @ReturnCode = params['ReturnCode']
3985
- @ReturnMsg = params['ReturnMsg']
3986
- @RequestId = params['RequestId']
3987
- end
3988
- end
3989
-
3990
3796
  # DescribeLogStorageStatistic请求参数结构体
3991
3797
  class DescribeLogStorageStatisticRequest < TencentCloud::Common::AbstractModel
3992
3798
 
@@ -4028,12 +3834,18 @@ module TencentCloud
4028
3834
  # @type TimeHistogramShow: :class:`Tencentcloud::Cfw.v20190904.models.StorageHistogramShow`
4029
3835
  # @param ArrearsStopWriting: 后付费模式存储状态,0正常,1欠费停止写入
4030
3836
  # @type ArrearsStopWriting: Integer
3837
+ # @param NDRNetFlowSize: NDR流量日志存储量,单位B
3838
+ # @type NDRNetFlowSize: Integer
3839
+ # @param NDRRiskSize: NDR风险日志存储量,单位B
3840
+ # @type NDRRiskSize: Integer
3841
+ # @param NDRStorageDay: NDR日志存储天数
3842
+ # @type NDRStorageDay: Integer
4031
3843
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4032
3844
  # @type RequestId: String
4033
3845
 
4034
- attr_accessor :ReturnCode, :ReturnMsg, :UsedSize, :TotalSize, :StorageDay, :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :LeftSize, :PayMode, :TimeHistogram, :TimeHistogramShow, :ArrearsStopWriting, :RequestId
3846
+ attr_accessor :ReturnCode, :ReturnMsg, :UsedSize, :TotalSize, :StorageDay, :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :LeftSize, :PayMode, :TimeHistogram, :TimeHistogramShow, :ArrearsStopWriting, :NDRNetFlowSize, :NDRRiskSize, :NDRStorageDay, :RequestId
4035
3847
 
4036
- def initialize(returncode=nil, returnmsg=nil, usedsize=nil, totalsize=nil, storageday=nil, aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, leftsize=nil, paymode=nil, timehistogram=nil, timehistogramshow=nil, arrearsstopwriting=nil, requestid=nil)
3848
+ def initialize(returncode=nil, returnmsg=nil, usedsize=nil, totalsize=nil, storageday=nil, aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, leftsize=nil, paymode=nil, timehistogram=nil, timehistogramshow=nil, arrearsstopwriting=nil, ndrnetflowsize=nil, ndrrisksize=nil, ndrstorageday=nil, requestid=nil)
4037
3849
  @ReturnCode = returncode
4038
3850
  @ReturnMsg = returnmsg
4039
3851
  @UsedSize = usedsize
@@ -4048,6 +3860,9 @@ module TencentCloud
4048
3860
  @TimeHistogram = timehistogram
4049
3861
  @TimeHistogramShow = timehistogramshow
4050
3862
  @ArrearsStopWriting = arrearsstopwriting
3863
+ @NDRNetFlowSize = ndrnetflowsize
3864
+ @NDRRiskSize = ndrrisksize
3865
+ @NDRStorageDay = ndrstorageday
4051
3866
  @RequestId = requestid
4052
3867
  end
4053
3868
 
@@ -4076,6 +3891,9 @@ module TencentCloud
4076
3891
  @TimeHistogramShow.deserialize(params['TimeHistogramShow'])
4077
3892
  end
4078
3893
  @ArrearsStopWriting = params['ArrearsStopWriting']
3894
+ @NDRNetFlowSize = params['NDRNetFlowSize']
3895
+ @NDRRiskSize = params['NDRRiskSize']
3896
+ @NDRStorageDay = params['NDRStorageDay']
4079
3897
  @RequestId = params['RequestId']
4080
3898
  end
4081
3899
  end
@@ -5640,10 +5458,14 @@ module TencentCloud
5640
5458
  # @type Id: Integer
5641
5459
  # @param DnsParseCount: 域名解析的IP统计
5642
5460
  # @type DnsParseCount: :class:`Tencentcloud::Cfw.v20190904.models.SgDnsParseCount`
5461
+ # @param CreateTime: 规则创建时间
5462
+ # @type CreateTime: String
5463
+ # @param UpdateTime: 规则最近更新时间
5464
+ # @type UpdateTime: String
5643
5465
 
5644
- attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id, :DnsParseCount
5466
+ attr_accessor :OrderIndex, :RuleUuid, :Uuid, :SourceId, :SourceType, :TargetId, :TargetType, :Protocol, :Port, :Strategy, :Status, :Detail, :AclTags, :IsNew, :Region, :IsDelay, :ServiceTemplateId, :SouInstanceName, :SouPublicIp, :SouPrivateIp, :SouCidr, :SouParameterName, :InstanceName, :PublicIp, :PrivateIp, :Cidr, :ParameterName, :ProtocolPortName, :BetaList, :Id, :DnsParseCount, :CreateTime, :UpdateTime
5645
5467
 
5646
- def initialize(orderindex=nil, ruleuuid=nil, uuid=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, status=nil, detail=nil, acltags=nil, isnew=nil, region=nil, isdelay=nil, servicetemplateid=nil, souinstancename=nil, soupublicip=nil, souprivateip=nil, soucidr=nil, souparametername=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, parametername=nil, protocolportname=nil, betalist=nil, id=nil, dnsparsecount=nil)
5468
+ def initialize(orderindex=nil, ruleuuid=nil, uuid=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, status=nil, detail=nil, acltags=nil, isnew=nil, region=nil, isdelay=nil, servicetemplateid=nil, souinstancename=nil, soupublicip=nil, souprivateip=nil, soucidr=nil, souparametername=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, parametername=nil, protocolportname=nil, betalist=nil, id=nil, dnsparsecount=nil, createtime=nil, updatetime=nil)
5647
5469
  @OrderIndex = orderindex
5648
5470
  @RuleUuid = ruleuuid
5649
5471
  @Uuid = uuid
@@ -5675,6 +5497,8 @@ module TencentCloud
5675
5497
  @BetaList = betalist
5676
5498
  @Id = id
5677
5499
  @DnsParseCount = dnsparsecount
5500
+ @CreateTime = createtime
5501
+ @UpdateTime = updatetime
5678
5502
  end
5679
5503
 
5680
5504
  def deserialize(params)
@@ -5719,6 +5543,8 @@ module TencentCloud
5719
5543
  @DnsParseCount = SgDnsParseCount.new
5720
5544
  @DnsParseCount.deserialize(params['DnsParseCount'])
5721
5545
  end
5546
+ @CreateTime = params['CreateTime']
5547
+ @UpdateTime = params['UpdateTime']
5722
5548
  end
5723
5549
  end
5724
5550
 
@@ -6047,42 +5873,6 @@ module TencentCloud
6047
5873
  end
6048
5874
  end
6049
5875
 
6050
- # 入侵防御规则白名单详情
6051
- class IdsWhiteInfo < TencentCloud::Common::AbstractModel
6052
- # @param Id: 白名单唯一ID
6053
- # @type Id: Integer
6054
- # @param SrcIp: 源IP
6055
- # @type SrcIp: String
6056
- # @param DstIp: 目的IP
6057
- # @type DstIp: String
6058
- # @param WhiteRuleType: 规则类型
6059
- # @type WhiteRuleType: String
6060
- # @param FwType: 白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙
6061
- # @type FwType: Integer
6062
- # @param RuleId: 入侵防御规则ID
6063
- # @type RuleId: String
6064
-
6065
- attr_accessor :Id, :SrcIp, :DstIp, :WhiteRuleType, :FwType, :RuleId
6066
-
6067
- def initialize(id=nil, srcip=nil, dstip=nil, whiteruletype=nil, fwtype=nil, ruleid=nil)
6068
- @Id = id
6069
- @SrcIp = srcip
6070
- @DstIp = dstip
6071
- @WhiteRuleType = whiteruletype
6072
- @FwType = fwtype
6073
- @RuleId = ruleid
6074
- end
6075
-
6076
- def deserialize(params)
6077
- @Id = params['Id']
6078
- @SrcIp = params['SrcIp']
6079
- @DstIp = params['DstIp']
6080
- @WhiteRuleType = params['WhiteRuleType']
6081
- @FwType = params['FwType']
6082
- @RuleId = params['RuleId']
6083
- end
6084
- end
6085
-
6086
5876
  # 实例详情结果
6087
5877
  class InstanceInfo < TencentCloud::Common::AbstractModel
6088
5878
  # @param AppId: appid信息
@@ -6474,8 +6264,7 @@ module TencentCloud
6474
6264
  # @param IpString: Type为1,ip模板eg:1.1.1.1,2.2.2.2;
6475
6265
  # Type为5,域名模板eg:www.qq.com,www.tencent.com
6476
6266
  # @type IpString: String
6477
- # @param Type: 1 ip模板
6478
- # 5 域名模板
6267
+ # @param Type: 1 ip模板 5 域名模板
6479
6268
  # @type Type: Integer
6480
6269
  # @param ProtocolType: 协议端口模板,协议类型,4:4层协议,7:7层协议。Type=6时必填。
6481
6270
  # @type ProtocolType: String
@@ -6507,20 +6296,24 @@ module TencentCloud
6507
6296
  # @type Status: Integer
6508
6297
  # @param Uuid: 唯一Id
6509
6298
  # @type Uuid: String
6299
+ # @param RuleLimitNum: 规则数上限配置
6300
+ # @type RuleLimitNum: Integer
6510
6301
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6511
6302
  # @type RequestId: String
6512
6303
 
6513
- attr_accessor :Status, :Uuid, :RequestId
6304
+ attr_accessor :Status, :Uuid, :RuleLimitNum, :RequestId
6514
6305
 
6515
- def initialize(status=nil, uuid=nil, requestid=nil)
6306
+ def initialize(status=nil, uuid=nil, rulelimitnum=nil, requestid=nil)
6516
6307
  @Status = status
6517
6308
  @Uuid = uuid
6309
+ @RuleLimitNum = rulelimitnum
6518
6310
  @RequestId = requestid
6519
6311
  end
6520
6312
 
6521
6313
  def deserialize(params)
6522
6314
  @Status = params['Status']
6523
6315
  @Uuid = params['Uuid']
6316
+ @RuleLimitNum = params['RuleLimitNum']
6524
6317
  @RequestId = params['RequestId']
6525
6318
  end
6526
6319
  end
@@ -6601,18 +6394,22 @@ module TencentCloud
6601
6394
  class ModifyAllRuleStatusResponse < TencentCloud::Common::AbstractModel
6602
6395
  # @param Status: 0: 修改成功, 其他: 修改失败
6603
6396
  # @type Status: Integer
6397
+ # @param RuleLimitNum: 规则限制数量
6398
+ # @type RuleLimitNum: Integer
6604
6399
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6605
6400
  # @type RequestId: String
6606
6401
 
6607
- attr_accessor :Status, :RequestId
6402
+ attr_accessor :Status, :RuleLimitNum, :RequestId
6608
6403
 
6609
- def initialize(status=nil, requestid=nil)
6404
+ def initialize(status=nil, rulelimitnum=nil, requestid=nil)
6610
6405
  @Status = status
6406
+ @RuleLimitNum = rulelimitnum
6611
6407
  @RequestId = requestid
6612
6408
  end
6613
6409
 
6614
6410
  def deserialize(params)
6615
6411
  @Status = params['Status']
6412
+ @RuleLimitNum = params['RuleLimitNum']
6616
6413
  @RequestId = params['RequestId']
6617
6414
  end
6618
6415
  end
@@ -9561,15 +9358,21 @@ module TencentCloud
9561
9358
  # @param Time: 统计时间
9562
9359
  # 注意:此字段可能返回 null,表示取不到有效值。
9563
9360
  # @type Time: String
9361
+ # @param NDRNetflowSize: NDR流量日志存储量,单位B
9362
+ # @type NDRNetflowSize: Integer
9363
+ # @param NDRRiskSize: NDR风险日志存储量,单位B
9364
+ # @type NDRRiskSize: Integer
9564
9365
 
9565
- attr_accessor :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :Time
9366
+ attr_accessor :AclSize, :IdsSize, :NetFlowSize, :OperateSize, :Time, :NDRNetflowSize, :NDRRiskSize
9566
9367
 
9567
- def initialize(aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, time=nil)
9368
+ def initialize(aclsize=nil, idssize=nil, netflowsize=nil, operatesize=nil, time=nil, ndrnetflowsize=nil, ndrrisksize=nil)
9568
9369
  @AclSize = aclsize
9569
9370
  @IdsSize = idssize
9570
9371
  @NetFlowSize = netflowsize
9571
9372
  @OperateSize = operatesize
9572
9373
  @Time = time
9374
+ @NDRNetflowSize = ndrnetflowsize
9375
+ @NDRRiskSize = ndrrisksize
9573
9376
  end
9574
9377
 
9575
9378
  def deserialize(params)
@@ -9578,6 +9381,8 @@ module TencentCloud
9578
9381
  @NetFlowSize = params['NetFlowSize']
9579
9382
  @OperateSize = params['OperateSize']
9580
9383
  @Time = params['Time']
9384
+ @NDRNetflowSize = params['NDRNetflowSize']
9385
+ @NDRRiskSize = params['NDRRiskSize']
9581
9386
  end
9582
9387
  end
9583
9388
 
@@ -10369,10 +10174,14 @@ module TencentCloud
10369
10174
  # @type IpVersion: Integer
10370
10175
  # @param Invalid: 是否是无效规则,0 表示有效规则,1 表示无效规则,出参场景返回使用
10371
10176
  # @type Invalid: Integer
10177
+ # @param CreateTime: 规则创建时间
10178
+ # @type CreateTime: String
10179
+ # @param UpdateTime: 规则最近更新时间
10180
+ # @type UpdateTime: String
10372
10181
 
10373
- attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion, :Invalid
10182
+ attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion, :Invalid, :CreateTime, :UpdateTime
10374
10183
 
10375
- def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil, invalid=nil)
10184
+ def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil, invalid=nil, createtime=nil, updatetime=nil)
10376
10185
  @SourceContent = sourcecontent
10377
10186
  @SourceType = sourcetype
10378
10187
  @DestContent = destcontent
@@ -10398,6 +10207,8 @@ module TencentCloud
10398
10207
  @SourceName = sourcename
10399
10208
  @IpVersion = ipversion
10400
10209
  @Invalid = invalid
10210
+ @CreateTime = createtime
10211
+ @UpdateTime = updatetime
10401
10212
  end
10402
10213
 
10403
10214
  def deserialize(params)
@@ -10433,6 +10244,8 @@ module TencentCloud
10433
10244
  @SourceName = params['SourceName']
10434
10245
  @IpVersion = params['IpVersion']
10435
10246
  @Invalid = params['Invalid']
10247
+ @CreateTime = params['CreateTime']
10248
+ @UpdateTime = params['UpdateTime']
10436
10249
  end
10437
10250
  end
10438
10251
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1097
4
+ version: 3.0.1145
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-07-09 00:00:00.000000000 Z
11
+ date: 2025-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common