tencentcloud-sdk-python-postgres 3.1.114__tar.gz → 3.1.134__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_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/setup.py +1 -1
  3. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/v20170312/models.py +49 -38
  5. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_postgres-3.1.134/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_postgres-3.1.114/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/README.rst +0 -0
  9. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/__init__.py +0 -0
  11. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
  15. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_postgres-3.1.114 → tencentcloud_sdk_python_postgres-3.1.134}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.114
3
+ Version: 3.1.134
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.114
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.134
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-postgres',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.114,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.134,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Postgres SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.114'
17
+ __version__ = '3.1.134'
@@ -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 _PlanId: 备份计划ID
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: 备份计划类型。系统默认创建的为default,自定义的为custom
1352
+ :param _PlanType: <p>备份计划类型。系统默认创建的为default,自定义的为custom。</p>
1351
1353
  :type PlanType: str
1352
- :param _BackupPeriodType: 备份周期类型。当前支持week、month
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"""备份计划ID
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"""备份计划类型。系统默认创建的为default,自定义的为custom
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"""备份周期类型。当前支持week、month
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")
@@ -10538,9 +10553,9 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
10538
10553
 
10539
10554
  def __init__(self):
10540
10555
  r"""
10541
- :param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
10556
+ :param _DBInstanceId: <p>实例ID,可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询实例关联的安全组,只传DBInstanceId字段。</p>
10542
10557
  :type DBInstanceId: str
10543
- :param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId
10558
+ :param _ReadOnlyGroupId: <p>只读组ID,可通过<a href="https://cloud.tencent.com/document/api/409/52599">DescribeReadOnlyGroups</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。</p>
10544
10559
  :type ReadOnlyGroupId: str
10545
10560
  """
10546
10561
  self._DBInstanceId = None
@@ -10548,7 +10563,7 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
10548
10563
 
10549
10564
  @property
10550
10565
  def DBInstanceId(self):
10551
- r"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
10566
+ r"""<p>实例ID,可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询实例关联的安全组,只传DBInstanceId字段。</p>
10552
10567
  :rtype: str
10553
10568
  """
10554
10569
  return self._DBInstanceId
@@ -10559,7 +10574,7 @@ class DescribeDBInstanceSecurityGroupsRequest(AbstractModel):
10559
10574
 
10560
10575
  @property
10561
10576
  def ReadOnlyGroupId(self):
10562
- r"""只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId
10577
+ r"""<p>只读组ID,可通过<a href="https://cloud.tencent.com/document/api/409/52599">DescribeReadOnlyGroups</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。</p>
10563
10578
  :rtype: str
10564
10579
  """
10565
10580
  return self._ReadOnlyGroupId
@@ -10589,7 +10604,7 @@ class DescribeDBInstanceSecurityGroupsResponse(AbstractModel):
10589
10604
 
10590
10605
  def __init__(self):
10591
10606
  r"""
10592
- :param _SecurityGroupSet: 安全组信息数组
10607
+ :param _SecurityGroupSet: <p>安全组信息数组</p>
10593
10608
  :type SecurityGroupSet: list of SecurityGroup
10594
10609
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10595
10610
  :type RequestId: str
@@ -10599,7 +10614,7 @@ class DescribeDBInstanceSecurityGroupsResponse(AbstractModel):
10599
10614
 
10600
10615
  @property
10601
10616
  def SecurityGroupSet(self):
10602
- r"""安全组信息数组
10617
+ r"""<p>安全组信息数组</p>
10603
10618
  :rtype: list of SecurityGroup
10604
10619
  """
10605
10620
  return self._SecurityGroupSet
@@ -17314,13 +17329,11 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
17314
17329
 
17315
17330
  def __init__(self):
17316
17331
  r"""
17317
- :param _SecurityGroupIdSet: 实例或只读组要绑定的安全组列表。
17318
- 安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
17319
- **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
17332
+ :param _SecurityGroupIdSet: <p>实例或只读组要绑定的安全组列表。<br>安全组信息可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来查询。<br><strong>注意:</strong>该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。</p>
17320
17333
  :type SecurityGroupIdSet: list of str
17321
- :param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
17334
+ :param _DBInstanceId: <p>实例ID,可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询实例关联的安全组,只传DBInstanceId字段。</p>
17322
17335
  :type DBInstanceId: str
17323
- :param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
17336
+ :param _ReadOnlyGroupId: <p>只读组ID,可通过<a href="https://cloud.tencent.com/document/api/409/52599">DescribeReadOnlyGroups</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。</p>
17324
17337
  :type ReadOnlyGroupId: str
17325
17338
  """
17326
17339
  self._SecurityGroupIdSet = None
@@ -17329,9 +17342,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
17329
17342
 
17330
17343
  @property
17331
17344
  def SecurityGroupIdSet(self):
17332
- r"""实例或只读组要绑定的安全组列表。
17333
- 安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
17334
- **注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
17345
+ r"""<p>实例或只读组要绑定的安全组列表。<br>安全组信息可以通过调用 <a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a> 的返回值中的sgId字段来查询。<br><strong>注意:</strong>该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。</p>
17335
17346
  :rtype: list of str
17336
17347
  """
17337
17348
  return self._SecurityGroupIdSet
@@ -17342,7 +17353,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
17342
17353
 
17343
17354
  @property
17344
17355
  def DBInstanceId(self):
17345
- r"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
17356
+ r"""<p>实例ID,可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询实例关联的安全组,只传DBInstanceId字段。</p>
17346
17357
  :rtype: str
17347
17358
  """
17348
17359
  return self._DBInstanceId
@@ -17353,7 +17364,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
17353
17364
 
17354
17365
  @property
17355
17366
  def ReadOnlyGroupId(self):
17356
- r"""只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceIdReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
17367
+ r"""<p>只读组ID,可通过<a href="https://cloud.tencent.com/document/api/409/52599">DescribeReadOnlyGroups</a>接口获取。DBInstanceIdReadOnlyGroupId、ProxyAddressId至少传一个;如果要查询只读组关联的安全组,只传ReadOnlyGroupId。</p>
17357
17368
  :rtype: str
17358
17369
  """
17359
17370
  return self._ReadOnlyGroupId
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.114
3
+ Version: 3.1.134
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.114
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.134
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.134
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.114