tencentcloud-sdk-python 3.0.1425__py2.py3-none-any.whl → 3.0.1427__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.
Files changed (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +0 -27
  3. tencentcloud/aiart/v20221229/models.py +0 -203
  4. tencentcloud/apm/v20210622/models.py +60 -0
  5. tencentcloud/autoscaling/v20180419/models.py +108 -0
  6. tencentcloud/ccc/v20200210/models.py +181 -0
  7. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  8. tencentcloud/cdb/v20170320/models.py +98 -12
  9. tencentcloud/cdwch/v20200915/models.py +40 -62
  10. tencentcloud/ctsdb/__init__.py +0 -0
  11. tencentcloud/ctsdb/v20230202/__init__.py +0 -0
  12. tencentcloud/ctsdb/v20230202/ctsdb_client.py +79 -0
  13. tencentcloud/ctsdb/v20230202/errorcodes.py +24 -0
  14. tencentcloud/ctsdb/v20230202/models.py +1256 -0
  15. tencentcloud/dbbrain/v20210527/models.py +60 -0
  16. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  17. tencentcloud/dlc/v20210125/models.py +64 -0
  18. tencentcloud/essbasic/v20210526/models.py +107 -4
  19. tencentcloud/gs/v20191118/models.py +49 -8
  20. tencentcloud/hunyuan/v20230901/models.py +120 -0
  21. tencentcloud/igtm/v20231024/models.py +4 -134
  22. tencentcloud/lke/v20231130/models.py +8 -2
  23. tencentcloud/securitylake/v20240117/models.py +0 -2
  24. tencentcloud/ssl/v20191205/models.py +75 -0
  25. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +3 -1
  26. tencentcloud/teo/v20220901/errorcodes.py +3 -0
  27. tencentcloud/teo/v20220901/models.py +90 -55
  28. tencentcloud/tsf/v20180326/errorcodes.py +1 -1
  29. tencentcloud/tts/v20190823/models.py +4 -6
  30. tencentcloud/tts/v20190823/tts_client.py +1 -0
  31. tencentcloud/vod/v20180717/models.py +19 -4
  32. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  33. {tencentcloud_sdk_python-3.0.1425.dist-info → tencentcloud_sdk_python-3.0.1427.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1425.dist-info → tencentcloud_sdk_python-3.0.1427.dist-info}/RECORD +37 -32
  35. {tencentcloud_sdk_python-3.0.1425.dist-info → tencentcloud_sdk_python-3.0.1427.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1425.dist-info → tencentcloud_sdk_python-3.0.1427.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1425.dist-info → tencentcloud_sdk_python-3.0.1427.dist-info}/top_level.txt +0 -0
@@ -486,45 +486,45 @@ class CNResource(AbstractModel):
486
486
 
487
487
  def __init__(self):
488
488
  r"""
489
- :param _ID:
489
+ :param _ID: 资源id
490
490
  :type ID: int
491
- :param _InstanceID:
491
+ :param _InstanceID: 集群的id
492
492
  :type InstanceID: str
493
- :param _AppID:
493
+ :param _AppID: 用户appid
494
494
  :type AppID: int
495
- :param _Uin:
495
+ :param _Uin: 用户uin
496
496
  :type Uin: str
497
- :param _Component:
497
+ :param _Component: 组件
498
498
  :type Component: str
499
- :param _DeployMode:
499
+ :param _DeployMode: 部署模式
500
500
  :type DeployMode: int
501
- :param _SpecName:
501
+ :param _SpecName: 规格名称
502
502
  :type SpecName: str
503
- :param _ResourceID:
503
+ :param _ResourceID: 资源id
504
504
  :type ResourceID: str
505
- :param _Status:
505
+ :param _Status: 资源的状态
506
506
  :type Status: int
507
- :param _IP:
507
+ :param _IP: 私有网络ip
508
508
  :type IP: str
509
- :param _CPU:
509
+ :param _CPU: 核数
510
510
  :type CPU: int
511
- :param _Memory:
511
+ :param _Memory: 内存
512
512
  :type Memory: int
513
- :param _Storage:
513
+ :param _Storage: 存储大小
514
514
  :type Storage: int
515
- :param _UUID:
515
+ :param _UUID: 服务器ID
516
516
  :type UUID: str
517
- :param _Region:
517
+ :param _Region: 地域
518
518
  :type Region: str
519
- :param _Zone:
519
+ :param _Zone: 地区
520
520
  :type Zone: str
521
- :param _Details:
521
+ :param _Details: 详细信息
522
522
  :type Details: str
523
- :param _CreateTime:
523
+ :param _CreateTime: 创建时间
524
524
  :type CreateTime: str
525
- :param _ModifyTime:
525
+ :param _ModifyTime: 修改时间
526
526
  :type ModifyTime: str
527
- :param _ExpireTime:
527
+ :param _ExpireTime: 过期时间
528
528
  :type ExpireTime: str
529
529
  """
530
530
  self._ID = None
@@ -550,7 +550,7 @@ class CNResource(AbstractModel):
550
550
 
551
551
  @property
552
552
  def ID(self):
553
- """
553
+ """资源id
554
554
  :rtype: int
555
555
  """
556
556
  return self._ID
@@ -561,7 +561,7 @@ class CNResource(AbstractModel):
561
561
 
562
562
  @property
563
563
  def InstanceID(self):
564
- """
564
+ """集群的id
565
565
  :rtype: str
566
566
  """
567
567
  return self._InstanceID
@@ -572,7 +572,7 @@ class CNResource(AbstractModel):
572
572
 
573
573
  @property
574
574
  def AppID(self):
575
- """
575
+ """用户appid
576
576
  :rtype: int
577
577
  """
578
578
  return self._AppID
@@ -583,7 +583,7 @@ class CNResource(AbstractModel):
583
583
 
584
584
  @property
585
585
  def Uin(self):
586
- """
586
+ """用户uin
587
587
  :rtype: str
588
588
  """
589
589
  return self._Uin
@@ -594,7 +594,7 @@ class CNResource(AbstractModel):
594
594
 
595
595
  @property
596
596
  def Component(self):
597
- """
597
+ """组件
598
598
  :rtype: str
599
599
  """
600
600
  return self._Component
@@ -605,7 +605,7 @@ class CNResource(AbstractModel):
605
605
 
606
606
  @property
607
607
  def DeployMode(self):
608
- """
608
+ """部署模式
609
609
  :rtype: int
610
610
  """
611
611
  return self._DeployMode
@@ -616,7 +616,7 @@ class CNResource(AbstractModel):
616
616
 
617
617
  @property
618
618
  def SpecName(self):
619
- """
619
+ """规格名称
620
620
  :rtype: str
621
621
  """
622
622
  return self._SpecName
@@ -627,7 +627,7 @@ class CNResource(AbstractModel):
627
627
 
628
628
  @property
629
629
  def ResourceID(self):
630
- """
630
+ """资源id
631
631
  :rtype: str
632
632
  """
633
633
  return self._ResourceID
@@ -638,7 +638,7 @@ class CNResource(AbstractModel):
638
638
 
639
639
  @property
640
640
  def Status(self):
641
- """
641
+ """资源的状态
642
642
  :rtype: int
643
643
  """
644
644
  return self._Status
@@ -649,7 +649,7 @@ class CNResource(AbstractModel):
649
649
 
650
650
  @property
651
651
  def IP(self):
652
- """
652
+ """私有网络ip
653
653
  :rtype: str
654
654
  """
655
655
  return self._IP
@@ -660,7 +660,7 @@ class CNResource(AbstractModel):
660
660
 
661
661
  @property
662
662
  def CPU(self):
663
- """
663
+ """核数
664
664
  :rtype: int
665
665
  """
666
666
  return self._CPU
@@ -671,7 +671,7 @@ class CNResource(AbstractModel):
671
671
 
672
672
  @property
673
673
  def Memory(self):
674
- """
674
+ """内存
675
675
  :rtype: int
676
676
  """
677
677
  return self._Memory
@@ -682,7 +682,7 @@ class CNResource(AbstractModel):
682
682
 
683
683
  @property
684
684
  def Storage(self):
685
- """
685
+ """存储大小
686
686
  :rtype: int
687
687
  """
688
688
  return self._Storage
@@ -693,7 +693,7 @@ class CNResource(AbstractModel):
693
693
 
694
694
  @property
695
695
  def UUID(self):
696
- """
696
+ """服务器ID
697
697
  :rtype: str
698
698
  """
699
699
  return self._UUID
@@ -704,7 +704,7 @@ class CNResource(AbstractModel):
704
704
 
705
705
  @property
706
706
  def Region(self):
707
- """
707
+ """地域
708
708
  :rtype: str
709
709
  """
710
710
  return self._Region
@@ -715,7 +715,7 @@ class CNResource(AbstractModel):
715
715
 
716
716
  @property
717
717
  def Zone(self):
718
- """
718
+ """地区
719
719
  :rtype: str
720
720
  """
721
721
  return self._Zone
@@ -726,7 +726,7 @@ class CNResource(AbstractModel):
726
726
 
727
727
  @property
728
728
  def Details(self):
729
- """
729
+ """详细信息
730
730
  :rtype: str
731
731
  """
732
732
  return self._Details
@@ -737,7 +737,7 @@ class CNResource(AbstractModel):
737
737
 
738
738
  @property
739
739
  def CreateTime(self):
740
- """
740
+ """创建时间
741
741
  :rtype: str
742
742
  """
743
743
  return self._CreateTime
@@ -748,7 +748,7 @@ class CNResource(AbstractModel):
748
748
 
749
749
  @property
750
750
  def ModifyTime(self):
751
- """
751
+ """修改时间
752
752
  :rtype: str
753
753
  """
754
754
  return self._ModifyTime
@@ -759,7 +759,7 @@ class CNResource(AbstractModel):
759
759
 
760
760
  @property
761
761
  def ExpireTime(self):
762
- """
762
+ """过期时间
763
763
  :rtype: str
764
764
  """
765
765
  return self._ExpireTime
@@ -1117,28 +1117,20 @@ class CnInstanceInfo(AbstractModel):
1117
1117
  def __init__(self):
1118
1118
  r"""
1119
1119
  :param _ID: ID值
1120
- 注意:此字段可能返回 null,表示取不到有效值。
1121
1120
  :type ID: int
1122
1121
  :param _InstanceType: cdwch-cn或者其他
1123
- 注意:此字段可能返回 null,表示取不到有效值。
1124
1122
  :type InstanceType: str
1125
1123
  :param _InstanceName: cdwch-cn或者其他
1126
- 注意:此字段可能返回 null,表示取不到有效值。
1127
1124
  :type InstanceName: str
1128
1125
  :param _Status: Running
1129
- 注意:此字段可能返回 null,表示取不到有效值。
1130
1126
  :type Status: str
1131
1127
  :param _StatusDesc: 运行中
1132
- 注意:此字段可能返回 null,表示取不到有效值。
1133
1128
  :type StatusDesc: str
1134
1129
  :param _InstanceStateInfo: 无
1135
- 注意:此字段可能返回 null,表示取不到有效值。
1136
1130
  :type InstanceStateInfo: :class:`tencentcloud.cdwch.v20200915.models.InstanceStateInfo`
1137
1131
  :param _InstanceID: -
1138
- 注意:此字段可能返回 null,表示取不到有效值。
1139
1132
  :type InstanceID: str
1140
1133
  :param _Resources: 无
1141
- 注意:此字段可能返回 null,表示取不到有效值。
1142
1134
  :type Resources: list of CNResource
1143
1135
  """
1144
1136
  self._ID = None
@@ -1153,7 +1145,6 @@ class CnInstanceInfo(AbstractModel):
1153
1145
  @property
1154
1146
  def ID(self):
1155
1147
  """ID值
1156
- 注意:此字段可能返回 null,表示取不到有效值。
1157
1148
  :rtype: int
1158
1149
  """
1159
1150
  return self._ID
@@ -1165,7 +1156,6 @@ class CnInstanceInfo(AbstractModel):
1165
1156
  @property
1166
1157
  def InstanceType(self):
1167
1158
  """cdwch-cn或者其他
1168
- 注意:此字段可能返回 null,表示取不到有效值。
1169
1159
  :rtype: str
1170
1160
  """
1171
1161
  return self._InstanceType
@@ -1177,7 +1167,6 @@ class CnInstanceInfo(AbstractModel):
1177
1167
  @property
1178
1168
  def InstanceName(self):
1179
1169
  """cdwch-cn或者其他
1180
- 注意:此字段可能返回 null,表示取不到有效值。
1181
1170
  :rtype: str
1182
1171
  """
1183
1172
  return self._InstanceName
@@ -1189,7 +1178,6 @@ class CnInstanceInfo(AbstractModel):
1189
1178
  @property
1190
1179
  def Status(self):
1191
1180
  """Running
1192
- 注意:此字段可能返回 null,表示取不到有效值。
1193
1181
  :rtype: str
1194
1182
  """
1195
1183
  return self._Status
@@ -1201,7 +1189,6 @@ class CnInstanceInfo(AbstractModel):
1201
1189
  @property
1202
1190
  def StatusDesc(self):
1203
1191
  """运行中
1204
- 注意:此字段可能返回 null,表示取不到有效值。
1205
1192
  :rtype: str
1206
1193
  """
1207
1194
  return self._StatusDesc
@@ -1213,7 +1200,6 @@ class CnInstanceInfo(AbstractModel):
1213
1200
  @property
1214
1201
  def InstanceStateInfo(self):
1215
1202
  """无
1216
- 注意:此字段可能返回 null,表示取不到有效值。
1217
1203
  :rtype: :class:`tencentcloud.cdwch.v20200915.models.InstanceStateInfo`
1218
1204
  """
1219
1205
  return self._InstanceStateInfo
@@ -1225,7 +1211,6 @@ class CnInstanceInfo(AbstractModel):
1225
1211
  @property
1226
1212
  def InstanceID(self):
1227
1213
  """-
1228
- 注意:此字段可能返回 null,表示取不到有效值。
1229
1214
  :rtype: str
1230
1215
  """
1231
1216
  return self._InstanceID
@@ -1237,7 +1222,6 @@ class CnInstanceInfo(AbstractModel):
1237
1222
  @property
1238
1223
  def Resources(self):
1239
1224
  """无
1240
- 注意:此字段可能返回 null,表示取不到有效值。
1241
1225
  :rtype: list of CNResource
1242
1226
  """
1243
1227
  return self._Resources
@@ -2742,13 +2726,10 @@ class DescribeCNInstancesResponse(AbstractModel):
2742
2726
  def __init__(self):
2743
2727
  r"""
2744
2728
  :param _TotalCount: 实例总数
2745
- 注意:此字段可能返回 null,表示取不到有效值。
2746
2729
  :type TotalCount: int
2747
2730
  :param _InstancesList: 实例数组
2748
- 注意:此字段可能返回 null,表示取不到有效值。
2749
2731
  :type InstancesList: list of CnInstanceInfo
2750
2732
  :param _ErrorMsg: 错误信息
2751
- 注意:此字段可能返回 null,表示取不到有效值。
2752
2733
  :type ErrorMsg: str
2753
2734
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2754
2735
  :type RequestId: str
@@ -2761,7 +2742,6 @@ class DescribeCNInstancesResponse(AbstractModel):
2761
2742
  @property
2762
2743
  def TotalCount(self):
2763
2744
  """实例总数
2764
- 注意:此字段可能返回 null,表示取不到有效值。
2765
2745
  :rtype: int
2766
2746
  """
2767
2747
  return self._TotalCount
@@ -2773,7 +2753,6 @@ class DescribeCNInstancesResponse(AbstractModel):
2773
2753
  @property
2774
2754
  def InstancesList(self):
2775
2755
  """实例数组
2776
- 注意:此字段可能返回 null,表示取不到有效值。
2777
2756
  :rtype: list of CnInstanceInfo
2778
2757
  """
2779
2758
  return self._InstancesList
@@ -2785,7 +2764,6 @@ class DescribeCNInstancesResponse(AbstractModel):
2785
2764
  @property
2786
2765
  def ErrorMsg(self):
2787
2766
  """错误信息
2788
- 注意:此字段可能返回 null,表示取不到有效值。
2789
2767
  :rtype: str
2790
2768
  """
2791
2769
  return self._ErrorMsg
File without changes
File without changes
@@ -0,0 +1,79 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. 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
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.ctsdb.v20230202 import models
21
+
22
+
23
+ class CtsdbClient(AbstractClient):
24
+ _apiVersion = '2023-02-02'
25
+ _endpoint = 'ctsdb.tencentcloudapi.com'
26
+ _service = 'ctsdb'
27
+
28
+
29
+ def DescribeClusters(self, request):
30
+ """查询实例列表及详情
31
+
32
+ :param request: Request instance for DescribeClusters.
33
+ :type request: :class:`tencentcloud.ctsdb.v20230202.models.DescribeClustersRequest`
34
+ :rtype: :class:`tencentcloud.ctsdb.v20230202.models.DescribeClustersResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeClusters", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeClustersResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def DescribeDatabases(self, request):
53
+ """查看数据库/列表
54
+
55
+ ```
56
+ "Database":{
57
+ "ClusterID":"ctsdbi-rebg0ghl",
58
+ "Name":"" //不指定则查询实例下所有db
59
+ }
60
+ ```
61
+
62
+ :param request: Request instance for DescribeDatabases.
63
+ :type request: :class:`tencentcloud.ctsdb.v20230202.models.DescribeDatabasesRequest`
64
+ :rtype: :class:`tencentcloud.ctsdb.v20230202.models.DescribeDatabasesResponse`
65
+
66
+ """
67
+ try:
68
+ params = request._serialize()
69
+ headers = request.headers
70
+ body = self.call("DescribeDatabases", params, headers=headers)
71
+ response = json.loads(body)
72
+ model = models.DescribeDatabasesResponse()
73
+ model._deserialize(response["Response"])
74
+ return model
75
+ except Exception as e:
76
+ if isinstance(e, TencentCloudSDKException):
77
+ raise
78
+ else:
79
+ raise TencentCloudSDKException(type(e).__name__, str(e))
@@ -0,0 +1,24 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. 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
+ # CAM签名/鉴权错误。
18
+ AUTHFAILURE = 'AuthFailure'
19
+
20
+ # 操作失败。
21
+ FAILEDOPERATION = 'FailedOperation'
22
+
23
+ # 资源不存在。
24
+ RESOURCENOTFOUND = 'ResourceNotFound'