tencentcloud-sdk-ckafka 3.0.536 → 3.0.537

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: 6b954f397948c764c9903d25fe28c54d2a276dc4
4
- data.tar.gz: a6bbade81ba4255e48704cc537e2819eae4b959f
3
+ metadata.gz: a8f041df56ed5421da6877e6ef7358cf6c238ba3
4
+ data.tar.gz: 266486cde5fdbd68a53894a3877008c3792f4ec0
5
5
  SHA512:
6
- metadata.gz: d352312d93d82cdfc0d115012cc357e9e94a7765215dcb9c7a4007062c68402be63b2628a1a86fa2ada3d2a46d87f49d65f5071e9c5d45f222437fb16e860265
7
- data.tar.gz: 02d795d7dc6b56e804200d5fba6013970502c87d88f6b523084ca440a2eb2636f55ddad98a5c98bbf624920d18ee3cb860d75ac1473eaf322f28a19d6e400611
6
+ metadata.gz: a3156b13155309f6af1bb58c717dca0bd59bb790fc755692c3a8ff877005359386b6daace4ffb2ae6be64ca458a22286590b1eeaea7e7a18bfd52ccf28810513
7
+ data.tar.gz: 532c042b5ee54a884bcc1b2e23345812ab6d72a9f8e6c5bf7d77ca93e5af70a3c7e4cd0fb0110aa541e4464c806309db11f342532021f6a0d66cf295d23318d8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.536
1
+ 3.0.537
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 添加 ACL 规则
201
+
202
+ # @param request: Request instance for CreateAclRule.
203
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::CreateAclRuleRequest`
204
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::CreateAclRuleResponse`
205
+ def CreateAclRule(request)
206
+ body = send_request('CreateAclRule', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = CreateAclRuleResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 用于cdc的专用ckafka集群
201
225
 
202
226
  # @param request: Request instance for CreateCdcCluster.
@@ -821,6 +845,30 @@ module TencentCloud
821
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
846
  end
823
847
 
848
+ # 查询ACL规则列表
849
+
850
+ # @param request: Request instance for DescribeAclRule.
851
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeAclRuleRequest`
852
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeAclRuleResponse`
853
+ def DescribeAclRule(request)
854
+ body = send_request('DescribeAclRule', request.serialize)
855
+ response = JSON.parse(body)
856
+ if response['Response'].key?('Error') == false
857
+ model = DescribeAclRuleResponse.new
858
+ model.deserialize(response['Response'])
859
+ model
860
+ else
861
+ code = response['Response']['Error']['Code']
862
+ message = response['Response']['Error']['Message']
863
+ reqid = response['Response']['RequestId']
864
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
+ end
866
+ rescue TencentCloud::Common::TencentCloudSDKException => e
867
+ raise e
868
+ rescue StandardError => e
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
+ end
871
+
824
872
  # 查询用户列表
825
873
 
826
874
  # @param request: Request instance for DescribeAppInfo.
@@ -1542,6 +1590,30 @@ module TencentCloud
1542
1590
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1543
1591
  end
1544
1592
 
1593
+ # 修改AC策略,目前只支持预设规则的是否应用到新增topic这一项的修改
1594
+
1595
+ # @param request: Request instance for ModifyAclRule.
1596
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyAclRuleRequest`
1597
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyAclRuleResponse`
1598
+ def ModifyAclRule(request)
1599
+ body = send_request('ModifyAclRule', request.serialize)
1600
+ response = JSON.parse(body)
1601
+ if response['Response'].key?('Error') == false
1602
+ model = ModifyAclRuleResponse.new
1603
+ model.deserialize(response['Response'])
1604
+ model
1605
+ else
1606
+ code = response['Response']['Error']['Code']
1607
+ message = response['Response']['Error']['Message']
1608
+ reqid = response['Response']['RequestId']
1609
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1610
+ end
1611
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1612
+ raise e
1613
+ rescue StandardError => e
1614
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1615
+ end
1616
+
1545
1617
  # 编辑Datahub连接源
1546
1618
 
1547
1619
  # @param request: Request instance for ModifyConnectResource.
@@ -188,6 +188,34 @@ module TencentCloud
188
188
  end
189
189
  end
190
190
 
191
+ # AclRule列表接口返回结果
192
+ class AclRuleResp < TencentCloud::Common::AbstractModel
193
+ # @param TotalCount: 总数据条数
194
+ # @type TotalCount: Integer
195
+ # @param AclRuleList: AclRule列表
196
+ # 注意:此字段可能返回 null,表示取不到有效值。
197
+ # @type AclRuleList: Array
198
+
199
+ attr_accessor :TotalCount, :AclRuleList
200
+
201
+ def initialize(totalcount=nil, aclrulelist=nil)
202
+ @TotalCount = totalcount
203
+ @AclRuleList = aclrulelist
204
+ end
205
+
206
+ def deserialize(params)
207
+ @TotalCount = params['TotalCount']
208
+ unless params['AclRuleList'].nil?
209
+ @AclRuleList = []
210
+ params['AclRuleList'].each do |i|
211
+ aclrule_tmp = AclRule.new
212
+ aclrule_tmp.deserialize(i)
213
+ @AclRuleList << aclrule_tmp
214
+ end
215
+ end
216
+ end
217
+ end
218
+
191
219
  # 数据处理-解析参数
192
220
  class AnalyseParam < TencentCloud::Common::AbstractModel
193
221
  # @param Format: 解析格式,JSON,DELIMITER分隔符,REGULAR正则提取,SOURCE处理上层所有结果
@@ -1382,6 +1410,77 @@ module TencentCloud
1382
1410
  end
1383
1411
  end
1384
1412
 
1413
+ # CreateAclRule请求参数结构体
1414
+ class CreateAclRuleRequest < TencentCloud::Common::AbstractModel
1415
+ # @param InstanceId: 实例id信息
1416
+ # @type InstanceId: String
1417
+ # @param ResourceType: Acl资源类型,目前只支持Topic,枚举值列表:Topic
1418
+ # @type ResourceType: String
1419
+ # @param PatternType: 匹配类型,目前支持前缀匹配与预设策略,枚举值列表:PREFIXED/PRESET
1420
+ # @type PatternType: String
1421
+ # @param RuleName: 规则名称
1422
+ # @type RuleName: String
1423
+ # @param RuleList: 设置的ACL规则列表
1424
+ # @type RuleList: Array
1425
+ # @param Pattern: 表示前缀匹配的前缀的值
1426
+ # @type Pattern: String
1427
+ # @param IsApplied: 预设ACL规则是否应用到新增的topic中
1428
+ # @type IsApplied: Integer
1429
+ # @param Comment: ACL规则的备注
1430
+ # @type Comment: String
1431
+
1432
+ attr_accessor :InstanceId, :ResourceType, :PatternType, :RuleName, :RuleList, :Pattern, :IsApplied, :Comment
1433
+
1434
+ def initialize(instanceid=nil, resourcetype=nil, patterntype=nil, rulename=nil, rulelist=nil, pattern=nil, isapplied=nil, comment=nil)
1435
+ @InstanceId = instanceid
1436
+ @ResourceType = resourcetype
1437
+ @PatternType = patterntype
1438
+ @RuleName = rulename
1439
+ @RuleList = rulelist
1440
+ @Pattern = pattern
1441
+ @IsApplied = isapplied
1442
+ @Comment = comment
1443
+ end
1444
+
1445
+ def deserialize(params)
1446
+ @InstanceId = params['InstanceId']
1447
+ @ResourceType = params['ResourceType']
1448
+ @PatternType = params['PatternType']
1449
+ @RuleName = params['RuleName']
1450
+ unless params['RuleList'].nil?
1451
+ @RuleList = []
1452
+ params['RuleList'].each do |i|
1453
+ aclruleinfo_tmp = AclRuleInfo.new
1454
+ aclruleinfo_tmp.deserialize(i)
1455
+ @RuleList << aclruleinfo_tmp
1456
+ end
1457
+ end
1458
+ @Pattern = params['Pattern']
1459
+ @IsApplied = params['IsApplied']
1460
+ @Comment = params['Comment']
1461
+ end
1462
+ end
1463
+
1464
+ # CreateAclRule返回参数结构体
1465
+ class CreateAclRuleResponse < TencentCloud::Common::AbstractModel
1466
+ # @param Result: 规则的唯一表示Key
1467
+ # @type Result: Integer
1468
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1469
+ # @type RequestId: String
1470
+
1471
+ attr_accessor :Result, :RequestId
1472
+
1473
+ def initialize(result=nil, requestid=nil)
1474
+ @Result = result
1475
+ @RequestId = requestid
1476
+ end
1477
+
1478
+ def deserialize(params)
1479
+ @Result = params['Result']
1480
+ @RequestId = params['RequestId']
1481
+ end
1482
+ end
1483
+
1385
1484
  # CreateCdcCluster请求参数结构体
1386
1485
  class CreateCdcClusterRequest < TencentCloud::Common::AbstractModel
1387
1486
  # @param CdcId: cdc的id
@@ -3413,6 +3512,57 @@ module TencentCloud
3413
3512
  end
3414
3513
  end
3415
3514
 
3515
+ # DescribeAclRule请求参数结构体
3516
+ class DescribeAclRuleRequest < TencentCloud::Common::AbstractModel
3517
+ # @param InstanceId: 实例Id
3518
+ # @type InstanceId: String
3519
+ # @param RuleName: ACL规则名
3520
+ # @type RuleName: String
3521
+ # @param PatternType: ACL规则匹配类型
3522
+ # @type PatternType: String
3523
+ # @param IsSimplified: 是否读取简略的ACL规则
3524
+ # @type IsSimplified: Boolean
3525
+
3526
+ attr_accessor :InstanceId, :RuleName, :PatternType, :IsSimplified
3527
+
3528
+ def initialize(instanceid=nil, rulename=nil, patterntype=nil, issimplified=nil)
3529
+ @InstanceId = instanceid
3530
+ @RuleName = rulename
3531
+ @PatternType = patterntype
3532
+ @IsSimplified = issimplified
3533
+ end
3534
+
3535
+ def deserialize(params)
3536
+ @InstanceId = params['InstanceId']
3537
+ @RuleName = params['RuleName']
3538
+ @PatternType = params['PatternType']
3539
+ @IsSimplified = params['IsSimplified']
3540
+ end
3541
+ end
3542
+
3543
+ # DescribeAclRule返回参数结构体
3544
+ class DescribeAclRuleResponse < TencentCloud::Common::AbstractModel
3545
+ # @param Result: 返回的AclRule结果集对象
3546
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.AclRuleResp`
3547
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3548
+ # @type RequestId: String
3549
+
3550
+ attr_accessor :Result, :RequestId
3551
+
3552
+ def initialize(result=nil, requestid=nil)
3553
+ @Result = result
3554
+ @RequestId = requestid
3555
+ end
3556
+
3557
+ def deserialize(params)
3558
+ unless params['Result'].nil?
3559
+ @Result = AclRuleResp.new
3560
+ @Result.deserialize(params['Result'])
3561
+ end
3562
+ @RequestId = params['RequestId']
3563
+ end
3564
+ end
3565
+
3416
3566
  # DescribeAppInfo请求参数结构体
3417
3567
  class DescribeAppInfoRequest < TencentCloud::Common::AbstractModel
3418
3568
  # @param Offset: 偏移位置
@@ -3545,12 +3695,18 @@ module TencentCloud
3545
3695
  # @param ErrorMessage: 连接源的异常信息
3546
3696
  # 注意:此字段可能返回 null,表示取不到有效值。
3547
3697
  # @type ErrorMessage: String
3698
+ # @param DatahubTaskCount: 该连接源关联的Datahub任务数
3699
+ # 注意:此字段可能返回 null,表示取不到有效值。
3700
+ # @type DatahubTaskCount: Integer
3548
3701
  # @param CurrentStep: 连接源的当前所处步骤
3549
3702
  # 注意:此字段可能返回 null,表示取不到有效值。
3550
3703
  # @type CurrentStep: String
3551
- # @param DatahubTaskCount: 该连接源关联的Datahub任务数
3704
+ # @param TaskProgress: 创建进度百分比
3552
3705
  # 注意:此字段可能返回 null,表示取不到有效值。
3553
- # @type DatahubTaskCount: Integer
3706
+ # @type TaskProgress: Float
3707
+ # @param StepList: 步骤列表
3708
+ # 注意:此字段可能返回 null,表示取不到有效值。
3709
+ # @type StepList: Array
3554
3710
  # @param DtsConnectParam: Dts配置,Type为DTS时返回
3555
3711
  # 注意:此字段可能返回 null,表示取不到有效值。
3556
3712
  # @type DtsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DtsConnectParam`
@@ -3585,9 +3741,9 @@ module TencentCloud
3585
3741
  # 注意:此字段可能返回 null,表示取不到有效值。
3586
3742
  # @type KafkaConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.KafkaConnectParam`
3587
3743
 
3588
- attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam
3744
+ attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :DatahubTaskCount, :CurrentStep, :TaskProgress, :StepList, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam, :CtsdbConnectParam, :DorisConnectParam, :KafkaConnectParam
3589
3745
 
3590
- def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil, kafkaconnectparam=nil)
3746
+ def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, datahubtaskcount=nil, currentstep=nil, taskprogress=nil, steplist=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil, ctsdbconnectparam=nil, dorisconnectparam=nil, kafkaconnectparam=nil)
3591
3747
  @ResourceId = resourceid
3592
3748
  @ResourceName = resourcename
3593
3749
  @Description = description
@@ -3595,8 +3751,10 @@ module TencentCloud
3595
3751
  @Status = status
3596
3752
  @CreateTime = createtime
3597
3753
  @ErrorMessage = errormessage
3598
- @CurrentStep = currentstep
3599
3754
  @DatahubTaskCount = datahubtaskcount
3755
+ @CurrentStep = currentstep
3756
+ @TaskProgress = taskprogress
3757
+ @StepList = steplist
3600
3758
  @DtsConnectParam = dtsconnectparam
3601
3759
  @MongoDBConnectParam = mongodbconnectparam
3602
3760
  @EsConnectParam = esconnectparam
@@ -3618,8 +3776,10 @@ module TencentCloud
3618
3776
  @Status = params['Status']
3619
3777
  @CreateTime = params['CreateTime']
3620
3778
  @ErrorMessage = params['ErrorMessage']
3621
- @CurrentStep = params['CurrentStep']
3622
3779
  @DatahubTaskCount = params['DatahubTaskCount']
3780
+ @CurrentStep = params['CurrentStep']
3781
+ @TaskProgress = params['TaskProgress']
3782
+ @StepList = params['StepList']
3623
3783
  unless params['DtsConnectParam'].nil?
3624
3784
  @DtsConnectParam = DtsConnectParam.new
3625
3785
  @DtsConnectParam.deserialize(params['DtsConnectParam'])
@@ -7735,6 +7895,50 @@ module TencentCloud
7735
7895
  end
7736
7896
  end
7737
7897
 
7898
+ # ModifyAclRule请求参数结构体
7899
+ class ModifyAclRuleRequest < TencentCloud::Common::AbstractModel
7900
+ # @param InstanceId: 实例Id
7901
+ # @type InstanceId: String
7902
+ # @param RuleName: ACL策略名
7903
+ # @type RuleName: String
7904
+ # @param IsApplied: 是否应用到新增的Topic
7905
+ # @type IsApplied: Integer
7906
+
7907
+ attr_accessor :InstanceId, :RuleName, :IsApplied
7908
+
7909
+ def initialize(instanceid=nil, rulename=nil, isapplied=nil)
7910
+ @InstanceId = instanceid
7911
+ @RuleName = rulename
7912
+ @IsApplied = isapplied
7913
+ end
7914
+
7915
+ def deserialize(params)
7916
+ @InstanceId = params['InstanceId']
7917
+ @RuleName = params['RuleName']
7918
+ @IsApplied = params['IsApplied']
7919
+ end
7920
+ end
7921
+
7922
+ # ModifyAclRule返回参数结构体
7923
+ class ModifyAclRuleResponse < TencentCloud::Common::AbstractModel
7924
+ # @param Result: 规则的唯一表示Key
7925
+ # @type Result: Integer
7926
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7927
+ # @type RequestId: String
7928
+
7929
+ attr_accessor :Result, :RequestId
7930
+
7931
+ def initialize(result=nil, requestid=nil)
7932
+ @Result = result
7933
+ @RequestId = requestid
7934
+ end
7935
+
7936
+ def deserialize(params)
7937
+ @Result = params['Result']
7938
+ @RequestId = params['RequestId']
7939
+ end
7940
+ end
7941
+
7738
7942
  # ModifyConnectResource请求参数结构体
7739
7943
  class ModifyConnectResourceRequest < TencentCloud::Common::AbstractModel
7740
7944
  # @param ResourceId: 连接源的Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.536
4
+ version: 3.0.537
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common