tencentcloud-sdk-python-tdmysql 3.1.170__tar.gz → 3.1.188__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.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/v20211122/models.py +127 -7
  5. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud_sdk_python_tdmysql.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tdmysql-3.1.188/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tdmysql-3.1.170/tencentcloud_sdk_python_tdmysql.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/v20211122/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/v20211122/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/v20211122/tdmysql_client.py +0 -0
  14. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud/tdmysql/v20211122/tdmysql_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud_sdk_python_tdmysql.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/tencentcloud_sdk_python_tdmysql.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tdmysql-3.1.170 → tencentcloud_sdk_python_tdmysql-3.1.188}/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.170
3
+ Version: 3.1.188
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.170
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.188
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.170,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.188,<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.170'
17
+ __version__ = '3.1.188'
@@ -431,30 +431,52 @@ class ArchiveLogModel(AbstractModel):
431
431
 
432
432
 
433
433
  class AutoScalingConfig(AbstractModel):
434
- r"""serverless实例的资源范围
434
+ r"""实例变配的资源范围
435
435
  ResourceType 为 cpu 时表示 ccu
436
436
  为 nodecount 时表示节点数范围
437
+ 为 disk 表示磁盘容量范围(单位 GB)
438
+ ScaleUpEnabled 为是否打开升配
439
+ ScaleDownEnabled 为是否打开降配
440
+ ThresholdPercent 为触发阈值(%)
441
+ Step 为变配步长
437
442
 
438
443
  """
439
444
 
440
445
  def __init__(self):
441
446
  r"""
442
- :param _RangeMin: <p>ccu最小值</p>
447
+ :param _RangeMin: <p>最小值</p>
443
448
  注意:此字段可能返回 null,表示取不到有效值。
444
449
  :type RangeMin: float
445
- :param _RangeMax: <p>ccu最大值</p>
450
+ :param _RangeMax: <p>最大值</p>
446
451
  注意:此字段可能返回 null,表示取不到有效值。
447
452
  :type RangeMax: float
448
- :param _ResourceType: <p>返回的 range 参数对应的资源类型</p><p>枚举值:</p><ul><li>cpu: 返回的是 cpu 调整返回限制,当不存在mem限制时代表 ccu</li><li>nodecount: 返回的是水平扩缩容的节点数限制范围</li></ul>
453
+ :param _ResourceType: <p>返回的 range 参数对应的资源类型</p><p>枚举值:</p><ul><li>cpu: 返回的是 cpu 调整返回限制,当不存在mem限制时代表 ccu</li><li>nodecount: 返回的是水平扩缩容的节点数限制范围</li><li>datadisk: 返回的是磁盘扩容的容量限制范围</li></ul>
454
+ 注意:此字段可能返回 null,表示取不到有效值。
449
455
  :type ResourceType: str
456
+ :param _ScaleUpEnabled: <p>是否允许升配</p>
457
+ 注意:此字段可能返回 null,表示取不到有效值。
458
+ :type ScaleUpEnabled: bool
459
+ :param _ScaleDownEnabled: <p>是否允许降配</p>
460
+ 注意:此字段可能返回 null,表示取不到有效值。
461
+ :type ScaleDownEnabled: bool
462
+ :param _ThresholdPercent: <p>触发阈值(%)</p>
463
+ 注意:此字段可能返回 null,表示取不到有效值。
464
+ :type ThresholdPercent: int
465
+ :param _Step: <p>变配步长</p>
466
+ 注意:此字段可能返回 null,表示取不到有效值。
467
+ :type Step: float
450
468
  """
451
469
  self._RangeMin = None
452
470
  self._RangeMax = None
453
471
  self._ResourceType = None
472
+ self._ScaleUpEnabled = None
473
+ self._ScaleDownEnabled = None
474
+ self._ThresholdPercent = None
475
+ self._Step = None
454
476
 
455
477
  @property
456
478
  def RangeMin(self):
457
- r"""<p>ccu最小值</p>
479
+ r"""<p>最小值</p>
458
480
  注意:此字段可能返回 null,表示取不到有效值。
459
481
  :rtype: float
460
482
  """
@@ -466,7 +488,7 @@ class AutoScalingConfig(AbstractModel):
466
488
 
467
489
  @property
468
490
  def RangeMax(self):
469
- r"""<p>ccu最大值</p>
491
+ r"""<p>最大值</p>
470
492
  注意:此字段可能返回 null,表示取不到有效值。
471
493
  :rtype: float
472
494
  """
@@ -478,7 +500,8 @@ class AutoScalingConfig(AbstractModel):
478
500
 
479
501
  @property
480
502
  def ResourceType(self):
481
- r"""<p>返回的 range 参数对应的资源类型</p><p>枚举值:</p><ul><li>cpu: 返回的是 cpu 调整返回限制,当不存在mem限制时代表 ccu</li><li>nodecount: 返回的是水平扩缩容的节点数限制范围</li></ul>
503
+ r"""<p>返回的 range 参数对应的资源类型</p><p>枚举值:</p><ul><li>cpu: 返回的是 cpu 调整返回限制,当不存在mem限制时代表 ccu</li><li>nodecount: 返回的是水平扩缩容的节点数限制范围</li><li>datadisk: 返回的是磁盘扩容的容量限制范围</li></ul>
504
+ 注意:此字段可能返回 null,表示取不到有效值。
482
505
  :rtype: str
483
506
  """
484
507
  return self._ResourceType
@@ -487,11 +510,63 @@ class AutoScalingConfig(AbstractModel):
487
510
  def ResourceType(self, ResourceType):
488
511
  self._ResourceType = ResourceType
489
512
 
513
+ @property
514
+ def ScaleUpEnabled(self):
515
+ r"""<p>是否允许升配</p>
516
+ 注意:此字段可能返回 null,表示取不到有效值。
517
+ :rtype: bool
518
+ """
519
+ return self._ScaleUpEnabled
520
+
521
+ @ScaleUpEnabled.setter
522
+ def ScaleUpEnabled(self, ScaleUpEnabled):
523
+ self._ScaleUpEnabled = ScaleUpEnabled
524
+
525
+ @property
526
+ def ScaleDownEnabled(self):
527
+ r"""<p>是否允许降配</p>
528
+ 注意:此字段可能返回 null,表示取不到有效值。
529
+ :rtype: bool
530
+ """
531
+ return self._ScaleDownEnabled
532
+
533
+ @ScaleDownEnabled.setter
534
+ def ScaleDownEnabled(self, ScaleDownEnabled):
535
+ self._ScaleDownEnabled = ScaleDownEnabled
536
+
537
+ @property
538
+ def ThresholdPercent(self):
539
+ r"""<p>触发阈值(%)</p>
540
+ 注意:此字段可能返回 null,表示取不到有效值。
541
+ :rtype: int
542
+ """
543
+ return self._ThresholdPercent
544
+
545
+ @ThresholdPercent.setter
546
+ def ThresholdPercent(self, ThresholdPercent):
547
+ self._ThresholdPercent = ThresholdPercent
548
+
549
+ @property
550
+ def Step(self):
551
+ r"""<p>变配步长</p>
552
+ 注意:此字段可能返回 null,表示取不到有效值。
553
+ :rtype: float
554
+ """
555
+ return self._Step
556
+
557
+ @Step.setter
558
+ def Step(self, Step):
559
+ self._Step = Step
560
+
490
561
 
491
562
  def _deserialize(self, params):
492
563
  self._RangeMin = params.get("RangeMin")
493
564
  self._RangeMax = params.get("RangeMax")
494
565
  self._ResourceType = params.get("ResourceType")
566
+ self._ScaleUpEnabled = params.get("ScaleUpEnabled")
567
+ self._ScaleDownEnabled = params.get("ScaleDownEnabled")
568
+ self._ThresholdPercent = params.get("ThresholdPercent")
569
+ self._Step = params.get("Step")
495
570
  memeber_set = set(params.keys())
496
571
  for name, value in vars(self).items():
497
572
  property_name = name[1:]
@@ -9143,9 +9218,12 @@ class DescribeSpecsRequest(AbstractModel):
9143
9218
  :type FullReplications: int
9144
9219
  :param _IsExclusiveInstance: <p>独享实例</p>
9145
9220
  :type IsExclusiveInstance: int
9221
+ :param _Zones: <p>可用区组合列表</p>
9222
+ :type Zones: list of str
9146
9223
  """
9147
9224
  self._FullReplications = None
9148
9225
  self._IsExclusiveInstance = None
9226
+ self._Zones = None
9149
9227
 
9150
9228
  @property
9151
9229
  def FullReplications(self):
@@ -9169,10 +9247,22 @@ class DescribeSpecsRequest(AbstractModel):
9169
9247
  def IsExclusiveInstance(self, IsExclusiveInstance):
9170
9248
  self._IsExclusiveInstance = IsExclusiveInstance
9171
9249
 
9250
+ @property
9251
+ def Zones(self):
9252
+ r"""<p>可用区组合列表</p>
9253
+ :rtype: list of str
9254
+ """
9255
+ return self._Zones
9256
+
9257
+ @Zones.setter
9258
+ def Zones(self, Zones):
9259
+ self._Zones = Zones
9260
+
9172
9261
 
9173
9262
  def _deserialize(self, params):
9174
9263
  self._FullReplications = params.get("FullReplications")
9175
9264
  self._IsExclusiveInstance = params.get("IsExclusiveInstance")
9265
+ self._Zones = params.get("Zones")
9176
9266
  memeber_set = set(params.keys())
9177
9267
  for name, value in vars(self).items():
9178
9268
  property_name = name[1:]
@@ -13079,9 +13169,15 @@ class ModifyInstanceSSLStatusRequest(AbstractModel):
13079
13169
  :type InstanceId: str
13080
13170
  :param _Enabled: <p>是否启用SSL</p>
13081
13171
  :type Enabled: bool
13172
+ :param _CertificateType: <p>证书类型</p><p>枚举值:</p><ul><li>Cloud: 云端证书</li><li>Custom: 自定义证书</li></ul>
13173
+ :type CertificateType: str
13174
+ :param _CertificateId: <p>腾讯云SSL证书服务的证书ID</p>
13175
+ :type CertificateId: str
13082
13176
  """
13083
13177
  self._InstanceId = None
13084
13178
  self._Enabled = None
13179
+ self._CertificateType = None
13180
+ self._CertificateId = None
13085
13181
 
13086
13182
  @property
13087
13183
  def InstanceId(self):
@@ -13105,10 +13201,34 @@ class ModifyInstanceSSLStatusRequest(AbstractModel):
13105
13201
  def Enabled(self, Enabled):
13106
13202
  self._Enabled = Enabled
13107
13203
 
13204
+ @property
13205
+ def CertificateType(self):
13206
+ r"""<p>证书类型</p><p>枚举值:</p><ul><li>Cloud: 云端证书</li><li>Custom: 自定义证书</li></ul>
13207
+ :rtype: str
13208
+ """
13209
+ return self._CertificateType
13210
+
13211
+ @CertificateType.setter
13212
+ def CertificateType(self, CertificateType):
13213
+ self._CertificateType = CertificateType
13214
+
13215
+ @property
13216
+ def CertificateId(self):
13217
+ r"""<p>腾讯云SSL证书服务的证书ID</p>
13218
+ :rtype: str
13219
+ """
13220
+ return self._CertificateId
13221
+
13222
+ @CertificateId.setter
13223
+ def CertificateId(self, CertificateId):
13224
+ self._CertificateId = CertificateId
13225
+
13108
13226
 
13109
13227
  def _deserialize(self, params):
13110
13228
  self._InstanceId = params.get("InstanceId")
13111
13229
  self._Enabled = params.get("Enabled")
13230
+ self._CertificateType = params.get("CertificateType")
13231
+ self._CertificateId = params.get("CertificateId")
13112
13232
  memeber_set = set(params.keys())
13113
13233
  for name, value in vars(self).items():
13114
13234
  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.170
3
+ Version: 3.1.188
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.170
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.188
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.188
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.170