tencentcloud-sdk-python 3.0.1449__py2.py3-none-any.whl → 3.0.1450__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/cbs/v20170312/models.py +2 -2
- tencentcloud/dcdb/v20180411/dcdb_client.py +95 -0
- tencentcloud/dcdb/v20180411/errorcodes.py +9 -0
- tencentcloud/dcdb/v20180411/models.py +732 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +614 -0
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +24 -10
- tencentcloud/mariadb/v20170312/errorcodes.py +9 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +95 -0
- tencentcloud/mariadb/v20170312/models.py +702 -0
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/waf/v20180125/models.py +79 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/RECORD +23 -23
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1449.dist-info → tencentcloud_sdk_python-3.0.1450.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -7506,7 +7506,7 @@ class Placement(AbstractModel):
|
|
7506
7506
|
:param _CageId: 围笼Id,可通过 [DescribeDiskStoragePool](https://cloud.tencent.com/document/api/362/62143) 获取。作为入参时,表示对指定的CageId的资源进行操作,可为空。 作为出参时,表示资源所属围笼ID,可为空。
|
7507
7507
|
注意:此字段可能返回 null,表示取不到有效值。
|
7508
7508
|
:type CageId: str
|
7509
|
-
:param _ProjectId: 实例所属项目ID,可通过
|
7509
|
+
:param _ProjectId: 实例所属项目ID,可通过DescribeProject获取。不填默认为0,表示默认项目。
|
7510
7510
|
:type ProjectId: int
|
7511
7511
|
:param _ProjectName: 实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。
|
7512
7512
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7553,7 +7553,7 @@ class Placement(AbstractModel):
|
|
7553
7553
|
|
7554
7554
|
@property
|
7555
7555
|
def ProjectId(self):
|
7556
|
-
"""实例所属项目ID,可通过
|
7556
|
+
"""实例所属项目ID,可通过DescribeProject获取。不填默认为0,表示默认项目。
|
7557
7557
|
:rtype: int
|
7558
7558
|
"""
|
7559
7559
|
return self._ProjectId
|
@@ -949,6 +949,29 @@ class DcdbClient(AbstractClient):
|
|
949
949
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
950
950
|
|
951
951
|
|
952
|
+
def DescribeInstanceSSLAttributes(self, request):
|
953
|
+
"""本接口(DescribeInstanceSSLAttributes)用于拉取实例SSL认证属性
|
954
|
+
|
955
|
+
:param request: Request instance for DescribeInstanceSSLAttributes.
|
956
|
+
:type request: :class:`tencentcloud.dcdb.v20180411.models.DescribeInstanceSSLAttributesRequest`
|
957
|
+
:rtype: :class:`tencentcloud.dcdb.v20180411.models.DescribeInstanceSSLAttributesResponse`
|
958
|
+
|
959
|
+
"""
|
960
|
+
try:
|
961
|
+
params = request._serialize()
|
962
|
+
headers = request.headers
|
963
|
+
body = self.call("DescribeInstanceSSLAttributes", params, headers=headers)
|
964
|
+
response = json.loads(body)
|
965
|
+
model = models.DescribeInstanceSSLAttributesResponse()
|
966
|
+
model._deserialize(response["Response"])
|
967
|
+
return model
|
968
|
+
except Exception as e:
|
969
|
+
if isinstance(e, TencentCloudSDKException):
|
970
|
+
raise
|
971
|
+
else:
|
972
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
973
|
+
|
974
|
+
|
952
975
|
def DescribeLogFileRetentionPeriod(self, request):
|
953
976
|
"""本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。
|
954
977
|
|
@@ -1018,6 +1041,32 @@ class DcdbClient(AbstractClient):
|
|
1018
1041
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1019
1042
|
|
1020
1043
|
|
1044
|
+
def DescribeProcessList(self, request):
|
1045
|
+
"""本接口 (DescribeProcessList) 用于查询当前正在运行的线程(连接/查询)信息。
|
1046
|
+
|
1047
|
+
- 可以根据客户端IP,DB,执行时间等信息来查询实例正在运行的线程信息。过滤信息详细请见过滤器Filter。
|
1048
|
+
- 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的线程信息。
|
1049
|
+
|
1050
|
+
:param request: Request instance for DescribeProcessList.
|
1051
|
+
:type request: :class:`tencentcloud.dcdb.v20180411.models.DescribeProcessListRequest`
|
1052
|
+
:rtype: :class:`tencentcloud.dcdb.v20180411.models.DescribeProcessListResponse`
|
1053
|
+
|
1054
|
+
"""
|
1055
|
+
try:
|
1056
|
+
params = request._serialize()
|
1057
|
+
headers = request.headers
|
1058
|
+
body = self.call("DescribeProcessList", params, headers=headers)
|
1059
|
+
response = json.loads(body)
|
1060
|
+
model = models.DescribeProcessListResponse()
|
1061
|
+
model._deserialize(response["Response"])
|
1062
|
+
return model
|
1063
|
+
except Exception as e:
|
1064
|
+
if isinstance(e, TencentCloudSDKException):
|
1065
|
+
raise
|
1066
|
+
else:
|
1067
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1068
|
+
|
1069
|
+
|
1021
1070
|
def DescribeProjectSecurityGroups(self, request):
|
1022
1071
|
"""本接口(DescribeProjectSecurityGroups)用于查询项目安全组信息
|
1023
1072
|
|
@@ -1602,6 +1651,52 @@ class DcdbClient(AbstractClient):
|
|
1602
1651
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1603
1652
|
|
1604
1653
|
|
1654
|
+
def ModifyInstanceProtectedProperty(self, request):
|
1655
|
+
"""该接口用于修改实例的保护属性
|
1656
|
+
|
1657
|
+
:param request: Request instance for ModifyInstanceProtectedProperty.
|
1658
|
+
:type request: :class:`tencentcloud.dcdb.v20180411.models.ModifyInstanceProtectedPropertyRequest`
|
1659
|
+
:rtype: :class:`tencentcloud.dcdb.v20180411.models.ModifyInstanceProtectedPropertyResponse`
|
1660
|
+
|
1661
|
+
"""
|
1662
|
+
try:
|
1663
|
+
params = request._serialize()
|
1664
|
+
headers = request.headers
|
1665
|
+
body = self.call("ModifyInstanceProtectedProperty", params, headers=headers)
|
1666
|
+
response = json.loads(body)
|
1667
|
+
model = models.ModifyInstanceProtectedPropertyResponse()
|
1668
|
+
model._deserialize(response["Response"])
|
1669
|
+
return model
|
1670
|
+
except Exception as e:
|
1671
|
+
if isinstance(e, TencentCloudSDKException):
|
1672
|
+
raise
|
1673
|
+
else:
|
1674
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1675
|
+
|
1676
|
+
|
1677
|
+
def ModifyInstanceSSLAttributes(self, request):
|
1678
|
+
"""本接口 (ModifyInstanceSSLAttributes)用于修改实例SSL认证功能属性
|
1679
|
+
|
1680
|
+
:param request: Request instance for ModifyInstanceSSLAttributes.
|
1681
|
+
:type request: :class:`tencentcloud.dcdb.v20180411.models.ModifyInstanceSSLAttributesRequest`
|
1682
|
+
:rtype: :class:`tencentcloud.dcdb.v20180411.models.ModifyInstanceSSLAttributesResponse`
|
1683
|
+
|
1684
|
+
"""
|
1685
|
+
try:
|
1686
|
+
params = request._serialize()
|
1687
|
+
headers = request.headers
|
1688
|
+
body = self.call("ModifyInstanceSSLAttributes", params, headers=headers)
|
1689
|
+
response = json.loads(body)
|
1690
|
+
model = models.ModifyInstanceSSLAttributesResponse()
|
1691
|
+
model._deserialize(response["Response"])
|
1692
|
+
return model
|
1693
|
+
except Exception as e:
|
1694
|
+
if isinstance(e, TencentCloudSDKException):
|
1695
|
+
raise
|
1696
|
+
else:
|
1697
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1698
|
+
|
1699
|
+
|
1605
1700
|
def ModifyInstanceVip(self, request):
|
1606
1701
|
"""本接口(ModifyInstanceVip)用于修改实例Vip
|
1607
1702
|
|
@@ -86,6 +86,9 @@ FAILEDOPERATION_SETRULELOCATIONFAILED = 'FailedOperation.SetRuleLocationFailed'
|
|
86
86
|
# 安全组规则下发失败。
|
87
87
|
FAILEDOPERATION_SETSVCLOCATIONFAILED = 'FailedOperation.SetSvcLocationFailed'
|
88
88
|
|
89
|
+
# SSL状态异常。
|
90
|
+
FAILEDOPERATION_SSLSTATUSABNORMAL = 'FailedOperation.SslStatusAbnormal'
|
91
|
+
|
89
92
|
# 标签键值校验或鉴权失败。
|
90
93
|
FAILEDOPERATION_TAGDRYRUNERROR = 'FailedOperation.TagDryRunError'
|
91
94
|
|
@@ -383,6 +386,9 @@ RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = 'ResourceUnavailable.InstanceStatus
|
|
383
386
|
# 安全组校验失败。
|
384
387
|
RESOURCEUNAVAILABLE_SGCHECKFAIL = 'ResourceUnavailable.SGCheckFail'
|
385
388
|
|
389
|
+
# SSL状态异常。
|
390
|
+
RESOURCEUNAVAILABLE_SSLSTATUSABNORMAL = 'ResourceUnavailable.SSLStatusAbnormal'
|
391
|
+
|
386
392
|
# 没有权限操作该接口或资源。
|
387
393
|
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
|
388
394
|
|
@@ -394,3 +400,6 @@ UNSUPPORTEDOPERATION_INVALIDOPERATION = 'UnsupportedOperation.InvalidOperation'
|
|
394
400
|
|
395
401
|
# Proxy软件版本太旧,请联系客服升级到新版本后再试。
|
396
402
|
UNSUPPORTEDOPERATION_OLDPROXYVERSION = 'UnsupportedOperation.OldProxyVersion'
|
403
|
+
|
404
|
+
# 当前版本不支持SSL认证,请联系客服升级到新版本后再试。
|
405
|
+
UNSUPPORTEDOPERATION_SSLNOTSUPPORTED = 'UnsupportedOperation.SSLNotSupported'
|