tencentcloud-sdk-python-tdmysql 3.1.119__tar.gz → 3.1.123__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.
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/setup.py +1 -1
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/v20211122/models.py +180 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/v20211122/tdmysql_client.py +23 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +18 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tdmysql-3.1.123/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tdmysql-3.1.119/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/README.rst +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/__init__.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud/tdmysql/v20211122/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/tencentcloud_sdk_python_tdmysql.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tdmysql
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Tdmysql 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tdmysql',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.123,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tdmysql SDK for Python',
|
|
@@ -12404,6 +12404,87 @@ class ParamDesc(AbstractModel):
|
|
|
12404
12404
|
|
|
12405
12405
|
|
|
12406
12406
|
|
|
12407
|
+
class ResetUserPasswordInfo(AbstractModel):
|
|
12408
|
+
r"""重置密码的用户类型
|
|
12409
|
+
|
|
12410
|
+
"""
|
|
12411
|
+
|
|
12412
|
+
def __init__(self):
|
|
12413
|
+
r"""
|
|
12414
|
+
:param _UserName: <p>用户名</p>
|
|
12415
|
+
:type UserName: str
|
|
12416
|
+
:param _Host: <p>host</p>
|
|
12417
|
+
:type Host: str
|
|
12418
|
+
:param _Password: <p>明文密码</p>
|
|
12419
|
+
:type Password: str
|
|
12420
|
+
:param _EncryptedPassword: <p>加密密码</p>
|
|
12421
|
+
:type EncryptedPassword: str
|
|
12422
|
+
"""
|
|
12423
|
+
self._UserName = None
|
|
12424
|
+
self._Host = None
|
|
12425
|
+
self._Password = None
|
|
12426
|
+
self._EncryptedPassword = None
|
|
12427
|
+
|
|
12428
|
+
@property
|
|
12429
|
+
def UserName(self):
|
|
12430
|
+
r"""<p>用户名</p>
|
|
12431
|
+
:rtype: str
|
|
12432
|
+
"""
|
|
12433
|
+
return self._UserName
|
|
12434
|
+
|
|
12435
|
+
@UserName.setter
|
|
12436
|
+
def UserName(self, UserName):
|
|
12437
|
+
self._UserName = UserName
|
|
12438
|
+
|
|
12439
|
+
@property
|
|
12440
|
+
def Host(self):
|
|
12441
|
+
r"""<p>host</p>
|
|
12442
|
+
:rtype: str
|
|
12443
|
+
"""
|
|
12444
|
+
return self._Host
|
|
12445
|
+
|
|
12446
|
+
@Host.setter
|
|
12447
|
+
def Host(self, Host):
|
|
12448
|
+
self._Host = Host
|
|
12449
|
+
|
|
12450
|
+
@property
|
|
12451
|
+
def Password(self):
|
|
12452
|
+
r"""<p>明文密码</p>
|
|
12453
|
+
:rtype: str
|
|
12454
|
+
"""
|
|
12455
|
+
return self._Password
|
|
12456
|
+
|
|
12457
|
+
@Password.setter
|
|
12458
|
+
def Password(self, Password):
|
|
12459
|
+
self._Password = Password
|
|
12460
|
+
|
|
12461
|
+
@property
|
|
12462
|
+
def EncryptedPassword(self):
|
|
12463
|
+
r"""<p>加密密码</p>
|
|
12464
|
+
:rtype: str
|
|
12465
|
+
"""
|
|
12466
|
+
return self._EncryptedPassword
|
|
12467
|
+
|
|
12468
|
+
@EncryptedPassword.setter
|
|
12469
|
+
def EncryptedPassword(self, EncryptedPassword):
|
|
12470
|
+
self._EncryptedPassword = EncryptedPassword
|
|
12471
|
+
|
|
12472
|
+
|
|
12473
|
+
def _deserialize(self, params):
|
|
12474
|
+
self._UserName = params.get("UserName")
|
|
12475
|
+
self._Host = params.get("Host")
|
|
12476
|
+
self._Password = params.get("Password")
|
|
12477
|
+
self._EncryptedPassword = params.get("EncryptedPassword")
|
|
12478
|
+
memeber_set = set(params.keys())
|
|
12479
|
+
for name, value in vars(self).items():
|
|
12480
|
+
property_name = name[1:]
|
|
12481
|
+
if property_name in memeber_set:
|
|
12482
|
+
memeber_set.remove(property_name)
|
|
12483
|
+
if len(memeber_set) > 0:
|
|
12484
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12485
|
+
|
|
12486
|
+
|
|
12487
|
+
|
|
12407
12488
|
class ResetUserPasswordRequest(AbstractModel):
|
|
12408
12489
|
r"""ResetUserPassword请求参数结构体
|
|
12409
12490
|
|
|
@@ -12528,6 +12609,105 @@ class ResetUserPasswordResponse(AbstractModel):
|
|
|
12528
12609
|
self._RequestId = params.get("RequestId")
|
|
12529
12610
|
|
|
12530
12611
|
|
|
12612
|
+
class ResetUsersPasswordRequest(AbstractModel):
|
|
12613
|
+
r"""ResetUsersPassword请求参数结构体
|
|
12614
|
+
|
|
12615
|
+
"""
|
|
12616
|
+
|
|
12617
|
+
def __init__(self):
|
|
12618
|
+
r"""
|
|
12619
|
+
:param _InstanceId: <p>实例id</p>
|
|
12620
|
+
:type InstanceId: str
|
|
12621
|
+
:param _Users: <p>重置用户密码列表</p>
|
|
12622
|
+
:type Users: list of ResetUserPasswordInfo
|
|
12623
|
+
"""
|
|
12624
|
+
self._InstanceId = None
|
|
12625
|
+
self._Users = None
|
|
12626
|
+
|
|
12627
|
+
@property
|
|
12628
|
+
def InstanceId(self):
|
|
12629
|
+
r"""<p>实例id</p>
|
|
12630
|
+
:rtype: str
|
|
12631
|
+
"""
|
|
12632
|
+
return self._InstanceId
|
|
12633
|
+
|
|
12634
|
+
@InstanceId.setter
|
|
12635
|
+
def InstanceId(self, InstanceId):
|
|
12636
|
+
self._InstanceId = InstanceId
|
|
12637
|
+
|
|
12638
|
+
@property
|
|
12639
|
+
def Users(self):
|
|
12640
|
+
r"""<p>重置用户密码列表</p>
|
|
12641
|
+
:rtype: list of ResetUserPasswordInfo
|
|
12642
|
+
"""
|
|
12643
|
+
return self._Users
|
|
12644
|
+
|
|
12645
|
+
@Users.setter
|
|
12646
|
+
def Users(self, Users):
|
|
12647
|
+
self._Users = Users
|
|
12648
|
+
|
|
12649
|
+
|
|
12650
|
+
def _deserialize(self, params):
|
|
12651
|
+
self._InstanceId = params.get("InstanceId")
|
|
12652
|
+
if params.get("Users") is not None:
|
|
12653
|
+
self._Users = []
|
|
12654
|
+
for item in params.get("Users"):
|
|
12655
|
+
obj = ResetUserPasswordInfo()
|
|
12656
|
+
obj._deserialize(item)
|
|
12657
|
+
self._Users.append(obj)
|
|
12658
|
+
memeber_set = set(params.keys())
|
|
12659
|
+
for name, value in vars(self).items():
|
|
12660
|
+
property_name = name[1:]
|
|
12661
|
+
if property_name in memeber_set:
|
|
12662
|
+
memeber_set.remove(property_name)
|
|
12663
|
+
if len(memeber_set) > 0:
|
|
12664
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12665
|
+
|
|
12666
|
+
|
|
12667
|
+
|
|
12668
|
+
class ResetUsersPasswordResponse(AbstractModel):
|
|
12669
|
+
r"""ResetUsersPassword返回参数结构体
|
|
12670
|
+
|
|
12671
|
+
"""
|
|
12672
|
+
|
|
12673
|
+
def __init__(self):
|
|
12674
|
+
r"""
|
|
12675
|
+
:param _FlowId: <p>任务id</p>
|
|
12676
|
+
:type FlowId: int
|
|
12677
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12678
|
+
:type RequestId: str
|
|
12679
|
+
"""
|
|
12680
|
+
self._FlowId = None
|
|
12681
|
+
self._RequestId = None
|
|
12682
|
+
|
|
12683
|
+
@property
|
|
12684
|
+
def FlowId(self):
|
|
12685
|
+
r"""<p>任务id</p>
|
|
12686
|
+
:rtype: int
|
|
12687
|
+
"""
|
|
12688
|
+
return self._FlowId
|
|
12689
|
+
|
|
12690
|
+
@FlowId.setter
|
|
12691
|
+
def FlowId(self, FlowId):
|
|
12692
|
+
self._FlowId = FlowId
|
|
12693
|
+
|
|
12694
|
+
@property
|
|
12695
|
+
def RequestId(self):
|
|
12696
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12697
|
+
:rtype: str
|
|
12698
|
+
"""
|
|
12699
|
+
return self._RequestId
|
|
12700
|
+
|
|
12701
|
+
@RequestId.setter
|
|
12702
|
+
def RequestId(self, RequestId):
|
|
12703
|
+
self._RequestId = RequestId
|
|
12704
|
+
|
|
12705
|
+
|
|
12706
|
+
def _deserialize(self, params):
|
|
12707
|
+
self._FlowId = params.get("FlowId")
|
|
12708
|
+
self._RequestId = params.get("RequestId")
|
|
12709
|
+
|
|
12710
|
+
|
|
12531
12711
|
class ResourceTag(AbstractModel):
|
|
12532
12712
|
r"""tag参数
|
|
12533
12713
|
|
|
@@ -1015,6 +1015,29 @@ class TdmysqlClient(AbstractClient):
|
|
|
1015
1015
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1016
1016
|
|
|
1017
1017
|
|
|
1018
|
+
def ResetUsersPassword(self, request):
|
|
1019
|
+
r"""本接口(ResetUsersPassword)用于批量重置用户密码
|
|
1020
|
+
|
|
1021
|
+
:param request: Request instance for ResetUsersPassword.
|
|
1022
|
+
:type request: :class:`tencentcloud.tdmysql.v20211122.models.ResetUsersPasswordRequest`
|
|
1023
|
+
:rtype: :class:`tencentcloud.tdmysql.v20211122.models.ResetUsersPasswordResponse`
|
|
1024
|
+
|
|
1025
|
+
"""
|
|
1026
|
+
try:
|
|
1027
|
+
params = request._serialize()
|
|
1028
|
+
headers = request.headers
|
|
1029
|
+
body = self.call("ResetUsersPassword", params, headers=headers)
|
|
1030
|
+
response = json.loads(body)
|
|
1031
|
+
model = models.ResetUsersPasswordResponse()
|
|
1032
|
+
model._deserialize(response["Response"])
|
|
1033
|
+
return model
|
|
1034
|
+
except Exception as e:
|
|
1035
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1036
|
+
raise
|
|
1037
|
+
else:
|
|
1038
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1039
|
+
|
|
1040
|
+
|
|
1018
1041
|
def RestartDBInstances(self, request):
|
|
1019
1042
|
r"""本接口(RestartDBInstances)用于重启数据库实例
|
|
1020
1043
|
|
|
@@ -799,6 +799,24 @@ class TdmysqlClient(AbstractClient):
|
|
|
799
799
|
|
|
800
800
|
return await self.call_and_deserialize(**kwargs)
|
|
801
801
|
|
|
802
|
+
async def ResetUsersPassword(
|
|
803
|
+
self,
|
|
804
|
+
request: models.ResetUsersPasswordRequest,
|
|
805
|
+
opts: Dict = None,
|
|
806
|
+
) -> models.ResetUsersPasswordResponse:
|
|
807
|
+
"""
|
|
808
|
+
本接口(ResetUsersPassword)用于批量重置用户密码
|
|
809
|
+
"""
|
|
810
|
+
|
|
811
|
+
kwargs = {}
|
|
812
|
+
kwargs["action"] = "ResetUsersPassword"
|
|
813
|
+
kwargs["params"] = request._serialize()
|
|
814
|
+
kwargs["resp_cls"] = models.ResetUsersPasswordResponse
|
|
815
|
+
kwargs["headers"] = request.headers
|
|
816
|
+
kwargs["opts"] = opts or {}
|
|
817
|
+
|
|
818
|
+
return await self.call_and_deserialize(**kwargs)
|
|
819
|
+
|
|
802
820
|
async def RestartDBInstances(
|
|
803
821
|
self,
|
|
804
822
|
request: models.RestartDBInstancesRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tdmysql
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Tdmysql 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
tencentcloud_sdk_python_tdmysql-3.1.119/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.119
|
{tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_tdmysql-3.1.119 → tencentcloud_sdk_python_tdmysql-3.1.123}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|