tencentcloud-sdk-tione 3.0.1029 → 3.0.1030
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/v20211111/client.rb +96 -0
- data/lib/v20211111/models.rb +276 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 786c96fe5432d3835b6b8422a98337a4b23ba443
|
4
|
+
data.tar.gz: cfda4e07613a321f2ee6919477a8f331cdb5b5ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aba09cbd3ca3716840aa56e6baa6bf404023315db83671c87c9a62d0fb6bb51974dfb3be62b0531e3ff41387c4db367c200e79c6ee58f8103e2d7c7c07ab67e9
|
7
|
+
data.tar.gz: 797330b1c14947a3a9c765addb674d42f282cd29059df1bcd54113f7cfdc1dbe4574254b45527b4bfe740bfd7e26214cb8db4737344acce60c071380f486714b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1030
|
data/lib/v20211111/client.rb
CHANGED
@@ -173,6 +173,30 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
+
# 创建模型训练任务
|
177
|
+
|
178
|
+
# @param request: Request instance for CreateTrainingTask.
|
179
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::CreateTrainingTaskRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::CreateTrainingTaskResponse`
|
181
|
+
def CreateTrainingTask(request)
|
182
|
+
body = send_request('CreateTrainingTask', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = CreateTrainingTaskResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
176
200
|
# 删除数据集
|
177
201
|
|
178
202
|
# @param request: Request instance for DeleteDataset.
|
@@ -317,6 +341,30 @@ module TencentCloud
|
|
317
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
342
|
end
|
319
343
|
|
344
|
+
# 删除训练任务
|
345
|
+
|
346
|
+
# @param request: Request instance for DeleteTrainingTask.
|
347
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DeleteTrainingTaskRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DeleteTrainingTaskResponse`
|
349
|
+
def DeleteTrainingTask(request)
|
350
|
+
body = send_request('DeleteTrainingTask', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DeleteTrainingTaskResponse.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
|
+
|
320
368
|
# 查询资源组节点列表
|
321
369
|
|
322
370
|
# @param request: Request instance for DescribeBillingResourceGroup.
|
@@ -919,6 +967,30 @@ module TencentCloud
|
|
919
967
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
920
968
|
end
|
921
969
|
|
970
|
+
# 启动模型训练任务
|
971
|
+
|
972
|
+
# @param request: Request instance for StartTrainingTask.
|
973
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::StartTrainingTaskRequest`
|
974
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::StartTrainingTaskResponse`
|
975
|
+
def StartTrainingTask(request)
|
976
|
+
body = send_request('StartTrainingTask', request.serialize)
|
977
|
+
response = JSON.parse(body)
|
978
|
+
if response['Response'].key?('Error') == false
|
979
|
+
model = StartTrainingTaskResponse.new
|
980
|
+
model.deserialize(response['Response'])
|
981
|
+
model
|
982
|
+
else
|
983
|
+
code = response['Response']['Error']['Code']
|
984
|
+
message = response['Response']['Error']['Message']
|
985
|
+
reqid = response['Response']['RequestId']
|
986
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
987
|
+
end
|
988
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
989
|
+
raise e
|
990
|
+
rescue StandardError => e
|
991
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
992
|
+
end
|
993
|
+
|
922
994
|
# 停止模型加速任务
|
923
995
|
|
924
996
|
# @param request: Request instance for StopModelAccelerateTask.
|
@@ -967,6 +1039,30 @@ module TencentCloud
|
|
967
1039
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
968
1040
|
end
|
969
1041
|
|
1042
|
+
# 停止模型训练任务
|
1043
|
+
|
1044
|
+
# @param request: Request instance for StopTrainingTask.
|
1045
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::StopTrainingTaskRequest`
|
1046
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::StopTrainingTaskResponse`
|
1047
|
+
def StopTrainingTask(request)
|
1048
|
+
body = send_request('StopTrainingTask', request.serialize)
|
1049
|
+
response = JSON.parse(body)
|
1050
|
+
if response['Response'].key?('Error') == false
|
1051
|
+
model = StopTrainingTaskResponse.new
|
1052
|
+
model.deserialize(response['Response'])
|
1053
|
+
model
|
1054
|
+
else
|
1055
|
+
code = response['Response']['Error']['Code']
|
1056
|
+
message = response['Response']['Error']['Message']
|
1057
|
+
reqid = response['Response']['RequestId']
|
1058
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1059
|
+
end
|
1060
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1061
|
+
raise e
|
1062
|
+
rescue StandardError => e
|
1063
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1064
|
+
end
|
1065
|
+
|
970
1066
|
|
971
1067
|
end
|
972
1068
|
end
|
data/lib/v20211111/models.rb
CHANGED
@@ -1047,6 +1047,170 @@ module TencentCloud
|
|
1047
1047
|
end
|
1048
1048
|
end
|
1049
1049
|
|
1050
|
+
# CreateTrainingTask请求参数结构体
|
1051
|
+
class CreateTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
1052
|
+
# @param Name: 训练任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
1053
|
+
# @type Name: String
|
1054
|
+
# @param ChargeType: 计费模式,eg:PREPAID 包年包月(资源组);
|
1055
|
+
# POSTPAID_BY_HOUR 按量计费
|
1056
|
+
# @type ChargeType: String
|
1057
|
+
# @param ResourceConfigInfos: 资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{"Role":"WORKER", "InstanceType": "TI.S.MEDIUM.POST", "InstanceNum": 1}]
|
1058
|
+
# @type ResourceConfigInfos: Array
|
1059
|
+
# @param FrameworkName: 训练框架名称,通过DescribeTrainingFrameworks接口查询,eg:SPARK、PYSPARK、TENSORFLOW、PYTORCH
|
1060
|
+
# @type FrameworkName: String
|
1061
|
+
# @param FrameworkVersion: 训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15、1.9
|
1062
|
+
# @type FrameworkVersion: String
|
1063
|
+
# @param FrameworkEnvironment: 训练框架环境,通过DescribeTrainingFrameworks接口查询,eg:tf1.15-py3.7-cpu、torch1.9-py3.8-cuda11.1-gpu
|
1064
|
+
# @type FrameworkEnvironment: String
|
1065
|
+
# @param ResourceGroupId: 预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询
|
1066
|
+
# @type ResourceGroupId: String
|
1067
|
+
# @param Tags: 标签配置
|
1068
|
+
# @type Tags: Array
|
1069
|
+
# @param ImageInfo: 自定义镜像信息
|
1070
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
1071
|
+
# @param CodePackagePath: COS代码包路径
|
1072
|
+
# @type CodePackagePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
1073
|
+
# @param StartCmdInfo: 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数
|
1074
|
+
# @type StartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.StartCmdInfo`
|
1075
|
+
# @param TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
1076
|
+
# @type TrainingMode: String
|
1077
|
+
# @param DataConfigs: 数据配置,依赖DataSource字段,数量不超过10个
|
1078
|
+
# @type DataConfigs: Array
|
1079
|
+
# @param VpcId: VPC Id
|
1080
|
+
# @type VpcId: String
|
1081
|
+
# @param SubnetId: 子网Id
|
1082
|
+
# @type SubnetId: String
|
1083
|
+
# @param Output: COS训练输出路径
|
1084
|
+
# @type Output: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
1085
|
+
# @param LogConfig: CLS日志配置
|
1086
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
1087
|
+
# @param TuningParameters: 调优参数,不超过2048个字符
|
1088
|
+
# @type TuningParameters: String
|
1089
|
+
# @param LogEnable: 是否上报日志
|
1090
|
+
# @type LogEnable: Boolean
|
1091
|
+
# @param Remark: 备注,不超过1024个字符
|
1092
|
+
# @type Remark: String
|
1093
|
+
# @param DataSource: 数据来源,eg:DATASET、COS、CFS、CFSTurbo、HDFS、GooseFSx
|
1094
|
+
# @type DataSource: String
|
1095
|
+
# @param CallbackUrl: 回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)
|
1096
|
+
# @type CallbackUrl: String
|
1097
|
+
# @param EncodedStartCmdInfo: 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效
|
1098
|
+
# @type EncodedStartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.EncodedStartCmdInfo`
|
1099
|
+
|
1100
|
+
attr_accessor :Name, :ChargeType, :ResourceConfigInfos, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ResourceGroupId, :Tags, :ImageInfo, :CodePackagePath, :StartCmdInfo, :TrainingMode, :DataConfigs, :VpcId, :SubnetId, :Output, :LogConfig, :TuningParameters, :LogEnable, :Remark, :DataSource, :CallbackUrl, :EncodedStartCmdInfo
|
1101
|
+
|
1102
|
+
def initialize(name=nil, chargetype=nil, resourceconfiginfos=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, resourcegroupid=nil, tags=nil, imageinfo=nil, codepackagepath=nil, startcmdinfo=nil, trainingmode=nil, dataconfigs=nil, vpcid=nil, subnetid=nil, output=nil, logconfig=nil, tuningparameters=nil, logenable=nil, remark=nil, datasource=nil, callbackurl=nil, encodedstartcmdinfo=nil)
|
1103
|
+
@Name = name
|
1104
|
+
@ChargeType = chargetype
|
1105
|
+
@ResourceConfigInfos = resourceconfiginfos
|
1106
|
+
@FrameworkName = frameworkname
|
1107
|
+
@FrameworkVersion = frameworkversion
|
1108
|
+
@FrameworkEnvironment = frameworkenvironment
|
1109
|
+
@ResourceGroupId = resourcegroupid
|
1110
|
+
@Tags = tags
|
1111
|
+
@ImageInfo = imageinfo
|
1112
|
+
@CodePackagePath = codepackagepath
|
1113
|
+
@StartCmdInfo = startcmdinfo
|
1114
|
+
@TrainingMode = trainingmode
|
1115
|
+
@DataConfigs = dataconfigs
|
1116
|
+
@VpcId = vpcid
|
1117
|
+
@SubnetId = subnetid
|
1118
|
+
@Output = output
|
1119
|
+
@LogConfig = logconfig
|
1120
|
+
@TuningParameters = tuningparameters
|
1121
|
+
@LogEnable = logenable
|
1122
|
+
@Remark = remark
|
1123
|
+
@DataSource = datasource
|
1124
|
+
@CallbackUrl = callbackurl
|
1125
|
+
@EncodedStartCmdInfo = encodedstartcmdinfo
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
def deserialize(params)
|
1129
|
+
@Name = params['Name']
|
1130
|
+
@ChargeType = params['ChargeType']
|
1131
|
+
unless params['ResourceConfigInfos'].nil?
|
1132
|
+
@ResourceConfigInfos = []
|
1133
|
+
params['ResourceConfigInfos'].each do |i|
|
1134
|
+
resourceconfiginfo_tmp = ResourceConfigInfo.new
|
1135
|
+
resourceconfiginfo_tmp.deserialize(i)
|
1136
|
+
@ResourceConfigInfos << resourceconfiginfo_tmp
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
@FrameworkName = params['FrameworkName']
|
1140
|
+
@FrameworkVersion = params['FrameworkVersion']
|
1141
|
+
@FrameworkEnvironment = params['FrameworkEnvironment']
|
1142
|
+
@ResourceGroupId = params['ResourceGroupId']
|
1143
|
+
unless params['Tags'].nil?
|
1144
|
+
@Tags = []
|
1145
|
+
params['Tags'].each do |i|
|
1146
|
+
tag_tmp = Tag.new
|
1147
|
+
tag_tmp.deserialize(i)
|
1148
|
+
@Tags << tag_tmp
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
unless params['ImageInfo'].nil?
|
1152
|
+
@ImageInfo = ImageInfo.new
|
1153
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
1154
|
+
end
|
1155
|
+
unless params['CodePackagePath'].nil?
|
1156
|
+
@CodePackagePath = CosPathInfo.new
|
1157
|
+
@CodePackagePath.deserialize(params['CodePackagePath'])
|
1158
|
+
end
|
1159
|
+
unless params['StartCmdInfo'].nil?
|
1160
|
+
@StartCmdInfo = StartCmdInfo.new
|
1161
|
+
@StartCmdInfo.deserialize(params['StartCmdInfo'])
|
1162
|
+
end
|
1163
|
+
@TrainingMode = params['TrainingMode']
|
1164
|
+
unless params['DataConfigs'].nil?
|
1165
|
+
@DataConfigs = []
|
1166
|
+
params['DataConfigs'].each do |i|
|
1167
|
+
dataconfig_tmp = DataConfig.new
|
1168
|
+
dataconfig_tmp.deserialize(i)
|
1169
|
+
@DataConfigs << dataconfig_tmp
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
@VpcId = params['VpcId']
|
1173
|
+
@SubnetId = params['SubnetId']
|
1174
|
+
unless params['Output'].nil?
|
1175
|
+
@Output = CosPathInfo.new
|
1176
|
+
@Output.deserialize(params['Output'])
|
1177
|
+
end
|
1178
|
+
unless params['LogConfig'].nil?
|
1179
|
+
@LogConfig = LogConfig.new
|
1180
|
+
@LogConfig.deserialize(params['LogConfig'])
|
1181
|
+
end
|
1182
|
+
@TuningParameters = params['TuningParameters']
|
1183
|
+
@LogEnable = params['LogEnable']
|
1184
|
+
@Remark = params['Remark']
|
1185
|
+
@DataSource = params['DataSource']
|
1186
|
+
@CallbackUrl = params['CallbackUrl']
|
1187
|
+
unless params['EncodedStartCmdInfo'].nil?
|
1188
|
+
@EncodedStartCmdInfo = EncodedStartCmdInfo.new
|
1189
|
+
@EncodedStartCmdInfo.deserialize(params['EncodedStartCmdInfo'])
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
# CreateTrainingTask返回参数结构体
|
1195
|
+
class CreateTrainingTaskResponse < TencentCloud::Common::AbstractModel
|
1196
|
+
# @param Id: 训练任务ID
|
1197
|
+
# @type Id: String
|
1198
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1199
|
+
# @type RequestId: String
|
1200
|
+
|
1201
|
+
attr_accessor :Id, :RequestId
|
1202
|
+
|
1203
|
+
def initialize(id=nil, requestid=nil)
|
1204
|
+
@Id = id
|
1205
|
+
@RequestId = requestid
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
def deserialize(params)
|
1209
|
+
@Id = params['Id']
|
1210
|
+
@RequestId = params['RequestId']
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
1050
1214
|
# 定时扩缩任务
|
1051
1215
|
class CronScaleJob < TencentCloud::Common::AbstractModel
|
1052
1216
|
# @param Schedule: Cron表达式,标识任务的执行时间,精确到分钟级
|
@@ -1890,6 +2054,38 @@ module TencentCloud
|
|
1890
2054
|
end
|
1891
2055
|
end
|
1892
2056
|
|
2057
|
+
# DeleteTrainingTask请求参数结构体
|
2058
|
+
class DeleteTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
2059
|
+
# @param Id: 训练任务ID
|
2060
|
+
# @type Id: String
|
2061
|
+
|
2062
|
+
attr_accessor :Id
|
2063
|
+
|
2064
|
+
def initialize(id=nil)
|
2065
|
+
@Id = id
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
def deserialize(params)
|
2069
|
+
@Id = params['Id']
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# DeleteTrainingTask返回参数结构体
|
2074
|
+
class DeleteTrainingTaskResponse < TencentCloud::Common::AbstractModel
|
2075
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2076
|
+
# @type RequestId: String
|
2077
|
+
|
2078
|
+
attr_accessor :RequestId
|
2079
|
+
|
2080
|
+
def initialize(requestid=nil)
|
2081
|
+
@RequestId = requestid
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def deserialize(params)
|
2085
|
+
@RequestId = params['RequestId']
|
2086
|
+
end
|
2087
|
+
end
|
2088
|
+
|
1893
2089
|
# DescribeBillingResourceGroup请求参数结构体
|
1894
2090
|
class DescribeBillingResourceGroupRequest < TencentCloud::Common::AbstractModel
|
1895
2091
|
# @param ResourceGroupId: 资源组id, 取值为创建资源组接口(CreateBillingResourceGroup)响应中的ResourceGroupId
|
@@ -3269,6 +3465,22 @@ module TencentCloud
|
|
3269
3465
|
end
|
3270
3466
|
end
|
3271
3467
|
|
3468
|
+
# 编码后的启动命令信息
|
3469
|
+
class EncodedStartCmdInfo < TencentCloud::Common::AbstractModel
|
3470
|
+
# @param StartCmdInfo: 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""}
|
3471
|
+
# @type StartCmdInfo: String
|
3472
|
+
|
3473
|
+
attr_accessor :StartCmdInfo
|
3474
|
+
|
3475
|
+
def initialize(startcmdinfo=nil)
|
3476
|
+
@StartCmdInfo = startcmdinfo
|
3477
|
+
end
|
3478
|
+
|
3479
|
+
def deserialize(params)
|
3480
|
+
@StartCmdInfo = params['StartCmdInfo']
|
3481
|
+
end
|
3482
|
+
end
|
3483
|
+
|
3272
3484
|
# 环境变量
|
3273
3485
|
class EnvVar < TencentCloud::Common::AbstractModel
|
3274
3486
|
# @param Name: 环境变量key
|
@@ -6699,6 +6911,38 @@ module TencentCloud
|
|
6699
6911
|
end
|
6700
6912
|
end
|
6701
6913
|
|
6914
|
+
# StartTrainingTask请求参数结构体
|
6915
|
+
class StartTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
6916
|
+
# @param Id: 训练任务ID
|
6917
|
+
# @type Id: String
|
6918
|
+
|
6919
|
+
attr_accessor :Id
|
6920
|
+
|
6921
|
+
def initialize(id=nil)
|
6922
|
+
@Id = id
|
6923
|
+
end
|
6924
|
+
|
6925
|
+
def deserialize(params)
|
6926
|
+
@Id = params['Id']
|
6927
|
+
end
|
6928
|
+
end
|
6929
|
+
|
6930
|
+
# StartTrainingTask返回参数结构体
|
6931
|
+
class StartTrainingTaskResponse < TencentCloud::Common::AbstractModel
|
6932
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6933
|
+
# @type RequestId: String
|
6934
|
+
|
6935
|
+
attr_accessor :RequestId
|
6936
|
+
|
6937
|
+
def initialize(requestid=nil)
|
6938
|
+
@RequestId = requestid
|
6939
|
+
end
|
6940
|
+
|
6941
|
+
def deserialize(params)
|
6942
|
+
@RequestId = params['RequestId']
|
6943
|
+
end
|
6944
|
+
end
|
6945
|
+
|
6702
6946
|
# 实例状况
|
6703
6947
|
class StatefulSetCondition < TencentCloud::Common::AbstractModel
|
6704
6948
|
# @param Message: 信息
|
@@ -6815,6 +7059,38 @@ module TencentCloud
|
|
6815
7059
|
end
|
6816
7060
|
end
|
6817
7061
|
|
7062
|
+
# StopTrainingTask请求参数结构体
|
7063
|
+
class StopTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
7064
|
+
# @param Id: 训练任务ID
|
7065
|
+
# @type Id: String
|
7066
|
+
|
7067
|
+
attr_accessor :Id
|
7068
|
+
|
7069
|
+
def initialize(id=nil)
|
7070
|
+
@Id = id
|
7071
|
+
end
|
7072
|
+
|
7073
|
+
def deserialize(params)
|
7074
|
+
@Id = params['Id']
|
7075
|
+
end
|
7076
|
+
end
|
7077
|
+
|
7078
|
+
# StopTrainingTask返回参数结构体
|
7079
|
+
class StopTrainingTaskResponse < TencentCloud::Common::AbstractModel
|
7080
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7081
|
+
# @type RequestId: String
|
7082
|
+
|
7083
|
+
attr_accessor :RequestId
|
7084
|
+
|
7085
|
+
def initialize(requestid=nil)
|
7086
|
+
@RequestId = requestid
|
7087
|
+
end
|
7088
|
+
|
7089
|
+
def deserialize(params)
|
7090
|
+
@RequestId = params['RequestId']
|
7091
|
+
end
|
7092
|
+
end
|
7093
|
+
|
6818
7094
|
# 太极服务的调用信息
|
6819
7095
|
class TJCallInfo < TencentCloud::Common::AbstractModel
|
6820
7096
|
# @param HttpAddr: 调用地址
|
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.1030
|
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-03-
|
11
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|