tencentcloud-sdk-tione 3.0.623 → 3.0.624

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: beda8da3624415c32db136bef1a55fc2187749c4
4
- data.tar.gz: 3fb6af7bc0bc396eba8ff4e256dcdc8bf5a3ed17
3
+ metadata.gz: 7edba5a1b84d47391a0d547bc0ae8b5edd83b2b6
4
+ data.tar.gz: d3d52dbc050da02bef66f12dc503f8e8a4f1da6c
5
5
  SHA512:
6
- metadata.gz: f4e94b9c2c88a180f0792b03dc9fcd55ffab22039df76e012e4e2fa1e7765d4964d99f79ea26641e576e7f9d6ed8ce3c52ecc38281f8df444354db1a5d215867
7
- data.tar.gz: 18ee09ccae247a6a30d06a44cc285be927530fda414b551fc9a85b1c428190043ecdb9e51edaf84ce140fa477601775f61b0839c2d4bde2d7f4fcb78c9495770
6
+ metadata.gz: 663a8f5846984a0608f452e7793d83adeee4be1d23a00d0510d11c01bc7243170d5b6b4c1602f16735a5f226cf128eea17736d8808a88be0b4c905a686ae5f5c
7
+ data.tar.gz: eb3e746e70c8e131bb0c9d67be9e4df1124c9267e75bdaefbfee0b23b7b6423b419f57e7566e24855d657e1c7ab827dbcb547c068752efee90eba08b1500761f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.623
1
+ 3.0.624
@@ -125,6 +125,54 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建Notebook
129
+
130
+ # @param request: Request instance for CreateNotebook.
131
+ # @type request: :class:`Tencentcloud::tione::V20211111::CreateNotebookRequest`
132
+ # @rtype: :class:`Tencentcloud::tione::V20211111::CreateNotebookResponse`
133
+ def CreateNotebook(request)
134
+ body = send_request('CreateNotebook', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateNotebookResponse.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
+
152
+ # 保存镜像
153
+
154
+ # @param request: Request instance for CreateNotebookImage.
155
+ # @type request: :class:`Tencentcloud::tione::V20211111::CreateNotebookImageRequest`
156
+ # @rtype: :class:`Tencentcloud::tione::V20211111::CreateNotebookImageResponse`
157
+ def CreateNotebookImage(request)
158
+ body = send_request('CreateNotebookImage', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateNotebookImageResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
128
176
  # 保存优化模型
129
177
 
130
178
  # @param request: Request instance for CreateOptimizedModel.
@@ -317,6 +365,54 @@ module TencentCloud
317
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
366
  end
319
367
 
368
+ # 删除Notebook
369
+
370
+ # @param request: Request instance for DeleteNotebook.
371
+ # @type request: :class:`Tencentcloud::tione::V20211111::DeleteNotebookRequest`
372
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DeleteNotebookResponse`
373
+ def DeleteNotebook(request)
374
+ body = send_request('DeleteNotebook', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeleteNotebookResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
392
+ # 删除notebook镜像保存记录
393
+
394
+ # @param request: Request instance for DeleteNotebookImageRecord.
395
+ # @type request: :class:`Tencentcloud::tione::V20211111::DeleteNotebookImageRecordRequest`
396
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DeleteNotebookImageRecordResponse`
397
+ def DeleteNotebookImageRecord(request)
398
+ body = send_request('DeleteNotebookImageRecord', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DeleteNotebookImageRecordResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
320
416
  # 删除模型
321
417
 
322
418
  # @param request: Request instance for DeleteTrainingModel.
@@ -941,6 +1037,102 @@ module TencentCloud
941
1037
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
1038
  end
943
1039
 
1040
+ # Notebook详情
1041
+
1042
+ # @param request: Request instance for DescribeNotebook.
1043
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeNotebookRequest`
1044
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeNotebookResponse`
1045
+ def DescribeNotebook(request)
1046
+ body = send_request('DescribeNotebook', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeNotebookResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
1064
+ # 查询镜像kernel
1065
+
1066
+ # @param request: Request instance for DescribeNotebookImageKernels.
1067
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeNotebookImageKernelsRequest`
1068
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeNotebookImageKernelsResponse`
1069
+ def DescribeNotebookImageKernels(request)
1070
+ body = send_request('DescribeNotebookImageKernels', request.serialize)
1071
+ response = JSON.parse(body)
1072
+ if response['Response'].key?('Error') == false
1073
+ model = DescribeNotebookImageKernelsResponse.new
1074
+ model.deserialize(response['Response'])
1075
+ model
1076
+ else
1077
+ code = response['Response']['Error']['Code']
1078
+ message = response['Response']['Error']['Message']
1079
+ reqid = response['Response']['RequestId']
1080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1081
+ end
1082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1083
+ raise e
1084
+ rescue StandardError => e
1085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1086
+ end
1087
+
1088
+ # 查看notebook镜像保存记录
1089
+
1090
+ # @param request: Request instance for DescribeNotebookImageRecords.
1091
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeNotebookImageRecordsRequest`
1092
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeNotebookImageRecordsResponse`
1093
+ def DescribeNotebookImageRecords(request)
1094
+ body = send_request('DescribeNotebookImageRecords', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeNotebookImageRecordsResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1112
+ # Notebook列表
1113
+
1114
+ # @param request: Request instance for DescribeNotebooks.
1115
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeNotebooksRequest`
1116
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeNotebooksResponse`
1117
+ def DescribeNotebooks(request)
1118
+ body = send_request('DescribeNotebooks', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = DescribeNotebooksResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
944
1136
  # 训练框架列表
945
1137
 
946
1138
  # @param request: Request instance for DescribeTrainingFrameworks.
@@ -1181,6 +1373,54 @@ module TencentCloud
1181
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
1374
  end
1183
1375
 
1376
+ # 修改Notebook
1377
+
1378
+ # @param request: Request instance for ModifyNotebook.
1379
+ # @type request: :class:`Tencentcloud::tione::V20211111::ModifyNotebookRequest`
1380
+ # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyNotebookResponse`
1381
+ def ModifyNotebook(request)
1382
+ body = send_request('ModifyNotebook', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = ModifyNotebookResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1400
+ # 修改Notebook标签
1401
+
1402
+ # @param request: Request instance for ModifyNotebookTags.
1403
+ # @type request: :class:`Tencentcloud::tione::V20211111::ModifyNotebookTagsRequest`
1404
+ # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyNotebookTagsResponse`
1405
+ def ModifyNotebookTags(request)
1406
+ body = send_request('ModifyNotebookTags', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = ModifyNotebookTagsResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1184
1424
  # 更新推理服务组流量分配
1185
1425
 
1186
1426
  # @param request: Request instance for ModifyServiceGroupWeights.
@@ -1253,6 +1493,30 @@ module TencentCloud
1253
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
1494
  end
1255
1495
 
1496
+ # 启动Notebook
1497
+
1498
+ # @param request: Request instance for StartNotebook.
1499
+ # @type request: :class:`Tencentcloud::tione::V20211111::StartNotebookRequest`
1500
+ # @rtype: :class:`Tencentcloud::tione::V20211111::StartNotebookResponse`
1501
+ def StartNotebook(request)
1502
+ body = send_request('StartNotebook', request.serialize)
1503
+ response = JSON.parse(body)
1504
+ if response['Response'].key?('Error') == false
1505
+ model = StartNotebookResponse.new
1506
+ model.deserialize(response['Response'])
1507
+ model
1508
+ else
1509
+ code = response['Response']['Error']['Code']
1510
+ message = response['Response']['Error']['Message']
1511
+ reqid = response['Response']['RequestId']
1512
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1513
+ end
1514
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1515
+ raise e
1516
+ rescue StandardError => e
1517
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1518
+ end
1519
+
1256
1520
  # 启动模型训练任务
1257
1521
 
1258
1522
  # @param request: Request instance for StartTrainingTask.
@@ -1301,6 +1565,30 @@ module TencentCloud
1301
1565
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
1566
  end
1303
1567
 
1568
+ # 停止保存镜像
1569
+
1570
+ # @param request: Request instance for StopCreatingImage.
1571
+ # @type request: :class:`Tencentcloud::tione::V20211111::StopCreatingImageRequest`
1572
+ # @rtype: :class:`Tencentcloud::tione::V20211111::StopCreatingImageResponse`
1573
+ def StopCreatingImage(request)
1574
+ body = send_request('StopCreatingImage', request.serialize)
1575
+ response = JSON.parse(body)
1576
+ if response['Response'].key?('Error') == false
1577
+ model = StopCreatingImageResponse.new
1578
+ model.deserialize(response['Response'])
1579
+ model
1580
+ else
1581
+ code = response['Response']['Error']['Code']
1582
+ message = response['Response']['Error']['Message']
1583
+ reqid = response['Response']['RequestId']
1584
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1585
+ end
1586
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1587
+ raise e
1588
+ rescue StandardError => e
1589
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1590
+ end
1591
+
1304
1592
  # 停止模型加速任务
1305
1593
 
1306
1594
  # @param request: Request instance for StopModelAccelerateTask.
@@ -1325,6 +1613,30 @@ module TencentCloud
1325
1613
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1614
  end
1327
1615
 
1616
+ # 停止Notebook
1617
+
1618
+ # @param request: Request instance for StopNotebook.
1619
+ # @type request: :class:`Tencentcloud::tione::V20211111::StopNotebookRequest`
1620
+ # @rtype: :class:`Tencentcloud::tione::V20211111::StopNotebookResponse`
1621
+ def StopNotebook(request)
1622
+ body = send_request('StopNotebook', request.serialize)
1623
+ response = JSON.parse(body)
1624
+ if response['Response'].key?('Error') == false
1625
+ model = StopNotebookResponse.new
1626
+ model.deserialize(response['Response'])
1627
+ model
1628
+ else
1629
+ code = response['Response']['Error']['Code']
1630
+ message = response['Response']['Error']['Message']
1631
+ reqid = response['Response']['RequestId']
1632
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1633
+ end
1634
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1635
+ raise e
1636
+ rescue StandardError => e
1637
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1638
+ end
1639
+
1328
1640
  # 停止模型训练任务
1329
1641
 
1330
1642
  # @param request: Request instance for StopTrainingTask.