tencentcloud-sdk-python-cynosdb 3.1.9__py2.py3-none-any.whl → 3.1.14__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.9'
17
+ __version__ = '3.1.14'
@@ -614,7 +614,9 @@ class AddInstancesRequest(AbstractModel):
614
614
  :type Memory: int
615
615
  :param _ReadOnlyCount: 新增只读实例数,取值范围为(0,15]
616
616
  :type ReadOnlyCount: int
617
- :param _DeviceType: 实例机器类型
617
+ :param _DeviceType: 实例机器类型,支持值如下:
618
+ - common:表示通用型
619
+ - exclusive:表示独享型
618
620
  :type DeviceType: str
619
621
  :param _InstanceGrpId: 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。
620
622
  :type InstanceGrpId: str
@@ -709,7 +711,9 @@ class AddInstancesRequest(AbstractModel):
709
711
 
710
712
  @property
711
713
  def DeviceType(self):
712
- r"""实例机器类型
714
+ r"""实例机器类型,支持值如下:
715
+ - common:表示通用型
716
+ - exclusive:表示独享型
713
717
  :rtype: str
714
718
  """
715
719
  return self._DeviceType
@@ -2902,12 +2906,15 @@ class BinlogItem(AbstractModel):
2902
2906
  :type FinishTime: str
2903
2907
  :param _BinlogId: Binlog文件ID
2904
2908
  :type BinlogId: int
2909
+ :param _CrossRegions: binlog所跨地域
2910
+ :type CrossRegions: list of str
2905
2911
  """
2906
2912
  self._FileName = None
2907
2913
  self._FileSize = None
2908
2914
  self._StartTime = None
2909
2915
  self._FinishTime = None
2910
2916
  self._BinlogId = None
2917
+ self._CrossRegions = None
2911
2918
 
2912
2919
  @property
2913
2920
  def FileName(self):
@@ -2964,6 +2971,17 @@ class BinlogItem(AbstractModel):
2964
2971
  def BinlogId(self, BinlogId):
2965
2972
  self._BinlogId = BinlogId
2966
2973
 
2974
+ @property
2975
+ def CrossRegions(self):
2976
+ r"""binlog所跨地域
2977
+ :rtype: list of str
2978
+ """
2979
+ return self._CrossRegions
2980
+
2981
+ @CrossRegions.setter
2982
+ def CrossRegions(self, CrossRegions):
2983
+ self._CrossRegions = CrossRegions
2984
+
2967
2985
 
2968
2986
  def _deserialize(self, params):
2969
2987
  self._FileName = params.get("FileName")
@@ -2971,6 +2989,7 @@ class BinlogItem(AbstractModel):
2971
2989
  self._StartTime = params.get("StartTime")
2972
2990
  self._FinishTime = params.get("FinishTime")
2973
2991
  self._BinlogId = params.get("BinlogId")
2992
+ self._CrossRegions = params.get("CrossRegions")
2974
2993
  memeber_set = set(params.keys())
2975
2994
  for name, value in vars(self).items():
2976
2995
  property_name = name[1:]
@@ -4528,10 +4547,12 @@ class ClusterInstanceDetail(AbstractModel):
4528
4547
  :param _InstanceDeviceType: 实例机器类型
4529
4548
  :type InstanceDeviceType: str
4530
4549
  :param _InstanceStorageType: 实例存储类型
4550
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4531
4551
  :type InstanceStorageType: str
4532
4552
  :param _DbMode: 数据库类型
4533
4553
  :type DbMode: str
4534
4554
  :param _NodeList: 节点列表
4555
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4535
4556
  :type NodeList: list of str
4536
4557
  """
4537
4558
  self._InstanceId = None
@@ -4721,6 +4742,7 @@ class ClusterInstanceDetail(AbstractModel):
4721
4742
  @property
4722
4743
  def InstanceStorageType(self):
4723
4744
  r"""实例存储类型
4745
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4724
4746
  :rtype: str
4725
4747
  """
4726
4748
  return self._InstanceStorageType
@@ -4743,6 +4765,7 @@ class ClusterInstanceDetail(AbstractModel):
4743
4765
  @property
4744
4766
  def NodeList(self):
4745
4767
  r"""节点列表
4768
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
4746
4769
  :rtype: list of str
4747
4770
  """
4748
4771
  return self._NodeList
@@ -9506,7 +9529,16 @@ class CynosdbClusterDetail(AbstractModel):
9506
9529
  :type Zone: str
9507
9530
  :param _PhysicalZone: 物理可用区
9508
9531
  :type PhysicalZone: str
9509
- :param _Status: 状态
9532
+ :param _Status: 状态,支持的值如下:
9533
+ - creating:创建中
9534
+ - running:运行中
9535
+ - isolating:隔离中
9536
+ - isolated:已隔离
9537
+ - activating:从回收站重新恢复
9538
+ - offlining:下线中
9539
+ - offlined:已下线
9540
+ - deleting:删除中
9541
+ - deleted:已删除
9510
9542
  :type Status: str
9511
9543
  :param _StatusDesc: 状态描述
9512
9544
  :type StatusDesc: str
@@ -9730,7 +9762,16 @@ pausing
9730
9762
 
9731
9763
  @property
9732
9764
  def Status(self):
9733
- r"""状态
9765
+ r"""状态,支持的值如下:
9766
+ - creating:创建中
9767
+ - running:运行中
9768
+ - isolating:隔离中
9769
+ - isolated:已隔离
9770
+ - activating:从回收站重新恢复
9771
+ - offlining:下线中
9772
+ - offlined:已下线
9773
+ - deleting:删除中
9774
+ - deleted:已删除
9734
9775
  :rtype: str
9735
9776
  """
9736
9777
  return self._Status
@@ -16132,7 +16173,7 @@ class DescribeBinlogsRequest(AbstractModel):
16132
16173
  :type EndTime: str
16133
16174
  :param _Offset: 偏移量
16134
16175
  :type Offset: int
16135
- :param _Limit: 限制条数
16176
+ :param _Limit: 限制条数,默认值为20
16136
16177
  :type Limit: int
16137
16178
  """
16138
16179
  self._ClusterId = None
@@ -16187,7 +16228,7 @@ class DescribeBinlogsRequest(AbstractModel):
16187
16228
 
16188
16229
  @property
16189
16230
  def Limit(self):
16190
- r"""限制条数
16231
+ r"""限制条数,默认值为20
16191
16232
  :rtype: int
16192
16233
  """
16193
16234
  return self._Limit
@@ -24098,7 +24139,9 @@ class InquirePriceCreateRequest(AbstractModel):
24098
24139
  :type InstancePayMode: str
24099
24140
  :param _StoragePayMode: 存储购买类型,可选值为:PREPAID, POSTPAID
24100
24141
  :type StoragePayMode: str
24101
- :param _DeviceType: 实例设备类型
24142
+ :param _DeviceType: 实例设备类型,支持值如下:
24143
+ - common:表示通用型
24144
+ - exclusive:表示独享型
24102
24145
  :type DeviceType: str
24103
24146
  :param _Cpu: CPU核数,PREPAID与POSTPAID实例类型必传
24104
24147
  :type Cpu: int
@@ -24171,7 +24214,9 @@ class InquirePriceCreateRequest(AbstractModel):
24171
24214
 
24172
24215
  @property
24173
24216
  def DeviceType(self):
24174
- r"""实例设备类型
24217
+ r"""实例设备类型,支持值如下:
24218
+ - common:表示通用型
24219
+ - exclusive:表示独享型
24175
24220
  :rtype: str
24176
24221
  """
24177
24222
  return self._DeviceType
@@ -31178,6 +31223,8 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31178
31223
  :type MaxRoCount: int
31179
31224
  :param _AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
31180
31225
  :type AutoArchive: str
31226
+ :param _UpgradeType: 升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
31227
+ :type UpgradeType: str
31181
31228
  """
31182
31229
  self._ClusterId = None
31183
31230
  self._AutoPause = None
@@ -31191,6 +31238,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31191
31238
  self._MinRoCount = None
31192
31239
  self._MaxRoCount = None
31193
31240
  self._AutoArchive = None
31241
+ self._UpgradeType = None
31194
31242
 
31195
31243
  @property
31196
31244
  def ClusterId(self):
@@ -31326,6 +31374,17 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31326
31374
  def AutoArchive(self, AutoArchive):
31327
31375
  self._AutoArchive = AutoArchive
31328
31376
 
31377
+ @property
31378
+ def UpgradeType(self):
31379
+ r"""升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
31380
+ :rtype: str
31381
+ """
31382
+ return self._UpgradeType
31383
+
31384
+ @UpgradeType.setter
31385
+ def UpgradeType(self, UpgradeType):
31386
+ self._UpgradeType = UpgradeType
31387
+
31329
31388
 
31330
31389
  def _deserialize(self, params):
31331
31390
  self._ClusterId = params.get("ClusterId")
@@ -31340,6 +31399,7 @@ class ModifyServerlessStrategyRequest(AbstractModel):
31340
31399
  self._MinRoCount = params.get("MinRoCount")
31341
31400
  self._MaxRoCount = params.get("MaxRoCount")
31342
31401
  self._AutoArchive = params.get("AutoArchive")
31402
+ self._UpgradeType = params.get("UpgradeType")
31343
31403
  memeber_set = set(params.keys())
31344
31404
  for name, value in vars(self).items():
31345
31405
  property_name = name[1:]
@@ -31359,14 +31419,19 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31359
31419
  r"""
31360
31420
  :param _FlowId: 异步流程id
31361
31421
  :type FlowId: int
31422
+ :param _TaskId: 任务id
31423
+ :type TaskId: int
31362
31424
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31363
31425
  :type RequestId: str
31364
31426
  """
31365
31427
  self._FlowId = None
31428
+ self._TaskId = None
31366
31429
  self._RequestId = None
31367
31430
 
31368
31431
  @property
31369
31432
  def FlowId(self):
31433
+ warnings.warn("parameter `FlowId` is deprecated", DeprecationWarning)
31434
+
31370
31435
  r"""异步流程id
31371
31436
  :rtype: int
31372
31437
  """
@@ -31374,8 +31439,21 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31374
31439
 
31375
31440
  @FlowId.setter
31376
31441
  def FlowId(self, FlowId):
31442
+ warnings.warn("parameter `FlowId` is deprecated", DeprecationWarning)
31443
+
31377
31444
  self._FlowId = FlowId
31378
31445
 
31446
+ @property
31447
+ def TaskId(self):
31448
+ r"""任务id
31449
+ :rtype: int
31450
+ """
31451
+ return self._TaskId
31452
+
31453
+ @TaskId.setter
31454
+ def TaskId(self, TaskId):
31455
+ self._TaskId = TaskId
31456
+
31379
31457
  @property
31380
31458
  def RequestId(self):
31381
31459
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -31390,6 +31468,7 @@ class ModifyServerlessStrategyResponse(AbstractModel):
31390
31468
 
31391
31469
  def _deserialize(self, params):
31392
31470
  self._FlowId = params.get("FlowId")
31471
+ self._TaskId = params.get("TaskId")
31393
31472
  self._RequestId = params.get("RequestId")
31394
31473
 
31395
31474
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.9
3
+ Version: 3.1.14
4
4
  Summary: Tencent Cloud Cynosdb 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.9
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.14
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=9pL4-x3v6m2bfNKXFlbP11UEYbY6yMhShaP0JD5EcQM,629
2
+ tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=t8amEvgIlrkna5tuDGQ79S3pLfSZBO_OUOgSAc8egVc,163382
5
+ tencentcloud/cynosdb/v20190107/cynosdb_client_async.py,sha256=kKYcn5T2z4Enz9nQVGhphn6kmvxjIFmL1Eel4P3V5_U,110351
6
+ tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=ZCz5ORFBdJ06UJgk1R5bEpMrKHsGQdaCfaRT2FhVTuM,14432
7
+ tencentcloud/cynosdb/v20190107/models.py,sha256=FVpOlDkFhyR3LzSG2AQl6d6AainOPTtoVHXbL13sAf8,1267599
8
+ tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/METADATA,sha256=CuvaLnjLAiArL-o96QexvRMKQv7cKknnSC_HfjZJbC4,1515
9
+ tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cynosdb-3.1.14.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=Buu2s3uj3nMxlWsDYgHrnW0PfWDKtiYLWnyfjSAG-zI,628
2
- tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=t8amEvgIlrkna5tuDGQ79S3pLfSZBO_OUOgSAc8egVc,163382
5
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py,sha256=kKYcn5T2z4Enz9nQVGhphn6kmvxjIFmL1Eel4P3V5_U,110351
6
- tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=ZCz5ORFBdJ06UJgk1R5bEpMrKHsGQdaCfaRT2FhVTuM,14432
7
- tencentcloud/cynosdb/v20190107/models.py,sha256=W2Muoz42KUHHar4TgEZqvSNGrsyyGMmB7RM8BlT8-6k,1264832
8
- tencentcloud_sdk_python_cynosdb-3.1.9.dist-info/METADATA,sha256=bvy03Eufhw3C7RKEWoObYZ4khsXgLCrj93yKpy9_PZc,1513
9
- tencentcloud_sdk_python_cynosdb-3.1.9.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_cynosdb-3.1.9.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cynosdb-3.1.9.dist-info/RECORD,,