tencentcloud-sdk-python-tione 3.1.188__tar.gz → 3.1.189__tar.gz
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.
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/setup.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20211111/errorcodes.py +6 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20211111/models.py +323 -78
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20211111/tione_client.py +23 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tione-3.1.189/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tione-3.1.188/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.188 → tencentcloud_sdk_python_tione-3.1.189}/tencentcloud_sdk_python_tione.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Tione SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tione',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tione SDK for Python',
|
|
@@ -59,6 +59,9 @@ FAILEDOPERATION_CLUSTERQUERYFAILED = 'FailedOperation.ClusterQueryFailed'
|
|
|
59
59
|
# 翻页超过1万条,建议重新选择日志查询时间
|
|
60
60
|
FAILEDOPERATION_CONTEXTLIMITERROR = 'FailedOperation.ContextLimitError'
|
|
61
61
|
|
|
62
|
+
# 导出Notebook镜像失败
|
|
63
|
+
FAILEDOPERATION_CREATEIMAGEFAILED = 'FailedOperation.CreateImageFailed'
|
|
64
|
+
|
|
62
65
|
# cos client 内部错误。
|
|
63
66
|
FAILEDOPERATION_DCCOSCLIENTERR = 'FailedOperation.DCCosClientErr'
|
|
64
67
|
|
|
@@ -143,6 +146,9 @@ FAILEDOPERATION_NOPERMISSION = 'FailedOperation.NoPermission'
|
|
|
143
146
|
# 操作不允许。
|
|
144
147
|
FAILEDOPERATION_NOTALLOW = 'FailedOperation.NotAllow'
|
|
145
148
|
|
|
149
|
+
# 该Notebook实例不支持保存镜像,如果您使用的是自定义镜像请重启Notebook实例后再执行保存操作
|
|
150
|
+
FAILEDOPERATION_NOTSUPPORTEDTOCREATEIMAGE = 'FailedOperation.NotSupportedToCreateImage'
|
|
151
|
+
|
|
146
152
|
# 未找到Notebook实例相关容器,无法生成访问地址。
|
|
147
153
|
FAILEDOPERATION_PODIPNOTFOUND = 'FailedOperation.PodIpNotFound'
|
|
148
154
|
|
|
@@ -1666,7 +1666,7 @@ class CreateDataSourceRequest(AbstractModel):
|
|
|
1666
1666
|
|
|
1667
1667
|
def __init__(self):
|
|
1668
1668
|
r"""
|
|
1669
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
1669
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1670
1670
|
:type TiProjectId: str
|
|
1671
1671
|
:param _Name: 数据源名称
|
|
1672
1672
|
:type Name: str
|
|
@@ -1691,7 +1691,7 @@ class CreateDataSourceRequest(AbstractModel):
|
|
|
1691
1691
|
|
|
1692
1692
|
@property
|
|
1693
1693
|
def TiProjectId(self):
|
|
1694
|
-
r"""<p>TI工作空间ID</p><p
|
|
1694
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1695
1695
|
:rtype: str
|
|
1696
1696
|
"""
|
|
1697
1697
|
return self._TiProjectId
|
|
@@ -1844,7 +1844,7 @@ class CreateDatasetRequest(AbstractModel):
|
|
|
1844
1844
|
r"""
|
|
1845
1845
|
:param _DatasetName: <p>数据集名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头</p>
|
|
1846
1846
|
:type DatasetName: str
|
|
1847
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
1847
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1848
1848
|
:type TiProjectId: str
|
|
1849
1849
|
:param _DatasetType: <p>数据集类型</p><p>枚举值:</p><ul><li>TYPE_DATASET_IMAGE: 图片</li><li>TYPE_DATASET_LLM: 大模型</li><li>TYPE_DATASET_TABLE: 表格</li><li>TYPE_DATASET_OTHER: 其他</li></ul>
|
|
1850
1850
|
:type DatasetType: str
|
|
@@ -1902,7 +1902,7 @@ class CreateDatasetRequest(AbstractModel):
|
|
|
1902
1902
|
|
|
1903
1903
|
@property
|
|
1904
1904
|
def TiProjectId(self):
|
|
1905
|
-
r"""<p>TI工作空间ID</p><p
|
|
1905
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
1906
1906
|
:rtype: str
|
|
1907
1907
|
"""
|
|
1908
1908
|
return self._TiProjectId
|
|
@@ -2151,6 +2151,8 @@ class CreateExportRequest(AbstractModel):
|
|
|
2151
2151
|
r"""
|
|
2152
2152
|
:param _Service: 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测枚举值:- TRAIN- NOTEBOOK- INFER- BATCH
|
|
2153
2153
|
:type Service: str
|
|
2154
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
2155
|
+
:type TiProjectId: str
|
|
2154
2156
|
:param _ServiceId: 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
|
2155
2157
|
:type ServiceId: str
|
|
2156
2158
|
:param _StartTime: 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
|
@@ -2171,6 +2173,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
2171
2173
|
:type Type: str
|
|
2172
2174
|
"""
|
|
2173
2175
|
self._Service = None
|
|
2176
|
+
self._TiProjectId = None
|
|
2174
2177
|
self._ServiceId = None
|
|
2175
2178
|
self._StartTime = None
|
|
2176
2179
|
self._EndTime = None
|
|
@@ -2192,6 +2195,17 @@ class CreateExportRequest(AbstractModel):
|
|
|
2192
2195
|
def Service(self, Service):
|
|
2193
2196
|
self._Service = Service
|
|
2194
2197
|
|
|
2198
|
+
@property
|
|
2199
|
+
def TiProjectId(self):
|
|
2200
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
2201
|
+
:rtype: str
|
|
2202
|
+
"""
|
|
2203
|
+
return self._TiProjectId
|
|
2204
|
+
|
|
2205
|
+
@TiProjectId.setter
|
|
2206
|
+
def TiProjectId(self, TiProjectId):
|
|
2207
|
+
self._TiProjectId = TiProjectId
|
|
2208
|
+
|
|
2195
2209
|
@property
|
|
2196
2210
|
def ServiceId(self):
|
|
2197
2211
|
r"""服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
|
@@ -2294,6 +2308,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
2294
2308
|
|
|
2295
2309
|
def _deserialize(self, params):
|
|
2296
2310
|
self._Service = params.get("Service")
|
|
2311
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
2297
2312
|
self._ServiceId = params.get("ServiceId")
|
|
2298
2313
|
self._StartTime = params.get("StartTime")
|
|
2299
2314
|
self._EndTime = params.get("EndTime")
|
|
@@ -3327,7 +3342,7 @@ class CreateMountLimitRequest(AbstractModel):
|
|
|
3327
3342
|
:type Type: str
|
|
3328
3343
|
:param _StorageId: 存储实例ID
|
|
3329
3344
|
:type StorageId: str
|
|
3330
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
3345
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3331
3346
|
:type TiProjectId: str
|
|
3332
3347
|
:param _LimitMount: 限制开关是否开启,只有开启时才有限制,默认关闭
|
|
3333
3348
|
:type LimitMount: bool
|
|
@@ -3361,7 +3376,7 @@ class CreateMountLimitRequest(AbstractModel):
|
|
|
3361
3376
|
|
|
3362
3377
|
@property
|
|
3363
3378
|
def TiProjectId(self):
|
|
3364
|
-
r"""<p>TI工作空间ID</p><p
|
|
3379
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
3365
3380
|
:rtype: str
|
|
3366
3381
|
"""
|
|
3367
3382
|
return self._TiProjectId
|
|
@@ -3425,6 +3440,102 @@ class CreateMountLimitResponse(AbstractModel):
|
|
|
3425
3440
|
self._RequestId = params.get("RequestId")
|
|
3426
3441
|
|
|
3427
3442
|
|
|
3443
|
+
class CreateNotebookImageRequest(AbstractModel):
|
|
3444
|
+
r"""CreateNotebookImage请求参数结构体
|
|
3445
|
+
|
|
3446
|
+
"""
|
|
3447
|
+
|
|
3448
|
+
def __init__(self):
|
|
3449
|
+
r"""
|
|
3450
|
+
:param _ImageInfo: 镜像信息
|
|
3451
|
+
:type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
|
|
3452
|
+
:param _NotebookId: notebook id
|
|
3453
|
+
:type NotebookId: str
|
|
3454
|
+
:param _Kernels: 要保存的kernel数组
|
|
3455
|
+
:type Kernels: list of str
|
|
3456
|
+
"""
|
|
3457
|
+
self._ImageInfo = None
|
|
3458
|
+
self._NotebookId = None
|
|
3459
|
+
self._Kernels = None
|
|
3460
|
+
|
|
3461
|
+
@property
|
|
3462
|
+
def ImageInfo(self):
|
|
3463
|
+
r"""镜像信息
|
|
3464
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
|
|
3465
|
+
"""
|
|
3466
|
+
return self._ImageInfo
|
|
3467
|
+
|
|
3468
|
+
@ImageInfo.setter
|
|
3469
|
+
def ImageInfo(self, ImageInfo):
|
|
3470
|
+
self._ImageInfo = ImageInfo
|
|
3471
|
+
|
|
3472
|
+
@property
|
|
3473
|
+
def NotebookId(self):
|
|
3474
|
+
r"""notebook id
|
|
3475
|
+
:rtype: str
|
|
3476
|
+
"""
|
|
3477
|
+
return self._NotebookId
|
|
3478
|
+
|
|
3479
|
+
@NotebookId.setter
|
|
3480
|
+
def NotebookId(self, NotebookId):
|
|
3481
|
+
self._NotebookId = NotebookId
|
|
3482
|
+
|
|
3483
|
+
@property
|
|
3484
|
+
def Kernels(self):
|
|
3485
|
+
r"""要保存的kernel数组
|
|
3486
|
+
:rtype: list of str
|
|
3487
|
+
"""
|
|
3488
|
+
return self._Kernels
|
|
3489
|
+
|
|
3490
|
+
@Kernels.setter
|
|
3491
|
+
def Kernels(self, Kernels):
|
|
3492
|
+
self._Kernels = Kernels
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
def _deserialize(self, params):
|
|
3496
|
+
if params.get("ImageInfo") is not None:
|
|
3497
|
+
self._ImageInfo = ImageInfo()
|
|
3498
|
+
self._ImageInfo._deserialize(params.get("ImageInfo"))
|
|
3499
|
+
self._NotebookId = params.get("NotebookId")
|
|
3500
|
+
self._Kernels = params.get("Kernels")
|
|
3501
|
+
memeber_set = set(params.keys())
|
|
3502
|
+
for name, value in vars(self).items():
|
|
3503
|
+
property_name = name[1:]
|
|
3504
|
+
if property_name in memeber_set:
|
|
3505
|
+
memeber_set.remove(property_name)
|
|
3506
|
+
if len(memeber_set) > 0:
|
|
3507
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3508
|
+
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
class CreateNotebookImageResponse(AbstractModel):
|
|
3512
|
+
r"""CreateNotebookImage返回参数结构体
|
|
3513
|
+
|
|
3514
|
+
"""
|
|
3515
|
+
|
|
3516
|
+
def __init__(self):
|
|
3517
|
+
r"""
|
|
3518
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3519
|
+
:type RequestId: str
|
|
3520
|
+
"""
|
|
3521
|
+
self._RequestId = None
|
|
3522
|
+
|
|
3523
|
+
@property
|
|
3524
|
+
def RequestId(self):
|
|
3525
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3526
|
+
:rtype: str
|
|
3527
|
+
"""
|
|
3528
|
+
return self._RequestId
|
|
3529
|
+
|
|
3530
|
+
@RequestId.setter
|
|
3531
|
+
def RequestId(self, RequestId):
|
|
3532
|
+
self._RequestId = RequestId
|
|
3533
|
+
|
|
3534
|
+
|
|
3535
|
+
def _deserialize(self, params):
|
|
3536
|
+
self._RequestId = params.get("RequestId")
|
|
3537
|
+
|
|
3538
|
+
|
|
3428
3539
|
class CreateNotebookRequest(AbstractModel):
|
|
3429
3540
|
r"""CreateNotebook请求参数结构体
|
|
3430
3541
|
|
|
@@ -3979,6 +4090,8 @@ EXIST:导入现有版本
|
|
|
3979
4090
|
:type ImportMethod: str
|
|
3980
4091
|
:param _ReasoningEnvironmentSource: 推理环境来源(SYSTEM/CUSTOM)
|
|
3981
4092
|
:type ReasoningEnvironmentSource: str
|
|
4093
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4094
|
+
:type TiProjectId: str
|
|
3982
4095
|
:param _TrainingModelName: 模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
3983
4096
|
:type TrainingModelName: str
|
|
3984
4097
|
:param _Tags: 标签配置
|
|
@@ -4032,6 +4145,7 @@ EXIST:导入现有版本
|
|
|
4032
4145
|
"""
|
|
4033
4146
|
self._ImportMethod = None
|
|
4034
4147
|
self._ReasoningEnvironmentSource = None
|
|
4148
|
+
self._TiProjectId = None
|
|
4035
4149
|
self._TrainingModelName = None
|
|
4036
4150
|
self._Tags = None
|
|
4037
4151
|
self._TrainingJobName = None
|
|
@@ -4082,6 +4196,17 @@ EXIST:导入现有版本
|
|
|
4082
4196
|
def ReasoningEnvironmentSource(self, ReasoningEnvironmentSource):
|
|
4083
4197
|
self._ReasoningEnvironmentSource = ReasoningEnvironmentSource
|
|
4084
4198
|
|
|
4199
|
+
@property
|
|
4200
|
+
def TiProjectId(self):
|
|
4201
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
4202
|
+
:rtype: str
|
|
4203
|
+
"""
|
|
4204
|
+
return self._TiProjectId
|
|
4205
|
+
|
|
4206
|
+
@TiProjectId.setter
|
|
4207
|
+
def TiProjectId(self, TiProjectId):
|
|
4208
|
+
self._TiProjectId = TiProjectId
|
|
4209
|
+
|
|
4085
4210
|
@property
|
|
4086
4211
|
def TrainingModelName(self):
|
|
4087
4212
|
r"""模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
@@ -4352,6 +4477,7 @@ EXIST:导入现有版本
|
|
|
4352
4477
|
def _deserialize(self, params):
|
|
4353
4478
|
self._ImportMethod = params.get("ImportMethod")
|
|
4354
4479
|
self._ReasoningEnvironmentSource = params.get("ReasoningEnvironmentSource")
|
|
4480
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
4355
4481
|
self._TrainingModelName = params.get("TrainingModelName")
|
|
4356
4482
|
if params.get("Tags") is not None:
|
|
4357
4483
|
self._Tags = []
|
|
@@ -7098,7 +7224,7 @@ class DeleteDataSourceRequest(AbstractModel):
|
|
|
7098
7224
|
|
|
7099
7225
|
def __init__(self):
|
|
7100
7226
|
r"""
|
|
7101
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
7227
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7102
7228
|
:type TiProjectId: str
|
|
7103
7229
|
:param _Id: 数据源ID
|
|
7104
7230
|
:type Id: str
|
|
@@ -7108,7 +7234,7 @@ class DeleteDataSourceRequest(AbstractModel):
|
|
|
7108
7234
|
|
|
7109
7235
|
@property
|
|
7110
7236
|
def TiProjectId(self):
|
|
7111
|
-
r"""<p>TI工作空间ID</p><p
|
|
7237
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7112
7238
|
:rtype: str
|
|
7113
7239
|
"""
|
|
7114
7240
|
return self._TiProjectId
|
|
@@ -7181,7 +7307,7 @@ class DeleteDatasetRequest(AbstractModel):
|
|
|
7181
7307
|
:type DatasetId: str
|
|
7182
7308
|
:param _DeleteLabelEnable: <p>是否删除cos标签文件</p>
|
|
7183
7309
|
:type DeleteLabelEnable: bool
|
|
7184
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
7310
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7185
7311
|
:type TiProjectId: str
|
|
7186
7312
|
"""
|
|
7187
7313
|
self._DatasetId = None
|
|
@@ -7212,7 +7338,7 @@ class DeleteDatasetRequest(AbstractModel):
|
|
|
7212
7338
|
|
|
7213
7339
|
@property
|
|
7214
7340
|
def TiProjectId(self):
|
|
7215
|
-
r"""<p>TI工作空间ID</p><p
|
|
7341
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7216
7342
|
:rtype: str
|
|
7217
7343
|
"""
|
|
7218
7344
|
return self._TiProjectId
|
|
@@ -7288,8 +7414,11 @@ class DeleteExportRequest(AbstractModel):
|
|
|
7288
7414
|
r"""
|
|
7289
7415
|
:param _ExportId: 日志下载任务的ID
|
|
7290
7416
|
:type ExportId: str
|
|
7417
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7418
|
+
:type TiProjectId: str
|
|
7291
7419
|
"""
|
|
7292
7420
|
self._ExportId = None
|
|
7421
|
+
self._TiProjectId = None
|
|
7293
7422
|
|
|
7294
7423
|
@property
|
|
7295
7424
|
def ExportId(self):
|
|
@@ -7302,9 +7431,21 @@ class DeleteExportRequest(AbstractModel):
|
|
|
7302
7431
|
def ExportId(self, ExportId):
|
|
7303
7432
|
self._ExportId = ExportId
|
|
7304
7433
|
|
|
7434
|
+
@property
|
|
7435
|
+
def TiProjectId(self):
|
|
7436
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7437
|
+
:rtype: str
|
|
7438
|
+
"""
|
|
7439
|
+
return self._TiProjectId
|
|
7440
|
+
|
|
7441
|
+
@TiProjectId.setter
|
|
7442
|
+
def TiProjectId(self, TiProjectId):
|
|
7443
|
+
self._TiProjectId = TiProjectId
|
|
7444
|
+
|
|
7305
7445
|
|
|
7306
7446
|
def _deserialize(self, params):
|
|
7307
7447
|
self._ExportId = params.get("ExportId")
|
|
7448
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
7308
7449
|
memeber_set = set(params.keys())
|
|
7309
7450
|
for name, value in vars(self).items():
|
|
7310
7451
|
property_name = name[1:]
|
|
@@ -7781,12 +7922,15 @@ class DeleteTrainingModelRequest(AbstractModel):
|
|
|
7781
7922
|
r"""
|
|
7782
7923
|
:param _TrainingModelId: 模型ID
|
|
7783
7924
|
:type TrainingModelId: str
|
|
7925
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7926
|
+
:type TiProjectId: str
|
|
7784
7927
|
:param _EnableDeleteCos: 是否同步清理cos
|
|
7785
7928
|
:type EnableDeleteCos: bool
|
|
7786
7929
|
:param _ModelVersionType: 删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有
|
|
7787
7930
|
:type ModelVersionType: str
|
|
7788
7931
|
"""
|
|
7789
7932
|
self._TrainingModelId = None
|
|
7933
|
+
self._TiProjectId = None
|
|
7790
7934
|
self._EnableDeleteCos = None
|
|
7791
7935
|
self._ModelVersionType = None
|
|
7792
7936
|
|
|
@@ -7801,6 +7945,17 @@ class DeleteTrainingModelRequest(AbstractModel):
|
|
|
7801
7945
|
def TrainingModelId(self, TrainingModelId):
|
|
7802
7946
|
self._TrainingModelId = TrainingModelId
|
|
7803
7947
|
|
|
7948
|
+
@property
|
|
7949
|
+
def TiProjectId(self):
|
|
7950
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
7951
|
+
:rtype: str
|
|
7952
|
+
"""
|
|
7953
|
+
return self._TiProjectId
|
|
7954
|
+
|
|
7955
|
+
@TiProjectId.setter
|
|
7956
|
+
def TiProjectId(self, TiProjectId):
|
|
7957
|
+
self._TiProjectId = TiProjectId
|
|
7958
|
+
|
|
7804
7959
|
@property
|
|
7805
7960
|
def EnableDeleteCos(self):
|
|
7806
7961
|
r"""是否同步清理cos
|
|
@@ -7826,6 +7981,7 @@ class DeleteTrainingModelRequest(AbstractModel):
|
|
|
7826
7981
|
|
|
7827
7982
|
def _deserialize(self, params):
|
|
7828
7983
|
self._TrainingModelId = params.get("TrainingModelId")
|
|
7984
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
7829
7985
|
self._EnableDeleteCos = params.get("EnableDeleteCos")
|
|
7830
7986
|
self._ModelVersionType = params.get("ModelVersionType")
|
|
7831
7987
|
memeber_set = set(params.keys())
|
|
@@ -7875,10 +8031,13 @@ class DeleteTrainingModelVersionRequest(AbstractModel):
|
|
|
7875
8031
|
r"""
|
|
7876
8032
|
:param _TrainingModelVersionId: 模型版本ID
|
|
7877
8033
|
:type TrainingModelVersionId: str
|
|
8034
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8035
|
+
:type TiProjectId: str
|
|
7878
8036
|
:param _EnableDeleteCos: 是否同步清理cos
|
|
7879
8037
|
:type EnableDeleteCos: bool
|
|
7880
8038
|
"""
|
|
7881
8039
|
self._TrainingModelVersionId = None
|
|
8040
|
+
self._TiProjectId = None
|
|
7882
8041
|
self._EnableDeleteCos = None
|
|
7883
8042
|
|
|
7884
8043
|
@property
|
|
@@ -7892,6 +8051,17 @@ class DeleteTrainingModelVersionRequest(AbstractModel):
|
|
|
7892
8051
|
def TrainingModelVersionId(self, TrainingModelVersionId):
|
|
7893
8052
|
self._TrainingModelVersionId = TrainingModelVersionId
|
|
7894
8053
|
|
|
8054
|
+
@property
|
|
8055
|
+
def TiProjectId(self):
|
|
8056
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8057
|
+
:rtype: str
|
|
8058
|
+
"""
|
|
8059
|
+
return self._TiProjectId
|
|
8060
|
+
|
|
8061
|
+
@TiProjectId.setter
|
|
8062
|
+
def TiProjectId(self, TiProjectId):
|
|
8063
|
+
self._TiProjectId = TiProjectId
|
|
8064
|
+
|
|
7895
8065
|
@property
|
|
7896
8066
|
def EnableDeleteCos(self):
|
|
7897
8067
|
r"""是否同步清理cos
|
|
@@ -7906,6 +8076,7 @@ class DeleteTrainingModelVersionRequest(AbstractModel):
|
|
|
7906
8076
|
|
|
7907
8077
|
def _deserialize(self, params):
|
|
7908
8078
|
self._TrainingModelVersionId = params.get("TrainingModelVersionId")
|
|
8079
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
7909
8080
|
self._EnableDeleteCos = params.get("EnableDeleteCos")
|
|
7910
8081
|
memeber_set = set(params.keys())
|
|
7911
8082
|
for name, value in vars(self).items():
|
|
@@ -8035,7 +8206,7 @@ class DescribeAnnotatedTaskListRequest(AbstractModel):
|
|
|
8035
8206
|
:type Offset: int
|
|
8036
8207
|
:param _Limit: 页面大小,默认为10
|
|
8037
8208
|
:type Limit: int
|
|
8038
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
8209
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8039
8210
|
:type TiProjectId: str
|
|
8040
8211
|
:param _Filters: 过滤条件数组,支持数据集ID,标注场景、任务状态、数据集名称、人物名称的过滤,后面两个支持模糊查询
|
|
8041
8212
|
:type Filters: list of Filter
|
|
@@ -8078,7 +8249,7 @@ class DescribeAnnotatedTaskListRequest(AbstractModel):
|
|
|
8078
8249
|
|
|
8079
8250
|
@property
|
|
8080
8251
|
def TiProjectId(self):
|
|
8081
|
-
r"""<p>TI工作空间ID</p><p
|
|
8252
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
8082
8253
|
:rtype: str
|
|
8083
8254
|
"""
|
|
8084
8255
|
return self._TiProjectId
|
|
@@ -9152,7 +9323,7 @@ class DescribeDataSourceRequest(AbstractModel):
|
|
|
9152
9323
|
|
|
9153
9324
|
def __init__(self):
|
|
9154
9325
|
r"""
|
|
9155
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
9326
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9156
9327
|
:type TiProjectId: str
|
|
9157
9328
|
:param _Id: 数据源id
|
|
9158
9329
|
:type Id: str
|
|
@@ -9162,7 +9333,7 @@ class DescribeDataSourceRequest(AbstractModel):
|
|
|
9162
9333
|
|
|
9163
9334
|
@property
|
|
9164
9335
|
def TiProjectId(self):
|
|
9165
|
-
r"""<p>TI工作空间ID</p><p
|
|
9336
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9166
9337
|
:rtype: str
|
|
9167
9338
|
"""
|
|
9168
9339
|
return self._TiProjectId
|
|
@@ -9248,7 +9419,7 @@ class DescribeDataSourcesRequest(AbstractModel):
|
|
|
9248
9419
|
|
|
9249
9420
|
def __init__(self):
|
|
9250
9421
|
r"""
|
|
9251
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
9422
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9252
9423
|
:type TiProjectId: str
|
|
9253
9424
|
:param _Filters: 过滤条件
|
|
9254
9425
|
:type Filters: list of Filter
|
|
@@ -9273,7 +9444,7 @@ class DescribeDataSourcesRequest(AbstractModel):
|
|
|
9273
9444
|
|
|
9274
9445
|
@property
|
|
9275
9446
|
def TiProjectId(self):
|
|
9276
|
-
r"""<p>TI工作空间ID</p><p
|
|
9447
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9277
9448
|
:rtype: str
|
|
9278
9449
|
"""
|
|
9279
9450
|
return self._TiProjectId
|
|
@@ -9447,7 +9618,7 @@ class DescribeDatasetsRequest(AbstractModel):
|
|
|
9447
9618
|
|
|
9448
9619
|
def __init__(self):
|
|
9449
9620
|
r"""
|
|
9450
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
9621
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9451
9622
|
:type TiProjectId: str
|
|
9452
9623
|
:param _DatasetIds: <p>数据集id列表</p>
|
|
9453
9624
|
:type DatasetIds: list of str
|
|
@@ -9481,7 +9652,7 @@ class DescribeDatasetsRequest(AbstractModel):
|
|
|
9481
9652
|
|
|
9482
9653
|
@property
|
|
9483
9654
|
def TiProjectId(self):
|
|
9484
|
-
r"""<p>TI工作空间ID</p><p
|
|
9655
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
9485
9656
|
:rtype: str
|
|
9486
9657
|
"""
|
|
9487
9658
|
return self._TiProjectId
|
|
@@ -9997,7 +10168,7 @@ class DescribeExportRequest(AbstractModel):
|
|
|
9997
10168
|
r"""
|
|
9998
10169
|
:param _ExportId: <p>日志下载任务的ID</p>
|
|
9999
10170
|
:type ExportId: str
|
|
10000
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
10171
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10001
10172
|
:type TiProjectId: str
|
|
10002
10173
|
"""
|
|
10003
10174
|
self._ExportId = None
|
|
@@ -10016,7 +10187,7 @@ class DescribeExportRequest(AbstractModel):
|
|
|
10016
10187
|
|
|
10017
10188
|
@property
|
|
10018
10189
|
def TiProjectId(self):
|
|
10019
|
-
r"""<p>TI工作空间ID</p><p
|
|
10190
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10020
10191
|
:rtype: str
|
|
10021
10192
|
"""
|
|
10022
10193
|
return self._TiProjectId
|
|
@@ -10222,7 +10393,7 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10222
10393
|
r"""
|
|
10223
10394
|
:param _Service: <p>服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测<br>枚举值:</p><ul><li>TRAIN</li><li>NOTEBOOK</li><li>INFER</li><li>BATCH</li></ul>
|
|
10224
10395
|
:type Service: str
|
|
10225
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
10396
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10226
10397
|
:type TiProjectId: str
|
|
10227
10398
|
:param _StartTime: <p>日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时</p>
|
|
10228
10399
|
:type StartTime: str
|
|
@@ -10274,7 +10445,7 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10274
10445
|
|
|
10275
10446
|
@property
|
|
10276
10447
|
def TiProjectId(self):
|
|
10277
|
-
r"""<p>TI工作空间ID</p><p
|
|
10448
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10278
10449
|
:rtype: str
|
|
10279
10450
|
"""
|
|
10280
10451
|
return self._TiProjectId
|
|
@@ -10508,14 +10679,17 @@ class DescribeModelAccelerateTaskRequest(AbstractModel):
|
|
|
10508
10679
|
|
|
10509
10680
|
def __init__(self):
|
|
10510
10681
|
r"""
|
|
10511
|
-
:param _ModelAccTaskId:
|
|
10682
|
+
:param _ModelAccTaskId: <p>模型加速任务ID</p>
|
|
10512
10683
|
:type ModelAccTaskId: str
|
|
10684
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10685
|
+
:type TiProjectId: str
|
|
10513
10686
|
"""
|
|
10514
10687
|
self._ModelAccTaskId = None
|
|
10688
|
+
self._TiProjectId = None
|
|
10515
10689
|
|
|
10516
10690
|
@property
|
|
10517
10691
|
def ModelAccTaskId(self):
|
|
10518
|
-
r"""
|
|
10692
|
+
r"""<p>模型加速任务ID</p>
|
|
10519
10693
|
:rtype: str
|
|
10520
10694
|
"""
|
|
10521
10695
|
return self._ModelAccTaskId
|
|
@@ -10524,9 +10698,21 @@ class DescribeModelAccelerateTaskRequest(AbstractModel):
|
|
|
10524
10698
|
def ModelAccTaskId(self, ModelAccTaskId):
|
|
10525
10699
|
self._ModelAccTaskId = ModelAccTaskId
|
|
10526
10700
|
|
|
10701
|
+
@property
|
|
10702
|
+
def TiProjectId(self):
|
|
10703
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10704
|
+
:rtype: str
|
|
10705
|
+
"""
|
|
10706
|
+
return self._TiProjectId
|
|
10707
|
+
|
|
10708
|
+
@TiProjectId.setter
|
|
10709
|
+
def TiProjectId(self, TiProjectId):
|
|
10710
|
+
self._TiProjectId = TiProjectId
|
|
10711
|
+
|
|
10527
10712
|
|
|
10528
10713
|
def _deserialize(self, params):
|
|
10529
10714
|
self._ModelAccTaskId = params.get("ModelAccTaskId")
|
|
10715
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
10530
10716
|
memeber_set = set(params.keys())
|
|
10531
10717
|
for name, value in vars(self).items():
|
|
10532
10718
|
property_name = name[1:]
|
|
@@ -10544,16 +10730,16 @@ class DescribeModelAccelerateTaskResponse(AbstractModel):
|
|
|
10544
10730
|
|
|
10545
10731
|
def __init__(self):
|
|
10546
10732
|
r"""
|
|
10547
|
-
:param _ModelAccelerateTask:
|
|
10733
|
+
:param _ModelAccelerateTask: <p>模型加速任务详情</p>
|
|
10548
10734
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10549
10735
|
:type ModelAccelerateTask: :class:`tencentcloud.tione.v20211111.models.ModelAccelerateTask`
|
|
10550
|
-
:param _ModelAccRuntimeInSecond:
|
|
10736
|
+
:param _ModelAccRuntimeInSecond: <p>模型加速时长,单位s</p>
|
|
10551
10737
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10552
10738
|
:type ModelAccRuntimeInSecond: int
|
|
10553
|
-
:param _ModelAccStartTime:
|
|
10739
|
+
:param _ModelAccStartTime: <p>模型加速任务开始时间</p>
|
|
10554
10740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10555
10741
|
:type ModelAccStartTime: str
|
|
10556
|
-
:param _ModelAccEndTime:
|
|
10742
|
+
:param _ModelAccEndTime: <p>模型加速任务结束时间</p>
|
|
10557
10743
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10558
10744
|
:type ModelAccEndTime: str
|
|
10559
10745
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10567,7 +10753,7 @@ class DescribeModelAccelerateTaskResponse(AbstractModel):
|
|
|
10567
10753
|
|
|
10568
10754
|
@property
|
|
10569
10755
|
def ModelAccelerateTask(self):
|
|
10570
|
-
r"""
|
|
10756
|
+
r"""<p>模型加速任务详情</p>
|
|
10571
10757
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10572
10758
|
:rtype: :class:`tencentcloud.tione.v20211111.models.ModelAccelerateTask`
|
|
10573
10759
|
"""
|
|
@@ -10579,7 +10765,7 @@ class DescribeModelAccelerateTaskResponse(AbstractModel):
|
|
|
10579
10765
|
|
|
10580
10766
|
@property
|
|
10581
10767
|
def ModelAccRuntimeInSecond(self):
|
|
10582
|
-
r"""
|
|
10768
|
+
r"""<p>模型加速时长,单位s</p>
|
|
10583
10769
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10584
10770
|
:rtype: int
|
|
10585
10771
|
"""
|
|
@@ -10591,7 +10777,7 @@ class DescribeModelAccelerateTaskResponse(AbstractModel):
|
|
|
10591
10777
|
|
|
10592
10778
|
@property
|
|
10593
10779
|
def ModelAccStartTime(self):
|
|
10594
|
-
r"""
|
|
10780
|
+
r"""<p>模型加速任务开始时间</p>
|
|
10595
10781
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10596
10782
|
:rtype: str
|
|
10597
10783
|
"""
|
|
@@ -10603,7 +10789,7 @@ class DescribeModelAccelerateTaskResponse(AbstractModel):
|
|
|
10603
10789
|
|
|
10604
10790
|
@property
|
|
10605
10791
|
def ModelAccEndTime(self):
|
|
10606
|
-
r"""
|
|
10792
|
+
r"""<p>模型加速任务结束时间</p>
|
|
10607
10793
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10608
10794
|
:rtype: str
|
|
10609
10795
|
"""
|
|
@@ -10642,6 +10828,8 @@ class DescribeModelAccelerateVersionsRequest(AbstractModel):
|
|
|
10642
10828
|
|
|
10643
10829
|
def __init__(self):
|
|
10644
10830
|
r"""
|
|
10831
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10832
|
+
:type TiProjectId: str
|
|
10645
10833
|
:param _Filters: 过滤条件
|
|
10646
10834
|
Filter.Name: 枚举值: ModelJobName (任务名称)|TrainingModelVersionId (模型版本id)
|
|
10647
10835
|
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
@@ -10658,6 +10846,7 @@ class DescribeModelAccelerateVersionsRequest(AbstractModel):
|
|
|
10658
10846
|
:param _TrainingModelId: 模型ID
|
|
10659
10847
|
:type TrainingModelId: str
|
|
10660
10848
|
"""
|
|
10849
|
+
self._TiProjectId = None
|
|
10661
10850
|
self._Filters = None
|
|
10662
10851
|
self._OrderField = None
|
|
10663
10852
|
self._Order = None
|
|
@@ -10665,6 +10854,17 @@ class DescribeModelAccelerateVersionsRequest(AbstractModel):
|
|
|
10665
10854
|
self._Limit = None
|
|
10666
10855
|
self._TrainingModelId = None
|
|
10667
10856
|
|
|
10857
|
+
@property
|
|
10858
|
+
def TiProjectId(self):
|
|
10859
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
10860
|
+
:rtype: str
|
|
10861
|
+
"""
|
|
10862
|
+
return self._TiProjectId
|
|
10863
|
+
|
|
10864
|
+
@TiProjectId.setter
|
|
10865
|
+
def TiProjectId(self, TiProjectId):
|
|
10866
|
+
self._TiProjectId = TiProjectId
|
|
10867
|
+
|
|
10668
10868
|
@property
|
|
10669
10869
|
def Filters(self):
|
|
10670
10870
|
r"""过滤条件
|
|
@@ -10736,6 +10936,7 @@ class DescribeModelAccelerateVersionsRequest(AbstractModel):
|
|
|
10736
10936
|
|
|
10737
10937
|
|
|
10738
10938
|
def _deserialize(self, params):
|
|
10939
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
10739
10940
|
if params.get("Filters") is not None:
|
|
10740
10941
|
self._Filters = []
|
|
10741
10942
|
for item in params.get("Filters"):
|
|
@@ -11623,7 +11824,7 @@ class DescribeMountInstanceRequest(AbstractModel):
|
|
|
11623
11824
|
r"""
|
|
11624
11825
|
:param _Type: 数据源类型英文名
|
|
11625
11826
|
:type Type: str
|
|
11626
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
11827
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11627
11828
|
:type TiProjectId: str
|
|
11628
11829
|
:param _StorageId: 存储实例ID
|
|
11629
11830
|
:type StorageId: str
|
|
@@ -11645,7 +11846,7 @@ class DescribeMountInstanceRequest(AbstractModel):
|
|
|
11645
11846
|
|
|
11646
11847
|
@property
|
|
11647
11848
|
def TiProjectId(self):
|
|
11648
|
-
r"""<p>TI工作空间ID</p><p
|
|
11849
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11649
11850
|
:rtype: str
|
|
11650
11851
|
"""
|
|
11651
11852
|
return self._TiProjectId
|
|
@@ -11734,7 +11935,7 @@ class DescribeMountInstancesRequest(AbstractModel):
|
|
|
11734
11935
|
r"""
|
|
11735
11936
|
:param _Type: 数据源类型英文名
|
|
11736
11937
|
:type Type: str
|
|
11737
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
11938
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11738
11939
|
:type TiProjectId: str
|
|
11739
11940
|
:param _Offset: 偏移量
|
|
11740
11941
|
:type Offset: int
|
|
@@ -11759,7 +11960,7 @@ class DescribeMountInstancesRequest(AbstractModel):
|
|
|
11759
11960
|
|
|
11760
11961
|
@property
|
|
11761
11962
|
def TiProjectId(self):
|
|
11762
|
-
r"""<p>TI工作空间ID</p><p
|
|
11963
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11763
11964
|
:rtype: str
|
|
11764
11965
|
"""
|
|
11765
11966
|
return self._TiProjectId
|
|
@@ -11876,7 +12077,7 @@ class DescribeMountLimitsRequest(AbstractModel):
|
|
|
11876
12077
|
|
|
11877
12078
|
def __init__(self):
|
|
11878
12079
|
r"""
|
|
11879
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
12080
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11880
12081
|
:type TiProjectId: str
|
|
11881
12082
|
:param _Filters: 过滤条件
|
|
11882
12083
|
:type Filters: list of Filter
|
|
@@ -11898,7 +12099,7 @@ class DescribeMountLimitsRequest(AbstractModel):
|
|
|
11898
12099
|
|
|
11899
12100
|
@property
|
|
11900
12101
|
def TiProjectId(self):
|
|
11901
|
-
r"""<p>TI工作空间ID</p><p
|
|
12102
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
11902
12103
|
:rtype: str
|
|
11903
12104
|
"""
|
|
11904
12105
|
return self._TiProjectId
|
|
@@ -12372,6 +12573,8 @@ class DescribePlatformImagesRequest(AbstractModel):
|
|
|
12372
12573
|
|
|
12373
12574
|
def __init__(self):
|
|
12374
12575
|
r"""
|
|
12576
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
12577
|
+
:type TiProjectId: str
|
|
12375
12578
|
:param _Filters: 过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
|
12376
12579
|
:type Filters: list of Filter
|
|
12377
12580
|
:param _Offset: 偏移信息
|
|
@@ -12379,10 +12582,22 @@ class DescribePlatformImagesRequest(AbstractModel):
|
|
|
12379
12582
|
:param _Limit: 返回数量, 默认100
|
|
12380
12583
|
:type Limit: int
|
|
12381
12584
|
"""
|
|
12585
|
+
self._TiProjectId = None
|
|
12382
12586
|
self._Filters = None
|
|
12383
12587
|
self._Offset = None
|
|
12384
12588
|
self._Limit = None
|
|
12385
12589
|
|
|
12590
|
+
@property
|
|
12591
|
+
def TiProjectId(self):
|
|
12592
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
12593
|
+
:rtype: str
|
|
12594
|
+
"""
|
|
12595
|
+
return self._TiProjectId
|
|
12596
|
+
|
|
12597
|
+
@TiProjectId.setter
|
|
12598
|
+
def TiProjectId(self, TiProjectId):
|
|
12599
|
+
self._TiProjectId = TiProjectId
|
|
12600
|
+
|
|
12386
12601
|
@property
|
|
12387
12602
|
def Filters(self):
|
|
12388
12603
|
r"""过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
|
@@ -12418,6 +12633,7 @@ class DescribePlatformImagesRequest(AbstractModel):
|
|
|
12418
12633
|
|
|
12419
12634
|
|
|
12420
12635
|
def _deserialize(self, params):
|
|
12636
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
12421
12637
|
if params.get("Filters") is not None:
|
|
12422
12638
|
self._Filters = []
|
|
12423
12639
|
for item in params.get("Filters"):
|
|
@@ -12506,7 +12722,7 @@ class DescribePresetImageListRequest(AbstractModel):
|
|
|
12506
12722
|
|
|
12507
12723
|
def __init__(self):
|
|
12508
12724
|
r"""
|
|
12509
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
12725
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
12510
12726
|
:type TiProjectId: str
|
|
12511
12727
|
:param _Filters: <p>业务过滤表达式</p>
|
|
12512
12728
|
:type Filters: list of Filter
|
|
@@ -12528,7 +12744,7 @@ class DescribePresetImageListRequest(AbstractModel):
|
|
|
12528
12744
|
|
|
12529
12745
|
@property
|
|
12530
12746
|
def TiProjectId(self):
|
|
12531
|
-
r"""<p>TI工作空间ID</p><p
|
|
12747
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
12532
12748
|
:rtype: str
|
|
12533
12749
|
"""
|
|
12534
12750
|
return self._TiProjectId
|
|
@@ -12994,14 +13210,17 @@ class DescribeTrainingModelVersionRequest(AbstractModel):
|
|
|
12994
13210
|
|
|
12995
13211
|
def __init__(self):
|
|
12996
13212
|
r"""
|
|
12997
|
-
:param _TrainingModelVersionId:
|
|
13213
|
+
:param _TrainingModelVersionId: <p>模型版本ID</p>
|
|
12998
13214
|
:type TrainingModelVersionId: str
|
|
13215
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13216
|
+
:type TiProjectId: str
|
|
12999
13217
|
"""
|
|
13000
13218
|
self._TrainingModelVersionId = None
|
|
13219
|
+
self._TiProjectId = None
|
|
13001
13220
|
|
|
13002
13221
|
@property
|
|
13003
13222
|
def TrainingModelVersionId(self):
|
|
13004
|
-
r"""
|
|
13223
|
+
r"""<p>模型版本ID</p>
|
|
13005
13224
|
:rtype: str
|
|
13006
13225
|
"""
|
|
13007
13226
|
return self._TrainingModelVersionId
|
|
@@ -13010,9 +13229,21 @@ class DescribeTrainingModelVersionRequest(AbstractModel):
|
|
|
13010
13229
|
def TrainingModelVersionId(self, TrainingModelVersionId):
|
|
13011
13230
|
self._TrainingModelVersionId = TrainingModelVersionId
|
|
13012
13231
|
|
|
13232
|
+
@property
|
|
13233
|
+
def TiProjectId(self):
|
|
13234
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13235
|
+
:rtype: str
|
|
13236
|
+
"""
|
|
13237
|
+
return self._TiProjectId
|
|
13238
|
+
|
|
13239
|
+
@TiProjectId.setter
|
|
13240
|
+
def TiProjectId(self, TiProjectId):
|
|
13241
|
+
self._TiProjectId = TiProjectId
|
|
13242
|
+
|
|
13013
13243
|
|
|
13014
13244
|
def _deserialize(self, params):
|
|
13015
13245
|
self._TrainingModelVersionId = params.get("TrainingModelVersionId")
|
|
13246
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
13016
13247
|
memeber_set = set(params.keys())
|
|
13017
13248
|
for name, value in vars(self).items():
|
|
13018
13249
|
property_name = name[1:]
|
|
@@ -13030,7 +13261,7 @@ class DescribeTrainingModelVersionResponse(AbstractModel):
|
|
|
13030
13261
|
|
|
13031
13262
|
def __init__(self):
|
|
13032
13263
|
r"""
|
|
13033
|
-
:param _TrainingModelVersion:
|
|
13264
|
+
:param _TrainingModelVersion: <p>模型版本</p>
|
|
13034
13265
|
:type TrainingModelVersion: :class:`tencentcloud.tione.v20211111.models.TrainingModelVersionDTO`
|
|
13035
13266
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13036
13267
|
:type RequestId: str
|
|
@@ -13040,7 +13271,7 @@ class DescribeTrainingModelVersionResponse(AbstractModel):
|
|
|
13040
13271
|
|
|
13041
13272
|
@property
|
|
13042
13273
|
def TrainingModelVersion(self):
|
|
13043
|
-
r"""
|
|
13274
|
+
r"""<p>模型版本</p>
|
|
13044
13275
|
:rtype: :class:`tencentcloud.tione.v20211111.models.TrainingModelVersionDTO`
|
|
13045
13276
|
"""
|
|
13046
13277
|
return self._TrainingModelVersion
|
|
@@ -13075,25 +13306,20 @@ class DescribeTrainingModelVersionsRequest(AbstractModel):
|
|
|
13075
13306
|
|
|
13076
13307
|
def __init__(self):
|
|
13077
13308
|
r"""
|
|
13078
|
-
:param _TrainingModelId:
|
|
13309
|
+
:param _TrainingModelId: <p>模型ID</p>
|
|
13079
13310
|
:type TrainingModelId: str
|
|
13080
|
-
:param
|
|
13081
|
-
|
|
13082
|
-
TrainingModelVersionId (模型版本ID)
|
|
13083
|
-
ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速)
|
|
13084
|
-
ModelFormat(模型格式)其值Filter.Values支持:
|
|
13085
|
-
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
13086
|
-
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
13087
|
-
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
13088
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
13311
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13312
|
+
:type TiProjectId: str
|
|
13313
|
+
:param _Filters: <p>过滤条件<br>Filter.Name: 枚举值:<br> TrainingModelVersionId (模型版本ID)<br> ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速)<br> ModelFormat(模型格式)其值Filter.Values支持:<br>TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML<br> AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2<br>Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询<br>每次请求的Filters的上限为10,Filter.Values的上限为100</p>
|
|
13089
13314
|
:type Filters: list of Filter
|
|
13090
13315
|
"""
|
|
13091
13316
|
self._TrainingModelId = None
|
|
13317
|
+
self._TiProjectId = None
|
|
13092
13318
|
self._Filters = None
|
|
13093
13319
|
|
|
13094
13320
|
@property
|
|
13095
13321
|
def TrainingModelId(self):
|
|
13096
|
-
r"""
|
|
13322
|
+
r"""<p>模型ID</p>
|
|
13097
13323
|
:rtype: str
|
|
13098
13324
|
"""
|
|
13099
13325
|
return self._TrainingModelId
|
|
@@ -13102,17 +13328,20 @@ Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
|
13102
13328
|
def TrainingModelId(self, TrainingModelId):
|
|
13103
13329
|
self._TrainingModelId = TrainingModelId
|
|
13104
13330
|
|
|
13331
|
+
@property
|
|
13332
|
+
def TiProjectId(self):
|
|
13333
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13334
|
+
:rtype: str
|
|
13335
|
+
"""
|
|
13336
|
+
return self._TiProjectId
|
|
13337
|
+
|
|
13338
|
+
@TiProjectId.setter
|
|
13339
|
+
def TiProjectId(self, TiProjectId):
|
|
13340
|
+
self._TiProjectId = TiProjectId
|
|
13341
|
+
|
|
13105
13342
|
@property
|
|
13106
13343
|
def Filters(self):
|
|
13107
|
-
r"""
|
|
13108
|
-
Filter.Name: 枚举值:
|
|
13109
|
-
TrainingModelVersionId (模型版本ID)
|
|
13110
|
-
ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速)
|
|
13111
|
-
ModelFormat(模型格式)其值Filter.Values支持:
|
|
13112
|
-
TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML
|
|
13113
|
-
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
13114
|
-
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
13115
|
-
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
13344
|
+
r"""<p>过滤条件<br>Filter.Name: 枚举值:<br> TrainingModelVersionId (模型版本ID)<br> ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速)<br> ModelFormat(模型格式)其值Filter.Values支持:<br>TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML<br> AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2<br>Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询<br>每次请求的Filters的上限为10,Filter.Values的上限为100</p>
|
|
13116
13345
|
:rtype: list of Filter
|
|
13117
13346
|
"""
|
|
13118
13347
|
return self._Filters
|
|
@@ -13124,6 +13353,7 @@ Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
|
13124
13353
|
|
|
13125
13354
|
def _deserialize(self, params):
|
|
13126
13355
|
self._TrainingModelId = params.get("TrainingModelId")
|
|
13356
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
13127
13357
|
if params.get("Filters") is not None:
|
|
13128
13358
|
self._Filters = []
|
|
13129
13359
|
for item in params.get("Filters"):
|
|
@@ -13147,7 +13377,7 @@ class DescribeTrainingModelVersionsResponse(AbstractModel):
|
|
|
13147
13377
|
|
|
13148
13378
|
def __init__(self):
|
|
13149
13379
|
r"""
|
|
13150
|
-
:param _TrainingModelVersions:
|
|
13380
|
+
:param _TrainingModelVersions: <p>模型版本列表</p>
|
|
13151
13381
|
:type TrainingModelVersions: list of TrainingModelVersionDTO
|
|
13152
13382
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13153
13383
|
:type RequestId: str
|
|
@@ -13157,7 +13387,7 @@ class DescribeTrainingModelVersionsResponse(AbstractModel):
|
|
|
13157
13387
|
|
|
13158
13388
|
@property
|
|
13159
13389
|
def TrainingModelVersions(self):
|
|
13160
|
-
r"""
|
|
13390
|
+
r"""<p>模型版本列表</p>
|
|
13161
13391
|
:rtype: list of TrainingModelVersionDTO
|
|
13162
13392
|
"""
|
|
13163
13393
|
return self._TrainingModelVersions
|
|
@@ -13731,7 +13961,7 @@ class DescribeWorkspacesRequest(AbstractModel):
|
|
|
13731
13961
|
|
|
13732
13962
|
def __init__(self):
|
|
13733
13963
|
r"""
|
|
13734
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
13964
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13735
13965
|
:type TiProjectId: str
|
|
13736
13966
|
:param _Filters: <p>过滤条件</p>
|
|
13737
13967
|
:type Filters: list of Filter
|
|
@@ -13753,7 +13983,7 @@ class DescribeWorkspacesRequest(AbstractModel):
|
|
|
13753
13983
|
|
|
13754
13984
|
@property
|
|
13755
13985
|
def TiProjectId(self):
|
|
13756
|
-
r"""<p>TI工作空间ID</p><p
|
|
13986
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
13757
13987
|
:rtype: str
|
|
13758
13988
|
"""
|
|
13759
13989
|
return self._TiProjectId
|
|
@@ -29109,14 +29339,17 @@ class StopModelAccelerateTaskRequest(AbstractModel):
|
|
|
29109
29339
|
|
|
29110
29340
|
def __init__(self):
|
|
29111
29341
|
r"""
|
|
29112
|
-
:param _ModelAccTaskId:
|
|
29342
|
+
:param _ModelAccTaskId: <p>模型加速任务ID</p>
|
|
29113
29343
|
:type ModelAccTaskId: str
|
|
29344
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
29345
|
+
:type TiProjectId: str
|
|
29114
29346
|
"""
|
|
29115
29347
|
self._ModelAccTaskId = None
|
|
29348
|
+
self._TiProjectId = None
|
|
29116
29349
|
|
|
29117
29350
|
@property
|
|
29118
29351
|
def ModelAccTaskId(self):
|
|
29119
|
-
r"""
|
|
29352
|
+
r"""<p>模型加速任务ID</p>
|
|
29120
29353
|
:rtype: str
|
|
29121
29354
|
"""
|
|
29122
29355
|
return self._ModelAccTaskId
|
|
@@ -29125,9 +29358,21 @@ class StopModelAccelerateTaskRequest(AbstractModel):
|
|
|
29125
29358
|
def ModelAccTaskId(self, ModelAccTaskId):
|
|
29126
29359
|
self._ModelAccTaskId = ModelAccTaskId
|
|
29127
29360
|
|
|
29361
|
+
@property
|
|
29362
|
+
def TiProjectId(self):
|
|
29363
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
29364
|
+
:rtype: str
|
|
29365
|
+
"""
|
|
29366
|
+
return self._TiProjectId
|
|
29367
|
+
|
|
29368
|
+
@TiProjectId.setter
|
|
29369
|
+
def TiProjectId(self, TiProjectId):
|
|
29370
|
+
self._TiProjectId = TiProjectId
|
|
29371
|
+
|
|
29128
29372
|
|
|
29129
29373
|
def _deserialize(self, params):
|
|
29130
29374
|
self._ModelAccTaskId = params.get("ModelAccTaskId")
|
|
29375
|
+
self._TiProjectId = params.get("TiProjectId")
|
|
29131
29376
|
memeber_set = set(params.keys())
|
|
29132
29377
|
for name, value in vars(self).items():
|
|
29133
29378
|
property_name = name[1:]
|
|
@@ -29145,10 +29390,10 @@ class StopModelAccelerateTaskResponse(AbstractModel):
|
|
|
29145
29390
|
|
|
29146
29391
|
def __init__(self):
|
|
29147
29392
|
r"""
|
|
29148
|
-
:param _ModelAccTaskId:
|
|
29393
|
+
:param _ModelAccTaskId: <p>模型加速任务ID</p>
|
|
29149
29394
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29150
29395
|
:type ModelAccTaskId: str
|
|
29151
|
-
:param _AsyncTaskId:
|
|
29396
|
+
:param _AsyncTaskId: <p>异步任务ID</p>
|
|
29152
29397
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29153
29398
|
:type AsyncTaskId: str
|
|
29154
29399
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -29160,7 +29405,7 @@ class StopModelAccelerateTaskResponse(AbstractModel):
|
|
|
29160
29405
|
|
|
29161
29406
|
@property
|
|
29162
29407
|
def ModelAccTaskId(self):
|
|
29163
|
-
r"""
|
|
29408
|
+
r"""<p>模型加速任务ID</p>
|
|
29164
29409
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29165
29410
|
:rtype: str
|
|
29166
29411
|
"""
|
|
@@ -29172,7 +29417,7 @@ class StopModelAccelerateTaskResponse(AbstractModel):
|
|
|
29172
29417
|
|
|
29173
29418
|
@property
|
|
29174
29419
|
def AsyncTaskId(self):
|
|
29175
|
-
r"""
|
|
29420
|
+
r"""<p>异步任务ID</p>
|
|
29176
29421
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
29177
29422
|
:rtype: str
|
|
29178
29423
|
"""
|
|
@@ -31752,7 +31997,7 @@ class UpdateDataSourceRequest(AbstractModel):
|
|
|
31752
31997
|
|
|
31753
31998
|
def __init__(self):
|
|
31754
31999
|
r"""
|
|
31755
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
32000
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
31756
32001
|
:type TiProjectId: str
|
|
31757
32002
|
:param _Id: 数据源ID
|
|
31758
32003
|
:type Id: str
|
|
@@ -31771,7 +32016,7 @@ class UpdateDataSourceRequest(AbstractModel):
|
|
|
31771
32016
|
|
|
31772
32017
|
@property
|
|
31773
32018
|
def TiProjectId(self):
|
|
31774
|
-
r"""<p>TI工作空间ID</p><p
|
|
32019
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
31775
32020
|
:rtype: str
|
|
31776
32021
|
"""
|
|
31777
32022
|
return self._TiProjectId
|
|
@@ -31884,7 +32129,7 @@ class UpdateMountLimitRequest(AbstractModel):
|
|
|
31884
32129
|
:type StorageId: str
|
|
31885
32130
|
:param _LimitMount: 限制开关是否开启,只有开启时才有限制,默认关闭
|
|
31886
32131
|
:type LimitMount: bool
|
|
31887
|
-
:param _TiProjectId: <p>TI工作空间ID</p><p
|
|
32132
|
+
:param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
31888
32133
|
:type TiProjectId: str
|
|
31889
32134
|
"""
|
|
31890
32135
|
self._Type = None
|
|
@@ -31927,7 +32172,7 @@ class UpdateMountLimitRequest(AbstractModel):
|
|
|
31927
32172
|
|
|
31928
32173
|
@property
|
|
31929
32174
|
def TiProjectId(self):
|
|
31930
|
-
r"""<p>TI工作空间ID</p><p
|
|
32175
|
+
r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
|
|
31931
32176
|
:rtype: str
|
|
31932
32177
|
"""
|
|
31933
32178
|
return self._TiProjectId
|
|
@@ -213,6 +213,29 @@ class TioneClient(AbstractClient):
|
|
|
213
213
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
214
214
|
|
|
215
215
|
|
|
216
|
+
def CreateNotebookImage(self, request):
|
|
217
|
+
r"""保存镜像
|
|
218
|
+
|
|
219
|
+
:param request: Request instance for CreateNotebookImage.
|
|
220
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.CreateNotebookImageRequest`
|
|
221
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CreateNotebookImageResponse`
|
|
222
|
+
|
|
223
|
+
"""
|
|
224
|
+
try:
|
|
225
|
+
params = request._serialize()
|
|
226
|
+
headers = request.headers
|
|
227
|
+
body = self.call("CreateNotebookImage", params, headers=headers)
|
|
228
|
+
response = json.loads(body)
|
|
229
|
+
model = models.CreateNotebookImageResponse()
|
|
230
|
+
model._deserialize(response["Response"])
|
|
231
|
+
return model
|
|
232
|
+
except Exception as e:
|
|
233
|
+
if isinstance(e, TencentCloudSDKException):
|
|
234
|
+
raise
|
|
235
|
+
else:
|
|
236
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
237
|
+
|
|
238
|
+
|
|
216
239
|
def CreatePresignedNotebookUrl(self, request):
|
|
217
240
|
r"""生成Notebook访问链接
|
|
218
241
|
|
|
@@ -172,6 +172,24 @@ class TioneClient(AbstractClient):
|
|
|
172
172
|
|
|
173
173
|
return await self.call_and_deserialize(**kwargs)
|
|
174
174
|
|
|
175
|
+
async def CreateNotebookImage(
|
|
176
|
+
self,
|
|
177
|
+
request: models.CreateNotebookImageRequest,
|
|
178
|
+
opts: Dict = None,
|
|
179
|
+
) -> models.CreateNotebookImageResponse:
|
|
180
|
+
"""
|
|
181
|
+
保存镜像
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
kwargs = {}
|
|
185
|
+
kwargs["action"] = "CreateNotebookImage"
|
|
186
|
+
kwargs["params"] = request._serialize()
|
|
187
|
+
kwargs["resp_cls"] = models.CreateNotebookImageResponse
|
|
188
|
+
kwargs["headers"] = request.headers
|
|
189
|
+
kwargs["opts"] = opts or {}
|
|
190
|
+
|
|
191
|
+
return await self.call_and_deserialize(**kwargs)
|
|
192
|
+
|
|
175
193
|
async def CreatePresignedNotebookUrl(
|
|
176
194
|
self,
|
|
177
195
|
request: models.CreatePresignedNotebookUrlRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.189
|
|
4
4
|
Summary: Tencent Cloud Tione SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.188
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|