tencentcloud-sdk-python-postgres 3.1.88__tar.gz → 3.1.114__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.88 → tencentcloud_sdk_python_postgres-3.1.114}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/setup.py +1 -1
  3. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/models.py +84 -24
  5. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_postgres-3.1.114/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_postgres-3.1.88/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/README.rst +0 -0
  9. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/__init__.py +0 -0
  11. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
  15. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_postgres-3.1.88 → tencentcloud_sdk_python_postgres-3.1.114}/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.88
3
+ Version: 3.1.114
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
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.88,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.114,<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.88'
17
+ __version__ = '3.1.114'
@@ -3160,14 +3160,17 @@ class CreateBaseBackupRequest(AbstractModel):
3160
3160
 
3161
3161
  def __init__(self):
3162
3162
  r"""
3163
- :param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
3163
+ :param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
3164
3164
  :type DBInstanceId: str
3165
+ :param _BackupMethod: <p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
3166
+ :type BackupMethod: str
3165
3167
  """
3166
3168
  self._DBInstanceId = None
3169
+ self._BackupMethod = None
3167
3170
 
3168
3171
  @property
3169
3172
  def DBInstanceId(self):
3170
- r"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
3173
+ r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
3171
3174
  :rtype: str
3172
3175
  """
3173
3176
  return self._DBInstanceId
@@ -3176,9 +3179,21 @@ class CreateBaseBackupRequest(AbstractModel):
3176
3179
  def DBInstanceId(self, DBInstanceId):
3177
3180
  self._DBInstanceId = DBInstanceId
3178
3181
 
3182
+ @property
3183
+ def BackupMethod(self):
3184
+ r"""<p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
3185
+ :rtype: str
3186
+ """
3187
+ return self._BackupMethod
3188
+
3189
+ @BackupMethod.setter
3190
+ def BackupMethod(self, BackupMethod):
3191
+ self._BackupMethod = BackupMethod
3192
+
3179
3193
 
3180
3194
  def _deserialize(self, params):
3181
3195
  self._DBInstanceId = params.get("DBInstanceId")
3196
+ self._BackupMethod = params.get("BackupMethod")
3182
3197
  memeber_set = set(params.keys())
3183
3198
  for name, value in vars(self).items():
3184
3199
  property_name = name[1:]
@@ -3196,7 +3211,7 @@ class CreateBaseBackupResponse(AbstractModel):
3196
3211
 
3197
3212
  def __init__(self):
3198
3213
  r"""
3199
- :param _BaseBackupId: 数据备份集ID
3214
+ :param _BaseBackupId: <p>数据备份集ID</p>
3200
3215
  :type BaseBackupId: str
3201
3216
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3202
3217
  :type RequestId: str
@@ -3206,7 +3221,7 @@ class CreateBaseBackupResponse(AbstractModel):
3206
3221
 
3207
3222
  @property
3208
3223
  def BaseBackupId(self):
3209
- r"""数据备份集ID
3224
+ r"""<p>数据备份集ID</p>
3210
3225
  :rtype: str
3211
3226
  """
3212
3227
  return self._BaseBackupId
@@ -13517,6 +13532,36 @@ class DescribeZonesRequest(AbstractModel):
13517
13532
 
13518
13533
  """
13519
13534
 
13535
+ def __init__(self):
13536
+ r"""
13537
+ :param _StorageType: <p>实例存储类型,根据磁盘类型返回支持的可用区</p><p>枚举值:</p><ul><li>PHYSICAL_LOCAL_SSD: 物理机本地ssd硬盘</li><li>CLOUD_PREMIUM: 高性能云硬盘</li><li>CLOUD_SSD: ssd云硬盘</li><li>CLOUD_HSSD: 增强型ssd云硬盘</li></ul><p>默认值:PHYSICAL_LOCAL_SSD</p>
13538
+ :type StorageType: str
13539
+ """
13540
+ self._StorageType = None
13541
+
13542
+ @property
13543
+ def StorageType(self):
13544
+ r"""<p>实例存储类型,根据磁盘类型返回支持的可用区</p><p>枚举值:</p><ul><li>PHYSICAL_LOCAL_SSD: 物理机本地ssd硬盘</li><li>CLOUD_PREMIUM: 高性能云硬盘</li><li>CLOUD_SSD: ssd云硬盘</li><li>CLOUD_HSSD: 增强型ssd云硬盘</li></ul><p>默认值:PHYSICAL_LOCAL_SSD</p>
13545
+ :rtype: str
13546
+ """
13547
+ return self._StorageType
13548
+
13549
+ @StorageType.setter
13550
+ def StorageType(self, StorageType):
13551
+ self._StorageType = StorageType
13552
+
13553
+
13554
+ def _deserialize(self, params):
13555
+ self._StorageType = params.get("StorageType")
13556
+ memeber_set = set(params.keys())
13557
+ for name, value in vars(self).items():
13558
+ property_name = name[1:]
13559
+ if property_name in memeber_set:
13560
+ memeber_set.remove(property_name)
13561
+ if len(memeber_set) > 0:
13562
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13563
+
13564
+
13520
13565
 
13521
13566
  class DescribeZonesResponse(AbstractModel):
13522
13567
  r"""DescribeZones返回参数结构体
@@ -13525,9 +13570,9 @@ class DescribeZonesResponse(AbstractModel):
13525
13570
 
13526
13571
  def __init__(self):
13527
13572
  r"""
13528
- :param _TotalCount: 返回的结果数量。
13573
+ :param _TotalCount: <p>返回的结果数量。</p>
13529
13574
  :type TotalCount: int
13530
- :param _ZoneSet: 可用区信息集合。
13575
+ :param _ZoneSet: <p>可用区信息集合。</p>
13531
13576
  :type ZoneSet: list of ZoneInfo
13532
13577
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13533
13578
  :type RequestId: str
@@ -13538,7 +13583,7 @@ class DescribeZonesResponse(AbstractModel):
13538
13583
 
13539
13584
  @property
13540
13585
  def TotalCount(self):
13541
- r"""返回的结果数量。
13586
+ r"""<p>返回的结果数量。</p>
13542
13587
  :rtype: int
13543
13588
  """
13544
13589
  return self._TotalCount
@@ -13549,7 +13594,7 @@ class DescribeZonesResponse(AbstractModel):
13549
13594
 
13550
13595
  @property
13551
13596
  def ZoneSet(self):
13552
- r"""可用区信息集合。
13597
+ r"""<p>可用区信息集合。</p>
13553
13598
  :rtype: list of ZoneInfo
13554
13599
  """
13555
13600
  return self._ZoneSet
@@ -16019,22 +16064,24 @@ class ModifyBackupPlanRequest(AbstractModel):
16019
16064
 
16020
16065
  def __init__(self):
16021
16066
  r"""
16022
- :param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
16067
+ :param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
16023
16068
  :type DBInstanceId: str
16024
- :param _MinBackupStartTime: 实例最早开始备份时间
16069
+ :param _MinBackupStartTime: <p>实例最早开始备份时间</p>
16025
16070
  :type MinBackupStartTime: str
16026
- :param _MaxBackupStartTime: 实例最晚开始备份时间
16071
+ :param _MaxBackupStartTime: <p>实例最晚开始备份时间</p>
16027
16072
  :type MaxBackupStartTime: str
16028
- :param _BaseBackupRetentionPeriod: 实例备份保留时长,取值范围为7-1830,单位是天
16073
+ :param _BaseBackupRetentionPeriod: <p>实例备份保留时长,取值范围为7-1830,单位是天</p>
16029
16074
  :type BaseBackupRetentionPeriod: int
16030
- :param _BackupPeriod: 实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]
16075
+ :param _BackupPeriod: <p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如[&quot;1&quot;,&quot;2&quot;]。</p>
16031
16076
  :type BackupPeriod: list of str
16032
- :param _LogBackupRetentionPeriod: 实例日志备份保留时长,取值范围为7-1830,单位是天
16077
+ :param _LogBackupRetentionPeriod: <p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
16033
16078
  :type LogBackupRetentionPeriod: int
16034
- :param _PlanId: 备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。
16079
+ :param _PlanId: <p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
16035
16080
  :type PlanId: str
16036
- :param _PlanName: 要修改的备份计划名称。
16081
+ :param _PlanName: <p>要修改的备份计划名称。</p>
16037
16082
  :type PlanName: str
16083
+ :param _BackupMethod: <p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
16084
+ :type BackupMethod: str
16038
16085
  """
16039
16086
  self._DBInstanceId = None
16040
16087
  self._MinBackupStartTime = None
@@ -16044,10 +16091,11 @@ class ModifyBackupPlanRequest(AbstractModel):
16044
16091
  self._LogBackupRetentionPeriod = None
16045
16092
  self._PlanId = None
16046
16093
  self._PlanName = None
16094
+ self._BackupMethod = None
16047
16095
 
16048
16096
  @property
16049
16097
  def DBInstanceId(self):
16050
- r"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
16098
+ r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
16051
16099
  :rtype: str
16052
16100
  """
16053
16101
  return self._DBInstanceId
@@ -16058,7 +16106,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16058
16106
 
16059
16107
  @property
16060
16108
  def MinBackupStartTime(self):
16061
- r"""实例最早开始备份时间
16109
+ r"""<p>实例最早开始备份时间</p>
16062
16110
  :rtype: str
16063
16111
  """
16064
16112
  return self._MinBackupStartTime
@@ -16069,7 +16117,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16069
16117
 
16070
16118
  @property
16071
16119
  def MaxBackupStartTime(self):
16072
- r"""实例最晚开始备份时间
16120
+ r"""<p>实例最晚开始备份时间</p>
16073
16121
  :rtype: str
16074
16122
  """
16075
16123
  return self._MaxBackupStartTime
@@ -16080,7 +16128,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16080
16128
 
16081
16129
  @property
16082
16130
  def BaseBackupRetentionPeriod(self):
16083
- r"""实例备份保留时长,取值范围为7-1830,单位是天
16131
+ r"""<p>实例备份保留时长,取值范围为7-1830,单位是天</p>
16084
16132
  :rtype: int
16085
16133
  """
16086
16134
  return self._BaseBackupRetentionPeriod
@@ -16091,7 +16139,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16091
16139
 
16092
16140
  @property
16093
16141
  def BackupPeriod(self):
16094
- r"""实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]
16142
+ r"""<p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如[&quot;1&quot;,&quot;2&quot;]。</p>
16095
16143
  :rtype: list of str
16096
16144
  """
16097
16145
  return self._BackupPeriod
@@ -16102,7 +16150,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16102
16150
 
16103
16151
  @property
16104
16152
  def LogBackupRetentionPeriod(self):
16105
- r"""实例日志备份保留时长,取值范围为7-1830,单位是天
16153
+ r"""<p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
16106
16154
  :rtype: int
16107
16155
  """
16108
16156
  return self._LogBackupRetentionPeriod
@@ -16113,7 +16161,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16113
16161
 
16114
16162
  @property
16115
16163
  def PlanId(self):
16116
- r"""备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。
16164
+ r"""<p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
16117
16165
  :rtype: str
16118
16166
  """
16119
16167
  return self._PlanId
@@ -16124,7 +16172,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16124
16172
 
16125
16173
  @property
16126
16174
  def PlanName(self):
16127
- r"""要修改的备份计划名称。
16175
+ r"""<p>要修改的备份计划名称。</p>
16128
16176
  :rtype: str
16129
16177
  """
16130
16178
  return self._PlanName
@@ -16133,6 +16181,17 @@ class ModifyBackupPlanRequest(AbstractModel):
16133
16181
  def PlanName(self, PlanName):
16134
16182
  self._PlanName = PlanName
16135
16183
 
16184
+ @property
16185
+ def BackupMethod(self):
16186
+ r"""<p>备份方式</p><p>枚举值:</p><ul><li>physical: 物理备份</li><li>logical: 逻辑备份</li><li>snapshot: 快照备份</li></ul>
16187
+ :rtype: str
16188
+ """
16189
+ return self._BackupMethod
16190
+
16191
+ @BackupMethod.setter
16192
+ def BackupMethod(self, BackupMethod):
16193
+ self._BackupMethod = BackupMethod
16194
+
16136
16195
 
16137
16196
  def _deserialize(self, params):
16138
16197
  self._DBInstanceId = params.get("DBInstanceId")
@@ -16143,6 +16202,7 @@ class ModifyBackupPlanRequest(AbstractModel):
16143
16202
  self._LogBackupRetentionPeriod = params.get("LogBackupRetentionPeriod")
16144
16203
  self._PlanId = params.get("PlanId")
16145
16204
  self._PlanName = params.get("PlanName")
16205
+ self._BackupMethod = params.get("BackupMethod")
16146
16206
  memeber_set = set(params.keys())
16147
16207
  for name, value in vars(self).items():
16148
16208
  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.88
3
+ Version: 3.1.114
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.114
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.88