tencentcloud-sdk-python-dcdb 3.1.101__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/models.py +197 -80
  5. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_dcdb-3.1.165/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_dcdb-3.1.101/tencentcloud_sdk_python_dcdb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/README.rst +0 -0
  9. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/dcdb_client.py +0 -0
  13. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/dcdb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud/dcdb/v20180411/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dcdb-3.1.101 → tencentcloud_sdk_python_dcdb-3.1.165}/tencentcloud_sdk_python_dcdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dcdb-3.1.101 → 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.101
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.101
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.101,<4.0.0"],
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',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.101'
17
+ __version__ = '3.1.165'
@@ -170,20 +170,23 @@ class AddShardConfig(AbstractModel):
170
170
 
171
171
  def __init__(self):
172
172
  r"""
173
- :param _ShardCount: 新增分片的数量
173
+ :param _ShardCount: <p>新增分片的数量</p>
174
174
  :type ShardCount: int
175
- :param _ShardMemory: 分片内存大小,单位 GB
175
+ :param _ShardMemory: <p>分片内存大小,单位 GB</p>
176
176
  :type ShardMemory: int
177
- :param _ShardStorage: 分片存储大小,单位 GB
177
+ :param _ShardStorage: <p>分片存储大小,单位 GB</p>
178
178
  :type ShardStorage: int
179
+ :param _DcnInsShardConfigs: <p>DCN实例的规格</p>
180
+ :type DcnInsShardConfigs: list of DcnInsShardConfig
179
181
  """
180
182
  self._ShardCount = None
181
183
  self._ShardMemory = None
182
184
  self._ShardStorage = None
185
+ self._DcnInsShardConfigs = None
183
186
 
184
187
  @property
185
188
  def ShardCount(self):
186
- r"""新增分片的数量
189
+ r"""<p>新增分片的数量</p>
187
190
  :rtype: int
188
191
  """
189
192
  return self._ShardCount
@@ -194,7 +197,7 @@ class AddShardConfig(AbstractModel):
194
197
 
195
198
  @property
196
199
  def ShardMemory(self):
197
- r"""分片内存大小,单位 GB
200
+ r"""<p>分片内存大小,单位 GB</p>
198
201
  :rtype: int
199
202
  """
200
203
  return self._ShardMemory
@@ -205,7 +208,7 @@ class AddShardConfig(AbstractModel):
205
208
 
206
209
  @property
207
210
  def ShardStorage(self):
208
- r"""分片存储大小,单位 GB
211
+ r"""<p>分片存储大小,单位 GB</p>
209
212
  :rtype: int
210
213
  """
211
214
  return self._ShardStorage
@@ -214,11 +217,28 @@ class AddShardConfig(AbstractModel):
214
217
  def ShardStorage(self, ShardStorage):
215
218
  self._ShardStorage = ShardStorage
216
219
 
220
+ @property
221
+ def DcnInsShardConfigs(self):
222
+ r"""<p>DCN实例的规格</p>
223
+ :rtype: list of DcnInsShardConfig
224
+ """
225
+ return self._DcnInsShardConfigs
226
+
227
+ @DcnInsShardConfigs.setter
228
+ def DcnInsShardConfigs(self, DcnInsShardConfigs):
229
+ self._DcnInsShardConfigs = DcnInsShardConfigs
230
+
217
231
 
218
232
  def _deserialize(self, params):
219
233
  self._ShardCount = params.get("ShardCount")
220
234
  self._ShardMemory = params.get("ShardMemory")
221
235
  self._ShardStorage = params.get("ShardStorage")
236
+ if params.get("DcnInsShardConfigs") is not None:
237
+ self._DcnInsShardConfigs = []
238
+ for item in params.get("DcnInsShardConfigs"):
239
+ obj = DcnInsShardConfig()
240
+ obj._deserialize(item)
241
+ self._DcnInsShardConfigs.append(obj)
222
242
  memeber_set = set(params.keys())
223
243
  for name, value in vars(self).items():
224
244
  property_name = name[1:]
@@ -5554,6 +5574,72 @@ class DcnDetailItem(AbstractModel):
5554
5574
 
5555
5575
 
5556
5576
 
5577
+ class DcnInsShardConfig(AbstractModel):
5578
+ r"""DCN实例添加分片时对端实例期望添加的分片规格
5579
+
5580
+ """
5581
+
5582
+ def __init__(self):
5583
+ r"""
5584
+ :param _InstanceId: <p>实例ID</p>
5585
+ :type InstanceId: str
5586
+ :param _Memory: <p>内存大小</p>
5587
+ :type Memory: int
5588
+ :param _Storage: <p>磁盘大小</p>
5589
+ :type Storage: int
5590
+ """
5591
+ self._InstanceId = None
5592
+ self._Memory = None
5593
+ self._Storage = None
5594
+
5595
+ @property
5596
+ def InstanceId(self):
5597
+ r"""<p>实例ID</p>
5598
+ :rtype: str
5599
+ """
5600
+ return self._InstanceId
5601
+
5602
+ @InstanceId.setter
5603
+ def InstanceId(self, InstanceId):
5604
+ self._InstanceId = InstanceId
5605
+
5606
+ @property
5607
+ def Memory(self):
5608
+ r"""<p>内存大小</p>
5609
+ :rtype: int
5610
+ """
5611
+ return self._Memory
5612
+
5613
+ @Memory.setter
5614
+ def Memory(self, Memory):
5615
+ self._Memory = Memory
5616
+
5617
+ @property
5618
+ def Storage(self):
5619
+ r"""<p>磁盘大小</p>
5620
+ :rtype: int
5621
+ """
5622
+ return self._Storage
5623
+
5624
+ @Storage.setter
5625
+ def Storage(self, Storage):
5626
+ self._Storage = Storage
5627
+
5628
+
5629
+ def _deserialize(self, params):
5630
+ self._InstanceId = params.get("InstanceId")
5631
+ self._Memory = params.get("Memory")
5632
+ self._Storage = params.get("Storage")
5633
+ memeber_set = set(params.keys())
5634
+ for name, value in vars(self).items():
5635
+ property_name = name[1:]
5636
+ if property_name in memeber_set:
5637
+ memeber_set.remove(property_name)
5638
+ if len(memeber_set) > 0:
5639
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5640
+
5641
+
5642
+
5557
5643
  class Deal(AbstractModel):
5558
5644
  r"""订单信息
5559
5645
 
@@ -18269,31 +18355,30 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18269
18355
 
18270
18356
  def __init__(self):
18271
18357
  r"""
18272
- :param _InstanceId: 待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
18358
+ :param _InstanceId: <p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
18273
18359
  :type InstanceId: str
18274
- :param _UpgradeType: 升级类型,取值范围:
18275
- <li> ADD: 新增分片 </li>
18276
- <li> EXPAND: 升级实例中的已有分片 </li>
18277
- <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18360
+ :param _UpgradeType: <p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18278
18361
  :type UpgradeType: str
18279
- :param _AddShardConfig: 新增分片配置,当UpgradeType为ADD时生效。
18362
+ :param _AddShardConfig: <p>新增分片配置,当UpgradeType为ADD时生效。</p>
18280
18363
  :type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18281
- :param _ExpandShardConfig: 扩容分片配置,当UpgradeType为EXPAND时生效。
18364
+ :param _ExpandShardConfig: <p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
18282
18365
  :type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18283
- :param _SplitShardConfig: 切分分片配置,当UpgradeType为SPLIT时生效。
18366
+ :param _SplitShardConfig: <p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
18284
18367
  :type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18285
- :param _AutoVoucher: 是否自动使用代金券进行支付,默认不使用。
18368
+ :param _AutoVoucher: <p>是否自动使用代金券进行支付,默认不使用。</p>
18286
18369
  :type AutoVoucher: bool
18287
- :param _VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
18370
+ :param _VoucherIds: <p>代金券ID列表,目前仅支持指定一张代金券。</p>
18288
18371
  :type VoucherIds: list of str
18289
- :param _Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
18372
+ :param _Zones: <p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
18290
18373
  :type Zones: list of str
18291
- :param _SwitchStartTime: 切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
18374
+ :param _SwitchStartTime: <p>切换开始时间,格式如: &quot;2019-12-12 07:00:00&quot;。开始时间必须在当前时间一个小时以后,3天以内。</p>
18292
18375
  :type SwitchStartTime: str
18293
- :param _SwitchEndTime: 切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
18376
+ :param _SwitchEndTime: <p>切换结束时间, 格式如: &quot;2019-12-12 07:15:00&quot;,结束时间必须大于开始时间。</p>
18294
18377
  :type SwitchEndTime: str
18295
- :param _SwitchAutoRetry: 是否自动重试。 0:不自动重试 1:自动重试
18378
+ :param _SwitchAutoRetry: <p>是否自动重试。 0:不自动重试 1:自动重试</p>
18296
18379
  :type SwitchAutoRetry: int
18380
+ :param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
18381
+ :type SwitchInterval: int
18297
18382
  """
18298
18383
  self._InstanceId = None
18299
18384
  self._UpgradeType = None
@@ -18306,10 +18391,11 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18306
18391
  self._SwitchStartTime = None
18307
18392
  self._SwitchEndTime = None
18308
18393
  self._SwitchAutoRetry = None
18394
+ self._SwitchInterval = None
18309
18395
 
18310
18396
  @property
18311
18397
  def InstanceId(self):
18312
- r"""待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
18398
+ r"""<p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
18313
18399
  :rtype: str
18314
18400
  """
18315
18401
  return self._InstanceId
@@ -18320,10 +18406,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18320
18406
 
18321
18407
  @property
18322
18408
  def UpgradeType(self):
18323
- r"""升级类型,取值范围:
18324
- <li> ADD: 新增分片 </li>
18325
- <li> EXPAND: 升级实例中的已有分片 </li>
18326
- <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18409
+ r"""<p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18327
18410
  :rtype: str
18328
18411
  """
18329
18412
  return self._UpgradeType
@@ -18334,7 +18417,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18334
18417
 
18335
18418
  @property
18336
18419
  def AddShardConfig(self):
18337
- r"""新增分片配置,当UpgradeType为ADD时生效。
18420
+ r"""<p>新增分片配置,当UpgradeType为ADD时生效。</p>
18338
18421
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18339
18422
  """
18340
18423
  return self._AddShardConfig
@@ -18345,7 +18428,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18345
18428
 
18346
18429
  @property
18347
18430
  def ExpandShardConfig(self):
18348
- r"""扩容分片配置,当UpgradeType为EXPAND时生效。
18431
+ r"""<p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
18349
18432
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18350
18433
  """
18351
18434
  return self._ExpandShardConfig
@@ -18356,7 +18439,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18356
18439
 
18357
18440
  @property
18358
18441
  def SplitShardConfig(self):
18359
- r"""切分分片配置,当UpgradeType为SPLIT时生效。
18442
+ r"""<p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
18360
18443
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18361
18444
  """
18362
18445
  return self._SplitShardConfig
@@ -18367,7 +18450,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18367
18450
 
18368
18451
  @property
18369
18452
  def AutoVoucher(self):
18370
- r"""是否自动使用代金券进行支付,默认不使用。
18453
+ r"""<p>是否自动使用代金券进行支付,默认不使用。</p>
18371
18454
  :rtype: bool
18372
18455
  """
18373
18456
  return self._AutoVoucher
@@ -18378,7 +18461,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18378
18461
 
18379
18462
  @property
18380
18463
  def VoucherIds(self):
18381
- r"""代金券ID列表,目前仅支持指定一张代金券。
18464
+ r"""<p>代金券ID列表,目前仅支持指定一张代金券。</p>
18382
18465
  :rtype: list of str
18383
18466
  """
18384
18467
  return self._VoucherIds
@@ -18389,7 +18472,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18389
18472
 
18390
18473
  @property
18391
18474
  def Zones(self):
18392
- r"""变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
18475
+ r"""<p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
18393
18476
  :rtype: list of str
18394
18477
  """
18395
18478
  return self._Zones
@@ -18400,7 +18483,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18400
18483
 
18401
18484
  @property
18402
18485
  def SwitchStartTime(self):
18403
- r"""切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
18486
+ r"""<p>切换开始时间,格式如: &quot;2019-12-12 07:00:00&quot;。开始时间必须在当前时间一个小时以后,3天以内。</p>
18404
18487
  :rtype: str
18405
18488
  """
18406
18489
  return self._SwitchStartTime
@@ -18411,7 +18494,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18411
18494
 
18412
18495
  @property
18413
18496
  def SwitchEndTime(self):
18414
- r"""切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
18497
+ r"""<p>切换结束时间, 格式如: &quot;2019-12-12 07:15:00&quot;,结束时间必须大于开始时间。</p>
18415
18498
  :rtype: str
18416
18499
  """
18417
18500
  return self._SwitchEndTime
@@ -18422,7 +18505,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18422
18505
 
18423
18506
  @property
18424
18507
  def SwitchAutoRetry(self):
18425
- r"""是否自动重试。 0:不自动重试 1:自动重试
18508
+ r"""<p>是否自动重试。 0:不自动重试 1:自动重试</p>
18426
18509
  :rtype: int
18427
18510
  """
18428
18511
  return self._SwitchAutoRetry
@@ -18431,6 +18514,17 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18431
18514
  def SwitchAutoRetry(self, SwitchAutoRetry):
18432
18515
  self._SwitchAutoRetry = SwitchAutoRetry
18433
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
+
18434
18528
 
18435
18529
  def _deserialize(self, params):
18436
18530
  self._InstanceId = params.get("InstanceId")
@@ -18450,6 +18544,7 @@ class UpgradeDCDBInstanceRequest(AbstractModel):
18450
18544
  self._SwitchStartTime = params.get("SwitchStartTime")
18451
18545
  self._SwitchEndTime = params.get("SwitchEndTime")
18452
18546
  self._SwitchAutoRetry = params.get("SwitchAutoRetry")
18547
+ self._SwitchInterval = params.get("SwitchInterval")
18453
18548
  memeber_set = set(params.keys())
18454
18549
  for name, value in vars(self).items():
18455
18550
  property_name = name[1:]
@@ -18467,8 +18562,7 @@ class UpgradeDCDBInstanceResponse(AbstractModel):
18467
18562
 
18468
18563
  def __init__(self):
18469
18564
  r"""
18470
- :param _DealName: 长订单号。可以据此调用 DescribeOrders
18471
- 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
18565
+ :param _DealName: <p>长订单号。可以据此调用 DescribeOrders<br> 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。</p>
18472
18566
  :type DealName: str
18473
18567
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18474
18568
  :type RequestId: str
@@ -18478,8 +18572,7 @@ class UpgradeDCDBInstanceResponse(AbstractModel):
18478
18572
 
18479
18573
  @property
18480
18574
  def DealName(self):
18481
- r"""长订单号。可以据此调用 DescribeOrders
18482
- 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
18575
+ r"""<p>长订单号。可以据此调用 DescribeOrders<br> 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。</p>
18483
18576
  :rtype: str
18484
18577
  """
18485
18578
  return self._DealName
@@ -18512,22 +18605,24 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18512
18605
 
18513
18606
  def __init__(self):
18514
18607
  r"""
18515
- :param _UpgradeType: 升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片
18608
+ :param _UpgradeType: <p>升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片</p>
18516
18609
  :type UpgradeType: str
18517
- :param _InstanceId: 实例ID,形如 dcdbt-mlfjm74h
18610
+ :param _InstanceId: <p>实例ID,形如 dcdbt-mlfjm74h</p>
18518
18611
  :type InstanceId: str
18519
- :param _AddShardConfig: UpgradeType取值为ADD时,添加分片的配置参数
18612
+ :param _AddShardConfig: <p>当UpgradeType取值为ADD时,添加分片的配置参数</p>
18520
18613
  :type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18521
- :param _ExpandShardConfig: UpgradeType取值为EXPAND时,垂直扩容分片的配置参数
18614
+ :param _ExpandShardConfig: <p>当UpgradeType取值为EXPAND时,垂直扩容分片的配置参数</p>
18522
18615
  :type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18523
- :param _SplitShardConfig: UpgradeType取值为SPLIT时,切分分片的配置参数
18616
+ :param _SplitShardConfig: <p>当UpgradeType取值为SPLIT时,切分分片的配置参数</p>
18524
18617
  :type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18525
- :param _SwitchAutoRetry: 错过切换时间窗口时,是否自动重试一次,0-否,1-是
18618
+ :param _SwitchAutoRetry: <p>错过切换时间窗口时,是否自动重试一次,0-否,1-是</p>
18526
18619
  :type SwitchAutoRetry: int
18527
- :param _SwitchStartTime: 切换时间窗口开始时间
18620
+ :param _SwitchStartTime: <p>切换时间窗口开始时间</p>
18528
18621
  :type SwitchStartTime: str
18529
- :param _SwitchEndTime: 切换时间窗口结束时间
18622
+ :param _SwitchEndTime: <p>切换时间窗口结束时间</p>
18530
18623
  :type SwitchEndTime: str
18624
+ :param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
18625
+ :type SwitchInterval: int
18531
18626
  """
18532
18627
  self._UpgradeType = None
18533
18628
  self._InstanceId = None
@@ -18537,10 +18632,11 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18537
18632
  self._SwitchAutoRetry = None
18538
18633
  self._SwitchStartTime = None
18539
18634
  self._SwitchEndTime = None
18635
+ self._SwitchInterval = None
18540
18636
 
18541
18637
  @property
18542
18638
  def UpgradeType(self):
18543
- r"""升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片
18639
+ r"""<p>升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片</p>
18544
18640
  :rtype: str
18545
18641
  """
18546
18642
  return self._UpgradeType
@@ -18551,7 +18647,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18551
18647
 
18552
18648
  @property
18553
18649
  def InstanceId(self):
18554
- r"""实例ID,形如 dcdbt-mlfjm74h
18650
+ r"""<p>实例ID,形如 dcdbt-mlfjm74h</p>
18555
18651
  :rtype: str
18556
18652
  """
18557
18653
  return self._InstanceId
@@ -18562,7 +18658,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18562
18658
 
18563
18659
  @property
18564
18660
  def AddShardConfig(self):
18565
- r"""UpgradeType取值为ADD时,添加分片的配置参数
18661
+ r"""<p>当UpgradeType取值为ADD时,添加分片的配置参数</p>
18566
18662
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18567
18663
  """
18568
18664
  return self._AddShardConfig
@@ -18573,7 +18669,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18573
18669
 
18574
18670
  @property
18575
18671
  def ExpandShardConfig(self):
18576
- r"""UpgradeType取值为EXPAND时,垂直扩容分片的配置参数
18672
+ r"""<p>当UpgradeType取值为EXPAND时,垂直扩容分片的配置参数</p>
18577
18673
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18578
18674
  """
18579
18675
  return self._ExpandShardConfig
@@ -18584,7 +18680,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18584
18680
 
18585
18681
  @property
18586
18682
  def SplitShardConfig(self):
18587
- r"""UpgradeType取值为SPLIT时,切分分片的配置参数
18683
+ r"""<p>当UpgradeType取值为SPLIT时,切分分片的配置参数</p>
18588
18684
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18589
18685
  """
18590
18686
  return self._SplitShardConfig
@@ -18595,7 +18691,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18595
18691
 
18596
18692
  @property
18597
18693
  def SwitchAutoRetry(self):
18598
- r"""错过切换时间窗口时,是否自动重试一次,0-否,1-是
18694
+ r"""<p>错过切换时间窗口时,是否自动重试一次,0-否,1-是</p>
18599
18695
  :rtype: int
18600
18696
  """
18601
18697
  return self._SwitchAutoRetry
@@ -18606,7 +18702,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18606
18702
 
18607
18703
  @property
18608
18704
  def SwitchStartTime(self):
18609
- r"""切换时间窗口开始时间
18705
+ r"""<p>切换时间窗口开始时间</p>
18610
18706
  :rtype: str
18611
18707
  """
18612
18708
  return self._SwitchStartTime
@@ -18617,7 +18713,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18617
18713
 
18618
18714
  @property
18619
18715
  def SwitchEndTime(self):
18620
- r"""切换时间窗口结束时间
18716
+ r"""<p>切换时间窗口结束时间</p>
18621
18717
  :rtype: str
18622
18718
  """
18623
18719
  return self._SwitchEndTime
@@ -18626,6 +18722,17 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18626
18722
  def SwitchEndTime(self, SwitchEndTime):
18627
18723
  self._SwitchEndTime = SwitchEndTime
18628
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
+
18629
18736
 
18630
18737
  def _deserialize(self, params):
18631
18738
  self._UpgradeType = params.get("UpgradeType")
@@ -18642,6 +18749,7 @@ class UpgradeDedicatedDCDBInstanceRequest(AbstractModel):
18642
18749
  self._SwitchAutoRetry = params.get("SwitchAutoRetry")
18643
18750
  self._SwitchStartTime = params.get("SwitchStartTime")
18644
18751
  self._SwitchEndTime = params.get("SwitchEndTime")
18752
+ self._SwitchInterval = params.get("SwitchInterval")
18645
18753
  memeber_set = set(params.keys())
18646
18754
  for name, value in vars(self).items():
18647
18755
  property_name = name[1:]
@@ -18659,7 +18767,7 @@ class UpgradeDedicatedDCDBInstanceResponse(AbstractModel):
18659
18767
 
18660
18768
  def __init__(self):
18661
18769
  r"""
18662
- :param _FlowId: 异步任务流程ID
18770
+ :param _FlowId: <p>异步任务流程ID</p>
18663
18771
  :type FlowId: int
18664
18772
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18665
18773
  :type RequestId: str
@@ -18669,7 +18777,7 @@ class UpgradeDedicatedDCDBInstanceResponse(AbstractModel):
18669
18777
 
18670
18778
  @property
18671
18779
  def FlowId(self):
18672
- r"""异步任务流程ID
18780
+ r"""<p>异步任务流程ID</p>
18673
18781
  :rtype: int
18674
18782
  """
18675
18783
  return self._FlowId
@@ -18702,27 +18810,26 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18702
18810
 
18703
18811
  def __init__(self):
18704
18812
  r"""
18705
- :param _InstanceId: 待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
18813
+ :param _InstanceId: <p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
18706
18814
  :type InstanceId: str
18707
- :param _UpgradeType: 升级类型,取值范围:
18708
- <li> ADD: 新增分片 </li>
18709
- <li> EXPAND: 升级实例中的已有分片 </li>
18710
- <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18815
+ :param _UpgradeType: <p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18711
18816
  :type UpgradeType: str
18712
- :param _AddShardConfig: 新增分片配置,当UpgradeType为ADD时生效。
18817
+ :param _AddShardConfig: <p>新增分片配置,当UpgradeType为ADD时生效。</p>
18713
18818
  :type AddShardConfig: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18714
- :param _ExpandShardConfig: 扩容分片配置,当UpgradeType为EXPAND时生效。
18819
+ :param _ExpandShardConfig: <p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
18715
18820
  :type ExpandShardConfig: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18716
- :param _SplitShardConfig: 切分分片配置,当UpgradeType为SPLIT时生效。
18821
+ :param _SplitShardConfig: <p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
18717
18822
  :type SplitShardConfig: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18718
- :param _SwitchStartTime: 切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
18823
+ :param _SwitchStartTime: <p>切换开始时间,格式如: &quot;2019-12-12 07:00:00&quot;。开始时间必须在当前时间一个小时以后,3天以内。</p>
18719
18824
  :type SwitchStartTime: str
18720
- :param _SwitchEndTime: 切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
18825
+ :param _SwitchEndTime: <p>切换结束时间, 格式如: &quot;2019-12-12 07:15:00&quot;,结束时间必须大于开始时间。</p>
18721
18826
  :type SwitchEndTime: str
18722
- :param _SwitchAutoRetry: 是否自动重试。 0:不自动重试 1:自动重试
18827
+ :param _SwitchAutoRetry: <p>是否自动重试。 0:不自动重试 1:自动重试</p>
18723
18828
  :type SwitchAutoRetry: int
18724
- :param _Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
18829
+ :param _Zones: <p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
18725
18830
  :type Zones: list of str
18831
+ :param _SwitchInterval: <p>多个分片同时发起扩容,并发切换中的切换时间间隔,即当前分片切换开始时间和下一个分片的切换开始时间间隔,不传默认为1。</p><p>取值范围:[1, 180]</p><p>单位:秒</p>
18832
+ :type SwitchInterval: int
18726
18833
  """
18727
18834
  self._InstanceId = None
18728
18835
  self._UpgradeType = None
@@ -18733,10 +18840,11 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18733
18840
  self._SwitchEndTime = None
18734
18841
  self._SwitchAutoRetry = None
18735
18842
  self._Zones = None
18843
+ self._SwitchInterval = None
18736
18844
 
18737
18845
  @property
18738
18846
  def InstanceId(self):
18739
- r"""待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
18847
+ r"""<p>待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。</p>
18740
18848
  :rtype: str
18741
18849
  """
18742
18850
  return self._InstanceId
@@ -18747,10 +18855,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18747
18855
 
18748
18856
  @property
18749
18857
  def UpgradeType(self):
18750
- r"""升级类型,取值范围:
18751
- <li> ADD: 新增分片 </li>
18752
- <li> EXPAND: 升级实例中的已有分片 </li>
18753
- <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18858
+ r"""<p>升级类型,取值范围: </p><li> ADD: 新增分片 </li> <li> EXPAND: 升级实例中的已有分片 </li> <li> SPLIT: 将已有分片中的数据切分到新增分片上</li>
18754
18859
  :rtype: str
18755
18860
  """
18756
18861
  return self._UpgradeType
@@ -18761,7 +18866,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18761
18866
 
18762
18867
  @property
18763
18868
  def AddShardConfig(self):
18764
- r"""新增分片配置,当UpgradeType为ADD时生效。
18869
+ r"""<p>新增分片配置,当UpgradeType为ADD时生效。</p>
18765
18870
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.AddShardConfig`
18766
18871
  """
18767
18872
  return self._AddShardConfig
@@ -18772,7 +18877,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18772
18877
 
18773
18878
  @property
18774
18879
  def ExpandShardConfig(self):
18775
- r"""扩容分片配置,当UpgradeType为EXPAND时生效。
18880
+ r"""<p>扩容分片配置,当UpgradeType为EXPAND时生效。</p>
18776
18881
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.ExpandShardConfig`
18777
18882
  """
18778
18883
  return self._ExpandShardConfig
@@ -18783,7 +18888,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18783
18888
 
18784
18889
  @property
18785
18890
  def SplitShardConfig(self):
18786
- r"""切分分片配置,当UpgradeType为SPLIT时生效。
18891
+ r"""<p>切分分片配置,当UpgradeType为SPLIT时生效。</p>
18787
18892
  :rtype: :class:`tencentcloud.dcdb.v20180411.models.SplitShardConfig`
18788
18893
  """
18789
18894
  return self._SplitShardConfig
@@ -18794,7 +18899,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18794
18899
 
18795
18900
  @property
18796
18901
  def SwitchStartTime(self):
18797
- r"""切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
18902
+ r"""<p>切换开始时间,格式如: &quot;2019-12-12 07:00:00&quot;。开始时间必须在当前时间一个小时以后,3天以内。</p>
18798
18903
  :rtype: str
18799
18904
  """
18800
18905
  return self._SwitchStartTime
@@ -18805,7 +18910,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18805
18910
 
18806
18911
  @property
18807
18912
  def SwitchEndTime(self):
18808
- r"""切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
18913
+ r"""<p>切换结束时间, 格式如: &quot;2019-12-12 07:15:00&quot;,结束时间必须大于开始时间。</p>
18809
18914
  :rtype: str
18810
18915
  """
18811
18916
  return self._SwitchEndTime
@@ -18816,7 +18921,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18816
18921
 
18817
18922
  @property
18818
18923
  def SwitchAutoRetry(self):
18819
- r"""是否自动重试。 0:不自动重试 1:自动重试
18924
+ r"""<p>是否自动重试。 0:不自动重试 1:自动重试</p>
18820
18925
  :rtype: int
18821
18926
  """
18822
18927
  return self._SwitchAutoRetry
@@ -18827,7 +18932,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18827
18932
 
18828
18933
  @property
18829
18934
  def Zones(self):
18830
- r"""变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
18935
+ r"""<p>变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区</p>
18831
18936
  :rtype: list of str
18832
18937
  """
18833
18938
  return self._Zones
@@ -18836,6 +18941,17 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18836
18941
  def Zones(self, Zones):
18837
18942
  self._Zones = Zones
18838
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
+
18839
18955
 
18840
18956
  def _deserialize(self, params):
18841
18957
  self._InstanceId = params.get("InstanceId")
@@ -18853,6 +18969,7 @@ class UpgradeHourDCDBInstanceRequest(AbstractModel):
18853
18969
  self._SwitchEndTime = params.get("SwitchEndTime")
18854
18970
  self._SwitchAutoRetry = params.get("SwitchAutoRetry")
18855
18971
  self._Zones = params.get("Zones")
18972
+ self._SwitchInterval = params.get("SwitchInterval")
18856
18973
  memeber_set = set(params.keys())
18857
18974
  for name, value in vars(self).items():
18858
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.101
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.101
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.101