tencentcloud-sdk-dlc 3.0.504 → 3.0.506

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.
@@ -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。
@@ -3127,6 +3634,58 @@ module TencentCloud
3127
3634
  end
3128
3635
  end
3129
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
+
3130
3689
  # DescribeNotebookSession请求参数结构体
3131
3690
  class DescribeNotebookSessionRequest < TencentCloud::Common::AbstractModel
3132
3691
  # @param SessionId: Session唯一标识
@@ -3143,24 +3702,258 @@ module TencentCloud
3143
3702
  end
3144
3703
  end
3145
3704
 
3146
- # DescribeNotebookSession返回参数结构体
3147
- class DescribeNotebookSessionResponse < TencentCloud::Common::AbstractModel
3148
- # @param Session: Session详情信息
3149
- # @type Session: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionInfo`
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']
3857
+ end
3858
+ end
3859
+
3860
+ # DescribeNotebookSessionStatements返回参数结构体
3861
+ class DescribeNotebookSessionStatementsResponse < TencentCloud::Common::AbstractModel
3862
+ # @param NotebookSessionStatements: Session Statement详情
3863
+ # @type NotebookSessionStatements: :class:`Tencentcloud::Dlc.v20210125.models.NotebookSessionStatementBatchInformation`
3864
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3865
+ # @type RequestId: String
3866
+
3867
+ attr_accessor :NotebookSessionStatements, :RequestId
3868
+
3869
+ def initialize(notebooksessionstatements=nil, requestid=nil)
3870
+ @NotebookSessionStatements = notebooksessionstatements
3871
+ @RequestId = requestid
3872
+ end
3873
+
3874
+ def deserialize(params)
3875
+ unless params['NotebookSessionStatements'].nil?
3876
+ @NotebookSessionStatements = NotebookSessionStatementBatchInformation.new
3877
+ @NotebookSessionStatements.deserialize(params['NotebookSessionStatements'])
3878
+ end
3879
+ @RequestId = params['RequestId']
3880
+ end
3881
+ end
3882
+
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
3897
+
3898
+ attr_accessor :DataEngineName, :State, :SortFields, :Asc, :Limit, :Offset
3899
+
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
3907
+ end
3908
+
3909
+ def deserialize(params)
3910
+ @DataEngineName = params['DataEngineName']
3911
+ @State = params['State']
3912
+ @SortFields = params['SortFields']
3913
+ @Asc = params['Asc']
3914
+ @Limit = params['Limit']
3915
+ @Offset = params['Offset']
3916
+ end
3917
+ end
3918
+
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 :Session, :RequestId
3934
+ attr_accessor :TotalElements, :TotalPages, :Page, :Size, :Sessions, :RequestId
3154
3935
 
3155
- def initialize(session=nil, requestid=nil)
3156
- @Session = session
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
- unless params['Session'].nil?
3162
- @Session = NotebookSessionInfo.new
3163
- @Session.deserialize(params['Session'])
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,81 @@ module TencentCloud
4332
5125
  end
4333
5126
  end
4334
5127
 
5128
+ # GenerateCreateMangedTableSql请求参数结构体
5129
+ class GenerateCreateMangedTableSqlRequest < TencentCloud::Common::AbstractModel
5130
+ # @param TableBaseInfo: 表基本信息
5131
+ # @type TableBaseInfo: :class:`Tencentcloud::Dlc.v20210125.models.TableBaseInfo`
5132
+ # @param Columns: 表字段信息
5133
+ # @type Columns: Array
5134
+ # @param Partitions: 表分区信息
5135
+ # @type Partitions: Array
5136
+ # @param Properties: 表属性信息
5137
+ # @type Properties: Array
5138
+
5139
+ attr_accessor :TableBaseInfo, :Columns, :Partitions, :Properties
5140
+
5141
+ def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, properties=nil)
5142
+ @TableBaseInfo = tablebaseinfo
5143
+ @Columns = columns
5144
+ @Partitions = partitions
5145
+ @Properties = properties
5146
+ end
5147
+
5148
+ def deserialize(params)
5149
+ unless params['TableBaseInfo'].nil?
5150
+ @TableBaseInfo = TableBaseInfo.new
5151
+ @TableBaseInfo.deserialize(params['TableBaseInfo'])
5152
+ end
5153
+ unless params['Columns'].nil?
5154
+ @Columns = []
5155
+ params['Columns'].each do |i|
5156
+ tcolumn_tmp = TColumn.new
5157
+ tcolumn_tmp.deserialize(i)
5158
+ @Columns << tcolumn_tmp
5159
+ end
5160
+ end
5161
+ unless params['Partitions'].nil?
5162
+ @Partitions = []
5163
+ params['Partitions'].each do |i|
5164
+ tpartition_tmp = TPartition.new
5165
+ tpartition_tmp.deserialize(i)
5166
+ @Partitions << tpartition_tmp
5167
+ end
5168
+ end
5169
+ unless params['Properties'].nil?
5170
+ @Properties = []
5171
+ params['Properties'].each do |i|
5172
+ property_tmp = Property.new
5173
+ property_tmp.deserialize(i)
5174
+ @Properties << property_tmp
5175
+ end
5176
+ end
5177
+ end
5178
+ end
5179
+
5180
+ # GenerateCreateMangedTableSql返回参数结构体
5181
+ class GenerateCreateMangedTableSqlResponse < TencentCloud::Common::AbstractModel
5182
+ # @param Execution: 创建托管存储内表sql语句描述
5183
+ # @type Execution: :class:`Tencentcloud::Dlc.v20210125.models.Execution`
5184
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5185
+ # @type RequestId: String
5186
+
5187
+ attr_accessor :Execution, :RequestId
5188
+
5189
+ def initialize(execution=nil, requestid=nil)
5190
+ @Execution = execution
5191
+ @RequestId = requestid
5192
+ end
5193
+
5194
+ def deserialize(params)
5195
+ unless params['Execution'].nil?
5196
+ @Execution = Execution.new
5197
+ @Execution.deserialize(params['Execution'])
5198
+ end
5199
+ @RequestId = params['RequestId']
5200
+ end
5201
+ end
5202
+
4335
5203
  # 日志详情
4336
5204
  class JobLogResult < TencentCloud::Common::AbstractModel
4337
5205
  # @param Time: 日志时间戳,毫秒
@@ -4813,6 +5681,108 @@ module TencentCloud
4813
5681
  end
4814
5682
  end
4815
5683
 
5684
+ # 网络配置
5685
+ class NetworkConnection < TencentCloud::Common::AbstractModel
5686
+ # @param Id: 网络配置id
5687
+ # 注意:此字段可能返回 null,表示取不到有效值。
5688
+ # @type Id: Integer
5689
+ # @param AssociateId: 网络配置唯一标志符
5690
+ # 注意:此字段可能返回 null,表示取不到有效值。
5691
+ # @type AssociateId: String
5692
+ # @param HouseId: 计算引擎id
5693
+ # 注意:此字段可能返回 null,表示取不到有效值。
5694
+ # @type HouseId: String
5695
+ # @param DatasourceConnectionId: 数据源id(已废弃)
5696
+ # 注意:此字段可能返回 null,表示取不到有效值。
5697
+ # @type DatasourceConnectionId: String
5698
+ # @param State: 网络配置状态(0-初始化,1-正常)
5699
+ # 注意:此字段可能返回 null,表示取不到有效值。
5700
+ # @type State: Integer
5701
+ # @param CreateTime: 创建时间
5702
+ # 注意:此字段可能返回 null,表示取不到有效值。
5703
+ # @type CreateTime: Integer
5704
+ # @param UpdateTime: 修改时间
5705
+ # 注意:此字段可能返回 null,表示取不到有效值。
5706
+ # @type UpdateTime: Integer
5707
+ # @param Appid: 创建用户Appid
5708
+ # 注意:此字段可能返回 null,表示取不到有效值。
5709
+ # @type Appid: Integer
5710
+ # @param HouseName: 计算引擎名称
5711
+ # 注意:此字段可能返回 null,表示取不到有效值。
5712
+ # @type HouseName: String
5713
+ # @param DatasourceConnectionName: 网络配置名称
5714
+ # 注意:此字段可能返回 null,表示取不到有效值。
5715
+ # @type DatasourceConnectionName: String
5716
+ # @param NetworkConnectionType: 网络配置类型
5717
+ # 注意:此字段可能返回 null,表示取不到有效值。
5718
+ # @type NetworkConnectionType: Integer
5719
+ # @param Uin: 创建用户uin
5720
+ # 注意:此字段可能返回 null,表示取不到有效值。
5721
+ # @type Uin: String
5722
+ # @param SubAccountUin: 创建用户SubAccountUin
5723
+ # 注意:此字段可能返回 null,表示取不到有效值。
5724
+ # @type SubAccountUin: String
5725
+ # @param NetworkConnectionDesc: 网络配置描述
5726
+ # 注意:此字段可能返回 null,表示取不到有效值。
5727
+ # @type NetworkConnectionDesc: String
5728
+ # @param DatasourceConnectionVpcId: 数据源vpcid
5729
+ # 注意:此字段可能返回 null,表示取不到有效值。
5730
+ # @type DatasourceConnectionVpcId: String
5731
+ # @param DatasourceConnectionSubnetId: 数据源SubnetId
5732
+ # 注意:此字段可能返回 null,表示取不到有效值。
5733
+ # @type DatasourceConnectionSubnetId: String
5734
+ # @param DatasourceConnectionCidrBlock: 数据源SubnetId
5735
+ # 注意:此字段可能返回 null,表示取不到有效值。
5736
+ # @type DatasourceConnectionCidrBlock: String
5737
+ # @param DatasourceConnectionSubnetCidrBlock: 数据源SubnetCidrBlock
5738
+ # 注意:此字段可能返回 null,表示取不到有效值。
5739
+ # @type DatasourceConnectionSubnetCidrBlock: String
5740
+
5741
+ attr_accessor :Id, :AssociateId, :HouseId, :DatasourceConnectionId, :State, :CreateTime, :UpdateTime, :Appid, :HouseName, :DatasourceConnectionName, :NetworkConnectionType, :Uin, :SubAccountUin, :NetworkConnectionDesc, :DatasourceConnectionVpcId, :DatasourceConnectionSubnetId, :DatasourceConnectionCidrBlock, :DatasourceConnectionSubnetCidrBlock
5742
+
5743
+ 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)
5744
+ @Id = id
5745
+ @AssociateId = associateid
5746
+ @HouseId = houseid
5747
+ @DatasourceConnectionId = datasourceconnectionid
5748
+ @State = state
5749
+ @CreateTime = createtime
5750
+ @UpdateTime = updatetime
5751
+ @Appid = appid
5752
+ @HouseName = housename
5753
+ @DatasourceConnectionName = datasourceconnectionname
5754
+ @NetworkConnectionType = networkconnectiontype
5755
+ @Uin = uin
5756
+ @SubAccountUin = subaccountuin
5757
+ @NetworkConnectionDesc = networkconnectiondesc
5758
+ @DatasourceConnectionVpcId = datasourceconnectionvpcid
5759
+ @DatasourceConnectionSubnetId = datasourceconnectionsubnetid
5760
+ @DatasourceConnectionCidrBlock = datasourceconnectioncidrblock
5761
+ @DatasourceConnectionSubnetCidrBlock = datasourceconnectionsubnetcidrblock
5762
+ end
5763
+
5764
+ def deserialize(params)
5765
+ @Id = params['Id']
5766
+ @AssociateId = params['AssociateId']
5767
+ @HouseId = params['HouseId']
5768
+ @DatasourceConnectionId = params['DatasourceConnectionId']
5769
+ @State = params['State']
5770
+ @CreateTime = params['CreateTime']
5771
+ @UpdateTime = params['UpdateTime']
5772
+ @Appid = params['Appid']
5773
+ @HouseName = params['HouseName']
5774
+ @DatasourceConnectionName = params['DatasourceConnectionName']
5775
+ @NetworkConnectionType = params['NetworkConnectionType']
5776
+ @Uin = params['Uin']
5777
+ @SubAccountUin = params['SubAccountUin']
5778
+ @NetworkConnectionDesc = params['NetworkConnectionDesc']
5779
+ @DatasourceConnectionVpcId = params['DatasourceConnectionVpcId']
5780
+ @DatasourceConnectionSubnetId = params['DatasourceConnectionSubnetId']
5781
+ @DatasourceConnectionCidrBlock = params['DatasourceConnectionCidrBlock']
5782
+ @DatasourceConnectionSubnetCidrBlock = params['DatasourceConnectionSubnetCidrBlock']
5783
+ end
5784
+ end
5785
+
4816
5786
  # Notebook Session详细信息。
4817
5787
  class NotebookSessionInfo < TencentCloud::Common::AbstractModel
4818
5788
  # @param Name: Session名称
@@ -4933,6 +5903,163 @@ module TencentCloud
4933
5903
  end
4934
5904
  end
4935
5905
 
5906
+ # 按批提交Statement运行SQL任务。
5907
+ class NotebookSessionStatementBatchInformation < TencentCloud::Common::AbstractModel
5908
+ # @param NotebookSessionStatementBatch: 任务详情列表
5909
+ # 注意:此字段可能返回 null,表示取不到有效值。
5910
+ # @type NotebookSessionStatementBatch: Array
5911
+ # @param IsAvailable: 当前批任务是否运行完成
5912
+ # 注意:此字段可能返回 null,表示取不到有效值。
5913
+ # @type IsAvailable: Boolean
5914
+ # @param SessionId: Session唯一标识
5915
+ # 注意:此字段可能返回 null,表示取不到有效值。
5916
+ # @type SessionId: String
5917
+ # @param BatchId: Batch唯一标识
5918
+ # 注意:此字段可能返回 null,表示取不到有效值。
5919
+ # @type BatchId: String
5920
+
5921
+ attr_accessor :NotebookSessionStatementBatch, :IsAvailable, :SessionId, :BatchId
5922
+
5923
+ def initialize(notebooksessionstatementbatch=nil, isavailable=nil, sessionid=nil, batchid=nil)
5924
+ @NotebookSessionStatementBatch = notebooksessionstatementbatch
5925
+ @IsAvailable = isavailable
5926
+ @SessionId = sessionid
5927
+ @BatchId = batchid
5928
+ end
5929
+
5930
+ def deserialize(params)
5931
+ unless params['NotebookSessionStatementBatch'].nil?
5932
+ @NotebookSessionStatementBatch = []
5933
+ params['NotebookSessionStatementBatch'].each do |i|
5934
+ notebooksessionstatementinfo_tmp = NotebookSessionStatementInfo.new
5935
+ notebooksessionstatementinfo_tmp.deserialize(i)
5936
+ @NotebookSessionStatementBatch << notebooksessionstatementinfo_tmp
5937
+ end
5938
+ end
5939
+ @IsAvailable = params['IsAvailable']
5940
+ @SessionId = params['SessionId']
5941
+ @BatchId = params['BatchId']
5942
+ end
5943
+ end
5944
+
5945
+ # NotebookSessionStatement详情。
5946
+ class NotebookSessionStatementInfo < TencentCloud::Common::AbstractModel
5947
+ # @param Completed: 完成时间戳
5948
+ # 注意:此字段可能返回 null,表示取不到有效值。
5949
+ # @type Completed: Integer
5950
+ # @param Started: 开始时间戳
5951
+ # 注意:此字段可能返回 null,表示取不到有效值。
5952
+ # @type Started: Integer
5953
+ # @param Progress: 完成进度,百分制
5954
+ # 注意:此字段可能返回 null,表示取不到有效值。
5955
+ # @type Progress: Float
5956
+ # @param StatementId: Session Statement唯一标识
5957
+ # @type StatementId: String
5958
+ # @param State: Session Statement状态,包含:waiting(排队中)、running(运行中)、available(正常)、error(异常)、cancelling(取消中)、cancelled(已取消)
5959
+ # @type State: String
5960
+ # @param OutPut: Statement输出信息
5961
+ # 注意:此字段可能返回 null,表示取不到有效值。
5962
+ # @type OutPut: :class:`Tencentcloud::Dlc.v20210125.models.StatementOutput`
5963
+ # @param BatchId: 批任务id
5964
+ # 注意:此字段可能返回 null,表示取不到有效值。
5965
+ # @type BatchId: String
5966
+ # @param Code: 运行语句
5967
+ # 注意:此字段可能返回 null,表示取不到有效值。
5968
+ # @type Code: String
5969
+ # @param TaskId: 任务ID
5970
+ # 注意:此字段可能返回 null,表示取不到有效值。
5971
+ # @type TaskId: String
5972
+
5973
+ attr_accessor :Completed, :Started, :Progress, :StatementId, :State, :OutPut, :BatchId, :Code, :TaskId
5974
+
5975
+ def initialize(completed=nil, started=nil, progress=nil, statementid=nil, state=nil, output=nil, batchid=nil, code=nil, taskid=nil)
5976
+ @Completed = completed
5977
+ @Started = started
5978
+ @Progress = progress
5979
+ @StatementId = statementid
5980
+ @State = state
5981
+ @OutPut = output
5982
+ @BatchId = batchid
5983
+ @Code = code
5984
+ @TaskId = taskid
5985
+ end
5986
+
5987
+ def deserialize(params)
5988
+ @Completed = params['Completed']
5989
+ @Started = params['Started']
5990
+ @Progress = params['Progress']
5991
+ @StatementId = params['StatementId']
5992
+ @State = params['State']
5993
+ unless params['OutPut'].nil?
5994
+ @OutPut = StatementOutput.new
5995
+ @OutPut.deserialize(params['OutPut'])
5996
+ end
5997
+ @BatchId = params['BatchId']
5998
+ @Code = params['Code']
5999
+ @TaskId = params['TaskId']
6000
+ end
6001
+ end
6002
+
6003
+ # notebook session列表信息。
6004
+ class NotebookSessions < TencentCloud::Common::AbstractModel
6005
+ # @param Kind: 类型,当前支持:spark、pyspark、sparkr、sql
6006
+ # @type Kind: String
6007
+ # @param SessionId: Session唯一标识
6008
+ # @type SessionId: String
6009
+ # @param ProxyUser: 代理用户,默认为root
6010
+ # 注意:此字段可能返回 null,表示取不到有效值。
6011
+ # @type ProxyUser: String
6012
+ # @param State: Session状态,包含:not_started(未启动)、starting(已启动)、idle(等待输入)、busy(正在运行statement)、shutting_down(停止)、error(异常)、dead(已退出)、killed(被杀死)、success(正常停止)
6013
+ # @type State: String
6014
+ # @param SparkAppId: Spark任务返回的AppId
6015
+ # 注意:此字段可能返回 null,表示取不到有效值。
6016
+ # @type SparkAppId: String
6017
+ # @param Name: Session名称
6018
+ # @type Name: String
6019
+ # @param CreateTime: Session创建时间
6020
+ # @type CreateTime: String
6021
+ # @param DataEngineName: 引擎名称
6022
+ # @type DataEngineName: String
6023
+ # @param LastRunningTime: 最新的运行时间
6024
+ # 注意:此字段可能返回 null,表示取不到有效值。
6025
+ # @type LastRunningTime: String
6026
+ # @param Creator: 创建者
6027
+ # @type Creator: String
6028
+ # @param SparkUiUrl: spark ui地址
6029
+ # 注意:此字段可能返回 null,表示取不到有效值。
6030
+ # @type SparkUiUrl: String
6031
+
6032
+ attr_accessor :Kind, :SessionId, :ProxyUser, :State, :SparkAppId, :Name, :CreateTime, :DataEngineName, :LastRunningTime, :Creator, :SparkUiUrl
6033
+
6034
+ def initialize(kind=nil, sessionid=nil, proxyuser=nil, state=nil, sparkappid=nil, name=nil, createtime=nil, dataenginename=nil, lastrunningtime=nil, creator=nil, sparkuiurl=nil)
6035
+ @Kind = kind
6036
+ @SessionId = sessionid
6037
+ @ProxyUser = proxyuser
6038
+ @State = state
6039
+ @SparkAppId = sparkappid
6040
+ @Name = name
6041
+ @CreateTime = createtime
6042
+ @DataEngineName = dataenginename
6043
+ @LastRunningTime = lastrunningtime
6044
+ @Creator = creator
6045
+ @SparkUiUrl = sparkuiurl
6046
+ end
6047
+
6048
+ def deserialize(params)
6049
+ @Kind = params['Kind']
6050
+ @SessionId = params['SessionId']
6051
+ @ProxyUser = params['ProxyUser']
6052
+ @State = params['State']
6053
+ @SparkAppId = params['SparkAppId']
6054
+ @Name = params['Name']
6055
+ @CreateTime = params['CreateTime']
6056
+ @DataEngineName = params['DataEngineName']
6057
+ @LastRunningTime = params['LastRunningTime']
6058
+ @Creator = params['Creator']
6059
+ @SparkUiUrl = params['SparkUiUrl']
6060
+ end
6061
+ end
6062
+
4936
6063
  # 数据格式其它类型。
4937
6064
  class Other < TencentCloud::Common::AbstractModel
4938
6065
  # @param Format: 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
@@ -5370,6 +6497,60 @@ module TencentCloud
5370
6497
  end
5371
6498
  end
5372
6499
 
6500
+ # notebook session statement输出信息。
6501
+ class StatementOutput < TencentCloud::Common::AbstractModel
6502
+ # @param ExecutionCount: 执行总数
6503
+ # 注意:此字段可能返回 null,表示取不到有效值。
6504
+ # @type ExecutionCount: Integer
6505
+ # @param Data: Statement数据
6506
+ # 注意:此字段可能返回 null,表示取不到有效值。
6507
+ # @type Data: Array
6508
+ # @param Status: Statement状态:ok,error
6509
+ # 注意:此字段可能返回 null,表示取不到有效值。
6510
+ # @type Status: String
6511
+ # @param ErrorName: 错误名称
6512
+ # 注意:此字段可能返回 null,表示取不到有效值。
6513
+ # @type ErrorName: String
6514
+ # @param ErrorValue: 错误类型
6515
+ # 注意:此字段可能返回 null,表示取不到有效值。
6516
+ # @type ErrorValue: String
6517
+ # @param ErrorMessage: 错误堆栈信息
6518
+ # 注意:此字段可能返回 null,表示取不到有效值。
6519
+ # @type ErrorMessage: Array
6520
+ # @param SQLResult: SQL类型任务结果返回
6521
+ # 注意:此字段可能返回 null,表示取不到有效值。
6522
+ # @type SQLResult: String
6523
+
6524
+ attr_accessor :ExecutionCount, :Data, :Status, :ErrorName, :ErrorValue, :ErrorMessage, :SQLResult
6525
+
6526
+ def initialize(executioncount=nil, data=nil, status=nil, errorname=nil, errorvalue=nil, errormessage=nil, sqlresult=nil)
6527
+ @ExecutionCount = executioncount
6528
+ @Data = data
6529
+ @Status = status
6530
+ @ErrorName = errorname
6531
+ @ErrorValue = errorvalue
6532
+ @ErrorMessage = errormessage
6533
+ @SQLResult = sqlresult
6534
+ end
6535
+
6536
+ def deserialize(params)
6537
+ @ExecutionCount = params['ExecutionCount']
6538
+ unless params['Data'].nil?
6539
+ @Data = []
6540
+ params['Data'].each do |i|
6541
+ kvpair_tmp = KVPair.new
6542
+ kvpair_tmp.deserialize(i)
6543
+ @Data << kvpair_tmp
6544
+ end
6545
+ end
6546
+ @Status = params['Status']
6547
+ @ErrorName = params['ErrorName']
6548
+ @ErrorValue = params['ErrorValue']
6549
+ @ErrorMessage = params['ErrorMessage']
6550
+ @SQLResult = params['SQLResult']
6551
+ end
6552
+ end
6553
+
5373
6554
  # spark流任务统计信息
5374
6555
  class StreamingStatistics < TencentCloud::Common::AbstractModel
5375
6556
  # @param StartTime: 任务开始时间
@@ -5737,6 +6918,28 @@ module TencentCloud
5737
6918
  end
5738
6919
  end
5739
6920
 
6921
+ # 标签对信息
6922
+ class TagInfo < TencentCloud::Common::AbstractModel
6923
+ # @param TagKey: 标签键
6924
+ # 注意:此字段可能返回 null,表示取不到有效值。
6925
+ # @type TagKey: String
6926
+ # @param TagValue: 标签值
6927
+ # 注意:此字段可能返回 null,表示取不到有效值。
6928
+ # @type TagValue: String
6929
+
6930
+ attr_accessor :TagKey, :TagValue
6931
+
6932
+ def initialize(tagkey=nil, tagvalue=nil)
6933
+ @TagKey = tagkey
6934
+ @TagValue = tagvalue
6935
+ end
6936
+
6937
+ def deserialize(params)
6938
+ @TagKey = params['TagKey']
6939
+ @TagValue = params['TagValue']
6940
+ end
6941
+ end
6942
+
5740
6943
  # 任务类型,任务如SQL查询等。
5741
6944
  class Task < TencentCloud::Common::AbstractModel
5742
6945
  # @param SQLTask: SQL查询任务