tencentcloud-sdk-dlc 3.0.1170 → 3.0.1174
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 +24 -0
- data/lib/v20210125/models.rb +443 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e26085c7b64b1b2e12d85b0bc3ac52189af7536
|
|
4
|
+
data.tar.gz: add7ea8ddc87af54d375a265d2c147e1079b9002
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c665f806332fea25ced72341afffdf3dce89596e0dd12469e19512e5c62da146dc843ea849b22f3e98b509d28a8b77e70718816694667357692d777f19ac0d11
|
|
7
|
+
data.tar.gz: 799750bfe1c826db3f188ded43214e87fea4528d25257a644d10f3316fda9e890732c405bfc1f2e9289e0c830e62c653865898bdedabb377e3709ad20ea8d4bf
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20210125/client.rb
CHANGED
|
@@ -2743,6 +2743,30 @@ module TencentCloud
|
|
|
2743
2743
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2744
2744
|
end
|
|
2745
2745
|
|
|
2746
|
+
# 该接口(DescribleTasks)用于查询任务列表
|
|
2747
|
+
|
|
2748
|
+
# @param request: Request instance for DescribeTaskList.
|
|
2749
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListRequest`
|
|
2750
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListResponse`
|
|
2751
|
+
def DescribeTaskList(request)
|
|
2752
|
+
body = send_request('DescribeTaskList', request.serialize)
|
|
2753
|
+
response = JSON.parse(body)
|
|
2754
|
+
if response['Response'].key?('Error') == false
|
|
2755
|
+
model = DescribeTaskListResponse.new
|
|
2756
|
+
model.deserialize(response['Response'])
|
|
2757
|
+
model
|
|
2758
|
+
else
|
|
2759
|
+
code = response['Response']['Error']['Code']
|
|
2760
|
+
message = response['Response']['Error']['Message']
|
|
2761
|
+
reqid = response['Response']['RequestId']
|
|
2762
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2763
|
+
end
|
|
2764
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2765
|
+
raise e
|
|
2766
|
+
rescue StandardError => e
|
|
2767
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2768
|
+
end
|
|
2769
|
+
|
|
2746
2770
|
# 本接口(DescribeTaskLog)用于获取spark 作业任务日志详情
|
|
2747
2771
|
|
|
2748
2772
|
# @param request: Request instance for DescribeTaskLog.
|
data/lib/v20210125/models.rb
CHANGED
|
@@ -9106,6 +9106,101 @@ module TencentCloud
|
|
|
9106
9106
|
end
|
|
9107
9107
|
end
|
|
9108
9108
|
|
|
9109
|
+
# DescribeTaskList请求参数结构体
|
|
9110
|
+
class DescribeTaskListRequest < TencentCloud::Common::AbstractModel
|
|
9111
|
+
# @param Limit: 返回数量,默认为10,最大值为100。
|
|
9112
|
+
# @type Limit: Integer
|
|
9113
|
+
# @param Offset: 偏移量,默认为0。
|
|
9114
|
+
# @type Offset: Integer
|
|
9115
|
+
# @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
|
|
9116
|
+
# task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
|
|
9117
|
+
# task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
|
|
9118
|
+
# task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
|
|
9119
|
+
# task-operator- string (子uin过滤)
|
|
9120
|
+
# task-kind - string (任务类型过滤)
|
|
9121
|
+
# @type Filters: Array
|
|
9122
|
+
# @param SortBy: 排序字段,支持如下字段类型,create-time(创建时间,默认)、update-time(更新时间)
|
|
9123
|
+
# @type SortBy: String
|
|
9124
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc。
|
|
9125
|
+
# @type Sorting: String
|
|
9126
|
+
# @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
|
|
9127
|
+
# @type StartTime: String
|
|
9128
|
+
# @param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
|
|
9129
|
+
# @type EndTime: String
|
|
9130
|
+
# @param DataEngineName: 数据引擎名称,用于筛选
|
|
9131
|
+
# @type DataEngineName: String
|
|
9132
|
+
# @param ResourceGroupName: spark引擎资源组名称
|
|
9133
|
+
# @type ResourceGroupName: String
|
|
9134
|
+
# @param HouseIds: 引擎id列表
|
|
9135
|
+
# @type HouseIds: Array
|
|
9136
|
+
|
|
9137
|
+
attr_accessor :Limit, :Offset, :Filters, :SortBy, :Sorting, :StartTime, :EndTime, :DataEngineName, :ResourceGroupName, :HouseIds
|
|
9138
|
+
|
|
9139
|
+
def initialize(limit=nil, offset=nil, filters=nil, sortby=nil, sorting=nil, starttime=nil, endtime=nil, dataenginename=nil, resourcegroupname=nil, houseids=nil)
|
|
9140
|
+
@Limit = limit
|
|
9141
|
+
@Offset = offset
|
|
9142
|
+
@Filters = filters
|
|
9143
|
+
@SortBy = sortby
|
|
9144
|
+
@Sorting = sorting
|
|
9145
|
+
@StartTime = starttime
|
|
9146
|
+
@EndTime = endtime
|
|
9147
|
+
@DataEngineName = dataenginename
|
|
9148
|
+
@ResourceGroupName = resourcegroupname
|
|
9149
|
+
@HouseIds = houseids
|
|
9150
|
+
end
|
|
9151
|
+
|
|
9152
|
+
def deserialize(params)
|
|
9153
|
+
@Limit = params['Limit']
|
|
9154
|
+
@Offset = params['Offset']
|
|
9155
|
+
unless params['Filters'].nil?
|
|
9156
|
+
@Filters = []
|
|
9157
|
+
params['Filters'].each do |i|
|
|
9158
|
+
filter_tmp = Filter.new
|
|
9159
|
+
filter_tmp.deserialize(i)
|
|
9160
|
+
@Filters << filter_tmp
|
|
9161
|
+
end
|
|
9162
|
+
end
|
|
9163
|
+
@SortBy = params['SortBy']
|
|
9164
|
+
@Sorting = params['Sorting']
|
|
9165
|
+
@StartTime = params['StartTime']
|
|
9166
|
+
@EndTime = params['EndTime']
|
|
9167
|
+
@DataEngineName = params['DataEngineName']
|
|
9168
|
+
@ResourceGroupName = params['ResourceGroupName']
|
|
9169
|
+
@HouseIds = params['HouseIds']
|
|
9170
|
+
end
|
|
9171
|
+
end
|
|
9172
|
+
|
|
9173
|
+
# DescribeTaskList返回参数结构体
|
|
9174
|
+
class DescribeTaskListResponse < TencentCloud::Common::AbstractModel
|
|
9175
|
+
# @param TaskList: 任务对象列表。
|
|
9176
|
+
# @type TaskList: Array
|
|
9177
|
+
# @param TotalCount: 实例总数。
|
|
9178
|
+
# @type TotalCount: Integer
|
|
9179
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9180
|
+
# @type RequestId: String
|
|
9181
|
+
|
|
9182
|
+
attr_accessor :TaskList, :TotalCount, :RequestId
|
|
9183
|
+
|
|
9184
|
+
def initialize(tasklist=nil, totalcount=nil, requestid=nil)
|
|
9185
|
+
@TaskList = tasklist
|
|
9186
|
+
@TotalCount = totalcount
|
|
9187
|
+
@RequestId = requestid
|
|
9188
|
+
end
|
|
9189
|
+
|
|
9190
|
+
def deserialize(params)
|
|
9191
|
+
unless params['TaskList'].nil?
|
|
9192
|
+
@TaskList = []
|
|
9193
|
+
params['TaskList'].each do |i|
|
|
9194
|
+
taskfullrespinfo_tmp = TaskFullRespInfo.new
|
|
9195
|
+
taskfullrespinfo_tmp.deserialize(i)
|
|
9196
|
+
@TaskList << taskfullrespinfo_tmp
|
|
9197
|
+
end
|
|
9198
|
+
end
|
|
9199
|
+
@TotalCount = params['TotalCount']
|
|
9200
|
+
@RequestId = params['RequestId']
|
|
9201
|
+
end
|
|
9202
|
+
end
|
|
9203
|
+
|
|
9109
9204
|
# DescribeTaskLog请求参数结构体
|
|
9110
9205
|
class DescribeTaskLogRequest < TencentCloud::Common::AbstractModel
|
|
9111
9206
|
# @param TaskId: 列表返回的Id
|
|
@@ -13688,7 +13783,23 @@ module TencentCloud
|
|
|
13688
13783
|
end
|
|
13689
13784
|
end
|
|
13690
13785
|
|
|
13691
|
-
#
|
|
13786
|
+
# 数据治理资源配置项
|
|
13787
|
+
class ResourceConf < TencentCloud::Common::AbstractModel
|
|
13788
|
+
# @param Parallelism: 当为TCLake优化资源时,优化任务的并行度
|
|
13789
|
+
# @type Parallelism: Integer
|
|
13790
|
+
|
|
13791
|
+
attr_accessor :Parallelism
|
|
13792
|
+
|
|
13793
|
+
def initialize(parallelism=nil)
|
|
13794
|
+
@Parallelism = parallelism
|
|
13795
|
+
end
|
|
13796
|
+
|
|
13797
|
+
def deserialize(params)
|
|
13798
|
+
@Parallelism = params['Parallelism']
|
|
13799
|
+
end
|
|
13800
|
+
end
|
|
13801
|
+
|
|
13802
|
+
# 数据优化资源信息结构
|
|
13692
13803
|
class ResourceInfo < TencentCloud::Common::AbstractModel
|
|
13693
13804
|
# @param AttributionType: 归属类型
|
|
13694
13805
|
# @type AttributionType: String
|
|
@@ -13705,10 +13816,12 @@ module TencentCloud
|
|
|
13705
13816
|
# @type Status: Integer
|
|
13706
13817
|
# @param ResourceGroupName: 标准引擎资源组信息
|
|
13707
13818
|
# @type ResourceGroupName: String
|
|
13819
|
+
# @param ResourceConf: 资源配置信息
|
|
13820
|
+
# @type ResourceConf: :class:`Tencentcloud::Dlc.v20210125.models.ResourceConf`
|
|
13708
13821
|
|
|
13709
|
-
attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName
|
|
13822
|
+
attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName, :ResourceConf
|
|
13710
13823
|
|
|
13711
|
-
def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil)
|
|
13824
|
+
def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil, resourceconf=nil)
|
|
13712
13825
|
@AttributionType = attributiontype
|
|
13713
13826
|
@ResourceType = resourcetype
|
|
13714
13827
|
@Name = name
|
|
@@ -13716,6 +13829,7 @@ module TencentCloud
|
|
|
13716
13829
|
@Favor = favor
|
|
13717
13830
|
@Status = status
|
|
13718
13831
|
@ResourceGroupName = resourcegroupname
|
|
13832
|
+
@ResourceConf = resourceconf
|
|
13719
13833
|
end
|
|
13720
13834
|
|
|
13721
13835
|
def deserialize(params)
|
|
@@ -13733,6 +13847,10 @@ module TencentCloud
|
|
|
13733
13847
|
end
|
|
13734
13848
|
@Status = params['Status']
|
|
13735
13849
|
@ResourceGroupName = params['ResourceGroupName']
|
|
13850
|
+
unless params['ResourceConf'].nil?
|
|
13851
|
+
@ResourceConf = ResourceConf.new
|
|
13852
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
|
13853
|
+
end
|
|
13736
13854
|
end
|
|
13737
13855
|
end
|
|
13738
13856
|
|
|
@@ -15481,6 +15599,328 @@ module TencentCloud
|
|
|
15481
15599
|
end
|
|
15482
15600
|
end
|
|
15483
15601
|
|
|
15602
|
+
# 任务实例。
|
|
15603
|
+
class TaskFullRespInfo < TencentCloud::Common::AbstractModel
|
|
15604
|
+
# @param DatabaseName: 任务所属Database的名称。
|
|
15605
|
+
# @type DatabaseName: String
|
|
15606
|
+
# @param DataAmount: 任务数据量。
|
|
15607
|
+
# @type DataAmount: Integer
|
|
15608
|
+
# @param Id: 任务Id。
|
|
15609
|
+
# @type Id: String
|
|
15610
|
+
# @param UsedTime: 计算耗时,单位: ms
|
|
15611
|
+
# @type UsedTime: Integer
|
|
15612
|
+
# @param OutputPath: 任务输出路径。
|
|
15613
|
+
# @type OutputPath: String
|
|
15614
|
+
# @param CreateTime: 任务创建时间。
|
|
15615
|
+
# @type CreateTime: String
|
|
15616
|
+
# @param State: 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
|
|
15617
|
+
# @type State: Integer
|
|
15618
|
+
# @param SQLType: 任务SQL类型,DDL|DML等
|
|
15619
|
+
# @type SQLType: String
|
|
15620
|
+
# @param SQL: 任务SQL语句
|
|
15621
|
+
# @type SQL: String
|
|
15622
|
+
# @param ResultExpired: 结果是否过期。
|
|
15623
|
+
# @type ResultExpired: Boolean
|
|
15624
|
+
# @param RowAffectInfo: 数据影响统计信息。
|
|
15625
|
+
# @type RowAffectInfo: String
|
|
15626
|
+
# @param DataSet: 任务结果数据表。
|
|
15627
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15628
|
+
# @type DataSet: String
|
|
15629
|
+
# @param Error: 失败信息, 例如:errorMessage。该字段已废弃。
|
|
15630
|
+
# @type Error: String
|
|
15631
|
+
# @param Percentage: 任务执行进度num/100(%)
|
|
15632
|
+
# @type Percentage: Integer
|
|
15633
|
+
# @param OutputMessage: 任务执行输出信息。
|
|
15634
|
+
# @type OutputMessage: String
|
|
15635
|
+
# @param TaskType: 执行SQL的引擎类型
|
|
15636
|
+
# @type TaskType: String
|
|
15637
|
+
# @param ProgressDetail: 任务进度明细
|
|
15638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15639
|
+
# @type ProgressDetail: String
|
|
15640
|
+
# @param UpdateTime: 任务结束时间
|
|
15641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15642
|
+
# @type UpdateTime: String
|
|
15643
|
+
# @param DataEngineId: 计算资源id
|
|
15644
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15645
|
+
# @type DataEngineId: String
|
|
15646
|
+
# @param OperateUin: 执行sql的子uin
|
|
15647
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15648
|
+
# @type OperateUin: String
|
|
15649
|
+
# @param DataEngineName: 计算资源名字
|
|
15650
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15651
|
+
# @type DataEngineName: String
|
|
15652
|
+
# @param InputType: 导入类型是本地导入还是cos
|
|
15653
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15654
|
+
# @type InputType: String
|
|
15655
|
+
# @param InputConf: 导入配置
|
|
15656
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15657
|
+
# @type InputConf: String
|
|
15658
|
+
# @param DataNumber: 数据条数
|
|
15659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15660
|
+
# @type DataNumber: Integer
|
|
15661
|
+
# @param CanDownload: 查询数据能不能下载
|
|
15662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15663
|
+
# @type CanDownload: Boolean
|
|
15664
|
+
# @param UserAlias: 用户别名
|
|
15665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15666
|
+
# @type UserAlias: String
|
|
15667
|
+
# @param SparkJobName: spark应用作业名
|
|
15668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15669
|
+
# @type SparkJobName: String
|
|
15670
|
+
# @param SparkJobId: spark应用作业Id
|
|
15671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15672
|
+
# @type SparkJobId: String
|
|
15673
|
+
# @param SparkJobFile: spark应用入口jar文件
|
|
15674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15675
|
+
# @type SparkJobFile: String
|
|
15676
|
+
# @param UiUrl: spark ui url
|
|
15677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15678
|
+
# @type UiUrl: String
|
|
15679
|
+
# @param TotalTime: 任务耗时,单位: ms
|
|
15680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15681
|
+
# @type TotalTime: Integer
|
|
15682
|
+
# @param CmdArgs: spark app job执行task的程序入口参数
|
|
15683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15684
|
+
# @type CmdArgs: String
|
|
15685
|
+
# @param ImageVersion: 集群镜像大版本名称
|
|
15686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15687
|
+
# @type ImageVersion: String
|
|
15688
|
+
# @param DriverSize: driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
|
|
15689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15690
|
+
# @type DriverSize: String
|
|
15691
|
+
# @param ExecutorSize: executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
|
|
15692
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15693
|
+
# @type ExecutorSize: String
|
|
15694
|
+
# @param ExecutorNums: 指定executor数量,最小值为1,最大值小于集群规格
|
|
15695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15696
|
+
# @type ExecutorNums: Integer
|
|
15697
|
+
# @param ExecutorMaxNumbers: 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
|
|
15698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15699
|
+
# @type ExecutorMaxNumbers: Integer
|
|
15700
|
+
# @param CommonMetrics: 任务公共指标数据
|
|
15701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15702
|
+
# @type CommonMetrics: :class:`Tencentcloud::Dlc.v20210125.models.CommonMetrics`
|
|
15703
|
+
# @param SparkMonitorMetrics: spark任务指标数据
|
|
15704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15705
|
+
# @type SparkMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.SparkMonitorMetrics`
|
|
15706
|
+
# @param PrestoMonitorMetrics: presto任务指标数据
|
|
15707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15708
|
+
# @type PrestoMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.PrestoMonitorMetrics`
|
|
15709
|
+
# @param ResultFormat: 结果文件格式:默认为csv
|
|
15710
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15711
|
+
# @type ResultFormat: String
|
|
15712
|
+
# @param EngineTypeDetail: 引擎类型,SparkSQL:SparkSQL 引擎;SparkBatch:Spark作业引擎;PrestoSQL:Presto引擎
|
|
15713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15714
|
+
# @type EngineTypeDetail: String
|
|
15715
|
+
# @param ResourceGroupName: spark引擎资源组名称
|
|
15716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15717
|
+
# @type ResourceGroupName: String
|
|
15718
|
+
# @param Source: 任务来源信息,如thirdPartyApi,dataExploration, sparkAppTask等
|
|
15719
|
+
# @type Source: String
|
|
15720
|
+
# @param SourceExtra: 子渠道信息,一般由第三方调用定义
|
|
15721
|
+
# @type SourceExtra: String
|
|
15722
|
+
# @param CreatorUin: 创建人uin
|
|
15723
|
+
# @type CreatorUin: String
|
|
15724
|
+
# @param CreatorAlias: 创建人名字
|
|
15725
|
+
# @type CreatorAlias: String
|
|
15726
|
+
# @param CustomizedConf: 引擎参数
|
|
15727
|
+
# @type CustomizedConf: String
|
|
15728
|
+
# @param TaskTimeSum: 单位秒,累计 CPU* 秒 ( 累计 CPU * 时 = 累计 CPU* 秒/ 3600),统计参与计算所用 Spark Executor 每个 core 的 CPU 执行时长总和
|
|
15729
|
+
# 示例值:4329
|
|
15730
|
+
# @type TaskTimeSum: Integer
|
|
15731
|
+
# @param StageStartTime: 引擎执行时间
|
|
15732
|
+
# @type StageStartTime: Integer
|
|
15733
|
+
# @param InputRecordsSum: 数据扫描条数
|
|
15734
|
+
# @type InputRecordsSum: Integer
|
|
15735
|
+
# @param AnalysisStatusType: 健康状态
|
|
15736
|
+
# @type AnalysisStatusType: Integer
|
|
15737
|
+
# @param OutputRecordsSum: 输出总行数
|
|
15738
|
+
# @type OutputRecordsSum: Integer
|
|
15739
|
+
# @param OutputBytesSum: 输出总大小
|
|
15740
|
+
# @type OutputBytesSum: Integer
|
|
15741
|
+
# @param OutputFilesNum: 输出文件个数
|
|
15742
|
+
# @type OutputFilesNum: Integer
|
|
15743
|
+
# @param OutputSmallFilesNum: 输出小文件个数
|
|
15744
|
+
# @type OutputSmallFilesNum: Integer
|
|
15745
|
+
# @param ShuffleReadRecordsSum: 数据shuffle行数
|
|
15746
|
+
# @type ShuffleReadRecordsSum: Integer
|
|
15747
|
+
# @param ShuffleReadBytesSum: 数据shuffle大小
|
|
15748
|
+
# @type ShuffleReadBytesSum: Integer
|
|
15749
|
+
# @param SparkAppId: spark作业id
|
|
15750
|
+
# @type SparkAppId: String
|
|
15751
|
+
# @param TaskCategory: 任务大类,DLC2.0中任务区分为两大类,sql任务和作业任务
|
|
15752
|
+
# @type TaskCategory: String
|
|
15753
|
+
# @param TaskName: 任务名称
|
|
15754
|
+
# @type TaskName: String
|
|
15755
|
+
# @param EngineType: 引擎类型,用做任务详情页跳转引擎tab
|
|
15756
|
+
# @type EngineType: String
|
|
15757
|
+
# @param EngineHasListenerConfig: 引擎是否支持洞察数据采集
|
|
15758
|
+
# @type EngineHasListenerConfig: Boolean
|
|
15759
|
+
# @param ResourceGroupId: spark引擎资源组id
|
|
15760
|
+
# @type ResourceGroupId: String
|
|
15761
|
+
# @param JobTimeSum: 任务计算耗时
|
|
15762
|
+
# @type JobTimeSum: Integer
|
|
15763
|
+
# @param LaunchTime: 任务启动耗时
|
|
15764
|
+
# @type LaunchTime: String
|
|
15765
|
+
# @param GpuDriverSize: Gpu Driver 规格
|
|
15766
|
+
# @type GpuDriverSize: Integer
|
|
15767
|
+
# @param GpuExecutorSize: Gpu Executor 规格
|
|
15768
|
+
# @type GpuExecutorSize: Integer
|
|
15769
|
+
|
|
15770
|
+
attr_accessor :DatabaseName, :DataAmount, :Id, :UsedTime, :OutputPath, :CreateTime, :State, :SQLType, :SQL, :ResultExpired, :RowAffectInfo, :DataSet, :Error, :Percentage, :OutputMessage, :TaskType, :ProgressDetail, :UpdateTime, :DataEngineId, :OperateUin, :DataEngineName, :InputType, :InputConf, :DataNumber, :CanDownload, :UserAlias, :SparkJobName, :SparkJobId, :SparkJobFile, :UiUrl, :TotalTime, :CmdArgs, :ImageVersion, :DriverSize, :ExecutorSize, :ExecutorNums, :ExecutorMaxNumbers, :CommonMetrics, :SparkMonitorMetrics, :PrestoMonitorMetrics, :ResultFormat, :EngineTypeDetail, :ResourceGroupName, :Source, :SourceExtra, :CreatorUin, :CreatorAlias, :CustomizedConf, :TaskTimeSum, :StageStartTime, :InputRecordsSum, :AnalysisStatusType, :OutputRecordsSum, :OutputBytesSum, :OutputFilesNum, :OutputSmallFilesNum, :ShuffleReadRecordsSum, :ShuffleReadBytesSum, :SparkAppId, :TaskCategory, :TaskName, :EngineType, :EngineHasListenerConfig, :ResourceGroupId, :JobTimeSum, :LaunchTime, :GpuDriverSize, :GpuExecutorSize
|
|
15771
|
+
|
|
15772
|
+
def initialize(databasename=nil, dataamount=nil, id=nil, usedtime=nil, outputpath=nil, createtime=nil, state=nil, sqltype=nil, sql=nil, resultexpired=nil, rowaffectinfo=nil, dataset=nil, error=nil, percentage=nil, outputmessage=nil, tasktype=nil, progressdetail=nil, updatetime=nil, dataengineid=nil, operateuin=nil, dataenginename=nil, inputtype=nil, inputconf=nil, datanumber=nil, candownload=nil, useralias=nil, sparkjobname=nil, sparkjobid=nil, sparkjobfile=nil, uiurl=nil, totaltime=nil, cmdargs=nil, imageversion=nil, driversize=nil, executorsize=nil, executornums=nil, executormaxnumbers=nil, commonmetrics=nil, sparkmonitormetrics=nil, prestomonitormetrics=nil, resultformat=nil, enginetypedetail=nil, resourcegroupname=nil, source=nil, sourceextra=nil, creatoruin=nil, creatoralias=nil, customizedconf=nil, tasktimesum=nil, stagestarttime=nil, inputrecordssum=nil, analysisstatustype=nil, outputrecordssum=nil, outputbytessum=nil, outputfilesnum=nil, outputsmallfilesnum=nil, shufflereadrecordssum=nil, shufflereadbytessum=nil, sparkappid=nil, taskcategory=nil, taskname=nil, enginetype=nil, enginehaslistenerconfig=nil, resourcegroupid=nil, jobtimesum=nil, launchtime=nil, gpudriversize=nil, gpuexecutorsize=nil)
|
|
15773
|
+
@DatabaseName = databasename
|
|
15774
|
+
@DataAmount = dataamount
|
|
15775
|
+
@Id = id
|
|
15776
|
+
@UsedTime = usedtime
|
|
15777
|
+
@OutputPath = outputpath
|
|
15778
|
+
@CreateTime = createtime
|
|
15779
|
+
@State = state
|
|
15780
|
+
@SQLType = sqltype
|
|
15781
|
+
@SQL = sql
|
|
15782
|
+
@ResultExpired = resultexpired
|
|
15783
|
+
@RowAffectInfo = rowaffectinfo
|
|
15784
|
+
@DataSet = dataset
|
|
15785
|
+
@Error = error
|
|
15786
|
+
@Percentage = percentage
|
|
15787
|
+
@OutputMessage = outputmessage
|
|
15788
|
+
@TaskType = tasktype
|
|
15789
|
+
@ProgressDetail = progressdetail
|
|
15790
|
+
@UpdateTime = updatetime
|
|
15791
|
+
@DataEngineId = dataengineid
|
|
15792
|
+
@OperateUin = operateuin
|
|
15793
|
+
@DataEngineName = dataenginename
|
|
15794
|
+
@InputType = inputtype
|
|
15795
|
+
@InputConf = inputconf
|
|
15796
|
+
@DataNumber = datanumber
|
|
15797
|
+
@CanDownload = candownload
|
|
15798
|
+
@UserAlias = useralias
|
|
15799
|
+
@SparkJobName = sparkjobname
|
|
15800
|
+
@SparkJobId = sparkjobid
|
|
15801
|
+
@SparkJobFile = sparkjobfile
|
|
15802
|
+
@UiUrl = uiurl
|
|
15803
|
+
@TotalTime = totaltime
|
|
15804
|
+
@CmdArgs = cmdargs
|
|
15805
|
+
@ImageVersion = imageversion
|
|
15806
|
+
@DriverSize = driversize
|
|
15807
|
+
@ExecutorSize = executorsize
|
|
15808
|
+
@ExecutorNums = executornums
|
|
15809
|
+
@ExecutorMaxNumbers = executormaxnumbers
|
|
15810
|
+
@CommonMetrics = commonmetrics
|
|
15811
|
+
@SparkMonitorMetrics = sparkmonitormetrics
|
|
15812
|
+
@PrestoMonitorMetrics = prestomonitormetrics
|
|
15813
|
+
@ResultFormat = resultformat
|
|
15814
|
+
@EngineTypeDetail = enginetypedetail
|
|
15815
|
+
@ResourceGroupName = resourcegroupname
|
|
15816
|
+
@Source = source
|
|
15817
|
+
@SourceExtra = sourceextra
|
|
15818
|
+
@CreatorUin = creatoruin
|
|
15819
|
+
@CreatorAlias = creatoralias
|
|
15820
|
+
@CustomizedConf = customizedconf
|
|
15821
|
+
@TaskTimeSum = tasktimesum
|
|
15822
|
+
@StageStartTime = stagestarttime
|
|
15823
|
+
@InputRecordsSum = inputrecordssum
|
|
15824
|
+
@AnalysisStatusType = analysisstatustype
|
|
15825
|
+
@OutputRecordsSum = outputrecordssum
|
|
15826
|
+
@OutputBytesSum = outputbytessum
|
|
15827
|
+
@OutputFilesNum = outputfilesnum
|
|
15828
|
+
@OutputSmallFilesNum = outputsmallfilesnum
|
|
15829
|
+
@ShuffleReadRecordsSum = shufflereadrecordssum
|
|
15830
|
+
@ShuffleReadBytesSum = shufflereadbytessum
|
|
15831
|
+
@SparkAppId = sparkappid
|
|
15832
|
+
@TaskCategory = taskcategory
|
|
15833
|
+
@TaskName = taskname
|
|
15834
|
+
@EngineType = enginetype
|
|
15835
|
+
@EngineHasListenerConfig = enginehaslistenerconfig
|
|
15836
|
+
@ResourceGroupId = resourcegroupid
|
|
15837
|
+
@JobTimeSum = jobtimesum
|
|
15838
|
+
@LaunchTime = launchtime
|
|
15839
|
+
@GpuDriverSize = gpudriversize
|
|
15840
|
+
@GpuExecutorSize = gpuexecutorsize
|
|
15841
|
+
end
|
|
15842
|
+
|
|
15843
|
+
def deserialize(params)
|
|
15844
|
+
@DatabaseName = params['DatabaseName']
|
|
15845
|
+
@DataAmount = params['DataAmount']
|
|
15846
|
+
@Id = params['Id']
|
|
15847
|
+
@UsedTime = params['UsedTime']
|
|
15848
|
+
@OutputPath = params['OutputPath']
|
|
15849
|
+
@CreateTime = params['CreateTime']
|
|
15850
|
+
@State = params['State']
|
|
15851
|
+
@SQLType = params['SQLType']
|
|
15852
|
+
@SQL = params['SQL']
|
|
15853
|
+
@ResultExpired = params['ResultExpired']
|
|
15854
|
+
@RowAffectInfo = params['RowAffectInfo']
|
|
15855
|
+
@DataSet = params['DataSet']
|
|
15856
|
+
@Error = params['Error']
|
|
15857
|
+
@Percentage = params['Percentage']
|
|
15858
|
+
@OutputMessage = params['OutputMessage']
|
|
15859
|
+
@TaskType = params['TaskType']
|
|
15860
|
+
@ProgressDetail = params['ProgressDetail']
|
|
15861
|
+
@UpdateTime = params['UpdateTime']
|
|
15862
|
+
@DataEngineId = params['DataEngineId']
|
|
15863
|
+
@OperateUin = params['OperateUin']
|
|
15864
|
+
@DataEngineName = params['DataEngineName']
|
|
15865
|
+
@InputType = params['InputType']
|
|
15866
|
+
@InputConf = params['InputConf']
|
|
15867
|
+
@DataNumber = params['DataNumber']
|
|
15868
|
+
@CanDownload = params['CanDownload']
|
|
15869
|
+
@UserAlias = params['UserAlias']
|
|
15870
|
+
@SparkJobName = params['SparkJobName']
|
|
15871
|
+
@SparkJobId = params['SparkJobId']
|
|
15872
|
+
@SparkJobFile = params['SparkJobFile']
|
|
15873
|
+
@UiUrl = params['UiUrl']
|
|
15874
|
+
@TotalTime = params['TotalTime']
|
|
15875
|
+
@CmdArgs = params['CmdArgs']
|
|
15876
|
+
@ImageVersion = params['ImageVersion']
|
|
15877
|
+
@DriverSize = params['DriverSize']
|
|
15878
|
+
@ExecutorSize = params['ExecutorSize']
|
|
15879
|
+
@ExecutorNums = params['ExecutorNums']
|
|
15880
|
+
@ExecutorMaxNumbers = params['ExecutorMaxNumbers']
|
|
15881
|
+
unless params['CommonMetrics'].nil?
|
|
15882
|
+
@CommonMetrics = CommonMetrics.new
|
|
15883
|
+
@CommonMetrics.deserialize(params['CommonMetrics'])
|
|
15884
|
+
end
|
|
15885
|
+
unless params['SparkMonitorMetrics'].nil?
|
|
15886
|
+
@SparkMonitorMetrics = SparkMonitorMetrics.new
|
|
15887
|
+
@SparkMonitorMetrics.deserialize(params['SparkMonitorMetrics'])
|
|
15888
|
+
end
|
|
15889
|
+
unless params['PrestoMonitorMetrics'].nil?
|
|
15890
|
+
@PrestoMonitorMetrics = PrestoMonitorMetrics.new
|
|
15891
|
+
@PrestoMonitorMetrics.deserialize(params['PrestoMonitorMetrics'])
|
|
15892
|
+
end
|
|
15893
|
+
@ResultFormat = params['ResultFormat']
|
|
15894
|
+
@EngineTypeDetail = params['EngineTypeDetail']
|
|
15895
|
+
@ResourceGroupName = params['ResourceGroupName']
|
|
15896
|
+
@Source = params['Source']
|
|
15897
|
+
@SourceExtra = params['SourceExtra']
|
|
15898
|
+
@CreatorUin = params['CreatorUin']
|
|
15899
|
+
@CreatorAlias = params['CreatorAlias']
|
|
15900
|
+
@CustomizedConf = params['CustomizedConf']
|
|
15901
|
+
@TaskTimeSum = params['TaskTimeSum']
|
|
15902
|
+
@StageStartTime = params['StageStartTime']
|
|
15903
|
+
@InputRecordsSum = params['InputRecordsSum']
|
|
15904
|
+
@AnalysisStatusType = params['AnalysisStatusType']
|
|
15905
|
+
@OutputRecordsSum = params['OutputRecordsSum']
|
|
15906
|
+
@OutputBytesSum = params['OutputBytesSum']
|
|
15907
|
+
@OutputFilesNum = params['OutputFilesNum']
|
|
15908
|
+
@OutputSmallFilesNum = params['OutputSmallFilesNum']
|
|
15909
|
+
@ShuffleReadRecordsSum = params['ShuffleReadRecordsSum']
|
|
15910
|
+
@ShuffleReadBytesSum = params['ShuffleReadBytesSum']
|
|
15911
|
+
@SparkAppId = params['SparkAppId']
|
|
15912
|
+
@TaskCategory = params['TaskCategory']
|
|
15913
|
+
@TaskName = params['TaskName']
|
|
15914
|
+
@EngineType = params['EngineType']
|
|
15915
|
+
@EngineHasListenerConfig = params['EngineHasListenerConfig']
|
|
15916
|
+
@ResourceGroupId = params['ResourceGroupId']
|
|
15917
|
+
@JobTimeSum = params['JobTimeSum']
|
|
15918
|
+
@LaunchTime = params['LaunchTime']
|
|
15919
|
+
@GpuDriverSize = params['GpuDriverSize']
|
|
15920
|
+
@GpuExecutorSize = params['GpuExecutorSize']
|
|
15921
|
+
end
|
|
15922
|
+
end
|
|
15923
|
+
|
|
15484
15924
|
# 任务监控信息
|
|
15485
15925
|
class TaskMonitorInfo < TencentCloud::Common::AbstractModel
|
|
15486
15926
|
# @param TaskId: 任务id
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-dlc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1174
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,8 +33,8 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20210125/client.rb
|
|
37
36
|
- lib/v20210125/models.rb
|
|
37
|
+
- lib/v20210125/client.rb
|
|
38
38
|
- lib/tencentcloud-sdk-dlc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|