tencentcloud-sdk-tione 3.0.623 → 3.0.624
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 +312 -0
- data/lib/v20211111/models.rb +1338 -93
- metadata +2 -2
data/lib/v20211111/models.rb
CHANGED
@@ -1211,6 +1211,201 @@ module TencentCloud
|
|
1211
1211
|
end
|
1212
1212
|
end
|
1213
1213
|
|
1214
|
+
# CreateNotebookImage请求参数结构体
|
1215
|
+
class CreateNotebookImageRequest < TencentCloud::Common::AbstractModel
|
1216
|
+
# @param Kernels: 要保存的kernel数组
|
1217
|
+
# @type Kernels: Array
|
1218
|
+
# @param ImageInfo: 镜像信息
|
1219
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
1220
|
+
# @param NotebookId: notebook id
|
1221
|
+
# @type NotebookId: String
|
1222
|
+
|
1223
|
+
attr_accessor :Kernels, :ImageInfo, :NotebookId
|
1224
|
+
|
1225
|
+
def initialize(kernels=nil, imageinfo=nil, notebookid=nil)
|
1226
|
+
@Kernels = kernels
|
1227
|
+
@ImageInfo = imageinfo
|
1228
|
+
@NotebookId = notebookid
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
def deserialize(params)
|
1232
|
+
@Kernels = params['Kernels']
|
1233
|
+
unless params['ImageInfo'].nil?
|
1234
|
+
@ImageInfo = ImageInfo.new
|
1235
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
1236
|
+
end
|
1237
|
+
@NotebookId = params['NotebookId']
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# CreateNotebookImage返回参数结构体
|
1242
|
+
class CreateNotebookImageResponse < TencentCloud::Common::AbstractModel
|
1243
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1244
|
+
# @type RequestId: String
|
1245
|
+
|
1246
|
+
attr_accessor :RequestId
|
1247
|
+
|
1248
|
+
def initialize(requestid=nil)
|
1249
|
+
@RequestId = requestid
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
def deserialize(params)
|
1253
|
+
@RequestId = params['RequestId']
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# CreateNotebook请求参数结构体
|
1258
|
+
class CreateNotebookRequest < TencentCloud::Common::AbstractModel
|
1259
|
+
# @param Name: 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
1260
|
+
# @type Name: String
|
1261
|
+
# @param ChargeType: 计算资源付费模式 ,可选值为:
|
1262
|
+
# PREPAID:预付费,即包年包月
|
1263
|
+
# POSTPAID_BY_HOUR:按小时后付费
|
1264
|
+
# @type ChargeType: String
|
1265
|
+
# @param ResourceConf: 计算资源配置
|
1266
|
+
# @type ResourceConf: :class:`Tencentcloud::Tione.v20211111.models.ResourceConf`
|
1267
|
+
# @param LogEnable: 是否上报日志
|
1268
|
+
# @type LogEnable: Boolean
|
1269
|
+
# @param RootAccess: 是否ROOT权限
|
1270
|
+
# @type RootAccess: Boolean
|
1271
|
+
# @param AutoStopping: 是否自动停止
|
1272
|
+
# @type AutoStopping: Boolean
|
1273
|
+
# @param DirectInternetAccess: 是否访问公网
|
1274
|
+
# @type DirectInternetAccess: Boolean
|
1275
|
+
# @param ResourceGroupId: 资源组ID(for预付费)
|
1276
|
+
# @type ResourceGroupId: String
|
1277
|
+
# @param VpcId: Vpc-Id
|
1278
|
+
# @type VpcId: String
|
1279
|
+
# @param SubnetId: 子网Id
|
1280
|
+
# @type SubnetId: String
|
1281
|
+
# @param VolumeSourceType: 存储的类型。取值包含:
|
1282
|
+
# FREE: 预付费的免费存储
|
1283
|
+
# CLOUD_PREMIUM: 高性能云硬盘
|
1284
|
+
# CLOUD_SSD: SSD云硬盘
|
1285
|
+
# CFS: CFS存储,包含NFS和turbo
|
1286
|
+
# @type VolumeSourceType: String
|
1287
|
+
# @param VolumeSizeInGB: 存储卷大小,单位GB
|
1288
|
+
# @type VolumeSizeInGB: Integer
|
1289
|
+
# @param VolumeSourceCFS: CFS存储的配置
|
1290
|
+
# @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
1291
|
+
# @param LogConfig: 日志配置
|
1292
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
1293
|
+
# @param LifecycleScriptId: 生命周期脚本的ID
|
1294
|
+
# @type LifecycleScriptId: String
|
1295
|
+
# @param DefaultCodeRepoId: 默认GIT存储库的ID
|
1296
|
+
# @type DefaultCodeRepoId: String
|
1297
|
+
# @param AdditionalCodeRepoIds: 其他GIT存储库的ID,最多3个
|
1298
|
+
# @type AdditionalCodeRepoIds: Array
|
1299
|
+
# @param AutomaticStopTime: 自动停止时间,单位小时
|
1300
|
+
# @type AutomaticStopTime: Integer
|
1301
|
+
# @param Tags: 标签配置
|
1302
|
+
# @type Tags: Array
|
1303
|
+
# @param DataConfigs: 数据配置
|
1304
|
+
# @type DataConfigs: Array
|
1305
|
+
# @param ImageInfo: 镜像信息
|
1306
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
1307
|
+
# @param ImageType: 镜像类型
|
1308
|
+
# @type ImageType: String
|
1309
|
+
|
1310
|
+
attr_accessor :Name, :ChargeType, :ResourceConf, :LogEnable, :RootAccess, :AutoStopping, :DirectInternetAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSourceType, :VolumeSizeInGB, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType
|
1311
|
+
|
1312
|
+
def initialize(name=nil, chargetype=nil, resourceconf=nil, logenable=nil, rootaccess=nil, autostopping=nil, directinternetaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesourcetype=nil, volumesizeingb=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil)
|
1313
|
+
@Name = name
|
1314
|
+
@ChargeType = chargetype
|
1315
|
+
@ResourceConf = resourceconf
|
1316
|
+
@LogEnable = logenable
|
1317
|
+
@RootAccess = rootaccess
|
1318
|
+
@AutoStopping = autostopping
|
1319
|
+
@DirectInternetAccess = directinternetaccess
|
1320
|
+
@ResourceGroupId = resourcegroupid
|
1321
|
+
@VpcId = vpcid
|
1322
|
+
@SubnetId = subnetid
|
1323
|
+
@VolumeSourceType = volumesourcetype
|
1324
|
+
@VolumeSizeInGB = volumesizeingb
|
1325
|
+
@VolumeSourceCFS = volumesourcecfs
|
1326
|
+
@LogConfig = logconfig
|
1327
|
+
@LifecycleScriptId = lifecyclescriptid
|
1328
|
+
@DefaultCodeRepoId = defaultcoderepoid
|
1329
|
+
@AdditionalCodeRepoIds = additionalcoderepoids
|
1330
|
+
@AutomaticStopTime = automaticstoptime
|
1331
|
+
@Tags = tags
|
1332
|
+
@DataConfigs = dataconfigs
|
1333
|
+
@ImageInfo = imageinfo
|
1334
|
+
@ImageType = imagetype
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
def deserialize(params)
|
1338
|
+
@Name = params['Name']
|
1339
|
+
@ChargeType = params['ChargeType']
|
1340
|
+
unless params['ResourceConf'].nil?
|
1341
|
+
@ResourceConf = ResourceConf.new
|
1342
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
1343
|
+
end
|
1344
|
+
@LogEnable = params['LogEnable']
|
1345
|
+
@RootAccess = params['RootAccess']
|
1346
|
+
@AutoStopping = params['AutoStopping']
|
1347
|
+
@DirectInternetAccess = params['DirectInternetAccess']
|
1348
|
+
@ResourceGroupId = params['ResourceGroupId']
|
1349
|
+
@VpcId = params['VpcId']
|
1350
|
+
@SubnetId = params['SubnetId']
|
1351
|
+
@VolumeSourceType = params['VolumeSourceType']
|
1352
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
1353
|
+
unless params['VolumeSourceCFS'].nil?
|
1354
|
+
@VolumeSourceCFS = CFSConfig.new
|
1355
|
+
@VolumeSourceCFS.deserialize(params['VolumeSourceCFS'])
|
1356
|
+
end
|
1357
|
+
unless params['LogConfig'].nil?
|
1358
|
+
@LogConfig = LogConfig.new
|
1359
|
+
@LogConfig.deserialize(params['LogConfig'])
|
1360
|
+
end
|
1361
|
+
@LifecycleScriptId = params['LifecycleScriptId']
|
1362
|
+
@DefaultCodeRepoId = params['DefaultCodeRepoId']
|
1363
|
+
@AdditionalCodeRepoIds = params['AdditionalCodeRepoIds']
|
1364
|
+
@AutomaticStopTime = params['AutomaticStopTime']
|
1365
|
+
unless params['Tags'].nil?
|
1366
|
+
@Tags = []
|
1367
|
+
params['Tags'].each do |i|
|
1368
|
+
tag_tmp = Tag.new
|
1369
|
+
tag_tmp.deserialize(i)
|
1370
|
+
@Tags << tag_tmp
|
1371
|
+
end
|
1372
|
+
end
|
1373
|
+
unless params['DataConfigs'].nil?
|
1374
|
+
@DataConfigs = []
|
1375
|
+
params['DataConfigs'].each do |i|
|
1376
|
+
dataconfig_tmp = DataConfig.new
|
1377
|
+
dataconfig_tmp.deserialize(i)
|
1378
|
+
@DataConfigs << dataconfig_tmp
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
unless params['ImageInfo'].nil?
|
1382
|
+
@ImageInfo = ImageInfo.new
|
1383
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
1384
|
+
end
|
1385
|
+
@ImageType = params['ImageType']
|
1386
|
+
end
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
# CreateNotebook返回参数结构体
|
1390
|
+
class CreateNotebookResponse < TencentCloud::Common::AbstractModel
|
1391
|
+
# @param Id: notebook标志
|
1392
|
+
# @type Id: String
|
1393
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1394
|
+
# @type RequestId: String
|
1395
|
+
|
1396
|
+
attr_accessor :Id, :RequestId
|
1397
|
+
|
1398
|
+
def initialize(id=nil, requestid=nil)
|
1399
|
+
@Id = id
|
1400
|
+
@RequestId = requestid
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
def deserialize(params)
|
1404
|
+
@Id = params['Id']
|
1405
|
+
@RequestId = params['RequestId']
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1214
1409
|
# CreateOptimizedModel请求参数结构体
|
1215
1410
|
class CreateOptimizedModelRequest < TencentCloud::Common::AbstractModel
|
1216
1411
|
# @param ModelAccTaskId: 模型加速任务ID
|
@@ -2323,6 +2518,70 @@ module TencentCloud
|
|
2323
2518
|
end
|
2324
2519
|
end
|
2325
2520
|
|
2521
|
+
# DeleteNotebookImageRecord请求参数结构体
|
2522
|
+
class DeleteNotebookImageRecordRequest < TencentCloud::Common::AbstractModel
|
2523
|
+
# @param RecordId: 记录id
|
2524
|
+
# @type RecordId: String
|
2525
|
+
|
2526
|
+
attr_accessor :RecordId
|
2527
|
+
|
2528
|
+
def initialize(recordid=nil)
|
2529
|
+
@RecordId = recordid
|
2530
|
+
end
|
2531
|
+
|
2532
|
+
def deserialize(params)
|
2533
|
+
@RecordId = params['RecordId']
|
2534
|
+
end
|
2535
|
+
end
|
2536
|
+
|
2537
|
+
# DeleteNotebookImageRecord返回参数结构体
|
2538
|
+
class DeleteNotebookImageRecordResponse < TencentCloud::Common::AbstractModel
|
2539
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2540
|
+
# @type RequestId: String
|
2541
|
+
|
2542
|
+
attr_accessor :RequestId
|
2543
|
+
|
2544
|
+
def initialize(requestid=nil)
|
2545
|
+
@RequestId = requestid
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
def deserialize(params)
|
2549
|
+
@RequestId = params['RequestId']
|
2550
|
+
end
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
# DeleteNotebook请求参数结构体
|
2554
|
+
class DeleteNotebookRequest < TencentCloud::Common::AbstractModel
|
2555
|
+
# @param Id: notebook id
|
2556
|
+
# @type Id: String
|
2557
|
+
|
2558
|
+
attr_accessor :Id
|
2559
|
+
|
2560
|
+
def initialize(id=nil)
|
2561
|
+
@Id = id
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
def deserialize(params)
|
2565
|
+
@Id = params['Id']
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
# DeleteNotebook返回参数结构体
|
2570
|
+
class DeleteNotebookResponse < TencentCloud::Common::AbstractModel
|
2571
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2572
|
+
# @type RequestId: String
|
2573
|
+
|
2574
|
+
attr_accessor :RequestId
|
2575
|
+
|
2576
|
+
def initialize(requestid=nil)
|
2577
|
+
@RequestId = requestid
|
2578
|
+
end
|
2579
|
+
|
2580
|
+
def deserialize(params)
|
2581
|
+
@RequestId = params['RequestId']
|
2582
|
+
end
|
2583
|
+
end
|
2584
|
+
|
2326
2585
|
# DeleteTrainingModel请求参数结构体
|
2327
2586
|
class DeleteTrainingModelRequest < TencentCloud::Common::AbstractModel
|
2328
2587
|
# @param TrainingModelId: 模型ID
|
@@ -3894,134 +4153,368 @@ module TencentCloud
|
|
3894
4153
|
end
|
3895
4154
|
end
|
3896
4155
|
|
3897
|
-
#
|
3898
|
-
class
|
4156
|
+
# DescribeNotebookImageKernels请求参数结构体
|
4157
|
+
class DescribeNotebookImageKernelsRequest < TencentCloud::Common::AbstractModel
|
4158
|
+
# @param NotebookId: notebook id
|
4159
|
+
# @type NotebookId: String
|
3899
4160
|
|
4161
|
+
attr_accessor :NotebookId
|
3900
4162
|
|
3901
|
-
def initialize()
|
4163
|
+
def initialize(notebookid=nil)
|
4164
|
+
@NotebookId = notebookid
|
3902
4165
|
end
|
3903
4166
|
|
3904
4167
|
def deserialize(params)
|
4168
|
+
@NotebookId = params['NotebookId']
|
3905
4169
|
end
|
3906
4170
|
end
|
3907
4171
|
|
3908
|
-
#
|
3909
|
-
class
|
3910
|
-
# @param
|
3911
|
-
# @type
|
4172
|
+
# DescribeNotebookImageKernels返回参数结构体
|
4173
|
+
class DescribeNotebookImageKernelsResponse < TencentCloud::Common::AbstractModel
|
4174
|
+
# @param Kernels: 镜像kernel数组
|
4175
|
+
# @type Kernels: Array
|
3912
4176
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3913
4177
|
# @type RequestId: String
|
3914
4178
|
|
3915
|
-
attr_accessor :
|
4179
|
+
attr_accessor :Kernels, :RequestId
|
3916
4180
|
|
3917
|
-
def initialize(
|
3918
|
-
@
|
4181
|
+
def initialize(kernels=nil, requestid=nil)
|
4182
|
+
@Kernels = kernels
|
3919
4183
|
@RequestId = requestid
|
3920
4184
|
end
|
3921
4185
|
|
3922
4186
|
def deserialize(params)
|
3923
|
-
|
3924
|
-
@FrameworkInfos = []
|
3925
|
-
params['FrameworkInfos'].each do |i|
|
3926
|
-
frameworkinfo_tmp = FrameworkInfo.new
|
3927
|
-
frameworkinfo_tmp.deserialize(i)
|
3928
|
-
@FrameworkInfos << frameworkinfo_tmp
|
3929
|
-
end
|
3930
|
-
end
|
4187
|
+
@Kernels = params['Kernels']
|
3931
4188
|
@RequestId = params['RequestId']
|
3932
4189
|
end
|
3933
4190
|
end
|
3934
4191
|
|
3935
|
-
#
|
3936
|
-
class
|
3937
|
-
# @param
|
3938
|
-
# @type
|
4192
|
+
# DescribeNotebookImageRecords请求参数结构体
|
4193
|
+
class DescribeNotebookImageRecordsRequest < TencentCloud::Common::AbstractModel
|
4194
|
+
# @param NotebookId: notebook id
|
4195
|
+
# @type NotebookId: String
|
4196
|
+
# @param Offset: 位移值
|
4197
|
+
# @type Offset: Integer
|
4198
|
+
# @param Limit: 日志限制
|
4199
|
+
# @type Limit: Integer
|
4200
|
+
# @param Filters: 状态筛选
|
4201
|
+
# @type Filters: Array
|
3939
4202
|
|
3940
|
-
attr_accessor :
|
4203
|
+
attr_accessor :NotebookId, :Offset, :Limit, :Filters
|
3941
4204
|
|
3942
|
-
def initialize(
|
3943
|
-
@
|
4205
|
+
def initialize(notebookid=nil, offset=nil, limit=nil, filters=nil)
|
4206
|
+
@NotebookId = notebookid
|
4207
|
+
@Offset = offset
|
4208
|
+
@Limit = limit
|
4209
|
+
@Filters = filters
|
3944
4210
|
end
|
3945
4211
|
|
3946
4212
|
def deserialize(params)
|
3947
|
-
@
|
4213
|
+
@NotebookId = params['NotebookId']
|
4214
|
+
@Offset = params['Offset']
|
4215
|
+
@Limit = params['Limit']
|
4216
|
+
unless params['Filters'].nil?
|
4217
|
+
@Filters = []
|
4218
|
+
params['Filters'].each do |i|
|
4219
|
+
filter_tmp = Filter.new
|
4220
|
+
filter_tmp.deserialize(i)
|
4221
|
+
@Filters << filter_tmp
|
4222
|
+
end
|
4223
|
+
end
|
3948
4224
|
end
|
3949
4225
|
end
|
3950
4226
|
|
3951
|
-
#
|
3952
|
-
class
|
3953
|
-
# @param
|
3954
|
-
#
|
3955
|
-
# @
|
3956
|
-
# @
|
3957
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3958
|
-
# @type Data: Array
|
4227
|
+
# DescribeNotebookImageRecords返回参数结构体
|
4228
|
+
class DescribeNotebookImageRecordsResponse < TencentCloud::Common::AbstractModel
|
4229
|
+
# @param TotalCount: 总条数
|
4230
|
+
# @type TotalCount: Integer
|
4231
|
+
# @param NotebookImageRecords: 镜像保存记录
|
4232
|
+
# @type NotebookImageRecords: Array
|
3959
4233
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3960
4234
|
# @type RequestId: String
|
3961
4235
|
|
3962
|
-
attr_accessor :
|
4236
|
+
attr_accessor :TotalCount, :NotebookImageRecords, :RequestId
|
3963
4237
|
|
3964
|
-
def initialize(
|
3965
|
-
@
|
3966
|
-
@
|
4238
|
+
def initialize(totalcount=nil, notebookimagerecords=nil, requestid=nil)
|
4239
|
+
@TotalCount = totalcount
|
4240
|
+
@NotebookImageRecords = notebookimagerecords
|
3967
4241
|
@RequestId = requestid
|
3968
4242
|
end
|
3969
4243
|
|
3970
4244
|
def deserialize(params)
|
3971
|
-
@
|
3972
|
-
unless params['
|
3973
|
-
@
|
3974
|
-
params['
|
3975
|
-
|
3976
|
-
|
3977
|
-
@
|
4245
|
+
@TotalCount = params['TotalCount']
|
4246
|
+
unless params['NotebookImageRecords'].nil?
|
4247
|
+
@NotebookImageRecords = []
|
4248
|
+
params['NotebookImageRecords'].each do |i|
|
4249
|
+
notebookimagerecord_tmp = NotebookImageRecord.new
|
4250
|
+
notebookimagerecord_tmp.deserialize(i)
|
4251
|
+
@NotebookImageRecords << notebookimagerecord_tmp
|
3978
4252
|
end
|
3979
4253
|
end
|
3980
4254
|
@RequestId = params['RequestId']
|
3981
4255
|
end
|
3982
4256
|
end
|
3983
4257
|
|
3984
|
-
#
|
3985
|
-
class
|
3986
|
-
# @param
|
3987
|
-
# @type
|
4258
|
+
# DescribeNotebook请求参数结构体
|
4259
|
+
class DescribeNotebookRequest < TencentCloud::Common::AbstractModel
|
4260
|
+
# @param Id: notebook id
|
4261
|
+
# @type Id: String
|
3988
4262
|
|
3989
|
-
attr_accessor :
|
4263
|
+
attr_accessor :Id
|
3990
4264
|
|
3991
|
-
def initialize(
|
3992
|
-
@
|
4265
|
+
def initialize(id=nil)
|
4266
|
+
@Id = id
|
3993
4267
|
end
|
3994
4268
|
|
3995
4269
|
def deserialize(params)
|
3996
|
-
@
|
4270
|
+
@Id = params['Id']
|
3997
4271
|
end
|
3998
4272
|
end
|
3999
4273
|
|
4000
|
-
#
|
4001
|
-
class
|
4002
|
-
# @param
|
4003
|
-
# @type
|
4274
|
+
# DescribeNotebook返回参数结构体
|
4275
|
+
class DescribeNotebookResponse < TencentCloud::Common::AbstractModel
|
4276
|
+
# @param NotebookDetail: 详情
|
4277
|
+
# @type NotebookDetail: :class:`Tencentcloud::Tione.v20211111.models.NotebookDetail`
|
4004
4278
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4005
4279
|
# @type RequestId: String
|
4006
4280
|
|
4007
|
-
attr_accessor :
|
4281
|
+
attr_accessor :NotebookDetail, :RequestId
|
4008
4282
|
|
4009
|
-
def initialize(
|
4010
|
-
@
|
4283
|
+
def initialize(notebookdetail=nil, requestid=nil)
|
4284
|
+
@NotebookDetail = notebookdetail
|
4011
4285
|
@RequestId = requestid
|
4012
4286
|
end
|
4013
4287
|
|
4014
4288
|
def deserialize(params)
|
4015
|
-
unless params['
|
4016
|
-
@
|
4017
|
-
@
|
4289
|
+
unless params['NotebookDetail'].nil?
|
4290
|
+
@NotebookDetail = NotebookDetail.new
|
4291
|
+
@NotebookDetail.deserialize(params['NotebookDetail'])
|
4018
4292
|
end
|
4019
4293
|
@RequestId = params['RequestId']
|
4020
4294
|
end
|
4021
4295
|
end
|
4022
4296
|
|
4023
|
-
#
|
4024
|
-
class
|
4297
|
+
# DescribeNotebooks请求参数结构体
|
4298
|
+
class DescribeNotebooksRequest < TencentCloud::Common::AbstractModel
|
4299
|
+
# @param Offset: 偏移量,默认为0
|
4300
|
+
# @type Offset: Integer
|
4301
|
+
# @param Limit: 每页返回的实例数,默认为10
|
4302
|
+
# @type Limit: Integer
|
4303
|
+
# @param Order: 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列。默认为DESC
|
4304
|
+
# @type Order: String
|
4305
|
+
# @param OrderField: 根据哪个字段排序,如:CreateTime、UpdateTime,默认为UpdateTime
|
4306
|
+
# @type OrderField: String
|
4307
|
+
# @param Filters: 过滤器,eg:[{ "Name": "Id", "Values": ["nb-123456789"] }]
|
4308
|
+
|
4309
|
+
# 取值范围
|
4310
|
+
# Name(名称):notebook1
|
4311
|
+
# Id(notebook ID):nb-123456789
|
4312
|
+
# Status(状态):Starting / Running / Stopped / Stopping / Failed / SubmitFailed
|
4313
|
+
# ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
|
4314
|
+
# ChargeStatus(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ BILLING_STORAGE(存储计费中)/ARREARS_STOP(欠费停止)
|
4315
|
+
# DefaultCodeRepoId(默认代码仓库ID):cr-123456789
|
4316
|
+
# AdditionalCodeRepoId(关联代码仓库ID):cr-123456789
|
4317
|
+
# LifecycleScriptId(生命周期ID):ls-12312312311312
|
4318
|
+
# @type Filters: Array
|
4319
|
+
# @param TagFilters: 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }]
|
4320
|
+
# @type TagFilters: Array
|
4321
|
+
|
4322
|
+
attr_accessor :Offset, :Limit, :Order, :OrderField, :Filters, :TagFilters
|
4323
|
+
|
4324
|
+
def initialize(offset=nil, limit=nil, order=nil, orderfield=nil, filters=nil, tagfilters=nil)
|
4325
|
+
@Offset = offset
|
4326
|
+
@Limit = limit
|
4327
|
+
@Order = order
|
4328
|
+
@OrderField = orderfield
|
4329
|
+
@Filters = filters
|
4330
|
+
@TagFilters = tagfilters
|
4331
|
+
end
|
4332
|
+
|
4333
|
+
def deserialize(params)
|
4334
|
+
@Offset = params['Offset']
|
4335
|
+
@Limit = params['Limit']
|
4336
|
+
@Order = params['Order']
|
4337
|
+
@OrderField = params['OrderField']
|
4338
|
+
unless params['Filters'].nil?
|
4339
|
+
@Filters = []
|
4340
|
+
params['Filters'].each do |i|
|
4341
|
+
filter_tmp = Filter.new
|
4342
|
+
filter_tmp.deserialize(i)
|
4343
|
+
@Filters << filter_tmp
|
4344
|
+
end
|
4345
|
+
end
|
4346
|
+
unless params['TagFilters'].nil?
|
4347
|
+
@TagFilters = []
|
4348
|
+
params['TagFilters'].each do |i|
|
4349
|
+
tagfilter_tmp = TagFilter.new
|
4350
|
+
tagfilter_tmp.deserialize(i)
|
4351
|
+
@TagFilters << tagfilter_tmp
|
4352
|
+
end
|
4353
|
+
end
|
4354
|
+
end
|
4355
|
+
end
|
4356
|
+
|
4357
|
+
# DescribeNotebooks返回参数结构体
|
4358
|
+
class DescribeNotebooksResponse < TencentCloud::Common::AbstractModel
|
4359
|
+
# @param NotebookSet: 详情
|
4360
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4361
|
+
# @type NotebookSet: Array
|
4362
|
+
# @param TotalCount: 总条数
|
4363
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4364
|
+
# @type TotalCount: Integer
|
4365
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4366
|
+
# @type RequestId: String
|
4367
|
+
|
4368
|
+
attr_accessor :NotebookSet, :TotalCount, :RequestId
|
4369
|
+
|
4370
|
+
def initialize(notebookset=nil, totalcount=nil, requestid=nil)
|
4371
|
+
@NotebookSet = notebookset
|
4372
|
+
@TotalCount = totalcount
|
4373
|
+
@RequestId = requestid
|
4374
|
+
end
|
4375
|
+
|
4376
|
+
def deserialize(params)
|
4377
|
+
unless params['NotebookSet'].nil?
|
4378
|
+
@NotebookSet = []
|
4379
|
+
params['NotebookSet'].each do |i|
|
4380
|
+
notebooksetitem_tmp = NotebookSetItem.new
|
4381
|
+
notebooksetitem_tmp.deserialize(i)
|
4382
|
+
@NotebookSet << notebooksetitem_tmp
|
4383
|
+
end
|
4384
|
+
end
|
4385
|
+
@TotalCount = params['TotalCount']
|
4386
|
+
@RequestId = params['RequestId']
|
4387
|
+
end
|
4388
|
+
end
|
4389
|
+
|
4390
|
+
# DescribeTrainingFrameworks请求参数结构体
|
4391
|
+
class DescribeTrainingFrameworksRequest < TencentCloud::Common::AbstractModel
|
4392
|
+
|
4393
|
+
|
4394
|
+
def initialize()
|
4395
|
+
end
|
4396
|
+
|
4397
|
+
def deserialize(params)
|
4398
|
+
end
|
4399
|
+
end
|
4400
|
+
|
4401
|
+
# DescribeTrainingFrameworks返回参数结构体
|
4402
|
+
class DescribeTrainingFrameworksResponse < TencentCloud::Common::AbstractModel
|
4403
|
+
# @param FrameworkInfos: 框架信息列表
|
4404
|
+
# @type FrameworkInfos: Array
|
4405
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4406
|
+
# @type RequestId: String
|
4407
|
+
|
4408
|
+
attr_accessor :FrameworkInfos, :RequestId
|
4409
|
+
|
4410
|
+
def initialize(frameworkinfos=nil, requestid=nil)
|
4411
|
+
@FrameworkInfos = frameworkinfos
|
4412
|
+
@RequestId = requestid
|
4413
|
+
end
|
4414
|
+
|
4415
|
+
def deserialize(params)
|
4416
|
+
unless params['FrameworkInfos'].nil?
|
4417
|
+
@FrameworkInfos = []
|
4418
|
+
params['FrameworkInfos'].each do |i|
|
4419
|
+
frameworkinfo_tmp = FrameworkInfo.new
|
4420
|
+
frameworkinfo_tmp.deserialize(i)
|
4421
|
+
@FrameworkInfos << frameworkinfo_tmp
|
4422
|
+
end
|
4423
|
+
end
|
4424
|
+
@RequestId = params['RequestId']
|
4425
|
+
end
|
4426
|
+
end
|
4427
|
+
|
4428
|
+
# DescribeTrainingMetrics请求参数结构体
|
4429
|
+
class DescribeTrainingMetricsRequest < TencentCloud::Common::AbstractModel
|
4430
|
+
# @param TaskId: 任务ID
|
4431
|
+
# @type TaskId: String
|
4432
|
+
|
4433
|
+
attr_accessor :TaskId
|
4434
|
+
|
4435
|
+
def initialize(taskid=nil)
|
4436
|
+
@TaskId = taskid
|
4437
|
+
end
|
4438
|
+
|
4439
|
+
def deserialize(params)
|
4440
|
+
@TaskId = params['TaskId']
|
4441
|
+
end
|
4442
|
+
end
|
4443
|
+
|
4444
|
+
# DescribeTrainingMetrics返回参数结构体
|
4445
|
+
class DescribeTrainingMetricsResponse < TencentCloud::Common::AbstractModel
|
4446
|
+
# @param TaskId: 任务ID
|
4447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4448
|
+
# @type TaskId: String
|
4449
|
+
# @param Data: 训练指标数据
|
4450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4451
|
+
# @type Data: Array
|
4452
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4453
|
+
# @type RequestId: String
|
4454
|
+
|
4455
|
+
attr_accessor :TaskId, :Data, :RequestId
|
4456
|
+
|
4457
|
+
def initialize(taskid=nil, data=nil, requestid=nil)
|
4458
|
+
@TaskId = taskid
|
4459
|
+
@Data = data
|
4460
|
+
@RequestId = requestid
|
4461
|
+
end
|
4462
|
+
|
4463
|
+
def deserialize(params)
|
4464
|
+
@TaskId = params['TaskId']
|
4465
|
+
unless params['Data'].nil?
|
4466
|
+
@Data = []
|
4467
|
+
params['Data'].each do |i|
|
4468
|
+
customtrainingdata_tmp = CustomTrainingData.new
|
4469
|
+
customtrainingdata_tmp.deserialize(i)
|
4470
|
+
@Data << customtrainingdata_tmp
|
4471
|
+
end
|
4472
|
+
end
|
4473
|
+
@RequestId = params['RequestId']
|
4474
|
+
end
|
4475
|
+
end
|
4476
|
+
|
4477
|
+
# DescribeTrainingModelVersion请求参数结构体
|
4478
|
+
class DescribeTrainingModelVersionRequest < TencentCloud::Common::AbstractModel
|
4479
|
+
# @param TrainingModelVersionId: 模型版本ID
|
4480
|
+
# @type TrainingModelVersionId: String
|
4481
|
+
|
4482
|
+
attr_accessor :TrainingModelVersionId
|
4483
|
+
|
4484
|
+
def initialize(trainingmodelversionid=nil)
|
4485
|
+
@TrainingModelVersionId = trainingmodelversionid
|
4486
|
+
end
|
4487
|
+
|
4488
|
+
def deserialize(params)
|
4489
|
+
@TrainingModelVersionId = params['TrainingModelVersionId']
|
4490
|
+
end
|
4491
|
+
end
|
4492
|
+
|
4493
|
+
# DescribeTrainingModelVersion返回参数结构体
|
4494
|
+
class DescribeTrainingModelVersionResponse < TencentCloud::Common::AbstractModel
|
4495
|
+
# @param TrainingModelVersion: 模型版本
|
4496
|
+
# @type TrainingModelVersion: :class:`Tencentcloud::Tione.v20211111.models.TrainingModelVersionDTO`
|
4497
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4498
|
+
# @type RequestId: String
|
4499
|
+
|
4500
|
+
attr_accessor :TrainingModelVersion, :RequestId
|
4501
|
+
|
4502
|
+
def initialize(trainingmodelversion=nil, requestid=nil)
|
4503
|
+
@TrainingModelVersion = trainingmodelversion
|
4504
|
+
@RequestId = requestid
|
4505
|
+
end
|
4506
|
+
|
4507
|
+
def deserialize(params)
|
4508
|
+
unless params['TrainingModelVersion'].nil?
|
4509
|
+
@TrainingModelVersion = TrainingModelVersionDTO.new
|
4510
|
+
@TrainingModelVersion.deserialize(params['TrainingModelVersion'])
|
4511
|
+
end
|
4512
|
+
@RequestId = params['RequestId']
|
4513
|
+
end
|
4514
|
+
end
|
4515
|
+
|
4516
|
+
# DescribeTrainingModelVersions请求参数结构体
|
4517
|
+
class DescribeTrainingModelVersionsRequest < TencentCloud::Common::AbstractModel
|
4025
4518
|
# @param TrainingModelId: 模型ID
|
4026
4519
|
# @type TrainingModelId: String
|
4027
4520
|
# @param Filters: 过滤条件
|
@@ -5656,40 +6149,235 @@ module TencentCloud
|
|
5656
6149
|
end
|
5657
6150
|
end
|
5658
6151
|
|
5659
|
-
#
|
5660
|
-
class
|
5661
|
-
# @param
|
5662
|
-
# @type
|
5663
|
-
# @param
|
5664
|
-
# @type
|
6152
|
+
# ModifyNotebook请求参数结构体
|
6153
|
+
class ModifyNotebookRequest < TencentCloud::Common::AbstractModel
|
6154
|
+
# @param Id: notebook id
|
6155
|
+
# @type Id: String
|
6156
|
+
# @param Name: 名称
|
6157
|
+
# @type Name: String
|
6158
|
+
# @param ChargeType: 计算资源付费模式 ,可选值为:
|
6159
|
+
# PREPAID:预付费,即包年包月
|
6160
|
+
# POSTPAID_BY_HOUR:按小时后付费
|
6161
|
+
# @type ChargeType: String
|
6162
|
+
# @param ResourceConf: 计算资源配置
|
6163
|
+
# @type ResourceConf: :class:`Tencentcloud::Tione.v20211111.models.ResourceConf`
|
6164
|
+
# @param LogEnable: 是否上报日志
|
6165
|
+
# @type LogEnable: Boolean
|
6166
|
+
# @param AutoStopping: 是否自动停止
|
6167
|
+
# @type AutoStopping: Boolean
|
6168
|
+
# @param DirectInternetAccess: 是否访问公网
|
6169
|
+
# @type DirectInternetAccess: Boolean
|
6170
|
+
# @param RootAccess: 是否ROOT权限
|
6171
|
+
# @type RootAccess: Boolean
|
6172
|
+
# @param ResourceGroupId: 资源组ID(for预付费)
|
6173
|
+
# @type ResourceGroupId: String
|
6174
|
+
# @param VpcId: Vpc-Id
|
6175
|
+
# @type VpcId: String
|
6176
|
+
# @param SubnetId: 子网Id
|
6177
|
+
# @type SubnetId: String
|
6178
|
+
# @param VolumeSizeInGB: 存储卷大小,单位GB
|
6179
|
+
# @type VolumeSizeInGB: Integer
|
6180
|
+
# @param VolumeSourceType: 存储的类型。取值包含:
|
6181
|
+
# FREE: 预付费的免费存储
|
6182
|
+
# CLOUD_PREMIUM: 高性能云硬盘
|
6183
|
+
# CLOUD_SSD: SSD云硬盘
|
6184
|
+
# CFS: CFS存储,包含NFS和turbo
|
6185
|
+
# @type VolumeSourceType: String
|
6186
|
+
# @param VolumeSourceCFS: CFS存储的配置
|
6187
|
+
# @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
6188
|
+
# @param LogConfig: 日志配置
|
6189
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
6190
|
+
# @param LifecycleScriptId: 生命周期脚本的ID
|
6191
|
+
# @type LifecycleScriptId: String
|
6192
|
+
# @param DefaultCodeRepoId: 默认GIT存储库的ID
|
6193
|
+
# @type DefaultCodeRepoId: String
|
6194
|
+
# @param AdditionalCodeRepoIds: 其他GIT存储库的ID,最多3个
|
6195
|
+
# @type AdditionalCodeRepoIds: Array
|
6196
|
+
# @param AutomaticStopTime: 自动停止时间,单位小时
|
6197
|
+
# @type AutomaticStopTime: Integer
|
6198
|
+
# @param Tags: 标签配置
|
6199
|
+
# @type Tags: Array
|
6200
|
+
# @param DataConfigs: 数据配置
|
6201
|
+
# @type DataConfigs: Array
|
6202
|
+
# @param ImageInfo: 镜像信息
|
6203
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
6204
|
+
# @param ImageType: 镜像类型
|
6205
|
+
# @type ImageType: String
|
5665
6206
|
|
5666
|
-
attr_accessor :
|
6207
|
+
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :LogEnable, :AutoStopping, :DirectInternetAccess, :RootAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSizeInGB, :VolumeSourceType, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType
|
5667
6208
|
|
5668
|
-
def initialize(
|
5669
|
-
@
|
5670
|
-
@
|
6209
|
+
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, logenable=nil, autostopping=nil, directinternetaccess=nil, rootaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesizeingb=nil, volumesourcetype=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil)
|
6210
|
+
@Id = id
|
6211
|
+
@Name = name
|
6212
|
+
@ChargeType = chargetype
|
6213
|
+
@ResourceConf = resourceconf
|
6214
|
+
@LogEnable = logenable
|
6215
|
+
@AutoStopping = autostopping
|
6216
|
+
@DirectInternetAccess = directinternetaccess
|
6217
|
+
@RootAccess = rootaccess
|
6218
|
+
@ResourceGroupId = resourcegroupid
|
6219
|
+
@VpcId = vpcid
|
6220
|
+
@SubnetId = subnetid
|
6221
|
+
@VolumeSizeInGB = volumesizeingb
|
6222
|
+
@VolumeSourceType = volumesourcetype
|
6223
|
+
@VolumeSourceCFS = volumesourcecfs
|
6224
|
+
@LogConfig = logconfig
|
6225
|
+
@LifecycleScriptId = lifecyclescriptid
|
6226
|
+
@DefaultCodeRepoId = defaultcoderepoid
|
6227
|
+
@AdditionalCodeRepoIds = additionalcoderepoids
|
6228
|
+
@AutomaticStopTime = automaticstoptime
|
6229
|
+
@Tags = tags
|
6230
|
+
@DataConfigs = dataconfigs
|
6231
|
+
@ImageInfo = imageinfo
|
6232
|
+
@ImageType = imagetype
|
5671
6233
|
end
|
5672
6234
|
|
5673
6235
|
def deserialize(params)
|
5674
|
-
@
|
5675
|
-
|
5676
|
-
|
5677
|
-
|
5678
|
-
|
5679
|
-
|
5680
|
-
@Weights << weightentry_tmp
|
5681
|
-
end
|
6236
|
+
@Id = params['Id']
|
6237
|
+
@Name = params['Name']
|
6238
|
+
@ChargeType = params['ChargeType']
|
6239
|
+
unless params['ResourceConf'].nil?
|
6240
|
+
@ResourceConf = ResourceConf.new
|
6241
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
5682
6242
|
end
|
5683
|
-
|
5684
|
-
|
5685
|
-
|
5686
|
-
|
5687
|
-
|
5688
|
-
|
5689
|
-
|
5690
|
-
|
5691
|
-
|
5692
|
-
|
6243
|
+
@LogEnable = params['LogEnable']
|
6244
|
+
@AutoStopping = params['AutoStopping']
|
6245
|
+
@DirectInternetAccess = params['DirectInternetAccess']
|
6246
|
+
@RootAccess = params['RootAccess']
|
6247
|
+
@ResourceGroupId = params['ResourceGroupId']
|
6248
|
+
@VpcId = params['VpcId']
|
6249
|
+
@SubnetId = params['SubnetId']
|
6250
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
6251
|
+
@VolumeSourceType = params['VolumeSourceType']
|
6252
|
+
unless params['VolumeSourceCFS'].nil?
|
6253
|
+
@VolumeSourceCFS = CFSConfig.new
|
6254
|
+
@VolumeSourceCFS.deserialize(params['VolumeSourceCFS'])
|
6255
|
+
end
|
6256
|
+
unless params['LogConfig'].nil?
|
6257
|
+
@LogConfig = LogConfig.new
|
6258
|
+
@LogConfig.deserialize(params['LogConfig'])
|
6259
|
+
end
|
6260
|
+
@LifecycleScriptId = params['LifecycleScriptId']
|
6261
|
+
@DefaultCodeRepoId = params['DefaultCodeRepoId']
|
6262
|
+
@AdditionalCodeRepoIds = params['AdditionalCodeRepoIds']
|
6263
|
+
@AutomaticStopTime = params['AutomaticStopTime']
|
6264
|
+
unless params['Tags'].nil?
|
6265
|
+
@Tags = []
|
6266
|
+
params['Tags'].each do |i|
|
6267
|
+
tag_tmp = Tag.new
|
6268
|
+
tag_tmp.deserialize(i)
|
6269
|
+
@Tags << tag_tmp
|
6270
|
+
end
|
6271
|
+
end
|
6272
|
+
unless params['DataConfigs'].nil?
|
6273
|
+
@DataConfigs = []
|
6274
|
+
params['DataConfigs'].each do |i|
|
6275
|
+
dataconfig_tmp = DataConfig.new
|
6276
|
+
dataconfig_tmp.deserialize(i)
|
6277
|
+
@DataConfigs << dataconfig_tmp
|
6278
|
+
end
|
6279
|
+
end
|
6280
|
+
unless params['ImageInfo'].nil?
|
6281
|
+
@ImageInfo = ImageInfo.new
|
6282
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
6283
|
+
end
|
6284
|
+
@ImageType = params['ImageType']
|
6285
|
+
end
|
6286
|
+
end
|
6287
|
+
|
6288
|
+
# ModifyNotebook返回参数结构体
|
6289
|
+
class ModifyNotebookResponse < TencentCloud::Common::AbstractModel
|
6290
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6291
|
+
# @type RequestId: String
|
6292
|
+
|
6293
|
+
attr_accessor :RequestId
|
6294
|
+
|
6295
|
+
def initialize(requestid=nil)
|
6296
|
+
@RequestId = requestid
|
6297
|
+
end
|
6298
|
+
|
6299
|
+
def deserialize(params)
|
6300
|
+
@RequestId = params['RequestId']
|
6301
|
+
end
|
6302
|
+
end
|
6303
|
+
|
6304
|
+
# ModifyNotebookTags请求参数结构体
|
6305
|
+
class ModifyNotebookTagsRequest < TencentCloud::Common::AbstractModel
|
6306
|
+
# @param Id: Notebook Id
|
6307
|
+
# @type Id: String
|
6308
|
+
# @param Tags: Notebook修改标签集合
|
6309
|
+
# @type Tags: Array
|
6310
|
+
|
6311
|
+
attr_accessor :Id, :Tags
|
6312
|
+
|
6313
|
+
def initialize(id=nil, tags=nil)
|
6314
|
+
@Id = id
|
6315
|
+
@Tags = tags
|
6316
|
+
end
|
6317
|
+
|
6318
|
+
def deserialize(params)
|
6319
|
+
@Id = params['Id']
|
6320
|
+
unless params['Tags'].nil?
|
6321
|
+
@Tags = []
|
6322
|
+
params['Tags'].each do |i|
|
6323
|
+
tag_tmp = Tag.new
|
6324
|
+
tag_tmp.deserialize(i)
|
6325
|
+
@Tags << tag_tmp
|
6326
|
+
end
|
6327
|
+
end
|
6328
|
+
end
|
6329
|
+
end
|
6330
|
+
|
6331
|
+
# ModifyNotebookTags返回参数结构体
|
6332
|
+
class ModifyNotebookTagsResponse < TencentCloud::Common::AbstractModel
|
6333
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6334
|
+
# @type RequestId: String
|
6335
|
+
|
6336
|
+
attr_accessor :RequestId
|
6337
|
+
|
6338
|
+
def initialize(requestid=nil)
|
6339
|
+
@RequestId = requestid
|
6340
|
+
end
|
6341
|
+
|
6342
|
+
def deserialize(params)
|
6343
|
+
@RequestId = params['RequestId']
|
6344
|
+
end
|
6345
|
+
end
|
6346
|
+
|
6347
|
+
# ModifyServiceGroupWeights请求参数结构体
|
6348
|
+
class ModifyServiceGroupWeightsRequest < TencentCloud::Common::AbstractModel
|
6349
|
+
# @param ServiceGroupId: 服务组id
|
6350
|
+
# @type ServiceGroupId: String
|
6351
|
+
# @param Weights: 权重设置
|
6352
|
+
# @type Weights: Array
|
6353
|
+
|
6354
|
+
attr_accessor :ServiceGroupId, :Weights
|
6355
|
+
|
6356
|
+
def initialize(servicegroupid=nil, weights=nil)
|
6357
|
+
@ServiceGroupId = servicegroupid
|
6358
|
+
@Weights = weights
|
6359
|
+
end
|
6360
|
+
|
6361
|
+
def deserialize(params)
|
6362
|
+
@ServiceGroupId = params['ServiceGroupId']
|
6363
|
+
unless params['Weights'].nil?
|
6364
|
+
@Weights = []
|
6365
|
+
params['Weights'].each do |i|
|
6366
|
+
weightentry_tmp = WeightEntry.new
|
6367
|
+
weightentry_tmp.deserialize(i)
|
6368
|
+
@Weights << weightentry_tmp
|
6369
|
+
end
|
6370
|
+
end
|
6371
|
+
end
|
6372
|
+
end
|
6373
|
+
|
6374
|
+
# ModifyServiceGroupWeights返回参数结构体
|
6375
|
+
class ModifyServiceGroupWeightsResponse < TencentCloud::Common::AbstractModel
|
6376
|
+
# @param ServiceGroup: 更新权重后的服务组信息
|
6377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6378
|
+
# @type ServiceGroup: :class:`Tencentcloud::Tione.v20211111.models.ServiceGroup`
|
6379
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6380
|
+
# @type RequestId: String
|
5693
6381
|
|
5694
6382
|
attr_accessor :ServiceGroup, :RequestId
|
5695
6383
|
|
@@ -5707,6 +6395,414 @@ module TencentCloud
|
|
5707
6395
|
end
|
5708
6396
|
end
|
5709
6397
|
|
6398
|
+
# 类型NotebookDetail
|
6399
|
+
class NotebookDetail < TencentCloud::Common::AbstractModel
|
6400
|
+
# @param Id: notebook ID
|
6401
|
+
# @type Id: String
|
6402
|
+
# @param Name: notebook 名称
|
6403
|
+
# @type Name: String
|
6404
|
+
# @param LifecycleScriptId: 生命周期脚本
|
6405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6406
|
+
# @type LifecycleScriptId: String
|
6407
|
+
# @param PodName: Pod-Name
|
6408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6409
|
+
# @type PodName: String
|
6410
|
+
# @param UpdateTime: Update-Time
|
6411
|
+
# @type UpdateTime: String
|
6412
|
+
# @param DirectInternetAccess: 是否访问公网
|
6413
|
+
# @type DirectInternetAccess: Boolean
|
6414
|
+
# @param ResourceGroupId: 预付费专用资源组
|
6415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6416
|
+
# @type ResourceGroupId: String
|
6417
|
+
# @param Tags: 标签配置
|
6418
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6419
|
+
# @type Tags: Array
|
6420
|
+
# @param AutoStopping: 是否自动停止
|
6421
|
+
# @type AutoStopping: Boolean
|
6422
|
+
# @param AdditionalCodeRepoIds: 其他GIT存储库,最多3个,单个
|
6423
|
+
# 长度不超过512字符
|
6424
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6425
|
+
# @type AdditionalCodeRepoIds: Array
|
6426
|
+
# @param AutomaticStopTime: 自动停止时间,单位小时
|
6427
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6428
|
+
# @type AutomaticStopTime: Integer
|
6429
|
+
# @param ResourceConf: 资源配置
|
6430
|
+
# @type ResourceConf: :class:`Tencentcloud::Tione.v20211111.models.ResourceConf`
|
6431
|
+
# @param DefaultCodeRepoId: 默认GIT存储库,长度不超过512字符
|
6432
|
+
# @type DefaultCodeRepoId: String
|
6433
|
+
# @param EndTime: 训练输出
|
6434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6435
|
+
# @type EndTime: String
|
6436
|
+
# @param LogEnable: 是否上报日志
|
6437
|
+
# @type LogEnable: Boolean
|
6438
|
+
# @param LogConfig: 日志配置
|
6439
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6440
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
6441
|
+
# @param VpcId: VPC ID
|
6442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6443
|
+
# @type VpcId: String
|
6444
|
+
# @param SubnetId: 子网ID
|
6445
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6446
|
+
# @type SubnetId: String
|
6447
|
+
# @param Status: 任务状态
|
6448
|
+
# @type Status: String
|
6449
|
+
# @param RuntimeInSeconds: 运行时长
|
6450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6451
|
+
# @type RuntimeInSeconds: Integer
|
6452
|
+
# @param CreateTime: 创建时间
|
6453
|
+
# @type CreateTime: String
|
6454
|
+
# @param StartTime: 训练开始时间
|
6455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6456
|
+
# @type StartTime: String
|
6457
|
+
# @param ChargeStatus: 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中
|
6458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6459
|
+
# @type ChargeStatus: String
|
6460
|
+
# @param RootAccess: 是否ROOT权限
|
6461
|
+
# @type RootAccess: Boolean
|
6462
|
+
# @param BillingInfos: 计贺金额信息,eg:2.00元/小时
|
6463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6464
|
+
# @type BillingInfos: Array
|
6465
|
+
# @param VolumeSizeInGB: 存储卷大小 (单位时GB,最小10GB,必须是10G的倍数)
|
6466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6467
|
+
# @type VolumeSizeInGB: Integer
|
6468
|
+
# @param FailureReason: 失败原因
|
6469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6470
|
+
# @type FailureReason: String
|
6471
|
+
# @param ChargeType: 计算资源付费模式 (- PREPAID:预付费,即包年包月 - POSTPAID_BY_HOUR:按小时后付费)
|
6472
|
+
# @type ChargeType: String
|
6473
|
+
# @param InstanceTypeAlias: 后付费资源规格说明
|
6474
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6475
|
+
# @type InstanceTypeAlias: String
|
6476
|
+
# @param ResourceGroupName: 预付费资源组名称
|
6477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6478
|
+
# @type ResourceGroupName: String
|
6479
|
+
# @param VolumeSourceType: 存储的类型。取值包含:
|
6480
|
+
# FREE: 预付费的免费存储
|
6481
|
+
# CLOUD_PREMIUM: 高性能云硬盘
|
6482
|
+
# CLOUD_SSD: SSD云硬盘
|
6483
|
+
# CFS: CFS存储,包含NFS和turbo
|
6484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6485
|
+
# @type VolumeSourceType: String
|
6486
|
+
# @param VolumeSourceCFS: CFS存储的配置
|
6487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6488
|
+
# @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
6489
|
+
# @param DataConfigs: 数据配置
|
6490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6491
|
+
# @type DataConfigs: Array
|
6492
|
+
# @param Message: notebook 信息
|
6493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6494
|
+
# @type Message: String
|
6495
|
+
# @param DataSource: 数据源来源,eg:WeData_HDFS
|
6496
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6497
|
+
# @type DataSource: String
|
6498
|
+
# @param ImageInfo: 镜像信息
|
6499
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
6500
|
+
# @param ImageType: 镜像类型
|
6501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6502
|
+
# @type ImageType: String
|
6503
|
+
|
6504
|
+
attr_accessor :Id, :Name, :LifecycleScriptId, :PodName, :UpdateTime, :DirectInternetAccess, :ResourceGroupId, :Tags, :AutoStopping, :AdditionalCodeRepoIds, :AutomaticStopTime, :ResourceConf, :DefaultCodeRepoId, :EndTime, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :RootAccess, :BillingInfos, :VolumeSizeInGB, :FailureReason, :ChargeType, :InstanceTypeAlias, :ResourceGroupName, :VolumeSourceType, :VolumeSourceCFS, :DataConfigs, :Message, :DataSource, :ImageInfo, :ImageType
|
6505
|
+
|
6506
|
+
def initialize(id=nil, name=nil, lifecyclescriptid=nil, podname=nil, updatetime=nil, directinternetaccess=nil, resourcegroupid=nil, tags=nil, autostopping=nil, additionalcoderepoids=nil, automaticstoptime=nil, resourceconf=nil, defaultcoderepoid=nil, endtime=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, rootaccess=nil, billinginfos=nil, volumesizeingb=nil, failurereason=nil, chargetype=nil, instancetypealias=nil, resourcegroupname=nil, volumesourcetype=nil, volumesourcecfs=nil, dataconfigs=nil, message=nil, datasource=nil, imageinfo=nil, imagetype=nil)
|
6507
|
+
@Id = id
|
6508
|
+
@Name = name
|
6509
|
+
@LifecycleScriptId = lifecyclescriptid
|
6510
|
+
@PodName = podname
|
6511
|
+
@UpdateTime = updatetime
|
6512
|
+
@DirectInternetAccess = directinternetaccess
|
6513
|
+
@ResourceGroupId = resourcegroupid
|
6514
|
+
@Tags = tags
|
6515
|
+
@AutoStopping = autostopping
|
6516
|
+
@AdditionalCodeRepoIds = additionalcoderepoids
|
6517
|
+
@AutomaticStopTime = automaticstoptime
|
6518
|
+
@ResourceConf = resourceconf
|
6519
|
+
@DefaultCodeRepoId = defaultcoderepoid
|
6520
|
+
@EndTime = endtime
|
6521
|
+
@LogEnable = logenable
|
6522
|
+
@LogConfig = logconfig
|
6523
|
+
@VpcId = vpcid
|
6524
|
+
@SubnetId = subnetid
|
6525
|
+
@Status = status
|
6526
|
+
@RuntimeInSeconds = runtimeinseconds
|
6527
|
+
@CreateTime = createtime
|
6528
|
+
@StartTime = starttime
|
6529
|
+
@ChargeStatus = chargestatus
|
6530
|
+
@RootAccess = rootaccess
|
6531
|
+
@BillingInfos = billinginfos
|
6532
|
+
@VolumeSizeInGB = volumesizeingb
|
6533
|
+
@FailureReason = failurereason
|
6534
|
+
@ChargeType = chargetype
|
6535
|
+
@InstanceTypeAlias = instancetypealias
|
6536
|
+
@ResourceGroupName = resourcegroupname
|
6537
|
+
@VolumeSourceType = volumesourcetype
|
6538
|
+
@VolumeSourceCFS = volumesourcecfs
|
6539
|
+
@DataConfigs = dataconfigs
|
6540
|
+
@Message = message
|
6541
|
+
@DataSource = datasource
|
6542
|
+
@ImageInfo = imageinfo
|
6543
|
+
@ImageType = imagetype
|
6544
|
+
end
|
6545
|
+
|
6546
|
+
def deserialize(params)
|
6547
|
+
@Id = params['Id']
|
6548
|
+
@Name = params['Name']
|
6549
|
+
@LifecycleScriptId = params['LifecycleScriptId']
|
6550
|
+
@PodName = params['PodName']
|
6551
|
+
@UpdateTime = params['UpdateTime']
|
6552
|
+
@DirectInternetAccess = params['DirectInternetAccess']
|
6553
|
+
@ResourceGroupId = params['ResourceGroupId']
|
6554
|
+
unless params['Tags'].nil?
|
6555
|
+
@Tags = []
|
6556
|
+
params['Tags'].each do |i|
|
6557
|
+
tag_tmp = Tag.new
|
6558
|
+
tag_tmp.deserialize(i)
|
6559
|
+
@Tags << tag_tmp
|
6560
|
+
end
|
6561
|
+
end
|
6562
|
+
@AutoStopping = params['AutoStopping']
|
6563
|
+
@AdditionalCodeRepoIds = params['AdditionalCodeRepoIds']
|
6564
|
+
@AutomaticStopTime = params['AutomaticStopTime']
|
6565
|
+
unless params['ResourceConf'].nil?
|
6566
|
+
@ResourceConf = ResourceConf.new
|
6567
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
6568
|
+
end
|
6569
|
+
@DefaultCodeRepoId = params['DefaultCodeRepoId']
|
6570
|
+
@EndTime = params['EndTime']
|
6571
|
+
@LogEnable = params['LogEnable']
|
6572
|
+
unless params['LogConfig'].nil?
|
6573
|
+
@LogConfig = LogConfig.new
|
6574
|
+
@LogConfig.deserialize(params['LogConfig'])
|
6575
|
+
end
|
6576
|
+
@VpcId = params['VpcId']
|
6577
|
+
@SubnetId = params['SubnetId']
|
6578
|
+
@Status = params['Status']
|
6579
|
+
@RuntimeInSeconds = params['RuntimeInSeconds']
|
6580
|
+
@CreateTime = params['CreateTime']
|
6581
|
+
@StartTime = params['StartTime']
|
6582
|
+
@ChargeStatus = params['ChargeStatus']
|
6583
|
+
@RootAccess = params['RootAccess']
|
6584
|
+
@BillingInfos = params['BillingInfos']
|
6585
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
6586
|
+
@FailureReason = params['FailureReason']
|
6587
|
+
@ChargeType = params['ChargeType']
|
6588
|
+
@InstanceTypeAlias = params['InstanceTypeAlias']
|
6589
|
+
@ResourceGroupName = params['ResourceGroupName']
|
6590
|
+
@VolumeSourceType = params['VolumeSourceType']
|
6591
|
+
unless params['VolumeSourceCFS'].nil?
|
6592
|
+
@VolumeSourceCFS = CFSConfig.new
|
6593
|
+
@VolumeSourceCFS.deserialize(params['VolumeSourceCFS'])
|
6594
|
+
end
|
6595
|
+
unless params['DataConfigs'].nil?
|
6596
|
+
@DataConfigs = []
|
6597
|
+
params['DataConfigs'].each do |i|
|
6598
|
+
dataconfig_tmp = DataConfig.new
|
6599
|
+
dataconfig_tmp.deserialize(i)
|
6600
|
+
@DataConfigs << dataconfig_tmp
|
6601
|
+
end
|
6602
|
+
end
|
6603
|
+
@Message = params['Message']
|
6604
|
+
@DataSource = params['DataSource']
|
6605
|
+
unless params['ImageInfo'].nil?
|
6606
|
+
@ImageInfo = ImageInfo.new
|
6607
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
6608
|
+
end
|
6609
|
+
@ImageType = params['ImageType']
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6613
|
+
# 镜像保存记录
|
6614
|
+
class NotebookImageRecord < TencentCloud::Common::AbstractModel
|
6615
|
+
# @param RecordId: 保存记录ID
|
6616
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6617
|
+
# @type RecordId: String
|
6618
|
+
# @param ImageUrl: 镜像地址
|
6619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6620
|
+
# @type ImageUrl: String
|
6621
|
+
# @param Status: 状态
|
6622
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6623
|
+
# @type Status: String
|
6624
|
+
# @param CreateTime: 创建时间
|
6625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6626
|
+
# @type CreateTime: String
|
6627
|
+
# @param Message: 状态信息
|
6628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6629
|
+
# @type Message: String
|
6630
|
+
# @param InstanceId: 实例ID
|
6631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6632
|
+
# @type InstanceId: String
|
6633
|
+
# @param Kernels: kernel数组
|
6634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6635
|
+
# @type Kernels: Array
|
6636
|
+
|
6637
|
+
attr_accessor :RecordId, :ImageUrl, :Status, :CreateTime, :Message, :InstanceId, :Kernels
|
6638
|
+
|
6639
|
+
def initialize(recordid=nil, imageurl=nil, status=nil, createtime=nil, message=nil, instanceid=nil, kernels=nil)
|
6640
|
+
@RecordId = recordid
|
6641
|
+
@ImageUrl = imageurl
|
6642
|
+
@Status = status
|
6643
|
+
@CreateTime = createtime
|
6644
|
+
@Message = message
|
6645
|
+
@InstanceId = instanceid
|
6646
|
+
@Kernels = kernels
|
6647
|
+
end
|
6648
|
+
|
6649
|
+
def deserialize(params)
|
6650
|
+
@RecordId = params['RecordId']
|
6651
|
+
@ImageUrl = params['ImageUrl']
|
6652
|
+
@Status = params['Status']
|
6653
|
+
@CreateTime = params['CreateTime']
|
6654
|
+
@Message = params['Message']
|
6655
|
+
@InstanceId = params['InstanceId']
|
6656
|
+
@Kernels = params['Kernels']
|
6657
|
+
end
|
6658
|
+
end
|
6659
|
+
|
6660
|
+
# Notebook列表元素
|
6661
|
+
class NotebookSetItem < TencentCloud::Common::AbstractModel
|
6662
|
+
# @param Id: notebook ID
|
6663
|
+
# @type Id: String
|
6664
|
+
# @param Name: notebook 名称
|
6665
|
+
# @type Name: String
|
6666
|
+
# @param ChargeType: 计费模式
|
6667
|
+
# @type ChargeType: String
|
6668
|
+
# @param ResourceConf: 资源配置
|
6669
|
+
# @type ResourceConf: :class:`Tencentcloud::Tione.v20211111.models.ResourceConf`
|
6670
|
+
# @param ResourceGroupId: 预付费资源组
|
6671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6672
|
+
# @type ResourceGroupId: String
|
6673
|
+
# @param VolumeSizeInGB: 存储卷大小
|
6674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6675
|
+
# @type VolumeSizeInGB: Integer
|
6676
|
+
# @param BillingInfos: 计费金额信息,eg:2.00元/小时 (for后付费)
|
6677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6678
|
+
# @type BillingInfos: Array
|
6679
|
+
# @param Tags: 标签配置
|
6680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6681
|
+
# @type Tags: Array
|
6682
|
+
# @param CreateTime: 创建时间
|
6683
|
+
# @type CreateTime: String
|
6684
|
+
# @param StartTime: 启动时间
|
6685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6686
|
+
# @type StartTime: String
|
6687
|
+
# @param UpdateTime: 更新时间
|
6688
|
+
# @type UpdateTime: String
|
6689
|
+
# @param RuntimeInSeconds: 运行时间
|
6690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6691
|
+
# @type RuntimeInSeconds: Integer
|
6692
|
+
# @param ChargeStatus: 计费状态
|
6693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6694
|
+
# @type ChargeStatus: String
|
6695
|
+
# @param Status: 状态
|
6696
|
+
# @type Status: String
|
6697
|
+
# @param FailureReason: 错误原因
|
6698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6699
|
+
# @type FailureReason: String
|
6700
|
+
# @param EndTime: 结束时间
|
6701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6702
|
+
# @type EndTime: String
|
6703
|
+
# @param PodName: Pod名称
|
6704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6705
|
+
# @type PodName: String
|
6706
|
+
# @param InstanceTypeAlias: 后付费资源规格名称
|
6707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6708
|
+
# @type InstanceTypeAlias: String
|
6709
|
+
# @param ResourceGroupName: 预付费资源组名称
|
6710
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6711
|
+
# @type ResourceGroupName: String
|
6712
|
+
# @param AutoStopping: 是否自动终止
|
6713
|
+
# @type AutoStopping: Boolean
|
6714
|
+
# @param AutomaticStopTime: 自动停止时间
|
6715
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6716
|
+
# @type AutomaticStopTime: Integer
|
6717
|
+
# @param VolumeSourceType: 存储的类型。取值包含:
|
6718
|
+
# FREE: 预付费的免费存储
|
6719
|
+
# CLOUD_PREMIUM: 高性能云硬盘
|
6720
|
+
# CLOUD_SSD: SSD云硬盘
|
6721
|
+
# CFS: CFS存储,包含NFS和turbo
|
6722
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6723
|
+
# @type VolumeSourceType: String
|
6724
|
+
# @param VolumeSourceCFS: CFS存储的配置
|
6725
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6726
|
+
# @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
6727
|
+
# @param Message: notebook 信息
|
6728
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6729
|
+
# @type Message: String
|
6730
|
+
# @param UserTypes: notebook用户类型
|
6731
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6732
|
+
# @type UserTypes: Array
|
6733
|
+
|
6734
|
+
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :ResourceGroupId, :VolumeSizeInGB, :BillingInfos, :Tags, :CreateTime, :StartTime, :UpdateTime, :RuntimeInSeconds, :ChargeStatus, :Status, :FailureReason, :EndTime, :PodName, :InstanceTypeAlias, :ResourceGroupName, :AutoStopping, :AutomaticStopTime, :VolumeSourceType, :VolumeSourceCFS, :Message, :UserTypes
|
6735
|
+
|
6736
|
+
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, resourcegroupid=nil, volumesizeingb=nil, billinginfos=nil, tags=nil, createtime=nil, starttime=nil, updatetime=nil, runtimeinseconds=nil, chargestatus=nil, status=nil, failurereason=nil, endtime=nil, podname=nil, instancetypealias=nil, resourcegroupname=nil, autostopping=nil, automaticstoptime=nil, volumesourcetype=nil, volumesourcecfs=nil, message=nil, usertypes=nil)
|
6737
|
+
@Id = id
|
6738
|
+
@Name = name
|
6739
|
+
@ChargeType = chargetype
|
6740
|
+
@ResourceConf = resourceconf
|
6741
|
+
@ResourceGroupId = resourcegroupid
|
6742
|
+
@VolumeSizeInGB = volumesizeingb
|
6743
|
+
@BillingInfos = billinginfos
|
6744
|
+
@Tags = tags
|
6745
|
+
@CreateTime = createtime
|
6746
|
+
@StartTime = starttime
|
6747
|
+
@UpdateTime = updatetime
|
6748
|
+
@RuntimeInSeconds = runtimeinseconds
|
6749
|
+
@ChargeStatus = chargestatus
|
6750
|
+
@Status = status
|
6751
|
+
@FailureReason = failurereason
|
6752
|
+
@EndTime = endtime
|
6753
|
+
@PodName = podname
|
6754
|
+
@InstanceTypeAlias = instancetypealias
|
6755
|
+
@ResourceGroupName = resourcegroupname
|
6756
|
+
@AutoStopping = autostopping
|
6757
|
+
@AutomaticStopTime = automaticstoptime
|
6758
|
+
@VolumeSourceType = volumesourcetype
|
6759
|
+
@VolumeSourceCFS = volumesourcecfs
|
6760
|
+
@Message = message
|
6761
|
+
@UserTypes = usertypes
|
6762
|
+
end
|
6763
|
+
|
6764
|
+
def deserialize(params)
|
6765
|
+
@Id = params['Id']
|
6766
|
+
@Name = params['Name']
|
6767
|
+
@ChargeType = params['ChargeType']
|
6768
|
+
unless params['ResourceConf'].nil?
|
6769
|
+
@ResourceConf = ResourceConf.new
|
6770
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
6771
|
+
end
|
6772
|
+
@ResourceGroupId = params['ResourceGroupId']
|
6773
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
6774
|
+
@BillingInfos = params['BillingInfos']
|
6775
|
+
unless params['Tags'].nil?
|
6776
|
+
@Tags = []
|
6777
|
+
params['Tags'].each do |i|
|
6778
|
+
tag_tmp = Tag.new
|
6779
|
+
tag_tmp.deserialize(i)
|
6780
|
+
@Tags << tag_tmp
|
6781
|
+
end
|
6782
|
+
end
|
6783
|
+
@CreateTime = params['CreateTime']
|
6784
|
+
@StartTime = params['StartTime']
|
6785
|
+
@UpdateTime = params['UpdateTime']
|
6786
|
+
@RuntimeInSeconds = params['RuntimeInSeconds']
|
6787
|
+
@ChargeStatus = params['ChargeStatus']
|
6788
|
+
@Status = params['Status']
|
6789
|
+
@FailureReason = params['FailureReason']
|
6790
|
+
@EndTime = params['EndTime']
|
6791
|
+
@PodName = params['PodName']
|
6792
|
+
@InstanceTypeAlias = params['InstanceTypeAlias']
|
6793
|
+
@ResourceGroupName = params['ResourceGroupName']
|
6794
|
+
@AutoStopping = params['AutoStopping']
|
6795
|
+
@AutomaticStopTime = params['AutomaticStopTime']
|
6796
|
+
@VolumeSourceType = params['VolumeSourceType']
|
6797
|
+
unless params['VolumeSourceCFS'].nil?
|
6798
|
+
@VolumeSourceCFS = CFSConfig.new
|
6799
|
+
@VolumeSourceCFS.deserialize(params['VolumeSourceCFS'])
|
6800
|
+
end
|
6801
|
+
@Message = params['Message']
|
6802
|
+
@UserTypes = params['UserTypes']
|
6803
|
+
end
|
6804
|
+
end
|
6805
|
+
|
5710
6806
|
# OCR场景标签列表
|
5711
6807
|
class OcrLabelInfo < TencentCloud::Common::AbstractModel
|
5712
6808
|
# @param Points: 坐标点围起来的框
|
@@ -5948,6 +7044,59 @@ module TencentCloud
|
|
5948
7044
|
end
|
5949
7045
|
end
|
5950
7046
|
|
7047
|
+
# Notebook资源参数
|
7048
|
+
class ResourceConf < TencentCloud::Common::AbstractModel
|
7049
|
+
# @param Cpu: cpu 处理器资源, 单位为1/1000核 (for预付费)
|
7050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7051
|
+
# @type Cpu: Integer
|
7052
|
+
# @param Memory: memory 内存资源, 单位为1M (for预付费)
|
7053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7054
|
+
# @type Memory: Integer
|
7055
|
+
# @param Gpu: gpu Gpu卡资源,单位为1单位的GpuType,例如GpuType=T4时,1 Gpu = 1/100 T4卡,GpuType=vcuda时,1 Gpu = 1/100 vcuda-core (for预付费)
|
7056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7057
|
+
# @type Gpu: Integer
|
7058
|
+
# @param GpuType: GpuType 卡类型 vcuda, T4,P4,V100等 (for预付费)
|
7059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7060
|
+
# @type GpuType: String
|
7061
|
+
# @param InstanceType: 计算规格 (for后付费),可选值如下:
|
7062
|
+
# TI.S.LARGE.POST: 4C8G
|
7063
|
+
# TI.S.2XLARGE16.POST: 8C16G
|
7064
|
+
# TI.S.2XLARGE32.POST: 8C32G
|
7065
|
+
# TI.S.4XLARGE32.POST: 16C32G
|
7066
|
+
# TI.S.4XLARGE64.POST: 16C64G
|
7067
|
+
# TI.S.6XLARGE48.POST: 24C48G
|
7068
|
+
# TI.S.6XLARGE96.POST: 24C96G
|
7069
|
+
# TI.S.8XLARGE64.POST: 32C64G
|
7070
|
+
# TI.S.8XLARGE128.POST : 32C128G
|
7071
|
+
# TI.GN10.2XLARGE40.POST: 8C40G V100*1
|
7072
|
+
# TI.GN10.5XLARGE80.POST: 18C80G V100*2
|
7073
|
+
# TI.GN10.10XLARGE160.POST : 32C160G V100*4
|
7074
|
+
# TI.GN10.20XLARGE320.POST : 72C320G V100*8
|
7075
|
+
# TI.GN7.8XLARGE128.POST: 32C128G T4*1
|
7076
|
+
# TI.GN7.10XLARGE160.POST: 40C160G T4*2
|
7077
|
+
# TI.GN7.20XLARGE320.POST: 80C320G T4*4
|
7078
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7079
|
+
# @type InstanceType: String
|
7080
|
+
|
7081
|
+
attr_accessor :Cpu, :Memory, :Gpu, :GpuType, :InstanceType
|
7082
|
+
|
7083
|
+
def initialize(cpu=nil, memory=nil, gpu=nil, gputype=nil, instancetype=nil)
|
7084
|
+
@Cpu = cpu
|
7085
|
+
@Memory = memory
|
7086
|
+
@Gpu = gpu
|
7087
|
+
@GpuType = gputype
|
7088
|
+
@InstanceType = instancetype
|
7089
|
+
end
|
7090
|
+
|
7091
|
+
def deserialize(params)
|
7092
|
+
@Cpu = params['Cpu']
|
7093
|
+
@Memory = params['Memory']
|
7094
|
+
@Gpu = params['Gpu']
|
7095
|
+
@GpuType = params['GpuType']
|
7096
|
+
@InstanceType = params['InstanceType']
|
7097
|
+
end
|
7098
|
+
end
|
7099
|
+
|
5951
7100
|
# 资源配置
|
5952
7101
|
class ResourceConfigInfo < TencentCloud::Common::AbstractModel
|
5953
7102
|
# @param Role: 角色,eg:PS、WORKER、DRIVER、EXECUTOR
|
@@ -7112,6 +8261,38 @@ module TencentCloud
|
|
7112
8261
|
end
|
7113
8262
|
end
|
7114
8263
|
|
8264
|
+
# StartNotebook请求参数结构体
|
8265
|
+
class StartNotebookRequest < TencentCloud::Common::AbstractModel
|
8266
|
+
# @param Id: notebook id
|
8267
|
+
# @type Id: String
|
8268
|
+
|
8269
|
+
attr_accessor :Id
|
8270
|
+
|
8271
|
+
def initialize(id=nil)
|
8272
|
+
@Id = id
|
8273
|
+
end
|
8274
|
+
|
8275
|
+
def deserialize(params)
|
8276
|
+
@Id = params['Id']
|
8277
|
+
end
|
8278
|
+
end
|
8279
|
+
|
8280
|
+
# StartNotebook返回参数结构体
|
8281
|
+
class StartNotebookResponse < TencentCloud::Common::AbstractModel
|
8282
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8283
|
+
# @type RequestId: String
|
8284
|
+
|
8285
|
+
attr_accessor :RequestId
|
8286
|
+
|
8287
|
+
def initialize(requestid=nil)
|
8288
|
+
@RequestId = requestid
|
8289
|
+
end
|
8290
|
+
|
8291
|
+
def deserialize(params)
|
8292
|
+
@RequestId = params['RequestId']
|
8293
|
+
end
|
8294
|
+
end
|
8295
|
+
|
7115
8296
|
# StartTrainingTask请求参数结构体
|
7116
8297
|
class StartTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
7117
8298
|
# @param Id: 训练任务ID
|
@@ -7213,6 +8394,38 @@ module TencentCloud
|
|
7213
8394
|
end
|
7214
8395
|
end
|
7215
8396
|
|
8397
|
+
# StopCreatingImage请求参数结构体
|
8398
|
+
class StopCreatingImageRequest < TencentCloud::Common::AbstractModel
|
8399
|
+
# @param RecordId: 镜像保存记录ID
|
8400
|
+
# @type RecordId: String
|
8401
|
+
|
8402
|
+
attr_accessor :RecordId
|
8403
|
+
|
8404
|
+
def initialize(recordid=nil)
|
8405
|
+
@RecordId = recordid
|
8406
|
+
end
|
8407
|
+
|
8408
|
+
def deserialize(params)
|
8409
|
+
@RecordId = params['RecordId']
|
8410
|
+
end
|
8411
|
+
end
|
8412
|
+
|
8413
|
+
# StopCreatingImage返回参数结构体
|
8414
|
+
class StopCreatingImageResponse < TencentCloud::Common::AbstractModel
|
8415
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8416
|
+
# @type RequestId: String
|
8417
|
+
|
8418
|
+
attr_accessor :RequestId
|
8419
|
+
|
8420
|
+
def initialize(requestid=nil)
|
8421
|
+
@RequestId = requestid
|
8422
|
+
end
|
8423
|
+
|
8424
|
+
def deserialize(params)
|
8425
|
+
@RequestId = params['RequestId']
|
8426
|
+
end
|
8427
|
+
end
|
8428
|
+
|
7216
8429
|
# StopModelAccelerateTask请求参数结构体
|
7217
8430
|
class StopModelAccelerateTaskRequest < TencentCloud::Common::AbstractModel
|
7218
8431
|
# @param ModelAccTaskId: 模型加速任务ID
|
@@ -7255,6 +8468,38 @@ module TencentCloud
|
|
7255
8468
|
end
|
7256
8469
|
end
|
7257
8470
|
|
8471
|
+
# StopNotebook请求参数结构体
|
8472
|
+
class StopNotebookRequest < TencentCloud::Common::AbstractModel
|
8473
|
+
# @param Id: notebook id
|
8474
|
+
# @type Id: String
|
8475
|
+
|
8476
|
+
attr_accessor :Id
|
8477
|
+
|
8478
|
+
def initialize(id=nil)
|
8479
|
+
@Id = id
|
8480
|
+
end
|
8481
|
+
|
8482
|
+
def deserialize(params)
|
8483
|
+
@Id = params['Id']
|
8484
|
+
end
|
8485
|
+
end
|
8486
|
+
|
8487
|
+
# StopNotebook返回参数结构体
|
8488
|
+
class StopNotebookResponse < TencentCloud::Common::AbstractModel
|
8489
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8490
|
+
# @type RequestId: String
|
8491
|
+
|
8492
|
+
attr_accessor :RequestId
|
8493
|
+
|
8494
|
+
def initialize(requestid=nil)
|
8495
|
+
@RequestId = requestid
|
8496
|
+
end
|
8497
|
+
|
8498
|
+
def deserialize(params)
|
8499
|
+
@RequestId = params['RequestId']
|
8500
|
+
end
|
8501
|
+
end
|
8502
|
+
|
7258
8503
|
# StopTrainingTask请求参数结构体
|
7259
8504
|
class StopTrainingTaskRequest < TencentCloud::Common::AbstractModel
|
7260
8505
|
# @param Id: 训练任务ID
|