tencentcloud-sdk-python 3.0.1079__py2.py3-none-any.whl → 3.0.1081__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.

Files changed (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/models.py +1 -1
  3. tencentcloud/cfs/v20190719/models.py +10 -3
  4. tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. tencentcloud/csip/v20221121/models.py +209 -0
  6. tencentcloud/ess/v20201111/ess_client.py +2 -1
  7. tencentcloud/facefusion/v20181201/errorcodes.py +0 -33
  8. tencentcloud/facefusion/v20181201/facefusion_client.py +0 -25
  9. tencentcloud/facefusion/v20181201/models.py +0 -153
  10. tencentcloud/hunyuan/v20230901/hunyuan_client.py +2 -2
  11. tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
  12. tencentcloud/iotvideo/v20211125/models.py +99 -0
  13. tencentcloud/live/v20180801/models.py +29 -0
  14. tencentcloud/partners/v20180321/models.py +13 -0
  15. tencentcloud/redis/v20180412/models.py +16 -12
  16. tencentcloud/redis/v20180412/redis_client.py +1 -1
  17. tencentcloud/rum/v20210622/models.py +0 -619
  18. tencentcloud/rum/v20210622/rum_client.py +0 -104
  19. tencentcloud/tcb/v20180608/models.py +102 -10
  20. tencentcloud/tke/v20180525/tke_client.py +1 -1
  21. tencentcloud/tke/v20220501/__init__.py +0 -0
  22. tencentcloud/tke/v20220501/errorcodes.py +60 -0
  23. tencentcloud/tke/v20220501/models.py +2306 -0
  24. tencentcloud/tke/v20220501/tke_client.py +72 -0
  25. tencentcloud/trocket/v20230308/errorcodes.py +6 -0
  26. tencentcloud/trocket/v20230308/models.py +4817 -1873
  27. tencentcloud/trocket/v20230308/trocket_client.py +512 -0
  28. tencentcloud/tse/v20201207/tse_client.py +2 -2
  29. tencentcloud/ump/v20200918/ump_client.py +51 -17
  30. tencentcloud/vod/v20180717/vod_client.py +1 -0
  31. tencentcloud/wedata/v20210820/models.py +31 -0
  32. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  33. {tencentcloud_sdk_python-3.0.1079.dist-info → tencentcloud_sdk_python-3.0.1081.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1079.dist-info → tencentcloud_sdk_python-3.0.1081.dist-info}/RECORD +37 -33
  35. {tencentcloud_sdk_python-3.0.1079.dist-info → tencentcloud_sdk_python-3.0.1081.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1079.dist-info → tencentcloud_sdk_python-3.0.1081.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1079.dist-info → tencentcloud_sdk_python-3.0.1081.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
 
@@ -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: 上传heder
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: 起始时间 2021-03-27 12:00:00
7658
+ :param _StartTime: 起始时间
7568
7659
  :type StartTime: str
7569
- :param _EndTime: 终止时间 2021-03-27 12:00:00
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~50ms请求数 </li>
10186
- <li> DbCostTime50ms: 数据库耗时在50ms~100ms请求数 </li>
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: 云函数资源使用量, 单位Mb*Ms
12126
+ FunctionGBs: 云函数资源使用量, 单位MB*ms
12036
12127
  FunctionFlux: 云函数流量, 单位千字节(KB)
12037
12128
  FunctionError: 云函数调用错误次数
12038
12129
  FunctionDuration: 云函数运行时间, 单位毫秒
12039
12130
  DbRead: 数据库读请求数
12040
12131
  DbWrite: 数据库写请求数
12041
- DbCostTime10ms: 数据库耗时在10ms~50ms请求数
12042
- DbCostTime50ms: 数据库耗时在50ms~100ms请求数
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
@@ -50,7 +50,7 @@ class TkeClient(AbstractClient):
50
50
 
51
51
 
52
52
  def AddClusterCIDR(self, request):
53
- """给GR集群增加可用的ClusterCIDR
53
+ """给GR集群增加可用的ClusterCIDR(开白才能使用此功能,如需要请联系我们)
54
54
 
55
55
  :param request: Request instance for AddClusterCIDR.
56
56
  :type request: :class:`tencentcloud.tke.v20180525.models.AddClusterCIDRRequest`
File without changes
@@ -0,0 +1,60 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+ # 操作失败。
18
+ FAILEDOPERATION = 'FailedOperation'
19
+
20
+ # 内部错误。
21
+ INTERNALERROR = 'InternalError'
22
+
23
+ # db错误。
24
+ INTERNALERROR_DB = 'InternalError.Db'
25
+
26
+ # DB错误。
27
+ INTERNALERROR_DBAFFECTIVEDROWS = 'InternalError.DbAffectivedRows'
28
+
29
+ # 记录未找到。
30
+ INTERNALERROR_DBRECORDNOTFOUND = 'InternalError.DbRecordNotFound'
31
+
32
+ # 初始化master失败。
33
+ INTERNALERROR_INITMASTERFAILED = 'InternalError.InitMasterFailed'
34
+
35
+ # Param。
36
+ INTERNALERROR_PARAM = 'InternalError.Param'
37
+
38
+ # 集群不支持当前操作。
39
+ INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = 'InternalError.PublicClusterOpNotSupport'
40
+
41
+ # 内部错误。
42
+ INTERNALERROR_UNEXCEPTEDINTERNAL = 'InternalError.UnexceptedInternal'
43
+
44
+ # 未知的内部错误。
45
+ INTERNALERROR_UNEXPECTEDINTERNAL = 'InternalError.UnexpectedInternal'
46
+
47
+ # 集群ID不存在。
48
+ INVALIDPARAMETER_CLUSTERNOTFOUND = 'InvalidParameter.ClusterNotFound'
49
+
50
+ # 参数错误。
51
+ INVALIDPARAMETER_PARAM = 'InvalidParameter.Param'
52
+
53
+ # 资源不存在。
54
+ RESOURCENOTFOUND = 'ResourceNotFound'
55
+
56
+ # 集群不存在。
57
+ RESOURCENOTFOUND_CLUSTERNOTFOUND = 'ResourceNotFound.ClusterNotFound'
58
+
59
+ # 集群状态不支持该操作。
60
+ RESOURCEUNAVAILABLE_CLUSTERSTATE = 'ResourceUnavailable.ClusterState'