tencentcloud-sdk-python-cdb 3.1.93__tar.gz → 3.1.100__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_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/v20170320/models.py +72 -78
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.100/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.93/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.100}/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.
|
|
3
|
+
Version: 3.1.100
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.100
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.100,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -537,41 +537,38 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
537
537
|
|
|
538
538
|
def __init__(self):
|
|
539
539
|
r"""
|
|
540
|
-
:param _ProxyGroupId:
|
|
540
|
+
:param _ProxyGroupId: <p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
541
541
|
:type ProxyGroupId: str
|
|
542
|
-
:param _WeightMode:
|
|
543
|
-
系统自动分配:"system", 自定义:"custom"
|
|
542
|
+
:param _WeightMode: <p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
544
543
|
:type WeightMode: str
|
|
545
|
-
:param _IsKickOut:
|
|
544
|
+
:param _IsKickOut: <p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
546
545
|
:type IsKickOut: bool
|
|
547
|
-
:param _MinCount:
|
|
548
|
-
说明:当 IsKickOut 为 true 时才有效。
|
|
546
|
+
:param _MinCount: <p>最小保留数量,最小取值:0。<br>说明:当 IsKickOut 为 true 时才有效。</p>
|
|
549
547
|
:type MinCount: int
|
|
550
|
-
:param _MaxDelay:
|
|
548
|
+
:param _MaxDelay: <p>延迟剔除阈值,最小取值:1,取值范围:[1,10000],整数。</p>
|
|
551
549
|
:type MaxDelay: int
|
|
552
|
-
:param _FailOver:
|
|
550
|
+
:param _FailOver: <p>是否开启故障转移,取值:"true" | "false"</p>
|
|
553
551
|
:type FailOver: bool
|
|
554
|
-
:param _AutoAddRo:
|
|
552
|
+
:param _AutoAddRo: <p>是否自动添加RO,取值:"true" | "false"</p>
|
|
555
553
|
:type AutoAddRo: bool
|
|
556
|
-
:param _ReadOnly:
|
|
554
|
+
:param _ReadOnly: <p>是否是只读,取值:"true" | "false"</p>
|
|
557
555
|
:type ReadOnly: bool
|
|
558
|
-
:param _ProxyAddressId:
|
|
556
|
+
:param _ProxyAddressId: <p>代理组地址 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
559
557
|
:type ProxyAddressId: str
|
|
560
|
-
:param _TransSplit:
|
|
558
|
+
:param _TransSplit: <p>是否开启事务分离,取值:"true" | "false",默认值 false。</p>
|
|
561
559
|
:type TransSplit: bool
|
|
562
|
-
:param _ConnectionPool:
|
|
563
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
560
|
+
:param _ConnectionPool: <p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
564
561
|
:type ConnectionPool: bool
|
|
565
|
-
:param _ProxyAllocation:
|
|
562
|
+
:param _ProxyAllocation: <p>读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
566
563
|
:type ProxyAllocation: list of ProxyAllocation
|
|
567
|
-
:param _AutoLoadBalance:
|
|
564
|
+
:param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
|
|
568
565
|
:type AutoLoadBalance: bool
|
|
569
|
-
:param _AccessMode:
|
|
566
|
+
:param _AccessMode: <p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
|
|
570
567
|
:type AccessMode: str
|
|
571
|
-
:param _ApNodeAsRoNode:
|
|
572
|
-
:type ApNodeAsRoNode:
|
|
573
|
-
:param _ApQueryToOtherNode: libra
|
|
574
|
-
:type ApQueryToOtherNode:
|
|
568
|
+
:param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
|
|
569
|
+
:type ApNodeAsRoNode: bool
|
|
570
|
+
:param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
|
|
571
|
+
:type ApQueryToOtherNode: bool
|
|
575
572
|
"""
|
|
576
573
|
self._ProxyGroupId = None
|
|
577
574
|
self._WeightMode = None
|
|
@@ -592,7 +589,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
592
589
|
|
|
593
590
|
@property
|
|
594
591
|
def ProxyGroupId(self):
|
|
595
|
-
r"""
|
|
592
|
+
r"""<p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
596
593
|
:rtype: str
|
|
597
594
|
"""
|
|
598
595
|
return self._ProxyGroupId
|
|
@@ -603,8 +600,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
603
600
|
|
|
604
601
|
@property
|
|
605
602
|
def WeightMode(self):
|
|
606
|
-
r"""
|
|
607
|
-
系统自动分配:"system", 自定义:"custom"
|
|
603
|
+
r"""<p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
608
604
|
:rtype: str
|
|
609
605
|
"""
|
|
610
606
|
return self._WeightMode
|
|
@@ -615,7 +611,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
615
611
|
|
|
616
612
|
@property
|
|
617
613
|
def IsKickOut(self):
|
|
618
|
-
r"""
|
|
614
|
+
r"""<p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
619
615
|
:rtype: bool
|
|
620
616
|
"""
|
|
621
617
|
return self._IsKickOut
|
|
@@ -626,8 +622,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
626
622
|
|
|
627
623
|
@property
|
|
628
624
|
def MinCount(self):
|
|
629
|
-
r"""
|
|
630
|
-
说明:当 IsKickOut 为 true 时才有效。
|
|
625
|
+
r"""<p>最小保留数量,最小取值:0。<br>说明:当 IsKickOut 为 true 时才有效。</p>
|
|
631
626
|
:rtype: int
|
|
632
627
|
"""
|
|
633
628
|
return self._MinCount
|
|
@@ -638,7 +633,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
638
633
|
|
|
639
634
|
@property
|
|
640
635
|
def MaxDelay(self):
|
|
641
|
-
r"""
|
|
636
|
+
r"""<p>延迟剔除阈值,最小取值:1,取值范围:[1,10000],整数。</p>
|
|
642
637
|
:rtype: int
|
|
643
638
|
"""
|
|
644
639
|
return self._MaxDelay
|
|
@@ -649,7 +644,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
649
644
|
|
|
650
645
|
@property
|
|
651
646
|
def FailOver(self):
|
|
652
|
-
r"""
|
|
647
|
+
r"""<p>是否开启故障转移,取值:"true" | "false"</p>
|
|
653
648
|
:rtype: bool
|
|
654
649
|
"""
|
|
655
650
|
return self._FailOver
|
|
@@ -660,7 +655,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
660
655
|
|
|
661
656
|
@property
|
|
662
657
|
def AutoAddRo(self):
|
|
663
|
-
r"""
|
|
658
|
+
r"""<p>是否自动添加RO,取值:"true" | "false"</p>
|
|
664
659
|
:rtype: bool
|
|
665
660
|
"""
|
|
666
661
|
return self._AutoAddRo
|
|
@@ -671,7 +666,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
671
666
|
|
|
672
667
|
@property
|
|
673
668
|
def ReadOnly(self):
|
|
674
|
-
r"""
|
|
669
|
+
r"""<p>是否是只读,取值:"true" | "false"</p>
|
|
675
670
|
:rtype: bool
|
|
676
671
|
"""
|
|
677
672
|
return self._ReadOnly
|
|
@@ -682,7 +677,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
682
677
|
|
|
683
678
|
@property
|
|
684
679
|
def ProxyAddressId(self):
|
|
685
|
-
r"""
|
|
680
|
+
r"""<p>代理组地址 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
686
681
|
:rtype: str
|
|
687
682
|
"""
|
|
688
683
|
return self._ProxyAddressId
|
|
@@ -693,7 +688,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
693
688
|
|
|
694
689
|
@property
|
|
695
690
|
def TransSplit(self):
|
|
696
|
-
r"""
|
|
691
|
+
r"""<p>是否开启事务分离,取值:"true" | "false",默认值 false。</p>
|
|
697
692
|
:rtype: bool
|
|
698
693
|
"""
|
|
699
694
|
return self._TransSplit
|
|
@@ -704,8 +699,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
704
699
|
|
|
705
700
|
@property
|
|
706
701
|
def ConnectionPool(self):
|
|
707
|
-
r"""
|
|
708
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
702
|
+
r"""<p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
709
703
|
:rtype: bool
|
|
710
704
|
"""
|
|
711
705
|
return self._ConnectionPool
|
|
@@ -716,7 +710,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
716
710
|
|
|
717
711
|
@property
|
|
718
712
|
def ProxyAllocation(self):
|
|
719
|
-
r"""
|
|
713
|
+
r"""<p>读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
720
714
|
:rtype: list of ProxyAllocation
|
|
721
715
|
"""
|
|
722
716
|
return self._ProxyAllocation
|
|
@@ -727,7 +721,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
727
721
|
|
|
728
722
|
@property
|
|
729
723
|
def AutoLoadBalance(self):
|
|
730
|
-
r"""
|
|
724
|
+
r"""<p>是否开启自适应负载均衡。默认关闭。</p>
|
|
731
725
|
:rtype: bool
|
|
732
726
|
"""
|
|
733
727
|
return self._AutoLoadBalance
|
|
@@ -738,7 +732,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
738
732
|
|
|
739
733
|
@property
|
|
740
734
|
def AccessMode(self):
|
|
741
|
-
r"""
|
|
735
|
+
r"""<p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
|
|
742
736
|
:rtype: str
|
|
743
737
|
"""
|
|
744
738
|
return self._AccessMode
|
|
@@ -749,8 +743,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
749
743
|
|
|
750
744
|
@property
|
|
751
745
|
def ApNodeAsRoNode(self):
|
|
752
|
-
r"""
|
|
753
|
-
:rtype:
|
|
746
|
+
r"""<p>是否将libra节点当作普通RO节点</p>
|
|
747
|
+
:rtype: bool
|
|
754
748
|
"""
|
|
755
749
|
return self._ApNodeAsRoNode
|
|
756
750
|
|
|
@@ -760,8 +754,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
760
754
|
|
|
761
755
|
@property
|
|
762
756
|
def ApQueryToOtherNode(self):
|
|
763
|
-
r"""libra
|
|
764
|
-
:rtype:
|
|
757
|
+
r"""<p>libra节点故障,是否转发给其他节点</p>
|
|
758
|
+
:rtype: bool
|
|
765
759
|
"""
|
|
766
760
|
return self._ApQueryToOtherNode
|
|
767
761
|
|
|
@@ -809,7 +803,7 @@ class AdjustCdbProxyAddressResponse(AbstractModel):
|
|
|
809
803
|
|
|
810
804
|
def __init__(self):
|
|
811
805
|
r"""
|
|
812
|
-
:param _AsyncRequestId:
|
|
806
|
+
:param _AsyncRequestId: <p>异步任务ID</p>
|
|
813
807
|
:type AsyncRequestId: str
|
|
814
808
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
815
809
|
:type RequestId: str
|
|
@@ -819,7 +813,7 @@ class AdjustCdbProxyAddressResponse(AbstractModel):
|
|
|
819
813
|
|
|
820
814
|
@property
|
|
821
815
|
def AsyncRequestId(self):
|
|
822
|
-
r"""
|
|
816
|
+
r"""<p>异步任务ID</p>
|
|
823
817
|
:rtype: str
|
|
824
818
|
"""
|
|
825
819
|
return self._AsyncRequestId
|
|
@@ -17723,33 +17717,33 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17723
17717
|
|
|
17724
17718
|
def __init__(self):
|
|
17725
17719
|
r"""
|
|
17726
|
-
:param _Period:
|
|
17720
|
+
:param _Period: <p>实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。</p>
|
|
17727
17721
|
:type Period: int
|
|
17728
|
-
:param _Zone:
|
|
17722
|
+
:param _Zone: <p>可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。</p>
|
|
17729
17723
|
:type Zone: str
|
|
17730
|
-
:param _GoodsNum:
|
|
17724
|
+
:param _GoodsNum: <p>实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。</p>
|
|
17731
17725
|
:type GoodsNum: int
|
|
17732
|
-
:param _Memory:
|
|
17726
|
+
:param _Memory: <p>实例内存大小,单位:MB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的实例内存大小范围。</p>
|
|
17733
17727
|
:type Memory: int
|
|
17734
|
-
:param _Volume:
|
|
17728
|
+
:param _Volume: <p>实例硬盘大小,单位:GB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的硬盘大小范围。</p>
|
|
17735
17729
|
:type Volume: int
|
|
17736
|
-
:param _InstanceRole:
|
|
17730
|
+
:param _InstanceRole: <p>实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。</p>
|
|
17737
17731
|
:type InstanceRole: str
|
|
17738
|
-
:param _PayType:
|
|
17732
|
+
:param _PayType: <p>付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。</p>
|
|
17739
17733
|
:type PayType: str
|
|
17740
|
-
:param _ProtectMode:
|
|
17734
|
+
:param _ProtectMode: <p>数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。</p>
|
|
17741
17735
|
:type ProtectMode: int
|
|
17742
|
-
:param _DeviceType:
|
|
17736
|
+
:param _DeviceType: <p>实例隔离类型。</p><p>枚举值:</p><ul><li>UNIVERSAL: 通用型实例</li><li>EXCLUSIVE: 独享型实例</li><li>CLOUD_NATIVE_CLUSTER: 云盘版标准型</li><li>CLOUD_NATIVE_CLUSTER_EXCLUSIVE: 云盘版加强型</li><li>CLOUD_NATIVE_CLUSTER_ULTRA: 云盘版旗舰型</li></ul><p>默认值:UNIVERSAL</p><p>如需查询单节点云盘版实例的价格,请设置此参数为 CLOUD_NATIVE_CLUSTER,并且指定参数 InstanceNodes 为1。</p>
|
|
17743
17737
|
:type DeviceType: str
|
|
17744
|
-
:param _InstanceNodes:
|
|
17738
|
+
:param _InstanceNodes: <p>实例节点数。<br>1.查询 RO 实例或者单节点实例价格时,此字段值为1。<br>2.查询双节点实例价格时,此字段值为2。<br>3.查询三节点实例价格时,此字段值为3。<br>4.查询云盘版实例价格时,此字段值范围可输入2 - 6,取值为2表示云盘版实例下对应有1个读写节点 + 1个只读节点;取值为6表示云盘版实例下对应有1个读写节点 + 5个只读节点;其余取值(3 - 5)按1个读写节点 +(取值数 - 1)个只读节点规则类推。</p>
|
|
17745
17739
|
:type InstanceNodes: int
|
|
17746
|
-
:param _Cpu:
|
|
17740
|
+
:param _Cpu: <p>询价实例的CPU核心数目,单位:核,为保证传入 CPU 值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的核心数目,当未指定该值时,将按照 Memory 大小补全一个默认值。</p>
|
|
17747
17741
|
:type Cpu: int
|
|
17748
|
-
:param _InstanceId:
|
|
17742
|
+
:param _InstanceId: <p>询价续费实例ID。如需查询实例续费价格,填写InstanceId和Period即可。</p>
|
|
17749
17743
|
:type InstanceId: str
|
|
17750
|
-
:param _Ladder:
|
|
17744
|
+
:param _Ladder: <p>按量计费阶梯。仅PayType=HOUR_PAID有效,支持值包括:1,2,3。阶梯时长见https://cloud.tencent.com/document/product/236/18335。</p>
|
|
17751
17745
|
:type Ladder: int
|
|
17752
|
-
:param _DiskType:
|
|
17746
|
+
:param _DiskType: <p>磁盘类型,查询云盘版、单节点云盘版实例价格可以指定该参数。默认值为 SSD 云硬盘。<br>支持值包括:<br>"CLOUD_SSD" - SSD 云硬盘。<br>"CLOUD_HSSD" - 增强型 SSD 云硬盘。<br>"CLOUD_PREMIUM" - 高性能云硬盘。</p>
|
|
17753
17747
|
:type DiskType: str
|
|
17754
17748
|
"""
|
|
17755
17749
|
self._Period = None
|
|
@@ -17769,7 +17763,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17769
17763
|
|
|
17770
17764
|
@property
|
|
17771
17765
|
def Period(self):
|
|
17772
|
-
r"""
|
|
17766
|
+
r"""<p>实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。</p>
|
|
17773
17767
|
:rtype: int
|
|
17774
17768
|
"""
|
|
17775
17769
|
return self._Period
|
|
@@ -17780,7 +17774,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17780
17774
|
|
|
17781
17775
|
@property
|
|
17782
17776
|
def Zone(self):
|
|
17783
|
-
r"""
|
|
17777
|
+
r"""<p>可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。</p>
|
|
17784
17778
|
:rtype: str
|
|
17785
17779
|
"""
|
|
17786
17780
|
return self._Zone
|
|
@@ -17791,7 +17785,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17791
17785
|
|
|
17792
17786
|
@property
|
|
17793
17787
|
def GoodsNum(self):
|
|
17794
|
-
r"""
|
|
17788
|
+
r"""<p>实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。</p>
|
|
17795
17789
|
:rtype: int
|
|
17796
17790
|
"""
|
|
17797
17791
|
return self._GoodsNum
|
|
@@ -17802,7 +17796,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17802
17796
|
|
|
17803
17797
|
@property
|
|
17804
17798
|
def Memory(self):
|
|
17805
|
-
r"""
|
|
17799
|
+
r"""<p>实例内存大小,单位:MB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的实例内存大小范围。</p>
|
|
17806
17800
|
:rtype: int
|
|
17807
17801
|
"""
|
|
17808
17802
|
return self._Memory
|
|
@@ -17813,7 +17807,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17813
17807
|
|
|
17814
17808
|
@property
|
|
17815
17809
|
def Volume(self):
|
|
17816
|
-
r"""
|
|
17810
|
+
r"""<p>实例硬盘大小,单位:GB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的硬盘大小范围。</p>
|
|
17817
17811
|
:rtype: int
|
|
17818
17812
|
"""
|
|
17819
17813
|
return self._Volume
|
|
@@ -17824,7 +17818,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17824
17818
|
|
|
17825
17819
|
@property
|
|
17826
17820
|
def InstanceRole(self):
|
|
17827
|
-
r"""
|
|
17821
|
+
r"""<p>实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。</p>
|
|
17828
17822
|
:rtype: str
|
|
17829
17823
|
"""
|
|
17830
17824
|
return self._InstanceRole
|
|
@@ -17835,7 +17829,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17835
17829
|
|
|
17836
17830
|
@property
|
|
17837
17831
|
def PayType(self):
|
|
17838
|
-
r"""
|
|
17832
|
+
r"""<p>付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。</p>
|
|
17839
17833
|
:rtype: str
|
|
17840
17834
|
"""
|
|
17841
17835
|
return self._PayType
|
|
@@ -17846,7 +17840,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17846
17840
|
|
|
17847
17841
|
@property
|
|
17848
17842
|
def ProtectMode(self):
|
|
17849
|
-
r"""
|
|
17843
|
+
r"""<p>数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。</p>
|
|
17850
17844
|
:rtype: int
|
|
17851
17845
|
"""
|
|
17852
17846
|
return self._ProtectMode
|
|
@@ -17857,7 +17851,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17857
17851
|
|
|
17858
17852
|
@property
|
|
17859
17853
|
def DeviceType(self):
|
|
17860
|
-
r"""
|
|
17854
|
+
r"""<p>实例隔离类型。</p><p>枚举值:</p><ul><li>UNIVERSAL: 通用型实例</li><li>EXCLUSIVE: 独享型实例</li><li>CLOUD_NATIVE_CLUSTER: 云盘版标准型</li><li>CLOUD_NATIVE_CLUSTER_EXCLUSIVE: 云盘版加强型</li><li>CLOUD_NATIVE_CLUSTER_ULTRA: 云盘版旗舰型</li></ul><p>默认值:UNIVERSAL</p><p>如需查询单节点云盘版实例的价格,请设置此参数为 CLOUD_NATIVE_CLUSTER,并且指定参数 InstanceNodes 为1。</p>
|
|
17861
17855
|
:rtype: str
|
|
17862
17856
|
"""
|
|
17863
17857
|
return self._DeviceType
|
|
@@ -17868,7 +17862,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17868
17862
|
|
|
17869
17863
|
@property
|
|
17870
17864
|
def InstanceNodes(self):
|
|
17871
|
-
r"""
|
|
17865
|
+
r"""<p>实例节点数。<br>1.查询 RO 实例或者单节点实例价格时,此字段值为1。<br>2.查询双节点实例价格时,此字段值为2。<br>3.查询三节点实例价格时,此字段值为3。<br>4.查询云盘版实例价格时,此字段值范围可输入2 - 6,取值为2表示云盘版实例下对应有1个读写节点 + 1个只读节点;取值为6表示云盘版实例下对应有1个读写节点 + 5个只读节点;其余取值(3 - 5)按1个读写节点 +(取值数 - 1)个只读节点规则类推。</p>
|
|
17872
17866
|
:rtype: int
|
|
17873
17867
|
"""
|
|
17874
17868
|
return self._InstanceNodes
|
|
@@ -17879,7 +17873,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17879
17873
|
|
|
17880
17874
|
@property
|
|
17881
17875
|
def Cpu(self):
|
|
17882
|
-
r"""
|
|
17876
|
+
r"""<p>询价实例的CPU核心数目,单位:核,为保证传入 CPU 值有效,请使用 <a href="https://cloud.tencent.com/document/product/236/17229">获取云数据库可售卖规格</a> 接口获取可售卖的核心数目,当未指定该值时,将按照 Memory 大小补全一个默认值。</p>
|
|
17883
17877
|
:rtype: int
|
|
17884
17878
|
"""
|
|
17885
17879
|
return self._Cpu
|
|
@@ -17890,7 +17884,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17890
17884
|
|
|
17891
17885
|
@property
|
|
17892
17886
|
def InstanceId(self):
|
|
17893
|
-
r"""
|
|
17887
|
+
r"""<p>询价续费实例ID。如需查询实例续费价格,填写InstanceId和Period即可。</p>
|
|
17894
17888
|
:rtype: str
|
|
17895
17889
|
"""
|
|
17896
17890
|
return self._InstanceId
|
|
@@ -17901,7 +17895,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17901
17895
|
|
|
17902
17896
|
@property
|
|
17903
17897
|
def Ladder(self):
|
|
17904
|
-
r"""
|
|
17898
|
+
r"""<p>按量计费阶梯。仅PayType=HOUR_PAID有效,支持值包括:1,2,3。阶梯时长见https://cloud.tencent.com/document/product/236/18335。</p>
|
|
17905
17899
|
:rtype: int
|
|
17906
17900
|
"""
|
|
17907
17901
|
return self._Ladder
|
|
@@ -17912,7 +17906,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
|
17912
17906
|
|
|
17913
17907
|
@property
|
|
17914
17908
|
def DiskType(self):
|
|
17915
|
-
r"""
|
|
17909
|
+
r"""<p>磁盘类型,查询云盘版、单节点云盘版实例价格可以指定该参数。默认值为 SSD 云硬盘。<br>支持值包括:<br>"CLOUD_SSD" - SSD 云硬盘。<br>"CLOUD_HSSD" - 增强型 SSD 云硬盘。<br>"CLOUD_PREMIUM" - 高性能云硬盘。</p>
|
|
17916
17910
|
:rtype: str
|
|
17917
17911
|
"""
|
|
17918
17912
|
return self._DiskType
|
|
@@ -17954,11 +17948,11 @@ class DescribeDBPriceResponse(AbstractModel):
|
|
|
17954
17948
|
|
|
17955
17949
|
def __init__(self):
|
|
17956
17950
|
r"""
|
|
17957
|
-
:param _Price:
|
|
17951
|
+
:param _Price: <p>实例价格,单位:分。</p>
|
|
17958
17952
|
:type Price: int
|
|
17959
|
-
:param _OriginalPrice:
|
|
17953
|
+
:param _OriginalPrice: <p>实例原价,单位:分。</p>
|
|
17960
17954
|
:type OriginalPrice: int
|
|
17961
|
-
:param _Currency:
|
|
17955
|
+
:param _Currency: <p>货币单位。CNY-人民币,USD-美元。</p>
|
|
17962
17956
|
:type Currency: str
|
|
17963
17957
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17964
17958
|
:type RequestId: str
|
|
@@ -17970,7 +17964,7 @@ class DescribeDBPriceResponse(AbstractModel):
|
|
|
17970
17964
|
|
|
17971
17965
|
@property
|
|
17972
17966
|
def Price(self):
|
|
17973
|
-
r"""
|
|
17967
|
+
r"""<p>实例价格,单位:分。</p>
|
|
17974
17968
|
:rtype: int
|
|
17975
17969
|
"""
|
|
17976
17970
|
return self._Price
|
|
@@ -17981,7 +17975,7 @@ class DescribeDBPriceResponse(AbstractModel):
|
|
|
17981
17975
|
|
|
17982
17976
|
@property
|
|
17983
17977
|
def OriginalPrice(self):
|
|
17984
|
-
r"""
|
|
17978
|
+
r"""<p>实例原价,单位:分。</p>
|
|
17985
17979
|
:rtype: int
|
|
17986
17980
|
"""
|
|
17987
17981
|
return self._OriginalPrice
|
|
@@ -17992,7 +17986,7 @@ class DescribeDBPriceResponse(AbstractModel):
|
|
|
17992
17986
|
|
|
17993
17987
|
@property
|
|
17994
17988
|
def Currency(self):
|
|
17995
|
-
r"""
|
|
17989
|
+
r"""<p>货币单位。CNY-人民币,USD-美元。</p>
|
|
17996
17990
|
:rtype: str
|
|
17997
17991
|
"""
|
|
17998
17992
|
return self._Currency
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.100
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.100
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.100
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|