tencentcloud-sdk-python-tdmysql 3.1.130__tar.gz → 3.1.135__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/v20211122/models.py +233 -0
  5. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/v20211122/tdmysql_client.py +23 -0
  6. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +18 -0
  7. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tdmysql-3.1.135/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tdmysql-3.1.130/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud/tdmysql/v20211122/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tdmysql-3.1.130 → tencentcloud_sdk_python_tdmysql-3.1.135}/tencentcloud_sdk_python_tdmysql.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tdmysql
3
- Version: 3.1.130
3
+ Version: 3.1.135
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.130
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.130,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.135,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tdmysql SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.130'
17
+ __version__ = '3.1.135'
@@ -3393,6 +3393,155 @@ class CreateUsersResponse(AbstractModel):
3393
3393
  self._RequestId = params.get("RequestId")
3394
3394
 
3395
3395
 
3396
+ class DBEngineInfo(AbstractModel):
3397
+ r"""数据库引擎信息
3398
+
3399
+ """
3400
+
3401
+ def __init__(self):
3402
+ r"""
3403
+ :param _Type: <p>引擎类型</p>
3404
+ 注意:此字段可能返回 null,表示取不到有效值。
3405
+ :type Type: str
3406
+ :param _Version: <p>引擎版本</p>
3407
+ 注意:此字段可能返回 null,表示取不到有效值。
3408
+ :type Version: str
3409
+ :param _Name: <p>引擎名称</p>
3410
+ 注意:此字段可能返回 null,表示取不到有效值。
3411
+ :type Name: str
3412
+ :param _Description: <p>引擎描述</p>
3413
+ :type Description: str
3414
+ :param _New: <p>是否最新版本</p>
3415
+ 注意:此字段可能返回 null,表示取不到有效值。
3416
+ :type New: bool
3417
+ :param _SQLMode: <p>支持的兼容的模式,以,分隔</p>
3418
+ :type SQLMode: list of str
3419
+ :param _IsSupportParamTemplate: <p>是否支持参数模板</p>
3420
+ :type IsSupportParamTemplate: bool
3421
+ :param _IsSupportServerless: <p>是否支持Serverless模式</p>
3422
+ :type IsSupportServerless: bool
3423
+ """
3424
+ self._Type = None
3425
+ self._Version = None
3426
+ self._Name = None
3427
+ self._Description = None
3428
+ self._New = None
3429
+ self._SQLMode = None
3430
+ self._IsSupportParamTemplate = None
3431
+ self._IsSupportServerless = None
3432
+
3433
+ @property
3434
+ def Type(self):
3435
+ r"""<p>引擎类型</p>
3436
+ 注意:此字段可能返回 null,表示取不到有效值。
3437
+ :rtype: str
3438
+ """
3439
+ return self._Type
3440
+
3441
+ @Type.setter
3442
+ def Type(self, Type):
3443
+ self._Type = Type
3444
+
3445
+ @property
3446
+ def Version(self):
3447
+ r"""<p>引擎版本</p>
3448
+ 注意:此字段可能返回 null,表示取不到有效值。
3449
+ :rtype: str
3450
+ """
3451
+ return self._Version
3452
+
3453
+ @Version.setter
3454
+ def Version(self, Version):
3455
+ self._Version = Version
3456
+
3457
+ @property
3458
+ def Name(self):
3459
+ r"""<p>引擎名称</p>
3460
+ 注意:此字段可能返回 null,表示取不到有效值。
3461
+ :rtype: str
3462
+ """
3463
+ return self._Name
3464
+
3465
+ @Name.setter
3466
+ def Name(self, Name):
3467
+ self._Name = Name
3468
+
3469
+ @property
3470
+ def Description(self):
3471
+ r"""<p>引擎描述</p>
3472
+ :rtype: str
3473
+ """
3474
+ return self._Description
3475
+
3476
+ @Description.setter
3477
+ def Description(self, Description):
3478
+ self._Description = Description
3479
+
3480
+ @property
3481
+ def New(self):
3482
+ r"""<p>是否最新版本</p>
3483
+ 注意:此字段可能返回 null,表示取不到有效值。
3484
+ :rtype: bool
3485
+ """
3486
+ return self._New
3487
+
3488
+ @New.setter
3489
+ def New(self, New):
3490
+ self._New = New
3491
+
3492
+ @property
3493
+ def SQLMode(self):
3494
+ r"""<p>支持的兼容的模式,以,分隔</p>
3495
+ :rtype: list of str
3496
+ """
3497
+ return self._SQLMode
3498
+
3499
+ @SQLMode.setter
3500
+ def SQLMode(self, SQLMode):
3501
+ self._SQLMode = SQLMode
3502
+
3503
+ @property
3504
+ def IsSupportParamTemplate(self):
3505
+ r"""<p>是否支持参数模板</p>
3506
+ :rtype: bool
3507
+ """
3508
+ return self._IsSupportParamTemplate
3509
+
3510
+ @IsSupportParamTemplate.setter
3511
+ def IsSupportParamTemplate(self, IsSupportParamTemplate):
3512
+ self._IsSupportParamTemplate = IsSupportParamTemplate
3513
+
3514
+ @property
3515
+ def IsSupportServerless(self):
3516
+ r"""<p>是否支持Serverless模式</p>
3517
+ :rtype: bool
3518
+ """
3519
+ return self._IsSupportServerless
3520
+
3521
+ @IsSupportServerless.setter
3522
+ def IsSupportServerless(self, IsSupportServerless):
3523
+ self._IsSupportServerless = IsSupportServerless
3524
+
3525
+
3526
+ def _deserialize(self, params):
3527
+ self._Type = params.get("Type")
3528
+ self._Version = params.get("Version")
3529
+ self._Name = params.get("Name")
3530
+ self._Description = params.get("Description")
3531
+ self._New = params.get("New")
3532
+ self._SQLMode = params.get("SQLMode")
3533
+ self._IsSupportParamTemplate = params.get("IsSupportParamTemplate")
3534
+ self._IsSupportServerless = params.get("IsSupportServerless")
3535
+ memeber_set = set(params.keys())
3536
+ for name, value in vars(self).items():
3537
+ property_name = name[1:]
3538
+ if property_name in memeber_set:
3539
+ memeber_set.remove(property_name)
3540
+ if len(memeber_set) > 0:
3541
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3542
+
3543
+
3544
+
3396
3545
  class DBParamValue(AbstractModel):
3397
3546
  r"""云数据库参数信息。
3398
3547
 
@@ -4055,6 +4204,75 @@ class DeleteUsersResponse(AbstractModel):
4055
4204
  self._RequestId = params.get("RequestId")
4056
4205
 
4057
4206
 
4207
+ class DescribeDBEnginesRequest(AbstractModel):
4208
+ r"""DescribeDBEngines请求参数结构体
4209
+
4210
+ """
4211
+
4212
+
4213
+ class DescribeDBEnginesResponse(AbstractModel):
4214
+ r"""DescribeDBEngines返回参数结构体
4215
+
4216
+ """
4217
+
4218
+ def __init__(self):
4219
+ r"""
4220
+ :param _TotalCount: items总数
4221
+ :type TotalCount: int
4222
+ :param _Items: DB引擎信息
4223
+ :type Items: list of DBEngineInfo
4224
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4225
+ :type RequestId: str
4226
+ """
4227
+ self._TotalCount = None
4228
+ self._Items = None
4229
+ self._RequestId = None
4230
+
4231
+ @property
4232
+ def TotalCount(self):
4233
+ r"""items总数
4234
+ :rtype: int
4235
+ """
4236
+ return self._TotalCount
4237
+
4238
+ @TotalCount.setter
4239
+ def TotalCount(self, TotalCount):
4240
+ self._TotalCount = TotalCount
4241
+
4242
+ @property
4243
+ def Items(self):
4244
+ r"""DB引擎信息
4245
+ :rtype: list of DBEngineInfo
4246
+ """
4247
+ return self._Items
4248
+
4249
+ @Items.setter
4250
+ def Items(self, Items):
4251
+ self._Items = Items
4252
+
4253
+ @property
4254
+ def RequestId(self):
4255
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4256
+ :rtype: str
4257
+ """
4258
+ return self._RequestId
4259
+
4260
+ @RequestId.setter
4261
+ def RequestId(self, RequestId):
4262
+ self._RequestId = RequestId
4263
+
4264
+
4265
+ def _deserialize(self, params):
4266
+ self._TotalCount = params.get("TotalCount")
4267
+ if params.get("Items") is not None:
4268
+ self._Items = []
4269
+ for item in params.get("Items"):
4270
+ obj = DBEngineInfo()
4271
+ obj._deserialize(item)
4272
+ self._Items.append(obj)
4273
+ self._RequestId = params.get("RequestId")
4274
+
4275
+
4058
4276
  class DescribeDBInstanceDetailRequest(AbstractModel):
4059
4277
  r"""DescribeDBInstanceDetail请求参数结构体
4060
4278
 
@@ -7085,11 +7303,25 @@ class DescribeFlowResponse(AbstractModel):
7085
7303
 
7086
7304
  def __init__(self):
7087
7305
  r"""
7306
+ :param _Status: <p>running表示进行中;success表示成功;paused表示暂停;failed表示失败</p>
7307
+ :type Status: str
7088
7308
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7089
7309
  :type RequestId: str
7090
7310
  """
7311
+ self._Status = None
7091
7312
  self._RequestId = None
7092
7313
 
7314
+ @property
7315
+ def Status(self):
7316
+ r"""<p>running表示进行中;success表示成功;paused表示暂停;failed表示失败</p>
7317
+ :rtype: str
7318
+ """
7319
+ return self._Status
7320
+
7321
+ @Status.setter
7322
+ def Status(self, Status):
7323
+ self._Status = Status
7324
+
7093
7325
  @property
7094
7326
  def RequestId(self):
7095
7327
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -7103,6 +7335,7 @@ class DescribeFlowResponse(AbstractModel):
7103
7335
 
7104
7336
 
7105
7337
  def _deserialize(self, params):
7338
+ self._Status = params.get("Status")
7106
7339
  self._RequestId = params.get("RequestId")
7107
7340
 
7108
7341
 
@@ -187,6 +187,29 @@ class TdmysqlClient(AbstractClient):
187
187
  raise TencentCloudSDKException(type(e).__name__, str(e))
188
188
 
189
189
 
190
+ def DescribeDBEngines(self, request):
191
+ r"""本接口(DescribeDBEngines)用于获取DB引擎版本列表
192
+
193
+ :param request: Request instance for DescribeDBEngines.
194
+ :type request: :class:`tencentcloud.tdmysql.v20211122.models.DescribeDBEnginesRequest`
195
+ :rtype: :class:`tencentcloud.tdmysql.v20211122.models.DescribeDBEnginesResponse`
196
+
197
+ """
198
+ try:
199
+ params = request._serialize()
200
+ headers = request.headers
201
+ body = self.call("DescribeDBEngines", params, headers=headers)
202
+ response = json.loads(body)
203
+ model = models.DescribeDBEnginesResponse()
204
+ model._deserialize(response["Response"])
205
+ return model
206
+ except Exception as e:
207
+ if isinstance(e, TencentCloudSDKException):
208
+ raise
209
+ else:
210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
211
+
212
+
190
213
  def DescribeDBInstanceDetail(self, request):
191
214
  r"""本接口(DescribeDBInstanceDetail)提供查询实例详情功能
192
215
 
@@ -151,6 +151,24 @@ class TdmysqlClient(AbstractClient):
151
151
 
152
152
  return await self.call_and_deserialize(**kwargs)
153
153
 
154
+ async def DescribeDBEngines(
155
+ self,
156
+ request: models.DescribeDBEnginesRequest,
157
+ opts: Dict = None,
158
+ ) -> models.DescribeDBEnginesResponse:
159
+ """
160
+ 本接口(DescribeDBEngines)用于获取DB引擎版本列表
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "DescribeDBEngines"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.DescribeDBEnginesResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
154
172
  async def DescribeDBInstanceDetail(
155
173
  self,
156
174
  request: models.DescribeDBInstanceDetailRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tdmysql
3
- Version: 3.1.130
3
+ Version: 3.1.135
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.130
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.135
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.135
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.130