tencentcloud-sdk-python-redis 3.0.914__tar.gz → 3.0.919__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.914 → tencentcloud-sdk-python-redis-3.0.919}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/redis/v20180412/models.py +10 -3
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/redis/v20180412/redis_client.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/setup.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.914 → tencentcloud-sdk-python-redis-3.0.919}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -8237,11 +8237,18 @@ class UpgradeInstanceVersionRequest(AbstractModel):
|
|
|
8237
8237
|
|
|
8238
8238
|
def __init__(self):
|
|
8239
8239
|
r"""
|
|
8240
|
-
:param TargetInstanceType: 目标实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026)
|
|
8240
|
+
:param TargetInstanceType: 目标实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的**TypeId**,即实例要变更的目标类型。
|
|
8241
|
+
- Redis 4.0 及以上的版本,支持相同版本的实例从标准架构升级至集群架构,例如,支持 Redis 4.0 标准架构升级至 Redis 4.0 集群架构。
|
|
8242
|
+
- 不支持跨版本架构升级,例如,Redis 4.0 标准架构升级至 Redis 5.0 集群架构。
|
|
8243
|
+
- 不支持 Redis 2.8 版本升级架构。
|
|
8244
|
+
- 不支持从集群架构降级至标准架构。
|
|
8245
|
+
|
|
8241
8246
|
:type TargetInstanceType: str
|
|
8242
|
-
:param SwitchOption:
|
|
8247
|
+
:param SwitchOption: 切换时间。
|
|
8248
|
+
- 1:维护时间窗切换。
|
|
8249
|
+
- 2:立即切换。
|
|
8243
8250
|
:type SwitchOption: int
|
|
8244
|
-
:param InstanceId:
|
|
8251
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****,请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
8245
8252
|
:type InstanceId: str
|
|
8246
8253
|
"""
|
|
8247
8254
|
self.TargetInstanceType = None
|
|
@@ -2051,7 +2051,7 @@ class RedisClient(AbstractClient):
|
|
|
2051
2051
|
|
|
2052
2052
|
|
|
2053
2053
|
def UpgradeInstanceVersion(self, request):
|
|
2054
|
-
"""
|
|
2054
|
+
"""将当前实例升级到更高版本,或者将当前标准架构升级至集群架构。
|
|
2055
2055
|
|
|
2056
2056
|
:param request: Request instance for UpgradeInstanceVersion.
|
|
2057
2057
|
:type request: :class:`tencentcloud.redis.v20180412.models.UpgradeInstanceVersionRequest`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|