tencentcloud-sdk-waf 3.0.1037 → 3.0.1038
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180125/client.rb +72 -0
- data/lib/v20180125/models.rb +211 -28
- 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: f996742a9e46c68ee8394d48bdfcff5c83dcde44
|
4
|
+
data.tar.gz: 429c16b0a881e311b00bcb1085a532400faf267e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88eb1d1f9ebd1efc6f4ceeaf9c2808ceb15f919eed80cb40b558fb853ab8dd5cd0363cb359fa3c5da829ed6da5762e617d45afa806b5029c482eb91012c02b09
|
7
|
+
data.tar.gz: 0f15386154deb2e765f0221c83affc6c64a2a8353ec88699da76cd8bd94d2c869cccfdc0f31d2c652603ace8cb52ca87dffeea930adf0fab466061389de06f02
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1038
|
data/lib/v20180125/client.rb
CHANGED
@@ -365,6 +365,30 @@ module TencentCloud
|
|
365
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
366
|
end
|
367
367
|
|
368
|
+
# 创建CKafka投递流任务
|
369
|
+
|
370
|
+
# @param request: Request instance for CreatePostCKafkaFlow.
|
371
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::CreatePostCKafkaFlowRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::CreatePostCKafkaFlowResponse`
|
373
|
+
def CreatePostCKafkaFlow(request)
|
374
|
+
body = send_request('CreatePostCKafkaFlow', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = CreatePostCKafkaFlowResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
368
392
|
# 创建CLS投递流任务
|
369
393
|
|
370
394
|
# @param request: Request instance for CreatePostCLSFlow.
|
@@ -1805,6 +1829,30 @@ module TencentCloud
|
|
1805
1829
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
1830
|
end
|
1807
1831
|
|
1832
|
+
# 获取CKafka投递流任务列表
|
1833
|
+
|
1834
|
+
# @param request: Request instance for DescribePostCKafkaFlows.
|
1835
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DescribePostCKafkaFlowsRequest`
|
1836
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DescribePostCKafkaFlowsResponse`
|
1837
|
+
def DescribePostCKafkaFlows(request)
|
1838
|
+
body = send_request('DescribePostCKafkaFlows', request.serialize)
|
1839
|
+
response = JSON.parse(body)
|
1840
|
+
if response['Response'].key?('Error') == false
|
1841
|
+
model = DescribePostCKafkaFlowsResponse.new
|
1842
|
+
model.deserialize(response['Response'])
|
1843
|
+
model
|
1844
|
+
else
|
1845
|
+
code = response['Response']['Error']['Code']
|
1846
|
+
message = response['Response']['Error']['Message']
|
1847
|
+
reqid = response['Response']['RequestId']
|
1848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1849
|
+
end
|
1850
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1851
|
+
raise e
|
1852
|
+
rescue StandardError => e
|
1853
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
|
+
end
|
1855
|
+
|
1808
1856
|
# 获取CLS投递流任务列表
|
1809
1857
|
|
1810
1858
|
# @param request: Request instance for DescribePostCLSFlows.
|
@@ -2287,6 +2335,30 @@ module TencentCloud
|
|
2287
2335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2288
2336
|
end
|
2289
2337
|
|
2338
|
+
# 销毁CKafka投递流任务
|
2339
|
+
|
2340
|
+
# @param request: Request instance for DestroyPostCKafkaFlow.
|
2341
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DestroyPostCKafkaFlowRequest`
|
2342
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DestroyPostCKafkaFlowResponse`
|
2343
|
+
def DestroyPostCKafkaFlow(request)
|
2344
|
+
body = send_request('DestroyPostCKafkaFlow', request.serialize)
|
2345
|
+
response = JSON.parse(body)
|
2346
|
+
if response['Response'].key?('Error') == false
|
2347
|
+
model = DestroyPostCKafkaFlowResponse.new
|
2348
|
+
model.deserialize(response['Response'])
|
2349
|
+
model
|
2350
|
+
else
|
2351
|
+
code = response['Response']['Error']['Code']
|
2352
|
+
message = response['Response']['Error']['Message']
|
2353
|
+
reqid = response['Response']['RequestId']
|
2354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2355
|
+
end
|
2356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2357
|
+
raise e
|
2358
|
+
rescue StandardError => e
|
2359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2360
|
+
end
|
2361
|
+
|
2290
2362
|
# 销毁CLS投递流任务
|
2291
2363
|
|
2292
2364
|
# @param request: Request instance for DestroyPostCLSFlow.
|
data/lib/v20180125/models.rb
CHANGED
@@ -77,8 +77,8 @@ module TencentCloud
|
|
77
77
|
|
78
78
|
attr_accessor :BTime, :Count, :BeginTime
|
79
79
|
extend Gem::Deprecate
|
80
|
-
deprecate :BTime, :none, 2025,
|
81
|
-
deprecate :BTime=, :none, 2025,
|
80
|
+
deprecate :BTime, :none, 2025, 4
|
81
|
+
deprecate :BTime=, :none, 2025, 4
|
82
82
|
|
83
83
|
def initialize(btime=nil, count=nil, begintime=nil)
|
84
84
|
@BTime = btime
|
@@ -595,8 +595,8 @@ module TencentCloud
|
|
595
595
|
|
596
596
|
attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp
|
597
597
|
extend Gem::Deprecate
|
598
|
-
deprecate :Bypass, :none, 2025,
|
599
|
-
deprecate :Bypass=, :none, 2025,
|
598
|
+
deprecate :Bypass, :none, 2025, 4
|
599
|
+
deprecate :Bypass=, :none, 2025, 4
|
600
600
|
|
601
601
|
def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, expiretime=nil, edition=nil, bypass=nil, eventid=nil, jobtype=nil, jobdatetime=nil, source=nil, label=nil, status=nil, pageid=nil, logicalop=nil)
|
602
602
|
@Name = name
|
@@ -1529,10 +1529,10 @@ module TencentCloud
|
|
1529
1529
|
|
1530
1530
|
attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
|
1531
1531
|
extend Gem::Deprecate
|
1532
|
-
deprecate :Id, :none, 2025,
|
1533
|
-
deprecate :Id=, :none, 2025,
|
1534
|
-
deprecate :Ip, :none, 2025,
|
1535
|
-
deprecate :Ip=, :none, 2025,
|
1532
|
+
deprecate :Id, :none, 2025, 4
|
1533
|
+
deprecate :Id=, :none, 2025, 4
|
1534
|
+
deprecate :Ip, :none, 2025, 4
|
1535
|
+
deprecate :Ip=, :none, 2025, 4
|
1536
1536
|
|
1537
1537
|
def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil, validstatus=nil, groupids=nil)
|
1538
1538
|
@Id = id
|
@@ -2682,8 +2682,8 @@ module TencentCloud
|
|
2682
2682
|
|
2683
2683
|
attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
2684
2684
|
extend Gem::Deprecate
|
2685
|
-
deprecate :ValidTS, :none, 2025,
|
2686
|
-
deprecate :ValidTS=, :none, 2025,
|
2685
|
+
deprecate :ValidTS, :none, 2025, 4
|
2686
|
+
deprecate :ValidTS=, :none, 2025, 4
|
2687
2687
|
|
2688
2688
|
def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
2689
2689
|
@Domain = domain
|
@@ -2735,6 +2735,66 @@ module TencentCloud
|
|
2735
2735
|
end
|
2736
2736
|
end
|
2737
2737
|
|
2738
|
+
# CreatePostCKafkaFlow请求参数结构体
|
2739
|
+
class CreatePostCKafkaFlowRequest < TencentCloud::Common::AbstractModel
|
2740
|
+
# @param CKafkaRegion: 投递的CKafka所在区域
|
2741
|
+
# @type CKafkaRegion: String
|
2742
|
+
# @param CKafkaID: 客户的CKafka 实例ID
|
2743
|
+
# @type CKafkaID: String
|
2744
|
+
# @param Brokers: 支撑环境是IP:PORT,外网环境是domain:PORT
|
2745
|
+
# @type Brokers: String
|
2746
|
+
# @param Compression: 默认为none,支持snappy、gzip和lz4压缩,推荐snappy
|
2747
|
+
# @type Compression: String
|
2748
|
+
# @param VipType: 1-外网TGW,2-支撑环境,默认为支撑环境
|
2749
|
+
# @type VipType: Integer
|
2750
|
+
# @param LogType: 1-访问日志,2-攻击日志,默认为访问日志
|
2751
|
+
# @type LogType: Integer
|
2752
|
+
# @param Topic: 主题名称,默认不传或者传空字符串,默认值为waf_post_access_log
|
2753
|
+
# @type Topic: String
|
2754
|
+
# @param KafkaVersion: kafka集群的版本号
|
2755
|
+
# @type KafkaVersion: String
|
2756
|
+
|
2757
|
+
attr_accessor :CKafkaRegion, :CKafkaID, :Brokers, :Compression, :VipType, :LogType, :Topic, :KafkaVersion
|
2758
|
+
|
2759
|
+
def initialize(ckafkaregion=nil, ckafkaid=nil, brokers=nil, compression=nil, viptype=nil, logtype=nil, topic=nil, kafkaversion=nil)
|
2760
|
+
@CKafkaRegion = ckafkaregion
|
2761
|
+
@CKafkaID = ckafkaid
|
2762
|
+
@Brokers = brokers
|
2763
|
+
@Compression = compression
|
2764
|
+
@VipType = viptype
|
2765
|
+
@LogType = logtype
|
2766
|
+
@Topic = topic
|
2767
|
+
@KafkaVersion = kafkaversion
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
def deserialize(params)
|
2771
|
+
@CKafkaRegion = params['CKafkaRegion']
|
2772
|
+
@CKafkaID = params['CKafkaID']
|
2773
|
+
@Brokers = params['Brokers']
|
2774
|
+
@Compression = params['Compression']
|
2775
|
+
@VipType = params['VipType']
|
2776
|
+
@LogType = params['LogType']
|
2777
|
+
@Topic = params['Topic']
|
2778
|
+
@KafkaVersion = params['KafkaVersion']
|
2779
|
+
end
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
# CreatePostCKafkaFlow返回参数结构体
|
2783
|
+
class CreatePostCKafkaFlowResponse < TencentCloud::Common::AbstractModel
|
2784
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2785
|
+
# @type RequestId: String
|
2786
|
+
|
2787
|
+
attr_accessor :RequestId
|
2788
|
+
|
2789
|
+
def initialize(requestid=nil)
|
2790
|
+
@RequestId = requestid
|
2791
|
+
end
|
2792
|
+
|
2793
|
+
def deserialize(params)
|
2794
|
+
@RequestId = params['RequestId']
|
2795
|
+
end
|
2796
|
+
end
|
2797
|
+
|
2738
2798
|
# CreatePostCLSFlow请求参数结构体
|
2739
2799
|
class CreatePostCLSFlowRequest < TencentCloud::Common::AbstractModel
|
2740
2800
|
# @param CLSRegion: 投递的CLS所在区域,默认为ap-shanghai
|
@@ -3516,8 +3576,8 @@ module TencentCloud
|
|
3516
3576
|
|
3517
3577
|
attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
|
3518
3578
|
extend Gem::Deprecate
|
3519
|
-
deprecate :TopicId, :none, 2025,
|
3520
|
-
deprecate :TopicId=, :none, 2025,
|
3579
|
+
deprecate :TopicId, :none, 2025, 4
|
3580
|
+
deprecate :TopicId=, :none, 2025, 4
|
3521
3581
|
|
3522
3582
|
def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
|
3523
3583
|
@From = from
|
@@ -5974,10 +6034,10 @@ module TencentCloud
|
|
5974
6034
|
|
5975
6035
|
attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
|
5976
6036
|
extend Gem::Deprecate
|
5977
|
-
deprecate :VtsMin, :none, 2025,
|
5978
|
-
deprecate :VtsMin=, :none, 2025,
|
5979
|
-
deprecate :VtsMax, :none, 2025,
|
5980
|
-
deprecate :VtsMax=, :none, 2025,
|
6037
|
+
deprecate :VtsMin, :none, 2025, 4
|
6038
|
+
deprecate :VtsMin=, :none, 2025, 4
|
6039
|
+
deprecate :VtsMax, :none, 2025, 4
|
6040
|
+
deprecate :VtsMax=, :none, 2025, 4
|
5981
6041
|
|
5982
6042
|
def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil, timertype=nil)
|
5983
6043
|
@Domain = domain
|
@@ -6080,10 +6140,10 @@ module TencentCloud
|
|
6080
6140
|
|
6081
6141
|
attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
|
6082
6142
|
extend Gem::Deprecate
|
6083
|
-
deprecate :VtsMin, :none, 2025,
|
6084
|
-
deprecate :VtsMin=, :none, 2025,
|
6085
|
-
deprecate :VtsMax, :none, 2025,
|
6086
|
-
deprecate :VtsMax=, :none, 2025,
|
6143
|
+
deprecate :VtsMin, :none, 2025, 4
|
6144
|
+
deprecate :VtsMin=, :none, 2025, 4
|
6145
|
+
deprecate :VtsMax, :none, 2025, 4
|
6146
|
+
deprecate :VtsMax=, :none, 2025, 4
|
6087
6147
|
|
6088
6148
|
def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
|
6089
6149
|
@Domain = domain
|
@@ -6493,6 +6553,49 @@ module TencentCloud
|
|
6493
6553
|
end
|
6494
6554
|
end
|
6495
6555
|
|
6556
|
+
# DescribePostCKafkaFlows请求参数结构体
|
6557
|
+
class DescribePostCKafkaFlowsRequest < TencentCloud::Common::AbstractModel
|
6558
|
+
# @param LogType: 1-访问日志,2-攻击日志,默认为访问日志。
|
6559
|
+
# @type LogType: Integer
|
6560
|
+
|
6561
|
+
attr_accessor :LogType
|
6562
|
+
|
6563
|
+
def initialize(logtype=nil)
|
6564
|
+
@LogType = logtype
|
6565
|
+
end
|
6566
|
+
|
6567
|
+
def deserialize(params)
|
6568
|
+
@LogType = params['LogType']
|
6569
|
+
end
|
6570
|
+
end
|
6571
|
+
|
6572
|
+
# DescribePostCKafkaFlows返回参数结构体
|
6573
|
+
class DescribePostCKafkaFlowsResponse < TencentCloud::Common::AbstractModel
|
6574
|
+
# @param PostCKafkaFlows: 客户的投递流列表
|
6575
|
+
# @type PostCKafkaFlows: Array
|
6576
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6577
|
+
# @type RequestId: String
|
6578
|
+
|
6579
|
+
attr_accessor :PostCKafkaFlows, :RequestId
|
6580
|
+
|
6581
|
+
def initialize(postckafkaflows=nil, requestid=nil)
|
6582
|
+
@PostCKafkaFlows = postckafkaflows
|
6583
|
+
@RequestId = requestid
|
6584
|
+
end
|
6585
|
+
|
6586
|
+
def deserialize(params)
|
6587
|
+
unless params['PostCKafkaFlows'].nil?
|
6588
|
+
@PostCKafkaFlows = []
|
6589
|
+
params['PostCKafkaFlows'].each do |i|
|
6590
|
+
postckafkaflowinfo_tmp = PostCKafkaFlowInfo.new
|
6591
|
+
postckafkaflowinfo_tmp.deserialize(i)
|
6592
|
+
@PostCKafkaFlows << postckafkaflowinfo_tmp
|
6593
|
+
end
|
6594
|
+
end
|
6595
|
+
@RequestId = params['RequestId']
|
6596
|
+
end
|
6597
|
+
end
|
6598
|
+
|
6496
6599
|
# DescribePostCLSFlows请求参数结构体
|
6497
6600
|
class DescribePostCLSFlowsRequest < TencentCloud::Common::AbstractModel
|
6498
6601
|
# @param LogType: 1-访问日志,2-攻击日志,默认为访问日志。
|
@@ -7576,6 +7679,42 @@ module TencentCloud
|
|
7576
7679
|
end
|
7577
7680
|
end
|
7578
7681
|
|
7682
|
+
# DestroyPostCKafkaFlow请求参数结构体
|
7683
|
+
class DestroyPostCKafkaFlowRequest < TencentCloud::Common::AbstractModel
|
7684
|
+
# @param FlowId: 投递流的流ID
|
7685
|
+
# @type FlowId: Integer
|
7686
|
+
# @param LogType: 1-访问日志,2-攻击日志,默认为访问日志。
|
7687
|
+
# @type LogType: Integer
|
7688
|
+
|
7689
|
+
attr_accessor :FlowId, :LogType
|
7690
|
+
|
7691
|
+
def initialize(flowid=nil, logtype=nil)
|
7692
|
+
@FlowId = flowid
|
7693
|
+
@LogType = logtype
|
7694
|
+
end
|
7695
|
+
|
7696
|
+
def deserialize(params)
|
7697
|
+
@FlowId = params['FlowId']
|
7698
|
+
@LogType = params['LogType']
|
7699
|
+
end
|
7700
|
+
end
|
7701
|
+
|
7702
|
+
# DestroyPostCKafkaFlow返回参数结构体
|
7703
|
+
class DestroyPostCKafkaFlowResponse < TencentCloud::Common::AbstractModel
|
7704
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7705
|
+
# @type RequestId: String
|
7706
|
+
|
7707
|
+
attr_accessor :RequestId
|
7708
|
+
|
7709
|
+
def initialize(requestid=nil)
|
7710
|
+
@RequestId = requestid
|
7711
|
+
end
|
7712
|
+
|
7713
|
+
def deserialize(params)
|
7714
|
+
@RequestId = params['RequestId']
|
7715
|
+
end
|
7716
|
+
end
|
7717
|
+
|
7579
7718
|
# DestroyPostCLSFlow请求参数结构体
|
7580
7719
|
class DestroyPostCLSFlowRequest < TencentCloud::Common::AbstractModel
|
7581
7720
|
# @param FlowId: 投递流的流ID
|
@@ -10705,8 +10844,8 @@ module TencentCloud
|
|
10705
10844
|
|
10706
10845
|
attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
|
10707
10846
|
extend Gem::Deprecate
|
10708
|
-
deprecate :Bypass, :none, 2025,
|
10709
|
-
deprecate :Bypass=, :none, 2025,
|
10847
|
+
deprecate :Bypass, :none, 2025, 4
|
10848
|
+
deprecate :Bypass=, :none, 2025, 4
|
10710
10849
|
|
10711
10850
|
def initialize(domain=nil, ruleid=nil, rulename=nil, ruleaction=nil, strategies=nil, edition=nil, redirect=nil, bypass=nil, sortid=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, source=nil, status=nil, pageid=nil, logicalop=nil)
|
10712
10851
|
@Domain = domain
|
@@ -11590,8 +11729,8 @@ module TencentCloud
|
|
11590
11729
|
|
11591
11730
|
attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
|
11592
11731
|
extend Gem::Deprecate
|
11593
|
-
deprecate :ValidTS, :none, 2025,
|
11594
|
-
deprecate :ValidTS=, :none, 2025,
|
11732
|
+
deprecate :ValidTS, :none, 2025, 4
|
11733
|
+
deprecate :ValidTS=, :none, 2025, 4
|
11595
11734
|
|
11596
11735
|
def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
|
11597
11736
|
@Domain = domain
|
@@ -12644,6 +12783,50 @@ module TencentCloud
|
|
12644
12783
|
end
|
12645
12784
|
end
|
12646
12785
|
|
12786
|
+
# CKafka投递流
|
12787
|
+
class PostCKafkaFlowInfo < TencentCloud::Common::AbstractModel
|
12788
|
+
# @param FlowId: 投递流唯一ID
|
12789
|
+
# @type FlowId: Integer
|
12790
|
+
# @param LogType: 1-访问日志 2-攻击日志
|
12791
|
+
# @type LogType: Integer
|
12792
|
+
# @param Status: 状态 0-为关闭 1-为启用
|
12793
|
+
# @type Status: Integer
|
12794
|
+
# @param CKafkaRegion: CKafka所在区域
|
12795
|
+
# @type CKafkaRegion: String
|
12796
|
+
# @param CKafkaID: CKafka实例ID
|
12797
|
+
# @type CKafkaID: String
|
12798
|
+
# @param Brokers: ckafka地址信息
|
12799
|
+
# @type Brokers: String
|
12800
|
+
# @param Version: ckafka版本号
|
12801
|
+
# @type Version: String
|
12802
|
+
# @param Topic: 主题名称
|
12803
|
+
# @type Topic: String
|
12804
|
+
|
12805
|
+
attr_accessor :FlowId, :LogType, :Status, :CKafkaRegion, :CKafkaID, :Brokers, :Version, :Topic
|
12806
|
+
|
12807
|
+
def initialize(flowid=nil, logtype=nil, status=nil, ckafkaregion=nil, ckafkaid=nil, brokers=nil, version=nil, topic=nil)
|
12808
|
+
@FlowId = flowid
|
12809
|
+
@LogType = logtype
|
12810
|
+
@Status = status
|
12811
|
+
@CKafkaRegion = ckafkaregion
|
12812
|
+
@CKafkaID = ckafkaid
|
12813
|
+
@Brokers = brokers
|
12814
|
+
@Version = version
|
12815
|
+
@Topic = topic
|
12816
|
+
end
|
12817
|
+
|
12818
|
+
def deserialize(params)
|
12819
|
+
@FlowId = params['FlowId']
|
12820
|
+
@LogType = params['LogType']
|
12821
|
+
@Status = params['Status']
|
12822
|
+
@CKafkaRegion = params['CKafkaRegion']
|
12823
|
+
@CKafkaID = params['CKafkaID']
|
12824
|
+
@Brokers = params['Brokers']
|
12825
|
+
@Version = params['Version']
|
12826
|
+
@Topic = params['Topic']
|
12827
|
+
end
|
12828
|
+
end
|
12829
|
+
|
12647
12830
|
# CKafka投递流
|
12648
12831
|
class PostCLSFlowInfo < TencentCloud::Common::AbstractModel
|
12649
12832
|
# @param FlowId: 投递流唯一ID
|
@@ -13082,10 +13265,10 @@ module TencentCloud
|
|
13082
13265
|
|
13083
13266
|
attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
|
13084
13267
|
extend Gem::Deprecate
|
13085
|
-
deprecate :ColNames, :none, 2025,
|
13086
|
-
deprecate :ColNames=, :none, 2025,
|
13087
|
-
deprecate :AnalysisResults, :none, 2025,
|
13088
|
-
deprecate :AnalysisResults=, :none, 2025,
|
13268
|
+
deprecate :ColNames, :none, 2025, 4
|
13269
|
+
deprecate :ColNames=, :none, 2025, 4
|
13270
|
+
deprecate :AnalysisResults, :none, 2025, 4
|
13271
|
+
deprecate :AnalysisResults=, :none, 2025, 4
|
13089
13272
|
|
13090
13273
|
def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
|
13091
13274
|
@Context = context
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-waf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1038
|
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-04-
|
11
|
+
date: 2025-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|