tencentcloud-sdk-python-postgres 3.1.112__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.
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/setup.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/models.py +50 -20
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_postgres-3.1.114/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.114}/README.rst +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/setup.cfg +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/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.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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/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.114,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Postgres SDK for Python',
|
|
@@ -3160,14 +3160,17 @@ class CreateBaseBackupRequest(AbstractModel):
|
|
|
3160
3160
|
|
|
3161
3161
|
def __init__(self):
|
|
3162
3162
|
r"""
|
|
3163
|
-
:param _DBInstanceId:
|
|
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"""
|
|
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:
|
|
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"""
|
|
3224
|
+
r"""<p>数据备份集ID</p>
|
|
3210
3225
|
:rtype: str
|
|
3211
3226
|
"""
|
|
3212
3227
|
return self._BaseBackupId
|
|
@@ -16049,22 +16064,24 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16049
16064
|
|
|
16050
16065
|
def __init__(self):
|
|
16051
16066
|
r"""
|
|
16052
|
-
:param _DBInstanceId:
|
|
16067
|
+
:param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16053
16068
|
:type DBInstanceId: str
|
|
16054
|
-
:param _MinBackupStartTime:
|
|
16069
|
+
:param _MinBackupStartTime: <p>实例最早开始备份时间</p>
|
|
16055
16070
|
:type MinBackupStartTime: str
|
|
16056
|
-
:param _MaxBackupStartTime:
|
|
16071
|
+
:param _MaxBackupStartTime: <p>实例最晚开始备份时间</p>
|
|
16057
16072
|
:type MaxBackupStartTime: str
|
|
16058
|
-
:param _BaseBackupRetentionPeriod:
|
|
16073
|
+
:param _BaseBackupRetentionPeriod: <p>实例备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16059
16074
|
:type BaseBackupRetentionPeriod: int
|
|
16060
|
-
:param _BackupPeriod:
|
|
16075
|
+
:param _BackupPeriod: <p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]。</p>
|
|
16061
16076
|
:type BackupPeriod: list of str
|
|
16062
|
-
:param _LogBackupRetentionPeriod:
|
|
16077
|
+
:param _LogBackupRetentionPeriod: <p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16063
16078
|
:type LogBackupRetentionPeriod: int
|
|
16064
|
-
:param _PlanId:
|
|
16079
|
+
:param _PlanId: <p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
|
|
16065
16080
|
:type PlanId: str
|
|
16066
|
-
:param _PlanName:
|
|
16081
|
+
:param _PlanName: <p>要修改的备份计划名称。</p>
|
|
16067
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
|
|
16068
16085
|
"""
|
|
16069
16086
|
self._DBInstanceId = None
|
|
16070
16087
|
self._MinBackupStartTime = None
|
|
@@ -16074,10 +16091,11 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16074
16091
|
self._LogBackupRetentionPeriod = None
|
|
16075
16092
|
self._PlanId = None
|
|
16076
16093
|
self._PlanName = None
|
|
16094
|
+
self._BackupMethod = None
|
|
16077
16095
|
|
|
16078
16096
|
@property
|
|
16079
16097
|
def DBInstanceId(self):
|
|
16080
|
-
r"""
|
|
16098
|
+
r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16081
16099
|
:rtype: str
|
|
16082
16100
|
"""
|
|
16083
16101
|
return self._DBInstanceId
|
|
@@ -16088,7 +16106,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16088
16106
|
|
|
16089
16107
|
@property
|
|
16090
16108
|
def MinBackupStartTime(self):
|
|
16091
|
-
r"""
|
|
16109
|
+
r"""<p>实例最早开始备份时间</p>
|
|
16092
16110
|
:rtype: str
|
|
16093
16111
|
"""
|
|
16094
16112
|
return self._MinBackupStartTime
|
|
@@ -16099,7 +16117,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16099
16117
|
|
|
16100
16118
|
@property
|
|
16101
16119
|
def MaxBackupStartTime(self):
|
|
16102
|
-
r"""
|
|
16120
|
+
r"""<p>实例最晚开始备份时间</p>
|
|
16103
16121
|
:rtype: str
|
|
16104
16122
|
"""
|
|
16105
16123
|
return self._MaxBackupStartTime
|
|
@@ -16110,7 +16128,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16110
16128
|
|
|
16111
16129
|
@property
|
|
16112
16130
|
def BaseBackupRetentionPeriod(self):
|
|
16113
|
-
r"""
|
|
16131
|
+
r"""<p>实例备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16114
16132
|
:rtype: int
|
|
16115
16133
|
"""
|
|
16116
16134
|
return self._BaseBackupRetentionPeriod
|
|
@@ -16121,7 +16139,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16121
16139
|
|
|
16122
16140
|
@property
|
|
16123
16141
|
def BackupPeriod(self):
|
|
16124
|
-
r"""
|
|
16142
|
+
r"""<p>实例备份周期,若是星期维度,格式为小写星期英文单词,且至少设置两天备份;若是按月维度,格式为数字字符,如["1","2"]。</p>
|
|
16125
16143
|
:rtype: list of str
|
|
16126
16144
|
"""
|
|
16127
16145
|
return self._BackupPeriod
|
|
@@ -16132,7 +16150,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16132
16150
|
|
|
16133
16151
|
@property
|
|
16134
16152
|
def LogBackupRetentionPeriod(self):
|
|
16135
|
-
r"""
|
|
16153
|
+
r"""<p>实例日志备份保留时长,取值范围为7-1830,单位是天</p>
|
|
16136
16154
|
:rtype: int
|
|
16137
16155
|
"""
|
|
16138
16156
|
return self._LogBackupRetentionPeriod
|
|
@@ -16143,7 +16161,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16143
16161
|
|
|
16144
16162
|
@property
|
|
16145
16163
|
def PlanId(self):
|
|
16146
|
-
r"""
|
|
16164
|
+
r"""<p>备份计划ID,用于指明要修改哪个备份计划,不传则是修改默认备份计划。</p>
|
|
16147
16165
|
:rtype: str
|
|
16148
16166
|
"""
|
|
16149
16167
|
return self._PlanId
|
|
@@ -16154,7 +16172,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16154
16172
|
|
|
16155
16173
|
@property
|
|
16156
16174
|
def PlanName(self):
|
|
16157
|
-
r"""
|
|
16175
|
+
r"""<p>要修改的备份计划名称。</p>
|
|
16158
16176
|
:rtype: str
|
|
16159
16177
|
"""
|
|
16160
16178
|
return self._PlanName
|
|
@@ -16163,6 +16181,17 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16163
16181
|
def PlanName(self, PlanName):
|
|
16164
16182
|
self._PlanName = PlanName
|
|
16165
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
|
+
|
|
16166
16195
|
|
|
16167
16196
|
def _deserialize(self, params):
|
|
16168
16197
|
self._DBInstanceId = params.get("DBInstanceId")
|
|
@@ -16173,6 +16202,7 @@ class ModifyBackupPlanRequest(AbstractModel):
|
|
|
16173
16202
|
self._LogBackupRetentionPeriod = params.get("LogBackupRetentionPeriod")
|
|
16174
16203
|
self._PlanId = params.get("PlanId")
|
|
16175
16204
|
self._PlanName = params.get("PlanName")
|
|
16205
|
+
self._BackupMethod = params.get("BackupMethod")
|
|
16176
16206
|
memeber_set = set(params.keys())
|
|
16177
16207
|
for name, value in vars(self).items():
|
|
16178
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.
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_postgres-3.1.114/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
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.114}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_postgres-3.1.112 → tencentcloud_sdk_python_postgres-3.1.114}/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
|