tencentcloud-sdk-python 3.0.1080__py2.py3-none-any.whl → 3.0.1082__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/models.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/errorcodes.py +3 -0
- tencentcloud/cdb/v20170320/models.py +38 -1
- tencentcloud/cdwdoris/v20211228/models.py +39 -0
- tencentcloud/cfs/v20190719/models.py +10 -3
- tencentcloud/cfw/v20190904/models.py +316 -26
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +440 -0
- tencentcloud/dasb/v20191018/models.py +26 -0
- tencentcloud/emr/v20190103/models.py +26 -0
- tencentcloud/es/v20180416/models.py +12 -0
- tencentcloud/ess/v20201111/ess_client.py +36 -2
- tencentcloud/ess/v20201111/models.py +145 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +119 -8
- tencentcloud/facefusion/v20181201/errorcodes.py +0 -33
- tencentcloud/facefusion/v20181201/facefusion_client.py +0 -25
- tencentcloud/facefusion/v20181201/models.py +0 -153
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
- tencentcloud/iotvideo/v20211125/models.py +99 -0
- tencentcloud/kms/v20190118/models.py +1 -1
- tencentcloud/monitor/v20180724/models.py +26 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/partners/v20180321/models.py +13 -0
- tencentcloud/postgres/v20170312/models.py +5 -5
- tencentcloud/rum/v20210622/models.py +0 -619
- tencentcloud/rum/v20210622/rum_client.py +0 -104
- tencentcloud/scf/v20180416/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +102 -10
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +53 -34
- tencentcloud/tione/v20211111/tione_client.py +6 -6
- tencentcloud/tke/v20220501/__init__.py +0 -0
- tencentcloud/tke/v20220501/errorcodes.py +60 -0
- tencentcloud/tke/v20220501/models.py +2306 -0
- tencentcloud/tke/v20220501/tke_client.py +72 -0
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trtc/v20190722/models.py +15 -3
- tencentcloud/trtc/v20190722/trtc_client.py +2 -2
- tencentcloud/tse/v20201207/tse_client.py +2 -2
- tencentcloud/ump/v20200918/ump_client.py +48 -16
- tencentcloud/vod/v20180717/models.py +67 -0
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/waf/v20180125/models.py +710 -162
- tencentcloud/waf/v20180125/waf_client.py +6 -7
- tencentcloud/wedata/v20210820/models.py +77152 -44096
- tencentcloud/wedata/v20210820/wedata_client.py +4504 -1488
- {tencentcloud_sdk_python-3.0.1080.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1080.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/RECORD +56 -52
- {tencentcloud_sdk_python-3.0.1080.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1080.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1080.dist-info → tencentcloud_sdk_python-3.0.1082.dist-info}/top_level.txt +0 -0
|
@@ -26,33 +26,6 @@ class RumClient(AbstractClient):
|
|
|
26
26
|
_service = 'rum'
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
def CreateLogExport(self, request):
|
|
30
|
-
"""接口请求域名: rum.tencentcloudapi.com 。
|
|
31
|
-
|
|
32
|
-
本接口用于创建日志下载任务
|
|
33
|
-
|
|
34
|
-
默认接口请求频率限制:20次/秒。
|
|
35
|
-
|
|
36
|
-
:param request: Request instance for CreateLogExport.
|
|
37
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.CreateLogExportRequest`
|
|
38
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.CreateLogExportResponse`
|
|
39
|
-
|
|
40
|
-
"""
|
|
41
|
-
try:
|
|
42
|
-
params = request._serialize()
|
|
43
|
-
headers = request.headers
|
|
44
|
-
body = self.call("CreateLogExport", params, headers=headers)
|
|
45
|
-
response = json.loads(body)
|
|
46
|
-
model = models.CreateLogExportResponse()
|
|
47
|
-
model._deserialize(response["Response"])
|
|
48
|
-
return model
|
|
49
|
-
except Exception as e:
|
|
50
|
-
if isinstance(e, TencentCloudSDKException):
|
|
51
|
-
raise
|
|
52
|
-
else:
|
|
53
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
54
|
-
|
|
55
|
-
|
|
56
29
|
def CreateProject(self, request):
|
|
57
30
|
"""创建 RUM 应用(归属于某个团队)
|
|
58
31
|
|
|
@@ -191,33 +164,6 @@ class RumClient(AbstractClient):
|
|
|
191
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
192
165
|
|
|
193
166
|
|
|
194
|
-
def DeleteLogExport(self, request):
|
|
195
|
-
"""接口请求域名: rum.tencentcloudapi.com 。
|
|
196
|
-
|
|
197
|
-
本接口用于删除日志下载任务
|
|
198
|
-
|
|
199
|
-
默认接口请求频率限制:20次/秒。
|
|
200
|
-
|
|
201
|
-
:param request: Request instance for DeleteLogExport.
|
|
202
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.DeleteLogExportRequest`
|
|
203
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.DeleteLogExportResponse`
|
|
204
|
-
|
|
205
|
-
"""
|
|
206
|
-
try:
|
|
207
|
-
params = request._serialize()
|
|
208
|
-
headers = request.headers
|
|
209
|
-
body = self.call("DeleteLogExport", params, headers=headers)
|
|
210
|
-
response = json.loads(body)
|
|
211
|
-
model = models.DeleteLogExportResponse()
|
|
212
|
-
model._deserialize(response["Response"])
|
|
213
|
-
return model
|
|
214
|
-
except Exception as e:
|
|
215
|
-
if isinstance(e, TencentCloudSDKException):
|
|
216
|
-
raise
|
|
217
|
-
else:
|
|
218
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
219
|
-
|
|
220
|
-
|
|
221
167
|
def DeleteProject(self, request):
|
|
222
168
|
"""删除给定的 rum 的项目
|
|
223
169
|
|
|
@@ -840,56 +786,6 @@ class RumClient(AbstractClient):
|
|
|
840
786
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
841
787
|
|
|
842
788
|
|
|
843
|
-
def DescribeLogExports(self, request):
|
|
844
|
-
"""接口请求域名: rum.tencentcloudapi.com 。
|
|
845
|
-
|
|
846
|
-
本接口用于获取日志下载任务列表
|
|
847
|
-
|
|
848
|
-
默认接口请求频率限制:20次/秒
|
|
849
|
-
|
|
850
|
-
:param request: Request instance for DescribeLogExports.
|
|
851
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.DescribeLogExportsRequest`
|
|
852
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.DescribeLogExportsResponse`
|
|
853
|
-
|
|
854
|
-
"""
|
|
855
|
-
try:
|
|
856
|
-
params = request._serialize()
|
|
857
|
-
headers = request.headers
|
|
858
|
-
body = self.call("DescribeLogExports", params, headers=headers)
|
|
859
|
-
response = json.loads(body)
|
|
860
|
-
model = models.DescribeLogExportsResponse()
|
|
861
|
-
model._deserialize(response["Response"])
|
|
862
|
-
return model
|
|
863
|
-
except Exception as e:
|
|
864
|
-
if isinstance(e, TencentCloudSDKException):
|
|
865
|
-
raise
|
|
866
|
-
else:
|
|
867
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
def DescribeLogList(self, request):
|
|
871
|
-
"""(已下线,请用DescribeRumLogList)
|
|
872
|
-
|
|
873
|
-
:param request: Request instance for DescribeLogList.
|
|
874
|
-
:type request: :class:`tencentcloud.rum.v20210622.models.DescribeLogListRequest`
|
|
875
|
-
:rtype: :class:`tencentcloud.rum.v20210622.models.DescribeLogListResponse`
|
|
876
|
-
|
|
877
|
-
"""
|
|
878
|
-
try:
|
|
879
|
-
params = request._serialize()
|
|
880
|
-
headers = request.headers
|
|
881
|
-
body = self.call("DescribeLogList", params, headers=headers)
|
|
882
|
-
response = json.loads(body)
|
|
883
|
-
model = models.DescribeLogListResponse()
|
|
884
|
-
model._deserialize(response["Response"])
|
|
885
|
-
return model
|
|
886
|
-
except Exception as e:
|
|
887
|
-
if isinstance(e, TencentCloudSDKException):
|
|
888
|
-
raise
|
|
889
|
-
else:
|
|
890
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
891
|
-
|
|
892
|
-
|
|
893
789
|
def DescribeProjectLimits(self, request):
|
|
894
790
|
"""获取应用上报抽样信息
|
|
895
791
|
|
|
@@ -44,6 +44,9 @@ FAILEDOPERATION_CALLROLEFAILED = 'FailedOperation.CallRoleFailed'
|
|
|
44
44
|
# CLS服务未注册。
|
|
45
45
|
FAILEDOPERATION_CLSSERVICEUNREGISTERED = 'FailedOperation.ClsServiceUnregistered'
|
|
46
46
|
|
|
47
|
+
# 函数集群不存在。
|
|
48
|
+
FAILEDOPERATION_CLUSTERNOTFOUND = 'FailedOperation.ClusterNotFound'
|
|
49
|
+
|
|
47
50
|
# CopyAsyncRun 传参异常。
|
|
48
51
|
FAILEDOPERATION_COPYASYNCRUN = 'FailedOperation.CopyAsyncRun'
|
|
49
52
|
|
|
@@ -1119,6 +1119,27 @@ class CloudBaseProjectVersion(AbstractModel):
|
|
|
1119
1119
|
:param _BuildPercent: ci部署进度(%)
|
|
1120
1120
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1121
1121
|
:type BuildPercent: int
|
|
1122
|
+
:param _Uin: Uin
|
|
1123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1124
|
+
:type Uin: str
|
|
1125
|
+
:param _BuildFinishTime: BuildFinishTime
|
|
1126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1127
|
+
:type BuildFinishTime: str
|
|
1128
|
+
:param _DeployFinishTime: DeployFinishTime
|
|
1129
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1130
|
+
:type DeployFinishTime: str
|
|
1131
|
+
:param _BuildId: BuildId
|
|
1132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1133
|
+
:type BuildId: str
|
|
1134
|
+
:param _SourceUrl: SourceUrl
|
|
1135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1136
|
+
:type SourceUrl: str
|
|
1137
|
+
:param _FailReasonShort: FailReasonShort
|
|
1138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1139
|
+
:type FailReasonShort: str
|
|
1140
|
+
:param _FirstInitRepo: FirstInitRepo
|
|
1141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1142
|
+
:type FirstInitRepo: str
|
|
1122
1143
|
"""
|
|
1123
1144
|
self._Name = None
|
|
1124
1145
|
self._Sam = None
|
|
@@ -1142,6 +1163,13 @@ class CloudBaseProjectVersion(AbstractModel):
|
|
|
1142
1163
|
self._RepoUrl = None
|
|
1143
1164
|
self._AutoDeployOnCodeChange = None
|
|
1144
1165
|
self._BuildPercent = None
|
|
1166
|
+
self._Uin = None
|
|
1167
|
+
self._BuildFinishTime = None
|
|
1168
|
+
self._DeployFinishTime = None
|
|
1169
|
+
self._BuildId = None
|
|
1170
|
+
self._SourceUrl = None
|
|
1171
|
+
self._FailReasonShort = None
|
|
1172
|
+
self._FirstInitRepo = None
|
|
1145
1173
|
|
|
1146
1174
|
@property
|
|
1147
1175
|
def Name(self):
|
|
@@ -1319,6 +1347,62 @@ class CloudBaseProjectVersion(AbstractModel):
|
|
|
1319
1347
|
def BuildPercent(self, BuildPercent):
|
|
1320
1348
|
self._BuildPercent = BuildPercent
|
|
1321
1349
|
|
|
1350
|
+
@property
|
|
1351
|
+
def Uin(self):
|
|
1352
|
+
return self._Uin
|
|
1353
|
+
|
|
1354
|
+
@Uin.setter
|
|
1355
|
+
def Uin(self, Uin):
|
|
1356
|
+
self._Uin = Uin
|
|
1357
|
+
|
|
1358
|
+
@property
|
|
1359
|
+
def BuildFinishTime(self):
|
|
1360
|
+
return self._BuildFinishTime
|
|
1361
|
+
|
|
1362
|
+
@BuildFinishTime.setter
|
|
1363
|
+
def BuildFinishTime(self, BuildFinishTime):
|
|
1364
|
+
self._BuildFinishTime = BuildFinishTime
|
|
1365
|
+
|
|
1366
|
+
@property
|
|
1367
|
+
def DeployFinishTime(self):
|
|
1368
|
+
return self._DeployFinishTime
|
|
1369
|
+
|
|
1370
|
+
@DeployFinishTime.setter
|
|
1371
|
+
def DeployFinishTime(self, DeployFinishTime):
|
|
1372
|
+
self._DeployFinishTime = DeployFinishTime
|
|
1373
|
+
|
|
1374
|
+
@property
|
|
1375
|
+
def BuildId(self):
|
|
1376
|
+
return self._BuildId
|
|
1377
|
+
|
|
1378
|
+
@BuildId.setter
|
|
1379
|
+
def BuildId(self, BuildId):
|
|
1380
|
+
self._BuildId = BuildId
|
|
1381
|
+
|
|
1382
|
+
@property
|
|
1383
|
+
def SourceUrl(self):
|
|
1384
|
+
return self._SourceUrl
|
|
1385
|
+
|
|
1386
|
+
@SourceUrl.setter
|
|
1387
|
+
def SourceUrl(self, SourceUrl):
|
|
1388
|
+
self._SourceUrl = SourceUrl
|
|
1389
|
+
|
|
1390
|
+
@property
|
|
1391
|
+
def FailReasonShort(self):
|
|
1392
|
+
return self._FailReasonShort
|
|
1393
|
+
|
|
1394
|
+
@FailReasonShort.setter
|
|
1395
|
+
def FailReasonShort(self, FailReasonShort):
|
|
1396
|
+
self._FailReasonShort = FailReasonShort
|
|
1397
|
+
|
|
1398
|
+
@property
|
|
1399
|
+
def FirstInitRepo(self):
|
|
1400
|
+
return self._FirstInitRepo
|
|
1401
|
+
|
|
1402
|
+
@FirstInitRepo.setter
|
|
1403
|
+
def FirstInitRepo(self, FirstInitRepo):
|
|
1404
|
+
self._FirstInitRepo = FirstInitRepo
|
|
1405
|
+
|
|
1322
1406
|
|
|
1323
1407
|
def _deserialize(self, params):
|
|
1324
1408
|
self._Name = params.get("Name")
|
|
@@ -1350,6 +1434,13 @@ class CloudBaseProjectVersion(AbstractModel):
|
|
|
1350
1434
|
self._RepoUrl = params.get("RepoUrl")
|
|
1351
1435
|
self._AutoDeployOnCodeChange = params.get("AutoDeployOnCodeChange")
|
|
1352
1436
|
self._BuildPercent = params.get("BuildPercent")
|
|
1437
|
+
self._Uin = params.get("Uin")
|
|
1438
|
+
self._BuildFinishTime = params.get("BuildFinishTime")
|
|
1439
|
+
self._DeployFinishTime = params.get("DeployFinishTime")
|
|
1440
|
+
self._BuildId = params.get("BuildId")
|
|
1441
|
+
self._SourceUrl = params.get("SourceUrl")
|
|
1442
|
+
self._FailReasonShort = params.get("FailReasonShort")
|
|
1443
|
+
self._FirstInitRepo = params.get("FirstInitRepo")
|
|
1353
1444
|
memeber_set = set(params.keys())
|
|
1354
1445
|
for name, value in vars(self).items():
|
|
1355
1446
|
property_name = name[1:]
|
|
@@ -7275,7 +7366,7 @@ class DescribeCloudBaseBuildServiceResponse(AbstractModel):
|
|
|
7275
7366
|
r"""
|
|
7276
7367
|
:param _UploadUrl: 上传url
|
|
7277
7368
|
:type UploadUrl: str
|
|
7278
|
-
:param _UploadHeaders: 上传
|
|
7369
|
+
:param _UploadHeaders: 上传header
|
|
7279
7370
|
:type UploadHeaders: list of KVPair
|
|
7280
7371
|
:param _PackageName: 包名
|
|
7281
7372
|
:type PackageName: str
|
|
@@ -7564,9 +7655,9 @@ class DescribeCloudBaseProjectVersionListRequest(AbstractModel):
|
|
|
7564
7655
|
:type PageSize: int
|
|
7565
7656
|
:param _PageNum: 第几页,从0开始
|
|
7566
7657
|
:type PageNum: int
|
|
7567
|
-
:param _StartTime: 起始时间
|
|
7658
|
+
:param _StartTime: 起始时间
|
|
7568
7659
|
:type StartTime: str
|
|
7569
|
-
:param _EndTime: 终止时间
|
|
7660
|
+
:param _EndTime: 终止时间
|
|
7570
7661
|
:type EndTime: str
|
|
7571
7662
|
"""
|
|
7572
7663
|
self._EnvId = None
|
|
@@ -10182,8 +10273,8 @@ class DescribeCurveDataRequest(AbstractModel):
|
|
|
10182
10273
|
<li> FunctionDuration: 云函数运行时间, 单位毫秒 </li>
|
|
10183
10274
|
<li> DbRead: 数据库读请求数 </li>
|
|
10184
10275
|
<li> DbWrite: 数据库写请求数 </li>
|
|
10185
|
-
<li> DbCostTime10ms: 数据库耗时在10ms
|
|
10186
|
-
<li> DbCostTime50ms: 数据库耗时在50ms
|
|
10276
|
+
<li> DbCostTime10ms: 数据库耗时在10ms-50ms请求数 </li>
|
|
10277
|
+
<li> DbCostTime50ms: 数据库耗时在50ms-100ms请求数 </li>
|
|
10187
10278
|
<li> DbCostTime100ms: 数据库耗时在100ms以上请求数 </li>
|
|
10188
10279
|
<li> TkeCpuRatio: 容器CPU占用率 </li>
|
|
10189
10280
|
<li> TkeMemRatio: 容器内存占用率 </li>
|
|
@@ -10281,7 +10372,7 @@ class DescribeCurveDataResponse(AbstractModel):
|
|
|
10281
10372
|
:type MetricName: str
|
|
10282
10373
|
:param _Period: 统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天.
|
|
10283
10374
|
:type Period: int
|
|
10284
|
-
:param _Values: 有效的监控数据,
|
|
10375
|
+
:param _Values: 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到。
|
|
10285
10376
|
:type Values: list of int
|
|
10286
10377
|
:param _Time: 时间数据, 标识监控数据Values中的点是哪个时间段上报的.
|
|
10287
10378
|
:type Time: list of int
|
|
@@ -12032,14 +12123,14 @@ StorageWrite: 存储写请求次数
|
|
|
12032
12123
|
StorageCdnOriginFlux: CDN回源流量, 单位字节
|
|
12033
12124
|
CDNFlux: CDN回源流量, 单位字节
|
|
12034
12125
|
FunctionInvocation: 云函数调用次数
|
|
12035
|
-
FunctionGBs: 云函数资源使用量, 单位
|
|
12126
|
+
FunctionGBs: 云函数资源使用量, 单位MB*ms
|
|
12036
12127
|
FunctionFlux: 云函数流量, 单位千字节(KB)
|
|
12037
12128
|
FunctionError: 云函数调用错误次数
|
|
12038
12129
|
FunctionDuration: 云函数运行时间, 单位毫秒
|
|
12039
12130
|
DbRead: 数据库读请求数
|
|
12040
12131
|
DbWrite: 数据库写请求数
|
|
12041
|
-
DbCostTime10ms: 数据库耗时在10ms
|
|
12042
|
-
DbCostTime50ms: 数据库耗时在50ms
|
|
12132
|
+
DbCostTime10ms: 数据库耗时在10ms-50ms请求数
|
|
12133
|
+
DbCostTime50ms: 数据库耗时在50ms-100ms请求数
|
|
12043
12134
|
DbCostTime100ms: 数据库耗时在100ms以上请求数
|
|
12044
12135
|
TkeCpuRatio: 容器CPU占用率
|
|
12045
12136
|
TkeMemRatio: 容器内存占用率
|
|
@@ -12137,7 +12228,7 @@ class DescribeGraphDataResponse(AbstractModel):
|
|
|
12137
12228
|
:type MetricName: str
|
|
12138
12229
|
:param _Period: 统计周期(单位秒), 当时间区间为1天内, 统计周期为5分钟; 当时间区间选择为1天以上, 15天以下, 统计周期为1小时; 当时间区间选择为15天以上, 180天以下, 统计周期为1天.
|
|
12139
12230
|
:type Period: int
|
|
12140
|
-
:param _Values: 有效的监控数据,
|
|
12231
|
+
:param _Values: 有效的监控数据, 每个有效监控数据的上报时间可以从时间数组中的对应位置上获取到。
|
|
12141
12232
|
:type Values: list of float
|
|
12142
12233
|
:param _Time: 时间数据, 标识监控数据Values中的点是哪个时间段上报的.
|
|
12143
12234
|
:type Time: list of int
|
|
@@ -17766,6 +17857,7 @@ class RollUpdateCloudBaseRunServerVersionRequest(AbstractModel):
|
|
|
17766
17857
|
:param _MaxNum: 最大副本数
|
|
17767
17858
|
:type MaxNum: str
|
|
17768
17859
|
:param _PolicyType: 策略类型
|
|
17860
|
+
cpu/mem
|
|
17769
17861
|
:type PolicyType: str
|
|
17770
17862
|
:param _PolicyThreshold: 策略阈值
|
|
17771
17863
|
:type PolicyThreshold: str
|
|
@@ -287,6 +287,9 @@ INVALIDPARAMETER_VALIDATEERROR = 'InvalidParameter.ValidateError'
|
|
|
287
287
|
# 参数取值错误。
|
|
288
288
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
289
289
|
|
|
290
|
+
# 当前任务选择了平台CFS的内置代码,且未正确配置/opt/ml/output/data输出路径,任务无法提交
|
|
291
|
+
INVALIDPARAMETERVALUE_AIMARKETOUTPUTCONFIGEMPTY = 'InvalidParameterValue.AIMarketOutputConfigEmpty'
|
|
292
|
+
|
|
290
293
|
# AI市场公共算法版本Id不存在
|
|
291
294
|
INVALIDPARAMETERVALUE_AIMARKETPUBLICALGOVERSIONNOTEXIST = 'InvalidParameterValue.AIMarketPublicAlgoVersionNotExist'
|
|
292
295
|
|
|
@@ -380,6 +383,9 @@ INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = 'In
|
|
|
380
383
|
# 分页查询limit超出限制
|
|
381
384
|
INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = 'InvalidParameterValue.PageLimitExceeded'
|
|
382
385
|
|
|
386
|
+
# 查询vpc信息失败
|
|
387
|
+
INVALIDPARAMETERVALUE_QUERYVPCINFOFAILED = 'InvalidParameterValue.QueryVPCInfoFailed'
|
|
388
|
+
|
|
383
389
|
# RDMA配置不合法
|
|
384
390
|
INVALIDPARAMETERVALUE_RDMACONFIGILLEGAL = 'InvalidParameterValue.RDMAConfigIllegal'
|
|
385
391
|
|
|
@@ -443,6 +449,9 @@ OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = 'OperationDenied.ResourceGroupInsuff
|
|
|
443
449
|
# 子网不合法。
|
|
444
450
|
OPERATIONDENIED_SUBNETILLEGAL = 'OperationDenied.SubnetIllegal'
|
|
445
451
|
|
|
452
|
+
# 太极应用组存量资源不足,不满足训练要求
|
|
453
|
+
OPERATIONDENIED_TAIJIAPPLICATIONGROUPINSUFFICIENT = 'OperationDenied.TAIJIApplicationGroupInsufficient'
|
|
454
|
+
|
|
446
455
|
# 白名单免费配额不足。
|
|
447
456
|
OPERATIONDENIED_WHITELISTQUOTAEXCEED = 'OperationDenied.WhitelistQuotaExceed'
|
|
448
457
|
|
|
@@ -339,15 +339,15 @@ class BatchModelAccTask(AbstractModel):
|
|
|
339
339
|
|
|
340
340
|
|
|
341
341
|
class BatchTaskDetail(AbstractModel):
|
|
342
|
-
"""
|
|
342
|
+
"""批量预测任务详情
|
|
343
343
|
|
|
344
344
|
"""
|
|
345
345
|
|
|
346
346
|
def __init__(self):
|
|
347
347
|
r"""
|
|
348
|
-
:param _BatchTaskId:
|
|
348
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
349
349
|
:type BatchTaskId: str
|
|
350
|
-
:param _BatchTaskName:
|
|
350
|
+
:param _BatchTaskName: 批量预测任务名称
|
|
351
351
|
:type BatchTaskName: str
|
|
352
352
|
:param _Uin: 主账号uin
|
|
353
353
|
:type Uin: str
|
|
@@ -411,7 +411,12 @@ class BatchTaskDetail(AbstractModel):
|
|
|
411
411
|
:param _EndTime: 任务结束时间
|
|
412
412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
413
|
:type EndTime: str
|
|
414
|
-
:param _ChargeStatus:
|
|
414
|
+
:param _ChargeStatus: 计费状态,取值范围:
|
|
415
|
+
BILLING: 计费中
|
|
416
|
+
NOT_BILLING: 未计费
|
|
417
|
+
WHITELIST_USING: 白名单使用中
|
|
418
|
+
WHITELIST_STOP: 白名单到期
|
|
419
|
+
ARREARS_STOP: 欠费停止
|
|
415
420
|
:type ChargeStatus: str
|
|
416
421
|
:param _LatestInstanceId: 最近一次实例ID
|
|
417
422
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -893,9 +898,9 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
893
898
|
|
|
894
899
|
def __init__(self):
|
|
895
900
|
r"""
|
|
896
|
-
:param _BatchTaskId:
|
|
901
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
897
902
|
:type BatchTaskId: str
|
|
898
|
-
:param _BatchTaskName:
|
|
903
|
+
:param _BatchTaskName: 批量预测任务名称
|
|
899
904
|
:type BatchTaskName: str
|
|
900
905
|
:param _ModelInfo: 模型信息
|
|
901
906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -904,7 +909,12 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
904
909
|
:type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
|
|
905
910
|
:param _ChargeType: 计费模式
|
|
906
911
|
:type ChargeType: str
|
|
907
|
-
:param _ChargeStatus:
|
|
912
|
+
:param _ChargeStatus: 计费状态,取值范围:
|
|
913
|
+
BILLING: 计费中
|
|
914
|
+
NOT_BILLING: 未计费
|
|
915
|
+
WHITELIST_USING: 白名单使用中
|
|
916
|
+
WHITELIST_STOP: 白名单到期
|
|
917
|
+
ARREARS_STOP: 欠费停止
|
|
908
918
|
:type ChargeStatus: str
|
|
909
919
|
:param _ResourceGroupId: 包年包月资源组ID
|
|
910
920
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -914,20 +924,21 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
914
924
|
:param _Tags: 标签配置
|
|
915
925
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
916
926
|
:type Tags: list of Tag
|
|
917
|
-
:param _Status:
|
|
927
|
+
:param _Status: 任务状态, 取值范围:
|
|
928
|
+
INIT, STARTING, RUNNING, FAILED, STOPPING, STOPPED, SUCCEED
|
|
918
929
|
:type Status: str
|
|
919
930
|
:param _RuntimeInSeconds: 运行时长
|
|
920
931
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
921
932
|
:type RuntimeInSeconds: int
|
|
922
|
-
:param _CreateTime:
|
|
933
|
+
:param _CreateTime: 任务创建时间
|
|
923
934
|
:type CreateTime: str
|
|
924
|
-
:param _StartTime:
|
|
935
|
+
:param _StartTime: 任务开始运行时间
|
|
925
936
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
926
937
|
:type StartTime: str
|
|
927
|
-
:param _EndTime:
|
|
938
|
+
:param _EndTime: 任务结束时间
|
|
928
939
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
940
|
:type EndTime: str
|
|
930
|
-
:param _UpdateTime:
|
|
941
|
+
:param _UpdateTime: 任务更新时间
|
|
931
942
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
932
943
|
:type UpdateTime: str
|
|
933
944
|
:param _Outputs: 输出
|
|
@@ -937,7 +948,7 @@ class BatchTaskSetItem(AbstractModel):
|
|
|
937
948
|
:type ResourceGroupName: str
|
|
938
949
|
:param _FailureReason: 失败原因
|
|
939
950
|
:type FailureReason: str
|
|
940
|
-
:param _BillingInfo:
|
|
951
|
+
:param _BillingInfo: 按量计费信息
|
|
941
952
|
:type BillingInfo: str
|
|
942
953
|
"""
|
|
943
954
|
self._BatchTaskId = None
|
|
@@ -1891,13 +1902,13 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1891
1902
|
|
|
1892
1903
|
def __init__(self):
|
|
1893
1904
|
r"""
|
|
1894
|
-
:param _BatchTaskName:
|
|
1905
|
+
:param _BatchTaskName: 批量预测任务名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
1895
1906
|
:type BatchTaskName: str
|
|
1896
1907
|
:param _ChargeType: 计费模式,eg:PREPAID 包年包月;POSTPAID_BY_HOUR 按量计费
|
|
1897
1908
|
:type ChargeType: str
|
|
1898
1909
|
:param _ResourceConfigInfo: 资源配置
|
|
1899
1910
|
:type ResourceConfigInfo: :class:`tencentcloud.tione.v20211111.models.ResourceConfigInfo`
|
|
1900
|
-
:param _Outputs:
|
|
1911
|
+
:param _Outputs: 结果输出存储信息
|
|
1901
1912
|
:type Outputs: list of DataConfig
|
|
1902
1913
|
:param _LogEnable: 是否上报日志
|
|
1903
1914
|
:type LogEnable: bool
|
|
@@ -1992,18 +2003,26 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1992
2003
|
|
|
1993
2004
|
@property
|
|
1994
2005
|
def JobType(self):
|
|
2006
|
+
warnings.warn("parameter `JobType` is deprecated", DeprecationWarning)
|
|
2007
|
+
|
|
1995
2008
|
return self._JobType
|
|
1996
2009
|
|
|
1997
2010
|
@JobType.setter
|
|
1998
2011
|
def JobType(self, JobType):
|
|
2012
|
+
warnings.warn("parameter `JobType` is deprecated", DeprecationWarning)
|
|
2013
|
+
|
|
1999
2014
|
self._JobType = JobType
|
|
2000
2015
|
|
|
2001
2016
|
@property
|
|
2002
2017
|
def CronInfo(self):
|
|
2018
|
+
warnings.warn("parameter `CronInfo` is deprecated", DeprecationWarning)
|
|
2019
|
+
|
|
2003
2020
|
return self._CronInfo
|
|
2004
2021
|
|
|
2005
2022
|
@CronInfo.setter
|
|
2006
2023
|
def CronInfo(self, CronInfo):
|
|
2024
|
+
warnings.warn("parameter `CronInfo` is deprecated", DeprecationWarning)
|
|
2025
|
+
|
|
2007
2026
|
self._CronInfo = CronInfo
|
|
2008
2027
|
|
|
2009
2028
|
@property
|
|
@@ -2167,7 +2186,7 @@ class CreateBatchTaskResponse(AbstractModel):
|
|
|
2167
2186
|
|
|
2168
2187
|
def __init__(self):
|
|
2169
2188
|
r"""
|
|
2170
|
-
:param _BatchTaskId:
|
|
2189
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
2171
2190
|
:type BatchTaskId: str
|
|
2172
2191
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2173
2192
|
:type RequestId: str
|
|
@@ -5548,7 +5567,7 @@ class DeleteBatchTaskRequest(AbstractModel):
|
|
|
5548
5567
|
|
|
5549
5568
|
def __init__(self):
|
|
5550
5569
|
r"""
|
|
5551
|
-
:param _BatchTaskId:
|
|
5570
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
5552
5571
|
:type BatchTaskId: str
|
|
5553
5572
|
"""
|
|
5554
5573
|
self._BatchTaskId = None
|
|
@@ -6343,7 +6362,7 @@ class DescribeBatchTaskInstancesRequest(AbstractModel):
|
|
|
6343
6362
|
|
|
6344
6363
|
def __init__(self):
|
|
6345
6364
|
r"""
|
|
6346
|
-
:param _BatchTaskId:
|
|
6365
|
+
:param _BatchTaskId: 批量预测任务id
|
|
6347
6366
|
:type BatchTaskId: str
|
|
6348
6367
|
"""
|
|
6349
6368
|
self._BatchTaskId = None
|
|
@@ -6376,7 +6395,7 @@ class DescribeBatchTaskInstancesResponse(AbstractModel):
|
|
|
6376
6395
|
|
|
6377
6396
|
def __init__(self):
|
|
6378
6397
|
r"""
|
|
6379
|
-
:param _BatchInstances:
|
|
6398
|
+
:param _BatchInstances: 批量预测实例结果
|
|
6380
6399
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6381
6400
|
:type BatchInstances: list of BatchTaskInstance
|
|
6382
6401
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6419,7 +6438,7 @@ class DescribeBatchTaskRequest(AbstractModel):
|
|
|
6419
6438
|
|
|
6420
6439
|
def __init__(self):
|
|
6421
6440
|
r"""
|
|
6422
|
-
:param _BatchTaskId:
|
|
6441
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
6423
6442
|
:type BatchTaskId: str
|
|
6424
6443
|
"""
|
|
6425
6444
|
self._BatchTaskId = None
|
|
@@ -6452,7 +6471,7 @@ class DescribeBatchTaskResponse(AbstractModel):
|
|
|
6452
6471
|
|
|
6453
6472
|
def __init__(self):
|
|
6454
6473
|
r"""
|
|
6455
|
-
:param _BatchTaskDetail:
|
|
6474
|
+
:param _BatchTaskDetail: 批量预测任务详情
|
|
6456
6475
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6457
6476
|
:type BatchTaskDetail: :class:`tencentcloud.tione.v20211111.models.BatchTaskDetail`
|
|
6458
6477
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6492,24 +6511,24 @@ class DescribeBatchTasksRequest(AbstractModel):
|
|
|
6492
6511
|
|
|
6493
6512
|
def __init__(self):
|
|
6494
6513
|
r"""
|
|
6495
|
-
:param _Filters:
|
|
6514
|
+
:param _Filters: 过滤器
|
|
6496
6515
|
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
Status
|
|
6501
|
-
|
|
6502
|
-
CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
|
|
6516
|
+
Name支持的取值范围:
|
|
6517
|
+
BatchTaskId, BatchTaskName, Status, ModelVersionId
|
|
6518
|
+
|
|
6519
|
+
其中Status 的有效取值范围:
|
|
6520
|
+
INIT, STARTING, RUNNING, FAILED, STOPPING, STOPPED, SUCCEED
|
|
6503
6521
|
:type Filters: list of Filter
|
|
6504
|
-
:param _TagFilters:
|
|
6522
|
+
:param _TagFilters: 标签过滤器
|
|
6505
6523
|
:type TagFilters: list of TagFilter
|
|
6506
6524
|
:param _Offset: 偏移量,默认为0
|
|
6507
6525
|
:type Offset: int
|
|
6508
|
-
:param _Limit:
|
|
6526
|
+
:param _Limit: 限制数目,默认为20
|
|
6509
6527
|
:type Limit: int
|
|
6510
6528
|
:param _Order: 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
|
|
6511
6529
|
:type Order: str
|
|
6512
|
-
:param _OrderField:
|
|
6530
|
+
:param _OrderField: 排序字段。当前仅支持 "CreateTime"。
|
|
6531
|
+
不传此字段则按照DB默认排序结果返回
|
|
6513
6532
|
:type OrderField: str
|
|
6514
6533
|
"""
|
|
6515
6534
|
self._Filters = None
|
|
@@ -6602,9 +6621,9 @@ class DescribeBatchTasksResponse(AbstractModel):
|
|
|
6602
6621
|
|
|
6603
6622
|
def __init__(self):
|
|
6604
6623
|
r"""
|
|
6605
|
-
:param _TotalCount:
|
|
6624
|
+
:param _TotalCount: 批量预测任务总数
|
|
6606
6625
|
:type TotalCount: int
|
|
6607
|
-
:param _BatchTaskSet:
|
|
6626
|
+
:param _BatchTaskSet: 批量预测任务列表
|
|
6608
6627
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6609
6628
|
:type BatchTaskSet: list of BatchTaskSetItem
|
|
6610
6629
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20163,7 +20182,7 @@ class StopBatchTaskRequest(AbstractModel):
|
|
|
20163
20182
|
|
|
20164
20183
|
def __init__(self):
|
|
20165
20184
|
r"""
|
|
20166
|
-
:param _BatchTaskId:
|
|
20185
|
+
:param _BatchTaskId: 批量预测任务ID
|
|
20167
20186
|
:type BatchTaskId: str
|
|
20168
20187
|
"""
|
|
20169
20188
|
self._BatchTaskId = None
|
|
@@ -73,7 +73,7 @@ class TioneClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def CreateBatchTask(self, request):
|
|
76
|
-
"""
|
|
76
|
+
"""创建批量预测任务
|
|
77
77
|
|
|
78
78
|
:param request: Request instance for CreateBatchTask.
|
|
79
79
|
:type request: :class:`tencentcloud.tione.v20211111.models.CreateBatchTaskRequest`
|
|
@@ -257,7 +257,7 @@ class TioneClient(AbstractClient):
|
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
def DeleteBatchTask(self, request):
|
|
260
|
-
"""
|
|
260
|
+
"""删除批量预测任务
|
|
261
261
|
|
|
262
262
|
:param request: Request instance for DeleteBatchTask.
|
|
263
263
|
:type request: :class:`tencentcloud.tione.v20211111.models.DeleteBatchTaskRequest`
|
|
@@ -510,7 +510,7 @@ class TioneClient(AbstractClient):
|
|
|
510
510
|
|
|
511
511
|
|
|
512
512
|
def DescribeBatchTask(self, request):
|
|
513
|
-
"""
|
|
513
|
+
"""查询批量预测任务
|
|
514
514
|
|
|
515
515
|
:param request: Request instance for DescribeBatchTask.
|
|
516
516
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTaskRequest`
|
|
@@ -533,7 +533,7 @@ class TioneClient(AbstractClient):
|
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
def DescribeBatchTaskInstances(self, request):
|
|
536
|
-
"""
|
|
536
|
+
"""查询批量预测任务实例列表
|
|
537
537
|
|
|
538
538
|
:param request: Request instance for DescribeBatchTaskInstances.
|
|
539
539
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTaskInstancesRequest`
|
|
@@ -556,7 +556,7 @@ class TioneClient(AbstractClient):
|
|
|
556
556
|
|
|
557
557
|
|
|
558
558
|
def DescribeBatchTasks(self, request):
|
|
559
|
-
"""
|
|
559
|
+
"""查询批量预测任务列表信息
|
|
560
560
|
|
|
561
561
|
:param request: Request instance for DescribeBatchTasks.
|
|
562
562
|
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeBatchTasksRequest`
|
|
@@ -1614,7 +1614,7 @@ class TioneClient(AbstractClient):
|
|
|
1614
1614
|
|
|
1615
1615
|
|
|
1616
1616
|
def StopBatchTask(self, request):
|
|
1617
|
-
"""
|
|
1617
|
+
"""停止批量预测任务
|
|
1618
1618
|
|
|
1619
1619
|
:param request: Request instance for StopBatchTask.
|
|
1620
1620
|
:type request: :class:`tencentcloud.tione.v20211111.models.StopBatchTaskRequest`
|
|
File without changes
|