tencentcloud-sdk-python-dcdb 3.1.125__tar.gz → 3.1.165__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_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/setup.py +1 -1
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/models.py +105 -74
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dcdb-3.1.165/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dcdb-3.1.125/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/README.rst +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/__init__.py +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/__init__.py +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/dcdb_client.py +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/dcdb_client_async.py +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dcdb-3.1.125 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dcdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.165
|
|
4
4
|
Summary: Tencent Cloud Dcdb 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.165
|
|
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-dcdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.165,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dcdb SDK for Python',
|
|
@@ -18355,31 +18355,30 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18355
18355
|
|
|
18356
18356
|
def __init__(self):
|
|
18357
18357
|
r"""
|
|
18358
|
-
:param _InstanceId:
|
|
18358
|
+
:param _InstanceId: <p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
|
|
18359
18359
|
:type InstanceId: str
|
|
18360
|
-
:param _UpgradeType:
|
|
18361
|
-
<li> ADD: 新增分片 </li>
|
|
18362
|
-
<li> EXPAND: 升级实例中的已有分片 </li>
|
|
18363
|
-
<li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18360
|
+
:param _UpgradeType: <p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18364
18361
|
:type UpgradeType: str
|
|
18365
|
-
:param _AddShardConfig:
|
|
18362
|
+
:param _AddShardConfig: <p>新增分片配置,当UpgradeType为ADD时生效。</p>
|
|
18366
18363
|
:type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18367
|
-
:param _ExpandShardConfig:
|
|
18364
|
+
:param _ExpandShardConfig: <p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
|
|
18368
18365
|
:type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18369
|
-
:param _SplitShardConfig:
|
|
18366
|
+
:param _SplitShardConfig: <p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
|
|
18370
18367
|
:type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18371
|
-
:param _AutoVoucher:
|
|
18368
|
+
:param _AutoVoucher: <p>是否自动使用代金券进行支付,默认不使用。</p>
|
|
18372
18369
|
:type AutoVoucher: bool
|
|
18373
|
-
:param _VoucherIds:
|
|
18370
|
+
:param _VoucherIds: <p>代金券ID列表,目前仅支持指定一张代金券。</p>
|
|
18374
18371
|
:type VoucherIds: list of str
|
|
18375
|
-
:param _Zones:
|
|
18372
|
+
:param _Zones: <p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
|
|
18376
18373
|
:type Zones: list of str
|
|
18377
|
-
:param _SwitchStartTime:
|
|
18374
|
+
:param _SwitchStartTime: <p>切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。</p>
|
|
18378
18375
|
:type SwitchStartTime: str
|
|
18379
|
-
:param _SwitchEndTime:
|
|
18376
|
+
:param _SwitchEndTime: <p>切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。</p>
|
|
18380
18377
|
:type SwitchEndTime: str
|
|
18381
|
-
:param _SwitchAutoRetry:
|
|
18378
|
+
:param _SwitchAutoRetry: <p>是否自动重试。 0:不自动重试 1:自动重试</p>
|
|
18382
18379
|
:type SwitchAutoRetry: int
|
|
18380
|
+
:param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18381
|
+
:type SwitchInterval: int
|
|
18383
18382
|
"""
|
|
18384
18383
|
self._InstanceId = None
|
|
18385
18384
|
self._UpgradeType = None
|
|
@@ -18392,10 +18391,11 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18392
18391
|
self._SwitchStartTime = None
|
|
18393
18392
|
self._SwitchEndTime = None
|
|
18394
18393
|
self._SwitchAutoRetry = None
|
|
18394
|
+
self._SwitchInterval = None
|
|
18395
18395
|
|
|
18396
18396
|
@property
|
|
18397
18397
|
def InstanceId(self):
|
|
18398
|
-
r"""
|
|
18398
|
+
r"""<p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
|
|
18399
18399
|
:rtype: str
|
|
18400
18400
|
"""
|
|
18401
18401
|
return self._InstanceId
|
|
@@ -18406,10 +18406,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18406
18406
|
|
|
18407
18407
|
@property
|
|
18408
18408
|
def UpgradeType(self):
|
|
18409
|
-
r"""
|
|
18410
|
-
<li> ADD: 新增分片 </li>
|
|
18411
|
-
<li> EXPAND: 升级实例中的已有分片 </li>
|
|
18412
|
-
<li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18409
|
+
r"""<p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18413
18410
|
:rtype: str
|
|
18414
18411
|
"""
|
|
18415
18412
|
return self._UpgradeType
|
|
@@ -18420,7 +18417,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18420
18417
|
|
|
18421
18418
|
@property
|
|
18422
18419
|
def AddShardConfig(self):
|
|
18423
|
-
r"""
|
|
18420
|
+
r"""<p>新增分片配置,当UpgradeType为ADD时生效。</p>
|
|
18424
18421
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18425
18422
|
"""
|
|
18426
18423
|
return self._AddShardConfig
|
|
@@ -18431,7 +18428,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18431
18428
|
|
|
18432
18429
|
@property
|
|
18433
18430
|
def ExpandShardConfig(self):
|
|
18434
|
-
r"""
|
|
18431
|
+
r"""<p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
|
|
18435
18432
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18436
18433
|
"""
|
|
18437
18434
|
return self._ExpandShardConfig
|
|
@@ -18442,7 +18439,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18442
18439
|
|
|
18443
18440
|
@property
|
|
18444
18441
|
def SplitShardConfig(self):
|
|
18445
|
-
r"""
|
|
18442
|
+
r"""<p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
|
|
18446
18443
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18447
18444
|
"""
|
|
18448
18445
|
return self._SplitShardConfig
|
|
@@ -18453,7 +18450,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18453
18450
|
|
|
18454
18451
|
@property
|
|
18455
18452
|
def AutoVoucher(self):
|
|
18456
|
-
r"""
|
|
18453
|
+
r"""<p>是否自动使用代金券进行支付,默认不使用。</p>
|
|
18457
18454
|
:rtype: bool
|
|
18458
18455
|
"""
|
|
18459
18456
|
return self._AutoVoucher
|
|
@@ -18464,7 +18461,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18464
18461
|
|
|
18465
18462
|
@property
|
|
18466
18463
|
def VoucherIds(self):
|
|
18467
|
-
r"""
|
|
18464
|
+
r"""<p>代金券ID列表,目前仅支持指定一张代金券。</p>
|
|
18468
18465
|
:rtype: list of str
|
|
18469
18466
|
"""
|
|
18470
18467
|
return self._VoucherIds
|
|
@@ -18475,7 +18472,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18475
18472
|
|
|
18476
18473
|
@property
|
|
18477
18474
|
def Zones(self):
|
|
18478
|
-
r"""
|
|
18475
|
+
r"""<p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
|
|
18479
18476
|
:rtype: list of str
|
|
18480
18477
|
"""
|
|
18481
18478
|
return self._Zones
|
|
@@ -18486,7 +18483,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18486
18483
|
|
|
18487
18484
|
@property
|
|
18488
18485
|
def SwitchStartTime(self):
|
|
18489
|
-
r"""
|
|
18486
|
+
r"""<p>切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。</p>
|
|
18490
18487
|
:rtype: str
|
|
18491
18488
|
"""
|
|
18492
18489
|
return self._SwitchStartTime
|
|
@@ -18497,7 +18494,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18497
18494
|
|
|
18498
18495
|
@property
|
|
18499
18496
|
def SwitchEndTime(self):
|
|
18500
|
-
r"""
|
|
18497
|
+
r"""<p>切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。</p>
|
|
18501
18498
|
:rtype: str
|
|
18502
18499
|
"""
|
|
18503
18500
|
return self._SwitchEndTime
|
|
@@ -18508,7 +18505,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18508
18505
|
|
|
18509
18506
|
@property
|
|
18510
18507
|
def SwitchAutoRetry(self):
|
|
18511
|
-
r"""
|
|
18508
|
+
r"""<p>是否自动重试。 0:不自动重试 1:自动重试</p>
|
|
18512
18509
|
:rtype: int
|
|
18513
18510
|
"""
|
|
18514
18511
|
return self._SwitchAutoRetry
|
|
@@ -18517,6 +18514,17 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18517
18514
|
def SwitchAutoRetry(self, SwitchAutoRetry):
|
|
18518
18515
|
self._SwitchAutoRetry = SwitchAutoRetry
|
|
18519
18516
|
|
|
18517
|
+
@property
|
|
18518
|
+
def SwitchInterval(self):
|
|
18519
|
+
r"""<p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18520
|
+
:rtype: int
|
|
18521
|
+
"""
|
|
18522
|
+
return self._SwitchInterval
|
|
18523
|
+
|
|
18524
|
+
@SwitchInterval.setter
|
|
18525
|
+
def SwitchInterval(self, SwitchInterval):
|
|
18526
|
+
self._SwitchInterval = SwitchInterval
|
|
18527
|
+
|
|
18520
18528
|
|
|
18521
18529
|
def _deserialize(self, params):
|
|
18522
18530
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -18536,6 +18544,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
|
|
|
18536
18544
|
self._SwitchStartTime = params.get("SwitchStartTime")
|
|
18537
18545
|
self._SwitchEndTime = params.get("SwitchEndTime")
|
|
18538
18546
|
self._SwitchAutoRetry = params.get("SwitchAutoRetry")
|
|
18547
|
+
self._SwitchInterval = params.get("SwitchInterval")
|
|
18539
18548
|
memeber_set = set(params.keys())
|
|
18540
18549
|
for name, value in vars(self).items():
|
|
18541
18550
|
property_name = name[1:]
|
|
@@ -18553,8 +18562,7 @@ class UpgradeDCDBInstanceResponse(AbstractModel):
|
|
|
18553
18562
|
|
|
18554
18563
|
def __init__(self):
|
|
18555
18564
|
r"""
|
|
18556
|
-
:param _DealName:
|
|
18557
|
-
查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
|
|
18565
|
+
:param _DealName: <p>长订单号。可以据此调用 DescribeOrders<br> 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。</p>
|
|
18558
18566
|
:type DealName: str
|
|
18559
18567
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18560
18568
|
:type RequestId: str
|
|
@@ -18564,8 +18572,7 @@ class UpgradeDCDBInstanceResponse(AbstractModel):
|
|
|
18564
18572
|
|
|
18565
18573
|
@property
|
|
18566
18574
|
def DealName(self):
|
|
18567
|
-
r"""
|
|
18568
|
-
查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
|
|
18575
|
+
r"""<p>长订单号。可以据此调用 DescribeOrders<br> 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。</p>
|
|
18569
18576
|
:rtype: str
|
|
18570
18577
|
"""
|
|
18571
18578
|
return self._DealName
|
|
@@ -18598,22 +18605,24 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18598
18605
|
|
|
18599
18606
|
def __init__(self):
|
|
18600
18607
|
r"""
|
|
18601
|
-
:param _UpgradeType:
|
|
18608
|
+
:param _UpgradeType: <p>升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片</p>
|
|
18602
18609
|
:type UpgradeType: str
|
|
18603
|
-
:param _InstanceId:
|
|
18610
|
+
:param _InstanceId: <p>实例ID,形如 dcdbt-mlfjm74h</p>
|
|
18604
18611
|
:type InstanceId: str
|
|
18605
|
-
:param _AddShardConfig:
|
|
18612
|
+
:param _AddShardConfig: <p>当UpgradeType取值为ADD时,添加分片的配置参数</p>
|
|
18606
18613
|
:type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18607
|
-
:param _ExpandShardConfig:
|
|
18614
|
+
:param _ExpandShardConfig: <p>当UpgradeType取值为EXPAND时,垂直扩容分片的配置参数</p>
|
|
18608
18615
|
:type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18609
|
-
:param _SplitShardConfig:
|
|
18616
|
+
:param _SplitShardConfig: <p>当UpgradeType取值为SPLIT时,切分分片的配置参数</p>
|
|
18610
18617
|
:type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18611
|
-
:param _SwitchAutoRetry:
|
|
18618
|
+
:param _SwitchAutoRetry: <p>错过切换时间窗口时,是否自动重试一次,0-否,1-是</p>
|
|
18612
18619
|
:type SwitchAutoRetry: int
|
|
18613
|
-
:param _SwitchStartTime:
|
|
18620
|
+
:param _SwitchStartTime: <p>切换时间窗口开始时间</p>
|
|
18614
18621
|
:type SwitchStartTime: str
|
|
18615
|
-
:param _SwitchEndTime:
|
|
18622
|
+
:param _SwitchEndTime: <p>切换时间窗口结束时间</p>
|
|
18616
18623
|
:type SwitchEndTime: str
|
|
18624
|
+
:param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18625
|
+
:type SwitchInterval: int
|
|
18617
18626
|
"""
|
|
18618
18627
|
self._UpgradeType = None
|
|
18619
18628
|
self._InstanceId = None
|
|
@@ -18623,10 +18632,11 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18623
18632
|
self._SwitchAutoRetry = None
|
|
18624
18633
|
self._SwitchStartTime = None
|
|
18625
18634
|
self._SwitchEndTime = None
|
|
18635
|
+
self._SwitchInterval = None
|
|
18626
18636
|
|
|
18627
18637
|
@property
|
|
18628
18638
|
def UpgradeType(self):
|
|
18629
|
-
r"""
|
|
18639
|
+
r"""<p>升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片</p>
|
|
18630
18640
|
:rtype: str
|
|
18631
18641
|
"""
|
|
18632
18642
|
return self._UpgradeType
|
|
@@ -18637,7 +18647,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18637
18647
|
|
|
18638
18648
|
@property
|
|
18639
18649
|
def InstanceId(self):
|
|
18640
|
-
r"""
|
|
18650
|
+
r"""<p>实例ID,形如 dcdbt-mlfjm74h</p>
|
|
18641
18651
|
:rtype: str
|
|
18642
18652
|
"""
|
|
18643
18653
|
return self._InstanceId
|
|
@@ -18648,7 +18658,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18648
18658
|
|
|
18649
18659
|
@property
|
|
18650
18660
|
def AddShardConfig(self):
|
|
18651
|
-
r"""
|
|
18661
|
+
r"""<p>当UpgradeType取值为ADD时,添加分片的配置参数</p>
|
|
18652
18662
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18653
18663
|
"""
|
|
18654
18664
|
return self._AddShardConfig
|
|
@@ -18659,7 +18669,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18659
18669
|
|
|
18660
18670
|
@property
|
|
18661
18671
|
def ExpandShardConfig(self):
|
|
18662
|
-
r"""
|
|
18672
|
+
r"""<p>当UpgradeType取值为EXPAND时,垂直扩容分片的配置参数</p>
|
|
18663
18673
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18664
18674
|
"""
|
|
18665
18675
|
return self._ExpandShardConfig
|
|
@@ -18670,7 +18680,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18670
18680
|
|
|
18671
18681
|
@property
|
|
18672
18682
|
def SplitShardConfig(self):
|
|
18673
|
-
r"""
|
|
18683
|
+
r"""<p>当UpgradeType取值为SPLIT时,切分分片的配置参数</p>
|
|
18674
18684
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18675
18685
|
"""
|
|
18676
18686
|
return self._SplitShardConfig
|
|
@@ -18681,7 +18691,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18681
18691
|
|
|
18682
18692
|
@property
|
|
18683
18693
|
def SwitchAutoRetry(self):
|
|
18684
|
-
r"""
|
|
18694
|
+
r"""<p>错过切换时间窗口时,是否自动重试一次,0-否,1-是</p>
|
|
18685
18695
|
:rtype: int
|
|
18686
18696
|
"""
|
|
18687
18697
|
return self._SwitchAutoRetry
|
|
@@ -18692,7 +18702,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18692
18702
|
|
|
18693
18703
|
@property
|
|
18694
18704
|
def SwitchStartTime(self):
|
|
18695
|
-
r"""
|
|
18705
|
+
r"""<p>切换时间窗口开始时间</p>
|
|
18696
18706
|
:rtype: str
|
|
18697
18707
|
"""
|
|
18698
18708
|
return self._SwitchStartTime
|
|
@@ -18703,7 +18713,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18703
18713
|
|
|
18704
18714
|
@property
|
|
18705
18715
|
def SwitchEndTime(self):
|
|
18706
|
-
r"""
|
|
18716
|
+
r"""<p>切换时间窗口结束时间</p>
|
|
18707
18717
|
:rtype: str
|
|
18708
18718
|
"""
|
|
18709
18719
|
return self._SwitchEndTime
|
|
@@ -18712,6 +18722,17 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18712
18722
|
def SwitchEndTime(self, SwitchEndTime):
|
|
18713
18723
|
self._SwitchEndTime = SwitchEndTime
|
|
18714
18724
|
|
|
18725
|
+
@property
|
|
18726
|
+
def SwitchInterval(self):
|
|
18727
|
+
r"""<p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18728
|
+
:rtype: int
|
|
18729
|
+
"""
|
|
18730
|
+
return self._SwitchInterval
|
|
18731
|
+
|
|
18732
|
+
@SwitchInterval.setter
|
|
18733
|
+
def SwitchInterval(self, SwitchInterval):
|
|
18734
|
+
self._SwitchInterval = SwitchInterval
|
|
18735
|
+
|
|
18715
18736
|
|
|
18716
18737
|
def _deserialize(self, params):
|
|
18717
18738
|
self._UpgradeType = params.get("UpgradeType")
|
|
@@ -18728,6 +18749,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
|
|
|
18728
18749
|
self._SwitchAutoRetry = params.get("SwitchAutoRetry")
|
|
18729
18750
|
self._SwitchStartTime = params.get("SwitchStartTime")
|
|
18730
18751
|
self._SwitchEndTime = params.get("SwitchEndTime")
|
|
18752
|
+
self._SwitchInterval = params.get("SwitchInterval")
|
|
18731
18753
|
memeber_set = set(params.keys())
|
|
18732
18754
|
for name, value in vars(self).items():
|
|
18733
18755
|
property_name = name[1:]
|
|
@@ -18745,7 +18767,7 @@ class UpgradeDedicatedDCDBInstanceResponse(AbstractModel):
|
|
|
18745
18767
|
|
|
18746
18768
|
def __init__(self):
|
|
18747
18769
|
r"""
|
|
18748
|
-
:param _FlowId:
|
|
18770
|
+
:param _FlowId: <p>异步任务流程ID</p>
|
|
18749
18771
|
:type FlowId: int
|
|
18750
18772
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18751
18773
|
:type RequestId: str
|
|
@@ -18755,7 +18777,7 @@ class UpgradeDedicatedDCDBInstanceResponse(AbstractModel):
|
|
|
18755
18777
|
|
|
18756
18778
|
@property
|
|
18757
18779
|
def FlowId(self):
|
|
18758
|
-
r"""
|
|
18780
|
+
r"""<p>异步任务流程ID</p>
|
|
18759
18781
|
:rtype: int
|
|
18760
18782
|
"""
|
|
18761
18783
|
return self._FlowId
|
|
@@ -18788,27 +18810,26 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18788
18810
|
|
|
18789
18811
|
def __init__(self):
|
|
18790
18812
|
r"""
|
|
18791
|
-
:param _InstanceId:
|
|
18813
|
+
:param _InstanceId: <p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
|
|
18792
18814
|
:type InstanceId: str
|
|
18793
|
-
:param _UpgradeType:
|
|
18794
|
-
<li> ADD: 新增分片 </li>
|
|
18795
|
-
<li> EXPAND: 升级实例中的已有分片 </li>
|
|
18796
|
-
<li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18815
|
+
:param _UpgradeType: <p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18797
18816
|
:type UpgradeType: str
|
|
18798
|
-
:param _AddShardConfig:
|
|
18817
|
+
:param _AddShardConfig: <p>新增分片配置,当UpgradeType为ADD时生效。</p>
|
|
18799
18818
|
:type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18800
|
-
:param _ExpandShardConfig:
|
|
18819
|
+
:param _ExpandShardConfig: <p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
|
|
18801
18820
|
:type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18802
|
-
:param _SplitShardConfig:
|
|
18821
|
+
:param _SplitShardConfig: <p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
|
|
18803
18822
|
:type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18804
|
-
:param _SwitchStartTime:
|
|
18823
|
+
:param _SwitchStartTime: <p>切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。</p>
|
|
18805
18824
|
:type SwitchStartTime: str
|
|
18806
|
-
:param _SwitchEndTime:
|
|
18825
|
+
:param _SwitchEndTime: <p>切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。</p>
|
|
18807
18826
|
:type SwitchEndTime: str
|
|
18808
|
-
:param _SwitchAutoRetry:
|
|
18827
|
+
:param _SwitchAutoRetry: <p>是否自动重试。 0:不自动重试 1:自动重试</p>
|
|
18809
18828
|
:type SwitchAutoRetry: int
|
|
18810
|
-
:param _Zones:
|
|
18829
|
+
:param _Zones: <p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
|
|
18811
18830
|
:type Zones: list of str
|
|
18831
|
+
:param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18832
|
+
:type SwitchInterval: int
|
|
18812
18833
|
"""
|
|
18813
18834
|
self._InstanceId = None
|
|
18814
18835
|
self._UpgradeType = None
|
|
@@ -18819,10 +18840,11 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18819
18840
|
self._SwitchEndTime = None
|
|
18820
18841
|
self._SwitchAutoRetry = None
|
|
18821
18842
|
self._Zones = None
|
|
18843
|
+
self._SwitchInterval = None
|
|
18822
18844
|
|
|
18823
18845
|
@property
|
|
18824
18846
|
def InstanceId(self):
|
|
18825
|
-
r"""
|
|
18847
|
+
r"""<p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
|
|
18826
18848
|
:rtype: str
|
|
18827
18849
|
"""
|
|
18828
18850
|
return self._InstanceId
|
|
@@ -18833,10 +18855,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18833
18855
|
|
|
18834
18856
|
@property
|
|
18835
18857
|
def UpgradeType(self):
|
|
18836
|
-
r"""
|
|
18837
|
-
<li> ADD: 新增分片 </li>
|
|
18838
|
-
<li> EXPAND: 升级实例中的已有分片 </li>
|
|
18839
|
-
<li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18858
|
+
r"""<p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
|
|
18840
18859
|
:rtype: str
|
|
18841
18860
|
"""
|
|
18842
18861
|
return self._UpgradeType
|
|
@@ -18847,7 +18866,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18847
18866
|
|
|
18848
18867
|
@property
|
|
18849
18868
|
def AddShardConfig(self):
|
|
18850
|
-
r"""
|
|
18869
|
+
r"""<p>新增分片配置,当UpgradeType为ADD时生效。</p>
|
|
18851
18870
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
|
|
18852
18871
|
"""
|
|
18853
18872
|
return self._AddShardConfig
|
|
@@ -18858,7 +18877,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18858
18877
|
|
|
18859
18878
|
@property
|
|
18860
18879
|
def ExpandShardConfig(self):
|
|
18861
|
-
r"""
|
|
18880
|
+
r"""<p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
|
|
18862
18881
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
|
|
18863
18882
|
"""
|
|
18864
18883
|
return self._ExpandShardConfig
|
|
@@ -18869,7 +18888,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18869
18888
|
|
|
18870
18889
|
@property
|
|
18871
18890
|
def SplitShardConfig(self):
|
|
18872
|
-
r"""
|
|
18891
|
+
r"""<p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
|
|
18873
18892
|
:rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
|
|
18874
18893
|
"""
|
|
18875
18894
|
return self._SplitShardConfig
|
|
@@ -18880,7 +18899,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18880
18899
|
|
|
18881
18900
|
@property
|
|
18882
18901
|
def SwitchStartTime(self):
|
|
18883
|
-
r"""
|
|
18902
|
+
r"""<p>切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。</p>
|
|
18884
18903
|
:rtype: str
|
|
18885
18904
|
"""
|
|
18886
18905
|
return self._SwitchStartTime
|
|
@@ -18891,7 +18910,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18891
18910
|
|
|
18892
18911
|
@property
|
|
18893
18912
|
def SwitchEndTime(self):
|
|
18894
|
-
r"""
|
|
18913
|
+
r"""<p>切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。</p>
|
|
18895
18914
|
:rtype: str
|
|
18896
18915
|
"""
|
|
18897
18916
|
return self._SwitchEndTime
|
|
@@ -18902,7 +18921,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18902
18921
|
|
|
18903
18922
|
@property
|
|
18904
18923
|
def SwitchAutoRetry(self):
|
|
18905
|
-
r"""
|
|
18924
|
+
r"""<p>是否自动重试。 0:不自动重试 1:自动重试</p>
|
|
18906
18925
|
:rtype: int
|
|
18907
18926
|
"""
|
|
18908
18927
|
return self._SwitchAutoRetry
|
|
@@ -18913,7 +18932,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18913
18932
|
|
|
18914
18933
|
@property
|
|
18915
18934
|
def Zones(self):
|
|
18916
|
-
r"""
|
|
18935
|
+
r"""<p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
|
|
18917
18936
|
:rtype: list of str
|
|
18918
18937
|
"""
|
|
18919
18938
|
return self._Zones
|
|
@@ -18922,6 +18941,17 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18922
18941
|
def Zones(self, Zones):
|
|
18923
18942
|
self._Zones = Zones
|
|
18924
18943
|
|
|
18944
|
+
@property
|
|
18945
|
+
def SwitchInterval(self):
|
|
18946
|
+
r"""<p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
|
|
18947
|
+
:rtype: int
|
|
18948
|
+
"""
|
|
18949
|
+
return self._SwitchInterval
|
|
18950
|
+
|
|
18951
|
+
@SwitchInterval.setter
|
|
18952
|
+
def SwitchInterval(self, SwitchInterval):
|
|
18953
|
+
self._SwitchInterval = SwitchInterval
|
|
18954
|
+
|
|
18925
18955
|
|
|
18926
18956
|
def _deserialize(self, params):
|
|
18927
18957
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -18939,6 +18969,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
|
|
|
18939
18969
|
self._SwitchEndTime = params.get("SwitchEndTime")
|
|
18940
18970
|
self._SwitchAutoRetry = params.get("SwitchAutoRetry")
|
|
18941
18971
|
self._Zones = params.get("Zones")
|
|
18972
|
+
self._SwitchInterval = params.get("SwitchInterval")
|
|
18942
18973
|
memeber_set = set(params.keys())
|
|
18943
18974
|
for name, value in vars(self).items():
|
|
18944
18975
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dcdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.165
|
|
4
4
|
Summary: Tencent Cloud Dcdb 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.165
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.165
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.125
|
|
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
|