tencentcloud-sdk-python 3.0.1342__py2.py3-none-any.whl → 3.0.1344__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/bi/v20220105/models.py +68 -0
- tencentcloud/billing/v20180709/billing_client.py +3 -1
- tencentcloud/billing/v20180709/models.py +90 -224
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +117 -0
- tencentcloud/cdwpg/v20201230/models.py +4 -4
- tencentcloud/cdz/v20221123/models.py +0 -4
- tencentcloud/cfg/v20210820/models.py +0 -192
- tencentcloud/clb/v20180317/clb_client.py +2 -2
- tencentcloud/clb/v20180317/models.py +39 -10
- tencentcloud/cls/v20201016/models.py +17 -186
- tencentcloud/cwp/v20180228/models.py +61 -18
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/dbbrain/v20191016/models.py +0 -16
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +161 -0
- tencentcloud/dbbrain/v20210527/models.py +1731 -389
- tencentcloud/domain/v20180808/models.py +0 -10
- tencentcloud/dts/v20180330/models.py +0 -6
- tencentcloud/dts/v20211206/models.py +2 -210
- tencentcloud/ess/v20201111/models.py +71 -4
- tencentcloud/essbasic/v20210526/models.py +59 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -0
- tencentcloud/fmu/v20191213/models.py +4 -4
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gwlb/v20240906/models.py +4 -4
- tencentcloud/hai/v20230812/errorcodes.py +1 -1
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
- tencentcloud/iotexplorer/v20190423/models.py +995 -65
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +188 -0
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -9
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +24 -17
- tencentcloud/lighthouse/v20200324/models.py +72 -48
- tencentcloud/lke/v20231130/models.py +17 -2
- tencentcloud/lkeap/v20240522/models.py +4 -8
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/monitor/v20180724/models.py +251 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/errorcodes.py +34 -0
- tencentcloud/mps/v20190612/models.py +4254 -384
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +9 -0
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +0 -82
- tencentcloud/redis/v20180412/models.py +64 -0
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/tcb/v20180608/models.py +109 -157
- tencentcloud/tcb/v20180608/tcb_client.py +23 -0
- tencentcloud/tdmq/v20200217/models.py +158 -282
- tencentcloud/teo/v20220901/models.py +955 -20
- tencentcloud/tione/v20211111/models.py +90 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vdb/v20230616/vdb_client.py +1 -1
- tencentcloud/vrs/v20200824/models.py +32 -0
- tencentcloud/wedata/v20210820/models.py +167 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/RECORD +65 -65
- {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1342.dist-info → tencentcloud_sdk_python-3.0.1344.dist-info}/top_level.txt +0 -0
@@ -1428,6 +1428,29 @@ class CdbClient(AbstractClient):
|
|
1428
1428
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1429
1429
|
|
1430
1430
|
|
1431
|
+
def DescribeCPUExpandStrategyInfo(self, request):
|
1432
|
+
"""通过该 API 可以查询实例的 CPU 弹性扩容信息
|
1433
|
+
|
1434
|
+
:param request: Request instance for DescribeCPUExpandStrategyInfo.
|
1435
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoRequest`
|
1436
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoResponse`
|
1437
|
+
|
1438
|
+
"""
|
1439
|
+
try:
|
1440
|
+
params = request._serialize()
|
1441
|
+
headers = request.headers
|
1442
|
+
body = self.call("DescribeCPUExpandStrategyInfo", params, headers=headers)
|
1443
|
+
response = json.loads(body)
|
1444
|
+
model = models.DescribeCPUExpandStrategyInfoResponse()
|
1445
|
+
model._deserialize(response["Response"])
|
1446
|
+
return model
|
1447
|
+
except Exception as e:
|
1448
|
+
if isinstance(e, TencentCloudSDKException):
|
1449
|
+
raise
|
1450
|
+
else:
|
1451
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1452
|
+
|
1453
|
+
|
1431
1454
|
def DescribeCdbProxyInfo(self, request):
|
1432
1455
|
"""本接口(DescribeCdbProxyInfo)用于查询数据库代理详情信息。
|
1433
1456
|
|
@@ -14797,6 +14797,123 @@ class DescribeBinlogsResponse(AbstractModel):
|
|
14797
14797
|
self._RequestId = params.get("RequestId")
|
14798
14798
|
|
14799
14799
|
|
14800
|
+
class DescribeCPUExpandStrategyInfoRequest(AbstractModel):
|
14801
|
+
"""DescribeCPUExpandStrategyInfo请求参数结构体
|
14802
|
+
|
14803
|
+
"""
|
14804
|
+
|
14805
|
+
def __init__(self):
|
14806
|
+
r"""
|
14807
|
+
:param _InstanceId: 实例 ID 。
|
14808
|
+
:type InstanceId: str
|
14809
|
+
"""
|
14810
|
+
self._InstanceId = None
|
14811
|
+
|
14812
|
+
@property
|
14813
|
+
def InstanceId(self):
|
14814
|
+
"""实例 ID 。
|
14815
|
+
:rtype: str
|
14816
|
+
"""
|
14817
|
+
return self._InstanceId
|
14818
|
+
|
14819
|
+
@InstanceId.setter
|
14820
|
+
def InstanceId(self, InstanceId):
|
14821
|
+
self._InstanceId = InstanceId
|
14822
|
+
|
14823
|
+
|
14824
|
+
def _deserialize(self, params):
|
14825
|
+
self._InstanceId = params.get("InstanceId")
|
14826
|
+
memeber_set = set(params.keys())
|
14827
|
+
for name, value in vars(self).items():
|
14828
|
+
property_name = name[1:]
|
14829
|
+
if property_name in memeber_set:
|
14830
|
+
memeber_set.remove(property_name)
|
14831
|
+
if len(memeber_set) > 0:
|
14832
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14833
|
+
|
14834
|
+
|
14835
|
+
|
14836
|
+
class DescribeCPUExpandStrategyInfoResponse(AbstractModel):
|
14837
|
+
"""DescribeCPUExpandStrategyInfo返回参数结构体
|
14838
|
+
|
14839
|
+
"""
|
14840
|
+
|
14841
|
+
def __init__(self):
|
14842
|
+
r"""
|
14843
|
+
:param _Type: 策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
|
14844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14845
|
+
:type Type: str
|
14846
|
+
:param _ExpandCpu: 手动扩容的 CPU 。Type为 manual 时有效。
|
14847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14848
|
+
:type ExpandCpu: int
|
14849
|
+
:param _AutoStrategy: 自动扩容策略。Type 为 auto 时有效
|
14850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14851
|
+
:type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
14852
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14853
|
+
:type RequestId: str
|
14854
|
+
"""
|
14855
|
+
self._Type = None
|
14856
|
+
self._ExpandCpu = None
|
14857
|
+
self._AutoStrategy = None
|
14858
|
+
self._RequestId = None
|
14859
|
+
|
14860
|
+
@property
|
14861
|
+
def Type(self):
|
14862
|
+
"""策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
|
14863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14864
|
+
:rtype: str
|
14865
|
+
"""
|
14866
|
+
return self._Type
|
14867
|
+
|
14868
|
+
@Type.setter
|
14869
|
+
def Type(self, Type):
|
14870
|
+
self._Type = Type
|
14871
|
+
|
14872
|
+
@property
|
14873
|
+
def ExpandCpu(self):
|
14874
|
+
"""手动扩容的 CPU 。Type为 manual 时有效。
|
14875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14876
|
+
:rtype: int
|
14877
|
+
"""
|
14878
|
+
return self._ExpandCpu
|
14879
|
+
|
14880
|
+
@ExpandCpu.setter
|
14881
|
+
def ExpandCpu(self, ExpandCpu):
|
14882
|
+
self._ExpandCpu = ExpandCpu
|
14883
|
+
|
14884
|
+
@property
|
14885
|
+
def AutoStrategy(self):
|
14886
|
+
"""自动扩容策略。Type 为 auto 时有效
|
14887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14888
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
14889
|
+
"""
|
14890
|
+
return self._AutoStrategy
|
14891
|
+
|
14892
|
+
@AutoStrategy.setter
|
14893
|
+
def AutoStrategy(self, AutoStrategy):
|
14894
|
+
self._AutoStrategy = AutoStrategy
|
14895
|
+
|
14896
|
+
@property
|
14897
|
+
def RequestId(self):
|
14898
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14899
|
+
:rtype: str
|
14900
|
+
"""
|
14901
|
+
return self._RequestId
|
14902
|
+
|
14903
|
+
@RequestId.setter
|
14904
|
+
def RequestId(self, RequestId):
|
14905
|
+
self._RequestId = RequestId
|
14906
|
+
|
14907
|
+
|
14908
|
+
def _deserialize(self, params):
|
14909
|
+
self._Type = params.get("Type")
|
14910
|
+
self._ExpandCpu = params.get("ExpandCpu")
|
14911
|
+
if params.get("AutoStrategy") is not None:
|
14912
|
+
self._AutoStrategy = AutoStrategy()
|
14913
|
+
self._AutoStrategy._deserialize(params.get("AutoStrategy"))
|
14914
|
+
self._RequestId = params.get("RequestId")
|
14915
|
+
|
14916
|
+
|
14800
14917
|
class DescribeCdbProxyInfoRequest(AbstractModel):
|
14801
14918
|
"""DescribeCdbProxyInfo请求参数结构体
|
14802
14919
|
|
@@ -1542,9 +1542,9 @@ class DescribeInstanceInfoResponse(AbstractModel):
|
|
1542
1542
|
|
1543
1543
|
def __init__(self):
|
1544
1544
|
r"""
|
1545
|
-
:param _SimpleInstanceInfo:
|
1545
|
+
:param _SimpleInstanceInfo: 集群描述信息
|
1546
1546
|
:type SimpleInstanceInfo: :class:`tencentcloud.cdwpg.v20201230.models.SimpleInstanceInfo`
|
1547
|
-
:param _ErrorMsg:
|
1547
|
+
:param _ErrorMsg: 错误信息
|
1548
1548
|
:type ErrorMsg: str
|
1549
1549
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1550
1550
|
:type RequestId: str
|
@@ -1555,7 +1555,7 @@ class DescribeInstanceInfoResponse(AbstractModel):
|
|
1555
1555
|
|
1556
1556
|
@property
|
1557
1557
|
def SimpleInstanceInfo(self):
|
1558
|
-
"""
|
1558
|
+
"""集群描述信息
|
1559
1559
|
:rtype: :class:`tencentcloud.cdwpg.v20201230.models.SimpleInstanceInfo`
|
1560
1560
|
"""
|
1561
1561
|
return self._SimpleInstanceInfo
|
@@ -1566,7 +1566,7 @@ class DescribeInstanceInfoResponse(AbstractModel):
|
|
1566
1566
|
|
1567
1567
|
@property
|
1568
1568
|
def ErrorMsg(self):
|
1569
|
-
"""
|
1569
|
+
"""错误信息
|
1570
1570
|
:rtype: str
|
1571
1571
|
"""
|
1572
1572
|
return self._ErrorMsg
|
@@ -26,10 +26,8 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _HostUuid: Host的唯一标识uuid
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type HostUuid: str
|
31
30
|
:param _InstancesInfo: 实例名称数组
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33
31
|
:type InstancesInfo: list of str
|
34
32
|
"""
|
35
33
|
self._HostUuid = None
|
@@ -38,7 +36,6 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
38
36
|
@property
|
39
37
|
def HostUuid(self):
|
40
38
|
"""Host的唯一标识uuid
|
41
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
42
39
|
:rtype: str
|
43
40
|
"""
|
44
41
|
return self._HostUuid
|
@@ -50,7 +47,6 @@ class CloudDedicatedZoneHostsInfo(AbstractModel):
|
|
50
47
|
@property
|
51
48
|
def InstancesInfo(self):
|
52
49
|
"""实例名称数组
|
53
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
54
50
|
:rtype: list of str
|
55
51
|
"""
|
56
52
|
return self._InstancesInfo
|