tencentcloud-sdk-python-cdb 3.1.201__py2.py3-none-any.whl → 3.1.206__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.201'
17
+ __version__ = '3.1.206'
@@ -7990,6 +7990,8 @@ class CreateCloneInstanceRequest(AbstractModel):
7990
7990
  :type Zone: str
7991
7991
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
7992
7992
  :type FourthZone: str
7993
+ :param _UseLatestMinorVersion: <p>是否使用最新小版本号进行克隆。</p><p>枚举值:</p><ul><li>1: 是</li><li>0: 否</li></ul><p>默认值:0</p><p>默认和源实例的小版本号对齐</p>
7994
+ :type UseLatestMinorVersion: int
7993
7995
  """
7994
7996
  self._InstanceId = None
7995
7997
  self._SpecifiedRollbackTime = None
@@ -8020,6 +8022,7 @@ class CreateCloneInstanceRequest(AbstractModel):
8020
8022
  self._MasterZone = None
8021
8023
  self._Zone = None
8022
8024
  self._FourthZone = None
8025
+ self._UseLatestMinorVersion = None
8023
8026
 
8024
8027
  @property
8025
8028
  def InstanceId(self):
@@ -8344,6 +8347,17 @@ class CreateCloneInstanceRequest(AbstractModel):
8344
8347
  def FourthZone(self, FourthZone):
8345
8348
  self._FourthZone = FourthZone
8346
8349
 
8350
+ @property
8351
+ def UseLatestMinorVersion(self):
8352
+ r"""<p>是否使用最新小版本号进行克隆。</p><p>枚举值:</p><ul><li>1: 是</li><li>0: 否</li></ul><p>默认值:0</p><p>默认和源实例的小版本号对齐</p>
8353
+ :rtype: int
8354
+ """
8355
+ return self._UseLatestMinorVersion
8356
+
8357
+ @UseLatestMinorVersion.setter
8358
+ def UseLatestMinorVersion(self, UseLatestMinorVersion):
8359
+ self._UseLatestMinorVersion = UseLatestMinorVersion
8360
+
8347
8361
 
8348
8362
  def _deserialize(self, params):
8349
8363
  self._InstanceId = params.get("InstanceId")
@@ -8382,6 +8396,7 @@ class CreateCloneInstanceRequest(AbstractModel):
8382
8396
  self._MasterZone = params.get("MasterZone")
8383
8397
  self._Zone = params.get("Zone")
8384
8398
  self._FourthZone = params.get("FourthZone")
8399
+ self._UseLatestMinorVersion = params.get("UseLatestMinorVersion")
8385
8400
  memeber_set = set(params.keys())
8386
8401
  for name, value in vars(self).items():
8387
8402
  property_name = name[1:]
@@ -16453,14 +16468,14 @@ class DescribeDBFeaturesRequest(AbstractModel):
16453
16468
 
16454
16469
  def __init__(self):
16455
16470
  r"""
16456
- :param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
16471
+ :param _InstanceId: <p>实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
16457
16472
  :type InstanceId: str
16458
16473
  """
16459
16474
  self._InstanceId = None
16460
16475
 
16461
16476
  @property
16462
16477
  def InstanceId(self):
16463
- r"""实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
16478
+ r"""<p>实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。</p>
16464
16479
  :rtype: str
16465
16480
  """
16466
16481
  return self._InstanceId
@@ -16489,24 +16504,23 @@ class DescribeDBFeaturesResponse(AbstractModel):
16489
16504
 
16490
16505
  def __init__(self):
16491
16506
  r"""
16492
- :param _IsSupportAudit: 是否支持数据库审计功能。
16507
+ :param _IsSupportAudit: <p>是否支持数据库审计功能。</p>
16493
16508
  :type IsSupportAudit: bool
16494
- :param _AuditNeedUpgrade: 开启审计是否需要升级内核版本。
16509
+ :param _AuditNeedUpgrade: <p>开启审计是否需要升级内核版本。</p>
16495
16510
  :type AuditNeedUpgrade: bool
16496
- :param _IsSupportEncryption: 是否支持数据库加密功能。
16511
+ :param _IsSupportEncryption: <p>是否支持数据库加密功能。</p>
16497
16512
  :type IsSupportEncryption: bool
16498
- :param _EncryptionNeedUpgrade: 开启加密是否需要升级内核版本。
16513
+ :param _EncryptionNeedUpgrade: <p>开启加密是否需要升级内核版本。</p>
16499
16514
  :type EncryptionNeedUpgrade: bool
16500
- :param _IsRemoteRo: 是否为异地只读实例。
16515
+ :param _IsRemoteRo: <p>是否为异地只读实例。</p>
16501
16516
  :type IsRemoteRo: bool
16502
- :param _MasterRegion: 主实例所在地域。
16503
- 说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 [查询实例列表](https://cloud.tencent.com/document/product/236/15872) 接口查询。
16517
+ :param _MasterRegion: <p>主实例所在地域。<br>说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 <a href="https://cloud.tencent.com/document/product/236/15872">查询实例列表</a> 接口查询。</p>
16504
16518
  :type MasterRegion: str
16505
- :param _IsSupportUpdateSubVersion: 是否支持小版本升级。
16519
+ :param _IsSupportUpdateSubVersion: <p>是否支持小版本升级。</p>
16506
16520
  :type IsSupportUpdateSubVersion: bool
16507
- :param _CurrentSubVersion: 当前内核版本。
16521
+ :param _CurrentSubVersion: <p>当前内核版本。</p>
16508
16522
  :type CurrentSubVersion: str
16509
- :param _TargetSubVersion: 可供升级的内核版本。
16523
+ :param _TargetSubVersion: <p>可供升级的内核版本。</p>
16510
16524
  :type TargetSubVersion: str
16511
16525
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16512
16526
  :type RequestId: str
@@ -16524,7 +16538,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16524
16538
 
16525
16539
  @property
16526
16540
  def IsSupportAudit(self):
16527
- r"""是否支持数据库审计功能。
16541
+ r"""<p>是否支持数据库审计功能。</p>
16528
16542
  :rtype: bool
16529
16543
  """
16530
16544
  return self._IsSupportAudit
@@ -16535,7 +16549,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16535
16549
 
16536
16550
  @property
16537
16551
  def AuditNeedUpgrade(self):
16538
- r"""开启审计是否需要升级内核版本。
16552
+ r"""<p>开启审计是否需要升级内核版本。</p>
16539
16553
  :rtype: bool
16540
16554
  """
16541
16555
  return self._AuditNeedUpgrade
@@ -16546,7 +16560,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16546
16560
 
16547
16561
  @property
16548
16562
  def IsSupportEncryption(self):
16549
- r"""是否支持数据库加密功能。
16563
+ r"""<p>是否支持数据库加密功能。</p>
16550
16564
  :rtype: bool
16551
16565
  """
16552
16566
  return self._IsSupportEncryption
@@ -16557,7 +16571,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16557
16571
 
16558
16572
  @property
16559
16573
  def EncryptionNeedUpgrade(self):
16560
- r"""开启加密是否需要升级内核版本。
16574
+ r"""<p>开启加密是否需要升级内核版本。</p>
16561
16575
  :rtype: bool
16562
16576
  """
16563
16577
  return self._EncryptionNeedUpgrade
@@ -16568,7 +16582,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16568
16582
 
16569
16583
  @property
16570
16584
  def IsRemoteRo(self):
16571
- r"""是否为异地只读实例。
16585
+ r"""<p>是否为异地只读实例。</p>
16572
16586
  :rtype: bool
16573
16587
  """
16574
16588
  return self._IsRemoteRo
@@ -16579,8 +16593,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16579
16593
 
16580
16594
  @property
16581
16595
  def MasterRegion(self):
16582
- r"""主实例所在地域。
16583
- 说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 [查询实例列表](https://cloud.tencent.com/document/product/236/15872) 接口查询。
16596
+ r"""<p>主实例所在地域。<br>说明:此参数可能返回空值,您可忽略此出参返回值。如需获取实例所在地域详情,您可调用 <a href="https://cloud.tencent.com/document/product/236/15872">查询实例列表</a> 接口查询。</p>
16584
16597
  :rtype: str
16585
16598
  """
16586
16599
  return self._MasterRegion
@@ -16591,7 +16604,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16591
16604
 
16592
16605
  @property
16593
16606
  def IsSupportUpdateSubVersion(self):
16594
- r"""是否支持小版本升级。
16607
+ r"""<p>是否支持小版本升级。</p>
16595
16608
  :rtype: bool
16596
16609
  """
16597
16610
  return self._IsSupportUpdateSubVersion
@@ -16602,7 +16615,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16602
16615
 
16603
16616
  @property
16604
16617
  def CurrentSubVersion(self):
16605
- r"""当前内核版本。
16618
+ r"""<p>当前内核版本。</p>
16606
16619
  :rtype: str
16607
16620
  """
16608
16621
  return self._CurrentSubVersion
@@ -16613,7 +16626,7 @@ class DescribeDBFeaturesResponse(AbstractModel):
16613
16626
 
16614
16627
  @property
16615
16628
  def TargetSubVersion(self):
16616
- r"""可供升级的内核版本。
16629
+ r"""<p>可供升级的内核版本。</p>
16617
16630
  :rtype: str
16618
16631
  """
16619
16632
  return self._TargetSubVersion
@@ -35785,19 +35798,17 @@ class RoGroupAttr(AbstractModel):
35785
35798
 
35786
35799
  def __init__(self):
35787
35800
  r"""
35788
- :param _RoGroupName: RO 组名称。
35801
+ :param _RoGroupName: <p>RO 组名称。</p>
35789
35802
  :type RoGroupName: str
35790
- :param _RoMaxDelayTime: RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。
35791
- 注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。
35803
+ :param _RoMaxDelayTime: <p>RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。<br>注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。</p>
35792
35804
  :type RoMaxDelayTime: int
35793
- :param _RoOfflineDelay: 是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。
35805
+ :param _RoOfflineDelay: <p>是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。</p>
35794
35806
  :type RoOfflineDelay: int
35795
- :param _MinRoInGroup: 最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。
35796
- 注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。
35807
+ :param _MinRoInGroup: <p>最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。<br>注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。</p>
35797
35808
  :type MinRoInGroup: int
35798
- :param _WeightMode: 权重模式。支持值包括:"system" - 系统自动分配; "custom" - 用户自定义设置。注意,若设置 "custom" 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。
35809
+ :param _WeightMode: <p>权重模式。支持值包括:&quot;system&quot; - 系统自动分配; &quot;custom&quot; - 用户自定义设置。注意,若设置 &quot;custom&quot; 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。</p>
35799
35810
  :type WeightMode: str
35800
- :param _ReplicationDelayTime: 延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。
35811
+ :param _ReplicationDelayTime: <p>延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。</p>
35801
35812
  :type ReplicationDelayTime: int
35802
35813
  """
35803
35814
  self._RoGroupName = None
@@ -35809,7 +35820,7 @@ class RoGroupAttr(AbstractModel):
35809
35820
 
35810
35821
  @property
35811
35822
  def RoGroupName(self):
35812
- r"""RO 组名称。
35823
+ r"""<p>RO 组名称。</p>
35813
35824
  :rtype: str
35814
35825
  """
35815
35826
  return self._RoGroupName
@@ -35820,8 +35831,7 @@ class RoGroupAttr(AbstractModel):
35820
35831
 
35821
35832
  @property
35822
35833
  def RoMaxDelayTime(self):
35823
- r"""RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。
35824
- 注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。
35834
+ r"""<p>RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。<br>注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。</p>
35825
35835
  :rtype: int
35826
35836
  """
35827
35837
  return self._RoMaxDelayTime
@@ -35832,7 +35842,7 @@ class RoGroupAttr(AbstractModel):
35832
35842
 
35833
35843
  @property
35834
35844
  def RoOfflineDelay(self):
35835
- r"""是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。
35845
+ r"""<p>是否开启实例延迟剔除。支持的值包括:1 - 开启;0 - 不开启。注意,若设置开启实例延迟剔除,则必须设置延迟阈值(RoMaxDelayTime)参数。</p>
35836
35846
  :rtype: int
35837
35847
  """
35838
35848
  return self._RoOfflineDelay
@@ -35843,8 +35853,7 @@ class RoGroupAttr(AbstractModel):
35843
35853
 
35844
35854
  @property
35845
35855
  def MinRoInGroup(self):
35846
- r"""最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。
35847
- 注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。
35856
+ r"""<p>最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。<br>注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。</p>
35848
35857
  :rtype: int
35849
35858
  """
35850
35859
  return self._MinRoInGroup
@@ -35855,7 +35864,7 @@ class RoGroupAttr(AbstractModel):
35855
35864
 
35856
35865
  @property
35857
35866
  def WeightMode(self):
35858
- r"""权重模式。支持值包括:"system" - 系统自动分配; "custom" - 用户自定义设置。注意,若设置 "custom" 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。
35867
+ r"""<p>权重模式。支持值包括:&quot;system&quot; - 系统自动分配; &quot;custom&quot; - 用户自定义设置。注意,若设置 &quot;custom&quot; 模式,则必须设置 RO 实例权重配置(RoWeightValues)参数。</p>
35859
35868
  :rtype: str
35860
35869
  """
35861
35870
  return self._WeightMode
@@ -35866,7 +35875,7 @@ class RoGroupAttr(AbstractModel):
35866
35875
 
35867
35876
  @property
35868
35877
  def ReplicationDelayTime(self):
35869
- r"""延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。
35878
+ r"""<p>延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。</p>
35870
35879
  :rtype: int
35871
35880
  """
35872
35881
  return self._ReplicationDelayTime
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.201
3
+ Version: 3.1.206
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.201
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.206
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=Ol9T5N-Tu_-YhRRn99msjgYTUzKOWnPB88u1K4kyF-M,630
1
+ tencentcloud/__init__.py,sha256=rplc9-BE59lNdtDmMGLBBkqktuse_VKOGZFiFKPX7GE,630
2
2
  tencentcloud/cdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cdb/v20170320/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cdb/v20170320/cdb_client.py,sha256=FN91TtC-4TDFfbZG5QTlTCoARUtEbUQKs0FugOefxUg,181835
5
5
  tencentcloud/cdb/v20170320/cdb_client_async.py,sha256=p2De-w_vlYyzf8bhkuHWqbhFlwmz1M9QAuMxDNiwsD4,127568
6
6
  tencentcloud/cdb/v20170320/errorcodes.py,sha256=p5SZDKErz-2s_UAo7Do0JTocpYFaf2zyGcah3aRsVHM,21688
7
- tencentcloud/cdb/v20170320/models.py,sha256=Z1g7Nu07AXRCrAhu63STLb4rSQQCzjpovWWxIq0v9Kk,1388307
8
- tencentcloud_sdk_python_cdb-3.1.201.dist-info/METADATA,sha256=3EXWzHxp2ptNsEcBfdSOKe05dqcANFwhyll9X1Ri7wU,1497
9
- tencentcloud_sdk_python_cdb-3.1.201.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_cdb-3.1.201.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cdb-3.1.201.dist-info/RECORD,,
7
+ tencentcloud/cdb/v20170320/models.py,sha256=PJ0u7mza-POr4F0SgT2e6didu_FphGSAvc5pmND50Bg,1389484
8
+ tencentcloud_sdk_python_cdb-3.1.206.dist-info/METADATA,sha256=w6voV0iVRFAgrmlL-FZoq5itVJB0ROGuRAlDPEWHNPw,1497
9
+ tencentcloud_sdk_python_cdb-3.1.206.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_cdb-3.1.206.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cdb-3.1.206.dist-info/RECORD,,