tencentcloud-sdk-python-cdb 3.1.177__tar.gz → 3.1.189__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_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/v20170320/models.py +97 -20
  5. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cdb-3.1.189/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cdb-3.1.177/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/v20170320/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
  13. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cdb-3.1.177 → tencentcloud_sdk_python_cdb-3.1.189}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.177
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Cdb 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.177
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
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-cdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.177'
17
+ __version__ = '3.1.189'
@@ -14930,20 +14930,26 @@ class DescribeBackupsRequest(AbstractModel):
14930
14930
 
14931
14931
  def __init__(self):
14932
14932
  r"""
14933
- :param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
14933
+ :param _InstanceId: <p>实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。</p>
14934
14934
  :type InstanceId: str
14935
- :param _Offset: 偏移量,最小值为0。
14935
+ :param _Offset: <p>偏移量,最小值为0。</p>
14936
14936
  :type Offset: int
14937
- :param _Limit: 分页大小,默认值为20,最小值为1,最大值为1000。
14937
+ :param _Limit: <p>分页大小,默认值为20,最小值为1,最大值为1000。</p>
14938
14938
  :type Limit: int
14939
+ :param _MinStartTime: <p>备份开始时间,筛选大于等于此值,时间格式:2016-03-17 02:10:37</p>
14940
+ :type MinStartTime: str
14941
+ :param _MaxStartTime: <p>备份开始时间,筛选小于等于此值,时间格式:2016-03-17 02:10:37</p>
14942
+ :type MaxStartTime: str
14939
14943
  """
14940
14944
  self._InstanceId = None
14941
14945
  self._Offset = None
14942
14946
  self._Limit = None
14947
+ self._MinStartTime = None
14948
+ self._MaxStartTime = None
14943
14949
 
14944
14950
  @property
14945
14951
  def InstanceId(self):
14946
- r"""实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
14952
+ r"""<p>实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。</p>
14947
14953
  :rtype: str
14948
14954
  """
14949
14955
  return self._InstanceId
@@ -14954,7 +14960,7 @@ class DescribeBackupsRequest(AbstractModel):
14954
14960
 
14955
14961
  @property
14956
14962
  def Offset(self):
14957
- r"""偏移量,最小值为0。
14963
+ r"""<p>偏移量,最小值为0。</p>
14958
14964
  :rtype: int
14959
14965
  """
14960
14966
  return self._Offset
@@ -14965,7 +14971,7 @@ class DescribeBackupsRequest(AbstractModel):
14965
14971
 
14966
14972
  @property
14967
14973
  def Limit(self):
14968
- r"""分页大小,默认值为20,最小值为1,最大值为1000。
14974
+ r"""<p>分页大小,默认值为20,最小值为1,最大值为1000。</p>
14969
14975
  :rtype: int
14970
14976
  """
14971
14977
  return self._Limit
@@ -14974,11 +14980,35 @@ class DescribeBackupsRequest(AbstractModel):
14974
14980
  def Limit(self, Limit):
14975
14981
  self._Limit = Limit
14976
14982
 
14983
+ @property
14984
+ def MinStartTime(self):
14985
+ r"""<p>备份开始时间,筛选大于等于此值,时间格式:2016-03-17 02:10:37</p>
14986
+ :rtype: str
14987
+ """
14988
+ return self._MinStartTime
14989
+
14990
+ @MinStartTime.setter
14991
+ def MinStartTime(self, MinStartTime):
14992
+ self._MinStartTime = MinStartTime
14993
+
14994
+ @property
14995
+ def MaxStartTime(self):
14996
+ r"""<p>备份开始时间,筛选小于等于此值,时间格式:2016-03-17 02:10:37</p>
14997
+ :rtype: str
14998
+ """
14999
+ return self._MaxStartTime
15000
+
15001
+ @MaxStartTime.setter
15002
+ def MaxStartTime(self, MaxStartTime):
15003
+ self._MaxStartTime = MaxStartTime
15004
+
14977
15005
 
14978
15006
  def _deserialize(self, params):
14979
15007
  self._InstanceId = params.get("InstanceId")
14980
15008
  self._Offset = params.get("Offset")
14981
15009
  self._Limit = params.get("Limit")
15010
+ self._MinStartTime = params.get("MinStartTime")
15011
+ self._MaxStartTime = params.get("MaxStartTime")
14982
15012
  memeber_set = set(params.keys())
14983
15013
  for name, value in vars(self).items():
14984
15014
  property_name = name[1:]
@@ -14996,9 +15026,9 @@ class DescribeBackupsResponse(AbstractModel):
14996
15026
 
14997
15027
  def __init__(self):
14998
15028
  r"""
14999
- :param _TotalCount: 符合查询条件的实例总数。
15029
+ :param _TotalCount: <p>符合查询条件的实例总数。</p>
15000
15030
  :type TotalCount: int
15001
- :param _Items: 符合查询条件的备份信息详情。
15031
+ :param _Items: <p>符合查询条件的备份信息详情。</p>
15002
15032
  :type Items: list of BackupInfo
15003
15033
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15004
15034
  :type RequestId: str
@@ -15009,7 +15039,7 @@ class DescribeBackupsResponse(AbstractModel):
15009
15039
 
15010
15040
  @property
15011
15041
  def TotalCount(self):
15012
- r"""符合查询条件的实例总数。
15042
+ r"""<p>符合查询条件的实例总数。</p>
15013
15043
  :rtype: int
15014
15044
  """
15015
15045
  return self._TotalCount
@@ -15020,7 +15050,7 @@ class DescribeBackupsResponse(AbstractModel):
15020
15050
 
15021
15051
  @property
15022
15052
  def Items(self):
15023
- r"""符合查询条件的备份信息详情。
15053
+ r"""<p>符合查询条件的备份信息详情。</p>
15024
15054
  :rtype: list of BackupInfo
15025
15055
  """
15026
15056
  return self._Items
@@ -25664,6 +25694,8 @@ class InstanceInfo(AbstractModel):
25664
25694
  :type DeviceBandwidth: int
25665
25695
  :param _DestroyProtect: <p>实例销毁保护状态,on表示开启保护,否则为关闭保护</p>
25666
25696
  :type DestroyProtect: str
25697
+ :param _DiskEncryption: <p>云盘版实例才使用该值。 on表示磁盘加密,否则为不加密。</p>
25698
+ :type DiskEncryption: str
25667
25699
  :param _CpuModel: <p>TDSQL引擎参数</p>
25668
25700
  :type CpuModel: str
25669
25701
  :param _AnalysisUpgradeVersionInfo: <p>分析引擎实例版本升级信息</p>
@@ -25721,6 +25753,7 @@ class InstanceInfo(AbstractModel):
25721
25753
  self._AnalysisNodeInfos = None
25722
25754
  self._DeviceBandwidth = None
25723
25755
  self._DestroyProtect = None
25756
+ self._DiskEncryption = None
25724
25757
  self._CpuModel = None
25725
25758
  self._AnalysisUpgradeVersionInfo = None
25726
25759
 
@@ -26285,6 +26318,17 @@ class InstanceInfo(AbstractModel):
26285
26318
  def DestroyProtect(self, DestroyProtect):
26286
26319
  self._DestroyProtect = DestroyProtect
26287
26320
 
26321
+ @property
26322
+ def DiskEncryption(self):
26323
+ r"""<p>云盘版实例才使用该值。 on表示磁盘加密,否则为不加密。</p>
26324
+ :rtype: str
26325
+ """
26326
+ return self._DiskEncryption
26327
+
26328
+ @DiskEncryption.setter
26329
+ def DiskEncryption(self, DiskEncryption):
26330
+ self._DiskEncryption = DiskEncryption
26331
+
26288
26332
  @property
26289
26333
  def CpuModel(self):
26290
26334
  r"""<p>TDSQL引擎参数</p>
@@ -26392,6 +26436,7 @@ class InstanceInfo(AbstractModel):
26392
26436
  self._AnalysisNodeInfos.append(obj)
26393
26437
  self._DeviceBandwidth = params.get("DeviceBandwidth")
26394
26438
  self._DestroyProtect = params.get("DestroyProtect")
26439
+ self._DiskEncryption = params.get("DiskEncryption")
26395
26440
  self._CpuModel = params.get("CpuModel")
26396
26441
  if params.get("AnalysisUpgradeVersionInfo") is not None:
26397
26442
  self._AnalysisUpgradeVersionInfo = UpgradeAnalysisInstanceVersionInfo()
@@ -32260,11 +32305,11 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
32260
32305
 
32261
32306
  def __init__(self):
32262
32307
  r"""
32263
- :param _InstanceId: 云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
32308
+ :param _InstanceId: <p>云数据库实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
32264
32309
  :type InstanceId: str
32265
- :param _KeyId: 用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。
32310
+ :param _KeyId: <p>用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。</p>
32266
32311
  :type KeyId: str
32267
- :param _KeyRegion: 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。
32312
+ :param _KeyRegion: <p>用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。</p>
32268
32313
  :type KeyRegion: str
32269
32314
  """
32270
32315
  self._InstanceId = None
@@ -32273,7 +32318,7 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
32273
32318
 
32274
32319
  @property
32275
32320
  def InstanceId(self):
32276
- r"""云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
32321
+ r"""<p>云数据库实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/236/15872">DescribeDBInstances</a> 接口获取。</p>
32277
32322
  :rtype: str
32278
32323
  """
32279
32324
  return self._InstanceId
@@ -32284,7 +32329,7 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
32284
32329
 
32285
32330
  @property
32286
32331
  def KeyId(self):
32287
- r"""用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。
32332
+ r"""<p>用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。</p>
32288
32333
  :rtype: str
32289
32334
  """
32290
32335
  return self._KeyId
@@ -32295,7 +32340,7 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
32295
32340
 
32296
32341
  @property
32297
32342
  def KeyRegion(self):
32298
- r"""用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。
32343
+ r"""<p>用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。</p>
32299
32344
  :rtype: str
32300
32345
  """
32301
32346
  return self._KeyRegion
@@ -37045,9 +37090,12 @@ class SlaveInfo(AbstractModel):
37045
37090
  :type First: :class:`tencentcloud.cdb.v20170320.models.SlaveInstanceInfo`
37046
37091
  :param _Second: <p>第二备机信息</p>
37047
37092
  :type Second: :class:`tencentcloud.cdb.v20170320.models.SlaveInstanceInfo`
37093
+ :param _Third: <p>第三备机信息</p>
37094
+ :type Third: :class:`tencentcloud.cdb.v20170320.models.SlaveInstanceInfo`
37048
37095
  """
37049
37096
  self._First = None
37050
37097
  self._Second = None
37098
+ self._Third = None
37051
37099
 
37052
37100
  @property
37053
37101
  def First(self):
@@ -37071,6 +37119,17 @@ class SlaveInfo(AbstractModel):
37071
37119
  def Second(self, Second):
37072
37120
  self._Second = Second
37073
37121
 
37122
+ @property
37123
+ def Third(self):
37124
+ r"""<p>第三备机信息</p>
37125
+ :rtype: :class:`tencentcloud.cdb.v20170320.models.SlaveInstanceInfo`
37126
+ """
37127
+ return self._Third
37128
+
37129
+ @Third.setter
37130
+ def Third(self, Third):
37131
+ self._Third = Third
37132
+
37074
37133
 
37075
37134
  def _deserialize(self, params):
37076
37135
  if params.get("First") is not None:
@@ -37079,6 +37138,9 @@ class SlaveInfo(AbstractModel):
37079
37138
  if params.get("Second") is not None:
37080
37139
  self._Second = SlaveInstanceInfo()
37081
37140
  self._Second._deserialize(params.get("Second"))
37141
+ if params.get("Third") is not None:
37142
+ self._Third = SlaveInstanceInfo()
37143
+ self._Third._deserialize(params.get("Third"))
37082
37144
  memeber_set = set(params.keys())
37083
37145
  for name, value in vars(self).items():
37084
37146
  property_name = name[1:]
@@ -38537,14 +38599,17 @@ class SwitchDrInstanceToMasterRequest(AbstractModel):
38537
38599
 
38538
38600
  def __init__(self):
38539
38601
  r"""
38540
- :param _InstanceId: 灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
38602
+ :param _InstanceId: <p>灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
38541
38603
  :type InstanceId: str
38604
+ :param _IgnoreSyncDelay: <p>忽略同步延迟的阈值,不填默认为0表示完全等待追平</p><p>取值范围:[0, 104857600]</p><p>默认值:0</p>
38605
+ :type IgnoreSyncDelay: int
38542
38606
  """
38543
38607
  self._InstanceId = None
38608
+ self._IgnoreSyncDelay = None
38544
38609
 
38545
38610
  @property
38546
38611
  def InstanceId(self):
38547
- r"""灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
38612
+ r"""<p>灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
38548
38613
  :rtype: str
38549
38614
  """
38550
38615
  return self._InstanceId
@@ -38553,9 +38618,21 @@ class SwitchDrInstanceToMasterRequest(AbstractModel):
38553
38618
  def InstanceId(self, InstanceId):
38554
38619
  self._InstanceId = InstanceId
38555
38620
 
38621
+ @property
38622
+ def IgnoreSyncDelay(self):
38623
+ r"""<p>忽略同步延迟的阈值,不填默认为0表示完全等待追平</p><p>取值范围:[0, 104857600]</p><p>默认值:0</p>
38624
+ :rtype: int
38625
+ """
38626
+ return self._IgnoreSyncDelay
38627
+
38628
+ @IgnoreSyncDelay.setter
38629
+ def IgnoreSyncDelay(self, IgnoreSyncDelay):
38630
+ self._IgnoreSyncDelay = IgnoreSyncDelay
38631
+
38556
38632
 
38557
38633
  def _deserialize(self, params):
38558
38634
  self._InstanceId = params.get("InstanceId")
38635
+ self._IgnoreSyncDelay = params.get("IgnoreSyncDelay")
38559
38636
  memeber_set = set(params.keys())
38560
38637
  for name, value in vars(self).items():
38561
38638
  property_name = name[1:]
@@ -38573,7 +38650,7 @@ class SwitchDrInstanceToMasterResponse(AbstractModel):
38573
38650
 
38574
38651
  def __init__(self):
38575
38652
  r"""
38576
- :param _AsyncRequestId: 异步任务的请求ID,可使用此ID查询异步任务的执行结果。
38653
+ :param _AsyncRequestId: <p>异步任务的请求ID,可使用此ID查询异步任务的执行结果。</p>
38577
38654
  :type AsyncRequestId: str
38578
38655
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38579
38656
  :type RequestId: str
@@ -38583,7 +38660,7 @@ class SwitchDrInstanceToMasterResponse(AbstractModel):
38583
38660
 
38584
38661
  @property
38585
38662
  def AsyncRequestId(self):
38586
- r"""异步任务的请求ID,可使用此ID查询异步任务的执行结果。
38663
+ r"""<p>异步任务的请求ID,可使用此ID查询异步任务的执行结果。</p>
38587
38664
  :rtype: str
38588
38665
  """
38589
38666
  return self._AsyncRequestId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.177
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Cdb 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.177
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.189
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.177