tencentcloud-sdk-tione 3.0.405 → 3.0.406
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211111/client.rb +168 -0
- data/lib/v20211111/models.rb +938 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04b27389a29f0805e71516b0cdd925766c0e5766
|
4
|
+
data.tar.gz: 479c77a6c3c9627febe7e773876cdaed4925817f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0025f1a7c26f02370857e5270d2f2d14d43c49a9d945351996b0508a05a2f4b3c70c398f807e0e1bbdfa9a9fbf6f607d84dbad770eb696db542b0d3cc82b22cf
|
7
|
+
data.tar.gz: 56da0193ea967003c476fe0af14190faa92590ab811ccf69e16e5ac3df8856682402b18f8d7b1f130f368d4882192d5f367001baf099e3e66f23b572a47d05d2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.406
|
data/lib/v20211111/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建跑批任务
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateBatchTask.
|
35
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::CreateBatchTaskRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::CreateBatchTaskResponse`
|
37
|
+
def CreateBatchTask(request)
|
38
|
+
body = send_request('CreateBatchTask', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateBatchTaskResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 创建数据集
|
33
57
|
|
34
58
|
# @param request: Request instance for CreateDataset.
|
@@ -101,6 +125,30 @@ module TencentCloud
|
|
101
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
126
|
end
|
103
127
|
|
128
|
+
# 删除跑批任务
|
129
|
+
|
130
|
+
# @param request: Request instance for DeleteBatchTask.
|
131
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DeleteBatchTaskRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DeleteBatchTaskResponse`
|
133
|
+
def DeleteBatchTask(request)
|
134
|
+
body = send_request('DeleteBatchTask', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DeleteBatchTaskResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
104
152
|
# 删除数据集
|
105
153
|
|
106
154
|
# @param request: Request instance for DeleteDataset.
|
@@ -197,6 +245,78 @@ module TencentCloud
|
|
197
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
246
|
end
|
199
247
|
|
248
|
+
# 查询跑批任务
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeBatchTask.
|
251
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeBatchTaskRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBatchTaskResponse`
|
253
|
+
def DescribeBatchTask(request)
|
254
|
+
body = send_request('DescribeBatchTask', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeBatchTaskResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 查询跑批实例列表
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeBatchTaskInstances.
|
275
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeBatchTaskInstancesRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBatchTaskInstancesResponse`
|
277
|
+
def DescribeBatchTaskInstances(request)
|
278
|
+
body = send_request('DescribeBatchTaskInstances', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeBatchTaskInstancesResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
296
|
+
# 批量预测任务列表信息
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeBatchTasks.
|
299
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeBatchTasksRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBatchTasksResponse`
|
301
|
+
def DescribeBatchTasks(request)
|
302
|
+
body = send_request('DescribeBatchTasks', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeBatchTasksResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
200
320
|
# 查询资源组详情
|
201
321
|
|
202
322
|
# @param request: Request instance for DescribeBillingResourceGroups.
|
@@ -221,6 +341,30 @@ module TencentCloud
|
|
221
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
342
|
end
|
223
343
|
|
344
|
+
# 本接口(DescribeBillingSpecs)用于查询计费项列表
|
345
|
+
|
346
|
+
# @param request: Request instance for DescribeBillingSpecs.
|
347
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeBillingSpecsResponse`
|
349
|
+
def DescribeBillingSpecs(request)
|
350
|
+
body = send_request('DescribeBillingSpecs', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DescribeBillingSpecsResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
224
368
|
# 本接口(DescribeBillingSpecsPrice)用于查询计费项价格。
|
225
369
|
|
226
370
|
# @param request: Request instance for DescribeBillingSpecsPrice.
|
@@ -629,6 +773,30 @@ module TencentCloud
|
|
629
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
774
|
end
|
631
775
|
|
776
|
+
# 停止跑批任务
|
777
|
+
|
778
|
+
# @param request: Request instance for StopBatchTask.
|
779
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::StopBatchTaskRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::StopBatchTaskResponse`
|
781
|
+
def StopBatchTask(request)
|
782
|
+
body = send_request('StopBatchTask', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = StopBatchTaskResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
632
800
|
# 停止模型训练任务
|
633
801
|
|
634
802
|
# @param request: Request instance for StopTrainingTask.
|
data/lib/v20211111/models.rb
CHANGED
@@ -17,6 +17,350 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tione
|
19
19
|
module V20211111
|
20
|
+
# 跑批任务详情
|
21
|
+
class BatchTaskDetail < TencentCloud::Common::AbstractModel
|
22
|
+
# @param BatchTaskId: 跑批任务ID
|
23
|
+
# @type BatchTaskId: String
|
24
|
+
# @param BatchTaskName: 跑批任务名称
|
25
|
+
# @type BatchTaskName: String
|
26
|
+
# @param Uin: 主账号uin
|
27
|
+
# @type Uin: String
|
28
|
+
# @param SubUin: 子账号uin
|
29
|
+
# @type SubUin: String
|
30
|
+
# @param Region: 地域
|
31
|
+
# @type Region: String
|
32
|
+
# @param ChargeType: 计费模式
|
33
|
+
# @type ChargeType: String
|
34
|
+
# @param ResourceGroupId: 预付费专用资源组id
|
35
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
# @type ResourceGroupId: String
|
37
|
+
# @param ResourceGroupName: 预付费专用资源组名称
|
38
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
# @type ResourceGroupName: String
|
40
|
+
# @param ResourceConfigInfo: 资源配置
|
41
|
+
# @type ResourceConfigInfo: :class:`Tencentcloud::Tione.v20211111.models.ResourceConfigInfo`
|
42
|
+
# @param Tags: 标签
|
43
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
44
|
+
# @type Tags: Array
|
45
|
+
# @param ModelInfo: 服务对应的模型信息
|
46
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
47
|
+
# @type ModelInfo: :class:`Tencentcloud::Tione.v20211111.models.ModelInfo`
|
48
|
+
# @param ImageInfo: 自定义镜像信息
|
49
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
50
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
51
|
+
# @param CodePackagePath: 代码包
|
52
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
53
|
+
# @type CodePackagePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
54
|
+
# @param StartCmd: 启动命令
|
55
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
56
|
+
# @type StartCmd: String
|
57
|
+
# @param DataConfigs: 输入数据配置
|
58
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
59
|
+
# @type DataConfigs: Array
|
60
|
+
# @param Outputs: 输出数据配置
|
61
|
+
# @type Outputs: Array
|
62
|
+
# @param LogEnable: 是否上报日志
|
63
|
+
# @type LogEnable: Boolean
|
64
|
+
# @param LogConfig: 日志配置
|
65
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
66
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
67
|
+
# @param VpcId: vpc id
|
68
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
69
|
+
# @type VpcId: String
|
70
|
+
# @param SubnetId: 子网id
|
71
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
72
|
+
# @type SubnetId: String
|
73
|
+
# @param Status: 任务状态
|
74
|
+
# @type Status: String
|
75
|
+
# @param RuntimeInSeconds: 运行时长
|
76
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
|
+
# @type RuntimeInSeconds: Integer
|
78
|
+
# @param CreateTime: 创建时间
|
79
|
+
# @type CreateTime: String
|
80
|
+
# @param UpdateTime: 更新时间
|
81
|
+
# @type UpdateTime: String
|
82
|
+
# @param StartTime: 任务开始时间
|
83
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
84
|
+
# @type StartTime: String
|
85
|
+
# @param EndTime: 任务结束时间
|
86
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
87
|
+
# @type EndTime: String
|
88
|
+
# @param ChargeStatus: 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
|
89
|
+
# @type ChargeStatus: String
|
90
|
+
# @param LatestInstanceId: 最近一次实例ID
|
91
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
92
|
+
# @type LatestInstanceId: String
|
93
|
+
# @param Remark: 备注
|
94
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
95
|
+
# @type Remark: String
|
96
|
+
# @param FailureReason: 失败原因
|
97
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
98
|
+
# @type FailureReason: String
|
99
|
+
# @param BillingInfo: 计费金额信息,eg:2.00元/小时 (for后付费)
|
100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
101
|
+
# @type BillingInfo: String
|
102
|
+
|
103
|
+
attr_accessor :BatchTaskId, :BatchTaskName, :Uin, :SubUin, :Region, :ChargeType, :ResourceGroupId, :ResourceGroupName, :ResourceConfigInfo, :Tags, :ModelInfo, :ImageInfo, :CodePackagePath, :StartCmd, :DataConfigs, :Outputs, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :UpdateTime, :StartTime, :EndTime, :ChargeStatus, :LatestInstanceId, :Remark, :FailureReason, :BillingInfo
|
104
|
+
|
105
|
+
def initialize(batchtaskid=nil, batchtaskname=nil, uin=nil, subuin=nil, region=nil, chargetype=nil, resourcegroupid=nil, resourcegroupname=nil, resourceconfiginfo=nil, tags=nil, modelinfo=nil, imageinfo=nil, codepackagepath=nil, startcmd=nil, dataconfigs=nil, outputs=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, chargestatus=nil, latestinstanceid=nil, remark=nil, failurereason=nil, billinginfo=nil)
|
106
|
+
@BatchTaskId = batchtaskid
|
107
|
+
@BatchTaskName = batchtaskname
|
108
|
+
@Uin = uin
|
109
|
+
@SubUin = subuin
|
110
|
+
@Region = region
|
111
|
+
@ChargeType = chargetype
|
112
|
+
@ResourceGroupId = resourcegroupid
|
113
|
+
@ResourceGroupName = resourcegroupname
|
114
|
+
@ResourceConfigInfo = resourceconfiginfo
|
115
|
+
@Tags = tags
|
116
|
+
@ModelInfo = modelinfo
|
117
|
+
@ImageInfo = imageinfo
|
118
|
+
@CodePackagePath = codepackagepath
|
119
|
+
@StartCmd = startcmd
|
120
|
+
@DataConfigs = dataconfigs
|
121
|
+
@Outputs = outputs
|
122
|
+
@LogEnable = logenable
|
123
|
+
@LogConfig = logconfig
|
124
|
+
@VpcId = vpcid
|
125
|
+
@SubnetId = subnetid
|
126
|
+
@Status = status
|
127
|
+
@RuntimeInSeconds = runtimeinseconds
|
128
|
+
@CreateTime = createtime
|
129
|
+
@UpdateTime = updatetime
|
130
|
+
@StartTime = starttime
|
131
|
+
@EndTime = endtime
|
132
|
+
@ChargeStatus = chargestatus
|
133
|
+
@LatestInstanceId = latestinstanceid
|
134
|
+
@Remark = remark
|
135
|
+
@FailureReason = failurereason
|
136
|
+
@BillingInfo = billinginfo
|
137
|
+
end
|
138
|
+
|
139
|
+
def deserialize(params)
|
140
|
+
@BatchTaskId = params['BatchTaskId']
|
141
|
+
@BatchTaskName = params['BatchTaskName']
|
142
|
+
@Uin = params['Uin']
|
143
|
+
@SubUin = params['SubUin']
|
144
|
+
@Region = params['Region']
|
145
|
+
@ChargeType = params['ChargeType']
|
146
|
+
@ResourceGroupId = params['ResourceGroupId']
|
147
|
+
@ResourceGroupName = params['ResourceGroupName']
|
148
|
+
unless params['ResourceConfigInfo'].nil?
|
149
|
+
@ResourceConfigInfo = ResourceConfigInfo.new
|
150
|
+
@ResourceConfigInfo.deserialize(params['ResourceConfigInfo'])
|
151
|
+
end
|
152
|
+
unless params['Tags'].nil?
|
153
|
+
@Tags = []
|
154
|
+
params['Tags'].each do |i|
|
155
|
+
tag_tmp = Tag.new
|
156
|
+
tag_tmp.deserialize(i)
|
157
|
+
@Tags << tag_tmp
|
158
|
+
end
|
159
|
+
end
|
160
|
+
unless params['ModelInfo'].nil?
|
161
|
+
@ModelInfo = ModelInfo.new
|
162
|
+
@ModelInfo.deserialize(params['ModelInfo'])
|
163
|
+
end
|
164
|
+
unless params['ImageInfo'].nil?
|
165
|
+
@ImageInfo = ImageInfo.new
|
166
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
167
|
+
end
|
168
|
+
unless params['CodePackagePath'].nil?
|
169
|
+
@CodePackagePath = CosPathInfo.new
|
170
|
+
@CodePackagePath.deserialize(params['CodePackagePath'])
|
171
|
+
end
|
172
|
+
@StartCmd = params['StartCmd']
|
173
|
+
unless params['DataConfigs'].nil?
|
174
|
+
@DataConfigs = []
|
175
|
+
params['DataConfigs'].each do |i|
|
176
|
+
dataconfig_tmp = DataConfig.new
|
177
|
+
dataconfig_tmp.deserialize(i)
|
178
|
+
@DataConfigs << dataconfig_tmp
|
179
|
+
end
|
180
|
+
end
|
181
|
+
unless params['Outputs'].nil?
|
182
|
+
@Outputs = []
|
183
|
+
params['Outputs'].each do |i|
|
184
|
+
dataconfig_tmp = DataConfig.new
|
185
|
+
dataconfig_tmp.deserialize(i)
|
186
|
+
@Outputs << dataconfig_tmp
|
187
|
+
end
|
188
|
+
end
|
189
|
+
@LogEnable = params['LogEnable']
|
190
|
+
unless params['LogConfig'].nil?
|
191
|
+
@LogConfig = LogConfig.new
|
192
|
+
@LogConfig.deserialize(params['LogConfig'])
|
193
|
+
end
|
194
|
+
@VpcId = params['VpcId']
|
195
|
+
@SubnetId = params['SubnetId']
|
196
|
+
@Status = params['Status']
|
197
|
+
@RuntimeInSeconds = params['RuntimeInSeconds']
|
198
|
+
@CreateTime = params['CreateTime']
|
199
|
+
@UpdateTime = params['UpdateTime']
|
200
|
+
@StartTime = params['StartTime']
|
201
|
+
@EndTime = params['EndTime']
|
202
|
+
@ChargeStatus = params['ChargeStatus']
|
203
|
+
@LatestInstanceId = params['LatestInstanceId']
|
204
|
+
@Remark = params['Remark']
|
205
|
+
@FailureReason = params['FailureReason']
|
206
|
+
@BillingInfo = params['BillingInfo']
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# 批处理任务实例
|
211
|
+
class BatchTaskInstance < TencentCloud::Common::AbstractModel
|
212
|
+
# @param BatchTaskInstanceId: 任务实例id
|
213
|
+
# @type BatchTaskInstanceId: String
|
214
|
+
# @param StartTime: 开始时间
|
215
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
216
|
+
# @type StartTime: String
|
217
|
+
# @param EndTime: 结束时间
|
218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
219
|
+
# @type EndTime: String
|
220
|
+
# @param Status: 任务状态
|
221
|
+
# @type Status: String
|
222
|
+
# @param RuntimeInSeconds: 运行时长
|
223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
224
|
+
# @type RuntimeInSeconds: Integer
|
225
|
+
|
226
|
+
attr_accessor :BatchTaskInstanceId, :StartTime, :EndTime, :Status, :RuntimeInSeconds
|
227
|
+
|
228
|
+
def initialize(batchtaskinstanceid=nil, starttime=nil, endtime=nil, status=nil, runtimeinseconds=nil)
|
229
|
+
@BatchTaskInstanceId = batchtaskinstanceid
|
230
|
+
@StartTime = starttime
|
231
|
+
@EndTime = endtime
|
232
|
+
@Status = status
|
233
|
+
@RuntimeInSeconds = runtimeinseconds
|
234
|
+
end
|
235
|
+
|
236
|
+
def deserialize(params)
|
237
|
+
@BatchTaskInstanceId = params['BatchTaskInstanceId']
|
238
|
+
@StartTime = params['StartTime']
|
239
|
+
@EndTime = params['EndTime']
|
240
|
+
@Status = params['Status']
|
241
|
+
@RuntimeInSeconds = params['RuntimeInSeconds']
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
# 出参类型
|
246
|
+
class BatchTaskSetItem < TencentCloud::Common::AbstractModel
|
247
|
+
# @param BatchTaskId: 跑批任务ID
|
248
|
+
# @type BatchTaskId: String
|
249
|
+
# @param BatchTaskName: 跑批任务名称
|
250
|
+
# @type BatchTaskName: String
|
251
|
+
# @param ModelInfo: 模型信息
|
252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
253
|
+
# @type ModelInfo: :class:`Tencentcloud::Tione.v20211111.models.ModelInfo`
|
254
|
+
# @param ImageInfo: 镜像信息
|
255
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
256
|
+
# @param ChargeType: 计费模式
|
257
|
+
# @type ChargeType: String
|
258
|
+
# @param ChargeStatus: 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
|
259
|
+
# @type ChargeStatus: String
|
260
|
+
# @param ResourceGroupId: 预付费专用资源组
|
261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
262
|
+
# @type ResourceGroupId: String
|
263
|
+
# @param ResourceConfigInfo: 资源配置
|
264
|
+
# @type ResourceConfigInfo: :class:`Tencentcloud::Tione.v20211111.models.ResourceConfigInfo`
|
265
|
+
# @param Tags: 标签配置
|
266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
267
|
+
# @type Tags: Array
|
268
|
+
# @param Status: 任务状态
|
269
|
+
# @type Status: String
|
270
|
+
# @param RuntimeInSeconds: 运行时长
|
271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
+
# @type RuntimeInSeconds: Integer
|
273
|
+
# @param CreateTime: 创建时间
|
274
|
+
# @type CreateTime: String
|
275
|
+
# @param StartTime: 开始时间
|
276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
277
|
+
# @type StartTime: String
|
278
|
+
# @param EndTime: 结束时间
|
279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
280
|
+
# @type EndTime: String
|
281
|
+
# @param UpdateTime: 更新时间
|
282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
283
|
+
# @type UpdateTime: String
|
284
|
+
# @param Outputs: 输出
|
285
|
+
# @type Outputs: Array
|
286
|
+
# @param ResourceGroupName: 预付费专用资源组名称
|
287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
288
|
+
# @type ResourceGroupName: String
|
289
|
+
# @param FailureReason: 失败原因
|
290
|
+
# @type FailureReason: String
|
291
|
+
# @param BillingInfo: 计费金额信息,eg:2.00元/小时 (for后付费)
|
292
|
+
# @type BillingInfo: String
|
293
|
+
|
294
|
+
attr_accessor :BatchTaskId, :BatchTaskName, :ModelInfo, :ImageInfo, :ChargeType, :ChargeStatus, :ResourceGroupId, :ResourceConfigInfo, :Tags, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :EndTime, :UpdateTime, :Outputs, :ResourceGroupName, :FailureReason, :BillingInfo
|
295
|
+
|
296
|
+
def initialize(batchtaskid=nil, batchtaskname=nil, modelinfo=nil, imageinfo=nil, chargetype=nil, chargestatus=nil, resourcegroupid=nil, resourceconfiginfo=nil, tags=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, endtime=nil, updatetime=nil, outputs=nil, resourcegroupname=nil, failurereason=nil, billinginfo=nil)
|
297
|
+
@BatchTaskId = batchtaskid
|
298
|
+
@BatchTaskName = batchtaskname
|
299
|
+
@ModelInfo = modelinfo
|
300
|
+
@ImageInfo = imageinfo
|
301
|
+
@ChargeType = chargetype
|
302
|
+
@ChargeStatus = chargestatus
|
303
|
+
@ResourceGroupId = resourcegroupid
|
304
|
+
@ResourceConfigInfo = resourceconfiginfo
|
305
|
+
@Tags = tags
|
306
|
+
@Status = status
|
307
|
+
@RuntimeInSeconds = runtimeinseconds
|
308
|
+
@CreateTime = createtime
|
309
|
+
@StartTime = starttime
|
310
|
+
@EndTime = endtime
|
311
|
+
@UpdateTime = updatetime
|
312
|
+
@Outputs = outputs
|
313
|
+
@ResourceGroupName = resourcegroupname
|
314
|
+
@FailureReason = failurereason
|
315
|
+
@BillingInfo = billinginfo
|
316
|
+
end
|
317
|
+
|
318
|
+
def deserialize(params)
|
319
|
+
@BatchTaskId = params['BatchTaskId']
|
320
|
+
@BatchTaskName = params['BatchTaskName']
|
321
|
+
unless params['ModelInfo'].nil?
|
322
|
+
@ModelInfo = ModelInfo.new
|
323
|
+
@ModelInfo.deserialize(params['ModelInfo'])
|
324
|
+
end
|
325
|
+
unless params['ImageInfo'].nil?
|
326
|
+
@ImageInfo = ImageInfo.new
|
327
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
328
|
+
end
|
329
|
+
@ChargeType = params['ChargeType']
|
330
|
+
@ChargeStatus = params['ChargeStatus']
|
331
|
+
@ResourceGroupId = params['ResourceGroupId']
|
332
|
+
unless params['ResourceConfigInfo'].nil?
|
333
|
+
@ResourceConfigInfo = ResourceConfigInfo.new
|
334
|
+
@ResourceConfigInfo.deserialize(params['ResourceConfigInfo'])
|
335
|
+
end
|
336
|
+
unless params['Tags'].nil?
|
337
|
+
@Tags = []
|
338
|
+
params['Tags'].each do |i|
|
339
|
+
tag_tmp = Tag.new
|
340
|
+
tag_tmp.deserialize(i)
|
341
|
+
@Tags << tag_tmp
|
342
|
+
end
|
343
|
+
end
|
344
|
+
@Status = params['Status']
|
345
|
+
@RuntimeInSeconds = params['RuntimeInSeconds']
|
346
|
+
@CreateTime = params['CreateTime']
|
347
|
+
@StartTime = params['StartTime']
|
348
|
+
@EndTime = params['EndTime']
|
349
|
+
@UpdateTime = params['UpdateTime']
|
350
|
+
unless params['Outputs'].nil?
|
351
|
+
@Outputs = []
|
352
|
+
params['Outputs'].each do |i|
|
353
|
+
dataconfig_tmp = DataConfig.new
|
354
|
+
dataconfig_tmp.deserialize(i)
|
355
|
+
@Outputs << dataconfig_tmp
|
356
|
+
end
|
357
|
+
end
|
358
|
+
@ResourceGroupName = params['ResourceGroupName']
|
359
|
+
@FailureReason = params['FailureReason']
|
360
|
+
@BillingInfo = params['BillingInfo']
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
20
364
|
# CFS存储的配置
|
21
365
|
class CFSConfig < TencentCloud::Common::AbstractModel
|
22
366
|
# @param Id: cfs的实例的ID
|
@@ -49,18 +393,161 @@ module TencentCloud
|
|
49
393
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
50
394
|
# @type Paths: Array
|
51
395
|
|
52
|
-
attr_accessor :Bucket, :Region, :Paths
|
396
|
+
attr_accessor :Bucket, :Region, :Paths
|
397
|
+
|
398
|
+
def initialize(bucket=nil, region=nil, paths=nil)
|
399
|
+
@Bucket = bucket
|
400
|
+
@Region = region
|
401
|
+
@Paths = paths
|
402
|
+
end
|
403
|
+
|
404
|
+
def deserialize(params)
|
405
|
+
@Bucket = params['Bucket']
|
406
|
+
@Region = params['Region']
|
407
|
+
@Paths = params['Paths']
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# CreateBatchTask请求参数结构体
|
412
|
+
class CreateBatchTaskRequest < TencentCloud::Common::AbstractModel
|
413
|
+
# @param BatchTaskName: 跑批任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
414
|
+
# @type BatchTaskName: String
|
415
|
+
# @param ChargeType: 计费模式,eg:PREPAID预付费,即包年包月;POSTPAID_BY_HOUR按小时后付费
|
416
|
+
# @type ChargeType: String
|
417
|
+
# @param ResourceConfigInfo: 资源配置
|
418
|
+
# @type ResourceConfigInfo: :class:`Tencentcloud::Tione.v20211111.models.ResourceConfigInfo`
|
419
|
+
# @param Outputs: 结果输出
|
420
|
+
# @type Outputs: Array
|
421
|
+
# @param LogEnable: 是否上报日志
|
422
|
+
# @type LogEnable: Boolean
|
423
|
+
# @param JobType: 工作类型 1:单次 2:周期
|
424
|
+
# @type JobType: Integer
|
425
|
+
# @param CronInfo: 任务周期描述
|
426
|
+
# @type CronInfo: :class:`Tencentcloud::Tione.v20211111.models.CronInfo`
|
427
|
+
# @param ResourceGroupId: 预付费专用资源组
|
428
|
+
# @type ResourceGroupId: String
|
429
|
+
# @param Tags: 标签配置
|
430
|
+
# @type Tags: Array
|
431
|
+
# @param ModelInfo: 服务对应的模型信息,有模型文件时需要填写
|
432
|
+
# @type ModelInfo: :class:`Tencentcloud::Tione.v20211111.models.ModelInfo`
|
433
|
+
# @param ImageInfo: 自定义镜像信息
|
434
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
435
|
+
# @param CodePackage: 代码包
|
436
|
+
# @type CodePackage: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
437
|
+
# @param StartCmd: 启动命令
|
438
|
+
# @type StartCmd: String
|
439
|
+
# @param DataConfigs: 数据配置
|
440
|
+
# @type DataConfigs: Array
|
441
|
+
# @param LogConfig: 日志配置
|
442
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
443
|
+
# @param VpcId: VPC Id
|
444
|
+
# @type VpcId: String
|
445
|
+
# @param SubnetId: 子网Id
|
446
|
+
# @type SubnetId: String
|
447
|
+
# @param Remark: 备注
|
448
|
+
# @type Remark: String
|
449
|
+
|
450
|
+
attr_accessor :BatchTaskName, :ChargeType, :ResourceConfigInfo, :Outputs, :LogEnable, :JobType, :CronInfo, :ResourceGroupId, :Tags, :ModelInfo, :ImageInfo, :CodePackage, :StartCmd, :DataConfigs, :LogConfig, :VpcId, :SubnetId, :Remark
|
451
|
+
|
452
|
+
def initialize(batchtaskname=nil, chargetype=nil, resourceconfiginfo=nil, outputs=nil, logenable=nil, jobtype=nil, croninfo=nil, resourcegroupid=nil, tags=nil, modelinfo=nil, imageinfo=nil, codepackage=nil, startcmd=nil, dataconfigs=nil, logconfig=nil, vpcid=nil, subnetid=nil, remark=nil)
|
453
|
+
@BatchTaskName = batchtaskname
|
454
|
+
@ChargeType = chargetype
|
455
|
+
@ResourceConfigInfo = resourceconfiginfo
|
456
|
+
@Outputs = outputs
|
457
|
+
@LogEnable = logenable
|
458
|
+
@JobType = jobtype
|
459
|
+
@CronInfo = croninfo
|
460
|
+
@ResourceGroupId = resourcegroupid
|
461
|
+
@Tags = tags
|
462
|
+
@ModelInfo = modelinfo
|
463
|
+
@ImageInfo = imageinfo
|
464
|
+
@CodePackage = codepackage
|
465
|
+
@StartCmd = startcmd
|
466
|
+
@DataConfigs = dataconfigs
|
467
|
+
@LogConfig = logconfig
|
468
|
+
@VpcId = vpcid
|
469
|
+
@SubnetId = subnetid
|
470
|
+
@Remark = remark
|
471
|
+
end
|
472
|
+
|
473
|
+
def deserialize(params)
|
474
|
+
@BatchTaskName = params['BatchTaskName']
|
475
|
+
@ChargeType = params['ChargeType']
|
476
|
+
unless params['ResourceConfigInfo'].nil?
|
477
|
+
@ResourceConfigInfo = ResourceConfigInfo.new
|
478
|
+
@ResourceConfigInfo.deserialize(params['ResourceConfigInfo'])
|
479
|
+
end
|
480
|
+
unless params['Outputs'].nil?
|
481
|
+
@Outputs = []
|
482
|
+
params['Outputs'].each do |i|
|
483
|
+
dataconfig_tmp = DataConfig.new
|
484
|
+
dataconfig_tmp.deserialize(i)
|
485
|
+
@Outputs << dataconfig_tmp
|
486
|
+
end
|
487
|
+
end
|
488
|
+
@LogEnable = params['LogEnable']
|
489
|
+
@JobType = params['JobType']
|
490
|
+
unless params['CronInfo'].nil?
|
491
|
+
@CronInfo = CronInfo.new
|
492
|
+
@CronInfo.deserialize(params['CronInfo'])
|
493
|
+
end
|
494
|
+
@ResourceGroupId = params['ResourceGroupId']
|
495
|
+
unless params['Tags'].nil?
|
496
|
+
@Tags = []
|
497
|
+
params['Tags'].each do |i|
|
498
|
+
tag_tmp = Tag.new
|
499
|
+
tag_tmp.deserialize(i)
|
500
|
+
@Tags << tag_tmp
|
501
|
+
end
|
502
|
+
end
|
503
|
+
unless params['ModelInfo'].nil?
|
504
|
+
@ModelInfo = ModelInfo.new
|
505
|
+
@ModelInfo.deserialize(params['ModelInfo'])
|
506
|
+
end
|
507
|
+
unless params['ImageInfo'].nil?
|
508
|
+
@ImageInfo = ImageInfo.new
|
509
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
510
|
+
end
|
511
|
+
unless params['CodePackage'].nil?
|
512
|
+
@CodePackage = CosPathInfo.new
|
513
|
+
@CodePackage.deserialize(params['CodePackage'])
|
514
|
+
end
|
515
|
+
@StartCmd = params['StartCmd']
|
516
|
+
unless params['DataConfigs'].nil?
|
517
|
+
@DataConfigs = []
|
518
|
+
params['DataConfigs'].each do |i|
|
519
|
+
dataconfig_tmp = DataConfig.new
|
520
|
+
dataconfig_tmp.deserialize(i)
|
521
|
+
@DataConfigs << dataconfig_tmp
|
522
|
+
end
|
523
|
+
end
|
524
|
+
unless params['LogConfig'].nil?
|
525
|
+
@LogConfig = LogConfig.new
|
526
|
+
@LogConfig.deserialize(params['LogConfig'])
|
527
|
+
end
|
528
|
+
@VpcId = params['VpcId']
|
529
|
+
@SubnetId = params['SubnetId']
|
530
|
+
@Remark = params['Remark']
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
# CreateBatchTask返回参数结构体
|
535
|
+
class CreateBatchTaskResponse < TencentCloud::Common::AbstractModel
|
536
|
+
# @param BatchTaskId: 跑批任务ID
|
537
|
+
# @type BatchTaskId: String
|
538
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
539
|
+
# @type RequestId: String
|
540
|
+
|
541
|
+
attr_accessor :BatchTaskId, :RequestId
|
53
542
|
|
54
|
-
def initialize(
|
55
|
-
@
|
56
|
-
@
|
57
|
-
@Paths = paths
|
543
|
+
def initialize(batchtaskid=nil, requestid=nil)
|
544
|
+
@BatchTaskId = batchtaskid
|
545
|
+
@RequestId = requestid
|
58
546
|
end
|
59
547
|
|
60
548
|
def deserialize(params)
|
61
|
-
@
|
62
|
-
@
|
63
|
-
@Paths = params['Paths']
|
549
|
+
@BatchTaskId = params['BatchTaskId']
|
550
|
+
@RequestId = params['RequestId']
|
64
551
|
end
|
65
552
|
end
|
66
553
|
|
@@ -173,7 +660,10 @@ module TencentCloud
|
|
173
660
|
|
174
661
|
# CreateTrainingModel请求参数结构体
|
175
662
|
class CreateTrainingModelRequest < TencentCloud::Common::AbstractModel
|
176
|
-
# @param ImportMethod:
|
663
|
+
# @param ImportMethod: 导入方式
|
664
|
+
# MODEL:导入新模型
|
665
|
+
# VERSION:导入新版本
|
666
|
+
# EXIST:导入现有版本
|
177
667
|
# @type ImportMethod: String
|
178
668
|
# @param TrainingModelCosPath: 模型来源cos目录,以/结尾
|
179
669
|
# @type TrainingModelCosPath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
@@ -219,10 +709,16 @@ module TencentCloud
|
|
219
709
|
# @type ModelFormat: String
|
220
710
|
# @param ReasoningEnvironmentId: 推理镜像ID
|
221
711
|
# @type ReasoningEnvironmentId: String
|
222
|
-
|
223
|
-
|
712
|
+
# @param AutoClean: 模型自动清理开关(true/false),当前版本仅支持SAVED_MODEL格式模型
|
713
|
+
# @type AutoClean: String
|
714
|
+
# @param MaxReservedModels: 模型数量保留上限(默认值为24个,上限为24,下限为1,步长为1)
|
715
|
+
# @type MaxReservedModels: Integer
|
716
|
+
# @param ModelCleanPeriod: 模型清理周期(默认值为1分钟,上限为1440,下限为1分钟,步长为1)
|
717
|
+
# @type ModelCleanPeriod: Integer
|
718
|
+
|
719
|
+
attr_accessor :ImportMethod, :TrainingModelCosPath, :ReasoningEnvironmentSource, :TrainingModelName, :Tags, :TrainingJobName, :AlgorithmFramework, :ReasoningEnvironment, :TrainingModelIndex, :TrainingModelVersion, :ReasoningImageInfo, :ModelMoveMode, :TrainingJobId, :TrainingModelId, :ModelOutputPath, :TrainingModelSource, :TrainingPreference, :AutoMLTaskId, :TrainingJobVersion, :ModelVersionType, :ModelFormat, :ReasoningEnvironmentId, :AutoClean, :MaxReservedModels, :ModelCleanPeriod
|
224
720
|
|
225
|
-
def initialize(importmethod=nil, trainingmodelcospath=nil, reasoningenvironmentsource=nil, trainingmodelname=nil, tags=nil, trainingjobname=nil, algorithmframework=nil, reasoningenvironment=nil, trainingmodelindex=nil, trainingmodelversion=nil, reasoningimageinfo=nil, modelmovemode=nil, trainingjobid=nil, trainingmodelid=nil, modeloutputpath=nil, trainingmodelsource=nil, trainingpreference=nil, automltaskid=nil, trainingjobversion=nil, modelversiontype=nil, modelformat=nil, reasoningenvironmentid=nil)
|
721
|
+
def initialize(importmethod=nil, trainingmodelcospath=nil, reasoningenvironmentsource=nil, trainingmodelname=nil, tags=nil, trainingjobname=nil, algorithmframework=nil, reasoningenvironment=nil, trainingmodelindex=nil, trainingmodelversion=nil, reasoningimageinfo=nil, modelmovemode=nil, trainingjobid=nil, trainingmodelid=nil, modeloutputpath=nil, trainingmodelsource=nil, trainingpreference=nil, automltaskid=nil, trainingjobversion=nil, modelversiontype=nil, modelformat=nil, reasoningenvironmentid=nil, autoclean=nil, maxreservedmodels=nil, modelcleanperiod=nil)
|
226
722
|
@ImportMethod = importmethod
|
227
723
|
@TrainingModelCosPath = trainingmodelcospath
|
228
724
|
@ReasoningEnvironmentSource = reasoningenvironmentsource
|
@@ -245,6 +741,9 @@ module TencentCloud
|
|
245
741
|
@ModelVersionType = modelversiontype
|
246
742
|
@ModelFormat = modelformat
|
247
743
|
@ReasoningEnvironmentId = reasoningenvironmentid
|
744
|
+
@AutoClean = autoclean
|
745
|
+
@MaxReservedModels = maxreservedmodels
|
746
|
+
@ModelCleanPeriod = modelcleanperiod
|
248
747
|
end
|
249
748
|
|
250
749
|
def deserialize(params)
|
@@ -286,6 +785,9 @@ module TencentCloud
|
|
286
785
|
@ModelVersionType = params['ModelVersionType']
|
287
786
|
@ModelFormat = params['ModelFormat']
|
288
787
|
@ReasoningEnvironmentId = params['ReasoningEnvironmentId']
|
788
|
+
@AutoClean = params['AutoClean']
|
789
|
+
@MaxReservedModels = params['MaxReservedModels']
|
790
|
+
@ModelCleanPeriod = params['ModelCleanPeriod']
|
289
791
|
end
|
290
792
|
end
|
291
793
|
|
@@ -461,6 +963,32 @@ module TencentCloud
|
|
461
963
|
end
|
462
964
|
end
|
463
965
|
|
966
|
+
# 跑批任务周期描述
|
967
|
+
class CronInfo < TencentCloud::Common::AbstractModel
|
968
|
+
# @param CronConfig: cron配置
|
969
|
+
# @type CronConfig: String
|
970
|
+
# @param StartTime: 周期开始时间
|
971
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
972
|
+
# @type StartTime: String
|
973
|
+
# @param EndTime: 周期结束时间
|
974
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
975
|
+
# @type EndTime: String
|
976
|
+
|
977
|
+
attr_accessor :CronConfig, :StartTime, :EndTime
|
978
|
+
|
979
|
+
def initialize(cronconfig=nil, starttime=nil, endtime=nil)
|
980
|
+
@CronConfig = cronconfig
|
981
|
+
@StartTime = starttime
|
982
|
+
@EndTime = endtime
|
983
|
+
end
|
984
|
+
|
985
|
+
def deserialize(params)
|
986
|
+
@CronConfig = params['CronConfig']
|
987
|
+
@StartTime = params['StartTime']
|
988
|
+
@EndTime = params['EndTime']
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
464
992
|
# 自定义指标
|
465
993
|
class CustomTrainingData < TencentCloud::Common::AbstractModel
|
466
994
|
# @param MetricName: 指标名
|
@@ -542,7 +1070,7 @@ module TencentCloud
|
|
542
1070
|
class DataConfig < TencentCloud::Common::AbstractModel
|
543
1071
|
# @param MappingPath: 映射路径
|
544
1072
|
# @type MappingPath: String
|
545
|
-
# @param DataSourceType: DATASET、COS、CFS、HDFS
|
1073
|
+
# @param DataSourceType: DATASET、COS、CFS、HDFS、WEDATA_HDFS
|
546
1074
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
547
1075
|
# @type DataSourceType: String
|
548
1076
|
# @param DataSetSource: 来自数据集的数据
|
@@ -909,6 +1437,38 @@ module TencentCloud
|
|
909
1437
|
end
|
910
1438
|
end
|
911
1439
|
|
1440
|
+
# DeleteBatchTask请求参数结构体
|
1441
|
+
class DeleteBatchTaskRequest < TencentCloud::Common::AbstractModel
|
1442
|
+
# @param BatchTaskId: 跑批任务ID
|
1443
|
+
# @type BatchTaskId: String
|
1444
|
+
|
1445
|
+
attr_accessor :BatchTaskId
|
1446
|
+
|
1447
|
+
def initialize(batchtaskid=nil)
|
1448
|
+
@BatchTaskId = batchtaskid
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
def deserialize(params)
|
1452
|
+
@BatchTaskId = params['BatchTaskId']
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
# DeleteBatchTask返回参数结构体
|
1457
|
+
class DeleteBatchTaskResponse < TencentCloud::Common::AbstractModel
|
1458
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1459
|
+
# @type RequestId: String
|
1460
|
+
|
1461
|
+
attr_accessor :RequestId
|
1462
|
+
|
1463
|
+
def initialize(requestid=nil)
|
1464
|
+
@RequestId = requestid
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
def deserialize(params)
|
1468
|
+
@RequestId = params['RequestId']
|
1469
|
+
end
|
1470
|
+
end
|
1471
|
+
|
912
1472
|
# DeleteDataset请求参数结构体
|
913
1473
|
class DeleteDatasetRequest < TencentCloud::Common::AbstractModel
|
914
1474
|
# @param DatasetId: 数据集id
|
@@ -1057,6 +1617,179 @@ module TencentCloud
|
|
1057
1617
|
end
|
1058
1618
|
end
|
1059
1619
|
|
1620
|
+
# DescribeBatchTaskInstances请求参数结构体
|
1621
|
+
class DescribeBatchTaskInstancesRequest < TencentCloud::Common::AbstractModel
|
1622
|
+
# @param BatchTaskId: 跑批任务id
|
1623
|
+
# @type BatchTaskId: String
|
1624
|
+
|
1625
|
+
attr_accessor :BatchTaskId
|
1626
|
+
|
1627
|
+
def initialize(batchtaskid=nil)
|
1628
|
+
@BatchTaskId = batchtaskid
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
def deserialize(params)
|
1632
|
+
@BatchTaskId = params['BatchTaskId']
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
# DescribeBatchTaskInstances返回参数结构体
|
1637
|
+
class DescribeBatchTaskInstancesResponse < TencentCloud::Common::AbstractModel
|
1638
|
+
# @param BatchInstances: 实例集
|
1639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1640
|
+
# @type BatchInstances: Array
|
1641
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1642
|
+
# @type RequestId: String
|
1643
|
+
|
1644
|
+
attr_accessor :BatchInstances, :RequestId
|
1645
|
+
|
1646
|
+
def initialize(batchinstances=nil, requestid=nil)
|
1647
|
+
@BatchInstances = batchinstances
|
1648
|
+
@RequestId = requestid
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
def deserialize(params)
|
1652
|
+
unless params['BatchInstances'].nil?
|
1653
|
+
@BatchInstances = []
|
1654
|
+
params['BatchInstances'].each do |i|
|
1655
|
+
batchtaskinstance_tmp = BatchTaskInstance.new
|
1656
|
+
batchtaskinstance_tmp.deserialize(i)
|
1657
|
+
@BatchInstances << batchtaskinstance_tmp
|
1658
|
+
end
|
1659
|
+
end
|
1660
|
+
@RequestId = params['RequestId']
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# DescribeBatchTask请求参数结构体
|
1665
|
+
class DescribeBatchTaskRequest < TencentCloud::Common::AbstractModel
|
1666
|
+
# @param BatchTaskId: 跑批任务ID
|
1667
|
+
# @type BatchTaskId: String
|
1668
|
+
|
1669
|
+
attr_accessor :BatchTaskId
|
1670
|
+
|
1671
|
+
def initialize(batchtaskid=nil)
|
1672
|
+
@BatchTaskId = batchtaskid
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
def deserialize(params)
|
1676
|
+
@BatchTaskId = params['BatchTaskId']
|
1677
|
+
end
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
# DescribeBatchTask返回参数结构体
|
1681
|
+
class DescribeBatchTaskResponse < TencentCloud::Common::AbstractModel
|
1682
|
+
# @param BatchTaskDetail: 跑批任务详情
|
1683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1684
|
+
# @type BatchTaskDetail: :class:`Tencentcloud::Tione.v20211111.models.BatchTaskDetail`
|
1685
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1686
|
+
# @type RequestId: String
|
1687
|
+
|
1688
|
+
attr_accessor :BatchTaskDetail, :RequestId
|
1689
|
+
|
1690
|
+
def initialize(batchtaskdetail=nil, requestid=nil)
|
1691
|
+
@BatchTaskDetail = batchtaskdetail
|
1692
|
+
@RequestId = requestid
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
def deserialize(params)
|
1696
|
+
unless params['BatchTaskDetail'].nil?
|
1697
|
+
@BatchTaskDetail = BatchTaskDetail.new
|
1698
|
+
@BatchTaskDetail.deserialize(params['BatchTaskDetail'])
|
1699
|
+
end
|
1700
|
+
@RequestId = params['RequestId']
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
# DescribeBatchTasks请求参数结构体
|
1705
|
+
class DescribeBatchTasksRequest < TencentCloud::Common::AbstractModel
|
1706
|
+
# @param Filters: 过滤器,eg:[{ "Name": "Id", "Values": ["train-23091792777383936"] }]
|
1707
|
+
|
1708
|
+
# 取值范围:
|
1709
|
+
# Name(名称):task1
|
1710
|
+
# Id(task ID):train-23091792777383936
|
1711
|
+
# Status(状态):STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
|
1712
|
+
# ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
|
1713
|
+
# CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
|
1714
|
+
# @type Filters: Array
|
1715
|
+
# @param TagFilters: 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }]
|
1716
|
+
# @type TagFilters: Array
|
1717
|
+
# @param Offset: 偏移量,默认为0
|
1718
|
+
# @type Offset: Integer
|
1719
|
+
# @param Limit: 返回数量,默认为10,最大为50
|
1720
|
+
# @type Limit: Integer
|
1721
|
+
# @param Order: 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
|
1722
|
+
# @type Order: String
|
1723
|
+
# @param OrderField: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
|
1724
|
+
# @type OrderField: String
|
1725
|
+
|
1726
|
+
attr_accessor :Filters, :TagFilters, :Offset, :Limit, :Order, :OrderField
|
1727
|
+
|
1728
|
+
def initialize(filters=nil, tagfilters=nil, offset=nil, limit=nil, order=nil, orderfield=nil)
|
1729
|
+
@Filters = filters
|
1730
|
+
@TagFilters = tagfilters
|
1731
|
+
@Offset = offset
|
1732
|
+
@Limit = limit
|
1733
|
+
@Order = order
|
1734
|
+
@OrderField = orderfield
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
def deserialize(params)
|
1738
|
+
unless params['Filters'].nil?
|
1739
|
+
@Filters = []
|
1740
|
+
params['Filters'].each do |i|
|
1741
|
+
filter_tmp = Filter.new
|
1742
|
+
filter_tmp.deserialize(i)
|
1743
|
+
@Filters << filter_tmp
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
unless params['TagFilters'].nil?
|
1747
|
+
@TagFilters = []
|
1748
|
+
params['TagFilters'].each do |i|
|
1749
|
+
tagfilter_tmp = TagFilter.new
|
1750
|
+
tagfilter_tmp.deserialize(i)
|
1751
|
+
@TagFilters << tagfilter_tmp
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
@Offset = params['Offset']
|
1755
|
+
@Limit = params['Limit']
|
1756
|
+
@Order = params['Order']
|
1757
|
+
@OrderField = params['OrderField']
|
1758
|
+
end
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# DescribeBatchTasks返回参数结构体
|
1762
|
+
class DescribeBatchTasksResponse < TencentCloud::Common::AbstractModel
|
1763
|
+
# @param TotalCount: 数量
|
1764
|
+
# @type TotalCount: Integer
|
1765
|
+
# @param BatchTaskSet: 任务集
|
1766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1767
|
+
# @type BatchTaskSet: Array
|
1768
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1769
|
+
# @type RequestId: String
|
1770
|
+
|
1771
|
+
attr_accessor :TotalCount, :BatchTaskSet, :RequestId
|
1772
|
+
|
1773
|
+
def initialize(totalcount=nil, batchtaskset=nil, requestid=nil)
|
1774
|
+
@TotalCount = totalcount
|
1775
|
+
@BatchTaskSet = batchtaskset
|
1776
|
+
@RequestId = requestid
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
def deserialize(params)
|
1780
|
+
@TotalCount = params['TotalCount']
|
1781
|
+
unless params['BatchTaskSet'].nil?
|
1782
|
+
@BatchTaskSet = []
|
1783
|
+
params['BatchTaskSet'].each do |i|
|
1784
|
+
batchtasksetitem_tmp = BatchTaskSetItem.new
|
1785
|
+
batchtasksetitem_tmp.deserialize(i)
|
1786
|
+
@BatchTaskSet << batchtasksetitem_tmp
|
1787
|
+
end
|
1788
|
+
end
|
1789
|
+
@RequestId = params['RequestId']
|
1790
|
+
end
|
1791
|
+
end
|
1792
|
+
|
1060
1793
|
# DescribeBillingResourceGroups请求参数结构体
|
1061
1794
|
class DescribeBillingResourceGroupsRequest < TencentCloud::Common::AbstractModel
|
1062
1795
|
# @param Type: 资源组类型; 枚举值 TRAIN:训练 INFERENCE:推理
|
@@ -1199,6 +1932,57 @@ module TencentCloud
|
|
1199
1932
|
end
|
1200
1933
|
end
|
1201
1934
|
|
1935
|
+
# DescribeBillingSpecs请求参数结构体
|
1936
|
+
class DescribeBillingSpecsRequest < TencentCloud::Common::AbstractModel
|
1937
|
+
# @param TaskType: 枚举值:TRAIN、NOTEBOOK、INFERENCE
|
1938
|
+
# @type TaskType: String
|
1939
|
+
# @param ChargeType: 付费模式:POSTPAID_BY_HOUR后付费、PREPAID预付费
|
1940
|
+
# @type ChargeType: String
|
1941
|
+
# @param ResourceType: 资源类型:CALC 计算资源、CPU CPU资源、GPU GPU资源、CBS云硬盘
|
1942
|
+
# @type ResourceType: String
|
1943
|
+
|
1944
|
+
attr_accessor :TaskType, :ChargeType, :ResourceType
|
1945
|
+
|
1946
|
+
def initialize(tasktype=nil, chargetype=nil, resourcetype=nil)
|
1947
|
+
@TaskType = tasktype
|
1948
|
+
@ChargeType = chargetype
|
1949
|
+
@ResourceType = resourcetype
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
def deserialize(params)
|
1953
|
+
@TaskType = params['TaskType']
|
1954
|
+
@ChargeType = params['ChargeType']
|
1955
|
+
@ResourceType = params['ResourceType']
|
1956
|
+
end
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# DescribeBillingSpecs返回参数结构体
|
1960
|
+
class DescribeBillingSpecsResponse < TencentCloud::Common::AbstractModel
|
1961
|
+
# @param Specs: 计费项列表
|
1962
|
+
# @type Specs: Array
|
1963
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1964
|
+
# @type RequestId: String
|
1965
|
+
|
1966
|
+
attr_accessor :Specs, :RequestId
|
1967
|
+
|
1968
|
+
def initialize(specs=nil, requestid=nil)
|
1969
|
+
@Specs = specs
|
1970
|
+
@RequestId = requestid
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
def deserialize(params)
|
1974
|
+
unless params['Specs'].nil?
|
1975
|
+
@Specs = []
|
1976
|
+
params['Specs'].each do |i|
|
1977
|
+
spec_tmp = Spec.new
|
1978
|
+
spec_tmp.deserialize(i)
|
1979
|
+
@Specs << spec_tmp
|
1980
|
+
end
|
1981
|
+
end
|
1982
|
+
@RequestId = params['RequestId']
|
1983
|
+
end
|
1984
|
+
end
|
1985
|
+
|
1202
1986
|
# DescribeDatasetDetailStructured请求参数结构体
|
1203
1987
|
class DescribeDatasetDetailStructuredRequest < TencentCloud::Common::AbstractModel
|
1204
1988
|
# @param DatasetId: 数据集ID
|
@@ -2630,6 +3414,56 @@ module TencentCloud
|
|
2630
3414
|
end
|
2631
3415
|
end
|
2632
3416
|
|
3417
|
+
# 模型描述信息
|
3418
|
+
class ModelInfo < TencentCloud::Common::AbstractModel
|
3419
|
+
# @param ModelVersionId: 模型版本id, DescribeTrainingModelVersion查询模型接口时的id
|
3420
|
+
# 自动学习类型的模型填写自动学习的任务id
|
3421
|
+
# @type ModelVersionId: String
|
3422
|
+
# @param ModelId: 模型id
|
3423
|
+
# @type ModelId: String
|
3424
|
+
# @param ModelName: 模型名
|
3425
|
+
# @type ModelName: String
|
3426
|
+
# @param ModelVersion: 模型版本
|
3427
|
+
# @type ModelVersion: String
|
3428
|
+
# @param ModelSource: 模型来源
|
3429
|
+
# @type ModelSource: String
|
3430
|
+
# @param CosPathInfo: cos路径信息
|
3431
|
+
# @type CosPathInfo: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
3432
|
+
# @param AlgorithmFramework: 模型对应的算法框架,预留
|
3433
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3434
|
+
# @type AlgorithmFramework: String
|
3435
|
+
# @param ModelType: 默认为 NORMAL, 已加速模型: ACCELERATE, 自动学习模型 AUTO_ML
|
3436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3437
|
+
# @type ModelType: String
|
3438
|
+
|
3439
|
+
attr_accessor :ModelVersionId, :ModelId, :ModelName, :ModelVersion, :ModelSource, :CosPathInfo, :AlgorithmFramework, :ModelType
|
3440
|
+
|
3441
|
+
def initialize(modelversionid=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, cospathinfo=nil, algorithmframework=nil, modeltype=nil)
|
3442
|
+
@ModelVersionId = modelversionid
|
3443
|
+
@ModelId = modelid
|
3444
|
+
@ModelName = modelname
|
3445
|
+
@ModelVersion = modelversion
|
3446
|
+
@ModelSource = modelsource
|
3447
|
+
@CosPathInfo = cospathinfo
|
3448
|
+
@AlgorithmFramework = algorithmframework
|
3449
|
+
@ModelType = modeltype
|
3450
|
+
end
|
3451
|
+
|
3452
|
+
def deserialize(params)
|
3453
|
+
@ModelVersionId = params['ModelVersionId']
|
3454
|
+
@ModelId = params['ModelId']
|
3455
|
+
@ModelName = params['ModelName']
|
3456
|
+
@ModelVersion = params['ModelVersion']
|
3457
|
+
@ModelSource = params['ModelSource']
|
3458
|
+
unless params['CosPathInfo'].nil?
|
3459
|
+
@CosPathInfo = CosPathInfo.new
|
3460
|
+
@CosPathInfo.deserialize(params['CosPathInfo'])
|
3461
|
+
end
|
3462
|
+
@AlgorithmFramework = params['AlgorithmFramework']
|
3463
|
+
@ModelType = params['ModelType']
|
3464
|
+
end
|
3465
|
+
end
|
3466
|
+
|
2633
3467
|
# OCR场景标签列表
|
2634
3468
|
class OcrLabelInfo < TencentCloud::Common::AbstractModel
|
2635
3469
|
# @param Points: 坐标点围起来的框
|
@@ -3042,6 +3876,30 @@ module TencentCloud
|
|
3042
3876
|
end
|
3043
3877
|
end
|
3044
3878
|
|
3879
|
+
# 计费项内容
|
3880
|
+
class Spec < TencentCloud::Common::AbstractModel
|
3881
|
+
# @param SpecId: 计费项标签
|
3882
|
+
# @type SpecId: String
|
3883
|
+
# @param SpecName: 计费项名称
|
3884
|
+
# @type SpecName: String
|
3885
|
+
# @param SpecAlias: 计费项显示名称
|
3886
|
+
# @type SpecAlias: String
|
3887
|
+
|
3888
|
+
attr_accessor :SpecId, :SpecName, :SpecAlias
|
3889
|
+
|
3890
|
+
def initialize(specid=nil, specname=nil, specalias=nil)
|
3891
|
+
@SpecId = specid
|
3892
|
+
@SpecName = specname
|
3893
|
+
@SpecAlias = specalias
|
3894
|
+
end
|
3895
|
+
|
3896
|
+
def deserialize(params)
|
3897
|
+
@SpecId = params['SpecId']
|
3898
|
+
@SpecName = params['SpecName']
|
3899
|
+
@SpecAlias = params['SpecAlias']
|
3900
|
+
end
|
3901
|
+
end
|
3902
|
+
|
3045
3903
|
# 计费项询价结果
|
3046
3904
|
class SpecPrice < TencentCloud::Common::AbstractModel
|
3047
3905
|
# @param SpecName: 计费项名称
|
@@ -3142,6 +4000,38 @@ module TencentCloud
|
|
3142
4000
|
end
|
3143
4001
|
end
|
3144
4002
|
|
4003
|
+
# StopBatchTask请求参数结构体
|
4004
|
+
class StopBatchTaskRequest < TencentCloud::Common::AbstractModel
|
4005
|
+
# @param BatchTaskId: 跑批任务ID
|
4006
|
+
# @type BatchTaskId: String
|
4007
|
+
|
4008
|
+
attr_accessor :BatchTaskId
|
4009
|
+
|
4010
|
+
def initialize(batchtaskid=nil)
|
4011
|
+
@BatchTaskId = batchtaskid
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
def deserialize(params)
|
4015
|
+
@BatchTaskId = params['BatchTaskId']
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
4019
|
+
# StopBatchTask返回参数结构体
|
4020
|
+
class StopBatchTaskResponse < TencentCloud::Common::AbstractModel
|
4021
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4022
|
+
# @type RequestId: String
|
4023
|
+
|
4024
|
+
attr_accessor :RequestId
|
4025
|
+
|
4026
|
+
def initialize(requestid=nil)
|
4027
|
+
@RequestId = requestid
|
4028
|
+
end
|
4029
|
+
|
4030
|
+
def deserialize(params)
|
4031
|
+
@RequestId = params['RequestId']
|
4032
|
+
end
|
4033
|
+
end
|
4034
|
+
|
3145
4035
|
# StopTrainingTask请求参数结构体
|
3146
4036
|
class StopTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
3147
4037
|
# @param Id: 训练任务ID
|
@@ -3374,10 +4264,28 @@ module TencentCloud
|
|
3374
4264
|
# @param TrainingModelFormat: 模型格式
|
3375
4265
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3376
4266
|
# @type TrainingModelFormat: String
|
4267
|
+
# @param VersionType: 模型版本类型
|
4268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4269
|
+
# @type VersionType: String
|
4270
|
+
# @param GPUType: GPU类型
|
4271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4272
|
+
# @type GPUType: String
|
4273
|
+
# @param AutoClean: 模型自动清理开关
|
4274
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4275
|
+
# @type AutoClean: String
|
4276
|
+
# @param ModelCleanPeriod: 模型清理周期
|
4277
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4278
|
+
# @type ModelCleanPeriod: Integer
|
4279
|
+
# @param MaxReservedModels: 模型数量保留上限
|
4280
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4281
|
+
# @type MaxReservedModels: Integer
|
4282
|
+
# @param ModelHotUpdatePath: 模型热更新目录
|
4283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4284
|
+
# @type ModelHotUpdatePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
3377
4285
|
|
3378
|
-
attr_accessor :TrainingModelId, :TrainingModelVersionId, :TrainingModelVersion, :TrainingModelSource, :TrainingModelCreateTime, :TrainingModelCreator, :AlgorithmFramework, :ReasoningEnvironment, :ReasoningEnvironmentSource, :TrainingModelIndex, :TrainingJobName, :TrainingModelCosPath, :TrainingModelName, :TrainingJobId, :ReasoningImageInfo, :CreateTime, :TrainingModelStatus, :TrainingModelProgress, :TrainingModelErrorMsg, :TrainingModelFormat
|
4286
|
+
attr_accessor :TrainingModelId, :TrainingModelVersionId, :TrainingModelVersion, :TrainingModelSource, :TrainingModelCreateTime, :TrainingModelCreator, :AlgorithmFramework, :ReasoningEnvironment, :ReasoningEnvironmentSource, :TrainingModelIndex, :TrainingJobName, :TrainingModelCosPath, :TrainingModelName, :TrainingJobId, :ReasoningImageInfo, :CreateTime, :TrainingModelStatus, :TrainingModelProgress, :TrainingModelErrorMsg, :TrainingModelFormat, :VersionType, :GPUType, :AutoClean, :ModelCleanPeriod, :MaxReservedModels, :ModelHotUpdatePath
|
3379
4287
|
|
3380
|
-
def initialize(trainingmodelid=nil, trainingmodelversionid=nil, trainingmodelversion=nil, trainingmodelsource=nil, trainingmodelcreatetime=nil, trainingmodelcreator=nil, algorithmframework=nil, reasoningenvironment=nil, reasoningenvironmentsource=nil, trainingmodelindex=nil, trainingjobname=nil, trainingmodelcospath=nil, trainingmodelname=nil, trainingjobid=nil, reasoningimageinfo=nil, createtime=nil, trainingmodelstatus=nil, trainingmodelprogress=nil, trainingmodelerrormsg=nil, trainingmodelformat=nil)
|
4288
|
+
def initialize(trainingmodelid=nil, trainingmodelversionid=nil, trainingmodelversion=nil, trainingmodelsource=nil, trainingmodelcreatetime=nil, trainingmodelcreator=nil, algorithmframework=nil, reasoningenvironment=nil, reasoningenvironmentsource=nil, trainingmodelindex=nil, trainingjobname=nil, trainingmodelcospath=nil, trainingmodelname=nil, trainingjobid=nil, reasoningimageinfo=nil, createtime=nil, trainingmodelstatus=nil, trainingmodelprogress=nil, trainingmodelerrormsg=nil, trainingmodelformat=nil, versiontype=nil, gputype=nil, autoclean=nil, modelcleanperiod=nil, maxreservedmodels=nil, modelhotupdatepath=nil)
|
3381
4289
|
@TrainingModelId = trainingmodelid
|
3382
4290
|
@TrainingModelVersionId = trainingmodelversionid
|
3383
4291
|
@TrainingModelVersion = trainingmodelversion
|
@@ -3398,6 +4306,12 @@ module TencentCloud
|
|
3398
4306
|
@TrainingModelProgress = trainingmodelprogress
|
3399
4307
|
@TrainingModelErrorMsg = trainingmodelerrormsg
|
3400
4308
|
@TrainingModelFormat = trainingmodelformat
|
4309
|
+
@VersionType = versiontype
|
4310
|
+
@GPUType = gputype
|
4311
|
+
@AutoClean = autoclean
|
4312
|
+
@ModelCleanPeriod = modelcleanperiod
|
4313
|
+
@MaxReservedModels = maxreservedmodels
|
4314
|
+
@ModelHotUpdatePath = modelhotupdatepath
|
3401
4315
|
end
|
3402
4316
|
|
3403
4317
|
def deserialize(params)
|
@@ -3427,6 +4341,15 @@ module TencentCloud
|
|
3427
4341
|
@TrainingModelProgress = params['TrainingModelProgress']
|
3428
4342
|
@TrainingModelErrorMsg = params['TrainingModelErrorMsg']
|
3429
4343
|
@TrainingModelFormat = params['TrainingModelFormat']
|
4344
|
+
@VersionType = params['VersionType']
|
4345
|
+
@GPUType = params['GPUType']
|
4346
|
+
@AutoClean = params['AutoClean']
|
4347
|
+
@ModelCleanPeriod = params['ModelCleanPeriod']
|
4348
|
+
@MaxReservedModels = params['MaxReservedModels']
|
4349
|
+
unless params['ModelHotUpdatePath'].nil?
|
4350
|
+
@ModelHotUpdatePath = CosPathInfo.new
|
4351
|
+
@ModelHotUpdatePath.deserialize(params['ModelHotUpdatePath'])
|
4352
|
+
end
|
3430
4353
|
end
|
3431
4354
|
end
|
3432
4355
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.406
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|