tencentcloud-sdk-dlc 1.0.320 → 1.0.321
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/v20210125/client.rb +168 -0
- data/lib/v20210125/models.rb +643 -0
- 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: 10a41ec81582d4ef9dd49c3aad3958a36e3ac9b6
|
4
|
+
data.tar.gz: 1b932c573417b0f4dce48cbb7e856628e5d7a32a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbfe6bb9f4c5db7babe9d01642f0f99b52b2e01221d22c79f5b7b33936418a1b9b04a44a7c6fb97e2792c60624ffe2175070fe751e723e2bec502e761e274db1
|
7
|
+
data.tar.gz: 7010985ce6be348b2c483240fce03901c3bde3ce74bb9edcee1cac8bc39ec300ec442a52e00581528846e13c7131e57ab170b21288ce64bcdd4311b04325870a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.321
|
data/lib/v20210125/client.rb
CHANGED
@@ -245,6 +245,54 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 创建spark应用
|
249
|
+
|
250
|
+
# @param request: Request instance for CreateSparkApp.
|
251
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateSparkAppRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateSparkAppResponse`
|
253
|
+
def CreateSparkApp(request)
|
254
|
+
body = send_request('CreateSparkApp', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = CreateSparkAppResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 创建spark任务
|
273
|
+
|
274
|
+
# @param request: Request instance for CreateSparkAppTask.
|
275
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateSparkAppTaskRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateSparkAppTaskResponse`
|
277
|
+
def CreateSparkAppTask(request)
|
278
|
+
body = send_request('CreateSparkAppTask', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CreateSparkAppTaskResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
248
296
|
# 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
|
249
297
|
|
250
298
|
# @param request: Request instance for CreateStoreLocation.
|
@@ -437,6 +485,30 @@ module TencentCloud
|
|
437
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
486
|
end
|
439
487
|
|
488
|
+
# 删除spark应用
|
489
|
+
|
490
|
+
# @param request: Request instance for DeleteSparkApp.
|
491
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DeleteSparkAppRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DeleteSparkAppResponse`
|
493
|
+
def DeleteSparkApp(request)
|
494
|
+
body = send_request('DeleteSparkApp', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DeleteSparkAppResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
440
512
|
# 删除用户
|
441
513
|
|
442
514
|
# @param request: Request instance for DeleteUser.
|
@@ -557,6 +629,78 @@ module TencentCloud
|
|
557
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
630
|
end
|
559
631
|
|
632
|
+
# 查询具体的spark应用
|
633
|
+
|
634
|
+
# @param request: Request instance for DescribeSparkAppJob.
|
635
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppJobRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppJobResponse`
|
637
|
+
def DescribeSparkAppJob(request)
|
638
|
+
body = send_request('DescribeSparkAppJob', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = DescribeSparkAppJobResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
656
|
+
# 获取spark应用列表
|
657
|
+
|
658
|
+
# @param request: Request instance for DescribeSparkAppJobs.
|
659
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppJobsRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppJobsResponse`
|
661
|
+
def DescribeSparkAppJobs(request)
|
662
|
+
body = send_request('DescribeSparkAppJobs', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = DescribeSparkAppJobsResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
680
|
+
# 查询spark应用的运行任务实例列表
|
681
|
+
|
682
|
+
# @param request: Request instance for DescribeSparkAppTasks.
|
683
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppTasksRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeSparkAppTasksResponse`
|
685
|
+
def DescribeSparkAppTasks(request)
|
686
|
+
body = send_request('DescribeSparkAppTasks', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = DescribeSparkAppTasksResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
560
704
|
# 查询计算结果存储位置。
|
561
705
|
|
562
706
|
# @param request: Request instance for DescribeStoreLocation.
|
@@ -797,6 +941,30 @@ module TencentCloud
|
|
797
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
942
|
end
|
799
943
|
|
944
|
+
# 更新spark应用
|
945
|
+
|
946
|
+
# @param request: Request instance for ModifySparkApp.
|
947
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ModifySparkAppRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ModifySparkAppResponse`
|
949
|
+
def ModifySparkApp(request)
|
950
|
+
body = send_request('ModifySparkApp', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = ModifySparkAppResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
800
968
|
# 修改用户信息
|
801
969
|
|
802
970
|
# @param request: Request instance for ModifyUser.
|
data/lib/v20210125/models.rb
CHANGED
@@ -532,6 +532,154 @@ module TencentCloud
|
|
532
532
|
end
|
533
533
|
end
|
534
534
|
|
535
|
+
# CreateSparkApp请求参数结构体
|
536
|
+
class CreateSparkAppRequest < TencentCloud::Common::AbstractModel
|
537
|
+
# @param AppName: spark应用名
|
538
|
+
# @type AppName: String
|
539
|
+
# @param AppType: 1代表spark jar应用,2代表spark streaming应用
|
540
|
+
# @type AppType: Integer
|
541
|
+
# @param DataEngine: 执行spark作业的数据引擎
|
542
|
+
# @type DataEngine: String
|
543
|
+
# @param AppFile: spark应用的执行入口
|
544
|
+
# @type AppFile: String
|
545
|
+
# @param RoleArn: 执行spark作业的角色ID
|
546
|
+
# @type RoleArn: Integer
|
547
|
+
# @param AppDriverSize: spark作业driver资源规格大小, 可取small,medium,large,xlarge
|
548
|
+
# @type AppDriverSize: String
|
549
|
+
# @param AppExecutorSize: spark作业executor资源规格大小, 可取small,medium,large,xlarge
|
550
|
+
# @type AppExecutorSize: String
|
551
|
+
# @param AppExecutorNums: spark作业executor个数
|
552
|
+
# @type AppExecutorNums: Integer
|
553
|
+
# @param Eni: 该字段已下线,请使用字段Datasource
|
554
|
+
# @type Eni: String
|
555
|
+
# @param IsLocal: 是否本地上传,可去cos,lakefs
|
556
|
+
# @type IsLocal: String
|
557
|
+
# @param MainClass: spark jar作业时的主类
|
558
|
+
# @type MainClass: String
|
559
|
+
# @param AppConf: spark配置,以换行符分隔
|
560
|
+
# @type AppConf: String
|
561
|
+
# @param IsLocalJars: 是否本地上传,包含cos,lakefs
|
562
|
+
# @type IsLocalJars: String
|
563
|
+
# @param AppJars: spark jar作业依赖jars,以逗号分隔
|
564
|
+
# @type AppJars: String
|
565
|
+
# @param IsLocalFiles: 是否本地上传,包含cos,lakefs
|
566
|
+
# @type IsLocalFiles: String
|
567
|
+
# @param AppFiles: spark作业依赖资源,以逗号分隔
|
568
|
+
# @type AppFiles: String
|
569
|
+
# @param CmdArgs: spark作业命令行参数
|
570
|
+
# @type CmdArgs: String
|
571
|
+
# @param MaxRetries: 只对spark流任务生效
|
572
|
+
# @type MaxRetries: Integer
|
573
|
+
# @param DataSource: 数据源名
|
574
|
+
# @type DataSource: String
|
575
|
+
|
576
|
+
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :CmdArgs, :MaxRetries, :DataSource
|
577
|
+
|
578
|
+
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil)
|
579
|
+
@AppName = appname
|
580
|
+
@AppType = apptype
|
581
|
+
@DataEngine = dataengine
|
582
|
+
@AppFile = appfile
|
583
|
+
@RoleArn = rolearn
|
584
|
+
@AppDriverSize = appdriversize
|
585
|
+
@AppExecutorSize = appexecutorsize
|
586
|
+
@AppExecutorNums = appexecutornums
|
587
|
+
@Eni = eni
|
588
|
+
@IsLocal = islocal
|
589
|
+
@MainClass = mainclass
|
590
|
+
@AppConf = appconf
|
591
|
+
@IsLocalJars = islocaljars
|
592
|
+
@AppJars = appjars
|
593
|
+
@IsLocalFiles = islocalfiles
|
594
|
+
@AppFiles = appfiles
|
595
|
+
@CmdArgs = cmdargs
|
596
|
+
@MaxRetries = maxretries
|
597
|
+
@DataSource = datasource
|
598
|
+
end
|
599
|
+
|
600
|
+
def deserialize(params)
|
601
|
+
@AppName = params['AppName']
|
602
|
+
@AppType = params['AppType']
|
603
|
+
@DataEngine = params['DataEngine']
|
604
|
+
@AppFile = params['AppFile']
|
605
|
+
@RoleArn = params['RoleArn']
|
606
|
+
@AppDriverSize = params['AppDriverSize']
|
607
|
+
@AppExecutorSize = params['AppExecutorSize']
|
608
|
+
@AppExecutorNums = params['AppExecutorNums']
|
609
|
+
@Eni = params['Eni']
|
610
|
+
@IsLocal = params['IsLocal']
|
611
|
+
@MainClass = params['MainClass']
|
612
|
+
@AppConf = params['AppConf']
|
613
|
+
@IsLocalJars = params['IsLocalJars']
|
614
|
+
@AppJars = params['AppJars']
|
615
|
+
@IsLocalFiles = params['IsLocalFiles']
|
616
|
+
@AppFiles = params['AppFiles']
|
617
|
+
@CmdArgs = params['CmdArgs']
|
618
|
+
@MaxRetries = params['MaxRetries']
|
619
|
+
@DataSource = params['DataSource']
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# CreateSparkApp返回参数结构体
|
624
|
+
class CreateSparkAppResponse < TencentCloud::Common::AbstractModel
|
625
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
626
|
+
# @type RequestId: String
|
627
|
+
|
628
|
+
attr_accessor :RequestId
|
629
|
+
|
630
|
+
def initialize(requestid=nil)
|
631
|
+
@RequestId = requestid
|
632
|
+
end
|
633
|
+
|
634
|
+
def deserialize(params)
|
635
|
+
@RequestId = params['RequestId']
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
# CreateSparkAppTask请求参数结构体
|
640
|
+
class CreateSparkAppTaskRequest < TencentCloud::Common::AbstractModel
|
641
|
+
# @param JobName: spark作业名
|
642
|
+
# @type JobName: String
|
643
|
+
# @param CmdArgs: spark作业的命令行参数,以空格分隔;一般用于周期性调用使用
|
644
|
+
# @type CmdArgs: String
|
645
|
+
|
646
|
+
attr_accessor :JobName, :CmdArgs
|
647
|
+
|
648
|
+
def initialize(jobname=nil, cmdargs=nil)
|
649
|
+
@JobName = jobname
|
650
|
+
@CmdArgs = cmdargs
|
651
|
+
end
|
652
|
+
|
653
|
+
def deserialize(params)
|
654
|
+
@JobName = params['JobName']
|
655
|
+
@CmdArgs = params['CmdArgs']
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
# CreateSparkAppTask返回参数结构体
|
660
|
+
class CreateSparkAppTaskResponse < TencentCloud::Common::AbstractModel
|
661
|
+
# @param BatchId: 批Id
|
662
|
+
# @type BatchId: String
|
663
|
+
# @param TaskId: 任务Id
|
664
|
+
# @type TaskId: String
|
665
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
666
|
+
# @type RequestId: String
|
667
|
+
|
668
|
+
attr_accessor :BatchId, :TaskId, :RequestId
|
669
|
+
|
670
|
+
def initialize(batchid=nil, taskid=nil, requestid=nil)
|
671
|
+
@BatchId = batchid
|
672
|
+
@TaskId = taskid
|
673
|
+
@RequestId = requestid
|
674
|
+
end
|
675
|
+
|
676
|
+
def deserialize(params)
|
677
|
+
@BatchId = params['BatchId']
|
678
|
+
@TaskId = params['TaskId']
|
679
|
+
@RequestId = params['RequestId']
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
535
683
|
# CreateStoreLocation请求参数结构体
|
536
684
|
class CreateStoreLocationRequest < TencentCloud::Common::AbstractModel
|
537
685
|
# @param StoreLocation: 计算结果存储cos路径,如:cosn://bucketname/
|
@@ -1055,6 +1203,38 @@ module TencentCloud
|
|
1055
1203
|
end
|
1056
1204
|
end
|
1057
1205
|
|
1206
|
+
# DeleteSparkApp请求参数结构体
|
1207
|
+
class DeleteSparkAppRequest < TencentCloud::Common::AbstractModel
|
1208
|
+
# @param AppName: spark应用名
|
1209
|
+
# @type AppName: String
|
1210
|
+
|
1211
|
+
attr_accessor :AppName
|
1212
|
+
|
1213
|
+
def initialize(appname=nil)
|
1214
|
+
@AppName = appname
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
def deserialize(params)
|
1218
|
+
@AppName = params['AppName']
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
# DeleteSparkApp返回参数结构体
|
1223
|
+
class DeleteSparkAppResponse < TencentCloud::Common::AbstractModel
|
1224
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1225
|
+
# @type RequestId: String
|
1226
|
+
|
1227
|
+
attr_accessor :RequestId
|
1228
|
+
|
1229
|
+
def initialize(requestid=nil)
|
1230
|
+
@RequestId = requestid
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
def deserialize(params)
|
1234
|
+
@RequestId = params['RequestId']
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1058
1238
|
# DeleteUser请求参数结构体
|
1059
1239
|
class DeleteUserRequest < TencentCloud::Common::AbstractModel
|
1060
1240
|
# @param UserIds: 需要删除的用户的Id
|
@@ -1294,6 +1474,184 @@ module TencentCloud
|
|
1294
1474
|
end
|
1295
1475
|
end
|
1296
1476
|
|
1477
|
+
# DescribeSparkAppJob请求参数结构体
|
1478
|
+
class DescribeSparkAppJobRequest < TencentCloud::Common::AbstractModel
|
1479
|
+
# @param JobId: spark作业Id,与JobName同时存在时,JobName无效
|
1480
|
+
# @type JobId: String
|
1481
|
+
# @param JobName: spark作业名
|
1482
|
+
# @type JobName: String
|
1483
|
+
|
1484
|
+
attr_accessor :JobId, :JobName
|
1485
|
+
|
1486
|
+
def initialize(jobid=nil, jobname=nil)
|
1487
|
+
@JobId = jobid
|
1488
|
+
@JobName = jobname
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
def deserialize(params)
|
1492
|
+
@JobId = params['JobId']
|
1493
|
+
@JobName = params['JobName']
|
1494
|
+
end
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
# DescribeSparkAppJob返回参数结构体
|
1498
|
+
class DescribeSparkAppJobResponse < TencentCloud::Common::AbstractModel
|
1499
|
+
# @param Job: spark作业详情
|
1500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1501
|
+
# @type Job: :class:`Tencentcloud::Dlc.v20210125.models.SparkJobInfo`
|
1502
|
+
# @param IsExists: 查询的spark作业是否存在
|
1503
|
+
# @type IsExists: Boolean
|
1504
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1505
|
+
# @type RequestId: String
|
1506
|
+
|
1507
|
+
attr_accessor :Job, :IsExists, :RequestId
|
1508
|
+
|
1509
|
+
def initialize(job=nil, isexists=nil, requestid=nil)
|
1510
|
+
@Job = job
|
1511
|
+
@IsExists = isexists
|
1512
|
+
@RequestId = requestid
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
def deserialize(params)
|
1516
|
+
unless params['Job'].nil?
|
1517
|
+
@Job = SparkJobInfo.new
|
1518
|
+
@Job.deserialize(params['Job'])
|
1519
|
+
end
|
1520
|
+
@IsExists = params['IsExists']
|
1521
|
+
@RequestId = params['RequestId']
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
# DescribeSparkAppJobs请求参数结构体
|
1526
|
+
class DescribeSparkAppJobsRequest < TencentCloud::Common::AbstractModel
|
1527
|
+
# @param SortBy: 返回结果按照该字段排序
|
1528
|
+
# @type SortBy: String
|
1529
|
+
# @param Sorting: 正序或者倒序,例如:desc
|
1530
|
+
# @type Sorting: String
|
1531
|
+
# @param Filters: 按照该参数过滤
|
1532
|
+
# @type Filters: Array
|
1533
|
+
# @param StartTime: 更新时间起始点
|
1534
|
+
# @type StartTime: String
|
1535
|
+
# @param EndTime: 更新时间截止点
|
1536
|
+
# @type EndTime: String
|
1537
|
+
# @param Offset: 查询列表偏移量
|
1538
|
+
# @type Offset: Integer
|
1539
|
+
# @param Limit: 查询列表限制数量
|
1540
|
+
# @type Limit: Integer
|
1541
|
+
|
1542
|
+
attr_accessor :SortBy, :Sorting, :Filters, :StartTime, :EndTime, :Offset, :Limit
|
1543
|
+
|
1544
|
+
def initialize(sortby=nil, sorting=nil, filters=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
1545
|
+
@SortBy = sortby
|
1546
|
+
@Sorting = sorting
|
1547
|
+
@Filters = filters
|
1548
|
+
@StartTime = starttime
|
1549
|
+
@EndTime = endtime
|
1550
|
+
@Offset = offset
|
1551
|
+
@Limit = limit
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
def deserialize(params)
|
1555
|
+
@SortBy = params['SortBy']
|
1556
|
+
@Sorting = params['Sorting']
|
1557
|
+
unless params['Filters'].nil?
|
1558
|
+
@Filters = []
|
1559
|
+
params['Filters'].each do |i|
|
1560
|
+
filter_tmp = Filter.new
|
1561
|
+
filter_tmp.deserialize(i)
|
1562
|
+
@Filters << filter_tmp
|
1563
|
+
end
|
1564
|
+
end
|
1565
|
+
@StartTime = params['StartTime']
|
1566
|
+
@EndTime = params['EndTime']
|
1567
|
+
@Offset = params['Offset']
|
1568
|
+
@Limit = params['Limit']
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
# DescribeSparkAppJobs返回参数结构体
|
1573
|
+
class DescribeSparkAppJobsResponse < TencentCloud::Common::AbstractModel
|
1574
|
+
# @param SparkAppJobs: spark作业列表详情
|
1575
|
+
# @type SparkAppJobs: Array
|
1576
|
+
# @param TotalCount: spark作业总数
|
1577
|
+
# @type TotalCount: Integer
|
1578
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1579
|
+
# @type RequestId: String
|
1580
|
+
|
1581
|
+
attr_accessor :SparkAppJobs, :TotalCount, :RequestId
|
1582
|
+
|
1583
|
+
def initialize(sparkappjobs=nil, totalcount=nil, requestid=nil)
|
1584
|
+
@SparkAppJobs = sparkappjobs
|
1585
|
+
@TotalCount = totalcount
|
1586
|
+
@RequestId = requestid
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
def deserialize(params)
|
1590
|
+
unless params['SparkAppJobs'].nil?
|
1591
|
+
@SparkAppJobs = []
|
1592
|
+
params['SparkAppJobs'].each do |i|
|
1593
|
+
sparkjobinfo_tmp = SparkJobInfo.new
|
1594
|
+
sparkjobinfo_tmp.deserialize(i)
|
1595
|
+
@SparkAppJobs << sparkjobinfo_tmp
|
1596
|
+
end
|
1597
|
+
end
|
1598
|
+
@TotalCount = params['TotalCount']
|
1599
|
+
@RequestId = params['RequestId']
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# DescribeSparkAppTasks请求参数结构体
|
1604
|
+
class DescribeSparkAppTasksRequest < TencentCloud::Common::AbstractModel
|
1605
|
+
# @param JobId: spark作业Id
|
1606
|
+
# @type JobId: String
|
1607
|
+
# @param Offset: 分页查询偏移量
|
1608
|
+
# @type Offset: Integer
|
1609
|
+
# @param Limit: 分页查询Limit
|
1610
|
+
# @type Limit: Integer
|
1611
|
+
|
1612
|
+
attr_accessor :JobId, :Offset, :Limit
|
1613
|
+
|
1614
|
+
def initialize(jobid=nil, offset=nil, limit=nil)
|
1615
|
+
@JobId = jobid
|
1616
|
+
@Offset = offset
|
1617
|
+
@Limit = limit
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
def deserialize(params)
|
1621
|
+
@JobId = params['JobId']
|
1622
|
+
@Offset = params['Offset']
|
1623
|
+
@Limit = params['Limit']
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# DescribeSparkAppTasks返回参数结构体
|
1628
|
+
class DescribeSparkAppTasksResponse < TencentCloud::Common::AbstractModel
|
1629
|
+
# @param Tasks: 任务列表
|
1630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1631
|
+
# @type Tasks: :class:`Tencentcloud::Dlc.v20210125.models.TaskResponseInfo`
|
1632
|
+
# @param TotalCount: 任务总数
|
1633
|
+
# @type TotalCount: Integer
|
1634
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1635
|
+
# @type RequestId: String
|
1636
|
+
|
1637
|
+
attr_accessor :Tasks, :TotalCount, :RequestId
|
1638
|
+
|
1639
|
+
def initialize(tasks=nil, totalcount=nil, requestid=nil)
|
1640
|
+
@Tasks = tasks
|
1641
|
+
@TotalCount = totalcount
|
1642
|
+
@RequestId = requestid
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
def deserialize(params)
|
1646
|
+
unless params['Tasks'].nil?
|
1647
|
+
@Tasks = TaskResponseInfo.new
|
1648
|
+
@Tasks.deserialize(params['Tasks'])
|
1649
|
+
end
|
1650
|
+
@TotalCount = params['TotalCount']
|
1651
|
+
@RequestId = params['RequestId']
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1297
1655
|
# DescribeStoreLocation请求参数结构体
|
1298
1656
|
class DescribeStoreLocationRequest < TencentCloud::Common::AbstractModel
|
1299
1657
|
|
@@ -1984,6 +2342,114 @@ module TencentCloud
|
|
1984
2342
|
end
|
1985
2343
|
end
|
1986
2344
|
|
2345
|
+
# ModifySparkApp请求参数结构体
|
2346
|
+
class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
|
2347
|
+
# @param AppName: spark应用名
|
2348
|
+
# @type AppName: String
|
2349
|
+
# @param AppType: 1代表spark jar应用,2代表spark streaming应用
|
2350
|
+
# @type AppType: Integer
|
2351
|
+
# @param DataEngine: 执行spark作业的数据引擎
|
2352
|
+
# @type DataEngine: String
|
2353
|
+
# @param AppFile: spark应用的执行入口
|
2354
|
+
# @type AppFile: String
|
2355
|
+
# @param RoleArn: 执行spark作业的角色ID
|
2356
|
+
# @type RoleArn: Integer
|
2357
|
+
# @param AppDriverSize: spark作业driver资源规格大小, 可取small,medium,large,xlarge
|
2358
|
+
# @type AppDriverSize: String
|
2359
|
+
# @param AppExecutorSize: spark作业executor资源规格大小, 可取small,medium,large,xlarge
|
2360
|
+
# @type AppExecutorSize: String
|
2361
|
+
# @param AppExecutorNums: spark作业executor个数
|
2362
|
+
# @type AppExecutorNums: Integer
|
2363
|
+
# @param SparkAppId: spark应用Id
|
2364
|
+
# @type SparkAppId: String
|
2365
|
+
# @param Eni: 该字段已下线,请使用字段Datasource
|
2366
|
+
# @type Eni: String
|
2367
|
+
# @param IsLocal: 是否本地上传,可取cos,lakefs
|
2368
|
+
# @type IsLocal: String
|
2369
|
+
# @param MainClass: spark jar作业时的主类
|
2370
|
+
# @type MainClass: String
|
2371
|
+
# @param AppConf: spark配置,以换行符分隔
|
2372
|
+
# @type AppConf: String
|
2373
|
+
# @param IsLocalJars: 是否本地上传,可去cos,lakefs
|
2374
|
+
# @type IsLocalJars: String
|
2375
|
+
# @param AppJars: spark jar作业依赖jars,以逗号分隔
|
2376
|
+
# @type AppJars: String
|
2377
|
+
# @param IsLocalFiles: 是否本地上传,可去cos,lakefs
|
2378
|
+
# @type IsLocalFiles: String
|
2379
|
+
# @param AppFiles: spark作业依赖资源,以逗号分隔
|
2380
|
+
# @type AppFiles: String
|
2381
|
+
# @param CmdArgs: spark作业命令行参数
|
2382
|
+
# @type CmdArgs: String
|
2383
|
+
# @param MaxRetries: 只对spark流任务生效
|
2384
|
+
# @type MaxRetries: Integer
|
2385
|
+
# @param DataSource: 数据源名
|
2386
|
+
# @type DataSource: String
|
2387
|
+
|
2388
|
+
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :SparkAppId, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :CmdArgs, :MaxRetries, :DataSource
|
2389
|
+
|
2390
|
+
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, sparkappid=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil)
|
2391
|
+
@AppName = appname
|
2392
|
+
@AppType = apptype
|
2393
|
+
@DataEngine = dataengine
|
2394
|
+
@AppFile = appfile
|
2395
|
+
@RoleArn = rolearn
|
2396
|
+
@AppDriverSize = appdriversize
|
2397
|
+
@AppExecutorSize = appexecutorsize
|
2398
|
+
@AppExecutorNums = appexecutornums
|
2399
|
+
@SparkAppId = sparkappid
|
2400
|
+
@Eni = eni
|
2401
|
+
@IsLocal = islocal
|
2402
|
+
@MainClass = mainclass
|
2403
|
+
@AppConf = appconf
|
2404
|
+
@IsLocalJars = islocaljars
|
2405
|
+
@AppJars = appjars
|
2406
|
+
@IsLocalFiles = islocalfiles
|
2407
|
+
@AppFiles = appfiles
|
2408
|
+
@CmdArgs = cmdargs
|
2409
|
+
@MaxRetries = maxretries
|
2410
|
+
@DataSource = datasource
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
def deserialize(params)
|
2414
|
+
@AppName = params['AppName']
|
2415
|
+
@AppType = params['AppType']
|
2416
|
+
@DataEngine = params['DataEngine']
|
2417
|
+
@AppFile = params['AppFile']
|
2418
|
+
@RoleArn = params['RoleArn']
|
2419
|
+
@AppDriverSize = params['AppDriverSize']
|
2420
|
+
@AppExecutorSize = params['AppExecutorSize']
|
2421
|
+
@AppExecutorNums = params['AppExecutorNums']
|
2422
|
+
@SparkAppId = params['SparkAppId']
|
2423
|
+
@Eni = params['Eni']
|
2424
|
+
@IsLocal = params['IsLocal']
|
2425
|
+
@MainClass = params['MainClass']
|
2426
|
+
@AppConf = params['AppConf']
|
2427
|
+
@IsLocalJars = params['IsLocalJars']
|
2428
|
+
@AppJars = params['AppJars']
|
2429
|
+
@IsLocalFiles = params['IsLocalFiles']
|
2430
|
+
@AppFiles = params['AppFiles']
|
2431
|
+
@CmdArgs = params['CmdArgs']
|
2432
|
+
@MaxRetries = params['MaxRetries']
|
2433
|
+
@DataSource = params['DataSource']
|
2434
|
+
end
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
# ModifySparkApp返回参数结构体
|
2438
|
+
class ModifySparkAppResponse < TencentCloud::Common::AbstractModel
|
2439
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2440
|
+
# @type RequestId: String
|
2441
|
+
|
2442
|
+
attr_accessor :RequestId
|
2443
|
+
|
2444
|
+
def initialize(requestid=nil)
|
2445
|
+
@RequestId = requestid
|
2446
|
+
end
|
2447
|
+
|
2448
|
+
def deserialize(params)
|
2449
|
+
@RequestId = params['RequestId']
|
2450
|
+
end
|
2451
|
+
end
|
2452
|
+
|
1987
2453
|
# ModifyUser请求参数结构体
|
1988
2454
|
class ModifyUserRequest < TencentCloud::Common::AbstractModel
|
1989
2455
|
# @param UserId: 用户Id,和CAM侧Uin匹配
|
@@ -2287,6 +2753,183 @@ module TencentCloud
|
|
2287
2753
|
end
|
2288
2754
|
end
|
2289
2755
|
|
2756
|
+
# spark作业详情
|
2757
|
+
class SparkJobInfo < TencentCloud::Common::AbstractModel
|
2758
|
+
# @param JobId: spark作业ID
|
2759
|
+
# @type JobId: String
|
2760
|
+
# @param JobName: spark作业名
|
2761
|
+
# @type JobName: String
|
2762
|
+
# @param JobType: spark作业类型,可去1或者2,1表示batch作业, 2表示streaming作业
|
2763
|
+
# @type JobType: Integer
|
2764
|
+
# @param DataEngine: 引擎名
|
2765
|
+
# @type DataEngine: String
|
2766
|
+
# @param Eni: 该字段已下线,请使用字段Datasource
|
2767
|
+
# @type Eni: String
|
2768
|
+
# @param IsLocal: 程序包是否本地上传,cos或者lakefs
|
2769
|
+
# @type IsLocal: String
|
2770
|
+
# @param JobFile: 程序包路径
|
2771
|
+
# @type JobFile: String
|
2772
|
+
# @param RoleArn: 角色ID
|
2773
|
+
# @type RoleArn: Integer
|
2774
|
+
# @param MainClass: spark作业运行主类
|
2775
|
+
# @type MainClass: String
|
2776
|
+
# @param CmdArgs: 命令行参数,spark作业命令行参数,空格分隔
|
2777
|
+
# @type CmdArgs: String
|
2778
|
+
# @param JobConf: spark原生配置,换行符分隔
|
2779
|
+
# @type JobConf: String
|
2780
|
+
# @param IsLocalJars: 依赖jars是否本地上传,cos或者lakefs
|
2781
|
+
# @type IsLocalJars: String
|
2782
|
+
# @param JobJars: spark作业依赖jars,逗号分隔
|
2783
|
+
# @type JobJars: String
|
2784
|
+
# @param IsLocalFiles: 依赖文件是否本地上传,cos或者lakefs
|
2785
|
+
# @type IsLocalFiles: String
|
2786
|
+
# @param JobFiles: spark作业依赖文件,逗号分隔
|
2787
|
+
# @type JobFiles: String
|
2788
|
+
# @param JobDriverSize: spark作业driver资源大小
|
2789
|
+
# @type JobDriverSize: String
|
2790
|
+
# @param JobExecutorSize: spark作业executor资源大小
|
2791
|
+
# @type JobExecutorSize: String
|
2792
|
+
# @param JobExecutorNums: spark作业executor个数
|
2793
|
+
# @type JobExecutorNums: Integer
|
2794
|
+
# @param JobMaxAttempts: spark流任务最大重试次数
|
2795
|
+
# @type JobMaxAttempts: Integer
|
2796
|
+
# @param JobCreator: spark作业创建者
|
2797
|
+
# @type JobCreator: String
|
2798
|
+
# @param JobCreateTime: spark作业创建时间
|
2799
|
+
# @type JobCreateTime: Integer
|
2800
|
+
# @param JobUpdateTime: spark作业更新时间
|
2801
|
+
# @type JobUpdateTime: Integer
|
2802
|
+
# @param CurrentTaskId: spark作业最近任务ID
|
2803
|
+
# @type CurrentTaskId: String
|
2804
|
+
# @param JobStatus: spark作业最近运行状态
|
2805
|
+
# @type JobStatus: Integer
|
2806
|
+
# @param StreamingStat: spark流作业统计
|
2807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2808
|
+
# @type StreamingStat: :class:`Tencentcloud::Dlc.v20210125.models.StreamingStatistics`
|
2809
|
+
# @param DataSource: 数据源名
|
2810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2811
|
+
# @type DataSource: String
|
2812
|
+
|
2813
|
+
attr_accessor :JobId, :JobName, :JobType, :DataEngine, :Eni, :IsLocal, :JobFile, :RoleArn, :MainClass, :CmdArgs, :JobConf, :IsLocalJars, :JobJars, :IsLocalFiles, :JobFiles, :JobDriverSize, :JobExecutorSize, :JobExecutorNums, :JobMaxAttempts, :JobCreator, :JobCreateTime, :JobUpdateTime, :CurrentTaskId, :JobStatus, :StreamingStat, :DataSource
|
2814
|
+
|
2815
|
+
def initialize(jobid=nil, jobname=nil, jobtype=nil, dataengine=nil, eni=nil, islocal=nil, jobfile=nil, rolearn=nil, mainclass=nil, cmdargs=nil, jobconf=nil, islocaljars=nil, jobjars=nil, islocalfiles=nil, jobfiles=nil, jobdriversize=nil, jobexecutorsize=nil, jobexecutornums=nil, jobmaxattempts=nil, jobcreator=nil, jobcreatetime=nil, jobupdatetime=nil, currenttaskid=nil, jobstatus=nil, streamingstat=nil, datasource=nil)
|
2816
|
+
@JobId = jobid
|
2817
|
+
@JobName = jobname
|
2818
|
+
@JobType = jobtype
|
2819
|
+
@DataEngine = dataengine
|
2820
|
+
@Eni = eni
|
2821
|
+
@IsLocal = islocal
|
2822
|
+
@JobFile = jobfile
|
2823
|
+
@RoleArn = rolearn
|
2824
|
+
@MainClass = mainclass
|
2825
|
+
@CmdArgs = cmdargs
|
2826
|
+
@JobConf = jobconf
|
2827
|
+
@IsLocalJars = islocaljars
|
2828
|
+
@JobJars = jobjars
|
2829
|
+
@IsLocalFiles = islocalfiles
|
2830
|
+
@JobFiles = jobfiles
|
2831
|
+
@JobDriverSize = jobdriversize
|
2832
|
+
@JobExecutorSize = jobexecutorsize
|
2833
|
+
@JobExecutorNums = jobexecutornums
|
2834
|
+
@JobMaxAttempts = jobmaxattempts
|
2835
|
+
@JobCreator = jobcreator
|
2836
|
+
@JobCreateTime = jobcreatetime
|
2837
|
+
@JobUpdateTime = jobupdatetime
|
2838
|
+
@CurrentTaskId = currenttaskid
|
2839
|
+
@JobStatus = jobstatus
|
2840
|
+
@StreamingStat = streamingstat
|
2841
|
+
@DataSource = datasource
|
2842
|
+
end
|
2843
|
+
|
2844
|
+
def deserialize(params)
|
2845
|
+
@JobId = params['JobId']
|
2846
|
+
@JobName = params['JobName']
|
2847
|
+
@JobType = params['JobType']
|
2848
|
+
@DataEngine = params['DataEngine']
|
2849
|
+
@Eni = params['Eni']
|
2850
|
+
@IsLocal = params['IsLocal']
|
2851
|
+
@JobFile = params['JobFile']
|
2852
|
+
@RoleArn = params['RoleArn']
|
2853
|
+
@MainClass = params['MainClass']
|
2854
|
+
@CmdArgs = params['CmdArgs']
|
2855
|
+
@JobConf = params['JobConf']
|
2856
|
+
@IsLocalJars = params['IsLocalJars']
|
2857
|
+
@JobJars = params['JobJars']
|
2858
|
+
@IsLocalFiles = params['IsLocalFiles']
|
2859
|
+
@JobFiles = params['JobFiles']
|
2860
|
+
@JobDriverSize = params['JobDriverSize']
|
2861
|
+
@JobExecutorSize = params['JobExecutorSize']
|
2862
|
+
@JobExecutorNums = params['JobExecutorNums']
|
2863
|
+
@JobMaxAttempts = params['JobMaxAttempts']
|
2864
|
+
@JobCreator = params['JobCreator']
|
2865
|
+
@JobCreateTime = params['JobCreateTime']
|
2866
|
+
@JobUpdateTime = params['JobUpdateTime']
|
2867
|
+
@CurrentTaskId = params['CurrentTaskId']
|
2868
|
+
@JobStatus = params['JobStatus']
|
2869
|
+
unless params['StreamingStat'].nil?
|
2870
|
+
@StreamingStat = StreamingStatistics.new
|
2871
|
+
@StreamingStat.deserialize(params['StreamingStat'])
|
2872
|
+
end
|
2873
|
+
@DataSource = params['DataSource']
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# spark流任务统计信息
|
2878
|
+
class StreamingStatistics < TencentCloud::Common::AbstractModel
|
2879
|
+
# @param StartTime: 任务开始时间
|
2880
|
+
# @type StartTime: String
|
2881
|
+
# @param Receivers: 数据接收器数
|
2882
|
+
# @type Receivers: Integer
|
2883
|
+
# @param NumActiveReceivers: 运行中的接收器数
|
2884
|
+
# @type NumActiveReceivers: Integer
|
2885
|
+
# @param NumInactiveReceivers: 不活跃的接收器数
|
2886
|
+
# @type NumInactiveReceivers: Integer
|
2887
|
+
# @param NumActiveBatches: 运行中的批数
|
2888
|
+
# @type NumActiveBatches: Integer
|
2889
|
+
# @param NumRetainedCompletedBatches: 待处理的批数
|
2890
|
+
# @type NumRetainedCompletedBatches: Integer
|
2891
|
+
# @param NumTotalCompletedBatches: 已完成的批数
|
2892
|
+
# @type NumTotalCompletedBatches: Integer
|
2893
|
+
# @param AverageInputRate: 平均输入速率
|
2894
|
+
# @type AverageInputRate: Float
|
2895
|
+
# @param AverageSchedulingDelay: 平均等待时长
|
2896
|
+
# @type AverageSchedulingDelay: Float
|
2897
|
+
# @param AverageProcessingTime: 平均处理时长
|
2898
|
+
# @type AverageProcessingTime: Float
|
2899
|
+
# @param AverageTotalDelay: 平均延时
|
2900
|
+
# @type AverageTotalDelay: Float
|
2901
|
+
|
2902
|
+
attr_accessor :StartTime, :Receivers, :NumActiveReceivers, :NumInactiveReceivers, :NumActiveBatches, :NumRetainedCompletedBatches, :NumTotalCompletedBatches, :AverageInputRate, :AverageSchedulingDelay, :AverageProcessingTime, :AverageTotalDelay
|
2903
|
+
|
2904
|
+
def initialize(starttime=nil, receivers=nil, numactivereceivers=nil, numinactivereceivers=nil, numactivebatches=nil, numretainedcompletedbatches=nil, numtotalcompletedbatches=nil, averageinputrate=nil, averageschedulingdelay=nil, averageprocessingtime=nil, averagetotaldelay=nil)
|
2905
|
+
@StartTime = starttime
|
2906
|
+
@Receivers = receivers
|
2907
|
+
@NumActiveReceivers = numactivereceivers
|
2908
|
+
@NumInactiveReceivers = numinactivereceivers
|
2909
|
+
@NumActiveBatches = numactivebatches
|
2910
|
+
@NumRetainedCompletedBatches = numretainedcompletedbatches
|
2911
|
+
@NumTotalCompletedBatches = numtotalcompletedbatches
|
2912
|
+
@AverageInputRate = averageinputrate
|
2913
|
+
@AverageSchedulingDelay = averageschedulingdelay
|
2914
|
+
@AverageProcessingTime = averageprocessingtime
|
2915
|
+
@AverageTotalDelay = averagetotaldelay
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
def deserialize(params)
|
2919
|
+
@StartTime = params['StartTime']
|
2920
|
+
@Receivers = params['Receivers']
|
2921
|
+
@NumActiveReceivers = params['NumActiveReceivers']
|
2922
|
+
@NumInactiveReceivers = params['NumInactiveReceivers']
|
2923
|
+
@NumActiveBatches = params['NumActiveBatches']
|
2924
|
+
@NumRetainedCompletedBatches = params['NumRetainedCompletedBatches']
|
2925
|
+
@NumTotalCompletedBatches = params['NumTotalCompletedBatches']
|
2926
|
+
@AverageInputRate = params['AverageInputRate']
|
2927
|
+
@AverageSchedulingDelay = params['AverageSchedulingDelay']
|
2928
|
+
@AverageProcessingTime = params['AverageProcessingTime']
|
2929
|
+
@AverageTotalDelay = params['AverageTotalDelay']
|
2930
|
+
end
|
2931
|
+
end
|
2932
|
+
|
2290
2933
|
# 数据表配置信息
|
2291
2934
|
class TableBaseInfo < TencentCloud::Common::AbstractModel
|
2292
2935
|
# @param DatabaseName: 该数据表所属数据库名字
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.321
|
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-05-
|
11
|
+
date: 2022-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|