tencentcloud-sdk-python-redis 3.0.1336__tar.gz → 3.0.1338__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-redis might be problematic. Click here for more details.
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/redis/v20180412/models.py +21 -2
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1338/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1336/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud/redis/v20180412/redis_client.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-redis',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1338"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -22237,7 +22237,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22237
22237
|
|
|
22238
22238
|
def __init__(self):
|
|
22239
22239
|
r"""
|
|
22240
|
-
:param _InstanceId: 待变更实例 ID。
|
|
22240
|
+
:param _InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
22241
22241
|
:type InstanceId: str
|
|
22242
22242
|
:param _MemSize: 指实例每个分片内存变更后的大小。<ul><li>单位 MB。</li><li>每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。</li><li>缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。</li></ul>
|
|
22243
22243
|
:type MemSize: int
|
|
@@ -22247,16 +22247,21 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22247
22247
|
:type RedisReplicasNum: int
|
|
22248
22248
|
:param _NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
22249
22249
|
:type NodeSet: list of RedisNodeInfo
|
|
22250
|
+
:param _SwitchOption: 切换时间。
|
|
22251
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
|
22252
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
|
22253
|
+
:type SwitchOption: int
|
|
22250
22254
|
"""
|
|
22251
22255
|
self._InstanceId = None
|
|
22252
22256
|
self._MemSize = None
|
|
22253
22257
|
self._RedisShardNum = None
|
|
22254
22258
|
self._RedisReplicasNum = None
|
|
22255
22259
|
self._NodeSet = None
|
|
22260
|
+
self._SwitchOption = None
|
|
22256
22261
|
|
|
22257
22262
|
@property
|
|
22258
22263
|
def InstanceId(self):
|
|
22259
|
-
"""待变更实例 ID。
|
|
22264
|
+
"""待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
22260
22265
|
:rtype: str
|
|
22261
22266
|
"""
|
|
22262
22267
|
return self._InstanceId
|
|
@@ -22309,6 +22314,19 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22309
22314
|
def NodeSet(self, NodeSet):
|
|
22310
22315
|
self._NodeSet = NodeSet
|
|
22311
22316
|
|
|
22317
|
+
@property
|
|
22318
|
+
def SwitchOption(self):
|
|
22319
|
+
"""切换时间。
|
|
22320
|
+
- 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
|
|
22321
|
+
- 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
|
|
22322
|
+
:rtype: int
|
|
22323
|
+
"""
|
|
22324
|
+
return self._SwitchOption
|
|
22325
|
+
|
|
22326
|
+
@SwitchOption.setter
|
|
22327
|
+
def SwitchOption(self, SwitchOption):
|
|
22328
|
+
self._SwitchOption = SwitchOption
|
|
22329
|
+
|
|
22312
22330
|
|
|
22313
22331
|
def _deserialize(self, params):
|
|
22314
22332
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -22321,6 +22339,7 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22321
22339
|
obj = RedisNodeInfo()
|
|
22322
22340
|
obj._deserialize(item)
|
|
22323
22341
|
self._NodeSet.append(obj)
|
|
22342
|
+
self._SwitchOption = params.get("SwitchOption")
|
|
22324
22343
|
memeber_set = set(params.keys())
|
|
22325
22344
|
for name, value in vars(self).items():
|
|
22326
22345
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1338
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1336
|
{tencentcloud-sdk-python-redis-3.0.1336 → tencentcloud-sdk-python-redis-3.0.1338}/README.rst
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
|