tencentcloud-sdk-python 3.0.1412__py2.py3-none-any.whl → 3.0.1413__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/ams/v20201229/models.py +2 -14
- tencentcloud/batch/v20170312/batch_client.py +23 -0
- tencentcloud/batch/v20170312/models.py +236 -0
- tencentcloud/bh/v20230418/models.py +424 -0
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/ccc/v20200210/models.py +17 -0
- tencentcloud/cdb/v20170320/cdb_client.py +6 -5
- tencentcloud/cdb/v20170320/models.py +50 -42
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/models.py +700 -0
- tencentcloud/cdwdoris/v20211228/models.py +36 -2
- tencentcloud/cfg/v20210820/models.py +123 -0
- tencentcloud/ckafka/v20190819/models.py +32 -2
- tencentcloud/csip/v20221121/csip_client.py +73 -4
- tencentcloud/csip/v20221121/models.py +1510 -227
- tencentcloud/cvm/v20170312/models.py +17 -4
- tencentcloud/dlc/v20210125/models.py +101 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/errorcodes.py +54 -0
- tencentcloud/emr/v20190103/models.py +1536 -98
- tencentcloud/ess/v20201111/models.py +57 -10
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +67 -2
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/igtm/__init__.py +0 -0
- tencentcloud/igtm/v20231024/__init__.py +0 -0
- tencentcloud/igtm/v20231024/errorcodes.py +264 -0
- tencentcloud/igtm/v20231024/igtm_client.py +555 -0
- tencentcloud/igtm/v20231024/models.py +6234 -0
- tencentcloud/ims/v20201229/models.py +0 -4
- tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +396 -0
- tencentcloud/iss/v20230517/models.py +17 -2
- tencentcloud/kms/v20190118/models.py +10 -22
- tencentcloud/mps/v20190612/models.py +82 -2
- tencentcloud/ocr/v20181119/models.py +247 -842
- tencentcloud/partners/v20180321/models.py +6 -2
- tencentcloud/securitylake/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/__init__.py +0 -0
- tencentcloud/securitylake/v20240117/errorcodes.py +75 -0
- tencentcloud/securitylake/v20240117/models.py +1152 -0
- tencentcloud/securitylake/v20240117/securitylake_client.py +49 -0
- tencentcloud/sms/v20190711/errorcodes.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/tcbr/v20220217/models.py +113 -0
- tencentcloud/tdmq/v20200217/models.py +437 -10
- tencentcloud/teo/v20220901/models.py +65 -50
- tencentcloud/teo/v20220901/teo_client.py +8 -2
- tencentcloud/tione/v20211111/models.py +491 -2
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +79 -54
- tencentcloud/trocket/v20230308/models.py +164 -162
- tencentcloud/trocket/v20230308/trocket_client.py +46 -18
- tencentcloud/tsf/v20180326/models.py +6363 -4491
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vdb/v20230616/models.py +75 -0
- tencentcloud/vm/v20210922/models.py +0 -8
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/wav/v20210129/models.py +6 -6
- tencentcloud/wedata/v20210820/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/RECORD +67 -57
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1412.dist-info → tencentcloud_sdk_python-3.0.1413.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,95 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class Attribute(AbstractModel):
|
22
|
+
"""镜像属性
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Type: 为‘List’时属性值取Values 否则取Value
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type Type: str
|
31
|
+
:param _Key: 属性key
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type Key: str
|
34
|
+
:param _Value: 属性值
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
:type Value: str
|
37
|
+
:param _Values: 属性值列表
|
38
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
:type Values: list of str
|
40
|
+
"""
|
41
|
+
self._Type = None
|
42
|
+
self._Key = None
|
43
|
+
self._Value = None
|
44
|
+
self._Values = None
|
45
|
+
|
46
|
+
@property
|
47
|
+
def Type(self):
|
48
|
+
"""为‘List’时属性值取Values 否则取Value
|
49
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._Type
|
53
|
+
|
54
|
+
@Type.setter
|
55
|
+
def Type(self, Type):
|
56
|
+
self._Type = Type
|
57
|
+
|
58
|
+
@property
|
59
|
+
def Key(self):
|
60
|
+
"""属性key
|
61
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._Key
|
65
|
+
|
66
|
+
@Key.setter
|
67
|
+
def Key(self, Key):
|
68
|
+
self._Key = Key
|
69
|
+
|
70
|
+
@property
|
71
|
+
def Value(self):
|
72
|
+
"""属性值
|
73
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._Value
|
77
|
+
|
78
|
+
@Value.setter
|
79
|
+
def Value(self, Value):
|
80
|
+
self._Value = Value
|
81
|
+
|
82
|
+
@property
|
83
|
+
def Values(self):
|
84
|
+
"""属性值列表
|
85
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
86
|
+
:rtype: list of str
|
87
|
+
"""
|
88
|
+
return self._Values
|
89
|
+
|
90
|
+
@Values.setter
|
91
|
+
def Values(self, Values):
|
92
|
+
self._Values = Values
|
93
|
+
|
94
|
+
|
95
|
+
def _deserialize(self, params):
|
96
|
+
self._Type = params.get("Type")
|
97
|
+
self._Key = params.get("Key")
|
98
|
+
self._Value = params.get("Value")
|
99
|
+
self._Values = params.get("Values")
|
100
|
+
memeber_set = set(params.keys())
|
101
|
+
for name, value in vars(self).items():
|
102
|
+
property_name = name[1:]
|
103
|
+
if property_name in memeber_set:
|
104
|
+
memeber_set.remove(property_name)
|
105
|
+
if len(memeber_set) > 0:
|
106
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
107
|
+
|
108
|
+
|
109
|
+
|
21
110
|
class AuthToken(AbstractModel):
|
22
111
|
"""在线服务的 AuthToken 数据
|
23
112
|
|
@@ -9113,6 +9202,140 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
9113
9202
|
self._RequestId = params.get("RequestId")
|
9114
9203
|
|
9115
9204
|
|
9205
|
+
class DescribePlatformImagesRequest(AbstractModel):
|
9206
|
+
"""DescribePlatformImages请求参数结构体
|
9207
|
+
|
9208
|
+
"""
|
9209
|
+
|
9210
|
+
def __init__(self):
|
9211
|
+
r"""
|
9212
|
+
:param _Filters: 过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
9213
|
+
:type Filters: list of Filter
|
9214
|
+
:param _Offset: 偏移信息
|
9215
|
+
:type Offset: int
|
9216
|
+
:param _Limit: 返回数量, 默认100
|
9217
|
+
:type Limit: int
|
9218
|
+
"""
|
9219
|
+
self._Filters = None
|
9220
|
+
self._Offset = None
|
9221
|
+
self._Limit = None
|
9222
|
+
|
9223
|
+
@property
|
9224
|
+
def Filters(self):
|
9225
|
+
"""过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
9226
|
+
:rtype: list of Filter
|
9227
|
+
"""
|
9228
|
+
return self._Filters
|
9229
|
+
|
9230
|
+
@Filters.setter
|
9231
|
+
def Filters(self, Filters):
|
9232
|
+
self._Filters = Filters
|
9233
|
+
|
9234
|
+
@property
|
9235
|
+
def Offset(self):
|
9236
|
+
"""偏移信息
|
9237
|
+
:rtype: int
|
9238
|
+
"""
|
9239
|
+
return self._Offset
|
9240
|
+
|
9241
|
+
@Offset.setter
|
9242
|
+
def Offset(self, Offset):
|
9243
|
+
self._Offset = Offset
|
9244
|
+
|
9245
|
+
@property
|
9246
|
+
def Limit(self):
|
9247
|
+
"""返回数量, 默认100
|
9248
|
+
:rtype: int
|
9249
|
+
"""
|
9250
|
+
return self._Limit
|
9251
|
+
|
9252
|
+
@Limit.setter
|
9253
|
+
def Limit(self, Limit):
|
9254
|
+
self._Limit = Limit
|
9255
|
+
|
9256
|
+
|
9257
|
+
def _deserialize(self, params):
|
9258
|
+
if params.get("Filters") is not None:
|
9259
|
+
self._Filters = []
|
9260
|
+
for item in params.get("Filters"):
|
9261
|
+
obj = Filter()
|
9262
|
+
obj._deserialize(item)
|
9263
|
+
self._Filters.append(obj)
|
9264
|
+
self._Offset = params.get("Offset")
|
9265
|
+
self._Limit = params.get("Limit")
|
9266
|
+
memeber_set = set(params.keys())
|
9267
|
+
for name, value in vars(self).items():
|
9268
|
+
property_name = name[1:]
|
9269
|
+
if property_name in memeber_set:
|
9270
|
+
memeber_set.remove(property_name)
|
9271
|
+
if len(memeber_set) > 0:
|
9272
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9273
|
+
|
9274
|
+
|
9275
|
+
|
9276
|
+
class DescribePlatformImagesResponse(AbstractModel):
|
9277
|
+
"""DescribePlatformImages返回参数结构体
|
9278
|
+
|
9279
|
+
"""
|
9280
|
+
|
9281
|
+
def __init__(self):
|
9282
|
+
r"""
|
9283
|
+
:param _TotalCount: 数量
|
9284
|
+
:type TotalCount: int
|
9285
|
+
:param _PlatformImageInfos: 镜像列表
|
9286
|
+
:type PlatformImageInfos: list of PlatformImageInfo
|
9287
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9288
|
+
:type RequestId: str
|
9289
|
+
"""
|
9290
|
+
self._TotalCount = None
|
9291
|
+
self._PlatformImageInfos = None
|
9292
|
+
self._RequestId = None
|
9293
|
+
|
9294
|
+
@property
|
9295
|
+
def TotalCount(self):
|
9296
|
+
"""数量
|
9297
|
+
:rtype: int
|
9298
|
+
"""
|
9299
|
+
return self._TotalCount
|
9300
|
+
|
9301
|
+
@TotalCount.setter
|
9302
|
+
def TotalCount(self, TotalCount):
|
9303
|
+
self._TotalCount = TotalCount
|
9304
|
+
|
9305
|
+
@property
|
9306
|
+
def PlatformImageInfos(self):
|
9307
|
+
"""镜像列表
|
9308
|
+
:rtype: list of PlatformImageInfo
|
9309
|
+
"""
|
9310
|
+
return self._PlatformImageInfos
|
9311
|
+
|
9312
|
+
@PlatformImageInfos.setter
|
9313
|
+
def PlatformImageInfos(self, PlatformImageInfos):
|
9314
|
+
self._PlatformImageInfos = PlatformImageInfos
|
9315
|
+
|
9316
|
+
@property
|
9317
|
+
def RequestId(self):
|
9318
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9319
|
+
:rtype: str
|
9320
|
+
"""
|
9321
|
+
return self._RequestId
|
9322
|
+
|
9323
|
+
@RequestId.setter
|
9324
|
+
def RequestId(self, RequestId):
|
9325
|
+
self._RequestId = RequestId
|
9326
|
+
|
9327
|
+
|
9328
|
+
def _deserialize(self, params):
|
9329
|
+
self._TotalCount = params.get("TotalCount")
|
9330
|
+
if params.get("PlatformImageInfos") is not None:
|
9331
|
+
self._PlatformImageInfos = []
|
9332
|
+
for item in params.get("PlatformImageInfos"):
|
9333
|
+
obj = PlatformImageInfo()
|
9334
|
+
obj._deserialize(item)
|
9335
|
+
self._PlatformImageInfos.append(obj)
|
9336
|
+
self._RequestId = params.get("RequestId")
|
9337
|
+
|
9338
|
+
|
9116
9339
|
class DescribeTrainingModelVersionRequest(AbstractModel):
|
9117
9340
|
"""DescribeTrainingModelVersion请求参数结构体
|
9118
9341
|
|
@@ -11482,9 +11705,10 @@ class Instance(AbstractModel):
|
|
11482
11705
|
DEPLOYING: 部署中
|
11483
11706
|
RUNNING: 运行中
|
11484
11707
|
DEPLOY_FAILED: 部署失败
|
11485
|
-
|
11708
|
+
RELEASING 释放中
|
11486
11709
|
RELEASED:已释放
|
11487
11710
|
EXCEPTION:异常
|
11711
|
+
DEBT_OR_EXPIRED: 欠费过期
|
11488
11712
|
注意:此字段可能返回 null,表示取不到有效值。
|
11489
11713
|
:type InstanceStatus: str
|
11490
11714
|
:param _SubUin: 创建人
|
@@ -11579,9 +11803,10 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期不
|
|
11579
11803
|
DEPLOYING: 部署中
|
11580
11804
|
RUNNING: 运行中
|
11581
11805
|
DEPLOY_FAILED: 部署失败
|
11582
|
-
|
11806
|
+
RELEASING 释放中
|
11583
11807
|
RELEASED:已释放
|
11584
11808
|
EXCEPTION:异常
|
11809
|
+
DEBT_OR_EXPIRED: 欠费过期
|
11585
11810
|
注意:此字段可能返回 null,表示取不到有效值。
|
11586
11811
|
:rtype: str
|
11587
11812
|
"""
|
@@ -15990,6 +16215,270 @@ class Option(AbstractModel):
|
|
15990
16215
|
|
15991
16216
|
|
15992
16217
|
|
16218
|
+
class PlatformImageInfo(AbstractModel):
|
16219
|
+
"""平台镜像信息详情
|
16220
|
+
|
16221
|
+
"""
|
16222
|
+
|
16223
|
+
def __init__(self):
|
16224
|
+
r"""
|
16225
|
+
:param _Framework: 框架名
|
16226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16227
|
+
:type Framework: str
|
16228
|
+
:param _ImageType: 镜像类型: ccr or tcr
|
16229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16230
|
+
:type ImageType: str
|
16231
|
+
:param _ImageUrl: 镜像地址
|
16232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16233
|
+
:type ImageUrl: str
|
16234
|
+
:param _RegistryRegion: TCR镜像示例所属地域
|
16235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16236
|
+
:type RegistryRegion: str
|
16237
|
+
:param _RegistryId: TCR镜像所属实例ID
|
16238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16239
|
+
:type RegistryId: str
|
16240
|
+
:param _ImageName: 镜像名称
|
16241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16242
|
+
:type ImageName: str
|
16243
|
+
:param _ImageId: 镜像Id
|
16244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16245
|
+
:type ImageId: str
|
16246
|
+
:param _FrameworkVersion: 框架版本
|
16247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16248
|
+
:type FrameworkVersion: str
|
16249
|
+
:param _SupportGpuList: 支持的gpu列表
|
16250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16251
|
+
:type SupportGpuList: list of str
|
16252
|
+
:param _Description: 描述信息
|
16253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16254
|
+
:type Description: str
|
16255
|
+
:param _ExtraAttributes: 业务属性
|
16256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16257
|
+
:type ExtraAttributes: list of Attribute
|
16258
|
+
:param _ImageRange: 镜像适用场景Train/Inference/Notebook
|
16259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16260
|
+
:type ImageRange: list of str
|
16261
|
+
:param _SupportDistributedDeploy: 是否支持分布式部署
|
16262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16263
|
+
:type SupportDistributedDeploy: bool
|
16264
|
+
:param _RegionScope: 支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)
|
16265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16266
|
+
:type RegionScope: str
|
16267
|
+
"""
|
16268
|
+
self._Framework = None
|
16269
|
+
self._ImageType = None
|
16270
|
+
self._ImageUrl = None
|
16271
|
+
self._RegistryRegion = None
|
16272
|
+
self._RegistryId = None
|
16273
|
+
self._ImageName = None
|
16274
|
+
self._ImageId = None
|
16275
|
+
self._FrameworkVersion = None
|
16276
|
+
self._SupportGpuList = None
|
16277
|
+
self._Description = None
|
16278
|
+
self._ExtraAttributes = None
|
16279
|
+
self._ImageRange = None
|
16280
|
+
self._SupportDistributedDeploy = None
|
16281
|
+
self._RegionScope = None
|
16282
|
+
|
16283
|
+
@property
|
16284
|
+
def Framework(self):
|
16285
|
+
"""框架名
|
16286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16287
|
+
:rtype: str
|
16288
|
+
"""
|
16289
|
+
return self._Framework
|
16290
|
+
|
16291
|
+
@Framework.setter
|
16292
|
+
def Framework(self, Framework):
|
16293
|
+
self._Framework = Framework
|
16294
|
+
|
16295
|
+
@property
|
16296
|
+
def ImageType(self):
|
16297
|
+
"""镜像类型: ccr or tcr
|
16298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16299
|
+
:rtype: str
|
16300
|
+
"""
|
16301
|
+
return self._ImageType
|
16302
|
+
|
16303
|
+
@ImageType.setter
|
16304
|
+
def ImageType(self, ImageType):
|
16305
|
+
self._ImageType = ImageType
|
16306
|
+
|
16307
|
+
@property
|
16308
|
+
def ImageUrl(self):
|
16309
|
+
"""镜像地址
|
16310
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16311
|
+
:rtype: str
|
16312
|
+
"""
|
16313
|
+
return self._ImageUrl
|
16314
|
+
|
16315
|
+
@ImageUrl.setter
|
16316
|
+
def ImageUrl(self, ImageUrl):
|
16317
|
+
self._ImageUrl = ImageUrl
|
16318
|
+
|
16319
|
+
@property
|
16320
|
+
def RegistryRegion(self):
|
16321
|
+
"""TCR镜像示例所属地域
|
16322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16323
|
+
:rtype: str
|
16324
|
+
"""
|
16325
|
+
return self._RegistryRegion
|
16326
|
+
|
16327
|
+
@RegistryRegion.setter
|
16328
|
+
def RegistryRegion(self, RegistryRegion):
|
16329
|
+
self._RegistryRegion = RegistryRegion
|
16330
|
+
|
16331
|
+
@property
|
16332
|
+
def RegistryId(self):
|
16333
|
+
"""TCR镜像所属实例ID
|
16334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16335
|
+
:rtype: str
|
16336
|
+
"""
|
16337
|
+
return self._RegistryId
|
16338
|
+
|
16339
|
+
@RegistryId.setter
|
16340
|
+
def RegistryId(self, RegistryId):
|
16341
|
+
self._RegistryId = RegistryId
|
16342
|
+
|
16343
|
+
@property
|
16344
|
+
def ImageName(self):
|
16345
|
+
"""镜像名称
|
16346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16347
|
+
:rtype: str
|
16348
|
+
"""
|
16349
|
+
return self._ImageName
|
16350
|
+
|
16351
|
+
@ImageName.setter
|
16352
|
+
def ImageName(self, ImageName):
|
16353
|
+
self._ImageName = ImageName
|
16354
|
+
|
16355
|
+
@property
|
16356
|
+
def ImageId(self):
|
16357
|
+
"""镜像Id
|
16358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16359
|
+
:rtype: str
|
16360
|
+
"""
|
16361
|
+
return self._ImageId
|
16362
|
+
|
16363
|
+
@ImageId.setter
|
16364
|
+
def ImageId(self, ImageId):
|
16365
|
+
self._ImageId = ImageId
|
16366
|
+
|
16367
|
+
@property
|
16368
|
+
def FrameworkVersion(self):
|
16369
|
+
"""框架版本
|
16370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16371
|
+
:rtype: str
|
16372
|
+
"""
|
16373
|
+
return self._FrameworkVersion
|
16374
|
+
|
16375
|
+
@FrameworkVersion.setter
|
16376
|
+
def FrameworkVersion(self, FrameworkVersion):
|
16377
|
+
self._FrameworkVersion = FrameworkVersion
|
16378
|
+
|
16379
|
+
@property
|
16380
|
+
def SupportGpuList(self):
|
16381
|
+
"""支持的gpu列表
|
16382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16383
|
+
:rtype: list of str
|
16384
|
+
"""
|
16385
|
+
return self._SupportGpuList
|
16386
|
+
|
16387
|
+
@SupportGpuList.setter
|
16388
|
+
def SupportGpuList(self, SupportGpuList):
|
16389
|
+
self._SupportGpuList = SupportGpuList
|
16390
|
+
|
16391
|
+
@property
|
16392
|
+
def Description(self):
|
16393
|
+
"""描述信息
|
16394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16395
|
+
:rtype: str
|
16396
|
+
"""
|
16397
|
+
return self._Description
|
16398
|
+
|
16399
|
+
@Description.setter
|
16400
|
+
def Description(self, Description):
|
16401
|
+
self._Description = Description
|
16402
|
+
|
16403
|
+
@property
|
16404
|
+
def ExtraAttributes(self):
|
16405
|
+
"""业务属性
|
16406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16407
|
+
:rtype: list of Attribute
|
16408
|
+
"""
|
16409
|
+
return self._ExtraAttributes
|
16410
|
+
|
16411
|
+
@ExtraAttributes.setter
|
16412
|
+
def ExtraAttributes(self, ExtraAttributes):
|
16413
|
+
self._ExtraAttributes = ExtraAttributes
|
16414
|
+
|
16415
|
+
@property
|
16416
|
+
def ImageRange(self):
|
16417
|
+
"""镜像适用场景Train/Inference/Notebook
|
16418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16419
|
+
:rtype: list of str
|
16420
|
+
"""
|
16421
|
+
return self._ImageRange
|
16422
|
+
|
16423
|
+
@ImageRange.setter
|
16424
|
+
def ImageRange(self, ImageRange):
|
16425
|
+
self._ImageRange = ImageRange
|
16426
|
+
|
16427
|
+
@property
|
16428
|
+
def SupportDistributedDeploy(self):
|
16429
|
+
"""是否支持分布式部署
|
16430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16431
|
+
:rtype: bool
|
16432
|
+
"""
|
16433
|
+
return self._SupportDistributedDeploy
|
16434
|
+
|
16435
|
+
@SupportDistributedDeploy.setter
|
16436
|
+
def SupportDistributedDeploy(self, SupportDistributedDeploy):
|
16437
|
+
self._SupportDistributedDeploy = SupportDistributedDeploy
|
16438
|
+
|
16439
|
+
@property
|
16440
|
+
def RegionScope(self):
|
16441
|
+
"""支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)
|
16442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16443
|
+
:rtype: str
|
16444
|
+
"""
|
16445
|
+
return self._RegionScope
|
16446
|
+
|
16447
|
+
@RegionScope.setter
|
16448
|
+
def RegionScope(self, RegionScope):
|
16449
|
+
self._RegionScope = RegionScope
|
16450
|
+
|
16451
|
+
|
16452
|
+
def _deserialize(self, params):
|
16453
|
+
self._Framework = params.get("Framework")
|
16454
|
+
self._ImageType = params.get("ImageType")
|
16455
|
+
self._ImageUrl = params.get("ImageUrl")
|
16456
|
+
self._RegistryRegion = params.get("RegistryRegion")
|
16457
|
+
self._RegistryId = params.get("RegistryId")
|
16458
|
+
self._ImageName = params.get("ImageName")
|
16459
|
+
self._ImageId = params.get("ImageId")
|
16460
|
+
self._FrameworkVersion = params.get("FrameworkVersion")
|
16461
|
+
self._SupportGpuList = params.get("SupportGpuList")
|
16462
|
+
self._Description = params.get("Description")
|
16463
|
+
if params.get("ExtraAttributes") is not None:
|
16464
|
+
self._ExtraAttributes = []
|
16465
|
+
for item in params.get("ExtraAttributes"):
|
16466
|
+
obj = Attribute()
|
16467
|
+
obj._deserialize(item)
|
16468
|
+
self._ExtraAttributes.append(obj)
|
16469
|
+
self._ImageRange = params.get("ImageRange")
|
16470
|
+
self._SupportDistributedDeploy = params.get("SupportDistributedDeploy")
|
16471
|
+
self._RegionScope = params.get("RegionScope")
|
16472
|
+
memeber_set = set(params.keys())
|
16473
|
+
for name, value in vars(self).items():
|
16474
|
+
property_name = name[1:]
|
16475
|
+
if property_name in memeber_set:
|
16476
|
+
memeber_set.remove(property_name)
|
16477
|
+
if len(memeber_set) > 0:
|
16478
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16479
|
+
|
16480
|
+
|
16481
|
+
|
15993
16482
|
class Pod(AbstractModel):
|
15994
16483
|
"""Pod信息展示
|
15995
16484
|
|
@@ -836,6 +836,29 @@ class TioneClient(AbstractClient):
|
|
836
836
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
837
837
|
|
838
838
|
|
839
|
+
def DescribePlatformImages(self, request):
|
840
|
+
"""查询平台镜像信息
|
841
|
+
|
842
|
+
:param request: Request instance for DescribePlatformImages.
|
843
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.DescribePlatformImagesRequest`
|
844
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.DescribePlatformImagesResponse`
|
845
|
+
|
846
|
+
"""
|
847
|
+
try:
|
848
|
+
params = request._serialize()
|
849
|
+
headers = request.headers
|
850
|
+
body = self.call("DescribePlatformImages", params, headers=headers)
|
851
|
+
response = json.loads(body)
|
852
|
+
model = models.DescribePlatformImagesResponse()
|
853
|
+
model._deserialize(response["Response"])
|
854
|
+
return model
|
855
|
+
except Exception as e:
|
856
|
+
if isinstance(e, TencentCloudSDKException):
|
857
|
+
raise
|
858
|
+
else:
|
859
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
860
|
+
|
861
|
+
|
839
862
|
def DescribeTrainingModelVersion(self, request):
|
840
863
|
"""查询模型版本
|
841
864
|
|