tencentcloud-sdk-python-adp 3.1.154__tar.gz → 3.1.160__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/setup.py +1 -1
  3. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/v20260520/adp_client.py +115 -0
  5. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/v20260520/adp_client_async.py +90 -0
  6. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/v20260520/models.py +2555 -290
  7. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_adp-3.1.160/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_adp-3.1.154/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/README.rst +0 -0
  11. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/__init__.py +0 -0
  13. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/v20260520/__init__.py +0 -0
  14. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_adp-3.1.154 → tencentcloud_sdk_python_adp-3.1.160}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-adp
3
- Version: 3.1.154
3
+ Version: 3.1.160
4
4
  Summary: Tencent Cloud Adp 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.154
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
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-adp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.154,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.160,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Adp SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.154'
17
+ __version__ = '3.1.160'
@@ -831,6 +831,52 @@ class AdpClient(AbstractClient):
831
831
  raise TencentCloudSDKException(type(e).__name__, str(e))
832
832
 
833
833
 
834
+ def DescribeConcurrencyLimitDetailList(self, request):
835
+ r"""查询并发超限明细,包含QPM/TPM超限与专属并发超限记录,返回超限发生时间、空间、应用、模型及请求内容
836
+
837
+ :param request: Request instance for DescribeConcurrencyLimitDetailList.
838
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeConcurrencyLimitDetailListRequest`
839
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeConcurrencyLimitDetailListResponse`
840
+
841
+ """
842
+ try:
843
+ params = request._serialize()
844
+ headers = request.headers
845
+ body = self.call("DescribeConcurrencyLimitDetailList", params, headers=headers)
846
+ response = json.loads(body)
847
+ model = models.DescribeConcurrencyLimitDetailListResponse()
848
+ model._deserialize(response["Response"])
849
+ return model
850
+ except Exception as e:
851
+ if isinstance(e, TencentCloudSDKException):
852
+ raise
853
+ else:
854
+ raise TencentCloudSDKException(type(e).__name__, str(e))
855
+
856
+
857
+ def DescribeConsumptionDetailList(self, request):
858
+ r"""查询资源消耗明细,包含计费相关字段(消耗类型、消耗目标、消耗场景、套餐包及PU消耗等)
859
+
860
+ :param request: Request instance for DescribeConsumptionDetailList.
861
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeConsumptionDetailListRequest`
862
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeConsumptionDetailListResponse`
863
+
864
+ """
865
+ try:
866
+ params = request._serialize()
867
+ headers = request.headers
868
+ body = self.call("DescribeConsumptionDetailList", params, headers=headers)
869
+ response = json.loads(body)
870
+ model = models.DescribeConsumptionDetailListResponse()
871
+ model._deserialize(response["Response"])
872
+ return model
873
+ except Exception as e:
874
+ if isinstance(e, TencentCloudSDKException):
875
+ raise
876
+ else:
877
+ raise TencentCloudSDKException(type(e).__name__, str(e))
878
+
879
+
834
880
  def DescribeConversation(self, request):
835
881
  r"""查看会话信息
836
882
 
@@ -923,6 +969,29 @@ class AdpClient(AbstractClient):
923
969
  raise TencentCloudSDKException(type(e).__name__, str(e))
924
970
 
925
971
 
972
+ def DescribeMetricOverviewList(self, request):
973
+ r"""查询看板总览KPI卡片数据,通过resource_type区分资源看板与业务看板域,返回各域KPI指标列表
974
+
975
+ :param request: Request instance for DescribeMetricOverviewList.
976
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeMetricOverviewListRequest`
977
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeMetricOverviewListResponse`
978
+
979
+ """
980
+ try:
981
+ params = request._serialize()
982
+ headers = request.headers
983
+ body = self.call("DescribeMetricOverviewList", params, headers=headers)
984
+ response = json.loads(body)
985
+ model = models.DescribeMetricOverviewListResponse()
986
+ model._deserialize(response["Response"])
987
+ return model
988
+ except Exception as e:
989
+ if isinstance(e, TencentCloudSDKException):
990
+ raise
991
+ else:
992
+ raise TencentCloudSDKException(type(e).__name__, str(e))
993
+
994
+
926
995
  def DescribeModelList(self, request):
927
996
  r"""查询模型列表
928
997
 
@@ -1176,6 +1245,52 @@ class AdpClient(AbstractClient):
1176
1245
  raise TencentCloudSDKException(type(e).__name__, str(e))
1177
1246
 
1178
1247
 
1248
+ def DescribeUsageDetailList(self, request):
1249
+ r"""查询资源调用时序明细,支持模型和插件两类资源,按时间顺序返回每条调用记录的详细信息
1250
+
1251
+ :param request: Request instance for DescribeUsageDetailList.
1252
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeUsageDetailListRequest`
1253
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeUsageDetailListResponse`
1254
+
1255
+ """
1256
+ try:
1257
+ params = request._serialize()
1258
+ headers = request.headers
1259
+ body = self.call("DescribeUsageDetailList", params, headers=headers)
1260
+ response = json.loads(body)
1261
+ model = models.DescribeUsageDetailListResponse()
1262
+ model._deserialize(response["Response"])
1263
+ return model
1264
+ except Exception as e:
1265
+ if isinstance(e, TencentCloudSDKException):
1266
+ raise
1267
+ else:
1268
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1269
+
1270
+
1271
+ def DescribeUsageSummaryList(self, request):
1272
+ r"""查询资源用量聚合明细,支持模型、插件、平台三类资源,按空间/应用维度聚合展示调用次数、Token消耗等指标
1273
+
1274
+ :param request: Request instance for DescribeUsageSummaryList.
1275
+ :type request: :class:`tencentcloud.adp.v20260520.models.DescribeUsageSummaryListRequest`
1276
+ :rtype: :class:`tencentcloud.adp.v20260520.models.DescribeUsageSummaryListResponse`
1277
+
1278
+ """
1279
+ try:
1280
+ params = request._serialize()
1281
+ headers = request.headers
1282
+ body = self.call("DescribeUsageSummaryList", params, headers=headers)
1283
+ response = json.loads(body)
1284
+ model = models.DescribeUsageSummaryListResponse()
1285
+ model._deserialize(response["Response"])
1286
+ return model
1287
+ except Exception as e:
1288
+ if isinstance(e, TencentCloudSDKException):
1289
+ raise
1290
+ else:
1291
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1292
+
1293
+
1179
1294
  def DescribeVariable(self, request):
1180
1295
  r"""获取参数变量
1181
1296
 
@@ -655,6 +655,42 @@ class AdpClient(AbstractClient):
655
655
 
656
656
  return await self.call_and_deserialize(**kwargs)
657
657
 
658
+ async def DescribeConcurrencyLimitDetailList(
659
+ self,
660
+ request: models.DescribeConcurrencyLimitDetailListRequest,
661
+ opts: Dict = None,
662
+ ) -> models.DescribeConcurrencyLimitDetailListResponse:
663
+ """
664
+ 查询并发超限明细,包含QPM/TPM超限与专属并发超限记录,返回超限发生时间、空间、应用、模型及请求内容
665
+ """
666
+
667
+ kwargs = {}
668
+ kwargs["action"] = "DescribeConcurrencyLimitDetailList"
669
+ kwargs["params"] = request._serialize()
670
+ kwargs["resp_cls"] = models.DescribeConcurrencyLimitDetailListResponse
671
+ kwargs["headers"] = request.headers
672
+ kwargs["opts"] = opts or {}
673
+
674
+ return await self.call_and_deserialize(**kwargs)
675
+
676
+ async def DescribeConsumptionDetailList(
677
+ self,
678
+ request: models.DescribeConsumptionDetailListRequest,
679
+ opts: Dict = None,
680
+ ) -> models.DescribeConsumptionDetailListResponse:
681
+ """
682
+ 查询资源消耗明细,包含计费相关字段(消耗类型、消耗目标、消耗场景、套餐包及PU消耗等)
683
+ """
684
+
685
+ kwargs = {}
686
+ kwargs["action"] = "DescribeConsumptionDetailList"
687
+ kwargs["params"] = request._serialize()
688
+ kwargs["resp_cls"] = models.DescribeConsumptionDetailListResponse
689
+ kwargs["headers"] = request.headers
690
+ kwargs["opts"] = opts or {}
691
+
692
+ return await self.call_and_deserialize(**kwargs)
693
+
658
694
  async def DescribeConversation(
659
695
  self,
660
696
  request: models.DescribeConversationRequest,
@@ -727,6 +763,24 @@ class AdpClient(AbstractClient):
727
763
 
728
764
  return await self.call_and_deserialize(**kwargs)
729
765
 
766
+ async def DescribeMetricOverviewList(
767
+ self,
768
+ request: models.DescribeMetricOverviewListRequest,
769
+ opts: Dict = None,
770
+ ) -> models.DescribeMetricOverviewListResponse:
771
+ """
772
+ 查询看板总览KPI卡片数据,通过resource_type区分资源看板与业务看板域,返回各域KPI指标列表
773
+ """
774
+
775
+ kwargs = {}
776
+ kwargs["action"] = "DescribeMetricOverviewList"
777
+ kwargs["params"] = request._serialize()
778
+ kwargs["resp_cls"] = models.DescribeMetricOverviewListResponse
779
+ kwargs["headers"] = request.headers
780
+ kwargs["opts"] = opts or {}
781
+
782
+ return await self.call_and_deserialize(**kwargs)
783
+
730
784
  async def DescribeModelList(
731
785
  self,
732
786
  request: models.DescribeModelListRequest,
@@ -925,6 +979,42 @@ class AdpClient(AbstractClient):
925
979
 
926
980
  return await self.call_and_deserialize(**kwargs)
927
981
 
982
+ async def DescribeUsageDetailList(
983
+ self,
984
+ request: models.DescribeUsageDetailListRequest,
985
+ opts: Dict = None,
986
+ ) -> models.DescribeUsageDetailListResponse:
987
+ """
988
+ 查询资源调用时序明细,支持模型和插件两类资源,按时间顺序返回每条调用记录的详细信息
989
+ """
990
+
991
+ kwargs = {}
992
+ kwargs["action"] = "DescribeUsageDetailList"
993
+ kwargs["params"] = request._serialize()
994
+ kwargs["resp_cls"] = models.DescribeUsageDetailListResponse
995
+ kwargs["headers"] = request.headers
996
+ kwargs["opts"] = opts or {}
997
+
998
+ return await self.call_and_deserialize(**kwargs)
999
+
1000
+ async def DescribeUsageSummaryList(
1001
+ self,
1002
+ request: models.DescribeUsageSummaryListRequest,
1003
+ opts: Dict = None,
1004
+ ) -> models.DescribeUsageSummaryListResponse:
1005
+ """
1006
+ 查询资源用量聚合明细,支持模型、插件、平台三类资源,按空间/应用维度聚合展示调用次数、Token消耗等指标
1007
+ """
1008
+
1009
+ kwargs = {}
1010
+ kwargs["action"] = "DescribeUsageSummaryList"
1011
+ kwargs["params"] = request._serialize()
1012
+ kwargs["resp_cls"] = models.DescribeUsageSummaryListResponse
1013
+ kwargs["headers"] = request.headers
1014
+ kwargs["opts"] = opts or {}
1015
+
1016
+ return await self.call_and_deserialize(**kwargs)
1017
+
928
1018
  async def DescribeVariable(
929
1019
  self,
930
1020
  request: models.DescribeVariableRequest,