tencentcloud-sdk-python-tdmysql 3.1.202__tar.gz → 3.1.203__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.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/setup.py +1 -1
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/v20211122/errorcodes.py +6 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/v20211122/models.py +284 -15
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tdmysql-3.1.203/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tdmysql-3.1.202/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/README.rst +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/__init__.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/v20211122/tdmysql_client.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/tencentcloud_sdk_python_tdmysql.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/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.203
|
|
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.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/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.203,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tdmysql SDK for Python',
|
|
@@ -206,6 +206,9 @@ INVALIDPARAMETER_INSTANCENOTFOUND = 'InvalidParameter.InstanceNotFound'
|
|
|
206
206
|
# 参数校验失败
|
|
207
207
|
INVALIDPARAMETER_INVALIDPARAMETERERROR = 'InvalidParameter.InvalidParameterError'
|
|
208
208
|
|
|
209
|
+
# 密码复杂度参数校验失败。
|
|
210
|
+
INVALIDPARAMETER_PASSWORDCOMPLEXITYPARAMERROR = 'InvalidParameter.PasswordComplexityParamError'
|
|
211
|
+
|
|
209
212
|
# InvalidParameter.PermissionDenied
|
|
210
213
|
INVALIDPARAMETER_PERMISSIONDENIED = 'InvalidParameter.PermissionDenied'
|
|
211
214
|
|
|
@@ -239,6 +242,9 @@ INVALIDPARAMETERVALUE_CHECKINSTANCEVERSIONERROR = 'InvalidParameterValue.CheckIn
|
|
|
239
242
|
# 名称校验失败。
|
|
240
243
|
INVALIDPARAMETERVALUE_CHECKNAMEERROR = 'InvalidParameterValue.CheckNameError'
|
|
241
244
|
|
|
245
|
+
# 密码校验失败。
|
|
246
|
+
INVALIDPARAMETERVALUE_CHECKPASSWDERROR = 'InvalidParameterValue.CheckPasswdError'
|
|
247
|
+
|
|
242
248
|
# 实例规格校验错误。
|
|
243
249
|
INVALIDPARAMETERVALUE_CHECKSPECERROR = 'InvalidParameterValue.CheckSpecError'
|
|
244
250
|
|
|
@@ -1997,6 +1997,72 @@ class CancelIsolateDBInstancesResponse(AbstractModel):
|
|
|
1997
1997
|
self._RequestId = params.get("RequestId")
|
|
1998
1998
|
|
|
1999
1999
|
|
|
2000
|
+
class CharsetCollationItem(AbstractModel):
|
|
2001
|
+
r"""字符集与排序规则联动清单
|
|
2002
|
+
|
|
2003
|
+
"""
|
|
2004
|
+
|
|
2005
|
+
def __init__(self):
|
|
2006
|
+
r"""
|
|
2007
|
+
:param _CharsetName: <p>字符集</p>
|
|
2008
|
+
:type CharsetName: str
|
|
2009
|
+
:param _Collations: <p>排序规则</p>
|
|
2010
|
+
:type Collations: list of str
|
|
2011
|
+
:param _DefaultCollation: <p>默认的排序规则</p>
|
|
2012
|
+
:type DefaultCollation: str
|
|
2013
|
+
"""
|
|
2014
|
+
self._CharsetName = None
|
|
2015
|
+
self._Collations = None
|
|
2016
|
+
self._DefaultCollation = None
|
|
2017
|
+
|
|
2018
|
+
@property
|
|
2019
|
+
def CharsetName(self):
|
|
2020
|
+
r"""<p>字符集</p>
|
|
2021
|
+
:rtype: str
|
|
2022
|
+
"""
|
|
2023
|
+
return self._CharsetName
|
|
2024
|
+
|
|
2025
|
+
@CharsetName.setter
|
|
2026
|
+
def CharsetName(self, CharsetName):
|
|
2027
|
+
self._CharsetName = CharsetName
|
|
2028
|
+
|
|
2029
|
+
@property
|
|
2030
|
+
def Collations(self):
|
|
2031
|
+
r"""<p>排序规则</p>
|
|
2032
|
+
:rtype: list of str
|
|
2033
|
+
"""
|
|
2034
|
+
return self._Collations
|
|
2035
|
+
|
|
2036
|
+
@Collations.setter
|
|
2037
|
+
def Collations(self, Collations):
|
|
2038
|
+
self._Collations = Collations
|
|
2039
|
+
|
|
2040
|
+
@property
|
|
2041
|
+
def DefaultCollation(self):
|
|
2042
|
+
r"""<p>默认的排序规则</p>
|
|
2043
|
+
:rtype: str
|
|
2044
|
+
"""
|
|
2045
|
+
return self._DefaultCollation
|
|
2046
|
+
|
|
2047
|
+
@DefaultCollation.setter
|
|
2048
|
+
def DefaultCollation(self, DefaultCollation):
|
|
2049
|
+
self._DefaultCollation = DefaultCollation
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
def _deserialize(self, params):
|
|
2053
|
+
self._CharsetName = params.get("CharsetName")
|
|
2054
|
+
self._Collations = params.get("Collations")
|
|
2055
|
+
self._DefaultCollation = params.get("DefaultCollation")
|
|
2056
|
+
memeber_set = set(params.keys())
|
|
2057
|
+
for name, value in vars(self).items():
|
|
2058
|
+
property_name = name[1:]
|
|
2059
|
+
if property_name in memeber_set:
|
|
2060
|
+
memeber_set.remove(property_name)
|
|
2061
|
+
if len(memeber_set) > 0:
|
|
2062
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
|
|
2000
2066
|
class CloneInstanceModel(AbstractModel):
|
|
2001
2067
|
r"""克隆实例对象
|
|
2002
2068
|
|
|
@@ -2717,8 +2783,6 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2717
2783
|
|
|
2718
2784
|
def __init__(self):
|
|
2719
2785
|
r"""
|
|
2720
|
-
:param _Zone: <p>创建实例区域</p>
|
|
2721
|
-
:type Zone: str
|
|
2722
2786
|
:param _VpcId: <p>字符型vpcid</p>
|
|
2723
2787
|
:type VpcId: str
|
|
2724
2788
|
:param _SubnetId: <p>字符型subnetid</p>
|
|
@@ -2733,6 +2797,8 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2733
2797
|
:type Replications: int
|
|
2734
2798
|
:param _InstanceCount: <p>创建实例个数,上限为10</p>
|
|
2735
2799
|
:type InstanceCount: int
|
|
2800
|
+
:param _Zone: <p>创建实例区域</p>
|
|
2801
|
+
:type Zone: str
|
|
2736
2802
|
:param _FullReplications: <p>全能型副本数量</p>
|
|
2737
2803
|
:type FullReplications: int
|
|
2738
2804
|
:param _CreateVersion: <p>创建实例版本,默认使用当前最新版本</p>
|
|
@@ -2787,8 +2853,9 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2787
2853
|
:type EncryptionEnable: int
|
|
2788
2854
|
:param _AutoScaleConfigs: <p>SVLS 实例的自动变配相关限制</p><p>入参限制:传入时 AutoScaleConfig 参数不再生效</p>
|
|
2789
2855
|
:type AutoScaleConfigs: list of AutoScalingConfig
|
|
2856
|
+
:param _PasswordComplexity: <p>密码复杂度</p>
|
|
2857
|
+
:type PasswordComplexity: :class:`tencentcloud.tdmysql.v20211122.models.PasswordComplexity`
|
|
2790
2858
|
"""
|
|
2791
|
-
self._Zone = None
|
|
2792
2859
|
self._VpcId = None
|
|
2793
2860
|
self._SubnetId = None
|
|
2794
2861
|
self._SpecCode = None
|
|
@@ -2796,6 +2863,7 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2796
2863
|
self._StorageNodeNum = None
|
|
2797
2864
|
self._Replications = None
|
|
2798
2865
|
self._InstanceCount = None
|
|
2866
|
+
self._Zone = None
|
|
2799
2867
|
self._FullReplications = None
|
|
2800
2868
|
self._CreateVersion = None
|
|
2801
2869
|
self._InstanceName = None
|
|
@@ -2823,17 +2891,7 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2823
2891
|
self._Password = None
|
|
2824
2892
|
self._EncryptionEnable = None
|
|
2825
2893
|
self._AutoScaleConfigs = None
|
|
2826
|
-
|
|
2827
|
-
@property
|
|
2828
|
-
def Zone(self):
|
|
2829
|
-
r"""<p>创建实例区域</p>
|
|
2830
|
-
:rtype: str
|
|
2831
|
-
"""
|
|
2832
|
-
return self._Zone
|
|
2833
|
-
|
|
2834
|
-
@Zone.setter
|
|
2835
|
-
def Zone(self, Zone):
|
|
2836
|
-
self._Zone = Zone
|
|
2894
|
+
self._PasswordComplexity = None
|
|
2837
2895
|
|
|
2838
2896
|
@property
|
|
2839
2897
|
def VpcId(self):
|
|
@@ -2912,6 +2970,17 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
2912
2970
|
def InstanceCount(self, InstanceCount):
|
|
2913
2971
|
self._InstanceCount = InstanceCount
|
|
2914
2972
|
|
|
2973
|
+
@property
|
|
2974
|
+
def Zone(self):
|
|
2975
|
+
r"""<p>创建实例区域</p>
|
|
2976
|
+
:rtype: str
|
|
2977
|
+
"""
|
|
2978
|
+
return self._Zone
|
|
2979
|
+
|
|
2980
|
+
@Zone.setter
|
|
2981
|
+
def Zone(self, Zone):
|
|
2982
|
+
self._Zone = Zone
|
|
2983
|
+
|
|
2915
2984
|
@property
|
|
2916
2985
|
def FullReplications(self):
|
|
2917
2986
|
r"""<p>全能型副本数量</p>
|
|
@@ -3209,9 +3278,19 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
3209
3278
|
def AutoScaleConfigs(self, AutoScaleConfigs):
|
|
3210
3279
|
self._AutoScaleConfigs = AutoScaleConfigs
|
|
3211
3280
|
|
|
3281
|
+
@property
|
|
3282
|
+
def PasswordComplexity(self):
|
|
3283
|
+
r"""<p>密码复杂度</p>
|
|
3284
|
+
:rtype: :class:`tencentcloud.tdmysql.v20211122.models.PasswordComplexity`
|
|
3285
|
+
"""
|
|
3286
|
+
return self._PasswordComplexity
|
|
3287
|
+
|
|
3288
|
+
@PasswordComplexity.setter
|
|
3289
|
+
def PasswordComplexity(self, PasswordComplexity):
|
|
3290
|
+
self._PasswordComplexity = PasswordComplexity
|
|
3291
|
+
|
|
3212
3292
|
|
|
3213
3293
|
def _deserialize(self, params):
|
|
3214
|
-
self._Zone = params.get("Zone")
|
|
3215
3294
|
self._VpcId = params.get("VpcId")
|
|
3216
3295
|
self._SubnetId = params.get("SubnetId")
|
|
3217
3296
|
self._SpecCode = params.get("SpecCode")
|
|
@@ -3219,6 +3298,7 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
3219
3298
|
self._StorageNodeNum = params.get("StorageNodeNum")
|
|
3220
3299
|
self._Replications = params.get("Replications")
|
|
3221
3300
|
self._InstanceCount = params.get("InstanceCount")
|
|
3301
|
+
self._Zone = params.get("Zone")
|
|
3222
3302
|
self._FullReplications = params.get("FullReplications")
|
|
3223
3303
|
self._CreateVersion = params.get("CreateVersion")
|
|
3224
3304
|
self._InstanceName = params.get("InstanceName")
|
|
@@ -3263,6 +3343,9 @@ class CreateDBInstancesRequest(AbstractModel):
|
|
|
3263
3343
|
obj = AutoScalingConfig()
|
|
3264
3344
|
obj._deserialize(item)
|
|
3265
3345
|
self._AutoScaleConfigs.append(obj)
|
|
3346
|
+
if params.get("PasswordComplexity") is not None:
|
|
3347
|
+
self._PasswordComplexity = PasswordComplexity()
|
|
3348
|
+
self._PasswordComplexity._deserialize(params.get("PasswordComplexity"))
|
|
3266
3349
|
memeber_set = set(params.keys())
|
|
3267
3350
|
for name, value in vars(self).items():
|
|
3268
3351
|
property_name = name[1:]
|
|
@@ -4942,11 +5025,25 @@ class DescribeDBCharsetsResponse(AbstractModel):
|
|
|
4942
5025
|
|
|
4943
5026
|
def __init__(self):
|
|
4944
5027
|
r"""
|
|
5028
|
+
:param _CharsetCollations: <p>字符集与排序规则对应列表</p>
|
|
5029
|
+
:type CharsetCollations: list of CharsetCollationItem
|
|
4945
5030
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4946
5031
|
:type RequestId: str
|
|
4947
5032
|
"""
|
|
5033
|
+
self._CharsetCollations = None
|
|
4948
5034
|
self._RequestId = None
|
|
4949
5035
|
|
|
5036
|
+
@property
|
|
5037
|
+
def CharsetCollations(self):
|
|
5038
|
+
r"""<p>字符集与排序规则对应列表</p>
|
|
5039
|
+
:rtype: list of CharsetCollationItem
|
|
5040
|
+
"""
|
|
5041
|
+
return self._CharsetCollations
|
|
5042
|
+
|
|
5043
|
+
@CharsetCollations.setter
|
|
5044
|
+
def CharsetCollations(self, CharsetCollations):
|
|
5045
|
+
self._CharsetCollations = CharsetCollations
|
|
5046
|
+
|
|
4950
5047
|
@property
|
|
4951
5048
|
def RequestId(self):
|
|
4952
5049
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4960,6 +5057,12 @@ class DescribeDBCharsetsResponse(AbstractModel):
|
|
|
4960
5057
|
|
|
4961
5058
|
|
|
4962
5059
|
def _deserialize(self, params):
|
|
5060
|
+
if params.get("CharsetCollations") is not None:
|
|
5061
|
+
self._CharsetCollations = []
|
|
5062
|
+
for item in params.get("CharsetCollations"):
|
|
5063
|
+
obj = CharsetCollationItem()
|
|
5064
|
+
obj._deserialize(item)
|
|
5065
|
+
self._CharsetCollations.append(obj)
|
|
4963
5066
|
self._RequestId = params.get("RequestId")
|
|
4964
5067
|
|
|
4965
5068
|
|
|
@@ -5204,6 +5307,10 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
5204
5307
|
:type EncryptionKmsRegion: str
|
|
5205
5308
|
:param _AutoScaleConfigs: <p>serverless自动变配配置</p>
|
|
5206
5309
|
:type AutoScaleConfigs: list of AutoScalingConfig
|
|
5310
|
+
:param _SSLStatus: <p>SSL开启状态</p>
|
|
5311
|
+
:type SSLStatus: str
|
|
5312
|
+
:param _Collation: <p>字符集的排序规则</p>
|
|
5313
|
+
:type Collation: str
|
|
5207
5314
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5208
5315
|
:type RequestId: str
|
|
5209
5316
|
"""
|
|
@@ -5269,6 +5376,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
5269
5376
|
self._EncryptionEnable = None
|
|
5270
5377
|
self._EncryptionKmsRegion = None
|
|
5271
5378
|
self._AutoScaleConfigs = None
|
|
5379
|
+
self._SSLStatus = None
|
|
5380
|
+
self._Collation = None
|
|
5272
5381
|
self._RequestId = None
|
|
5273
5382
|
|
|
5274
5383
|
@property
|
|
@@ -5958,6 +6067,28 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
5958
6067
|
def AutoScaleConfigs(self, AutoScaleConfigs):
|
|
5959
6068
|
self._AutoScaleConfigs = AutoScaleConfigs
|
|
5960
6069
|
|
|
6070
|
+
@property
|
|
6071
|
+
def SSLStatus(self):
|
|
6072
|
+
r"""<p>SSL开启状态</p>
|
|
6073
|
+
:rtype: str
|
|
6074
|
+
"""
|
|
6075
|
+
return self._SSLStatus
|
|
6076
|
+
|
|
6077
|
+
@SSLStatus.setter
|
|
6078
|
+
def SSLStatus(self, SSLStatus):
|
|
6079
|
+
self._SSLStatus = SSLStatus
|
|
6080
|
+
|
|
6081
|
+
@property
|
|
6082
|
+
def Collation(self):
|
|
6083
|
+
r"""<p>字符集的排序规则</p>
|
|
6084
|
+
:rtype: str
|
|
6085
|
+
"""
|
|
6086
|
+
return self._Collation
|
|
6087
|
+
|
|
6088
|
+
@Collation.setter
|
|
6089
|
+
def Collation(self, Collation):
|
|
6090
|
+
self._Collation = Collation
|
|
6091
|
+
|
|
5961
6092
|
@property
|
|
5962
6093
|
def RequestId(self):
|
|
5963
6094
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6064,6 +6195,8 @@ class DescribeDBInstanceDetailResponse(AbstractModel):
|
|
|
6064
6195
|
obj = AutoScalingConfig()
|
|
6065
6196
|
obj._deserialize(item)
|
|
6066
6197
|
self._AutoScaleConfigs.append(obj)
|
|
6198
|
+
self._SSLStatus = params.get("SSLStatus")
|
|
6199
|
+
self._Collation = params.get("Collation")
|
|
6067
6200
|
self._RequestId = params.get("RequestId")
|
|
6068
6201
|
|
|
6069
6202
|
|
|
@@ -9250,10 +9383,13 @@ class DescribeSpecsRequest(AbstractModel):
|
|
|
9250
9383
|
:type IsExclusiveInstance: int
|
|
9251
9384
|
:param _Zones: <p>可用区组合列表</p>
|
|
9252
9385
|
:type Zones: list of str
|
|
9386
|
+
:param _InstanceId: <p>实例ID</p>
|
|
9387
|
+
:type InstanceId: str
|
|
9253
9388
|
"""
|
|
9254
9389
|
self._FullReplications = None
|
|
9255
9390
|
self._IsExclusiveInstance = None
|
|
9256
9391
|
self._Zones = None
|
|
9392
|
+
self._InstanceId = None
|
|
9257
9393
|
|
|
9258
9394
|
@property
|
|
9259
9395
|
def FullReplications(self):
|
|
@@ -9288,11 +9424,23 @@ class DescribeSpecsRequest(AbstractModel):
|
|
|
9288
9424
|
def Zones(self, Zones):
|
|
9289
9425
|
self._Zones = Zones
|
|
9290
9426
|
|
|
9427
|
+
@property
|
|
9428
|
+
def InstanceId(self):
|
|
9429
|
+
r"""<p>实例ID</p>
|
|
9430
|
+
:rtype: str
|
|
9431
|
+
"""
|
|
9432
|
+
return self._InstanceId
|
|
9433
|
+
|
|
9434
|
+
@InstanceId.setter
|
|
9435
|
+
def InstanceId(self, InstanceId):
|
|
9436
|
+
self._InstanceId = InstanceId
|
|
9437
|
+
|
|
9291
9438
|
|
|
9292
9439
|
def _deserialize(self, params):
|
|
9293
9440
|
self._FullReplications = params.get("FullReplications")
|
|
9294
9441
|
self._IsExclusiveInstance = params.get("IsExclusiveInstance")
|
|
9295
9442
|
self._Zones = params.get("Zones")
|
|
9443
|
+
self._InstanceId = params.get("InstanceId")
|
|
9296
9444
|
memeber_set = set(params.keys())
|
|
9297
9445
|
for name, value in vars(self).items():
|
|
9298
9446
|
property_name = name[1:]
|
|
@@ -13986,6 +14134,112 @@ class ParamDesc(AbstractModel):
|
|
|
13986
14134
|
|
|
13987
14135
|
|
|
13988
14136
|
|
|
14137
|
+
class PasswordComplexity(AbstractModel):
|
|
14138
|
+
r"""密码复杂度
|
|
14139
|
+
|
|
14140
|
+
"""
|
|
14141
|
+
|
|
14142
|
+
def __init__(self):
|
|
14143
|
+
r"""
|
|
14144
|
+
:param _Enable: <p>是否开启密码复杂度</p>
|
|
14145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14146
|
+
:type Enable: bool
|
|
14147
|
+
:param _MixedCaseCount: <p>大写和小写字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14149
|
+
:type MixedCaseCount: int
|
|
14150
|
+
:param _NumberCount: <p>数字字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14152
|
+
:type NumberCount: int
|
|
14153
|
+
:param _SpecialCharCount: <p>特殊字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14155
|
+
:type SpecialCharCount: int
|
|
14156
|
+
:param _Length: <p>密码的最小长度</p><p>取值范围:[8, 64]</p>
|
|
14157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14158
|
+
:type Length: int
|
|
14159
|
+
"""
|
|
14160
|
+
self._Enable = None
|
|
14161
|
+
self._MixedCaseCount = None
|
|
14162
|
+
self._NumberCount = None
|
|
14163
|
+
self._SpecialCharCount = None
|
|
14164
|
+
self._Length = None
|
|
14165
|
+
|
|
14166
|
+
@property
|
|
14167
|
+
def Enable(self):
|
|
14168
|
+
r"""<p>是否开启密码复杂度</p>
|
|
14169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14170
|
+
:rtype: bool
|
|
14171
|
+
"""
|
|
14172
|
+
return self._Enable
|
|
14173
|
+
|
|
14174
|
+
@Enable.setter
|
|
14175
|
+
def Enable(self, Enable):
|
|
14176
|
+
self._Enable = Enable
|
|
14177
|
+
|
|
14178
|
+
@property
|
|
14179
|
+
def MixedCaseCount(self):
|
|
14180
|
+
r"""<p>大写和小写字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14182
|
+
:rtype: int
|
|
14183
|
+
"""
|
|
14184
|
+
return self._MixedCaseCount
|
|
14185
|
+
|
|
14186
|
+
@MixedCaseCount.setter
|
|
14187
|
+
def MixedCaseCount(self, MixedCaseCount):
|
|
14188
|
+
self._MixedCaseCount = MixedCaseCount
|
|
14189
|
+
|
|
14190
|
+
@property
|
|
14191
|
+
def NumberCount(self):
|
|
14192
|
+
r"""<p>数字字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14194
|
+
:rtype: int
|
|
14195
|
+
"""
|
|
14196
|
+
return self._NumberCount
|
|
14197
|
+
|
|
14198
|
+
@NumberCount.setter
|
|
14199
|
+
def NumberCount(self, NumberCount):
|
|
14200
|
+
self._NumberCount = NumberCount
|
|
14201
|
+
|
|
14202
|
+
@property
|
|
14203
|
+
def SpecialCharCount(self):
|
|
14204
|
+
r"""<p>特殊字符的最小长度</p><p>取值范围:[1, 16]</p>
|
|
14205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14206
|
+
:rtype: int
|
|
14207
|
+
"""
|
|
14208
|
+
return self._SpecialCharCount
|
|
14209
|
+
|
|
14210
|
+
@SpecialCharCount.setter
|
|
14211
|
+
def SpecialCharCount(self, SpecialCharCount):
|
|
14212
|
+
self._SpecialCharCount = SpecialCharCount
|
|
14213
|
+
|
|
14214
|
+
@property
|
|
14215
|
+
def Length(self):
|
|
14216
|
+
r"""<p>密码的最小长度</p><p>取值范围:[8, 64]</p>
|
|
14217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14218
|
+
:rtype: int
|
|
14219
|
+
"""
|
|
14220
|
+
return self._Length
|
|
14221
|
+
|
|
14222
|
+
@Length.setter
|
|
14223
|
+
def Length(self, Length):
|
|
14224
|
+
self._Length = Length
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
def _deserialize(self, params):
|
|
14228
|
+
self._Enable = params.get("Enable")
|
|
14229
|
+
self._MixedCaseCount = params.get("MixedCaseCount")
|
|
14230
|
+
self._NumberCount = params.get("NumberCount")
|
|
14231
|
+
self._SpecialCharCount = params.get("SpecialCharCount")
|
|
14232
|
+
self._Length = params.get("Length")
|
|
14233
|
+
memeber_set = set(params.keys())
|
|
14234
|
+
for name, value in vars(self).items():
|
|
14235
|
+
property_name = name[1:]
|
|
14236
|
+
if property_name in memeber_set:
|
|
14237
|
+
memeber_set.remove(property_name)
|
|
14238
|
+
if len(memeber_set) > 0:
|
|
14239
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14240
|
+
|
|
14241
|
+
|
|
14242
|
+
|
|
13989
14243
|
class ResetDbaAdminPrivilegesRequest(AbstractModel):
|
|
13990
14244
|
r"""ResetDbaAdminPrivileges请求参数结构体
|
|
13991
14245
|
|
|
@@ -13995,8 +14249,11 @@ class ResetDbaAdminPrivilegesRequest(AbstractModel):
|
|
|
13995
14249
|
r"""
|
|
13996
14250
|
:param _InstanceId: <p>实例id</p>
|
|
13997
14251
|
:type InstanceId: str
|
|
14252
|
+
:param _Host: <p>DbaAdmin的host</p>
|
|
14253
|
+
:type Host: str
|
|
13998
14254
|
"""
|
|
13999
14255
|
self._InstanceId = None
|
|
14256
|
+
self._Host = None
|
|
14000
14257
|
|
|
14001
14258
|
@property
|
|
14002
14259
|
def InstanceId(self):
|
|
@@ -14009,9 +14266,21 @@ class ResetDbaAdminPrivilegesRequest(AbstractModel):
|
|
|
14009
14266
|
def InstanceId(self, InstanceId):
|
|
14010
14267
|
self._InstanceId = InstanceId
|
|
14011
14268
|
|
|
14269
|
+
@property
|
|
14270
|
+
def Host(self):
|
|
14271
|
+
r"""<p>DbaAdmin的host</p>
|
|
14272
|
+
:rtype: str
|
|
14273
|
+
"""
|
|
14274
|
+
return self._Host
|
|
14275
|
+
|
|
14276
|
+
@Host.setter
|
|
14277
|
+
def Host(self, Host):
|
|
14278
|
+
self._Host = Host
|
|
14279
|
+
|
|
14012
14280
|
|
|
14013
14281
|
def _deserialize(self, params):
|
|
14014
14282
|
self._InstanceId = params.get("InstanceId")
|
|
14283
|
+
self._Host = params.get("Host")
|
|
14015
14284
|
memeber_set = set(params.keys())
|
|
14016
14285
|
for name, value in vars(self).items():
|
|
14017
14286
|
property_name = name[1:]
|
|
@@ -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.203
|
|
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.203
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
tencentcloud_sdk_python_tdmysql-3.1.202/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.202
|
{tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_tdmysql-3.1.202 → tencentcloud_sdk_python_tdmysql-3.1.203}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|