tencentcloud-sdk-python-postgres 3.1.112__tar.gz → 3.1.123__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_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/setup.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/v20170312/models.py +87 -42
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_postgres-3.1.123/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_postgres-3.1.112/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/README.rst +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/setup.cfg +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-postgres',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.123,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Postgres SDK for Python',
|
|
@@ -1329,33 +1329,36 @@ class BackupPlan(AbstractModel):
|
|
|
1329
1329
|
|
|
1330
1330
|
def __init__(self):
|
|
1331
1331
|
r"""
|
|
1332
|
-
:param _BackupPeriod:
|
|
1332
|
+
:param _BackupPeriod: <p>备份周期</p>
|
|
1333
1333
|
:type BackupPeriod: str
|
|
1334
|
-
:param _BaseBackupRetentionPeriod:
|
|
1334
|
+
:param _BaseBackupRetentionPeriod: <p>数据备份保留时长。单位:天</p>
|
|
1335
1335
|
:type BaseBackupRetentionPeriod: int
|
|
1336
|
-
:param _MinBackupStartTime:
|
|
1336
|
+
:param _MinBackupStartTime: <p>开始备份的最早时间</p>
|
|
1337
1337
|
:type MinBackupStartTime: str
|
|
1338
|
-
:param _MaxBackupStartTime:
|
|
1338
|
+
:param _MaxBackupStartTime: <p>开始备份的最晚时间</p>
|
|
1339
1339
|
:type MaxBackupStartTime: str
|
|
1340
|
-
:param
|
|
1340
|
+
:param _BackupMethod: <p>备份类型</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
1341
|
+
:type BackupMethod: str
|
|
1342
|
+
:param _PlanId: <p>备份计划ID</p>
|
|
1341
1343
|
:type PlanId: str
|
|
1342
|
-
:param _PlanName:
|
|
1344
|
+
:param _PlanName: <p>备份计划自定义名称。</p>
|
|
1343
1345
|
:type PlanName: str
|
|
1344
|
-
:param _LogBackupRetentionPeriod:
|
|
1346
|
+
:param _LogBackupRetentionPeriod: <p>日志备份保留时长。单位:天</p>
|
|
1345
1347
|
:type LogBackupRetentionPeriod: int
|
|
1346
|
-
:param _CreatedTime:
|
|
1348
|
+
:param _CreatedTime: <p>创建时间。</p>
|
|
1347
1349
|
:type CreatedTime: str
|
|
1348
|
-
:param _UpdatedTime:
|
|
1350
|
+
:param _UpdatedTime: <p>最近一次的修改时间。</p>
|
|
1349
1351
|
:type UpdatedTime: str
|
|
1350
|
-
:param _PlanType:
|
|
1352
|
+
:param _PlanType: <p>备份计划类型。系统默认创建的为default,自定义的为custom。</p>
|
|
1351
1353
|
:type PlanType: str
|
|
1352
|
-
:param _BackupPeriodType:
|
|
1354
|
+
:param _BackupPeriodType: <p>备份周期类型。当前支持week、month。</p>
|
|
1353
1355
|
:type BackupPeriodType: str
|
|
1354
1356
|
"""
|
|
1355
1357
|
self._BackupPeriod = None
|
|
1356
1358
|
self._BaseBackupRetentionPeriod = None
|
|
1357
1359
|
self._MinBackupStartTime = None
|
|
1358
1360
|
self._MaxBackupStartTime = None
|
|
1361
|
+
self._BackupMethod = None
|
|
1359
1362
|
self._PlanId = None
|
|
1360
1363
|
self._PlanName = None
|
|
1361
1364
|
self._LogBackupRetentionPeriod = None
|
|
@@ -1366,7 +1369,7 @@ class BackupPlan(AbstractModel):
|
|
|
1366
1369
|
|
|
1367
1370
|
@property
|
|
1368
1371
|
def BackupPeriod(self):
|
|
1369
|
-
r"""
|
|
1372
|
+
r"""<p>备份周期</p>
|
|
1370
1373
|
:rtype: str
|
|
1371
1374
|
"""
|
|
1372
1375
|
return self._BackupPeriod
|
|
@@ -1377,7 +1380,7 @@ class BackupPlan(AbstractModel):
|
|
|
1377
1380
|
|
|
1378
1381
|
@property
|
|
1379
1382
|
def BaseBackupRetentionPeriod(self):
|
|
1380
|
-
r"""
|
|
1383
|
+
r"""<p>数据备份保留时长。单位:天</p>
|
|
1381
1384
|
:rtype: int
|
|
1382
1385
|
"""
|
|
1383
1386
|
return self._BaseBackupRetentionPeriod
|
|
@@ -1388,7 +1391,7 @@ class BackupPlan(AbstractModel):
|
|
|
1388
1391
|
|
|
1389
1392
|
@property
|
|
1390
1393
|
def MinBackupStartTime(self):
|
|
1391
|
-
r"""
|
|
1394
|
+
r"""<p>开始备份的最早时间</p>
|
|
1392
1395
|
:rtype: str
|
|
1393
1396
|
"""
|
|
1394
1397
|
return self._MinBackupStartTime
|
|
@@ -1399,7 +1402,7 @@ class BackupPlan(AbstractModel):
|
|
|
1399
1402
|
|
|
1400
1403
|
@property
|
|
1401
1404
|
def MaxBackupStartTime(self):
|
|
1402
|
-
r"""
|
|
1405
|
+
r"""<p>开始备份的最晚时间</p>
|
|
1403
1406
|
:rtype: str
|
|
1404
1407
|
"""
|
|
1405
1408
|
return self._MaxBackupStartTime
|
|
@@ -1408,9 +1411,20 @@ class BackupPlan(AbstractModel):
|
|
|
1408
1411
|
def MaxBackupStartTime(self, MaxBackupStartTime):
|
|
1409
1412
|
self._MaxBackupStartTime = MaxBackupStartTime
|
|
1410
1413
|
|
|
1414
|
+
@property
|
|
1415
|
+
def BackupMethod(self):
|
|
1416
|
+
r"""<p>备份类型</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
1417
|
+
:rtype: str
|
|
1418
|
+
"""
|
|
1419
|
+
return self._BackupMethod
|
|
1420
|
+
|
|
1421
|
+
@BackupMethod.setter
|
|
1422
|
+
def BackupMethod(self, BackupMethod):
|
|
1423
|
+
self._BackupMethod = BackupMethod
|
|
1424
|
+
|
|
1411
1425
|
@property
|
|
1412
1426
|
def PlanId(self):
|
|
1413
|
-
r"""
|
|
1427
|
+
r"""<p>备份计划ID</p>
|
|
1414
1428
|
:rtype: str
|
|
1415
1429
|
"""
|
|
1416
1430
|
return self._PlanId
|
|
@@ -1421,7 +1435,7 @@ class BackupPlan(AbstractModel):
|
|
|
1421
1435
|
|
|
1422
1436
|
@property
|
|
1423
1437
|
def PlanName(self):
|
|
1424
|
-
r"""
|
|
1438
|
+
r"""<p>备份计划自定义名称。</p>
|
|
1425
1439
|
:rtype: str
|
|
1426
1440
|
"""
|
|
1427
1441
|
return self._PlanName
|
|
@@ -1432,7 +1446,7 @@ class BackupPlan(AbstractModel):
|
|
|
1432
1446
|
|
|
1433
1447
|
@property
|
|
1434
1448
|
def LogBackupRetentionPeriod(self):
|
|
1435
|
-
r"""
|
|
1449
|
+
r"""<p>日志备份保留时长。单位:天</p>
|
|
1436
1450
|
:rtype: int
|
|
1437
1451
|
"""
|
|
1438
1452
|
return self._LogBackupRetentionPeriod
|
|
@@ -1443,7 +1457,7 @@ class BackupPlan(AbstractModel):
|
|
|
1443
1457
|
|
|
1444
1458
|
@property
|
|
1445
1459
|
def CreatedTime(self):
|
|
1446
|
-
r"""
|
|
1460
|
+
r"""<p>创建时间。</p>
|
|
1447
1461
|
:rtype: str
|
|
1448
1462
|
"""
|
|
1449
1463
|
return self._CreatedTime
|
|
@@ -1454,7 +1468,7 @@ class BackupPlan(AbstractModel):
|
|
|
1454
1468
|
|
|
1455
1469
|
@property
|
|
1456
1470
|
def UpdatedTime(self):
|
|
1457
|
-
r"""
|
|
1471
|
+
r"""<p>最近一次的修改时间。</p>
|
|
1458
1472
|
:rtype: str
|
|
1459
1473
|
"""
|
|
1460
1474
|
return self._UpdatedTime
|
|
@@ -1465,7 +1479,7 @@ class BackupPlan(AbstractModel):
|
|
|
1465
1479
|
|
|
1466
1480
|
@property
|
|
1467
1481
|
def PlanType(self):
|
|
1468
|
-
r"""
|
|
1482
|
+
r"""<p>备份计划类型。系统默认创建的为default,自定义的为custom。</p>
|
|
1469
1483
|
:rtype: str
|
|
1470
1484
|
"""
|
|
1471
1485
|
return self._PlanType
|
|
@@ -1476,7 +1490,7 @@ class BackupPlan(AbstractModel):
|
|
|
1476
1490
|
|
|
1477
1491
|
@property
|
|
1478
1492
|
def BackupPeriodType(self):
|
|
1479
|
-
r"""
|
|
1493
|
+
r"""<p>备份周期类型。当前支持week、month。</p>
|
|
1480
1494
|
:rtype: str
|
|
1481
1495
|
"""
|
|
1482
1496
|
return self._BackupPeriodType
|
|
@@ -1491,6 +1505,7 @@ class BackupPlan(AbstractModel):
|
|
|
1491
1505
|
self._BaseBackupRetentionPeriod = params.get("BaseBackupRetentionPeriod")
|
|
1492
1506
|
self._MinBackupStartTime = params.get("MinBackupStartTime")
|
|
1493
1507
|
self._MaxBackupStartTime = params.get("MaxBackupStartTime")
|
|
1508
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
1494
1509
|
self._PlanId = params.get("PlanId")
|
|
1495
1510
|
self._PlanName = params.get("PlanName")
|
|
1496
1511
|
self._LogBackupRetentionPeriod = params.get("LogBackupRetentionPeriod")
|
|
@@ -3160,14 +3175,17 @@ class CreateBaseBackupRequest(AbstractModel):
|
|
|
3160
3175
|
|
|
3161
3176
|
def __init__(self):
|
|
3162
3177
|
r"""
|
|
3163
|
-
:param _DBInstanceId:
|
|
3178
|
+
:param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
3164
3179
|
:type DBInstanceId: str
|
|
3180
|
+
:param _BackupMethod: <p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
3181
|
+
:type BackupMethod: str
|
|
3165
3182
|
"""
|
|
3166
3183
|
self._DBInstanceId = None
|
|
3184
|
+
self._BackupMethod = None
|
|
3167
3185
|
|
|
3168
3186
|
@property
|
|
3169
3187
|
def DBInstanceId(self):
|
|
3170
|
-
r"""
|
|
3188
|
+
r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
3171
3189
|
:rtype: str
|
|
3172
3190
|
"""
|
|
3173
3191
|
return self._DBInstanceId
|
|
@@ -3176,9 +3194,21 @@ class CreateBaseBackupRequest(AbstractModel):
|
|
|
3176
3194
|
def DBInstanceId(self, DBInstanceId):
|
|
3177
3195
|
self._DBInstanceId = DBInstanceId
|
|
3178
3196
|
|
|
3197
|
+
@property
|
|
3198
|
+
def BackupMethod(self):
|
|
3199
|
+
r"""<p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
3200
|
+
:rtype: str
|
|
3201
|
+
"""
|
|
3202
|
+
return self._BackupMethod
|
|
3203
|
+
|
|
3204
|
+
@BackupMethod.setter
|
|
3205
|
+
def BackupMethod(self, BackupMethod):
|
|
3206
|
+
self._BackupMethod = BackupMethod
|
|
3207
|
+
|
|
3179
3208
|
|
|
3180
3209
|
def _deserialize(self, params):
|
|
3181
3210
|
self._DBInstanceId = params.get("DBInstanceId")
|
|
3211
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
3182
3212
|
memeber_set = set(params.keys())
|
|
3183
3213
|
for name, value in vars(self).items():
|
|
3184
3214
|
property_name = name[1:]
|
|
@@ -3196,7 +3226,7 @@ class CreateBaseBackupResponse(AbstractModel):
|
|
|
3196
3226
|
|
|
3197
3227
|
def __init__(self):
|
|
3198
3228
|
r"""
|
|
3199
|
-
:param _BaseBackupId:
|
|
3229
|
+
:param _BaseBackupId: <p>数据备份集ID</p>
|
|
3200
3230
|
:type BaseBackupId: str
|
|
3201
3231
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3202
3232
|
:type RequestId: str
|
|
@@ -3206,7 +3236,7 @@ class CreateBaseBackupResponse(AbstractModel):
|
|
|
3206
3236
|
|
|
3207
3237
|
@property
|
|
3208
3238
|
def BaseBackupId(self):
|
|
3209
|
-
r"""
|
|
3239
|
+
r"""<p>数据备份集ID</p>
|
|
3210
3240
|
:rtype: str
|
|
3211
3241
|
"""
|
|
3212
3242
|
return self._BaseBackupId
|
|
@@ -16049,22 +16079,24 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16049
16079
|
|
|
16050
16080
|
def __init__(self):
|
|
16051
16081
|
r"""
|
|
16052
|
-
:param _DBInstanceId:
|
|
16082
|
+
:param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16053
16083
|
:type DBInstanceId: str
|
|
16054
|
-
:param _MinBackupStartTime:
|
|
16084
|
+
:param _MinBackupStartTime: <p>实例最早开始备份时间</p>
|
|
16055
16085
|
:type MinBackupStartTime: str
|
|
16056
|
-
:param _MaxBackupStartTime:
|
|
16086
|
+
:param _MaxBackupStartTime: <p>实例最晚开始备份时间</p>
|
|
16057
16087
|
:type MaxBackupStartTime: str
|
|
16058
|
-
:param _BaseBackupRetentionPeriod:
|
|
16088
|
+
:param _BaseBackupRetentionPeriod: <p>实例备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16059
16089
|
:type BaseBackupRetentionPeriod: int
|
|
16060
|
-
:param _BackupPeriod:
|
|
16090
|
+
:param _BackupPeriod: <p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]。</p>
|
|
16061
16091
|
:type BackupPeriod: list of str
|
|
16062
|
-
:param _LogBackupRetentionPeriod:
|
|
16092
|
+
:param _LogBackupRetentionPeriod: <p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16063
16093
|
:type LogBackupRetentionPeriod: int
|
|
16064
|
-
:param _PlanId:
|
|
16094
|
+
:param _PlanId: <p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
|
|
16065
16095
|
:type PlanId: str
|
|
16066
|
-
:param _PlanName:
|
|
16096
|
+
:param _PlanName: <p>要修改的备份计划名称。</p>
|
|
16067
16097
|
:type PlanName: str
|
|
16098
|
+
:param _BackupMethod: <p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
16099
|
+
:type BackupMethod: str
|
|
16068
16100
|
"""
|
|
16069
16101
|
self._DBInstanceId = None
|
|
16070
16102
|
self._MinBackupStartTime = None
|
|
@@ -16074,10 +16106,11 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16074
16106
|
self._LogBackupRetentionPeriod = None
|
|
16075
16107
|
self._PlanId = None
|
|
16076
16108
|
self._PlanName = None
|
|
16109
|
+
self._BackupMethod = None
|
|
16077
16110
|
|
|
16078
16111
|
@property
|
|
16079
16112
|
def DBInstanceId(self):
|
|
16080
|
-
r"""
|
|
16113
|
+
r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16081
16114
|
:rtype: str
|
|
16082
16115
|
"""
|
|
16083
16116
|
return self._DBInstanceId
|
|
@@ -16088,7 +16121,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16088
16121
|
|
|
16089
16122
|
@property
|
|
16090
16123
|
def MinBackupStartTime(self):
|
|
16091
|
-
r"""
|
|
16124
|
+
r"""<p>实例最早开始备份时间</p>
|
|
16092
16125
|
:rtype: str
|
|
16093
16126
|
"""
|
|
16094
16127
|
return self._MinBackupStartTime
|
|
@@ -16099,7 +16132,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16099
16132
|
|
|
16100
16133
|
@property
|
|
16101
16134
|
def MaxBackupStartTime(self):
|
|
16102
|
-
r"""
|
|
16135
|
+
r"""<p>实例最晚开始备份时间</p>
|
|
16103
16136
|
:rtype: str
|
|
16104
16137
|
"""
|
|
16105
16138
|
return self._MaxBackupStartTime
|
|
@@ -16110,7 +16143,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16110
16143
|
|
|
16111
16144
|
@property
|
|
16112
16145
|
def BaseBackupRetentionPeriod(self):
|
|
16113
|
-
r"""
|
|
16146
|
+
r"""<p>实例备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16114
16147
|
:rtype: int
|
|
16115
16148
|
"""
|
|
16116
16149
|
return self._BaseBackupRetentionPeriod
|
|
@@ -16121,7 +16154,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16121
16154
|
|
|
16122
16155
|
@property
|
|
16123
16156
|
def BackupPeriod(self):
|
|
16124
|
-
r"""
|
|
16157
|
+
r"""<p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]。</p>
|
|
16125
16158
|
:rtype: list of str
|
|
16126
16159
|
"""
|
|
16127
16160
|
return self._BackupPeriod
|
|
@@ -16132,7 +16165,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16132
16165
|
|
|
16133
16166
|
@property
|
|
16134
16167
|
def LogBackupRetentionPeriod(self):
|
|
16135
|
-
r"""
|
|
16168
|
+
r"""<p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16136
16169
|
:rtype: int
|
|
16137
16170
|
"""
|
|
16138
16171
|
return self._LogBackupRetentionPeriod
|
|
@@ -16143,7 +16176,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16143
16176
|
|
|
16144
16177
|
@property
|
|
16145
16178
|
def PlanId(self):
|
|
16146
|
-
r"""
|
|
16179
|
+
r"""<p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
|
|
16147
16180
|
:rtype: str
|
|
16148
16181
|
"""
|
|
16149
16182
|
return self._PlanId
|
|
@@ -16154,7 +16187,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16154
16187
|
|
|
16155
16188
|
@property
|
|
16156
16189
|
def PlanName(self):
|
|
16157
|
-
r"""
|
|
16190
|
+
r"""<p>要修改的备份计划名称。</p>
|
|
16158
16191
|
:rtype: str
|
|
16159
16192
|
"""
|
|
16160
16193
|
return self._PlanName
|
|
@@ -16163,6 +16196,17 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16163
16196
|
def PlanName(self, PlanName):
|
|
16164
16197
|
self._PlanName = PlanName
|
|
16165
16198
|
|
|
16199
|
+
@property
|
|
16200
|
+
def BackupMethod(self):
|
|
16201
|
+
r"""<p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
|
|
16202
|
+
:rtype: str
|
|
16203
|
+
"""
|
|
16204
|
+
return self._BackupMethod
|
|
16205
|
+
|
|
16206
|
+
@BackupMethod.setter
|
|
16207
|
+
def BackupMethod(self, BackupMethod):
|
|
16208
|
+
self._BackupMethod = BackupMethod
|
|
16209
|
+
|
|
16166
16210
|
|
|
16167
16211
|
def _deserialize(self, params):
|
|
16168
16212
|
self._DBInstanceId = params.get("DBInstanceId")
|
|
@@ -16173,6 +16217,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16173
16217
|
self._LogBackupRetentionPeriod = params.get("LogBackupRetentionPeriod")
|
|
16174
16218
|
self._PlanId = params.get("PlanId")
|
|
16175
16219
|
self._PlanName = params.get("PlanName")
|
|
16220
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
16176
16221
|
memeber_set = set(params.keys())
|
|
16177
16222
|
for name, value in vars(self).items():
|
|
16178
16223
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.123
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.123
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_postgres-3.1.123/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.123
|
tencentcloud_sdk_python_postgres-3.1.112/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.123}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|