tencentcloud-sdk-python-cynosdb 3.1.129__tar.gz → 3.1.131__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_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/setup.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/v20190107/models.py +355 -112
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cynosdb-3.1.131/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cynosdb-3.1.129/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/README.rst +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cynosdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.131,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cynosdb SDK for Python',
|
|
@@ -1797,6 +1797,29 @@ class CynosdbClient(AbstractClient):
|
|
|
1797
1797
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1798
1798
|
|
|
1799
1799
|
|
|
1800
|
+
def DescribeClusterLevels(self, request):
|
|
1801
|
+
r"""查询可支持的集群类型列表
|
|
1802
|
+
|
|
1803
|
+
:param request: Request instance for DescribeClusterLevels.
|
|
1804
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterLevelsRequest`
|
|
1805
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeClusterLevelsResponse`
|
|
1806
|
+
|
|
1807
|
+
"""
|
|
1808
|
+
try:
|
|
1809
|
+
params = request._serialize()
|
|
1810
|
+
headers = request.headers
|
|
1811
|
+
body = self.call("DescribeClusterLevels", params, headers=headers)
|
|
1812
|
+
response = json.loads(body)
|
|
1813
|
+
model = models.DescribeClusterLevelsResponse()
|
|
1814
|
+
model._deserialize(response["Response"])
|
|
1815
|
+
return model
|
|
1816
|
+
except Exception as e:
|
|
1817
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1818
|
+
raise
|
|
1819
|
+
else:
|
|
1820
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1821
|
+
|
|
1822
|
+
|
|
1800
1823
|
def DescribeClusterParamLogs(self, request):
|
|
1801
1824
|
r"""本接口(DescribeClusterParamLogs)用于查询参数修改记录。
|
|
1802
1825
|
|
|
@@ -1411,6 +1411,24 @@ class CynosdbClient(AbstractClient):
|
|
|
1411
1411
|
|
|
1412
1412
|
return await self.call_and_deserialize(**kwargs)
|
|
1413
1413
|
|
|
1414
|
+
async def DescribeClusterLevels(
|
|
1415
|
+
self,
|
|
1416
|
+
request: models.DescribeClusterLevelsRequest,
|
|
1417
|
+
opts: Dict = None,
|
|
1418
|
+
) -> models.DescribeClusterLevelsResponse:
|
|
1419
|
+
"""
|
|
1420
|
+
查询可支持的集群类型列表
|
|
1421
|
+
"""
|
|
1422
|
+
|
|
1423
|
+
kwargs = {}
|
|
1424
|
+
kwargs["action"] = "DescribeClusterLevels"
|
|
1425
|
+
kwargs["params"] = request._serialize()
|
|
1426
|
+
kwargs["resp_cls"] = models.DescribeClusterLevelsResponse
|
|
1427
|
+
kwargs["headers"] = request.headers
|
|
1428
|
+
kwargs["opts"] = opts or {}
|
|
1429
|
+
|
|
1430
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1431
|
+
|
|
1414
1432
|
async def DescribeClusterParamLogs(
|
|
1415
1433
|
self,
|
|
1416
1434
|
request: models.DescribeClusterParamLogsRequest,
|
|
@@ -3459,29 +3459,29 @@ class BackupConfigInfo(AbstractModel):
|
|
|
3459
3459
|
|
|
3460
3460
|
def __init__(self):
|
|
3461
3461
|
r"""
|
|
3462
|
-
:param _BackupCustomAutoTime:
|
|
3462
|
+
:param _BackupCustomAutoTime: <p>系统自动时间</p>
|
|
3463
3463
|
:type BackupCustomAutoTime: bool
|
|
3464
|
-
:param _BackupTimeBeg:
|
|
3464
|
+
:param _BackupTimeBeg: <p>表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200</p>
|
|
3465
3465
|
:type BackupTimeBeg: int
|
|
3466
|
-
:param _BackupTimeEnd:
|
|
3466
|
+
:param _BackupTimeEnd: <p>表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200</p>
|
|
3467
3467
|
:type BackupTimeEnd: int
|
|
3468
|
-
:param _BackupWeekDays:
|
|
3468
|
+
:param _BackupWeekDays: <p>该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周日到周六的备份方式,full-全量备份,increment-增量备份</p>
|
|
3469
3469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3470
3470
|
:type BackupWeekDays: list of str
|
|
3471
|
-
:param _BackupIntervalTime:
|
|
3471
|
+
:param _BackupIntervalTime: <p>间隔时间</p>
|
|
3472
3472
|
:type BackupIntervalTime: int
|
|
3473
|
-
:param _ReserveDuration:
|
|
3473
|
+
:param _ReserveDuration: <p>表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600247=604800,最大为158112000</p>
|
|
3474
3474
|
:type ReserveDuration: int
|
|
3475
|
-
:param _CrossRegionsEnable:
|
|
3476
|
-
yes-开启
|
|
3477
|
-
no-关闭
|
|
3475
|
+
:param _CrossRegionsEnable: <p>跨地域备份开启<br>yes-开启<br>no-关闭</p>
|
|
3478
3476
|
:type CrossRegionsEnable: str
|
|
3479
|
-
:param _CrossRegions:
|
|
3477
|
+
:param _CrossRegions: <p>跨地域备份地域</p>
|
|
3480
3478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3481
3479
|
:type CrossRegions: list of str
|
|
3482
|
-
:param
|
|
3480
|
+
:param _CrossRegionSaveDays: <p>跨地域备份保留时间</p><p>单位:天</p>
|
|
3481
|
+
:type CrossRegionSaveDays: int
|
|
3482
|
+
:param _BackupTriggerStrategy: <p>自动数据备份触发策略,periodically:自动周期备份,frequent:高频备份</p>
|
|
3483
3483
|
:type BackupTriggerStrategy: str
|
|
3484
|
-
:param _AutoCopyVaults:
|
|
3484
|
+
:param _AutoCopyVaults: <p>备份投递关系</p>
|
|
3485
3485
|
:type AutoCopyVaults: list of CreateBackupVaultItem
|
|
3486
3486
|
"""
|
|
3487
3487
|
self._BackupCustomAutoTime = None
|
|
@@ -3492,12 +3492,13 @@ no-关闭
|
|
|
3492
3492
|
self._ReserveDuration = None
|
|
3493
3493
|
self._CrossRegionsEnable = None
|
|
3494
3494
|
self._CrossRegions = None
|
|
3495
|
+
self._CrossRegionSaveDays = None
|
|
3495
3496
|
self._BackupTriggerStrategy = None
|
|
3496
3497
|
self._AutoCopyVaults = None
|
|
3497
3498
|
|
|
3498
3499
|
@property
|
|
3499
3500
|
def BackupCustomAutoTime(self):
|
|
3500
|
-
r"""
|
|
3501
|
+
r"""<p>系统自动时间</p>
|
|
3501
3502
|
:rtype: bool
|
|
3502
3503
|
"""
|
|
3503
3504
|
return self._BackupCustomAutoTime
|
|
@@ -3508,7 +3509,7 @@ no-关闭
|
|
|
3508
3509
|
|
|
3509
3510
|
@property
|
|
3510
3511
|
def BackupTimeBeg(self):
|
|
3511
|
-
r"""
|
|
3512
|
+
r"""<p>表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200</p>
|
|
3512
3513
|
:rtype: int
|
|
3513
3514
|
"""
|
|
3514
3515
|
return self._BackupTimeBeg
|
|
@@ -3519,7 +3520,7 @@ no-关闭
|
|
|
3519
3520
|
|
|
3520
3521
|
@property
|
|
3521
3522
|
def BackupTimeEnd(self):
|
|
3522
|
-
r"""
|
|
3523
|
+
r"""<p>表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200</p>
|
|
3523
3524
|
:rtype: int
|
|
3524
3525
|
"""
|
|
3525
3526
|
return self._BackupTimeEnd
|
|
@@ -3530,7 +3531,7 @@ no-关闭
|
|
|
3530
3531
|
|
|
3531
3532
|
@property
|
|
3532
3533
|
def BackupWeekDays(self):
|
|
3533
|
-
r"""
|
|
3534
|
+
r"""<p>该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周日到周六的备份方式,full-全量备份,increment-增量备份</p>
|
|
3534
3535
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3535
3536
|
:rtype: list of str
|
|
3536
3537
|
"""
|
|
@@ -3542,7 +3543,7 @@ no-关闭
|
|
|
3542
3543
|
|
|
3543
3544
|
@property
|
|
3544
3545
|
def BackupIntervalTime(self):
|
|
3545
|
-
r"""
|
|
3546
|
+
r"""<p>间隔时间</p>
|
|
3546
3547
|
:rtype: int
|
|
3547
3548
|
"""
|
|
3548
3549
|
return self._BackupIntervalTime
|
|
@@ -3553,7 +3554,7 @@ no-关闭
|
|
|
3553
3554
|
|
|
3554
3555
|
@property
|
|
3555
3556
|
def ReserveDuration(self):
|
|
3556
|
-
r"""
|
|
3557
|
+
r"""<p>表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600247=604800,最大为158112000</p>
|
|
3557
3558
|
:rtype: int
|
|
3558
3559
|
"""
|
|
3559
3560
|
return self._ReserveDuration
|
|
@@ -3564,9 +3565,7 @@ no-关闭
|
|
|
3564
3565
|
|
|
3565
3566
|
@property
|
|
3566
3567
|
def CrossRegionsEnable(self):
|
|
3567
|
-
r"""
|
|
3568
|
-
yes-开启
|
|
3569
|
-
no-关闭
|
|
3568
|
+
r"""<p>跨地域备份开启<br>yes-开启<br>no-关闭</p>
|
|
3570
3569
|
:rtype: str
|
|
3571
3570
|
"""
|
|
3572
3571
|
return self._CrossRegionsEnable
|
|
@@ -3577,7 +3576,7 @@ no-关闭
|
|
|
3577
3576
|
|
|
3578
3577
|
@property
|
|
3579
3578
|
def CrossRegions(self):
|
|
3580
|
-
r"""
|
|
3579
|
+
r"""<p>跨地域备份地域</p>
|
|
3581
3580
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3582
3581
|
:rtype: list of str
|
|
3583
3582
|
"""
|
|
@@ -3587,9 +3586,20 @@ no-关闭
|
|
|
3587
3586
|
def CrossRegions(self, CrossRegions):
|
|
3588
3587
|
self._CrossRegions = CrossRegions
|
|
3589
3588
|
|
|
3589
|
+
@property
|
|
3590
|
+
def CrossRegionSaveDays(self):
|
|
3591
|
+
r"""<p>跨地域备份保留时间</p><p>单位:天</p>
|
|
3592
|
+
:rtype: int
|
|
3593
|
+
"""
|
|
3594
|
+
return self._CrossRegionSaveDays
|
|
3595
|
+
|
|
3596
|
+
@CrossRegionSaveDays.setter
|
|
3597
|
+
def CrossRegionSaveDays(self, CrossRegionSaveDays):
|
|
3598
|
+
self._CrossRegionSaveDays = CrossRegionSaveDays
|
|
3599
|
+
|
|
3590
3600
|
@property
|
|
3591
3601
|
def BackupTriggerStrategy(self):
|
|
3592
|
-
r"""
|
|
3602
|
+
r"""<p>自动数据备份触发策略,periodically:自动周期备份,frequent:高频备份</p>
|
|
3593
3603
|
:rtype: str
|
|
3594
3604
|
"""
|
|
3595
3605
|
return self._BackupTriggerStrategy
|
|
@@ -3600,7 +3610,7 @@ no-关闭
|
|
|
3600
3610
|
|
|
3601
3611
|
@property
|
|
3602
3612
|
def AutoCopyVaults(self):
|
|
3603
|
-
r"""
|
|
3613
|
+
r"""<p>备份投递关系</p>
|
|
3604
3614
|
:rtype: list of CreateBackupVaultItem
|
|
3605
3615
|
"""
|
|
3606
3616
|
return self._AutoCopyVaults
|
|
@@ -3619,6 +3629,7 @@ no-关闭
|
|
|
3619
3629
|
self._ReserveDuration = params.get("ReserveDuration")
|
|
3620
3630
|
self._CrossRegionsEnable = params.get("CrossRegionsEnable")
|
|
3621
3631
|
self._CrossRegions = params.get("CrossRegions")
|
|
3632
|
+
self._CrossRegionSaveDays = params.get("CrossRegionSaveDays")
|
|
3622
3633
|
self._BackupTriggerStrategy = params.get("BackupTriggerStrategy")
|
|
3623
3634
|
if params.get("AutoCopyVaults") is not None:
|
|
3624
3635
|
self._AutoCopyVaults = []
|
|
@@ -4476,24 +4487,27 @@ class BinlogConfigInfo(AbstractModel):
|
|
|
4476
4487
|
|
|
4477
4488
|
def __init__(self):
|
|
4478
4489
|
r"""
|
|
4479
|
-
:param _BinlogSaveDays: binlog
|
|
4490
|
+
:param _BinlogSaveDays: <p>binlog保留时间</p>
|
|
4480
4491
|
:type BinlogSaveDays: int
|
|
4481
|
-
:param _BinlogCrossRegionsEnable: binlog
|
|
4492
|
+
:param _BinlogCrossRegionsEnable: <p>binlog异地地域备份是否开启</p>
|
|
4482
4493
|
:type BinlogCrossRegionsEnable: str
|
|
4483
|
-
:param _BinlogCrossRegions: binlog
|
|
4494
|
+
:param _BinlogCrossRegions: <p>binlog异地地域</p>
|
|
4484
4495
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4485
4496
|
:type BinlogCrossRegions: list of str
|
|
4486
|
-
:param
|
|
4497
|
+
:param _BinlogCrossRegionSaveDays: <p>跨地域备份保留时间</p><p>单位:天</p>
|
|
4498
|
+
:type BinlogCrossRegionSaveDays: int
|
|
4499
|
+
:param _AutoCopyVaults: <p>保险箱信息</p>
|
|
4487
4500
|
:type AutoCopyVaults: list of CreateBackupVaultItem
|
|
4488
4501
|
"""
|
|
4489
4502
|
self._BinlogSaveDays = None
|
|
4490
4503
|
self._BinlogCrossRegionsEnable = None
|
|
4491
4504
|
self._BinlogCrossRegions = None
|
|
4505
|
+
self._BinlogCrossRegionSaveDays = None
|
|
4492
4506
|
self._AutoCopyVaults = None
|
|
4493
4507
|
|
|
4494
4508
|
@property
|
|
4495
4509
|
def BinlogSaveDays(self):
|
|
4496
|
-
r"""binlog
|
|
4510
|
+
r"""<p>binlog保留时间</p>
|
|
4497
4511
|
:rtype: int
|
|
4498
4512
|
"""
|
|
4499
4513
|
return self._BinlogSaveDays
|
|
@@ -4504,7 +4518,7 @@ class BinlogConfigInfo(AbstractModel):
|
|
|
4504
4518
|
|
|
4505
4519
|
@property
|
|
4506
4520
|
def BinlogCrossRegionsEnable(self):
|
|
4507
|
-
r"""binlog
|
|
4521
|
+
r"""<p>binlog异地地域备份是否开启</p>
|
|
4508
4522
|
:rtype: str
|
|
4509
4523
|
"""
|
|
4510
4524
|
return self._BinlogCrossRegionsEnable
|
|
@@ -4515,7 +4529,7 @@ class BinlogConfigInfo(AbstractModel):
|
|
|
4515
4529
|
|
|
4516
4530
|
@property
|
|
4517
4531
|
def BinlogCrossRegions(self):
|
|
4518
|
-
r"""binlog
|
|
4532
|
+
r"""<p>binlog异地地域</p>
|
|
4519
4533
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4520
4534
|
:rtype: list of str
|
|
4521
4535
|
"""
|
|
@@ -4525,9 +4539,20 @@ class BinlogConfigInfo(AbstractModel):
|
|
|
4525
4539
|
def BinlogCrossRegions(self, BinlogCrossRegions):
|
|
4526
4540
|
self._BinlogCrossRegions = BinlogCrossRegions
|
|
4527
4541
|
|
|
4542
|
+
@property
|
|
4543
|
+
def BinlogCrossRegionSaveDays(self):
|
|
4544
|
+
r"""<p>跨地域备份保留时间</p><p>单位:天</p>
|
|
4545
|
+
:rtype: int
|
|
4546
|
+
"""
|
|
4547
|
+
return self._BinlogCrossRegionSaveDays
|
|
4548
|
+
|
|
4549
|
+
@BinlogCrossRegionSaveDays.setter
|
|
4550
|
+
def BinlogCrossRegionSaveDays(self, BinlogCrossRegionSaveDays):
|
|
4551
|
+
self._BinlogCrossRegionSaveDays = BinlogCrossRegionSaveDays
|
|
4552
|
+
|
|
4528
4553
|
@property
|
|
4529
4554
|
def AutoCopyVaults(self):
|
|
4530
|
-
r"""
|
|
4555
|
+
r"""<p>保险箱信息</p>
|
|
4531
4556
|
:rtype: list of CreateBackupVaultItem
|
|
4532
4557
|
"""
|
|
4533
4558
|
return self._AutoCopyVaults
|
|
@@ -4541,6 +4566,7 @@ class BinlogConfigInfo(AbstractModel):
|
|
|
4541
4566
|
self._BinlogSaveDays = params.get("BinlogSaveDays")
|
|
4542
4567
|
self._BinlogCrossRegionsEnable = params.get("BinlogCrossRegionsEnable")
|
|
4543
4568
|
self._BinlogCrossRegions = params.get("BinlogCrossRegions")
|
|
4569
|
+
self._BinlogCrossRegionSaveDays = params.get("BinlogCrossRegionSaveDays")
|
|
4544
4570
|
if params.get("AutoCopyVaults") is not None:
|
|
4545
4571
|
self._AutoCopyVaults = []
|
|
4546
4572
|
for item in params.get("AutoCopyVaults"):
|
|
@@ -4564,26 +4590,28 @@ class BinlogItem(AbstractModel):
|
|
|
4564
4590
|
|
|
4565
4591
|
def __init__(self):
|
|
4566
4592
|
r"""
|
|
4567
|
-
:param _FileName: Binlog
|
|
4593
|
+
:param _FileName: <p>Binlog文件名称</p>
|
|
4568
4594
|
:type FileName: str
|
|
4569
|
-
:param _FileSize:
|
|
4595
|
+
:param _FileSize: <p>文件大小,单位:字节</p>
|
|
4570
4596
|
:type FileSize: int
|
|
4571
|
-
:param _StartTime:
|
|
4597
|
+
:param _StartTime: <p>事务最早时间</p>
|
|
4572
4598
|
:type StartTime: str
|
|
4573
|
-
:param _FinishTime:
|
|
4599
|
+
:param _FinishTime: <p>事务最晚时间</p>
|
|
4574
4600
|
:type FinishTime: str
|
|
4575
|
-
:param _BinlogId: Binlog文件ID
|
|
4601
|
+
:param _BinlogId: <p>Binlog文件ID</p>
|
|
4576
4602
|
:type BinlogId: int
|
|
4577
|
-
:param _CrossRegions: binlog
|
|
4603
|
+
:param _CrossRegions: <p>binlog所跨地域</p>
|
|
4578
4604
|
:type CrossRegions: list of str
|
|
4579
|
-
:param _CopyStatus:
|
|
4605
|
+
:param _CopyStatus: <p>备份投递状态</p>
|
|
4580
4606
|
:type CopyStatus: str
|
|
4581
|
-
:param _VaultInfos:
|
|
4607
|
+
:param _VaultInfos: <p>保险箱信息</p>
|
|
4582
4608
|
:type VaultInfos: list of VaultInfo
|
|
4583
|
-
:param _EncryptKeyId:
|
|
4609
|
+
:param _EncryptKeyId: <p>加密秘钥key</p>
|
|
4584
4610
|
:type EncryptKeyId: str
|
|
4585
|
-
:param _EncryptRegion:
|
|
4611
|
+
:param _EncryptRegion: <p>加密秘钥地域</p>
|
|
4586
4612
|
:type EncryptRegion: str
|
|
4613
|
+
:param _ExistRegions: <p>备份的地域分布信息</p>
|
|
4614
|
+
:type ExistRegions: list of BinlogRegionInfo
|
|
4587
4615
|
"""
|
|
4588
4616
|
self._FileName = None
|
|
4589
4617
|
self._FileSize = None
|
|
@@ -4595,10 +4623,11 @@ class BinlogItem(AbstractModel):
|
|
|
4595
4623
|
self._VaultInfos = None
|
|
4596
4624
|
self._EncryptKeyId = None
|
|
4597
4625
|
self._EncryptRegion = None
|
|
4626
|
+
self._ExistRegions = None
|
|
4598
4627
|
|
|
4599
4628
|
@property
|
|
4600
4629
|
def FileName(self):
|
|
4601
|
-
r"""Binlog
|
|
4630
|
+
r"""<p>Binlog文件名称</p>
|
|
4602
4631
|
:rtype: str
|
|
4603
4632
|
"""
|
|
4604
4633
|
return self._FileName
|
|
@@ -4609,7 +4638,7 @@ class BinlogItem(AbstractModel):
|
|
|
4609
4638
|
|
|
4610
4639
|
@property
|
|
4611
4640
|
def FileSize(self):
|
|
4612
|
-
r"""
|
|
4641
|
+
r"""<p>文件大小,单位:字节</p>
|
|
4613
4642
|
:rtype: int
|
|
4614
4643
|
"""
|
|
4615
4644
|
return self._FileSize
|
|
@@ -4620,7 +4649,7 @@ class BinlogItem(AbstractModel):
|
|
|
4620
4649
|
|
|
4621
4650
|
@property
|
|
4622
4651
|
def StartTime(self):
|
|
4623
|
-
r"""
|
|
4652
|
+
r"""<p>事务最早时间</p>
|
|
4624
4653
|
:rtype: str
|
|
4625
4654
|
"""
|
|
4626
4655
|
return self._StartTime
|
|
@@ -4631,7 +4660,7 @@ class BinlogItem(AbstractModel):
|
|
|
4631
4660
|
|
|
4632
4661
|
@property
|
|
4633
4662
|
def FinishTime(self):
|
|
4634
|
-
r"""
|
|
4663
|
+
r"""<p>事务最晚时间</p>
|
|
4635
4664
|
:rtype: str
|
|
4636
4665
|
"""
|
|
4637
4666
|
return self._FinishTime
|
|
@@ -4642,7 +4671,7 @@ class BinlogItem(AbstractModel):
|
|
|
4642
4671
|
|
|
4643
4672
|
@property
|
|
4644
4673
|
def BinlogId(self):
|
|
4645
|
-
r"""Binlog文件ID
|
|
4674
|
+
r"""<p>Binlog文件ID</p>
|
|
4646
4675
|
:rtype: int
|
|
4647
4676
|
"""
|
|
4648
4677
|
return self._BinlogId
|
|
@@ -4653,7 +4682,7 @@ class BinlogItem(AbstractModel):
|
|
|
4653
4682
|
|
|
4654
4683
|
@property
|
|
4655
4684
|
def CrossRegions(self):
|
|
4656
|
-
r"""binlog
|
|
4685
|
+
r"""<p>binlog所跨地域</p>
|
|
4657
4686
|
:rtype: list of str
|
|
4658
4687
|
"""
|
|
4659
4688
|
return self._CrossRegions
|
|
@@ -4664,7 +4693,7 @@ class BinlogItem(AbstractModel):
|
|
|
4664
4693
|
|
|
4665
4694
|
@property
|
|
4666
4695
|
def CopyStatus(self):
|
|
4667
|
-
r"""
|
|
4696
|
+
r"""<p>备份投递状态</p>
|
|
4668
4697
|
:rtype: str
|
|
4669
4698
|
"""
|
|
4670
4699
|
return self._CopyStatus
|
|
@@ -4675,7 +4704,7 @@ class BinlogItem(AbstractModel):
|
|
|
4675
4704
|
|
|
4676
4705
|
@property
|
|
4677
4706
|
def VaultInfos(self):
|
|
4678
|
-
r"""
|
|
4707
|
+
r"""<p>保险箱信息</p>
|
|
4679
4708
|
:rtype: list of VaultInfo
|
|
4680
4709
|
"""
|
|
4681
4710
|
return self._VaultInfos
|
|
@@ -4686,7 +4715,7 @@ class BinlogItem(AbstractModel):
|
|
|
4686
4715
|
|
|
4687
4716
|
@property
|
|
4688
4717
|
def EncryptKeyId(self):
|
|
4689
|
-
r"""
|
|
4718
|
+
r"""<p>加密秘钥key</p>
|
|
4690
4719
|
:rtype: str
|
|
4691
4720
|
"""
|
|
4692
4721
|
return self._EncryptKeyId
|
|
@@ -4697,7 +4726,7 @@ class BinlogItem(AbstractModel):
|
|
|
4697
4726
|
|
|
4698
4727
|
@property
|
|
4699
4728
|
def EncryptRegion(self):
|
|
4700
|
-
r"""
|
|
4729
|
+
r"""<p>加密秘钥地域</p>
|
|
4701
4730
|
:rtype: str
|
|
4702
4731
|
"""
|
|
4703
4732
|
return self._EncryptRegion
|
|
@@ -4706,6 +4735,17 @@ class BinlogItem(AbstractModel):
|
|
|
4706
4735
|
def EncryptRegion(self, EncryptRegion):
|
|
4707
4736
|
self._EncryptRegion = EncryptRegion
|
|
4708
4737
|
|
|
4738
|
+
@property
|
|
4739
|
+
def ExistRegions(self):
|
|
4740
|
+
r"""<p>备份的地域分布信息</p>
|
|
4741
|
+
:rtype: list of BinlogRegionInfo
|
|
4742
|
+
"""
|
|
4743
|
+
return self._ExistRegions
|
|
4744
|
+
|
|
4745
|
+
@ExistRegions.setter
|
|
4746
|
+
def ExistRegions(self, ExistRegions):
|
|
4747
|
+
self._ExistRegions = ExistRegions
|
|
4748
|
+
|
|
4709
4749
|
|
|
4710
4750
|
def _deserialize(self, params):
|
|
4711
4751
|
self._FileName = params.get("FileName")
|
|
@@ -4723,6 +4763,63 @@ class BinlogItem(AbstractModel):
|
|
|
4723
4763
|
self._VaultInfos.append(obj)
|
|
4724
4764
|
self._EncryptKeyId = params.get("EncryptKeyId")
|
|
4725
4765
|
self._EncryptRegion = params.get("EncryptRegion")
|
|
4766
|
+
if params.get("ExistRegions") is not None:
|
|
4767
|
+
self._ExistRegions = []
|
|
4768
|
+
for item in params.get("ExistRegions"):
|
|
4769
|
+
obj = BinlogRegionInfo()
|
|
4770
|
+
obj._deserialize(item)
|
|
4771
|
+
self._ExistRegions.append(obj)
|
|
4772
|
+
memeber_set = set(params.keys())
|
|
4773
|
+
for name, value in vars(self).items():
|
|
4774
|
+
property_name = name[1:]
|
|
4775
|
+
if property_name in memeber_set:
|
|
4776
|
+
memeber_set.remove(property_name)
|
|
4777
|
+
if len(memeber_set) > 0:
|
|
4778
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4779
|
+
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
class BinlogRegionInfo(AbstractModel):
|
|
4783
|
+
r"""各地域binlog保留信息
|
|
4784
|
+
|
|
4785
|
+
"""
|
|
4786
|
+
|
|
4787
|
+
def __init__(self):
|
|
4788
|
+
r"""
|
|
4789
|
+
:param _BackupRegion: <p>备份地域</p>
|
|
4790
|
+
:type BackupRegion: str
|
|
4791
|
+
:param _BackupId: <p>备份ID</p>
|
|
4792
|
+
:type BackupId: int
|
|
4793
|
+
"""
|
|
4794
|
+
self._BackupRegion = None
|
|
4795
|
+
self._BackupId = None
|
|
4796
|
+
|
|
4797
|
+
@property
|
|
4798
|
+
def BackupRegion(self):
|
|
4799
|
+
r"""<p>备份地域</p>
|
|
4800
|
+
:rtype: str
|
|
4801
|
+
"""
|
|
4802
|
+
return self._BackupRegion
|
|
4803
|
+
|
|
4804
|
+
@BackupRegion.setter
|
|
4805
|
+
def BackupRegion(self, BackupRegion):
|
|
4806
|
+
self._BackupRegion = BackupRegion
|
|
4807
|
+
|
|
4808
|
+
@property
|
|
4809
|
+
def BackupId(self):
|
|
4810
|
+
r"""<p>备份ID</p>
|
|
4811
|
+
:rtype: int
|
|
4812
|
+
"""
|
|
4813
|
+
return self._BackupId
|
|
4814
|
+
|
|
4815
|
+
@BackupId.setter
|
|
4816
|
+
def BackupId(self, BackupId):
|
|
4817
|
+
self._BackupId = BackupId
|
|
4818
|
+
|
|
4819
|
+
|
|
4820
|
+
def _deserialize(self, params):
|
|
4821
|
+
self._BackupRegion = params.get("BackupRegion")
|
|
4822
|
+
self._BackupId = params.get("BackupId")
|
|
4726
4823
|
memeber_set = set(params.keys())
|
|
4727
4824
|
for name, value in vars(self).items():
|
|
4728
4825
|
property_name = name[1:]
|
|
@@ -22889,6 +22986,85 @@ class DescribeClusterInstanceGrpsResponse(AbstractModel):
|
|
|
22889
22986
|
self._RequestId = params.get("RequestId")
|
|
22890
22987
|
|
|
22891
22988
|
|
|
22989
|
+
class DescribeClusterLevelsRequest(AbstractModel):
|
|
22990
|
+
r"""DescribeClusterLevels请求参数结构体
|
|
22991
|
+
|
|
22992
|
+
"""
|
|
22993
|
+
|
|
22994
|
+
def __init__(self):
|
|
22995
|
+
r"""
|
|
22996
|
+
:param _Zone: 可用区
|
|
22997
|
+
:type Zone: str
|
|
22998
|
+
"""
|
|
22999
|
+
self._Zone = None
|
|
23000
|
+
|
|
23001
|
+
@property
|
|
23002
|
+
def Zone(self):
|
|
23003
|
+
r"""可用区
|
|
23004
|
+
:rtype: str
|
|
23005
|
+
"""
|
|
23006
|
+
return self._Zone
|
|
23007
|
+
|
|
23008
|
+
@Zone.setter
|
|
23009
|
+
def Zone(self, Zone):
|
|
23010
|
+
self._Zone = Zone
|
|
23011
|
+
|
|
23012
|
+
|
|
23013
|
+
def _deserialize(self, params):
|
|
23014
|
+
self._Zone = params.get("Zone")
|
|
23015
|
+
memeber_set = set(params.keys())
|
|
23016
|
+
for name, value in vars(self).items():
|
|
23017
|
+
property_name = name[1:]
|
|
23018
|
+
if property_name in memeber_set:
|
|
23019
|
+
memeber_set.remove(property_name)
|
|
23020
|
+
if len(memeber_set) > 0:
|
|
23021
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23022
|
+
|
|
23023
|
+
|
|
23024
|
+
|
|
23025
|
+
class DescribeClusterLevelsResponse(AbstractModel):
|
|
23026
|
+
r"""DescribeClusterLevels返回参数结构体
|
|
23027
|
+
|
|
23028
|
+
"""
|
|
23029
|
+
|
|
23030
|
+
def __init__(self):
|
|
23031
|
+
r"""
|
|
23032
|
+
:param _LevelList: 集群类型列表
|
|
23033
|
+
:type LevelList: list of str
|
|
23034
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23035
|
+
:type RequestId: str
|
|
23036
|
+
"""
|
|
23037
|
+
self._LevelList = None
|
|
23038
|
+
self._RequestId = None
|
|
23039
|
+
|
|
23040
|
+
@property
|
|
23041
|
+
def LevelList(self):
|
|
23042
|
+
r"""集群类型列表
|
|
23043
|
+
:rtype: list of str
|
|
23044
|
+
"""
|
|
23045
|
+
return self._LevelList
|
|
23046
|
+
|
|
23047
|
+
@LevelList.setter
|
|
23048
|
+
def LevelList(self, LevelList):
|
|
23049
|
+
self._LevelList = LevelList
|
|
23050
|
+
|
|
23051
|
+
@property
|
|
23052
|
+
def RequestId(self):
|
|
23053
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23054
|
+
:rtype: str
|
|
23055
|
+
"""
|
|
23056
|
+
return self._RequestId
|
|
23057
|
+
|
|
23058
|
+
@RequestId.setter
|
|
23059
|
+
def RequestId(self, RequestId):
|
|
23060
|
+
self._RequestId = RequestId
|
|
23061
|
+
|
|
23062
|
+
|
|
23063
|
+
def _deserialize(self, params):
|
|
23064
|
+
self._LevelList = params.get("LevelList")
|
|
23065
|
+
self._RequestId = params.get("RequestId")
|
|
23066
|
+
|
|
23067
|
+
|
|
22892
23068
|
class DescribeClusterParamLogsRequest(AbstractModel):
|
|
22893
23069
|
r"""DescribeClusterParamLogs请求参数结构体
|
|
22894
23070
|
|
|
@@ -34660,30 +34836,32 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34660
34836
|
|
|
34661
34837
|
def __init__(self):
|
|
34662
34838
|
r"""
|
|
34663
|
-
:param _Zone:
|
|
34839
|
+
:param _Zone: <p>可用区,每个地域提供最佳实践</p>
|
|
34664
34840
|
:type Zone: str
|
|
34665
|
-
:param _GoodsNum:
|
|
34841
|
+
:param _GoodsNum: <p>购买计算节点个数</p>
|
|
34666
34842
|
:type GoodsNum: int
|
|
34667
|
-
:param _InstancePayMode:
|
|
34843
|
+
:param _InstancePayMode: <p>实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS</p>
|
|
34668
34844
|
:type InstancePayMode: str
|
|
34669
|
-
:param _StoragePayMode:
|
|
34845
|
+
:param _StoragePayMode: <p>存储购买类型,可选值为:PREPAID, POSTPAID</p>
|
|
34670
34846
|
:type StoragePayMode: str
|
|
34671
|
-
:param _DeviceType:
|
|
34672
|
-
- common:表示通用型
|
|
34673
|
-
- exclusive:表示独享型
|
|
34847
|
+
:param _DeviceType: <p>实例设备类型,支持值如下:</p><ul><li>common:表示通用型</li><li>exclusive:表示独享型</li></ul>
|
|
34674
34848
|
:type DeviceType: str
|
|
34675
|
-
:param _Cpu: CPU核数,PREPAID与POSTPAID
|
|
34849
|
+
:param _Cpu: <p>CPU核数,PREPAID与POSTPAID实例类型必传</p>
|
|
34676
34850
|
:type Cpu: int
|
|
34677
|
-
:param _Memory:
|
|
34851
|
+
:param _Memory: <p>内存大小,单位G,PREPAID与POSTPAID实例类型必传</p>
|
|
34678
34852
|
:type Memory: int
|
|
34679
|
-
:param _Ccu: Ccu大小,serverless
|
|
34853
|
+
:param _Ccu: <p>Ccu大小,serverless类型必传</p>
|
|
34680
34854
|
:type Ccu: float
|
|
34681
|
-
:param _StorageLimit:
|
|
34855
|
+
:param _StorageLimit: <p>存储大小,PREPAID存储类型必传</p>
|
|
34682
34856
|
:type StorageLimit: int
|
|
34683
|
-
:param _TimeSpan:
|
|
34857
|
+
:param _TimeSpan: <p>购买时长,PREPAID购买类型必传</p>
|
|
34684
34858
|
:type TimeSpan: int
|
|
34685
|
-
:param _TimeUnit:
|
|
34859
|
+
:param _TimeUnit: <p>时长单位,可选值为:m,d。PREPAID购买类型必传</p>
|
|
34686
34860
|
:type TimeUnit: str
|
|
34861
|
+
:param _StorageVersion: <p>存储架构类型。 枚举值:1.0/2.0 默认值:1.0</p>
|
|
34862
|
+
:type StorageVersion: str
|
|
34863
|
+
:param _IsMultiAz: <p>存储是否跨AZ,2.0存储架构下有效</p>
|
|
34864
|
+
:type IsMultiAz: bool
|
|
34687
34865
|
"""
|
|
34688
34866
|
self._Zone = None
|
|
34689
34867
|
self._GoodsNum = None
|
|
@@ -34696,10 +34874,12 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34696
34874
|
self._StorageLimit = None
|
|
34697
34875
|
self._TimeSpan = None
|
|
34698
34876
|
self._TimeUnit = None
|
|
34877
|
+
self._StorageVersion = None
|
|
34878
|
+
self._IsMultiAz = None
|
|
34699
34879
|
|
|
34700
34880
|
@property
|
|
34701
34881
|
def Zone(self):
|
|
34702
|
-
r"""
|
|
34882
|
+
r"""<p>可用区,每个地域提供最佳实践</p>
|
|
34703
34883
|
:rtype: str
|
|
34704
34884
|
"""
|
|
34705
34885
|
return self._Zone
|
|
@@ -34710,7 +34890,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34710
34890
|
|
|
34711
34891
|
@property
|
|
34712
34892
|
def GoodsNum(self):
|
|
34713
|
-
r"""
|
|
34893
|
+
r"""<p>购买计算节点个数</p>
|
|
34714
34894
|
:rtype: int
|
|
34715
34895
|
"""
|
|
34716
34896
|
return self._GoodsNum
|
|
@@ -34721,7 +34901,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34721
34901
|
|
|
34722
34902
|
@property
|
|
34723
34903
|
def InstancePayMode(self):
|
|
34724
|
-
r"""
|
|
34904
|
+
r"""<p>实例购买类型,可选值为:PREPAID, POSTPAID, SERVERLESS</p>
|
|
34725
34905
|
:rtype: str
|
|
34726
34906
|
"""
|
|
34727
34907
|
return self._InstancePayMode
|
|
@@ -34732,7 +34912,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34732
34912
|
|
|
34733
34913
|
@property
|
|
34734
34914
|
def StoragePayMode(self):
|
|
34735
|
-
r"""
|
|
34915
|
+
r"""<p>存储购买类型,可选值为:PREPAID, POSTPAID</p>
|
|
34736
34916
|
:rtype: str
|
|
34737
34917
|
"""
|
|
34738
34918
|
return self._StoragePayMode
|
|
@@ -34743,9 +34923,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34743
34923
|
|
|
34744
34924
|
@property
|
|
34745
34925
|
def DeviceType(self):
|
|
34746
|
-
r"""
|
|
34747
|
-
- common:表示通用型
|
|
34748
|
-
- exclusive:表示独享型
|
|
34926
|
+
r"""<p>实例设备类型,支持值如下:</p><ul><li>common:表示通用型</li><li>exclusive:表示独享型</li></ul>
|
|
34749
34927
|
:rtype: str
|
|
34750
34928
|
"""
|
|
34751
34929
|
return self._DeviceType
|
|
@@ -34756,7 +34934,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34756
34934
|
|
|
34757
34935
|
@property
|
|
34758
34936
|
def Cpu(self):
|
|
34759
|
-
r"""CPU核数,PREPAID与POSTPAID
|
|
34937
|
+
r"""<p>CPU核数,PREPAID与POSTPAID实例类型必传</p>
|
|
34760
34938
|
:rtype: int
|
|
34761
34939
|
"""
|
|
34762
34940
|
return self._Cpu
|
|
@@ -34767,7 +34945,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34767
34945
|
|
|
34768
34946
|
@property
|
|
34769
34947
|
def Memory(self):
|
|
34770
|
-
r"""
|
|
34948
|
+
r"""<p>内存大小,单位G,PREPAID与POSTPAID实例类型必传</p>
|
|
34771
34949
|
:rtype: int
|
|
34772
34950
|
"""
|
|
34773
34951
|
return self._Memory
|
|
@@ -34778,7 +34956,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34778
34956
|
|
|
34779
34957
|
@property
|
|
34780
34958
|
def Ccu(self):
|
|
34781
|
-
r"""Ccu大小,serverless
|
|
34959
|
+
r"""<p>Ccu大小,serverless类型必传</p>
|
|
34782
34960
|
:rtype: float
|
|
34783
34961
|
"""
|
|
34784
34962
|
return self._Ccu
|
|
@@ -34789,7 +34967,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34789
34967
|
|
|
34790
34968
|
@property
|
|
34791
34969
|
def StorageLimit(self):
|
|
34792
|
-
r"""
|
|
34970
|
+
r"""<p>存储大小,PREPAID存储类型必传</p>
|
|
34793
34971
|
:rtype: int
|
|
34794
34972
|
"""
|
|
34795
34973
|
return self._StorageLimit
|
|
@@ -34800,7 +34978,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34800
34978
|
|
|
34801
34979
|
@property
|
|
34802
34980
|
def TimeSpan(self):
|
|
34803
|
-
r"""
|
|
34981
|
+
r"""<p>购买时长,PREPAID购买类型必传</p>
|
|
34804
34982
|
:rtype: int
|
|
34805
34983
|
"""
|
|
34806
34984
|
return self._TimeSpan
|
|
@@ -34811,7 +34989,7 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34811
34989
|
|
|
34812
34990
|
@property
|
|
34813
34991
|
def TimeUnit(self):
|
|
34814
|
-
r"""
|
|
34992
|
+
r"""<p>时长单位,可选值为:m,d。PREPAID购买类型必传</p>
|
|
34815
34993
|
:rtype: str
|
|
34816
34994
|
"""
|
|
34817
34995
|
return self._TimeUnit
|
|
@@ -34820,6 +34998,28 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34820
34998
|
def TimeUnit(self, TimeUnit):
|
|
34821
34999
|
self._TimeUnit = TimeUnit
|
|
34822
35000
|
|
|
35001
|
+
@property
|
|
35002
|
+
def StorageVersion(self):
|
|
35003
|
+
r"""<p>存储架构类型。 枚举值:1.0/2.0 默认值:1.0</p>
|
|
35004
|
+
:rtype: str
|
|
35005
|
+
"""
|
|
35006
|
+
return self._StorageVersion
|
|
35007
|
+
|
|
35008
|
+
@StorageVersion.setter
|
|
35009
|
+
def StorageVersion(self, StorageVersion):
|
|
35010
|
+
self._StorageVersion = StorageVersion
|
|
35011
|
+
|
|
35012
|
+
@property
|
|
35013
|
+
def IsMultiAz(self):
|
|
35014
|
+
r"""<p>存储是否跨AZ,2.0存储架构下有效</p>
|
|
35015
|
+
:rtype: bool
|
|
35016
|
+
"""
|
|
35017
|
+
return self._IsMultiAz
|
|
35018
|
+
|
|
35019
|
+
@IsMultiAz.setter
|
|
35020
|
+
def IsMultiAz(self, IsMultiAz):
|
|
35021
|
+
self._IsMultiAz = IsMultiAz
|
|
35022
|
+
|
|
34823
35023
|
|
|
34824
35024
|
def _deserialize(self, params):
|
|
34825
35025
|
self._Zone = params.get("Zone")
|
|
@@ -34833,6 +35033,8 @@ class InquirePriceCreateRequest(AbstractModel):
|
|
|
34833
35033
|
self._StorageLimit = params.get("StorageLimit")
|
|
34834
35034
|
self._TimeSpan = params.get("TimeSpan")
|
|
34835
35035
|
self._TimeUnit = params.get("TimeUnit")
|
|
35036
|
+
self._StorageVersion = params.get("StorageVersion")
|
|
35037
|
+
self._IsMultiAz = params.get("IsMultiAz")
|
|
34836
35038
|
memeber_set = set(params.keys())
|
|
34837
35039
|
for name, value in vars(self).items():
|
|
34838
35040
|
property_name = name[1:]
|
|
@@ -34850,9 +35052,9 @@ class InquirePriceCreateResponse(AbstractModel):
|
|
|
34850
35052
|
|
|
34851
35053
|
def __init__(self):
|
|
34852
35054
|
r"""
|
|
34853
|
-
:param _InstancePrice:
|
|
35055
|
+
:param _InstancePrice: <p>实例价格</p>
|
|
34854
35056
|
:type InstancePrice: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
|
|
34855
|
-
:param _StoragePrice:
|
|
35057
|
+
:param _StoragePrice: <p>存储价格</p>
|
|
34856
35058
|
:type StoragePrice: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
|
|
34857
35059
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34858
35060
|
:type RequestId: str
|
|
@@ -34863,7 +35065,7 @@ class InquirePriceCreateResponse(AbstractModel):
|
|
|
34863
35065
|
|
|
34864
35066
|
@property
|
|
34865
35067
|
def InstancePrice(self):
|
|
34866
|
-
r"""
|
|
35068
|
+
r"""<p>实例价格</p>
|
|
34867
35069
|
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
|
|
34868
35070
|
"""
|
|
34869
35071
|
return self._InstancePrice
|
|
@@ -34874,7 +35076,7 @@ class InquirePriceCreateResponse(AbstractModel):
|
|
|
34874
35076
|
|
|
34875
35077
|
@property
|
|
34876
35078
|
def StoragePrice(self):
|
|
34877
|
-
r"""
|
|
35079
|
+
r"""<p>存储价格</p>
|
|
34878
35080
|
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.TradePrice`
|
|
34879
35081
|
"""
|
|
34880
35082
|
return self._StoragePrice
|
|
@@ -40170,23 +40372,23 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40170
40372
|
|
|
40171
40373
|
def __init__(self):
|
|
40172
40374
|
r"""
|
|
40173
|
-
:param _LogicBackupEnable:
|
|
40375
|
+
:param _LogicBackupEnable: <p>是否开启自动逻辑备份</p>
|
|
40174
40376
|
:type LogicBackupEnable: str
|
|
40175
|
-
:param _LogicBackupTimeBeg:
|
|
40377
|
+
:param _LogicBackupTimeBeg: <p>自动逻辑备份开始时间</p>
|
|
40176
40378
|
:type LogicBackupTimeBeg: int
|
|
40177
|
-
:param _LogicBackupTimeEnd:
|
|
40379
|
+
:param _LogicBackupTimeEnd: <p>自动逻辑备份结束时间</p>
|
|
40178
40380
|
:type LogicBackupTimeEnd: int
|
|
40179
|
-
:param _LogicReserveDuration:
|
|
40180
|
-
单位:秒
|
|
40381
|
+
:param _LogicReserveDuration: <p>自动逻辑备份保留时间<br>单位:秒</p>
|
|
40181
40382
|
:type LogicReserveDuration: int
|
|
40182
|
-
:param _LogicCrossRegionsEnable:
|
|
40183
|
-
可选值:ON/OFF
|
|
40383
|
+
:param _LogicCrossRegionsEnable: <p>是否开启跨地域逻辑备份<br>可选值:ON/OFF</p>
|
|
40184
40384
|
:type LogicCrossRegionsEnable: str
|
|
40185
|
-
:param _LogicCrossRegions:
|
|
40385
|
+
:param _LogicCrossRegions: <p>逻辑备份所跨地域</p>
|
|
40186
40386
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40187
40387
|
:type LogicCrossRegions: list of str
|
|
40188
|
-
:param _AutoCopyVaults:
|
|
40388
|
+
:param _AutoCopyVaults: <p>备份投递关系</p>
|
|
40189
40389
|
:type AutoCopyVaults: list of CreateBackupVaultItem
|
|
40390
|
+
:param _LogicCrossRegionSaveDays: <p>天</p><p>单位:跨地域逻辑备份保留时间</p>
|
|
40391
|
+
:type LogicCrossRegionSaveDays: int
|
|
40190
40392
|
"""
|
|
40191
40393
|
self._LogicBackupEnable = None
|
|
40192
40394
|
self._LogicBackupTimeBeg = None
|
|
@@ -40195,10 +40397,11 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40195
40397
|
self._LogicCrossRegionsEnable = None
|
|
40196
40398
|
self._LogicCrossRegions = None
|
|
40197
40399
|
self._AutoCopyVaults = None
|
|
40400
|
+
self._LogicCrossRegionSaveDays = None
|
|
40198
40401
|
|
|
40199
40402
|
@property
|
|
40200
40403
|
def LogicBackupEnable(self):
|
|
40201
|
-
r"""
|
|
40404
|
+
r"""<p>是否开启自动逻辑备份</p>
|
|
40202
40405
|
:rtype: str
|
|
40203
40406
|
"""
|
|
40204
40407
|
return self._LogicBackupEnable
|
|
@@ -40209,7 +40412,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40209
40412
|
|
|
40210
40413
|
@property
|
|
40211
40414
|
def LogicBackupTimeBeg(self):
|
|
40212
|
-
r"""
|
|
40415
|
+
r"""<p>自动逻辑备份开始时间</p>
|
|
40213
40416
|
:rtype: int
|
|
40214
40417
|
"""
|
|
40215
40418
|
return self._LogicBackupTimeBeg
|
|
@@ -40220,7 +40423,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40220
40423
|
|
|
40221
40424
|
@property
|
|
40222
40425
|
def LogicBackupTimeEnd(self):
|
|
40223
|
-
r"""
|
|
40426
|
+
r"""<p>自动逻辑备份结束时间</p>
|
|
40224
40427
|
:rtype: int
|
|
40225
40428
|
"""
|
|
40226
40429
|
return self._LogicBackupTimeEnd
|
|
@@ -40231,8 +40434,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40231
40434
|
|
|
40232
40435
|
@property
|
|
40233
40436
|
def LogicReserveDuration(self):
|
|
40234
|
-
r"""
|
|
40235
|
-
单位:秒
|
|
40437
|
+
r"""<p>自动逻辑备份保留时间<br>单位:秒</p>
|
|
40236
40438
|
:rtype: int
|
|
40237
40439
|
"""
|
|
40238
40440
|
return self._LogicReserveDuration
|
|
@@ -40243,8 +40445,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40243
40445
|
|
|
40244
40446
|
@property
|
|
40245
40447
|
def LogicCrossRegionsEnable(self):
|
|
40246
|
-
r"""
|
|
40247
|
-
可选值:ON/OFF
|
|
40448
|
+
r"""<p>是否开启跨地域逻辑备份<br>可选值:ON/OFF</p>
|
|
40248
40449
|
:rtype: str
|
|
40249
40450
|
"""
|
|
40250
40451
|
return self._LogicCrossRegionsEnable
|
|
@@ -40255,7 +40456,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40255
40456
|
|
|
40256
40457
|
@property
|
|
40257
40458
|
def LogicCrossRegions(self):
|
|
40258
|
-
r"""
|
|
40459
|
+
r"""<p>逻辑备份所跨地域</p>
|
|
40259
40460
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40260
40461
|
:rtype: list of str
|
|
40261
40462
|
"""
|
|
@@ -40267,7 +40468,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40267
40468
|
|
|
40268
40469
|
@property
|
|
40269
40470
|
def AutoCopyVaults(self):
|
|
40270
|
-
r"""
|
|
40471
|
+
r"""<p>备份投递关系</p>
|
|
40271
40472
|
:rtype: list of CreateBackupVaultItem
|
|
40272
40473
|
"""
|
|
40273
40474
|
return self._AutoCopyVaults
|
|
@@ -40276,6 +40477,17 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40276
40477
|
def AutoCopyVaults(self, AutoCopyVaults):
|
|
40277
40478
|
self._AutoCopyVaults = AutoCopyVaults
|
|
40278
40479
|
|
|
40480
|
+
@property
|
|
40481
|
+
def LogicCrossRegionSaveDays(self):
|
|
40482
|
+
r"""<p>天</p><p>单位:跨地域逻辑备份保留时间</p>
|
|
40483
|
+
:rtype: int
|
|
40484
|
+
"""
|
|
40485
|
+
return self._LogicCrossRegionSaveDays
|
|
40486
|
+
|
|
40487
|
+
@LogicCrossRegionSaveDays.setter
|
|
40488
|
+
def LogicCrossRegionSaveDays(self, LogicCrossRegionSaveDays):
|
|
40489
|
+
self._LogicCrossRegionSaveDays = LogicCrossRegionSaveDays
|
|
40490
|
+
|
|
40279
40491
|
|
|
40280
40492
|
def _deserialize(self, params):
|
|
40281
40493
|
self._LogicBackupEnable = params.get("LogicBackupEnable")
|
|
@@ -40290,6 +40502,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
|
40290
40502
|
obj = CreateBackupVaultItem()
|
|
40291
40503
|
obj._deserialize(item)
|
|
40292
40504
|
self._AutoCopyVaults.append(obj)
|
|
40505
|
+
self._LogicCrossRegionSaveDays = params.get("LogicCrossRegionSaveDays")
|
|
40293
40506
|
memeber_set = set(params.keys())
|
|
40294
40507
|
for name, value in vars(self).items():
|
|
40295
40508
|
property_name = name[1:]
|
|
@@ -42027,17 +42240,20 @@ class ModifyBinlogSaveDaysRequest(AbstractModel):
|
|
|
42027
42240
|
|
|
42028
42241
|
def __init__(self):
|
|
42029
42242
|
r"""
|
|
42030
|
-
:param _ClusterId:
|
|
42243
|
+
:param _ClusterId: <p>集群ID</p>
|
|
42031
42244
|
:type ClusterId: str
|
|
42032
|
-
:param _BinlogSaveDays: Binlog
|
|
42245
|
+
:param _BinlogSaveDays: <p>Binlog保留天数</p>
|
|
42033
42246
|
:type BinlogSaveDays: int
|
|
42247
|
+
:param _BinlogCrossRegionSaveDays: <p>跨地域备份保留时间</p><p>单位:天</p>
|
|
42248
|
+
:type BinlogCrossRegionSaveDays: int
|
|
42034
42249
|
"""
|
|
42035
42250
|
self._ClusterId = None
|
|
42036
42251
|
self._BinlogSaveDays = None
|
|
42252
|
+
self._BinlogCrossRegionSaveDays = None
|
|
42037
42253
|
|
|
42038
42254
|
@property
|
|
42039
42255
|
def ClusterId(self):
|
|
42040
|
-
r"""
|
|
42256
|
+
r"""<p>集群ID</p>
|
|
42041
42257
|
:rtype: str
|
|
42042
42258
|
"""
|
|
42043
42259
|
return self._ClusterId
|
|
@@ -42048,7 +42264,7 @@ class ModifyBinlogSaveDaysRequest(AbstractModel):
|
|
|
42048
42264
|
|
|
42049
42265
|
@property
|
|
42050
42266
|
def BinlogSaveDays(self):
|
|
42051
|
-
r"""Binlog
|
|
42267
|
+
r"""<p>Binlog保留天数</p>
|
|
42052
42268
|
:rtype: int
|
|
42053
42269
|
"""
|
|
42054
42270
|
return self._BinlogSaveDays
|
|
@@ -42057,10 +42273,22 @@ class ModifyBinlogSaveDaysRequest(AbstractModel):
|
|
|
42057
42273
|
def BinlogSaveDays(self, BinlogSaveDays):
|
|
42058
42274
|
self._BinlogSaveDays = BinlogSaveDays
|
|
42059
42275
|
|
|
42276
|
+
@property
|
|
42277
|
+
def BinlogCrossRegionSaveDays(self):
|
|
42278
|
+
r"""<p>跨地域备份保留时间</p><p>单位:天</p>
|
|
42279
|
+
:rtype: int
|
|
42280
|
+
"""
|
|
42281
|
+
return self._BinlogCrossRegionSaveDays
|
|
42282
|
+
|
|
42283
|
+
@BinlogCrossRegionSaveDays.setter
|
|
42284
|
+
def BinlogCrossRegionSaveDays(self, BinlogCrossRegionSaveDays):
|
|
42285
|
+
self._BinlogCrossRegionSaveDays = BinlogCrossRegionSaveDays
|
|
42286
|
+
|
|
42060
42287
|
|
|
42061
42288
|
def _deserialize(self, params):
|
|
42062
42289
|
self._ClusterId = params.get("ClusterId")
|
|
42063
42290
|
self._BinlogSaveDays = params.get("BinlogSaveDays")
|
|
42291
|
+
self._BinlogCrossRegionSaveDays = params.get("BinlogCrossRegionSaveDays")
|
|
42064
42292
|
memeber_set = set(params.keys())
|
|
42065
42293
|
for name, value in vars(self).items():
|
|
42066
42294
|
property_name = name[1:]
|
|
@@ -46396,20 +46624,23 @@ class ModifySnapBackupCrossRegionConfigRequest(AbstractModel):
|
|
|
46396
46624
|
|
|
46397
46625
|
def __init__(self):
|
|
46398
46626
|
r"""
|
|
46399
|
-
:param _ClusterId:
|
|
46627
|
+
:param _ClusterId: <p>集群ID</p>
|
|
46400
46628
|
:type ClusterId: str
|
|
46401
|
-
:param _CrossRegionsEnable:
|
|
46629
|
+
:param _CrossRegionsEnable: <p>是否开启跨地域快照备份ON/OFF</p>
|
|
46402
46630
|
:type CrossRegionsEnable: str
|
|
46403
|
-
:param _CrossRegions:
|
|
46631
|
+
:param _CrossRegions: <p>快照备份所跨地域</p>
|
|
46404
46632
|
:type CrossRegions: list of str
|
|
46633
|
+
:param _CrossRegionSaveDays: <p>跨地域备份保留时间</p><p>单位:天</p>
|
|
46634
|
+
:type CrossRegionSaveDays: int
|
|
46405
46635
|
"""
|
|
46406
46636
|
self._ClusterId = None
|
|
46407
46637
|
self._CrossRegionsEnable = None
|
|
46408
46638
|
self._CrossRegions = None
|
|
46639
|
+
self._CrossRegionSaveDays = None
|
|
46409
46640
|
|
|
46410
46641
|
@property
|
|
46411
46642
|
def ClusterId(self):
|
|
46412
|
-
r"""
|
|
46643
|
+
r"""<p>集群ID</p>
|
|
46413
46644
|
:rtype: str
|
|
46414
46645
|
"""
|
|
46415
46646
|
return self._ClusterId
|
|
@@ -46420,7 +46651,7 @@ class ModifySnapBackupCrossRegionConfigRequest(AbstractModel):
|
|
|
46420
46651
|
|
|
46421
46652
|
@property
|
|
46422
46653
|
def CrossRegionsEnable(self):
|
|
46423
|
-
r"""
|
|
46654
|
+
r"""<p>是否开启跨地域快照备份ON/OFF</p>
|
|
46424
46655
|
:rtype: str
|
|
46425
46656
|
"""
|
|
46426
46657
|
return self._CrossRegionsEnable
|
|
@@ -46431,7 +46662,7 @@ class ModifySnapBackupCrossRegionConfigRequest(AbstractModel):
|
|
|
46431
46662
|
|
|
46432
46663
|
@property
|
|
46433
46664
|
def CrossRegions(self):
|
|
46434
|
-
r"""
|
|
46665
|
+
r"""<p>快照备份所跨地域</p>
|
|
46435
46666
|
:rtype: list of str
|
|
46436
46667
|
"""
|
|
46437
46668
|
return self._CrossRegions
|
|
@@ -46440,11 +46671,23 @@ class ModifySnapBackupCrossRegionConfigRequest(AbstractModel):
|
|
|
46440
46671
|
def CrossRegions(self, CrossRegions):
|
|
46441
46672
|
self._CrossRegions = CrossRegions
|
|
46442
46673
|
|
|
46674
|
+
@property
|
|
46675
|
+
def CrossRegionSaveDays(self):
|
|
46676
|
+
r"""<p>跨地域备份保留时间</p><p>单位:天</p>
|
|
46677
|
+
:rtype: int
|
|
46678
|
+
"""
|
|
46679
|
+
return self._CrossRegionSaveDays
|
|
46680
|
+
|
|
46681
|
+
@CrossRegionSaveDays.setter
|
|
46682
|
+
def CrossRegionSaveDays(self, CrossRegionSaveDays):
|
|
46683
|
+
self._CrossRegionSaveDays = CrossRegionSaveDays
|
|
46684
|
+
|
|
46443
46685
|
|
|
46444
46686
|
def _deserialize(self, params):
|
|
46445
46687
|
self._ClusterId = params.get("ClusterId")
|
|
46446
46688
|
self._CrossRegionsEnable = params.get("CrossRegionsEnable")
|
|
46447
46689
|
self._CrossRegions = params.get("CrossRegions")
|
|
46690
|
+
self._CrossRegionSaveDays = params.get("CrossRegionSaveDays")
|
|
46448
46691
|
memeber_set = set(params.keys())
|
|
46449
46692
|
for name, value in vars(self).items():
|
|
46450
46693
|
property_name = name[1:]
|
|
@@ -46462,7 +46705,7 @@ class ModifySnapBackupCrossRegionConfigResponse(AbstractModel):
|
|
|
46462
46705
|
|
|
46463
46706
|
def __init__(self):
|
|
46464
46707
|
r"""
|
|
46465
|
-
:param _TaskId:
|
|
46708
|
+
:param _TaskId: <p>任务id</p>
|
|
46466
46709
|
:type TaskId: int
|
|
46467
46710
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
46468
46711
|
:type RequestId: str
|
|
@@ -46472,7 +46715,7 @@ class ModifySnapBackupCrossRegionConfigResponse(AbstractModel):
|
|
|
46472
46715
|
|
|
46473
46716
|
@property
|
|
46474
46717
|
def TaskId(self):
|
|
46475
|
-
r"""
|
|
46718
|
+
r"""<p>任务id</p>
|
|
46476
46719
|
:rtype: int
|
|
46477
46720
|
"""
|
|
46478
46721
|
return self._TaskId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cynosdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
tencentcloud_sdk_python_cynosdb-3.1.129/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.129
|
{tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cynosdb-3.1.129 → tencentcloud_sdk_python_cynosdb-3.1.131}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|