tencentcloud-sdk-python-redis 3.0.1462__tar.gz → 3.0.1464__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-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/redis/v20180412/models.py +139 -68
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1464/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1462/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud/redis/v20180412/redis_client.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/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.1464,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -169,7 +169,10 @@ class AddReplicationInstanceRequest(AbstractModel):
|
|
|
169
169
|
r"""
|
|
170
170
|
:param _GroupId: 复制组ID。请登录[Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication)页面获取复制组 ID。
|
|
171
171
|
:type GroupId: str
|
|
172
|
-
:param _InstanceId: 实例ID
|
|
172
|
+
:param _InstanceId: 实例ID。
|
|
173
|
+
- 添加复制组实例有地域与可用区限制。具体信息,请参见[使用限制](https://cloud.tencent.com/document/product/239/71934)。
|
|
174
|
+
- 当前仅4.0、5.0 Redis 版集群架构的实例支持加入复制组。
|
|
175
|
+
- 请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制需加入复制组的实例 ID。
|
|
173
176
|
:type InstanceId: str
|
|
174
177
|
:param _InstanceRole: 给复制组添加的实例分配角色。<ul><li>rw:可读写。</li><li>r:只读。</li></ul>
|
|
175
178
|
:type InstanceRole: str
|
|
@@ -191,7 +194,10 @@ class AddReplicationInstanceRequest(AbstractModel):
|
|
|
191
194
|
|
|
192
195
|
@property
|
|
193
196
|
def InstanceId(self):
|
|
194
|
-
r"""实例ID
|
|
197
|
+
r"""实例ID。
|
|
198
|
+
- 添加复制组实例有地域与可用区限制。具体信息,请参见[使用限制](https://cloud.tencent.com/document/product/239/71934)。
|
|
199
|
+
- 当前仅4.0、5.0 Redis 版集群架构的实例支持加入复制组。
|
|
200
|
+
- 请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制需加入复制组的实例 ID。
|
|
195
201
|
:rtype: str
|
|
196
202
|
"""
|
|
197
203
|
return self._InstanceId
|
|
@@ -1491,14 +1497,14 @@ class CleanUpInstanceRequest(AbstractModel):
|
|
|
1491
1497
|
|
|
1492
1498
|
def __init__(self):
|
|
1493
1499
|
r"""
|
|
1494
|
-
:param _InstanceId: 实例 ID,请登录[Redis
|
|
1500
|
+
:param _InstanceId: 实例 ID,请登录 [Redis 控制台回收站](https://console.cloud.tencent.com/redis/recycle)的实例列表复制实例 ID。
|
|
1495
1501
|
:type InstanceId: str
|
|
1496
1502
|
"""
|
|
1497
1503
|
self._InstanceId = None
|
|
1498
1504
|
|
|
1499
1505
|
@property
|
|
1500
1506
|
def InstanceId(self):
|
|
1501
|
-
r"""实例 ID,请登录[Redis
|
|
1507
|
+
r"""实例 ID,请登录 [Redis 控制台回收站](https://console.cloud.tencent.com/redis/recycle)的实例列表复制实例 ID。
|
|
1502
1508
|
:rtype: str
|
|
1503
1509
|
"""
|
|
1504
1510
|
return self._InstanceId
|
|
@@ -1695,7 +1701,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1695
1701
|
:type BillingMode: int
|
|
1696
1702
|
:param _Period: 购买实例时长。<ul><li>单位:月。</li><li>付费方式选择包年包月计费时,取值范围为[1,2,3,4,5,6,7,8,9,10,11,12,24,36,48,60]。</li><li>付费方式选择按量计费时,设置为1。</li></ul>
|
|
1697
1703
|
:type Period: int
|
|
1698
|
-
:param _SecurityGroupIdList: 安全组ID
|
|
1704
|
+
:param _SecurityGroupIdList: 安全组ID。请通过 [DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447) 接口获取实例的安全组 ID。
|
|
1699
1705
|
:type SecurityGroupIdList: list of str
|
|
1700
1706
|
:param _BackupId: 克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。
|
|
1701
1707
|
:type BackupId: str
|
|
@@ -1813,7 +1819,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1813
1819
|
|
|
1814
1820
|
@property
|
|
1815
1821
|
def SecurityGroupIdList(self):
|
|
1816
|
-
r"""安全组ID
|
|
1822
|
+
r"""安全组ID。请通过 [DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447) 接口获取实例的安全组 ID。
|
|
1817
1823
|
:rtype: list of str
|
|
1818
1824
|
"""
|
|
1819
1825
|
return self._SecurityGroupIdList
|
|
@@ -3210,10 +3216,13 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3210
3216
|
r"""
|
|
3211
3217
|
:param _TaskId: 异步流程ID。
|
|
3212
3218
|
:type TaskId: int
|
|
3219
|
+
:param _GroupId: 复制组string型id
|
|
3220
|
+
:type GroupId: str
|
|
3213
3221
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3214
3222
|
:type RequestId: str
|
|
3215
3223
|
"""
|
|
3216
3224
|
self._TaskId = None
|
|
3225
|
+
self._GroupId = None
|
|
3217
3226
|
self._RequestId = None
|
|
3218
3227
|
|
|
3219
3228
|
@property
|
|
@@ -3227,6 +3236,17 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3227
3236
|
def TaskId(self, TaskId):
|
|
3228
3237
|
self._TaskId = TaskId
|
|
3229
3238
|
|
|
3239
|
+
@property
|
|
3240
|
+
def GroupId(self):
|
|
3241
|
+
r"""复制组string型id
|
|
3242
|
+
:rtype: str
|
|
3243
|
+
"""
|
|
3244
|
+
return self._GroupId
|
|
3245
|
+
|
|
3246
|
+
@GroupId.setter
|
|
3247
|
+
def GroupId(self, GroupId):
|
|
3248
|
+
self._GroupId = GroupId
|
|
3249
|
+
|
|
3230
3250
|
@property
|
|
3231
3251
|
def RequestId(self):
|
|
3232
3252
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3241,6 +3261,7 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3241
3261
|
|
|
3242
3262
|
def _deserialize(self, params):
|
|
3243
3263
|
self._TaskId = params.get("TaskId")
|
|
3264
|
+
self._GroupId = params.get("GroupId")
|
|
3244
3265
|
self._RequestId = params.get("RequestId")
|
|
3245
3266
|
|
|
3246
3267
|
|
|
@@ -7600,12 +7621,12 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7600
7621
|
|
|
7601
7622
|
def __init__(self):
|
|
7602
7623
|
r"""
|
|
7603
|
-
:param _InstanceId: 指定实例 ID
|
|
7604
|
-
示例值:crs-asdasdas
|
|
7624
|
+
:param _InstanceId: 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
7605
7625
|
:type InstanceId: str
|
|
7606
|
-
:param _FeatureName:
|
|
7607
|
-
- read-local-node-only
|
|
7608
|
-
- multi-account
|
|
7626
|
+
:param _FeatureName: 支持查询的功能特性如下所示。
|
|
7627
|
+
- read-local-node-only:就近接入。
|
|
7628
|
+
- multi-account:多账号管理。
|
|
7629
|
+
- auto-failback:故障恢复场景,主节点是否开启自动回切。
|
|
7609
7630
|
:type FeatureName: str
|
|
7610
7631
|
"""
|
|
7611
7632
|
self._InstanceId = None
|
|
@@ -7613,8 +7634,7 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7613
7634
|
|
|
7614
7635
|
@property
|
|
7615
7636
|
def InstanceId(self):
|
|
7616
|
-
r"""指定实例 ID
|
|
7617
|
-
示例值:crs-asdasdas
|
|
7637
|
+
r"""指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
7618
7638
|
:rtype: str
|
|
7619
7639
|
"""
|
|
7620
7640
|
return self._InstanceId
|
|
@@ -7625,9 +7645,10 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7625
7645
|
|
|
7626
7646
|
@property
|
|
7627
7647
|
def FeatureName(self):
|
|
7628
|
-
r"""
|
|
7629
|
-
- read-local-node-only
|
|
7630
|
-
- multi-account
|
|
7648
|
+
r"""支持查询的功能特性如下所示。
|
|
7649
|
+
- read-local-node-only:就近接入。
|
|
7650
|
+
- multi-account:多账号管理。
|
|
7651
|
+
- auto-failback:故障恢复场景,主节点是否开启自动回切。
|
|
7631
7652
|
:rtype: str
|
|
7632
7653
|
"""
|
|
7633
7654
|
return self._FeatureName
|
|
@@ -9136,11 +9157,11 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9136
9157
|
:type BeginTime: str
|
|
9137
9158
|
:param _EndTime: 慢查询的结束时间,查询时间最大跨度30天。
|
|
9138
9159
|
:type EndTime: str
|
|
9139
|
-
:param _MinQueryTime:
|
|
9160
|
+
:param _MinQueryTime: 慢查询阈值。取值为大于0 的正整数。单位:毫秒。
|
|
9140
9161
|
:type MinQueryTime: int
|
|
9141
|
-
:param _Limit:
|
|
9162
|
+
:param _Limit: 每页输出的任务列表大小。默认值为20,最小值为1,最大值为100。
|
|
9142
9163
|
:type Limit: int
|
|
9143
|
-
:param _Offset:
|
|
9164
|
+
:param _Offset: 分页偏移量。默认为0。取值为 Limit 整数倍。计算公式:offset=limit*(页码-1)。
|
|
9144
9165
|
:type Offset: int
|
|
9145
9166
|
"""
|
|
9146
9167
|
self._InstanceId = None
|
|
@@ -9186,7 +9207,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9186
9207
|
|
|
9187
9208
|
@property
|
|
9188
9209
|
def MinQueryTime(self):
|
|
9189
|
-
r"""
|
|
9210
|
+
r"""慢查询阈值。取值为大于0 的正整数。单位:毫秒。
|
|
9190
9211
|
:rtype: int
|
|
9191
9212
|
"""
|
|
9192
9213
|
return self._MinQueryTime
|
|
@@ -9197,7 +9218,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9197
9218
|
|
|
9198
9219
|
@property
|
|
9199
9220
|
def Limit(self):
|
|
9200
|
-
r"""
|
|
9221
|
+
r"""每页输出的任务列表大小。默认值为20,最小值为1,最大值为100。
|
|
9201
9222
|
:rtype: int
|
|
9202
9223
|
"""
|
|
9203
9224
|
return self._Limit
|
|
@@ -9208,7 +9229,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9208
9229
|
|
|
9209
9230
|
@property
|
|
9210
9231
|
def Offset(self):
|
|
9211
|
-
r"""
|
|
9232
|
+
r"""分页偏移量。默认为0。取值为 Limit 整数倍。计算公式:offset=limit*(页码-1)。
|
|
9212
9233
|
:rtype: int
|
|
9213
9234
|
"""
|
|
9214
9235
|
return self._Offset
|
|
@@ -9779,7 +9800,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
|
|
|
9779
9800
|
|
|
9780
9801
|
def __init__(self):
|
|
9781
9802
|
r"""
|
|
9782
|
-
:param _Limit:
|
|
9803
|
+
:param _Limit: 每页输出实例列表的大小。取值为大于0 的正整数,默认为20。
|
|
9783
9804
|
:type Limit: int
|
|
9784
9805
|
:param _Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
9785
9806
|
:type Offset: int
|
|
@@ -9795,7 +9816,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
|
|
|
9795
9816
|
|
|
9796
9817
|
@property
|
|
9797
9818
|
def Limit(self):
|
|
9798
|
-
r"""
|
|
9819
|
+
r"""每页输出实例列表的大小。取值为大于0 的正整数,默认为20。
|
|
9799
9820
|
:rtype: int
|
|
9800
9821
|
"""
|
|
9801
9822
|
return self._Limit
|
|
@@ -10231,11 +10252,11 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10231
10252
|
:type BeginTime: str
|
|
10232
10253
|
:param _EndTime: 预查询慢日志的结束时间,查询时间最大跨度30天
|
|
10233
10254
|
:type EndTime: str
|
|
10234
|
-
:param _MinQueryTime:
|
|
10255
|
+
:param _MinQueryTime: 慢查询平均执行时间阈值。取值为大于0 的正整数。单位:毫秒。
|
|
10235
10256
|
:type MinQueryTime: int
|
|
10236
|
-
:param _Limit: 每个页面展示的慢查询条数,默认值为20
|
|
10257
|
+
:param _Limit: 每个页面展示的慢查询条数,默认值为20,最小值为1,最大值为100。
|
|
10237
10258
|
:type Limit: int
|
|
10238
|
-
:param _Offset:
|
|
10259
|
+
:param _Offset: 慢查询条数的偏移量。默认为0。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
10239
10260
|
:type Offset: int
|
|
10240
10261
|
:param _Role: 节点所属角色。
|
|
10241
10262
|
- master:主节点。
|
|
@@ -10286,7 +10307,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10286
10307
|
|
|
10287
10308
|
@property
|
|
10288
10309
|
def MinQueryTime(self):
|
|
10289
|
-
r"""
|
|
10310
|
+
r"""慢查询平均执行时间阈值。取值为大于0 的正整数。单位:毫秒。
|
|
10290
10311
|
:rtype: int
|
|
10291
10312
|
"""
|
|
10292
10313
|
return self._MinQueryTime
|
|
@@ -10297,7 +10318,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10297
10318
|
|
|
10298
10319
|
@property
|
|
10299
10320
|
def Limit(self):
|
|
10300
|
-
r"""每个页面展示的慢查询条数,默认值为20
|
|
10321
|
+
r"""每个页面展示的慢查询条数,默认值为20,最小值为1,最大值为100。
|
|
10301
10322
|
:rtype: int
|
|
10302
10323
|
"""
|
|
10303
10324
|
return self._Limit
|
|
@@ -10308,7 +10329,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10308
10329
|
|
|
10309
10330
|
@property
|
|
10310
10331
|
def Offset(self):
|
|
10311
|
-
r"""
|
|
10332
|
+
r"""慢查询条数的偏移量。默认为0。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
10312
10333
|
:rtype: int
|
|
10313
10334
|
"""
|
|
10314
10335
|
return self._Offset
|
|
@@ -10990,11 +11011,11 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
10990
11011
|
:type BeginTime: str
|
|
10991
11012
|
:param _EndTime: 结束时间:2019-09-09 12:12:41,查询时间最大跨度30天。
|
|
10992
11013
|
:type EndTime: str
|
|
10993
|
-
:param _MinQueryTime:
|
|
11014
|
+
:param _MinQueryTime: 慢查询阈值,取值为大于0的正整数,单位:毫秒。
|
|
10994
11015
|
:type MinQueryTime: int
|
|
10995
|
-
:param _Limit:
|
|
11016
|
+
:param _Limit: 页面大小。默认为20,最小为1,最大为100。
|
|
10996
11017
|
:type Limit: int
|
|
10997
|
-
:param _Offset:
|
|
11018
|
+
:param _Offset: 分页偏移量。默认为0,取值为 Limit 整数倍,计算公式:offset=limit*(页码-1)。
|
|
10998
11019
|
:type Offset: int
|
|
10999
11020
|
"""
|
|
11000
11021
|
self._InstanceId = None
|
|
@@ -11039,7 +11060,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11039
11060
|
|
|
11040
11061
|
@property
|
|
11041
11062
|
def MinQueryTime(self):
|
|
11042
|
-
r"""
|
|
11063
|
+
r"""慢查询阈值,取值为大于0的正整数,单位:毫秒。
|
|
11043
11064
|
:rtype: int
|
|
11044
11065
|
"""
|
|
11045
11066
|
return self._MinQueryTime
|
|
@@ -11050,7 +11071,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11050
11071
|
|
|
11051
11072
|
@property
|
|
11052
11073
|
def Limit(self):
|
|
11053
|
-
r"""
|
|
11074
|
+
r"""页面大小。默认为20,最小为1,最大为100。
|
|
11054
11075
|
:rtype: int
|
|
11055
11076
|
"""
|
|
11056
11077
|
return self._Limit
|
|
@@ -11061,7 +11082,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11061
11082
|
|
|
11062
11083
|
@property
|
|
11063
11084
|
def Offset(self):
|
|
11064
|
-
r"""
|
|
11085
|
+
r"""分页偏移量。默认为0,取值为 Limit 整数倍,计算公式:offset=limit*(页码-1)。
|
|
11065
11086
|
:rtype: int
|
|
11066
11087
|
"""
|
|
11067
11088
|
return self._Offset
|
|
@@ -11158,14 +11179,14 @@ class DestroyPostpaidInstanceRequest(AbstractModel):
|
|
|
11158
11179
|
|
|
11159
11180
|
def __init__(self):
|
|
11160
11181
|
r"""
|
|
11161
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
11182
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制按量计费的实例 ID。
|
|
11162
11183
|
:type InstanceId: str
|
|
11163
11184
|
"""
|
|
11164
11185
|
self._InstanceId = None
|
|
11165
11186
|
|
|
11166
11187
|
@property
|
|
11167
11188
|
def InstanceId(self):
|
|
11168
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
11189
|
+
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制按量计费的实例 ID。
|
|
11169
11190
|
:rtype: str
|
|
11170
11191
|
"""
|
|
11171
11192
|
return self._InstanceId
|
|
@@ -11493,8 +11514,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
|
|
|
11493
11514
|
:type InstanceId: str
|
|
11494
11515
|
:param _ReadonlyPolicy: 只读路由策略。
|
|
11495
11516
|
- master:表示只读路由至主节点。
|
|
11496
|
-
- replication
|
|
11497
|
-
- 默认策略:表示写主节点,读从节点。
|
|
11517
|
+
- replication:表示只读路由至从节点。默认值为:replication。
|
|
11498
11518
|
:type ReadonlyPolicy: list of str
|
|
11499
11519
|
"""
|
|
11500
11520
|
self._InstanceId = None
|
|
@@ -11515,8 +11535,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
|
|
|
11515
11535
|
def ReadonlyPolicy(self):
|
|
11516
11536
|
r"""只读路由策略。
|
|
11517
11537
|
- master:表示只读路由至主节点。
|
|
11518
|
-
- replication
|
|
11519
|
-
- 默认策略:表示写主节点,读从节点。
|
|
11538
|
+
- replication:表示只读路由至从节点。默认值为:replication。
|
|
11520
11539
|
:rtype: list of str
|
|
11521
11540
|
"""
|
|
11522
11541
|
return self._ReadonlyPolicy
|
|
@@ -12317,9 +12336,11 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12317
12336
|
|
|
12318
12337
|
def __init__(self):
|
|
12319
12338
|
r"""
|
|
12320
|
-
:param _Period:
|
|
12339
|
+
:param _Period: 包年包月实例的购买时长。
|
|
12340
|
+
- 单位:月。
|
|
12341
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
12321
12342
|
:type Period: int
|
|
12322
|
-
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)
|
|
12343
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis)在实例列表复制包年包月实例 ID。
|
|
12323
12344
|
:type InstanceId: str
|
|
12324
12345
|
"""
|
|
12325
12346
|
self._Period = None
|
|
@@ -12327,7 +12348,9 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12327
12348
|
|
|
12328
12349
|
@property
|
|
12329
12350
|
def Period(self):
|
|
12330
|
-
r"""
|
|
12351
|
+
r"""包年包月实例的购买时长。
|
|
12352
|
+
- 单位:月。
|
|
12353
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
12331
12354
|
:rtype: int
|
|
12332
12355
|
"""
|
|
12333
12356
|
return self._Period
|
|
@@ -12338,7 +12361,7 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12338
12361
|
|
|
12339
12362
|
@property
|
|
12340
12363
|
def InstanceId(self):
|
|
12341
|
-
r"""指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)
|
|
12364
|
+
r"""指定实例 ID。例如:crs-xjhsdj****。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis)在实例列表复制包年包月实例 ID。
|
|
12342
12365
|
:rtype: str
|
|
12343
12366
|
"""
|
|
12344
12367
|
return self._InstanceId
|
|
@@ -12466,7 +12489,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
|
|
|
12466
12489
|
:type InstanceId: str
|
|
12467
12490
|
:param _MemSize: 分片大小,单位:MB。
|
|
12468
12491
|
:type MemSize: int
|
|
12469
|
-
:param _RedisShardNum:
|
|
12492
|
+
:param _RedisShardNum: 分片数量。
|
|
12493
|
+
- 实例为标准架构,RedisShardNum 默认为1。
|
|
12494
|
+
- Redis 2.8主从版、CKV主从版和 Redis 2.8单机版不需要填写。
|
|
12470
12495
|
:type RedisShardNum: int
|
|
12471
12496
|
:param _RedisReplicasNum: 副本数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写。
|
|
12472
12497
|
:type RedisReplicasNum: int
|
|
@@ -12500,7 +12525,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
|
|
|
12500
12525
|
|
|
12501
12526
|
@property
|
|
12502
12527
|
def RedisShardNum(self):
|
|
12503
|
-
r"""
|
|
12528
|
+
r"""分片数量。
|
|
12529
|
+
- 实例为标准架构,RedisShardNum 默认为1。
|
|
12530
|
+
- Redis 2.8主从版、CKV主从版和 Redis 2.8单机版不需要填写。
|
|
12504
12531
|
:rtype: int
|
|
12505
12532
|
"""
|
|
12506
12533
|
return self._RedisShardNum
|
|
@@ -13734,12 +13761,18 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13734
13761
|
:type CommandLine: str
|
|
13735
13762
|
:param _ExecuteTime: 执行时间。
|
|
13736
13763
|
:type ExecuteTime: str
|
|
13764
|
+
:param _RecvClientEnd: 收客户端请求时长(ms)
|
|
13765
|
+
:type RecvClientEnd: int
|
|
13766
|
+
:param _SendClientEnd: 发送客户端请求时长(ms)
|
|
13767
|
+
:type SendClientEnd: int
|
|
13737
13768
|
"""
|
|
13738
13769
|
self._Duration = None
|
|
13739
13770
|
self._Client = None
|
|
13740
13771
|
self._Command = None
|
|
13741
13772
|
self._CommandLine = None
|
|
13742
13773
|
self._ExecuteTime = None
|
|
13774
|
+
self._RecvClientEnd = None
|
|
13775
|
+
self._SendClientEnd = None
|
|
13743
13776
|
|
|
13744
13777
|
@property
|
|
13745
13778
|
def Duration(self):
|
|
@@ -13796,6 +13829,28 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13796
13829
|
def ExecuteTime(self, ExecuteTime):
|
|
13797
13830
|
self._ExecuteTime = ExecuteTime
|
|
13798
13831
|
|
|
13832
|
+
@property
|
|
13833
|
+
def RecvClientEnd(self):
|
|
13834
|
+
r"""收客户端请求时长(ms)
|
|
13835
|
+
:rtype: int
|
|
13836
|
+
"""
|
|
13837
|
+
return self._RecvClientEnd
|
|
13838
|
+
|
|
13839
|
+
@RecvClientEnd.setter
|
|
13840
|
+
def RecvClientEnd(self, RecvClientEnd):
|
|
13841
|
+
self._RecvClientEnd = RecvClientEnd
|
|
13842
|
+
|
|
13843
|
+
@property
|
|
13844
|
+
def SendClientEnd(self):
|
|
13845
|
+
r"""发送客户端请求时长(ms)
|
|
13846
|
+
:rtype: int
|
|
13847
|
+
"""
|
|
13848
|
+
return self._SendClientEnd
|
|
13849
|
+
|
|
13850
|
+
@SendClientEnd.setter
|
|
13851
|
+
def SendClientEnd(self, SendClientEnd):
|
|
13852
|
+
self._SendClientEnd = SendClientEnd
|
|
13853
|
+
|
|
13799
13854
|
|
|
13800
13855
|
def _deserialize(self, params):
|
|
13801
13856
|
self._Duration = params.get("Duration")
|
|
@@ -13803,6 +13858,8 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13803
13858
|
self._Command = params.get("Command")
|
|
13804
13859
|
self._CommandLine = params.get("CommandLine")
|
|
13805
13860
|
self._ExecuteTime = params.get("ExecuteTime")
|
|
13861
|
+
self._RecvClientEnd = params.get("RecvClientEnd")
|
|
13862
|
+
self._SendClientEnd = params.get("SendClientEnd")
|
|
13806
13863
|
memeber_set = set(params.keys())
|
|
13807
13864
|
for name, value in vars(self).items():
|
|
13808
13865
|
property_name = name[1:]
|
|
@@ -17637,7 +17694,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17637
17694
|
:type Operation: str
|
|
17638
17695
|
:param _InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
|
|
17639
17696
|
:type InstanceIds: list of str
|
|
17640
|
-
:param _InstanceNames:
|
|
17697
|
+
:param _InstanceNames: 实例的新名称。名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符-。
|
|
17641
17698
|
:type InstanceNames: list of str
|
|
17642
17699
|
:param _ProjectId: 项目 ID,请登录[Redis控制台的项目管理](https://console.cloud.tencent.com/project)页面,在**项目名称**中复制项目 ID。
|
|
17643
17700
|
:type ProjectId: int
|
|
@@ -17693,7 +17750,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17693
17750
|
|
|
17694
17751
|
@property
|
|
17695
17752
|
def InstanceNames(self):
|
|
17696
|
-
r"""
|
|
17753
|
+
r"""实例的新名称。名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符-。
|
|
17697
17754
|
:rtype: list of str
|
|
17698
17755
|
"""
|
|
17699
17756
|
return self._InstanceNames
|
|
@@ -17844,6 +17901,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
|
|
|
17844
17901
|
:param _StartTime: 维护时间窗起始时间,如:17:00。
|
|
17845
17902
|
:type StartTime: str
|
|
17846
17903
|
:param _EndTime: 维护时间窗结束时间,如:19:00。
|
|
17904
|
+
**说明:**维护时间窗时长,当前支持:30分钟、1小时、1.5小时、2小时、3小时。
|
|
17847
17905
|
:type EndTime: str
|
|
17848
17906
|
"""
|
|
17849
17907
|
self._InstanceId = None
|
|
@@ -17875,6 +17933,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
|
|
|
17875
17933
|
@property
|
|
17876
17934
|
def EndTime(self):
|
|
17877
17935
|
r"""维护时间窗结束时间,如:19:00。
|
|
17936
|
+
**说明:**维护时间窗时长,当前支持:30分钟、1小时、1.5小时、2小时、3小时。
|
|
17878
17937
|
:rtype: str
|
|
17879
17938
|
"""
|
|
17880
17939
|
return self._EndTime
|
|
@@ -20801,13 +20860,18 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20801
20860
|
r"""
|
|
20802
20861
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20803
20862
|
:type InstanceId: str
|
|
20804
|
-
:param _Password:
|
|
20863
|
+
:param _Password: 重置的密码。若切换为免密实例时,可不配置该参数。
|
|
20864
|
+
- 长度8-32位, 推荐使用12位以上的密码。
|
|
20865
|
+
- 不能以"/"开头。
|
|
20866
|
+
- 至少包含小写字母a- z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
|
20805
20867
|
:type Password: str
|
|
20806
20868
|
:param _NoAuth: 是否切换免密实例。
|
|
20807
|
-
- false
|
|
20808
|
-
- true
|
|
20869
|
+
- false:切换为非免密码实例。默认 false。
|
|
20870
|
+
- true:切换为免密码实例。
|
|
20809
20871
|
:type NoAuth: bool
|
|
20810
|
-
:param _EncryptPassword:
|
|
20872
|
+
:param _EncryptPassword: 是否加密密码。
|
|
20873
|
+
- false:非加密密码。默认 false。
|
|
20874
|
+
- true:加密密码。
|
|
20811
20875
|
:type EncryptPassword: bool
|
|
20812
20876
|
"""
|
|
20813
20877
|
self._InstanceId = None
|
|
@@ -20828,7 +20892,10 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20828
20892
|
|
|
20829
20893
|
@property
|
|
20830
20894
|
def Password(self):
|
|
20831
|
-
r"""
|
|
20895
|
+
r"""重置的密码。若切换为免密实例时,可不配置该参数。
|
|
20896
|
+
- 长度8-32位, 推荐使用12位以上的密码。
|
|
20897
|
+
- 不能以"/"开头。
|
|
20898
|
+
- 至少包含小写字母a- z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
|
20832
20899
|
:rtype: str
|
|
20833
20900
|
"""
|
|
20834
20901
|
return self._Password
|
|
@@ -20840,8 +20907,8 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20840
20907
|
@property
|
|
20841
20908
|
def NoAuth(self):
|
|
20842
20909
|
r"""是否切换免密实例。
|
|
20843
|
-
- false
|
|
20844
|
-
- true
|
|
20910
|
+
- false:切换为非免密码实例。默认 false。
|
|
20911
|
+
- true:切换为免密码实例。
|
|
20845
20912
|
:rtype: bool
|
|
20846
20913
|
"""
|
|
20847
20914
|
return self._NoAuth
|
|
@@ -20852,7 +20919,9 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20852
20919
|
|
|
20853
20920
|
@property
|
|
20854
20921
|
def EncryptPassword(self):
|
|
20855
|
-
r"""
|
|
20922
|
+
r"""是否加密密码。
|
|
20923
|
+
- false:非加密密码。默认 false。
|
|
20924
|
+
- true:加密密码。
|
|
20856
20925
|
:rtype: bool
|
|
20857
20926
|
"""
|
|
20858
20927
|
return self._EncryptPassword
|
|
@@ -21678,14 +21747,14 @@ class StartupInstanceRequest(AbstractModel):
|
|
|
21678
21747
|
|
|
21679
21748
|
def __init__(self):
|
|
21680
21749
|
r"""
|
|
21681
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
21750
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在回收站复制需解隔离的实例 ID。
|
|
21682
21751
|
:type InstanceId: str
|
|
21683
21752
|
"""
|
|
21684
21753
|
self._InstanceId = None
|
|
21685
21754
|
|
|
21686
21755
|
@property
|
|
21687
21756
|
def InstanceId(self):
|
|
21688
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
21757
|
+
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在回收站复制需解隔离的实例 ID。
|
|
21689
21758
|
:rtype: str
|
|
21690
21759
|
"""
|
|
21691
21760
|
return self._InstanceId
|
|
@@ -23006,9 +23075,9 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23006
23075
|
r"""
|
|
23007
23076
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23008
23077
|
:type InstanceId: str
|
|
23009
|
-
:param _CurrentProxyVersion: 当前 Proxy 版本。
|
|
23078
|
+
:param _CurrentProxyVersion: 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。
|
|
23010
23079
|
:type CurrentProxyVersion: str
|
|
23011
|
-
:param _UpgradeProxyVersion: 可升级的 Redis 版本。
|
|
23080
|
+
:param _UpgradeProxyVersion: 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。
|
|
23012
23081
|
:type UpgradeProxyVersion: str
|
|
23013
23082
|
:param _InstanceTypeUpgradeNow: 指定是否立即升级。
|
|
23014
23083
|
- 1:立即升级。
|
|
@@ -23033,7 +23102,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23033
23102
|
|
|
23034
23103
|
@property
|
|
23035
23104
|
def CurrentProxyVersion(self):
|
|
23036
|
-
r"""当前 Proxy 版本。
|
|
23105
|
+
r"""当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。
|
|
23037
23106
|
:rtype: str
|
|
23038
23107
|
"""
|
|
23039
23108
|
return self._CurrentProxyVersion
|
|
@@ -23044,7 +23113,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23044
23113
|
|
|
23045
23114
|
@property
|
|
23046
23115
|
def UpgradeProxyVersion(self):
|
|
23047
|
-
r"""可升级的 Redis 版本。
|
|
23116
|
+
r"""可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。
|
|
23048
23117
|
:rtype: str
|
|
23049
23118
|
"""
|
|
23050
23119
|
return self._UpgradeProxyVersion
|
|
@@ -23260,10 +23329,11 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23260
23329
|
|
|
23261
23330
|
def __init__(self):
|
|
23262
23331
|
r"""
|
|
23263
|
-
:param _InstanceId: 实例ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23332
|
+
:param _InstanceId: 实例ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23264
23333
|
:type InstanceId: str
|
|
23265
23334
|
:param _UpgradeProxyAndRedisServer: 升级多可用区之后是否支持就近访问功能。
|
|
23266
|
-
|
|
23335
|
+
- true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。
|
|
23336
|
+
- false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。默认为 false。
|
|
23267
23337
|
:type UpgradeProxyAndRedisServer: bool
|
|
23268
23338
|
"""
|
|
23269
23339
|
self._InstanceId = None
|
|
@@ -23271,7 +23341,7 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23271
23341
|
|
|
23272
23342
|
@property
|
|
23273
23343
|
def InstanceId(self):
|
|
23274
|
-
r"""实例ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23344
|
+
r"""实例ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23275
23345
|
:rtype: str
|
|
23276
23346
|
"""
|
|
23277
23347
|
return self._InstanceId
|
|
@@ -23283,7 +23353,8 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23283
23353
|
@property
|
|
23284
23354
|
def UpgradeProxyAndRedisServer(self):
|
|
23285
23355
|
r"""升级多可用区之后是否支持就近访问功能。
|
|
23286
|
-
|
|
23356
|
+
- true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。
|
|
23357
|
+
- false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。默认为 false。
|
|
23287
23358
|
:rtype: bool
|
|
23288
23359
|
"""
|
|
23289
23360
|
return self._UpgradeProxyAndRedisServer
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1464
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1462
|
{tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1464}/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
|