tencentcloud-sdk-python-redis 3.0.1170__tar.gz → 3.0.1173__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.1170 → tencentcloud-sdk-python-redis-3.0.1173}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/redis/v20180412/models.py +33 -12
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/redis/v20180412/redis_client.py +2 -2
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1173/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1170/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/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.1173"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -6680,7 +6680,7 @@ class DescribeMaintenanceWindowRequest(AbstractModel):
|
|
|
6680
6680
|
|
|
6681
6681
|
def __init__(self):
|
|
6682
6682
|
r"""
|
|
6683
|
-
:param _InstanceId:
|
|
6683
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
6684
6684
|
:type InstanceId: str
|
|
6685
6685
|
"""
|
|
6686
6686
|
self._InstanceId = None
|
|
@@ -6713,9 +6713,12 @@ class DescribeMaintenanceWindowResponse(AbstractModel):
|
|
|
6713
6713
|
|
|
6714
6714
|
def __init__(self):
|
|
6715
6715
|
r"""
|
|
6716
|
-
:param _StartTime:
|
|
6716
|
+
:param _StartTime: 维护时间窗开始时间。取值范围为"00:00-23:00"的任意时间点,如03:24。
|
|
6717
6717
|
:type StartTime: str
|
|
6718
|
-
:param _EndTime:
|
|
6718
|
+
:param _EndTime: 维护时间窗结束时间。
|
|
6719
|
+
- 取值范围为"00:00-23:00"的任意时间点,如:04:24。
|
|
6720
|
+
- 维护时间持续时长最小为30分钟,最大为3小时。
|
|
6721
|
+
- 结束时间务必是基于开始时间向后的时间。
|
|
6719
6722
|
:type EndTime: str
|
|
6720
6723
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6721
6724
|
:type RequestId: str
|
|
@@ -9250,7 +9253,16 @@ class InquiryPriceCreateInstanceRequest(AbstractModel):
|
|
|
9250
9253
|
|
|
9251
9254
|
def __init__(self):
|
|
9252
9255
|
r"""
|
|
9253
|
-
:param _TypeId:
|
|
9256
|
+
:param _TypeId: 实例类型。
|
|
9257
|
+
- 2:Redis 2.8 内存版(标准架构)。
|
|
9258
|
+
- 6:Redis 4.0 内存版(标准架构)。
|
|
9259
|
+
- 7:Redis 4.0 内存版(集群架构)。
|
|
9260
|
+
- 8:Redis 5.0 内存版(标准架构)。
|
|
9261
|
+
- 9:Redis 5.0 内存版(集群架构)。
|
|
9262
|
+
- 15:Redis 6.2 内存版(标准架构)。
|
|
9263
|
+
- 16:Redis 6.2 内存版(集群架构)。
|
|
9264
|
+
- 17:Redis 7.0 内存版(标准架构)。
|
|
9265
|
+
- 18:Redis 7.0 内存版(集群架构)。
|
|
9254
9266
|
:type TypeId: int
|
|
9255
9267
|
:param _MemSize: 内存容量,单位为MB, 数值需为1024的整数倍,具体规格以 [查询产品售卖规格](https://cloud.tencent.com/document/api/239/30600) 返回的规格为准。
|
|
9256
9268
|
TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架构时,MemSize是单分片内存容量。
|
|
@@ -9259,19 +9271,28 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
9259
9271
|
:type GoodsNum: int
|
|
9260
9272
|
:param _Period: 购买时长,在创建包年包月实例的时候需要填写,按量计费实例填1即可,单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
9261
9273
|
:type Period: int
|
|
9262
|
-
:param _BillingMode:
|
|
9274
|
+
:param _BillingMode: 付费方式。
|
|
9275
|
+
- 0:按量计费。
|
|
9276
|
+
- 1:包年包月。
|
|
9263
9277
|
:type BillingMode: int
|
|
9264
9278
|
:param _ZoneId: 实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
9265
9279
|
:type ZoneId: int
|
|
9266
|
-
:param _RedisShardNum:
|
|
9280
|
+
:param _RedisShardNum: 实例分片数量。
|
|
9281
|
+
Redis2.8标准架构、CKV标准架构、Redis4.0标准架构无需填写。
|
|
9267
9282
|
:type RedisShardNum: int
|
|
9268
|
-
:param _RedisReplicasNum:
|
|
9283
|
+
:param _RedisReplicasNum: 实例副本数量。
|
|
9284
|
+
Redis2.8标准架构、CKV标准架构无需填写。
|
|
9269
9285
|
:type RedisReplicasNum: int
|
|
9270
|
-
:param _ReplicasReadonly:
|
|
9286
|
+
:param _ReplicasReadonly: 是否支持副本只读。Redis2.8标准架构、CKV标准架构无需填写。
|
|
9287
|
+
- true:无需支持副本只读。
|
|
9288
|
+
- false:需支持。
|
|
9271
9289
|
:type ReplicasReadonly: bool
|
|
9272
9290
|
:param _ZoneName: 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
9273
9291
|
:type ZoneName: str
|
|
9274
|
-
:param _ProductVersion:
|
|
9292
|
+
:param _ProductVersion: 部署方式。
|
|
9293
|
+
- local:本地盘版,默认为 local。
|
|
9294
|
+
- cloud:云盘版。
|
|
9295
|
+
- cdc:独享集群版。
|
|
9275
9296
|
:type ProductVersion: str
|
|
9276
9297
|
"""
|
|
9277
9298
|
self._TypeId = None
|
|
@@ -9442,9 +9463,9 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
9442
9463
|
|
|
9443
9464
|
def __init__(self):
|
|
9444
9465
|
r"""
|
|
9445
|
-
:param _Period:
|
|
9466
|
+
:param _Period: 包年包月实例的购买时长,单位:月。
|
|
9446
9467
|
:type Period: int
|
|
9447
|
-
:param _InstanceId:
|
|
9468
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
9448
9469
|
:type InstanceId: str
|
|
9449
9470
|
"""
|
|
9450
9471
|
self._Period = None
|
|
@@ -9487,7 +9508,7 @@ class InquiryPriceRenewInstanceResponse(AbstractModel):
|
|
|
9487
9508
|
|
|
9488
9509
|
def __init__(self):
|
|
9489
9510
|
r"""
|
|
9490
|
-
:param _Price:
|
|
9511
|
+
:param _Price: 价格,单位:分。
|
|
9491
9512
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9492
9513
|
:type Price: float
|
|
9493
9514
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1131,7 +1131,7 @@ class RedisClient(AbstractClient):
|
|
|
1131
1131
|
|
|
1132
1132
|
|
|
1133
1133
|
def DescribeMaintenanceWindow(self, request):
|
|
1134
|
-
"""
|
|
1134
|
+
"""本接口(DescribeMaintenanceWindow)用于查询实例维护时间窗。在实例需要进行版本升级或者架构升级的时候,会在维护时间窗时间内进行切换
|
|
1135
1135
|
|
|
1136
1136
|
:param request: Request instance for DescribeMaintenanceWindow.
|
|
1137
1137
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeMaintenanceWindowRequest`
|
|
@@ -1591,7 +1591,7 @@ class RedisClient(AbstractClient):
|
|
|
1591
1591
|
|
|
1592
1592
|
|
|
1593
1593
|
def InquiryPriceRenewInstance(self, request):
|
|
1594
|
-
"""
|
|
1594
|
+
"""本接口(InquiryPriceRenewInstance)用于查询包年包月计费实例的续费价格。
|
|
1595
1595
|
|
|
1596
1596
|
:param request: Request instance for InquiryPriceRenewInstance.
|
|
1597
1597
|
:type request: :class:`tencentcloud.redis.v20180412.models.InquiryPriceRenewInstanceRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1173
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1170
|
{tencentcloud-sdk-python-redis-3.0.1170 → tencentcloud-sdk-python-redis-3.0.1173}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|