tencentcloud-sdk-python-cdb 3.1.124__tar.gz → 3.1.133__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-cdb might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/models.py +254 -136
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.133/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.124/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.124 → tencentcloud_sdk_python_cdb-3.1.133}/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.133
|
|
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.133
|
|
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.133,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -557,7 +557,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
557
557
|
:type ProxyAllocation: list of ProxyAllocation
|
|
558
558
|
:param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
|
|
559
559
|
:type AutoLoadBalance: bool
|
|
560
|
-
:param _AccessMode: <p
|
|
560
|
+
:param _AccessMode: <p>访问模式。</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
561
561
|
:type AccessMode: str
|
|
562
562
|
:param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
|
|
563
563
|
:type ApNodeAsRoNode: bool
|
|
@@ -726,7 +726,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
726
726
|
|
|
727
727
|
@property
|
|
728
728
|
def AccessMode(self):
|
|
729
|
-
r"""<p
|
|
729
|
+
r"""<p>访问模式。</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
730
730
|
:rtype: str
|
|
731
731
|
"""
|
|
732
732
|
return self._AccessMode
|
|
@@ -7383,7 +7383,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7383
7383
|
:type ConnectionPoolType: str
|
|
7384
7384
|
:param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
|
|
7385
7385
|
:type AutoLoadBalance: bool
|
|
7386
|
-
:param _AccessMode: <p
|
|
7386
|
+
:param _AccessMode: <p>接入模式。</p><p>枚举值:</p><ul><li>nearBy: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul><p>默认值:nearBy</p>
|
|
7387
7387
|
:type AccessMode: str
|
|
7388
7388
|
"""
|
|
7389
7389
|
self._ProxyGroupId = None
|
|
@@ -7618,7 +7618,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
|
7618
7618
|
|
|
7619
7619
|
@property
|
|
7620
7620
|
def AccessMode(self):
|
|
7621
|
-
r"""<p
|
|
7621
|
+
r"""<p>接入模式。</p><p>枚举值:</p><ul><li>nearBy: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul><p>默认值:nearBy</p>
|
|
7622
7622
|
:rtype: str
|
|
7623
7623
|
"""
|
|
7624
7624
|
return self._AccessMode
|
|
@@ -11811,6 +11811,102 @@ class DeleteTimeWindowResponse(AbstractModel):
|
|
|
11811
11811
|
self._RequestId = params.get("RequestId")
|
|
11812
11812
|
|
|
11813
11813
|
|
|
11814
|
+
class DeliverSummary(AbstractModel):
|
|
11815
|
+
r"""投递错误
|
|
11816
|
+
|
|
11817
|
+
"""
|
|
11818
|
+
|
|
11819
|
+
def __init__(self):
|
|
11820
|
+
r"""
|
|
11821
|
+
:param _DeliverType: <p>投递类型,store(存储类),mq(消息通道)</p>
|
|
11822
|
+
:type DeliverType: str
|
|
11823
|
+
:param _DeliverSubType: <p>投递子类型:cls,ckafka。</p>
|
|
11824
|
+
:type DeliverSubType: str
|
|
11825
|
+
:param _DeliverConsumer: <p>投递者</p>
|
|
11826
|
+
:type DeliverConsumer: str
|
|
11827
|
+
:param _DeliverConsumerName: <p>投递者名称</p>
|
|
11828
|
+
:type DeliverConsumerName: str
|
|
11829
|
+
:param _DeliverError: <p>投递异常错误</p>
|
|
11830
|
+
:type DeliverError: str
|
|
11831
|
+
"""
|
|
11832
|
+
self._DeliverType = None
|
|
11833
|
+
self._DeliverSubType = None
|
|
11834
|
+
self._DeliverConsumer = None
|
|
11835
|
+
self._DeliverConsumerName = None
|
|
11836
|
+
self._DeliverError = None
|
|
11837
|
+
|
|
11838
|
+
@property
|
|
11839
|
+
def DeliverType(self):
|
|
11840
|
+
r"""<p>投递类型,store(存储类),mq(消息通道)</p>
|
|
11841
|
+
:rtype: str
|
|
11842
|
+
"""
|
|
11843
|
+
return self._DeliverType
|
|
11844
|
+
|
|
11845
|
+
@DeliverType.setter
|
|
11846
|
+
def DeliverType(self, DeliverType):
|
|
11847
|
+
self._DeliverType = DeliverType
|
|
11848
|
+
|
|
11849
|
+
@property
|
|
11850
|
+
def DeliverSubType(self):
|
|
11851
|
+
r"""<p>投递子类型:cls,ckafka。</p>
|
|
11852
|
+
:rtype: str
|
|
11853
|
+
"""
|
|
11854
|
+
return self._DeliverSubType
|
|
11855
|
+
|
|
11856
|
+
@DeliverSubType.setter
|
|
11857
|
+
def DeliverSubType(self, DeliverSubType):
|
|
11858
|
+
self._DeliverSubType = DeliverSubType
|
|
11859
|
+
|
|
11860
|
+
@property
|
|
11861
|
+
def DeliverConsumer(self):
|
|
11862
|
+
r"""<p>投递者</p>
|
|
11863
|
+
:rtype: str
|
|
11864
|
+
"""
|
|
11865
|
+
return self._DeliverConsumer
|
|
11866
|
+
|
|
11867
|
+
@DeliverConsumer.setter
|
|
11868
|
+
def DeliverConsumer(self, DeliverConsumer):
|
|
11869
|
+
self._DeliverConsumer = DeliverConsumer
|
|
11870
|
+
|
|
11871
|
+
@property
|
|
11872
|
+
def DeliverConsumerName(self):
|
|
11873
|
+
r"""<p>投递者名称</p>
|
|
11874
|
+
:rtype: str
|
|
11875
|
+
"""
|
|
11876
|
+
return self._DeliverConsumerName
|
|
11877
|
+
|
|
11878
|
+
@DeliverConsumerName.setter
|
|
11879
|
+
def DeliverConsumerName(self, DeliverConsumerName):
|
|
11880
|
+
self._DeliverConsumerName = DeliverConsumerName
|
|
11881
|
+
|
|
11882
|
+
@property
|
|
11883
|
+
def DeliverError(self):
|
|
11884
|
+
r"""<p>投递异常错误</p>
|
|
11885
|
+
:rtype: str
|
|
11886
|
+
"""
|
|
11887
|
+
return self._DeliverError
|
|
11888
|
+
|
|
11889
|
+
@DeliverError.setter
|
|
11890
|
+
def DeliverError(self, DeliverError):
|
|
11891
|
+
self._DeliverError = DeliverError
|
|
11892
|
+
|
|
11893
|
+
|
|
11894
|
+
def _deserialize(self, params):
|
|
11895
|
+
self._DeliverType = params.get("DeliverType")
|
|
11896
|
+
self._DeliverSubType = params.get("DeliverSubType")
|
|
11897
|
+
self._DeliverConsumer = params.get("DeliverConsumer")
|
|
11898
|
+
self._DeliverConsumerName = params.get("DeliverConsumerName")
|
|
11899
|
+
self._DeliverError = params.get("DeliverError")
|
|
11900
|
+
memeber_set = set(params.keys())
|
|
11901
|
+
for name, value in vars(self).items():
|
|
11902
|
+
property_name = name[1:]
|
|
11903
|
+
if property_name in memeber_set:
|
|
11904
|
+
memeber_set.remove(property_name)
|
|
11905
|
+
if len(memeber_set) > 0:
|
|
11906
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11907
|
+
|
|
11908
|
+
|
|
11909
|
+
|
|
11814
11910
|
class DeployGroupInfo(AbstractModel):
|
|
11815
11911
|
r"""置放群组信息
|
|
11816
11912
|
|
|
@@ -12332,14 +12428,14 @@ class DescribeAsyncRequestInfoRequest(AbstractModel):
|
|
|
12332
12428
|
|
|
12333
12429
|
def __init__(self):
|
|
12334
12430
|
r"""
|
|
12335
|
-
:param _AsyncRequestId:
|
|
12431
|
+
:param _AsyncRequestId: <p>异步任务的请求 ID。</p>
|
|
12336
12432
|
:type AsyncRequestId: str
|
|
12337
12433
|
"""
|
|
12338
12434
|
self._AsyncRequestId = None
|
|
12339
12435
|
|
|
12340
12436
|
@property
|
|
12341
12437
|
def AsyncRequestId(self):
|
|
12342
|
-
r"""
|
|
12438
|
+
r"""<p>异步任务的请求 ID。</p>
|
|
12343
12439
|
:rtype: str
|
|
12344
12440
|
"""
|
|
12345
12441
|
return self._AsyncRequestId
|
|
@@ -12368,9 +12464,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12368
12464
|
|
|
12369
12465
|
def __init__(self):
|
|
12370
12466
|
r"""
|
|
12371
|
-
:param _Status:
|
|
12467
|
+
:param _Status: <p>任务执行结果。</p><p>枚举值:</p><ul><li>INITIAL: 初始化。</li><li>RUNNING: 运行中。</li><li>SUCCESS: 执行成功。</li><li>FAILED: 执行失败。</li><li>KILLED: 已终止。</li><li>REMOVED: 已删除。</li><li>PAUSED: 终止中。</li><li>UNDEFINED: 任务已创建但未开始执行,在 WaitSwitch = true 场景下,表示任务正在等待维护时间窗到来。</li></ul>
|
|
12372
12468
|
:type Status: str
|
|
12373
|
-
:param _Info:
|
|
12469
|
+
:param _Info: <p>任务执行信息描述。</p>
|
|
12374
12470
|
:type Info: str
|
|
12375
12471
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12376
12472
|
:type RequestId: str
|
|
@@ -12381,7 +12477,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12381
12477
|
|
|
12382
12478
|
@property
|
|
12383
12479
|
def Status(self):
|
|
12384
|
-
r"""
|
|
12480
|
+
r"""<p>任务执行结果。</p><p>枚举值:</p><ul><li>INITIAL: 初始化。</li><li>RUNNING: 运行中。</li><li>SUCCESS: 执行成功。</li><li>FAILED: 执行失败。</li><li>KILLED: 已终止。</li><li>REMOVED: 已删除。</li><li>PAUSED: 终止中。</li><li>UNDEFINED: 任务已创建但未开始执行,在 WaitSwitch = true 场景下,表示任务正在等待维护时间窗到来。</li></ul>
|
|
12385
12481
|
:rtype: str
|
|
12386
12482
|
"""
|
|
12387
12483
|
return self._Status
|
|
@@ -12392,7 +12488,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12392
12488
|
|
|
12393
12489
|
@property
|
|
12394
12490
|
def Info(self):
|
|
12395
|
-
r"""
|
|
12491
|
+
r"""<p>任务执行信息描述。</p>
|
|
12396
12492
|
:rtype: str
|
|
12397
12493
|
"""
|
|
12398
12494
|
return self._Info
|
|
@@ -12565,15 +12661,15 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12565
12661
|
|
|
12566
12662
|
def __init__(self):
|
|
12567
12663
|
r"""
|
|
12568
|
-
:param _AuditSwitch:
|
|
12664
|
+
:param _AuditSwitch: <p>实例审计开启的状态。1-已开启审计;0-未开启审计。</p>
|
|
12569
12665
|
:type AuditSwitch: int
|
|
12570
|
-
:param _Filters:
|
|
12666
|
+
:param _Filters: <p>查询实例列表的过滤条件。</p>
|
|
12571
12667
|
:type Filters: list of AuditInstanceFilters
|
|
12572
|
-
:param _AuditMode:
|
|
12668
|
+
:param _AuditMode: <p>实例的审计规则模式。1-规则审计;0-全审计。</p>
|
|
12573
12669
|
:type AuditMode: int
|
|
12574
|
-
:param _Limit:
|
|
12670
|
+
:param _Limit: <p>单次请求返回的数量。默认值为30,最大值为 20000。</p>
|
|
12575
12671
|
:type Limit: int
|
|
12576
|
-
:param _Offset:
|
|
12672
|
+
:param _Offset: <p>偏移量,默认值为 0。</p>
|
|
12577
12673
|
:type Offset: int
|
|
12578
12674
|
"""
|
|
12579
12675
|
self._AuditSwitch = None
|
|
@@ -12584,7 +12680,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12584
12680
|
|
|
12585
12681
|
@property
|
|
12586
12682
|
def AuditSwitch(self):
|
|
12587
|
-
r"""
|
|
12683
|
+
r"""<p>实例审计开启的状态。1-已开启审计;0-未开启审计。</p>
|
|
12588
12684
|
:rtype: int
|
|
12589
12685
|
"""
|
|
12590
12686
|
return self._AuditSwitch
|
|
@@ -12595,7 +12691,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12595
12691
|
|
|
12596
12692
|
@property
|
|
12597
12693
|
def Filters(self):
|
|
12598
|
-
r"""
|
|
12694
|
+
r"""<p>查询实例列表的过滤条件。</p>
|
|
12599
12695
|
:rtype: list of AuditInstanceFilters
|
|
12600
12696
|
"""
|
|
12601
12697
|
return self._Filters
|
|
@@ -12606,7 +12702,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12606
12702
|
|
|
12607
12703
|
@property
|
|
12608
12704
|
def AuditMode(self):
|
|
12609
|
-
r"""
|
|
12705
|
+
r"""<p>实例的审计规则模式。1-规则审计;0-全审计。</p>
|
|
12610
12706
|
:rtype: int
|
|
12611
12707
|
"""
|
|
12612
12708
|
return self._AuditMode
|
|
@@ -12617,7 +12713,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12617
12713
|
|
|
12618
12714
|
@property
|
|
12619
12715
|
def Limit(self):
|
|
12620
|
-
r"""
|
|
12716
|
+
r"""<p>单次请求返回的数量。默认值为30,最大值为 20000。</p>
|
|
12621
12717
|
:rtype: int
|
|
12622
12718
|
"""
|
|
12623
12719
|
return self._Limit
|
|
@@ -12628,7 +12724,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
|
12628
12724
|
|
|
12629
12725
|
@property
|
|
12630
12726
|
def Offset(self):
|
|
12631
|
-
r"""
|
|
12727
|
+
r"""<p>偏移量,默认值为 0。</p>
|
|
12632
12728
|
:rtype: int
|
|
12633
12729
|
"""
|
|
12634
12730
|
return self._Offset
|
|
@@ -12666,9 +12762,9 @@ class DescribeAuditInstanceListResponse(AbstractModel):
|
|
|
12666
12762
|
|
|
12667
12763
|
def __init__(self):
|
|
12668
12764
|
r"""
|
|
12669
|
-
:param _TotalCount:
|
|
12765
|
+
:param _TotalCount: <p>符合查询条件的实例总数。</p>
|
|
12670
12766
|
:type TotalCount: int
|
|
12671
|
-
:param _Items:
|
|
12767
|
+
:param _Items: <p>审计实例详细信息列表。</p>
|
|
12672
12768
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12673
12769
|
:type Items: list of InstanceDbAuditStatus
|
|
12674
12770
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -12680,7 +12776,7 @@ class DescribeAuditInstanceListResponse(AbstractModel):
|
|
|
12680
12776
|
|
|
12681
12777
|
@property
|
|
12682
12778
|
def TotalCount(self):
|
|
12683
|
-
r"""
|
|
12779
|
+
r"""<p>符合查询条件的实例总数。</p>
|
|
12684
12780
|
:rtype: int
|
|
12685
12781
|
"""
|
|
12686
12782
|
return self._TotalCount
|
|
@@ -12691,7 +12787,7 @@ class DescribeAuditInstanceListResponse(AbstractModel):
|
|
|
12691
12787
|
|
|
12692
12788
|
@property
|
|
12693
12789
|
def Items(self):
|
|
12694
|
-
r"""
|
|
12790
|
+
r"""<p>审计实例详细信息列表。</p>
|
|
12695
12791
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12696
12792
|
:rtype: list of InstanceDbAuditStatus
|
|
12697
12793
|
"""
|
|
@@ -25001,61 +25097,50 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25001
25097
|
|
|
25002
25098
|
def __init__(self):
|
|
25003
25099
|
r"""
|
|
25004
|
-
:param _InstanceId:
|
|
25100
|
+
:param _InstanceId: <p>实例ID。</p>
|
|
25005
25101
|
:type InstanceId: str
|
|
25006
|
-
:param _AuditStatus:
|
|
25102
|
+
:param _AuditStatus: <p>审计状态。ON-表示审计已开启,OFF-表示审计关闭</p>
|
|
25007
25103
|
:type AuditStatus: str
|
|
25008
|
-
:param _AuditTask:
|
|
25104
|
+
:param _AuditTask: <p>任务状态。0-无任务;1-审计开启中,2-审计关闭中。</p>
|
|
25009
25105
|
:type AuditTask: int
|
|
25010
|
-
:param _LogExpireDay:
|
|
25011
|
-
7 - 一周;
|
|
25012
|
-
30 - 一个月;
|
|
25013
|
-
90 - 三个月;
|
|
25014
|
-
180 - 六个月;
|
|
25015
|
-
365 - 一年;
|
|
25016
|
-
1095 - 三年;
|
|
25017
|
-
1825 - 五年。
|
|
25106
|
+
:param _LogExpireDay: <p>日志保留时长。支持值包括:<br>7 - 一周;<br>30 - 一个月;<br>90 - 三个月;<br>180 - 六个月;<br>365 - 一年;<br>1095 - 三年;<br>1825 - 五年。</p>
|
|
25018
25107
|
:type LogExpireDay: int
|
|
25019
|
-
:param _HighLogExpireDay:
|
|
25020
|
-
3 - 3天;
|
|
25021
|
-
7 - 一周;
|
|
25022
|
-
30 - 一个月;
|
|
25023
|
-
90 - 三个月;
|
|
25024
|
-
180 - 六个月;
|
|
25025
|
-
365 - 一年;
|
|
25026
|
-
1095 - 三年;
|
|
25027
|
-
1825 - 五年。
|
|
25108
|
+
:param _HighLogExpireDay: <p>高频存储时长。支持值包括:<br>3 - 3天;<br>7 - 一周;<br>30 - 一个月;<br>90 - 三个月;<br>180 - 六个月;<br>365 - 一年;<br>1095 - 三年;<br>1825 - 五年。</p>
|
|
25028
25109
|
:type HighLogExpireDay: int
|
|
25029
|
-
:param _LowLogExpireDay:
|
|
25110
|
+
:param _LowLogExpireDay: <p>低频存储时长。单位:天,等于日志保存时长减去高频存储时长。</p>
|
|
25030
25111
|
:type LowLogExpireDay: int
|
|
25031
|
-
:param _BillingAmount:
|
|
25112
|
+
:param _BillingAmount: <p>日志存储量(单位:GB)。</p>
|
|
25032
25113
|
:type BillingAmount: float
|
|
25033
|
-
:param _HighRealStorage:
|
|
25114
|
+
:param _HighRealStorage: <p>高频存储量(单位:GB)。</p>
|
|
25034
25115
|
:type HighRealStorage: float
|
|
25035
|
-
:param _LowRealStorage:
|
|
25116
|
+
:param _LowRealStorage: <p>低频存储量(单位:GB)。</p>
|
|
25036
25117
|
:type LowRealStorage: float
|
|
25037
|
-
:param _AuditAll:
|
|
25118
|
+
:param _AuditAll: <p>是否为全审计(true-表示全审计)</p>
|
|
25038
25119
|
:type AuditAll: bool
|
|
25039
|
-
:param _CreateAt:
|
|
25120
|
+
:param _CreateAt: <p>审计开通时间。</p>
|
|
25040
25121
|
:type CreateAt: str
|
|
25041
|
-
:param _InstanceInfo:
|
|
25122
|
+
:param _InstanceInfo: <p>实例相关信息</p>
|
|
25042
25123
|
:type InstanceInfo: :class:`tencentcloud.cdb.v20170320.models.AuditInstanceInfo`
|
|
25043
|
-
:param _RealStorage:
|
|
25124
|
+
:param _RealStorage: <p>总存储量(单位:GB)。</p>
|
|
25044
25125
|
:type RealStorage: float
|
|
25045
|
-
:param _OldRule:
|
|
25126
|
+
:param _OldRule: <p>是否包含审计策略</p>
|
|
25046
25127
|
:type OldRule: bool
|
|
25047
|
-
:param _RuleTemplateIds:
|
|
25128
|
+
:param _RuleTemplateIds: <p>实例所应用的规则模板。</p>
|
|
25048
25129
|
:type RuleTemplateIds: list of str
|
|
25049
|
-
:param _TrialStatus:
|
|
25130
|
+
:param _TrialStatus: <p>限免状态</p>
|
|
25050
25131
|
:type TrialStatus: str
|
|
25051
|
-
:param _TrialStartTime:
|
|
25132
|
+
:param _TrialStartTime: <p>限免开启时间</p>
|
|
25052
25133
|
:type TrialStartTime: int
|
|
25053
|
-
:param _TrialDuration:
|
|
25134
|
+
:param _TrialDuration: <p>限免持续时间</p>
|
|
25054
25135
|
:type TrialDuration: int
|
|
25055
|
-
:param _TrialCloseTime:
|
|
25136
|
+
:param _TrialCloseTime: <p>限免关闭时间</p>
|
|
25056
25137
|
:type TrialCloseTime: int
|
|
25057
|
-
:param _TrialDescribeLogHours:
|
|
25138
|
+
:param _TrialDescribeLogHours: <p>限免期查询日志时长</p>
|
|
25058
25139
|
:type TrialDescribeLogHours: int
|
|
25140
|
+
:param _DeliverSummary: <p>投递信息</p>
|
|
25141
|
+
:type DeliverSummary: list of DeliverSummary
|
|
25142
|
+
:param _Deliver: <p>是否开启了投递,ON:开启,OFF:关闭</p>
|
|
25143
|
+
:type Deliver: str
|
|
25059
25144
|
"""
|
|
25060
25145
|
self._InstanceId = None
|
|
25061
25146
|
self._AuditStatus = None
|
|
@@ -25077,10 +25162,12 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25077
25162
|
self._TrialDuration = None
|
|
25078
25163
|
self._TrialCloseTime = None
|
|
25079
25164
|
self._TrialDescribeLogHours = None
|
|
25165
|
+
self._DeliverSummary = None
|
|
25166
|
+
self._Deliver = None
|
|
25080
25167
|
|
|
25081
25168
|
@property
|
|
25082
25169
|
def InstanceId(self):
|
|
25083
|
-
r"""
|
|
25170
|
+
r"""<p>实例ID。</p>
|
|
25084
25171
|
:rtype: str
|
|
25085
25172
|
"""
|
|
25086
25173
|
return self._InstanceId
|
|
@@ -25091,7 +25178,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25091
25178
|
|
|
25092
25179
|
@property
|
|
25093
25180
|
def AuditStatus(self):
|
|
25094
|
-
r"""
|
|
25181
|
+
r"""<p>审计状态。ON-表示审计已开启,OFF-表示审计关闭</p>
|
|
25095
25182
|
:rtype: str
|
|
25096
25183
|
"""
|
|
25097
25184
|
return self._AuditStatus
|
|
@@ -25102,7 +25189,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25102
25189
|
|
|
25103
25190
|
@property
|
|
25104
25191
|
def AuditTask(self):
|
|
25105
|
-
r"""
|
|
25192
|
+
r"""<p>任务状态。0-无任务;1-审计开启中,2-审计关闭中。</p>
|
|
25106
25193
|
:rtype: int
|
|
25107
25194
|
"""
|
|
25108
25195
|
return self._AuditTask
|
|
@@ -25113,14 +25200,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25113
25200
|
|
|
25114
25201
|
@property
|
|
25115
25202
|
def LogExpireDay(self):
|
|
25116
|
-
r"""
|
|
25117
|
-
7 - 一周;
|
|
25118
|
-
30 - 一个月;
|
|
25119
|
-
90 - 三个月;
|
|
25120
|
-
180 - 六个月;
|
|
25121
|
-
365 - 一年;
|
|
25122
|
-
1095 - 三年;
|
|
25123
|
-
1825 - 五年。
|
|
25203
|
+
r"""<p>日志保留时长。支持值包括:<br>7 - 一周;<br>30 - 一个月;<br>90 - 三个月;<br>180 - 六个月;<br>365 - 一年;<br>1095 - 三年;<br>1825 - 五年。</p>
|
|
25124
25204
|
:rtype: int
|
|
25125
25205
|
"""
|
|
25126
25206
|
return self._LogExpireDay
|
|
@@ -25131,15 +25211,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25131
25211
|
|
|
25132
25212
|
@property
|
|
25133
25213
|
def HighLogExpireDay(self):
|
|
25134
|
-
r"""
|
|
25135
|
-
3 - 3天;
|
|
25136
|
-
7 - 一周;
|
|
25137
|
-
30 - 一个月;
|
|
25138
|
-
90 - 三个月;
|
|
25139
|
-
180 - 六个月;
|
|
25140
|
-
365 - 一年;
|
|
25141
|
-
1095 - 三年;
|
|
25142
|
-
1825 - 五年。
|
|
25214
|
+
r"""<p>高频存储时长。支持值包括:<br>3 - 3天;<br>7 - 一周;<br>30 - 一个月;<br>90 - 三个月;<br>180 - 六个月;<br>365 - 一年;<br>1095 - 三年;<br>1825 - 五年。</p>
|
|
25143
25215
|
:rtype: int
|
|
25144
25216
|
"""
|
|
25145
25217
|
return self._HighLogExpireDay
|
|
@@ -25150,7 +25222,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25150
25222
|
|
|
25151
25223
|
@property
|
|
25152
25224
|
def LowLogExpireDay(self):
|
|
25153
|
-
r"""
|
|
25225
|
+
r"""<p>低频存储时长。单位:天,等于日志保存时长减去高频存储时长。</p>
|
|
25154
25226
|
:rtype: int
|
|
25155
25227
|
"""
|
|
25156
25228
|
return self._LowLogExpireDay
|
|
@@ -25161,7 +25233,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25161
25233
|
|
|
25162
25234
|
@property
|
|
25163
25235
|
def BillingAmount(self):
|
|
25164
|
-
r"""
|
|
25236
|
+
r"""<p>日志存储量(单位:GB)。</p>
|
|
25165
25237
|
:rtype: float
|
|
25166
25238
|
"""
|
|
25167
25239
|
return self._BillingAmount
|
|
@@ -25172,7 +25244,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25172
25244
|
|
|
25173
25245
|
@property
|
|
25174
25246
|
def HighRealStorage(self):
|
|
25175
|
-
r"""
|
|
25247
|
+
r"""<p>高频存储量(单位:GB)。</p>
|
|
25176
25248
|
:rtype: float
|
|
25177
25249
|
"""
|
|
25178
25250
|
return self._HighRealStorage
|
|
@@ -25183,7 +25255,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25183
25255
|
|
|
25184
25256
|
@property
|
|
25185
25257
|
def LowRealStorage(self):
|
|
25186
|
-
r"""
|
|
25258
|
+
r"""<p>低频存储量(单位:GB)。</p>
|
|
25187
25259
|
:rtype: float
|
|
25188
25260
|
"""
|
|
25189
25261
|
return self._LowRealStorage
|
|
@@ -25194,7 +25266,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25194
25266
|
|
|
25195
25267
|
@property
|
|
25196
25268
|
def AuditAll(self):
|
|
25197
|
-
r"""
|
|
25269
|
+
r"""<p>是否为全审计(true-表示全审计)</p>
|
|
25198
25270
|
:rtype: bool
|
|
25199
25271
|
"""
|
|
25200
25272
|
return self._AuditAll
|
|
@@ -25205,7 +25277,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25205
25277
|
|
|
25206
25278
|
@property
|
|
25207
25279
|
def CreateAt(self):
|
|
25208
|
-
r"""
|
|
25280
|
+
r"""<p>审计开通时间。</p>
|
|
25209
25281
|
:rtype: str
|
|
25210
25282
|
"""
|
|
25211
25283
|
return self._CreateAt
|
|
@@ -25216,7 +25288,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25216
25288
|
|
|
25217
25289
|
@property
|
|
25218
25290
|
def InstanceInfo(self):
|
|
25219
|
-
r"""
|
|
25291
|
+
r"""<p>实例相关信息</p>
|
|
25220
25292
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.AuditInstanceInfo`
|
|
25221
25293
|
"""
|
|
25222
25294
|
return self._InstanceInfo
|
|
@@ -25227,7 +25299,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25227
25299
|
|
|
25228
25300
|
@property
|
|
25229
25301
|
def RealStorage(self):
|
|
25230
|
-
r"""
|
|
25302
|
+
r"""<p>总存储量(单位:GB)。</p>
|
|
25231
25303
|
:rtype: float
|
|
25232
25304
|
"""
|
|
25233
25305
|
return self._RealStorage
|
|
@@ -25238,7 +25310,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25238
25310
|
|
|
25239
25311
|
@property
|
|
25240
25312
|
def OldRule(self):
|
|
25241
|
-
r"""
|
|
25313
|
+
r"""<p>是否包含审计策略</p>
|
|
25242
25314
|
:rtype: bool
|
|
25243
25315
|
"""
|
|
25244
25316
|
return self._OldRule
|
|
@@ -25249,7 +25321,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25249
25321
|
|
|
25250
25322
|
@property
|
|
25251
25323
|
def RuleTemplateIds(self):
|
|
25252
|
-
r"""
|
|
25324
|
+
r"""<p>实例所应用的规则模板。</p>
|
|
25253
25325
|
:rtype: list of str
|
|
25254
25326
|
"""
|
|
25255
25327
|
return self._RuleTemplateIds
|
|
@@ -25260,7 +25332,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25260
25332
|
|
|
25261
25333
|
@property
|
|
25262
25334
|
def TrialStatus(self):
|
|
25263
|
-
r"""
|
|
25335
|
+
r"""<p>限免状态</p>
|
|
25264
25336
|
:rtype: str
|
|
25265
25337
|
"""
|
|
25266
25338
|
return self._TrialStatus
|
|
@@ -25271,7 +25343,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25271
25343
|
|
|
25272
25344
|
@property
|
|
25273
25345
|
def TrialStartTime(self):
|
|
25274
|
-
r"""
|
|
25346
|
+
r"""<p>限免开启时间</p>
|
|
25275
25347
|
:rtype: int
|
|
25276
25348
|
"""
|
|
25277
25349
|
return self._TrialStartTime
|
|
@@ -25282,7 +25354,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25282
25354
|
|
|
25283
25355
|
@property
|
|
25284
25356
|
def TrialDuration(self):
|
|
25285
|
-
r"""
|
|
25357
|
+
r"""<p>限免持续时间</p>
|
|
25286
25358
|
:rtype: int
|
|
25287
25359
|
"""
|
|
25288
25360
|
return self._TrialDuration
|
|
@@ -25293,7 +25365,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25293
25365
|
|
|
25294
25366
|
@property
|
|
25295
25367
|
def TrialCloseTime(self):
|
|
25296
|
-
r"""
|
|
25368
|
+
r"""<p>限免关闭时间</p>
|
|
25297
25369
|
:rtype: int
|
|
25298
25370
|
"""
|
|
25299
25371
|
return self._TrialCloseTime
|
|
@@ -25304,7 +25376,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25304
25376
|
|
|
25305
25377
|
@property
|
|
25306
25378
|
def TrialDescribeLogHours(self):
|
|
25307
|
-
r"""
|
|
25379
|
+
r"""<p>限免期查询日志时长</p>
|
|
25308
25380
|
:rtype: int
|
|
25309
25381
|
"""
|
|
25310
25382
|
return self._TrialDescribeLogHours
|
|
@@ -25313,6 +25385,28 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25313
25385
|
def TrialDescribeLogHours(self, TrialDescribeLogHours):
|
|
25314
25386
|
self._TrialDescribeLogHours = TrialDescribeLogHours
|
|
25315
25387
|
|
|
25388
|
+
@property
|
|
25389
|
+
def DeliverSummary(self):
|
|
25390
|
+
r"""<p>投递信息</p>
|
|
25391
|
+
:rtype: list of DeliverSummary
|
|
25392
|
+
"""
|
|
25393
|
+
return self._DeliverSummary
|
|
25394
|
+
|
|
25395
|
+
@DeliverSummary.setter
|
|
25396
|
+
def DeliverSummary(self, DeliverSummary):
|
|
25397
|
+
self._DeliverSummary = DeliverSummary
|
|
25398
|
+
|
|
25399
|
+
@property
|
|
25400
|
+
def Deliver(self):
|
|
25401
|
+
r"""<p>是否开启了投递,ON:开启,OFF:关闭</p>
|
|
25402
|
+
:rtype: str
|
|
25403
|
+
"""
|
|
25404
|
+
return self._Deliver
|
|
25405
|
+
|
|
25406
|
+
@Deliver.setter
|
|
25407
|
+
def Deliver(self, Deliver):
|
|
25408
|
+
self._Deliver = Deliver
|
|
25409
|
+
|
|
25316
25410
|
|
|
25317
25411
|
def _deserialize(self, params):
|
|
25318
25412
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -25337,6 +25431,13 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
|
25337
25431
|
self._TrialDuration = params.get("TrialDuration")
|
|
25338
25432
|
self._TrialCloseTime = params.get("TrialCloseTime")
|
|
25339
25433
|
self._TrialDescribeLogHours = params.get("TrialDescribeLogHours")
|
|
25434
|
+
if params.get("DeliverSummary") is not None:
|
|
25435
|
+
self._DeliverSummary = []
|
|
25436
|
+
for item in params.get("DeliverSummary"):
|
|
25437
|
+
obj = DeliverSummary()
|
|
25438
|
+
obj._deserialize(item)
|
|
25439
|
+
self._DeliverSummary.append(obj)
|
|
25440
|
+
self._Deliver = params.get("Deliver")
|
|
25340
25441
|
memeber_set = set(params.keys())
|
|
25341
25442
|
for name, value in vars(self).items():
|
|
25342
25443
|
property_name = name[1:]
|
|
@@ -32956,47 +33057,48 @@ class ProxyAddress(AbstractModel):
|
|
|
32956
33057
|
|
|
32957
33058
|
def __init__(self):
|
|
32958
33059
|
r"""
|
|
32959
|
-
:param _ProxyAddressId:
|
|
33060
|
+
:param _ProxyAddressId: <p>代理组地址ID</p>
|
|
32960
33061
|
:type ProxyAddressId: str
|
|
32961
|
-
:param _UniqVpcId:
|
|
33062
|
+
:param _UniqVpcId: <p>私有网络ID</p>
|
|
32962
33063
|
:type UniqVpcId: str
|
|
32963
|
-
:param _UniqSubnetId:
|
|
33064
|
+
:param _UniqSubnetId: <p>私有子网ID</p>
|
|
32964
33065
|
:type UniqSubnetId: str
|
|
32965
|
-
:param _Vip: IP
|
|
33066
|
+
:param _Vip: <p>IP地址</p>
|
|
32966
33067
|
:type Vip: str
|
|
32967
|
-
:param _VPort:
|
|
33068
|
+
:param _VPort: <p>端口</p>
|
|
32968
33069
|
:type VPort: int
|
|
32969
|
-
:param _WeightMode:
|
|
32970
|
-
系统自动分配:"system", 自定义:"custom"
|
|
33070
|
+
:param _WeightMode: <p>权重分配模式;<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
32971
33071
|
:type WeightMode: str
|
|
32972
|
-
:param _IsKickOut:
|
|
33072
|
+
:param _IsKickOut: <p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
32973
33073
|
:type IsKickOut: bool
|
|
32974
|
-
:param _MinCount:
|
|
33074
|
+
:param _MinCount: <p>最小保留数量,最小取值:0</p>
|
|
32975
33075
|
:type MinCount: int
|
|
32976
|
-
:param _MaxDelay:
|
|
33076
|
+
:param _MaxDelay: <p>延迟剔除阈值,最小取值:0</p>
|
|
32977
33077
|
:type MaxDelay: int
|
|
32978
|
-
:param _AutoAddRo:
|
|
33078
|
+
:param _AutoAddRo: <p>是否自动添加RO,取值:"true" | "false"</p>
|
|
32979
33079
|
:type AutoAddRo: bool
|
|
32980
|
-
:param _ReadOnly:
|
|
33080
|
+
:param _ReadOnly: <p>是否是只读,取值:"true" | "false"</p>
|
|
32981
33081
|
:type ReadOnly: bool
|
|
32982
|
-
:param _TransSplit:
|
|
33082
|
+
:param _TransSplit: <p>是否开启事务分离</p>
|
|
32983
33083
|
:type TransSplit: bool
|
|
32984
|
-
:param _FailOver:
|
|
33084
|
+
:param _FailOver: <p>是否开启故障转移</p>
|
|
32985
33085
|
:type FailOver: bool
|
|
32986
|
-
:param _ConnectionPool:
|
|
33086
|
+
:param _ConnectionPool: <p>是否开启连接池</p>
|
|
32987
33087
|
:type ConnectionPool: bool
|
|
32988
|
-
:param _Desc:
|
|
33088
|
+
:param _Desc: <p>描述</p>
|
|
32989
33089
|
:type Desc: str
|
|
32990
|
-
:param _ProxyAllocation:
|
|
33090
|
+
:param _ProxyAllocation: <p>实例读权重分配</p>
|
|
32991
33091
|
:type ProxyAllocation: list of ProxyAllocation
|
|
32992
|
-
:param _AccessMode:
|
|
33092
|
+
:param _AccessMode: <p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
32993
33093
|
:type AccessMode: str
|
|
32994
|
-
:param _AutoLoadBalance:
|
|
33094
|
+
:param _AutoLoadBalance: <p>是否开启自动负载均衡</p>
|
|
32995
33095
|
:type AutoLoadBalance: bool
|
|
32996
|
-
:param _ApNodeAsRoNode:
|
|
33096
|
+
:param _ApNodeAsRoNode: <p>是否把libra当作ro节点</p>
|
|
32997
33097
|
:type ApNodeAsRoNode: bool
|
|
32998
|
-
:param _ApQueryToOtherNode: libra
|
|
33098
|
+
:param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
|
|
32999
33099
|
:type ApQueryToOtherNode: bool
|
|
33100
|
+
:param _Region: <p>地址所在地域名</p>
|
|
33101
|
+
:type Region: str
|
|
33000
33102
|
"""
|
|
33001
33103
|
self._ProxyAddressId = None
|
|
33002
33104
|
self._UniqVpcId = None
|
|
@@ -33018,10 +33120,11 @@ class ProxyAddress(AbstractModel):
|
|
|
33018
33120
|
self._AutoLoadBalance = None
|
|
33019
33121
|
self._ApNodeAsRoNode = None
|
|
33020
33122
|
self._ApQueryToOtherNode = None
|
|
33123
|
+
self._Region = None
|
|
33021
33124
|
|
|
33022
33125
|
@property
|
|
33023
33126
|
def ProxyAddressId(self):
|
|
33024
|
-
r"""
|
|
33127
|
+
r"""<p>代理组地址ID</p>
|
|
33025
33128
|
:rtype: str
|
|
33026
33129
|
"""
|
|
33027
33130
|
return self._ProxyAddressId
|
|
@@ -33032,7 +33135,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33032
33135
|
|
|
33033
33136
|
@property
|
|
33034
33137
|
def UniqVpcId(self):
|
|
33035
|
-
r"""
|
|
33138
|
+
r"""<p>私有网络ID</p>
|
|
33036
33139
|
:rtype: str
|
|
33037
33140
|
"""
|
|
33038
33141
|
return self._UniqVpcId
|
|
@@ -33043,7 +33146,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33043
33146
|
|
|
33044
33147
|
@property
|
|
33045
33148
|
def UniqSubnetId(self):
|
|
33046
|
-
r"""
|
|
33149
|
+
r"""<p>私有子网ID</p>
|
|
33047
33150
|
:rtype: str
|
|
33048
33151
|
"""
|
|
33049
33152
|
return self._UniqSubnetId
|
|
@@ -33054,7 +33157,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33054
33157
|
|
|
33055
33158
|
@property
|
|
33056
33159
|
def Vip(self):
|
|
33057
|
-
r"""IP
|
|
33160
|
+
r"""<p>IP地址</p>
|
|
33058
33161
|
:rtype: str
|
|
33059
33162
|
"""
|
|
33060
33163
|
return self._Vip
|
|
@@ -33065,7 +33168,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33065
33168
|
|
|
33066
33169
|
@property
|
|
33067
33170
|
def VPort(self):
|
|
33068
|
-
r"""
|
|
33171
|
+
r"""<p>端口</p>
|
|
33069
33172
|
:rtype: int
|
|
33070
33173
|
"""
|
|
33071
33174
|
return self._VPort
|
|
@@ -33076,8 +33179,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33076
33179
|
|
|
33077
33180
|
@property
|
|
33078
33181
|
def WeightMode(self):
|
|
33079
|
-
r"""
|
|
33080
|
-
系统自动分配:"system", 自定义:"custom"
|
|
33182
|
+
r"""<p>权重分配模式;<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
33081
33183
|
:rtype: str
|
|
33082
33184
|
"""
|
|
33083
33185
|
return self._WeightMode
|
|
@@ -33088,7 +33190,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33088
33190
|
|
|
33089
33191
|
@property
|
|
33090
33192
|
def IsKickOut(self):
|
|
33091
|
-
r"""
|
|
33193
|
+
r"""<p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
33092
33194
|
:rtype: bool
|
|
33093
33195
|
"""
|
|
33094
33196
|
return self._IsKickOut
|
|
@@ -33099,7 +33201,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33099
33201
|
|
|
33100
33202
|
@property
|
|
33101
33203
|
def MinCount(self):
|
|
33102
|
-
r"""
|
|
33204
|
+
r"""<p>最小保留数量,最小取值:0</p>
|
|
33103
33205
|
:rtype: int
|
|
33104
33206
|
"""
|
|
33105
33207
|
return self._MinCount
|
|
@@ -33110,7 +33212,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33110
33212
|
|
|
33111
33213
|
@property
|
|
33112
33214
|
def MaxDelay(self):
|
|
33113
|
-
r"""
|
|
33215
|
+
r"""<p>延迟剔除阈值,最小取值:0</p>
|
|
33114
33216
|
:rtype: int
|
|
33115
33217
|
"""
|
|
33116
33218
|
return self._MaxDelay
|
|
@@ -33121,7 +33223,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33121
33223
|
|
|
33122
33224
|
@property
|
|
33123
33225
|
def AutoAddRo(self):
|
|
33124
|
-
r"""
|
|
33226
|
+
r"""<p>是否自动添加RO,取值:"true" | "false"</p>
|
|
33125
33227
|
:rtype: bool
|
|
33126
33228
|
"""
|
|
33127
33229
|
return self._AutoAddRo
|
|
@@ -33132,7 +33234,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33132
33234
|
|
|
33133
33235
|
@property
|
|
33134
33236
|
def ReadOnly(self):
|
|
33135
|
-
r"""
|
|
33237
|
+
r"""<p>是否是只读,取值:"true" | "false"</p>
|
|
33136
33238
|
:rtype: bool
|
|
33137
33239
|
"""
|
|
33138
33240
|
return self._ReadOnly
|
|
@@ -33143,7 +33245,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33143
33245
|
|
|
33144
33246
|
@property
|
|
33145
33247
|
def TransSplit(self):
|
|
33146
|
-
r"""
|
|
33248
|
+
r"""<p>是否开启事务分离</p>
|
|
33147
33249
|
:rtype: bool
|
|
33148
33250
|
"""
|
|
33149
33251
|
return self._TransSplit
|
|
@@ -33154,7 +33256,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33154
33256
|
|
|
33155
33257
|
@property
|
|
33156
33258
|
def FailOver(self):
|
|
33157
|
-
r"""
|
|
33259
|
+
r"""<p>是否开启故障转移</p>
|
|
33158
33260
|
:rtype: bool
|
|
33159
33261
|
"""
|
|
33160
33262
|
return self._FailOver
|
|
@@ -33165,7 +33267,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33165
33267
|
|
|
33166
33268
|
@property
|
|
33167
33269
|
def ConnectionPool(self):
|
|
33168
|
-
r"""
|
|
33270
|
+
r"""<p>是否开启连接池</p>
|
|
33169
33271
|
:rtype: bool
|
|
33170
33272
|
"""
|
|
33171
33273
|
return self._ConnectionPool
|
|
@@ -33176,7 +33278,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33176
33278
|
|
|
33177
33279
|
@property
|
|
33178
33280
|
def Desc(self):
|
|
33179
|
-
r"""
|
|
33281
|
+
r"""<p>描述</p>
|
|
33180
33282
|
:rtype: str
|
|
33181
33283
|
"""
|
|
33182
33284
|
return self._Desc
|
|
@@ -33187,7 +33289,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33187
33289
|
|
|
33188
33290
|
@property
|
|
33189
33291
|
def ProxyAllocation(self):
|
|
33190
|
-
r"""
|
|
33292
|
+
r"""<p>实例读权重分配</p>
|
|
33191
33293
|
:rtype: list of ProxyAllocation
|
|
33192
33294
|
"""
|
|
33193
33295
|
return self._ProxyAllocation
|
|
@@ -33198,7 +33300,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33198
33300
|
|
|
33199
33301
|
@property
|
|
33200
33302
|
def AccessMode(self):
|
|
33201
|
-
r"""
|
|
33303
|
+
r"""<p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
33202
33304
|
:rtype: str
|
|
33203
33305
|
"""
|
|
33204
33306
|
return self._AccessMode
|
|
@@ -33209,7 +33311,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33209
33311
|
|
|
33210
33312
|
@property
|
|
33211
33313
|
def AutoLoadBalance(self):
|
|
33212
|
-
r"""
|
|
33314
|
+
r"""<p>是否开启自动负载均衡</p>
|
|
33213
33315
|
:rtype: bool
|
|
33214
33316
|
"""
|
|
33215
33317
|
return self._AutoLoadBalance
|
|
@@ -33220,7 +33322,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33220
33322
|
|
|
33221
33323
|
@property
|
|
33222
33324
|
def ApNodeAsRoNode(self):
|
|
33223
|
-
r"""
|
|
33325
|
+
r"""<p>是否把libra当作ro节点</p>
|
|
33224
33326
|
:rtype: bool
|
|
33225
33327
|
"""
|
|
33226
33328
|
return self._ApNodeAsRoNode
|
|
@@ -33231,7 +33333,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33231
33333
|
|
|
33232
33334
|
@property
|
|
33233
33335
|
def ApQueryToOtherNode(self):
|
|
33234
|
-
r"""libra
|
|
33336
|
+
r"""<p>libra节点故障,是否转发给其他节点</p>
|
|
33235
33337
|
:rtype: bool
|
|
33236
33338
|
"""
|
|
33237
33339
|
return self._ApQueryToOtherNode
|
|
@@ -33240,6 +33342,17 @@ class ProxyAddress(AbstractModel):
|
|
|
33240
33342
|
def ApQueryToOtherNode(self, ApQueryToOtherNode):
|
|
33241
33343
|
self._ApQueryToOtherNode = ApQueryToOtherNode
|
|
33242
33344
|
|
|
33345
|
+
@property
|
|
33346
|
+
def Region(self):
|
|
33347
|
+
r"""<p>地址所在地域名</p>
|
|
33348
|
+
:rtype: str
|
|
33349
|
+
"""
|
|
33350
|
+
return self._Region
|
|
33351
|
+
|
|
33352
|
+
@Region.setter
|
|
33353
|
+
def Region(self, Region):
|
|
33354
|
+
self._Region = Region
|
|
33355
|
+
|
|
33243
33356
|
|
|
33244
33357
|
def _deserialize(self, params):
|
|
33245
33358
|
self._ProxyAddressId = params.get("ProxyAddressId")
|
|
@@ -33267,6 +33380,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33267
33380
|
self._AutoLoadBalance = params.get("AutoLoadBalance")
|
|
33268
33381
|
self._ApNodeAsRoNode = params.get("ApNodeAsRoNode")
|
|
33269
33382
|
self._ApQueryToOtherNode = params.get("ApQueryToOtherNode")
|
|
33383
|
+
self._Region = params.get("Region")
|
|
33270
33384
|
memeber_set = set(params.keys())
|
|
33271
33385
|
for name, value in vars(self).items():
|
|
33272
33386
|
property_name = name[1:]
|
|
@@ -38017,6 +38131,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38017
38131
|
|
|
38018
38132
|
@property
|
|
38019
38133
|
def ForceSwitch(self):
|
|
38134
|
+
warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
|
|
38135
|
+
|
|
38020
38136
|
r"""是否强制切换。默认为 False。注意,若设置强制切换为 True,实例存在丢失数据的风险,请谨慎使用。
|
|
38021
38137
|
:rtype: bool
|
|
38022
38138
|
"""
|
|
@@ -38024,6 +38140,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38024
38140
|
|
|
38025
38141
|
@ForceSwitch.setter
|
|
38026
38142
|
def ForceSwitch(self, ForceSwitch):
|
|
38143
|
+
warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
|
|
38144
|
+
|
|
38027
38145
|
self._ForceSwitch = ForceSwitch
|
|
38028
38146
|
|
|
38029
38147
|
@property
|
|
@@ -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.133
|
|
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.133
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.133
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
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
|