tencentcloud-sdk-dlc 3.0.504 → 3.0.505
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 +289 -1
- data/lib/v20210125/models.rb +1197 -42
- metadata +2 -2
data/lib/v20210125/models.rb
CHANGED
@@ -598,6 +598,78 @@ module TencentCloud
|
|
598
598
|
end
|
599
599
|
end
|
600
600
|
|
601
|
+
# CancelNotebookSessionStatementBatch请求参数结构体
|
602
|
+
class CancelNotebookSessionStatementBatchRequest < TencentCloud::Common::AbstractModel
|
603
|
+
# @param SessionId: Session唯一标识
|
604
|
+
# @type SessionId: String
|
605
|
+
# @param BatchId: 批任务唯一标识
|
606
|
+
# @type BatchId: String
|
607
|
+
|
608
|
+
attr_accessor :SessionId, :BatchId
|
609
|
+
|
610
|
+
def initialize(sessionid=nil, batchid=nil)
|
611
|
+
@SessionId = sessionid
|
612
|
+
@BatchId = batchid
|
613
|
+
end
|
614
|
+
|
615
|
+
def deserialize(params)
|
616
|
+
@SessionId = params['SessionId']
|
617
|
+
@BatchId = params['BatchId']
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# CancelNotebookSessionStatementBatch返回参数结构体
|
622
|
+
class CancelNotebookSessionStatementBatchResponse < TencentCloud::Common::AbstractModel
|
623
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
624
|
+
# @type RequestId: String
|
625
|
+
|
626
|
+
attr_accessor :RequestId
|
627
|
+
|
628
|
+
def initialize(requestid=nil)
|
629
|
+
@RequestId = requestid
|
630
|
+
end
|
631
|
+
|
632
|
+
def deserialize(params)
|
633
|
+
@RequestId = params['RequestId']
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
637
|
+
# CancelNotebookSessionStatement请求参数结构体
|
638
|
+
class CancelNotebookSessionStatementRequest < TencentCloud::Common::AbstractModel
|
639
|
+
# @param SessionId: Session唯一标识
|
640
|
+
# @type SessionId: String
|
641
|
+
# @param StatementId: Session Statement唯一标识
|
642
|
+
# @type StatementId: String
|
643
|
+
|
644
|
+
attr_accessor :SessionId, :StatementId
|
645
|
+
|
646
|
+
def initialize(sessionid=nil, statementid=nil)
|
647
|
+
@SessionId = sessionid
|
648
|
+
@StatementId = statementid
|
649
|
+
end
|
650
|
+
|
651
|
+
def deserialize(params)
|
652
|
+
@SessionId = params['SessionId']
|
653
|
+
@StatementId = params['StatementId']
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
# CancelNotebookSessionStatement返回参数结构体
|
658
|
+
class CancelNotebookSessionStatementResponse < TencentCloud::Common::AbstractModel
|
659
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
660
|
+
# @type RequestId: String
|
661
|
+
|
662
|
+
attr_accessor :RequestId
|
663
|
+
|
664
|
+
def initialize(requestid=nil)
|
665
|
+
@RequestId = requestid
|
666
|
+
end
|
667
|
+
|
668
|
+
def deserialize(params)
|
669
|
+
@RequestId = params['RequestId']
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
601
673
|
# CancelTask请求参数结构体
|
602
674
|
class CancelTaskRequest < TencentCloud::Common::AbstractModel
|
603
675
|
# @param TaskId: 任务Id,全局唯一
|
@@ -1255,6 +1327,104 @@ module TencentCloud
|
|
1255
1327
|
end
|
1256
1328
|
end
|
1257
1329
|
|
1330
|
+
# CreateNotebookSessionStatement请求参数结构体
|
1331
|
+
class CreateNotebookSessionStatementRequest < TencentCloud::Common::AbstractModel
|
1332
|
+
# @param SessionId: Session唯一标识
|
1333
|
+
# @type SessionId: String
|
1334
|
+
# @param Code: 执行的代码
|
1335
|
+
# @type Code: String
|
1336
|
+
# @param Kind: 类型,当前支持:spark、pyspark、sparkr、sql
|
1337
|
+
# @type Kind: String
|
1338
|
+
|
1339
|
+
attr_accessor :SessionId, :Code, :Kind
|
1340
|
+
|
1341
|
+
def initialize(sessionid=nil, code=nil, kind=nil)
|
1342
|
+
@SessionId = sessionid
|
1343
|
+
@Code = code
|
1344
|
+
@Kind = kind
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def deserialize(params)
|
1348
|
+
@SessionId = params['SessionId']
|
1349
|
+
@Code = params['Code']
|
1350
|
+
@Kind = params['Kind']
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# CreateNotebookSessionStatement返回参数结构体
|
1355
|
+
class CreateNotebookSessionStatementResponse < TencentCloud::Common::AbstractModel
|
1356
|
+
# @param NotebookSessionStatement: Session Statement详情
|
1357
|
+
# @type NotebookSessionStatement: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionStatementInfo`
|
1358
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1359
|
+
# @type RequestId: String
|
1360
|
+
|
1361
|
+
attr_accessor :NotebookSessionStatement, :RequestId
|
1362
|
+
|
1363
|
+
def initialize(notebooksessionstatement=nil, requestid=nil)
|
1364
|
+
@NotebookSessionStatement = notebooksessionstatement
|
1365
|
+
@RequestId = requestid
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
def deserialize(params)
|
1369
|
+
unless params['NotebookSessionStatement'].nil?
|
1370
|
+
@NotebookSessionStatement = NotebookSessionStatementInfo.new
|
1371
|
+
@NotebookSessionStatement.deserialize(params['NotebookSessionStatement'])
|
1372
|
+
end
|
1373
|
+
@RequestId = params['RequestId']
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# CreateNotebookSessionStatementSupportBatchSQL请求参数结构体
|
1378
|
+
class CreateNotebookSessionStatementSupportBatchSQLRequest < TencentCloud::Common::AbstractModel
|
1379
|
+
# @param SessionId: Session唯一标识
|
1380
|
+
# @type SessionId: String
|
1381
|
+
# @param Code: 执行的代码
|
1382
|
+
# @type Code: String
|
1383
|
+
# @param Kind: 类型,当前支持:spark、pyspark、sparkr、sql
|
1384
|
+
# @type Kind: String
|
1385
|
+
# @param SaveResult: 是否保存运行结果
|
1386
|
+
# @type SaveResult: Boolean
|
1387
|
+
|
1388
|
+
attr_accessor :SessionId, :Code, :Kind, :SaveResult
|
1389
|
+
|
1390
|
+
def initialize(sessionid=nil, code=nil, kind=nil, saveresult=nil)
|
1391
|
+
@SessionId = sessionid
|
1392
|
+
@Code = code
|
1393
|
+
@Kind = kind
|
1394
|
+
@SaveResult = saveresult
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
def deserialize(params)
|
1398
|
+
@SessionId = params['SessionId']
|
1399
|
+
@Code = params['Code']
|
1400
|
+
@Kind = params['Kind']
|
1401
|
+
@SaveResult = params['SaveResult']
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# CreateNotebookSessionStatementSupportBatchSQL返回参数结构体
|
1406
|
+
class CreateNotebookSessionStatementSupportBatchSQLResponse < TencentCloud::Common::AbstractModel
|
1407
|
+
# @param NotebookSessionStatementBatches: Session Statement详情
|
1408
|
+
# @type NotebookSessionStatementBatches: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionStatementBatchInformation`
|
1409
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1410
|
+
# @type RequestId: String
|
1411
|
+
|
1412
|
+
attr_accessor :NotebookSessionStatementBatches, :RequestId
|
1413
|
+
|
1414
|
+
def initialize(notebooksessionstatementbatches=nil, requestid=nil)
|
1415
|
+
@NotebookSessionStatementBatches = notebooksessionstatementbatches
|
1416
|
+
@RequestId = requestid
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
def deserialize(params)
|
1420
|
+
unless params['NotebookSessionStatementBatches'].nil?
|
1421
|
+
@NotebookSessionStatementBatches = NotebookSessionStatementBatchInformation.new
|
1422
|
+
@NotebookSessionStatementBatches.deserialize(params['NotebookSessionStatementBatches'])
|
1423
|
+
end
|
1424
|
+
@RequestId = params['RequestId']
|
1425
|
+
end
|
1426
|
+
end
|
1427
|
+
|
1258
1428
|
# CreateResultDownload请求参数结构体
|
1259
1429
|
class CreateResultDownloadRequest < TencentCloud::Common::AbstractModel
|
1260
1430
|
# @param TaskId: 查询结果任务Id
|
@@ -1870,6 +2040,33 @@ module TencentCloud
|
|
1870
2040
|
end
|
1871
2041
|
end
|
1872
2042
|
|
2043
|
+
# 定时启停策略信息
|
2044
|
+
class CrontabResumeSuspendStrategy < TencentCloud::Common::AbstractModel
|
2045
|
+
# @param ResumeTime: 定时拉起时间:如:周一8点
|
2046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2047
|
+
# @type ResumeTime: String
|
2048
|
+
# @param SuspendTime: 定时挂起时间:如:周一20点
|
2049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2050
|
+
# @type SuspendTime: String
|
2051
|
+
# @param SuspendStrategy: 挂起配置:0(默认):等待任务结束后挂起、1:强制挂起
|
2052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2053
|
+
# @type SuspendStrategy: Integer
|
2054
|
+
|
2055
|
+
attr_accessor :ResumeTime, :SuspendTime, :SuspendStrategy
|
2056
|
+
|
2057
|
+
def initialize(resumetime=nil, suspendtime=nil, suspendstrategy=nil)
|
2058
|
+
@ResumeTime = resumetime
|
2059
|
+
@SuspendTime = suspendtime
|
2060
|
+
@SuspendStrategy = suspendstrategy
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
def deserialize(params)
|
2064
|
+
@ResumeTime = params['ResumeTime']
|
2065
|
+
@SuspendTime = params['SuspendTime']
|
2066
|
+
@SuspendStrategy = params['SuspendStrategy']
|
2067
|
+
end
|
2068
|
+
end
|
2069
|
+
|
1873
2070
|
# 迁移列对象
|
1874
2071
|
class DMSColumn < TencentCloud::Common::AbstractModel
|
1875
2072
|
# @param Name: 名称
|
@@ -2289,6 +2486,182 @@ module TencentCloud
|
|
2289
2486
|
end
|
2290
2487
|
end
|
2291
2488
|
|
2489
|
+
# DataEngine详细信息
|
2490
|
+
class DataEngineInfo < TencentCloud::Common::AbstractModel
|
2491
|
+
# @param DataEngineName: DataEngine名称
|
2492
|
+
# @type DataEngineName: String
|
2493
|
+
# @param EngineType: 引擎类型 spark/presto
|
2494
|
+
# @type EngineType: String
|
2495
|
+
# @param ClusterType: 集群资源类型 spark_private/presto_private/presto_cu/spark_cu
|
2496
|
+
# @type ClusterType: String
|
2497
|
+
# @param QuotaId: 引用ID
|
2498
|
+
# @type QuotaId: String
|
2499
|
+
# @param State: 数据引擎状态 -2已删除 -1失败 0初始化中 1挂起 2运行中 3准备删除 4删除中
|
2500
|
+
# @type State: Integer
|
2501
|
+
# @param CreateTime: 创建时间
|
2502
|
+
# @type CreateTime: Integer
|
2503
|
+
# @param UpdateTime: 更新时间
|
2504
|
+
# @type UpdateTime: Integer
|
2505
|
+
# @param Size: 集群规格
|
2506
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2507
|
+
# @type Size: Integer
|
2508
|
+
# @param Mode: 计费模式 0共享模式 1按量计费 2包年包月
|
2509
|
+
# @type Mode: Integer
|
2510
|
+
# @param MinClusters: 最小集群数
|
2511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2512
|
+
# @type MinClusters: Integer
|
2513
|
+
# @param MaxClusters: 最大集群数
|
2514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2515
|
+
# @type MaxClusters: Integer
|
2516
|
+
# @param AutoResume: 是否自动恢复
|
2517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2518
|
+
# @type AutoResume: Boolean
|
2519
|
+
# @param SpendAfter: 自动恢复时间
|
2520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
+
# @type SpendAfter: Integer
|
2522
|
+
# @param CidrBlock: 集群网段
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type CidrBlock: String
|
2525
|
+
# @param DefaultDataEngine: 是否为默认引擎
|
2526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2527
|
+
# @type DefaultDataEngine: Boolean
|
2528
|
+
# @param Message: 返回信息
|
2529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2530
|
+
# @type Message: String
|
2531
|
+
# @param DataEngineId: 引擎id
|
2532
|
+
# @type DataEngineId: String
|
2533
|
+
# @param SubAccountUin: 操作者
|
2534
|
+
# @type SubAccountUin: String
|
2535
|
+
# @param ExpireTime: 到期时间
|
2536
|
+
# @type ExpireTime: String
|
2537
|
+
# @param IsolatedTime: 隔离时间
|
2538
|
+
# @type IsolatedTime: String
|
2539
|
+
# @param ReversalTime: 冲正时间
|
2540
|
+
# @type ReversalTime: String
|
2541
|
+
# @param UserAlias: 用户名称
|
2542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2543
|
+
# @type UserAlias: String
|
2544
|
+
# @param TagList: 标签对集合
|
2545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2546
|
+
# @type TagList: Array
|
2547
|
+
# @param Permissions: 引擎拥有的权限
|
2548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2549
|
+
# @type Permissions: Array
|
2550
|
+
# @param AutoSuspend: 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
|
2551
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2552
|
+
# @type AutoSuspend: Boolean
|
2553
|
+
# @param CrontabResumeSuspend: 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
|
2554
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2555
|
+
# @type CrontabResumeSuspend: Integer
|
2556
|
+
# @param CrontabResumeSuspendStrategy: 定时启停策略,复杂类型:包含启停时间、挂起集群策略
|
2557
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2558
|
+
# @type CrontabResumeSuspendStrategy: :class:`Tencentcloud::Dlc.v20210125.models.CrontabResumeSuspendStrategy`
|
2559
|
+
# @param EngineExecType: 引擎执行任务类型,有效值:SQL/BATCH
|
2560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2561
|
+
# @type EngineExecType: String
|
2562
|
+
# @param RenewFlag: 自动续费标志,0,初始状态,默认不自动续费,若用户有预付费不停服特权,自动续费。1:自动续费。2:明确不自动续费
|
2563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2564
|
+
# @type RenewFlag: Integer
|
2565
|
+
# @param AutoSuspendTime: 集群自动挂起时间
|
2566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2567
|
+
# @type AutoSuspendTime: Integer
|
2568
|
+
# @param NetworkConnectionSet: 网络连接配置
|
2569
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2570
|
+
# @type NetworkConnectionSet: Array
|
2571
|
+
# @param UiURL: ui的跳转地址
|
2572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2573
|
+
# @type UiURL: String
|
2574
|
+
|
2575
|
+
attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL
|
2576
|
+
|
2577
|
+
def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil)
|
2578
|
+
@DataEngineName = dataenginename
|
2579
|
+
@EngineType = enginetype
|
2580
|
+
@ClusterType = clustertype
|
2581
|
+
@QuotaId = quotaid
|
2582
|
+
@State = state
|
2583
|
+
@CreateTime = createtime
|
2584
|
+
@UpdateTime = updatetime
|
2585
|
+
@Size = size
|
2586
|
+
@Mode = mode
|
2587
|
+
@MinClusters = minclusters
|
2588
|
+
@MaxClusters = maxclusters
|
2589
|
+
@AutoResume = autoresume
|
2590
|
+
@SpendAfter = spendafter
|
2591
|
+
@CidrBlock = cidrblock
|
2592
|
+
@DefaultDataEngine = defaultdataengine
|
2593
|
+
@Message = message
|
2594
|
+
@DataEngineId = dataengineid
|
2595
|
+
@SubAccountUin = subaccountuin
|
2596
|
+
@ExpireTime = expiretime
|
2597
|
+
@IsolatedTime = isolatedtime
|
2598
|
+
@ReversalTime = reversaltime
|
2599
|
+
@UserAlias = useralias
|
2600
|
+
@TagList = taglist
|
2601
|
+
@Permissions = permissions
|
2602
|
+
@AutoSuspend = autosuspend
|
2603
|
+
@CrontabResumeSuspend = crontabresumesuspend
|
2604
|
+
@CrontabResumeSuspendStrategy = crontabresumesuspendstrategy
|
2605
|
+
@EngineExecType = engineexectype
|
2606
|
+
@RenewFlag = renewflag
|
2607
|
+
@AutoSuspendTime = autosuspendtime
|
2608
|
+
@NetworkConnectionSet = networkconnectionset
|
2609
|
+
@UiURL = uiurl
|
2610
|
+
end
|
2611
|
+
|
2612
|
+
def deserialize(params)
|
2613
|
+
@DataEngineName = params['DataEngineName']
|
2614
|
+
@EngineType = params['EngineType']
|
2615
|
+
@ClusterType = params['ClusterType']
|
2616
|
+
@QuotaId = params['QuotaId']
|
2617
|
+
@State = params['State']
|
2618
|
+
@CreateTime = params['CreateTime']
|
2619
|
+
@UpdateTime = params['UpdateTime']
|
2620
|
+
@Size = params['Size']
|
2621
|
+
@Mode = params['Mode']
|
2622
|
+
@MinClusters = params['MinClusters']
|
2623
|
+
@MaxClusters = params['MaxClusters']
|
2624
|
+
@AutoResume = params['AutoResume']
|
2625
|
+
@SpendAfter = params['SpendAfter']
|
2626
|
+
@CidrBlock = params['CidrBlock']
|
2627
|
+
@DefaultDataEngine = params['DefaultDataEngine']
|
2628
|
+
@Message = params['Message']
|
2629
|
+
@DataEngineId = params['DataEngineId']
|
2630
|
+
@SubAccountUin = params['SubAccountUin']
|
2631
|
+
@ExpireTime = params['ExpireTime']
|
2632
|
+
@IsolatedTime = params['IsolatedTime']
|
2633
|
+
@ReversalTime = params['ReversalTime']
|
2634
|
+
@UserAlias = params['UserAlias']
|
2635
|
+
unless params['TagList'].nil?
|
2636
|
+
@TagList = []
|
2637
|
+
params['TagList'].each do |i|
|
2638
|
+
taginfo_tmp = TagInfo.new
|
2639
|
+
taginfo_tmp.deserialize(i)
|
2640
|
+
@TagList << taginfo_tmp
|
2641
|
+
end
|
2642
|
+
end
|
2643
|
+
@Permissions = params['Permissions']
|
2644
|
+
@AutoSuspend = params['AutoSuspend']
|
2645
|
+
@CrontabResumeSuspend = params['CrontabResumeSuspend']
|
2646
|
+
unless params['CrontabResumeSuspendStrategy'].nil?
|
2647
|
+
@CrontabResumeSuspendStrategy = CrontabResumeSuspendStrategy.new
|
2648
|
+
@CrontabResumeSuspendStrategy.deserialize(params['CrontabResumeSuspendStrategy'])
|
2649
|
+
end
|
2650
|
+
@EngineExecType = params['EngineExecType']
|
2651
|
+
@RenewFlag = params['RenewFlag']
|
2652
|
+
@AutoSuspendTime = params['AutoSuspendTime']
|
2653
|
+
unless params['NetworkConnectionSet'].nil?
|
2654
|
+
@NetworkConnectionSet = []
|
2655
|
+
params['NetworkConnectionSet'].each do |i|
|
2656
|
+
networkconnection_tmp = NetworkConnection.new
|
2657
|
+
networkconnection_tmp.deserialize(i)
|
2658
|
+
@NetworkConnectionSet << networkconnection_tmp
|
2659
|
+
end
|
2660
|
+
end
|
2661
|
+
@UiURL = params['UiURL']
|
2662
|
+
end
|
2663
|
+
end
|
2664
|
+
|
2292
2665
|
# 数据表数据格式。
|
2293
2666
|
class DataFormat < TencentCloud::Common::AbstractModel
|
2294
2667
|
# @param TextFile: 文本格式,TextFile。
|
@@ -2469,6 +2842,38 @@ module TencentCloud
|
|
2469
2842
|
end
|
2470
2843
|
end
|
2471
2844
|
|
2845
|
+
# DeleteNotebookSession请求参数结构体
|
2846
|
+
class DeleteNotebookSessionRequest < TencentCloud::Common::AbstractModel
|
2847
|
+
# @param SessionId: Session唯一标识
|
2848
|
+
# @type SessionId: String
|
2849
|
+
|
2850
|
+
attr_accessor :SessionId
|
2851
|
+
|
2852
|
+
def initialize(sessionid=nil)
|
2853
|
+
@SessionId = sessionid
|
2854
|
+
end
|
2855
|
+
|
2856
|
+
def deserialize(params)
|
2857
|
+
@SessionId = params['SessionId']
|
2858
|
+
end
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
# DeleteNotebookSession返回参数结构体
|
2862
|
+
class DeleteNotebookSessionResponse < TencentCloud::Common::AbstractModel
|
2863
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2864
|
+
# @type RequestId: String
|
2865
|
+
|
2866
|
+
attr_accessor :RequestId
|
2867
|
+
|
2868
|
+
def initialize(requestid=nil)
|
2869
|
+
@RequestId = requestid
|
2870
|
+
end
|
2871
|
+
|
2872
|
+
def deserialize(params)
|
2873
|
+
@RequestId = params['RequestId']
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2472
2877
|
# DeleteScript请求参数结构体
|
2473
2878
|
class DeleteScriptRequest < TencentCloud::Common::AbstractModel
|
2474
2879
|
# @param ScriptIds: 脚本id,其可以通过DescribeScripts接口提取
|
@@ -3060,6 +3465,108 @@ module TencentCloud
|
|
3060
3465
|
end
|
3061
3466
|
end
|
3062
3467
|
|
3468
|
+
# DescribeDataEngines请求参数结构体
|
3469
|
+
class DescribeDataEnginesRequest < TencentCloud::Common::AbstractModel
|
3470
|
+
# @param Offset: 偏移量,默认为0。
|
3471
|
+
# @type Offset: Integer
|
3472
|
+
# @param Filters: 滤类型,传参Name应为以下其中一个,
|
3473
|
+
# data-engine-name - String
|
3474
|
+
# engine-type - String
|
3475
|
+
# state - String
|
3476
|
+
# mode - String
|
3477
|
+
# create-time - String
|
3478
|
+
# message - String
|
3479
|
+
# @type Filters: Array
|
3480
|
+
# @param SortBy: 排序字段,支持如下字段类型,create-time
|
3481
|
+
# @type SortBy: String
|
3482
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc。
|
3483
|
+
# @type Sorting: String
|
3484
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
3485
|
+
# @type Limit: Integer
|
3486
|
+
# @param DatasourceConnectionName: 已废弃,请使用DatasourceConnectionNameSet
|
3487
|
+
# @type DatasourceConnectionName: String
|
3488
|
+
# @param ExcludePublicEngine: 是否不返回共享引擎,true不返回共享引擎,false可以返回共享引擎
|
3489
|
+
# @type ExcludePublicEngine: Boolean
|
3490
|
+
# @param AccessTypes: 参数应该为引擎权限类型,有效类型:"USE", "MODIFY", "OPERATE", "MONITOR", "DELETE"
|
3491
|
+
# @type AccessTypes: Array
|
3492
|
+
# @param EngineExecType: 引擎执行任务类型,有效值:SQL/BATCH
|
3493
|
+
# @type EngineExecType: String
|
3494
|
+
# @param EngineType: 引擎类型,有效值:spark/presto
|
3495
|
+
# @type EngineType: String
|
3496
|
+
# @param DatasourceConnectionNameSet: 网络配置列表,若传入该参数,则返回网络配置关联的计算引擎
|
3497
|
+
# @type DatasourceConnectionNameSet: Array
|
3498
|
+
|
3499
|
+
attr_accessor :Offset, :Filters, :SortBy, :Sorting, :Limit, :DatasourceConnectionName, :ExcludePublicEngine, :AccessTypes, :EngineExecType, :EngineType, :DatasourceConnectionNameSet
|
3500
|
+
|
3501
|
+
def initialize(offset=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, datasourceconnectionname=nil, excludepublicengine=nil, accesstypes=nil, engineexectype=nil, enginetype=nil, datasourceconnectionnameset=nil)
|
3502
|
+
@Offset = offset
|
3503
|
+
@Filters = filters
|
3504
|
+
@SortBy = sortby
|
3505
|
+
@Sorting = sorting
|
3506
|
+
@Limit = limit
|
3507
|
+
@DatasourceConnectionName = datasourceconnectionname
|
3508
|
+
@ExcludePublicEngine = excludepublicengine
|
3509
|
+
@AccessTypes = accesstypes
|
3510
|
+
@EngineExecType = engineexectype
|
3511
|
+
@EngineType = enginetype
|
3512
|
+
@DatasourceConnectionNameSet = datasourceconnectionnameset
|
3513
|
+
end
|
3514
|
+
|
3515
|
+
def deserialize(params)
|
3516
|
+
@Offset = params['Offset']
|
3517
|
+
unless params['Filters'].nil?
|
3518
|
+
@Filters = []
|
3519
|
+
params['Filters'].each do |i|
|
3520
|
+
filter_tmp = Filter.new
|
3521
|
+
filter_tmp.deserialize(i)
|
3522
|
+
@Filters << filter_tmp
|
3523
|
+
end
|
3524
|
+
end
|
3525
|
+
@SortBy = params['SortBy']
|
3526
|
+
@Sorting = params['Sorting']
|
3527
|
+
@Limit = params['Limit']
|
3528
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
3529
|
+
@ExcludePublicEngine = params['ExcludePublicEngine']
|
3530
|
+
@AccessTypes = params['AccessTypes']
|
3531
|
+
@EngineExecType = params['EngineExecType']
|
3532
|
+
@EngineType = params['EngineType']
|
3533
|
+
@DatasourceConnectionNameSet = params['DatasourceConnectionNameSet']
|
3534
|
+
end
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
# DescribeDataEngines返回参数结构体
|
3538
|
+
class DescribeDataEnginesResponse < TencentCloud::Common::AbstractModel
|
3539
|
+
# @param DataEngines: 数据引擎列表
|
3540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3541
|
+
# @type DataEngines: Array
|
3542
|
+
# @param TotalCount: 总条数
|
3543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3544
|
+
# @type TotalCount: Integer
|
3545
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3546
|
+
# @type RequestId: String
|
3547
|
+
|
3548
|
+
attr_accessor :DataEngines, :TotalCount, :RequestId
|
3549
|
+
|
3550
|
+
def initialize(dataengines=nil, totalcount=nil, requestid=nil)
|
3551
|
+
@DataEngines = dataengines
|
3552
|
+
@TotalCount = totalcount
|
3553
|
+
@RequestId = requestid
|
3554
|
+
end
|
3555
|
+
|
3556
|
+
def deserialize(params)
|
3557
|
+
unless params['DataEngines'].nil?
|
3558
|
+
@DataEngines = []
|
3559
|
+
params['DataEngines'].each do |i|
|
3560
|
+
dataengineinfo_tmp = DataEngineInfo.new
|
3561
|
+
dataengineinfo_tmp.deserialize(i)
|
3562
|
+
@DataEngines << dataengineinfo_tmp
|
3563
|
+
end
|
3564
|
+
end
|
3565
|
+
@TotalCount = params['TotalCount']
|
3566
|
+
@RequestId = params['RequestId']
|
3567
|
+
end
|
3568
|
+
end
|
3569
|
+
|
3063
3570
|
# DescribeDatabases请求参数结构体
|
3064
3571
|
class DescribeDatabasesRequest < TencentCloud::Common::AbstractModel
|
3065
3572
|
# @param Limit: 返回数量,默认为10,最大值为100。
|
@@ -3087,80 +3594,366 @@ module TencentCloud
|
|
3087
3594
|
end
|
3088
3595
|
|
3089
3596
|
def deserialize(params)
|
3090
|
-
@Limit = params['Limit']
|
3091
|
-
@Offset = params['Offset']
|
3092
|
-
@KeyWord = params['KeyWord']
|
3093
|
-
@DatasourceConnectionName = params['DatasourceConnectionName']
|
3094
|
-
@Sort = params['Sort']
|
3095
|
-
@Asc = params['Asc']
|
3597
|
+
@Limit = params['Limit']
|
3598
|
+
@Offset = params['Offset']
|
3599
|
+
@KeyWord = params['KeyWord']
|
3600
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
3601
|
+
@Sort = params['Sort']
|
3602
|
+
@Asc = params['Asc']
|
3603
|
+
end
|
3604
|
+
end
|
3605
|
+
|
3606
|
+
# DescribeDatabases返回参数结构体
|
3607
|
+
class DescribeDatabasesResponse < TencentCloud::Common::AbstractModel
|
3608
|
+
# @param DatabaseList: 数据库对象列表。
|
3609
|
+
# @type DatabaseList: Array
|
3610
|
+
# @param TotalCount: 实例总数。
|
3611
|
+
# @type TotalCount: Integer
|
3612
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3613
|
+
# @type RequestId: String
|
3614
|
+
|
3615
|
+
attr_accessor :DatabaseList, :TotalCount, :RequestId
|
3616
|
+
|
3617
|
+
def initialize(databaselist=nil, totalcount=nil, requestid=nil)
|
3618
|
+
@DatabaseList = databaselist
|
3619
|
+
@TotalCount = totalcount
|
3620
|
+
@RequestId = requestid
|
3621
|
+
end
|
3622
|
+
|
3623
|
+
def deserialize(params)
|
3624
|
+
unless params['DatabaseList'].nil?
|
3625
|
+
@DatabaseList = []
|
3626
|
+
params['DatabaseList'].each do |i|
|
3627
|
+
databaseresponseinfo_tmp = DatabaseResponseInfo.new
|
3628
|
+
databaseresponseinfo_tmp.deserialize(i)
|
3629
|
+
@DatabaseList << databaseresponseinfo_tmp
|
3630
|
+
end
|
3631
|
+
end
|
3632
|
+
@TotalCount = params['TotalCount']
|
3633
|
+
@RequestId = params['RequestId']
|
3634
|
+
end
|
3635
|
+
end
|
3636
|
+
|
3637
|
+
# DescribeNotebookSessionLog请求参数结构体
|
3638
|
+
class DescribeNotebookSessionLogRequest < TencentCloud::Common::AbstractModel
|
3639
|
+
# @param SessionId: Session唯一标识
|
3640
|
+
# @type SessionId: String
|
3641
|
+
# @param Limit: 分页参数,默认200
|
3642
|
+
# @type Limit: Integer
|
3643
|
+
# @param Offset: 分页参数,默认0
|
3644
|
+
# @type Offset: Integer
|
3645
|
+
|
3646
|
+
attr_accessor :SessionId, :Limit, :Offset
|
3647
|
+
|
3648
|
+
def initialize(sessionid=nil, limit=nil, offset=nil)
|
3649
|
+
@SessionId = sessionid
|
3650
|
+
@Limit = limit
|
3651
|
+
@Offset = offset
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
def deserialize(params)
|
3655
|
+
@SessionId = params['SessionId']
|
3656
|
+
@Limit = params['Limit']
|
3657
|
+
@Offset = params['Offset']
|
3658
|
+
end
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
# DescribeNotebookSessionLog返回参数结构体
|
3662
|
+
class DescribeNotebookSessionLogResponse < TencentCloud::Common::AbstractModel
|
3663
|
+
# @param Logs: 日志信息,默认获取最新的200条
|
3664
|
+
# @type Logs: Array
|
3665
|
+
# @param Limit: 分页参数,默认200
|
3666
|
+
# @type Limit: Integer
|
3667
|
+
# @param Offset: 分页参数,默认0
|
3668
|
+
# @type Offset: Integer
|
3669
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3670
|
+
# @type RequestId: String
|
3671
|
+
|
3672
|
+
attr_accessor :Logs, :Limit, :Offset, :RequestId
|
3673
|
+
|
3674
|
+
def initialize(logs=nil, limit=nil, offset=nil, requestid=nil)
|
3675
|
+
@Logs = logs
|
3676
|
+
@Limit = limit
|
3677
|
+
@Offset = offset
|
3678
|
+
@RequestId = requestid
|
3679
|
+
end
|
3680
|
+
|
3681
|
+
def deserialize(params)
|
3682
|
+
@Logs = params['Logs']
|
3683
|
+
@Limit = params['Limit']
|
3684
|
+
@Offset = params['Offset']
|
3685
|
+
@RequestId = params['RequestId']
|
3686
|
+
end
|
3687
|
+
end
|
3688
|
+
|
3689
|
+
# DescribeNotebookSession请求参数结构体
|
3690
|
+
class DescribeNotebookSessionRequest < TencentCloud::Common::AbstractModel
|
3691
|
+
# @param SessionId: Session唯一标识
|
3692
|
+
# @type SessionId: String
|
3693
|
+
|
3694
|
+
attr_accessor :SessionId
|
3695
|
+
|
3696
|
+
def initialize(sessionid=nil)
|
3697
|
+
@SessionId = sessionid
|
3698
|
+
end
|
3699
|
+
|
3700
|
+
def deserialize(params)
|
3701
|
+
@SessionId = params['SessionId']
|
3702
|
+
end
|
3703
|
+
end
|
3704
|
+
|
3705
|
+
# DescribeNotebookSession返回参数结构体
|
3706
|
+
class DescribeNotebookSessionResponse < TencentCloud::Common::AbstractModel
|
3707
|
+
# @param Session: Session详情信息
|
3708
|
+
# @type Session: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionInfo`
|
3709
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3710
|
+
# @type RequestId: String
|
3711
|
+
|
3712
|
+
attr_accessor :Session, :RequestId
|
3713
|
+
|
3714
|
+
def initialize(session=nil, requestid=nil)
|
3715
|
+
@Session = session
|
3716
|
+
@RequestId = requestid
|
3717
|
+
end
|
3718
|
+
|
3719
|
+
def deserialize(params)
|
3720
|
+
unless params['Session'].nil?
|
3721
|
+
@Session = NotebookSessionInfo.new
|
3722
|
+
@Session.deserialize(params['Session'])
|
3723
|
+
end
|
3724
|
+
@RequestId = params['RequestId']
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
|
3728
|
+
# DescribeNotebookSessionStatement请求参数结构体
|
3729
|
+
class DescribeNotebookSessionStatementRequest < TencentCloud::Common::AbstractModel
|
3730
|
+
# @param SessionId: Session唯一标识
|
3731
|
+
# @type SessionId: String
|
3732
|
+
# @param StatementId: Session Statement唯一标识
|
3733
|
+
# @type StatementId: String
|
3734
|
+
|
3735
|
+
attr_accessor :SessionId, :StatementId
|
3736
|
+
|
3737
|
+
def initialize(sessionid=nil, statementid=nil)
|
3738
|
+
@SessionId = sessionid
|
3739
|
+
@StatementId = statementid
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
def deserialize(params)
|
3743
|
+
@SessionId = params['SessionId']
|
3744
|
+
@StatementId = params['StatementId']
|
3745
|
+
end
|
3746
|
+
end
|
3747
|
+
|
3748
|
+
# DescribeNotebookSessionStatement返回参数结构体
|
3749
|
+
class DescribeNotebookSessionStatementResponse < TencentCloud::Common::AbstractModel
|
3750
|
+
# @param NotebookSessionStatement: Session Statement详情
|
3751
|
+
# @type NotebookSessionStatement: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionStatementInfo`
|
3752
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3753
|
+
# @type RequestId: String
|
3754
|
+
|
3755
|
+
attr_accessor :NotebookSessionStatement, :RequestId
|
3756
|
+
|
3757
|
+
def initialize(notebooksessionstatement=nil, requestid=nil)
|
3758
|
+
@NotebookSessionStatement = notebooksessionstatement
|
3759
|
+
@RequestId = requestid
|
3760
|
+
end
|
3761
|
+
|
3762
|
+
def deserialize(params)
|
3763
|
+
unless params['NotebookSessionStatement'].nil?
|
3764
|
+
@NotebookSessionStatement = NotebookSessionStatementInfo.new
|
3765
|
+
@NotebookSessionStatement.deserialize(params['NotebookSessionStatement'])
|
3766
|
+
end
|
3767
|
+
@RequestId = params['RequestId']
|
3768
|
+
end
|
3769
|
+
end
|
3770
|
+
|
3771
|
+
# DescribeNotebookSessionStatementSqlResult请求参数结构体
|
3772
|
+
class DescribeNotebookSessionStatementSqlResultRequest < TencentCloud::Common::AbstractModel
|
3773
|
+
# @param TaskId: 任务唯一ID
|
3774
|
+
# @type TaskId: String
|
3775
|
+
# @param MaxResults: 返回结果的最大行数,范围0~1000,默认为1000.
|
3776
|
+
# @type MaxResults: Integer
|
3777
|
+
# @param NextToken: 上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。
|
3778
|
+
# @type NextToken: String
|
3779
|
+
|
3780
|
+
attr_accessor :TaskId, :MaxResults, :NextToken
|
3781
|
+
|
3782
|
+
def initialize(taskid=nil, maxresults=nil, nexttoken=nil)
|
3783
|
+
@TaskId = taskid
|
3784
|
+
@MaxResults = maxresults
|
3785
|
+
@NextToken = nexttoken
|
3786
|
+
end
|
3787
|
+
|
3788
|
+
def deserialize(params)
|
3789
|
+
@TaskId = params['TaskId']
|
3790
|
+
@MaxResults = params['MaxResults']
|
3791
|
+
@NextToken = params['NextToken']
|
3792
|
+
end
|
3793
|
+
end
|
3794
|
+
|
3795
|
+
# DescribeNotebookSessionStatementSqlResult返回参数结构体
|
3796
|
+
class DescribeNotebookSessionStatementSqlResultResponse < TencentCloud::Common::AbstractModel
|
3797
|
+
# @param TaskId: 任务Id
|
3798
|
+
# @type TaskId: String
|
3799
|
+
# @param ResultSet: 结果数据
|
3800
|
+
# @type ResultSet: String
|
3801
|
+
# @param ResultSchema: schema
|
3802
|
+
# @type ResultSchema: Array
|
3803
|
+
# @param NextToken: 分页信息
|
3804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3805
|
+
# @type NextToken: String
|
3806
|
+
# @param OutputPath: 存储结果地址
|
3807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3808
|
+
# @type OutputPath: String
|
3809
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3810
|
+
# @type RequestId: String
|
3811
|
+
|
3812
|
+
attr_accessor :TaskId, :ResultSet, :ResultSchema, :NextToken, :OutputPath, :RequestId
|
3813
|
+
|
3814
|
+
def initialize(taskid=nil, resultset=nil, resultschema=nil, nexttoken=nil, outputpath=nil, requestid=nil)
|
3815
|
+
@TaskId = taskid
|
3816
|
+
@ResultSet = resultset
|
3817
|
+
@ResultSchema = resultschema
|
3818
|
+
@NextToken = nexttoken
|
3819
|
+
@OutputPath = outputpath
|
3820
|
+
@RequestId = requestid
|
3821
|
+
end
|
3822
|
+
|
3823
|
+
def deserialize(params)
|
3824
|
+
@TaskId = params['TaskId']
|
3825
|
+
@ResultSet = params['ResultSet']
|
3826
|
+
unless params['ResultSchema'].nil?
|
3827
|
+
@ResultSchema = []
|
3828
|
+
params['ResultSchema'].each do |i|
|
3829
|
+
column_tmp = Column.new
|
3830
|
+
column_tmp.deserialize(i)
|
3831
|
+
@ResultSchema << column_tmp
|
3832
|
+
end
|
3833
|
+
end
|
3834
|
+
@NextToken = params['NextToken']
|
3835
|
+
@OutputPath = params['OutputPath']
|
3836
|
+
@RequestId = params['RequestId']
|
3837
|
+
end
|
3838
|
+
end
|
3839
|
+
|
3840
|
+
# DescribeNotebookSessionStatements请求参数结构体
|
3841
|
+
class DescribeNotebookSessionStatementsRequest < TencentCloud::Common::AbstractModel
|
3842
|
+
# @param SessionId: Session唯一标识
|
3843
|
+
# @type SessionId: String
|
3844
|
+
# @param BatchId: 批任务id
|
3845
|
+
# @type BatchId: String
|
3846
|
+
|
3847
|
+
attr_accessor :SessionId, :BatchId
|
3848
|
+
|
3849
|
+
def initialize(sessionid=nil, batchid=nil)
|
3850
|
+
@SessionId = sessionid
|
3851
|
+
@BatchId = batchid
|
3852
|
+
end
|
3853
|
+
|
3854
|
+
def deserialize(params)
|
3855
|
+
@SessionId = params['SessionId']
|
3856
|
+
@BatchId = params['BatchId']
|
3096
3857
|
end
|
3097
3858
|
end
|
3098
3859
|
|
3099
|
-
#
|
3100
|
-
class
|
3101
|
-
# @param
|
3102
|
-
# @type
|
3103
|
-
# @param TotalCount: 实例总数。
|
3104
|
-
# @type TotalCount: Integer
|
3860
|
+
# DescribeNotebookSessionStatements返回参数结构体
|
3861
|
+
class DescribeNotebookSessionStatementsResponse < TencentCloud::Common::AbstractModel
|
3862
|
+
# @param NotebookSessionStatements: Session Statement详情
|
3863
|
+
# @type NotebookSessionStatements: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionStatementBatchInformation`
|
3105
3864
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3106
3865
|
# @type RequestId: String
|
3107
3866
|
|
3108
|
-
attr_accessor :
|
3867
|
+
attr_accessor :NotebookSessionStatements, :RequestId
|
3109
3868
|
|
3110
|
-
def initialize(
|
3111
|
-
@
|
3112
|
-
@TotalCount = totalcount
|
3869
|
+
def initialize(notebooksessionstatements=nil, requestid=nil)
|
3870
|
+
@NotebookSessionStatements = notebooksessionstatements
|
3113
3871
|
@RequestId = requestid
|
3114
3872
|
end
|
3115
3873
|
|
3116
3874
|
def deserialize(params)
|
3117
|
-
unless params['
|
3118
|
-
@
|
3119
|
-
params['
|
3120
|
-
databaseresponseinfo_tmp = DatabaseResponseInfo.new
|
3121
|
-
databaseresponseinfo_tmp.deserialize(i)
|
3122
|
-
@DatabaseList << databaseresponseinfo_tmp
|
3123
|
-
end
|
3875
|
+
unless params['NotebookSessionStatements'].nil?
|
3876
|
+
@NotebookSessionStatements = NotebookSessionStatementBatchInformation.new
|
3877
|
+
@NotebookSessionStatements.deserialize(params['NotebookSessionStatements'])
|
3124
3878
|
end
|
3125
|
-
@TotalCount = params['TotalCount']
|
3126
3879
|
@RequestId = params['RequestId']
|
3127
3880
|
end
|
3128
3881
|
end
|
3129
3882
|
|
3130
|
-
#
|
3131
|
-
class
|
3132
|
-
# @param
|
3133
|
-
# @type
|
3883
|
+
# DescribeNotebookSessions请求参数结构体
|
3884
|
+
class DescribeNotebookSessionsRequest < TencentCloud::Common::AbstractModel
|
3885
|
+
# @param DataEngineName: DLC Spark作业引擎名称
|
3886
|
+
# @type DataEngineName: String
|
3887
|
+
# @param State: Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
3888
|
+
# @type State: Array
|
3889
|
+
# @param SortFields: 排序字段(默认按创建时间)
|
3890
|
+
# @type SortFields: Array
|
3891
|
+
# @param Asc: 排序字段:true:升序、false:降序(默认)
|
3892
|
+
# @type Asc: Boolean
|
3893
|
+
# @param Limit: 分页字段
|
3894
|
+
# @type Limit: Integer
|
3895
|
+
# @param Offset: 分页字段
|
3896
|
+
# @type Offset: Integer
|
3134
3897
|
|
3135
|
-
attr_accessor :
|
3898
|
+
attr_accessor :DataEngineName, :State, :SortFields, :Asc, :Limit, :Offset
|
3136
3899
|
|
3137
|
-
def initialize(
|
3138
|
-
@
|
3900
|
+
def initialize(dataenginename=nil, state=nil, sortfields=nil, asc=nil, limit=nil, offset=nil)
|
3901
|
+
@DataEngineName = dataenginename
|
3902
|
+
@State = state
|
3903
|
+
@SortFields = sortfields
|
3904
|
+
@Asc = asc
|
3905
|
+
@Limit = limit
|
3906
|
+
@Offset = offset
|
3139
3907
|
end
|
3140
3908
|
|
3141
3909
|
def deserialize(params)
|
3142
|
-
@
|
3910
|
+
@DataEngineName = params['DataEngineName']
|
3911
|
+
@State = params['State']
|
3912
|
+
@SortFields = params['SortFields']
|
3913
|
+
@Asc = params['Asc']
|
3914
|
+
@Limit = params['Limit']
|
3915
|
+
@Offset = params['Offset']
|
3143
3916
|
end
|
3144
3917
|
end
|
3145
3918
|
|
3146
|
-
#
|
3147
|
-
class
|
3148
|
-
# @param
|
3149
|
-
# @type
|
3919
|
+
# DescribeNotebookSessions返回参数结构体
|
3920
|
+
class DescribeNotebookSessionsResponse < TencentCloud::Common::AbstractModel
|
3921
|
+
# @param TotalElements: session总数量
|
3922
|
+
# @type TotalElements: Integer
|
3923
|
+
# @param TotalPages: 总页数
|
3924
|
+
# @type TotalPages: Integer
|
3925
|
+
# @param Page: 当前页码
|
3926
|
+
# @type Page: Integer
|
3927
|
+
# @param Size: 当前页数量
|
3928
|
+
# @type Size: Integer
|
3929
|
+
# @param Sessions: session列表信息
|
3930
|
+
# @type Sessions: Array
|
3150
3931
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3151
3932
|
# @type RequestId: String
|
3152
3933
|
|
3153
|
-
attr_accessor :
|
3934
|
+
attr_accessor :TotalElements, :TotalPages, :Page, :Size, :Sessions, :RequestId
|
3154
3935
|
|
3155
|
-
def initialize(
|
3156
|
-
@
|
3936
|
+
def initialize(totalelements=nil, totalpages=nil, page=nil, size=nil, sessions=nil, requestid=nil)
|
3937
|
+
@TotalElements = totalelements
|
3938
|
+
@TotalPages = totalpages
|
3939
|
+
@Page = page
|
3940
|
+
@Size = size
|
3941
|
+
@Sessions = sessions
|
3157
3942
|
@RequestId = requestid
|
3158
3943
|
end
|
3159
3944
|
|
3160
3945
|
def deserialize(params)
|
3161
|
-
|
3162
|
-
|
3163
|
-
|
3946
|
+
@TotalElements = params['TotalElements']
|
3947
|
+
@TotalPages = params['TotalPages']
|
3948
|
+
@Page = params['Page']
|
3949
|
+
@Size = params['Size']
|
3950
|
+
unless params['Sessions'].nil?
|
3951
|
+
@Sessions = []
|
3952
|
+
params['Sessions'].each do |i|
|
3953
|
+
notebooksessions_tmp = NotebookSessions.new
|
3954
|
+
notebooksessions_tmp.deserialize(i)
|
3955
|
+
@Sessions << notebooksessions_tmp
|
3956
|
+
end
|
3164
3957
|
end
|
3165
3958
|
@RequestId = params['RequestId']
|
3166
3959
|
end
|
@@ -4332,6 +5125,33 @@ module TencentCloud
|
|
4332
5125
|
end
|
4333
5126
|
end
|
4334
5127
|
|
5128
|
+
# GenerateCreateMangedTableSql请求参数结构体
|
5129
|
+
class GenerateCreateMangedTableSqlRequest < TencentCloud::Common::AbstractModel
|
5130
|
+
|
5131
|
+
|
5132
|
+
def initialize()
|
5133
|
+
end
|
5134
|
+
|
5135
|
+
def deserialize(params)
|
5136
|
+
end
|
5137
|
+
end
|
5138
|
+
|
5139
|
+
# GenerateCreateMangedTableSql返回参数结构体
|
5140
|
+
class GenerateCreateMangedTableSqlResponse < TencentCloud::Common::AbstractModel
|
5141
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5142
|
+
# @type RequestId: String
|
5143
|
+
|
5144
|
+
attr_accessor :RequestId
|
5145
|
+
|
5146
|
+
def initialize(requestid=nil)
|
5147
|
+
@RequestId = requestid
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
def deserialize(params)
|
5151
|
+
@RequestId = params['RequestId']
|
5152
|
+
end
|
5153
|
+
end
|
5154
|
+
|
4335
5155
|
# 日志详情
|
4336
5156
|
class JobLogResult < TencentCloud::Common::AbstractModel
|
4337
5157
|
# @param Time: 日志时间戳,毫秒
|
@@ -4813,6 +5633,108 @@ module TencentCloud
|
|
4813
5633
|
end
|
4814
5634
|
end
|
4815
5635
|
|
5636
|
+
# 网络配置
|
5637
|
+
class NetworkConnection < TencentCloud::Common::AbstractModel
|
5638
|
+
# @param Id: 网络配置id
|
5639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5640
|
+
# @type Id: Integer
|
5641
|
+
# @param AssociateId: 网络配置唯一标志符
|
5642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5643
|
+
# @type AssociateId: String
|
5644
|
+
# @param HouseId: 计算引擎id
|
5645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5646
|
+
# @type HouseId: String
|
5647
|
+
# @param DatasourceConnectionId: 数据源id(已废弃)
|
5648
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5649
|
+
# @type DatasourceConnectionId: String
|
5650
|
+
# @param State: 网络配置状态(0-初始化,1-正常)
|
5651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5652
|
+
# @type State: Integer
|
5653
|
+
# @param CreateTime: 创建时间
|
5654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5655
|
+
# @type CreateTime: Integer
|
5656
|
+
# @param UpdateTime: 修改时间
|
5657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5658
|
+
# @type UpdateTime: Integer
|
5659
|
+
# @param Appid: 创建用户Appid
|
5660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5661
|
+
# @type Appid: Integer
|
5662
|
+
# @param HouseName: 计算引擎名称
|
5663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5664
|
+
# @type HouseName: String
|
5665
|
+
# @param DatasourceConnectionName: 网络配置名称
|
5666
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5667
|
+
# @type DatasourceConnectionName: String
|
5668
|
+
# @param NetworkConnectionType: 网络配置类型
|
5669
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5670
|
+
# @type NetworkConnectionType: Integer
|
5671
|
+
# @param Uin: 创建用户uin
|
5672
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5673
|
+
# @type Uin: String
|
5674
|
+
# @param SubAccountUin: 创建用户SubAccountUin
|
5675
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5676
|
+
# @type SubAccountUin: String
|
5677
|
+
# @param NetworkConnectionDesc: 网络配置描述
|
5678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5679
|
+
# @type NetworkConnectionDesc: String
|
5680
|
+
# @param DatasourceConnectionVpcId: 数据源vpcid
|
5681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5682
|
+
# @type DatasourceConnectionVpcId: String
|
5683
|
+
# @param DatasourceConnectionSubnetId: 数据源SubnetId
|
5684
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5685
|
+
# @type DatasourceConnectionSubnetId: String
|
5686
|
+
# @param DatasourceConnectionCidrBlock: 数据源SubnetId
|
5687
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5688
|
+
# @type DatasourceConnectionCidrBlock: String
|
5689
|
+
# @param DatasourceConnectionSubnetCidrBlock: 数据源SubnetCidrBlock
|
5690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5691
|
+
# @type DatasourceConnectionSubnetCidrBlock: String
|
5692
|
+
|
5693
|
+
attr_accessor :Id, :AssociateId, :HouseId, :DatasourceConnectionId, :State, :CreateTime, :UpdateTime, :Appid, :HouseName, :DatasourceConnectionName, :NetworkConnectionType, :Uin, :SubAccountUin, :NetworkConnectionDesc, :DatasourceConnectionVpcId, :DatasourceConnectionSubnetId, :DatasourceConnectionCidrBlock, :DatasourceConnectionSubnetCidrBlock
|
5694
|
+
|
5695
|
+
def initialize(id=nil, associateid=nil, houseid=nil, datasourceconnectionid=nil, state=nil, createtime=nil, updatetime=nil, appid=nil, housename=nil, datasourceconnectionname=nil, networkconnectiontype=nil, uin=nil, subaccountuin=nil, networkconnectiondesc=nil, datasourceconnectionvpcid=nil, datasourceconnectionsubnetid=nil, datasourceconnectioncidrblock=nil, datasourceconnectionsubnetcidrblock=nil)
|
5696
|
+
@Id = id
|
5697
|
+
@AssociateId = associateid
|
5698
|
+
@HouseId = houseid
|
5699
|
+
@DatasourceConnectionId = datasourceconnectionid
|
5700
|
+
@State = state
|
5701
|
+
@CreateTime = createtime
|
5702
|
+
@UpdateTime = updatetime
|
5703
|
+
@Appid = appid
|
5704
|
+
@HouseName = housename
|
5705
|
+
@DatasourceConnectionName = datasourceconnectionname
|
5706
|
+
@NetworkConnectionType = networkconnectiontype
|
5707
|
+
@Uin = uin
|
5708
|
+
@SubAccountUin = subaccountuin
|
5709
|
+
@NetworkConnectionDesc = networkconnectiondesc
|
5710
|
+
@DatasourceConnectionVpcId = datasourceconnectionvpcid
|
5711
|
+
@DatasourceConnectionSubnetId = datasourceconnectionsubnetid
|
5712
|
+
@DatasourceConnectionCidrBlock = datasourceconnectioncidrblock
|
5713
|
+
@DatasourceConnectionSubnetCidrBlock = datasourceconnectionsubnetcidrblock
|
5714
|
+
end
|
5715
|
+
|
5716
|
+
def deserialize(params)
|
5717
|
+
@Id = params['Id']
|
5718
|
+
@AssociateId = params['AssociateId']
|
5719
|
+
@HouseId = params['HouseId']
|
5720
|
+
@DatasourceConnectionId = params['DatasourceConnectionId']
|
5721
|
+
@State = params['State']
|
5722
|
+
@CreateTime = params['CreateTime']
|
5723
|
+
@UpdateTime = params['UpdateTime']
|
5724
|
+
@Appid = params['Appid']
|
5725
|
+
@HouseName = params['HouseName']
|
5726
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
5727
|
+
@NetworkConnectionType = params['NetworkConnectionType']
|
5728
|
+
@Uin = params['Uin']
|
5729
|
+
@SubAccountUin = params['SubAccountUin']
|
5730
|
+
@NetworkConnectionDesc = params['NetworkConnectionDesc']
|
5731
|
+
@DatasourceConnectionVpcId = params['DatasourceConnectionVpcId']
|
5732
|
+
@DatasourceConnectionSubnetId = params['DatasourceConnectionSubnetId']
|
5733
|
+
@DatasourceConnectionCidrBlock = params['DatasourceConnectionCidrBlock']
|
5734
|
+
@DatasourceConnectionSubnetCidrBlock = params['DatasourceConnectionSubnetCidrBlock']
|
5735
|
+
end
|
5736
|
+
end
|
5737
|
+
|
4816
5738
|
# Notebook Session详细信息。
|
4817
5739
|
class NotebookSessionInfo < TencentCloud::Common::AbstractModel
|
4818
5740
|
# @param Name: Session名称
|
@@ -4933,6 +5855,163 @@ module TencentCloud
|
|
4933
5855
|
end
|
4934
5856
|
end
|
4935
5857
|
|
5858
|
+
# 按批提交Statement运行SQL任务。
|
5859
|
+
class NotebookSessionStatementBatchInformation < TencentCloud::Common::AbstractModel
|
5860
|
+
# @param NotebookSessionStatementBatch: 任务详情列表
|
5861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5862
|
+
# @type NotebookSessionStatementBatch: Array
|
5863
|
+
# @param IsAvailable: 当前批任务是否运行完成
|
5864
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5865
|
+
# @type IsAvailable: Boolean
|
5866
|
+
# @param SessionId: Session唯一标识
|
5867
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5868
|
+
# @type SessionId: String
|
5869
|
+
# @param BatchId: Batch唯一标识
|
5870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5871
|
+
# @type BatchId: String
|
5872
|
+
|
5873
|
+
attr_accessor :NotebookSessionStatementBatch, :IsAvailable, :SessionId, :BatchId
|
5874
|
+
|
5875
|
+
def initialize(notebooksessionstatementbatch=nil, isavailable=nil, sessionid=nil, batchid=nil)
|
5876
|
+
@NotebookSessionStatementBatch = notebooksessionstatementbatch
|
5877
|
+
@IsAvailable = isavailable
|
5878
|
+
@SessionId = sessionid
|
5879
|
+
@BatchId = batchid
|
5880
|
+
end
|
5881
|
+
|
5882
|
+
def deserialize(params)
|
5883
|
+
unless params['NotebookSessionStatementBatch'].nil?
|
5884
|
+
@NotebookSessionStatementBatch = []
|
5885
|
+
params['NotebookSessionStatementBatch'].each do |i|
|
5886
|
+
notebooksessionstatementinfo_tmp = NotebookSessionStatementInfo.new
|
5887
|
+
notebooksessionstatementinfo_tmp.deserialize(i)
|
5888
|
+
@NotebookSessionStatementBatch << notebooksessionstatementinfo_tmp
|
5889
|
+
end
|
5890
|
+
end
|
5891
|
+
@IsAvailable = params['IsAvailable']
|
5892
|
+
@SessionId = params['SessionId']
|
5893
|
+
@BatchId = params['BatchId']
|
5894
|
+
end
|
5895
|
+
end
|
5896
|
+
|
5897
|
+
# NotebookSessionStatement详情。
|
5898
|
+
class NotebookSessionStatementInfo < TencentCloud::Common::AbstractModel
|
5899
|
+
# @param Completed: 完成时间戳
|
5900
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5901
|
+
# @type Completed: Integer
|
5902
|
+
# @param Started: 开始时间戳
|
5903
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5904
|
+
# @type Started: Integer
|
5905
|
+
# @param Progress: 完成进度,百分制
|
5906
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5907
|
+
# @type Progress: Float
|
5908
|
+
# @param StatementId: Session Statement唯一标识
|
5909
|
+
# @type StatementId: String
|
5910
|
+
# @param State: Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)
|
5911
|
+
# @type State: String
|
5912
|
+
# @param OutPut: Statement输出信息
|
5913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5914
|
+
# @type OutPut: :class:`Tencentcloud::Dlc.v20210125.models.StatementOutput`
|
5915
|
+
# @param BatchId: 批任务id
|
5916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5917
|
+
# @type BatchId: String
|
5918
|
+
# @param Code: 运行语句
|
5919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5920
|
+
# @type Code: String
|
5921
|
+
# @param TaskId: 任务ID
|
5922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5923
|
+
# @type TaskId: String
|
5924
|
+
|
5925
|
+
attr_accessor :Completed, :Started, :Progress, :StatementId, :State, :OutPut, :BatchId, :Code, :TaskId
|
5926
|
+
|
5927
|
+
def initialize(completed=nil, started=nil, progress=nil, statementid=nil, state=nil, output=nil, batchid=nil, code=nil, taskid=nil)
|
5928
|
+
@Completed = completed
|
5929
|
+
@Started = started
|
5930
|
+
@Progress = progress
|
5931
|
+
@StatementId = statementid
|
5932
|
+
@State = state
|
5933
|
+
@OutPut = output
|
5934
|
+
@BatchId = batchid
|
5935
|
+
@Code = code
|
5936
|
+
@TaskId = taskid
|
5937
|
+
end
|
5938
|
+
|
5939
|
+
def deserialize(params)
|
5940
|
+
@Completed = params['Completed']
|
5941
|
+
@Started = params['Started']
|
5942
|
+
@Progress = params['Progress']
|
5943
|
+
@StatementId = params['StatementId']
|
5944
|
+
@State = params['State']
|
5945
|
+
unless params['OutPut'].nil?
|
5946
|
+
@OutPut = StatementOutput.new
|
5947
|
+
@OutPut.deserialize(params['OutPut'])
|
5948
|
+
end
|
5949
|
+
@BatchId = params['BatchId']
|
5950
|
+
@Code = params['Code']
|
5951
|
+
@TaskId = params['TaskId']
|
5952
|
+
end
|
5953
|
+
end
|
5954
|
+
|
5955
|
+
# notebook session列表信息。
|
5956
|
+
class NotebookSessions < TencentCloud::Common::AbstractModel
|
5957
|
+
# @param Kind: 类型,当前支持:spark、pyspark、sparkr、sql
|
5958
|
+
# @type Kind: String
|
5959
|
+
# @param SessionId: Session唯一标识
|
5960
|
+
# @type SessionId: String
|
5961
|
+
# @param ProxyUser: 代理用户,默认为root
|
5962
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5963
|
+
# @type ProxyUser: String
|
5964
|
+
# @param State: Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
|
5965
|
+
# @type State: String
|
5966
|
+
# @param SparkAppId: Spark任务返回的AppId
|
5967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5968
|
+
# @type SparkAppId: String
|
5969
|
+
# @param Name: Session名称
|
5970
|
+
# @type Name: String
|
5971
|
+
# @param CreateTime: Session创建时间
|
5972
|
+
# @type CreateTime: String
|
5973
|
+
# @param DataEngineName: 引擎名称
|
5974
|
+
# @type DataEngineName: String
|
5975
|
+
# @param LastRunningTime: 最新的运行时间
|
5976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5977
|
+
# @type LastRunningTime: String
|
5978
|
+
# @param Creator: 创建者
|
5979
|
+
# @type Creator: String
|
5980
|
+
# @param SparkUiUrl: spark ui地址
|
5981
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5982
|
+
# @type SparkUiUrl: String
|
5983
|
+
|
5984
|
+
attr_accessor :Kind, :SessionId, :ProxyUser, :State, :SparkAppId, :Name, :CreateTime, :DataEngineName, :LastRunningTime, :Creator, :SparkUiUrl
|
5985
|
+
|
5986
|
+
def initialize(kind=nil, sessionid=nil, proxyuser=nil, state=nil, sparkappid=nil, name=nil, createtime=nil, dataenginename=nil, lastrunningtime=nil, creator=nil, sparkuiurl=nil)
|
5987
|
+
@Kind = kind
|
5988
|
+
@SessionId = sessionid
|
5989
|
+
@ProxyUser = proxyuser
|
5990
|
+
@State = state
|
5991
|
+
@SparkAppId = sparkappid
|
5992
|
+
@Name = name
|
5993
|
+
@CreateTime = createtime
|
5994
|
+
@DataEngineName = dataenginename
|
5995
|
+
@LastRunningTime = lastrunningtime
|
5996
|
+
@Creator = creator
|
5997
|
+
@SparkUiUrl = sparkuiurl
|
5998
|
+
end
|
5999
|
+
|
6000
|
+
def deserialize(params)
|
6001
|
+
@Kind = params['Kind']
|
6002
|
+
@SessionId = params['SessionId']
|
6003
|
+
@ProxyUser = params['ProxyUser']
|
6004
|
+
@State = params['State']
|
6005
|
+
@SparkAppId = params['SparkAppId']
|
6006
|
+
@Name = params['Name']
|
6007
|
+
@CreateTime = params['CreateTime']
|
6008
|
+
@DataEngineName = params['DataEngineName']
|
6009
|
+
@LastRunningTime = params['LastRunningTime']
|
6010
|
+
@Creator = params['Creator']
|
6011
|
+
@SparkUiUrl = params['SparkUiUrl']
|
6012
|
+
end
|
6013
|
+
end
|
6014
|
+
|
4936
6015
|
# 数据格式其它类型。
|
4937
6016
|
class Other < TencentCloud::Common::AbstractModel
|
4938
6017
|
# @param Format: 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
|
@@ -5370,6 +6449,60 @@ module TencentCloud
|
|
5370
6449
|
end
|
5371
6450
|
end
|
5372
6451
|
|
6452
|
+
# notebook session statement输出信息。
|
6453
|
+
class StatementOutput < TencentCloud::Common::AbstractModel
|
6454
|
+
# @param ExecutionCount: 执行总数
|
6455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6456
|
+
# @type ExecutionCount: Integer
|
6457
|
+
# @param Data: Statement数据
|
6458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6459
|
+
# @type Data: Array
|
6460
|
+
# @param Status: Statement状态:ok,error
|
6461
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6462
|
+
# @type Status: String
|
6463
|
+
# @param ErrorName: 错误名称
|
6464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6465
|
+
# @type ErrorName: String
|
6466
|
+
# @param ErrorValue: 错误类型
|
6467
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6468
|
+
# @type ErrorValue: String
|
6469
|
+
# @param ErrorMessage: 错误堆栈信息
|
6470
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6471
|
+
# @type ErrorMessage: Array
|
6472
|
+
# @param SQLResult: SQL类型任务结果返回
|
6473
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6474
|
+
# @type SQLResult: String
|
6475
|
+
|
6476
|
+
attr_accessor :ExecutionCount, :Data, :Status, :ErrorName, :ErrorValue, :ErrorMessage, :SQLResult
|
6477
|
+
|
6478
|
+
def initialize(executioncount=nil, data=nil, status=nil, errorname=nil, errorvalue=nil, errormessage=nil, sqlresult=nil)
|
6479
|
+
@ExecutionCount = executioncount
|
6480
|
+
@Data = data
|
6481
|
+
@Status = status
|
6482
|
+
@ErrorName = errorname
|
6483
|
+
@ErrorValue = errorvalue
|
6484
|
+
@ErrorMessage = errormessage
|
6485
|
+
@SQLResult = sqlresult
|
6486
|
+
end
|
6487
|
+
|
6488
|
+
def deserialize(params)
|
6489
|
+
@ExecutionCount = params['ExecutionCount']
|
6490
|
+
unless params['Data'].nil?
|
6491
|
+
@Data = []
|
6492
|
+
params['Data'].each do |i|
|
6493
|
+
kvpair_tmp = KVPair.new
|
6494
|
+
kvpair_tmp.deserialize(i)
|
6495
|
+
@Data << kvpair_tmp
|
6496
|
+
end
|
6497
|
+
end
|
6498
|
+
@Status = params['Status']
|
6499
|
+
@ErrorName = params['ErrorName']
|
6500
|
+
@ErrorValue = params['ErrorValue']
|
6501
|
+
@ErrorMessage = params['ErrorMessage']
|
6502
|
+
@SQLResult = params['SQLResult']
|
6503
|
+
end
|
6504
|
+
end
|
6505
|
+
|
5373
6506
|
# spark流任务统计信息
|
5374
6507
|
class StreamingStatistics < TencentCloud::Common::AbstractModel
|
5375
6508
|
# @param StartTime: 任务开始时间
|
@@ -5737,6 +6870,28 @@ module TencentCloud
|
|
5737
6870
|
end
|
5738
6871
|
end
|
5739
6872
|
|
6873
|
+
# 标签对信息
|
6874
|
+
class TagInfo < TencentCloud::Common::AbstractModel
|
6875
|
+
# @param TagKey: 标签键
|
6876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6877
|
+
# @type TagKey: String
|
6878
|
+
# @param TagValue: 标签值
|
6879
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6880
|
+
# @type TagValue: String
|
6881
|
+
|
6882
|
+
attr_accessor :TagKey, :TagValue
|
6883
|
+
|
6884
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
6885
|
+
@TagKey = tagkey
|
6886
|
+
@TagValue = tagvalue
|
6887
|
+
end
|
6888
|
+
|
6889
|
+
def deserialize(params)
|
6890
|
+
@TagKey = params['TagKey']
|
6891
|
+
@TagValue = params['TagValue']
|
6892
|
+
end
|
6893
|
+
end
|
6894
|
+
|
5740
6895
|
# 任务类型,任务如SQL查询等。
|
5741
6896
|
class Task < TencentCloud::Common::AbstractModel
|
5742
6897
|
# @param SQLTask: SQL查询任务
|