tencentcloud-sdk-python-redis 3.0.1462__tar.gz → 3.0.1463__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.1463}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/redis/v20180412/models.py +131 -66
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1463/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.1463}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud/redis/v20180412/redis_client.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1462 → tencentcloud-sdk-python-redis-3.0.1463}/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.1463,<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(),
|
|
@@ -1491,14 +1491,14 @@ class CleanUpInstanceRequest(AbstractModel):
|
|
|
1491
1491
|
|
|
1492
1492
|
def __init__(self):
|
|
1493
1493
|
r"""
|
|
1494
|
-
:param _InstanceId: 实例 ID,请登录[Redis
|
|
1494
|
+
:param _InstanceId: 实例 ID,请登录 [Redis 控制台回收站](https://console.cloud.tencent.com/redis/recycle)的实例列表复制实例 ID。
|
|
1495
1495
|
:type InstanceId: str
|
|
1496
1496
|
"""
|
|
1497
1497
|
self._InstanceId = None
|
|
1498
1498
|
|
|
1499
1499
|
@property
|
|
1500
1500
|
def InstanceId(self):
|
|
1501
|
-
r"""实例 ID,请登录[Redis
|
|
1501
|
+
r"""实例 ID,请登录 [Redis 控制台回收站](https://console.cloud.tencent.com/redis/recycle)的实例列表复制实例 ID。
|
|
1502
1502
|
:rtype: str
|
|
1503
1503
|
"""
|
|
1504
1504
|
return self._InstanceId
|
|
@@ -1695,7 +1695,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1695
1695
|
:type BillingMode: int
|
|
1696
1696
|
: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
1697
|
:type Period: int
|
|
1698
|
-
:param _SecurityGroupIdList: 安全组ID
|
|
1698
|
+
:param _SecurityGroupIdList: 安全组ID。请通过 [DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447) 接口获取实例的安全组 ID。
|
|
1699
1699
|
:type SecurityGroupIdList: list of str
|
|
1700
1700
|
:param _BackupId: 克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。
|
|
1701
1701
|
:type BackupId: str
|
|
@@ -1813,7 +1813,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1813
1813
|
|
|
1814
1814
|
@property
|
|
1815
1815
|
def SecurityGroupIdList(self):
|
|
1816
|
-
r"""安全组ID
|
|
1816
|
+
r"""安全组ID。请通过 [DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447) 接口获取实例的安全组 ID。
|
|
1817
1817
|
:rtype: list of str
|
|
1818
1818
|
"""
|
|
1819
1819
|
return self._SecurityGroupIdList
|
|
@@ -3210,10 +3210,13 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3210
3210
|
r"""
|
|
3211
3211
|
:param _TaskId: 异步流程ID。
|
|
3212
3212
|
:type TaskId: int
|
|
3213
|
+
:param _GroupId: 复制组string型id
|
|
3214
|
+
:type GroupId: str
|
|
3213
3215
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3214
3216
|
:type RequestId: str
|
|
3215
3217
|
"""
|
|
3216
3218
|
self._TaskId = None
|
|
3219
|
+
self._GroupId = None
|
|
3217
3220
|
self._RequestId = None
|
|
3218
3221
|
|
|
3219
3222
|
@property
|
|
@@ -3227,6 +3230,17 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3227
3230
|
def TaskId(self, TaskId):
|
|
3228
3231
|
self._TaskId = TaskId
|
|
3229
3232
|
|
|
3233
|
+
@property
|
|
3234
|
+
def GroupId(self):
|
|
3235
|
+
r"""复制组string型id
|
|
3236
|
+
:rtype: str
|
|
3237
|
+
"""
|
|
3238
|
+
return self._GroupId
|
|
3239
|
+
|
|
3240
|
+
@GroupId.setter
|
|
3241
|
+
def GroupId(self, GroupId):
|
|
3242
|
+
self._GroupId = GroupId
|
|
3243
|
+
|
|
3230
3244
|
@property
|
|
3231
3245
|
def RequestId(self):
|
|
3232
3246
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -3241,6 +3255,7 @@ class CreateReplicationGroupResponse(AbstractModel):
|
|
|
3241
3255
|
|
|
3242
3256
|
def _deserialize(self, params):
|
|
3243
3257
|
self._TaskId = params.get("TaskId")
|
|
3258
|
+
self._GroupId = params.get("GroupId")
|
|
3244
3259
|
self._RequestId = params.get("RequestId")
|
|
3245
3260
|
|
|
3246
3261
|
|
|
@@ -7600,12 +7615,12 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7600
7615
|
|
|
7601
7616
|
def __init__(self):
|
|
7602
7617
|
r"""
|
|
7603
|
-
:param _InstanceId: 指定实例 ID
|
|
7604
|
-
示例值:crs-asdasdas
|
|
7618
|
+
:param _InstanceId: 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
7605
7619
|
:type InstanceId: str
|
|
7606
|
-
:param _FeatureName:
|
|
7607
|
-
- read-local-node-only
|
|
7608
|
-
- multi-account
|
|
7620
|
+
:param _FeatureName: 支持查询的功能特性如下所示。
|
|
7621
|
+
- read-local-node-only:就近接入。
|
|
7622
|
+
- multi-account:多账号管理。
|
|
7623
|
+
- auto-failback:故障恢复场景,主节点是否开启自动回切。
|
|
7609
7624
|
:type FeatureName: str
|
|
7610
7625
|
"""
|
|
7611
7626
|
self._InstanceId = None
|
|
@@ -7613,8 +7628,7 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7613
7628
|
|
|
7614
7629
|
@property
|
|
7615
7630
|
def InstanceId(self):
|
|
7616
|
-
r"""指定实例 ID
|
|
7617
|
-
示例值:crs-asdasdas
|
|
7631
|
+
r"""指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
7618
7632
|
:rtype: str
|
|
7619
7633
|
"""
|
|
7620
7634
|
return self._InstanceId
|
|
@@ -7625,9 +7639,10 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
|
|
|
7625
7639
|
|
|
7626
7640
|
@property
|
|
7627
7641
|
def FeatureName(self):
|
|
7628
|
-
r"""
|
|
7629
|
-
- read-local-node-only
|
|
7630
|
-
- multi-account
|
|
7642
|
+
r"""支持查询的功能特性如下所示。
|
|
7643
|
+
- read-local-node-only:就近接入。
|
|
7644
|
+
- multi-account:多账号管理。
|
|
7645
|
+
- auto-failback:故障恢复场景,主节点是否开启自动回切。
|
|
7631
7646
|
:rtype: str
|
|
7632
7647
|
"""
|
|
7633
7648
|
return self._FeatureName
|
|
@@ -9136,11 +9151,11 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9136
9151
|
:type BeginTime: str
|
|
9137
9152
|
:param _EndTime: 慢查询的结束时间,查询时间最大跨度30天。
|
|
9138
9153
|
:type EndTime: str
|
|
9139
|
-
:param _MinQueryTime:
|
|
9154
|
+
:param _MinQueryTime: 慢查询阈值。取值为大于0 的正整数。单位:毫秒。
|
|
9140
9155
|
:type MinQueryTime: int
|
|
9141
|
-
:param _Limit:
|
|
9156
|
+
:param _Limit: 每页输出的任务列表大小。默认值为20,最小值为1,最大值为100。
|
|
9142
9157
|
:type Limit: int
|
|
9143
|
-
:param _Offset:
|
|
9158
|
+
:param _Offset: 分页偏移量。默认为0。取值为 Limit 整数倍。计算公式:offset=limit*(页码-1)。
|
|
9144
9159
|
:type Offset: int
|
|
9145
9160
|
"""
|
|
9146
9161
|
self._InstanceId = None
|
|
@@ -9186,7 +9201,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9186
9201
|
|
|
9187
9202
|
@property
|
|
9188
9203
|
def MinQueryTime(self):
|
|
9189
|
-
r"""
|
|
9204
|
+
r"""慢查询阈值。取值为大于0 的正整数。单位:毫秒。
|
|
9190
9205
|
:rtype: int
|
|
9191
9206
|
"""
|
|
9192
9207
|
return self._MinQueryTime
|
|
@@ -9197,7 +9212,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9197
9212
|
|
|
9198
9213
|
@property
|
|
9199
9214
|
def Limit(self):
|
|
9200
|
-
r"""
|
|
9215
|
+
r"""每页输出的任务列表大小。默认值为20,最小值为1,最大值为100。
|
|
9201
9216
|
:rtype: int
|
|
9202
9217
|
"""
|
|
9203
9218
|
return self._Limit
|
|
@@ -9208,7 +9223,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
|
|
|
9208
9223
|
|
|
9209
9224
|
@property
|
|
9210
9225
|
def Offset(self):
|
|
9211
|
-
r"""
|
|
9226
|
+
r"""分页偏移量。默认为0。取值为 Limit 整数倍。计算公式:offset=limit*(页码-1)。
|
|
9212
9227
|
:rtype: int
|
|
9213
9228
|
"""
|
|
9214
9229
|
return self._Offset
|
|
@@ -9779,7 +9794,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
|
|
|
9779
9794
|
|
|
9780
9795
|
def __init__(self):
|
|
9781
9796
|
r"""
|
|
9782
|
-
:param _Limit:
|
|
9797
|
+
:param _Limit: 每页输出实例列表的大小。取值为大于0 的正整数,默认为20。
|
|
9783
9798
|
:type Limit: int
|
|
9784
9799
|
:param _Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
9785
9800
|
:type Offset: int
|
|
@@ -9795,7 +9810,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
|
|
|
9795
9810
|
|
|
9796
9811
|
@property
|
|
9797
9812
|
def Limit(self):
|
|
9798
|
-
r"""
|
|
9813
|
+
r"""每页输出实例列表的大小。取值为大于0 的正整数,默认为20。
|
|
9799
9814
|
:rtype: int
|
|
9800
9815
|
"""
|
|
9801
9816
|
return self._Limit
|
|
@@ -10231,11 +10246,11 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10231
10246
|
:type BeginTime: str
|
|
10232
10247
|
:param _EndTime: 预查询慢日志的结束时间,查询时间最大跨度30天
|
|
10233
10248
|
:type EndTime: str
|
|
10234
|
-
:param _MinQueryTime:
|
|
10249
|
+
:param _MinQueryTime: 慢查询平均执行时间阈值。取值为大于0 的正整数。单位:毫秒。
|
|
10235
10250
|
:type MinQueryTime: int
|
|
10236
|
-
:param _Limit: 每个页面展示的慢查询条数,默认值为20
|
|
10251
|
+
:param _Limit: 每个页面展示的慢查询条数,默认值为20,最小值为1,最大值为100。
|
|
10237
10252
|
:type Limit: int
|
|
10238
|
-
:param _Offset:
|
|
10253
|
+
:param _Offset: 慢查询条数的偏移量。默认为0。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
10239
10254
|
:type Offset: int
|
|
10240
10255
|
:param _Role: 节点所属角色。
|
|
10241
10256
|
- master:主节点。
|
|
@@ -10286,7 +10301,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10286
10301
|
|
|
10287
10302
|
@property
|
|
10288
10303
|
def MinQueryTime(self):
|
|
10289
|
-
r"""
|
|
10304
|
+
r"""慢查询平均执行时间阈值。取值为大于0 的正整数。单位:毫秒。
|
|
10290
10305
|
:rtype: int
|
|
10291
10306
|
"""
|
|
10292
10307
|
return self._MinQueryTime
|
|
@@ -10297,7 +10312,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10297
10312
|
|
|
10298
10313
|
@property
|
|
10299
10314
|
def Limit(self):
|
|
10300
|
-
r"""每个页面展示的慢查询条数,默认值为20
|
|
10315
|
+
r"""每个页面展示的慢查询条数,默认值为20,最小值为1,最大值为100。
|
|
10301
10316
|
:rtype: int
|
|
10302
10317
|
"""
|
|
10303
10318
|
return self._Limit
|
|
@@ -10308,7 +10323,7 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
10308
10323
|
|
|
10309
10324
|
@property
|
|
10310
10325
|
def Offset(self):
|
|
10311
|
-
r"""
|
|
10326
|
+
r"""慢查询条数的偏移量。默认为0。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
10312
10327
|
:rtype: int
|
|
10313
10328
|
"""
|
|
10314
10329
|
return self._Offset
|
|
@@ -10990,11 +11005,11 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
10990
11005
|
:type BeginTime: str
|
|
10991
11006
|
:param _EndTime: 结束时间:2019-09-09 12:12:41,查询时间最大跨度30天。
|
|
10992
11007
|
:type EndTime: str
|
|
10993
|
-
:param _MinQueryTime:
|
|
11008
|
+
:param _MinQueryTime: 慢查询阈值,取值为大于0的正整数,单位:毫秒。
|
|
10994
11009
|
:type MinQueryTime: int
|
|
10995
|
-
:param _Limit:
|
|
11010
|
+
:param _Limit: 页面大小。默认为20,最小为1,最大为100。
|
|
10996
11011
|
:type Limit: int
|
|
10997
|
-
:param _Offset:
|
|
11012
|
+
:param _Offset: 分页偏移量。默认为0,取值为 Limit 整数倍,计算公式:offset=limit*(页码-1)。
|
|
10998
11013
|
:type Offset: int
|
|
10999
11014
|
"""
|
|
11000
11015
|
self._InstanceId = None
|
|
@@ -11039,7 +11054,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11039
11054
|
|
|
11040
11055
|
@property
|
|
11041
11056
|
def MinQueryTime(self):
|
|
11042
|
-
r"""
|
|
11057
|
+
r"""慢查询阈值,取值为大于0的正整数,单位:毫秒。
|
|
11043
11058
|
:rtype: int
|
|
11044
11059
|
"""
|
|
11045
11060
|
return self._MinQueryTime
|
|
@@ -11050,7 +11065,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11050
11065
|
|
|
11051
11066
|
@property
|
|
11052
11067
|
def Limit(self):
|
|
11053
|
-
r"""
|
|
11068
|
+
r"""页面大小。默认为20,最小为1,最大为100。
|
|
11054
11069
|
:rtype: int
|
|
11055
11070
|
"""
|
|
11056
11071
|
return self._Limit
|
|
@@ -11061,7 +11076,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
|
|
|
11061
11076
|
|
|
11062
11077
|
@property
|
|
11063
11078
|
def Offset(self):
|
|
11064
|
-
r"""
|
|
11079
|
+
r"""分页偏移量。默认为0,取值为 Limit 整数倍,计算公式:offset=limit*(页码-1)。
|
|
11065
11080
|
:rtype: int
|
|
11066
11081
|
"""
|
|
11067
11082
|
return self._Offset
|
|
@@ -11158,14 +11173,14 @@ class DestroyPostpaidInstanceRequest(AbstractModel):
|
|
|
11158
11173
|
|
|
11159
11174
|
def __init__(self):
|
|
11160
11175
|
r"""
|
|
11161
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
11176
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制按量计费的实例 ID。
|
|
11162
11177
|
:type InstanceId: str
|
|
11163
11178
|
"""
|
|
11164
11179
|
self._InstanceId = None
|
|
11165
11180
|
|
|
11166
11181
|
@property
|
|
11167
11182
|
def InstanceId(self):
|
|
11168
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
11183
|
+
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制按量计费的实例 ID。
|
|
11169
11184
|
:rtype: str
|
|
11170
11185
|
"""
|
|
11171
11186
|
return self._InstanceId
|
|
@@ -11493,8 +11508,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
|
|
|
11493
11508
|
:type InstanceId: str
|
|
11494
11509
|
:param _ReadonlyPolicy: 只读路由策略。
|
|
11495
11510
|
- master:表示只读路由至主节点。
|
|
11496
|
-
- replication
|
|
11497
|
-
- 默认策略:表示写主节点,读从节点。
|
|
11511
|
+
- replication:表示只读路由至从节点。默认值为:replication。
|
|
11498
11512
|
:type ReadonlyPolicy: list of str
|
|
11499
11513
|
"""
|
|
11500
11514
|
self._InstanceId = None
|
|
@@ -11515,8 +11529,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
|
|
|
11515
11529
|
def ReadonlyPolicy(self):
|
|
11516
11530
|
r"""只读路由策略。
|
|
11517
11531
|
- master:表示只读路由至主节点。
|
|
11518
|
-
- replication
|
|
11519
|
-
- 默认策略:表示写主节点,读从节点。
|
|
11532
|
+
- replication:表示只读路由至从节点。默认值为:replication。
|
|
11520
11533
|
:rtype: list of str
|
|
11521
11534
|
"""
|
|
11522
11535
|
return self._ReadonlyPolicy
|
|
@@ -12317,9 +12330,11 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12317
12330
|
|
|
12318
12331
|
def __init__(self):
|
|
12319
12332
|
r"""
|
|
12320
|
-
:param _Period:
|
|
12333
|
+
:param _Period: 包年包月实例的购买时长。
|
|
12334
|
+
- 单位:月。
|
|
12335
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
12321
12336
|
:type Period: int
|
|
12322
|
-
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)
|
|
12337
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis)在实例列表复制包年包月实例 ID。
|
|
12323
12338
|
:type InstanceId: str
|
|
12324
12339
|
"""
|
|
12325
12340
|
self._Period = None
|
|
@@ -12327,7 +12342,9 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12327
12342
|
|
|
12328
12343
|
@property
|
|
12329
12344
|
def Period(self):
|
|
12330
|
-
r"""
|
|
12345
|
+
r"""包年包月实例的购买时长。
|
|
12346
|
+
- 单位:月。
|
|
12347
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
12331
12348
|
:rtype: int
|
|
12332
12349
|
"""
|
|
12333
12350
|
return self._Period
|
|
@@ -12338,7 +12355,7 @@ class InquiryPriceRenewInstanceRequest(AbstractModel):
|
|
|
12338
12355
|
|
|
12339
12356
|
@property
|
|
12340
12357
|
def InstanceId(self):
|
|
12341
|
-
r"""指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)
|
|
12358
|
+
r"""指定实例 ID。例如:crs-xjhsdj****。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis)在实例列表复制包年包月实例 ID。
|
|
12342
12359
|
:rtype: str
|
|
12343
12360
|
"""
|
|
12344
12361
|
return self._InstanceId
|
|
@@ -12466,7 +12483,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
|
|
|
12466
12483
|
:type InstanceId: str
|
|
12467
12484
|
:param _MemSize: 分片大小,单位:MB。
|
|
12468
12485
|
:type MemSize: int
|
|
12469
|
-
:param _RedisShardNum:
|
|
12486
|
+
:param _RedisShardNum: 分片数量。
|
|
12487
|
+
- 实例为标准架构,RedisShardNum 默认为1。
|
|
12488
|
+
- Redis 2.8主从版、CKV主从版和 Redis 2.8单机版不需要填写。
|
|
12470
12489
|
:type RedisShardNum: int
|
|
12471
12490
|
:param _RedisReplicasNum: 副本数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写。
|
|
12472
12491
|
:type RedisReplicasNum: int
|
|
@@ -12500,7 +12519,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
|
|
|
12500
12519
|
|
|
12501
12520
|
@property
|
|
12502
12521
|
def RedisShardNum(self):
|
|
12503
|
-
r"""
|
|
12522
|
+
r"""分片数量。
|
|
12523
|
+
- 实例为标准架构,RedisShardNum 默认为1。
|
|
12524
|
+
- Redis 2.8主从版、CKV主从版和 Redis 2.8单机版不需要填写。
|
|
12504
12525
|
:rtype: int
|
|
12505
12526
|
"""
|
|
12506
12527
|
return self._RedisShardNum
|
|
@@ -13734,12 +13755,18 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13734
13755
|
:type CommandLine: str
|
|
13735
13756
|
:param _ExecuteTime: 执行时间。
|
|
13736
13757
|
:type ExecuteTime: str
|
|
13758
|
+
:param _RecvClientEnd: 收客户端请求时长(ms)
|
|
13759
|
+
:type RecvClientEnd: int
|
|
13760
|
+
:param _SendClientEnd: 发送客户端请求时长(ms)
|
|
13761
|
+
:type SendClientEnd: int
|
|
13737
13762
|
"""
|
|
13738
13763
|
self._Duration = None
|
|
13739
13764
|
self._Client = None
|
|
13740
13765
|
self._Command = None
|
|
13741
13766
|
self._CommandLine = None
|
|
13742
13767
|
self._ExecuteTime = None
|
|
13768
|
+
self._RecvClientEnd = None
|
|
13769
|
+
self._SendClientEnd = None
|
|
13743
13770
|
|
|
13744
13771
|
@property
|
|
13745
13772
|
def Duration(self):
|
|
@@ -13796,6 +13823,28 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13796
13823
|
def ExecuteTime(self, ExecuteTime):
|
|
13797
13824
|
self._ExecuteTime = ExecuteTime
|
|
13798
13825
|
|
|
13826
|
+
@property
|
|
13827
|
+
def RecvClientEnd(self):
|
|
13828
|
+
r"""收客户端请求时长(ms)
|
|
13829
|
+
:rtype: int
|
|
13830
|
+
"""
|
|
13831
|
+
return self._RecvClientEnd
|
|
13832
|
+
|
|
13833
|
+
@RecvClientEnd.setter
|
|
13834
|
+
def RecvClientEnd(self, RecvClientEnd):
|
|
13835
|
+
self._RecvClientEnd = RecvClientEnd
|
|
13836
|
+
|
|
13837
|
+
@property
|
|
13838
|
+
def SendClientEnd(self):
|
|
13839
|
+
r"""发送客户端请求时长(ms)
|
|
13840
|
+
:rtype: int
|
|
13841
|
+
"""
|
|
13842
|
+
return self._SendClientEnd
|
|
13843
|
+
|
|
13844
|
+
@SendClientEnd.setter
|
|
13845
|
+
def SendClientEnd(self, SendClientEnd):
|
|
13846
|
+
self._SendClientEnd = SendClientEnd
|
|
13847
|
+
|
|
13799
13848
|
|
|
13800
13849
|
def _deserialize(self, params):
|
|
13801
13850
|
self._Duration = params.get("Duration")
|
|
@@ -13803,6 +13852,8 @@ class InstanceProxySlowlogDetail(AbstractModel):
|
|
|
13803
13852
|
self._Command = params.get("Command")
|
|
13804
13853
|
self._CommandLine = params.get("CommandLine")
|
|
13805
13854
|
self._ExecuteTime = params.get("ExecuteTime")
|
|
13855
|
+
self._RecvClientEnd = params.get("RecvClientEnd")
|
|
13856
|
+
self._SendClientEnd = params.get("SendClientEnd")
|
|
13806
13857
|
memeber_set = set(params.keys())
|
|
13807
13858
|
for name, value in vars(self).items():
|
|
13808
13859
|
property_name = name[1:]
|
|
@@ -17637,7 +17688,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17637
17688
|
:type Operation: str
|
|
17638
17689
|
:param _InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
|
|
17639
17690
|
:type InstanceIds: list of str
|
|
17640
|
-
:param _InstanceNames:
|
|
17691
|
+
:param _InstanceNames: 实例的新名称。名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符-。
|
|
17641
17692
|
:type InstanceNames: list of str
|
|
17642
17693
|
:param _ProjectId: 项目 ID,请登录[Redis控制台的项目管理](https://console.cloud.tencent.com/project)页面,在**项目名称**中复制项目 ID。
|
|
17643
17694
|
:type ProjectId: int
|
|
@@ -17693,7 +17744,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17693
17744
|
|
|
17694
17745
|
@property
|
|
17695
17746
|
def InstanceNames(self):
|
|
17696
|
-
r"""
|
|
17747
|
+
r"""实例的新名称。名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符-。
|
|
17697
17748
|
:rtype: list of str
|
|
17698
17749
|
"""
|
|
17699
17750
|
return self._InstanceNames
|
|
@@ -17844,6 +17895,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
|
|
|
17844
17895
|
:param _StartTime: 维护时间窗起始时间,如:17:00。
|
|
17845
17896
|
:type StartTime: str
|
|
17846
17897
|
:param _EndTime: 维护时间窗结束时间,如:19:00。
|
|
17898
|
+
**说明:**维护时间窗时长,当前支持:30分钟、1小时、1.5小时、2小时、3小时。
|
|
17847
17899
|
:type EndTime: str
|
|
17848
17900
|
"""
|
|
17849
17901
|
self._InstanceId = None
|
|
@@ -17875,6 +17927,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
|
|
|
17875
17927
|
@property
|
|
17876
17928
|
def EndTime(self):
|
|
17877
17929
|
r"""维护时间窗结束时间,如:19:00。
|
|
17930
|
+
**说明:**维护时间窗时长,当前支持:30分钟、1小时、1.5小时、2小时、3小时。
|
|
17878
17931
|
:rtype: str
|
|
17879
17932
|
"""
|
|
17880
17933
|
return self._EndTime
|
|
@@ -20801,13 +20854,18 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20801
20854
|
r"""
|
|
20802
20855
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20803
20856
|
:type InstanceId: str
|
|
20804
|
-
:param _Password:
|
|
20857
|
+
:param _Password: 重置的密码。若切换为免密实例时,可不配置该参数。
|
|
20858
|
+
- 长度8-32位, 推荐使用12位以上的密码。
|
|
20859
|
+
- 不能以"/"开头。
|
|
20860
|
+
- 至少包含小写字母a- z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
|
20805
20861
|
:type Password: str
|
|
20806
20862
|
:param _NoAuth: 是否切换免密实例。
|
|
20807
|
-
- false
|
|
20808
|
-
- true
|
|
20863
|
+
- false:切换为非免密码实例。默认 false。
|
|
20864
|
+
- true:切换为免密码实例。
|
|
20809
20865
|
:type NoAuth: bool
|
|
20810
|
-
:param _EncryptPassword:
|
|
20866
|
+
:param _EncryptPassword: 是否加密密码。
|
|
20867
|
+
- false:非加密密码。默认 false。
|
|
20868
|
+
- true:加密密码。
|
|
20811
20869
|
:type EncryptPassword: bool
|
|
20812
20870
|
"""
|
|
20813
20871
|
self._InstanceId = None
|
|
@@ -20828,7 +20886,10 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20828
20886
|
|
|
20829
20887
|
@property
|
|
20830
20888
|
def Password(self):
|
|
20831
|
-
r"""
|
|
20889
|
+
r"""重置的密码。若切换为免密实例时,可不配置该参数。
|
|
20890
|
+
- 长度8-32位, 推荐使用12位以上的密码。
|
|
20891
|
+
- 不能以"/"开头。
|
|
20892
|
+
- 至少包含小写字母a- z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
|
20832
20893
|
:rtype: str
|
|
20833
20894
|
"""
|
|
20834
20895
|
return self._Password
|
|
@@ -20840,8 +20901,8 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20840
20901
|
@property
|
|
20841
20902
|
def NoAuth(self):
|
|
20842
20903
|
r"""是否切换免密实例。
|
|
20843
|
-
- false
|
|
20844
|
-
- true
|
|
20904
|
+
- false:切换为非免密码实例。默认 false。
|
|
20905
|
+
- true:切换为免密码实例。
|
|
20845
20906
|
:rtype: bool
|
|
20846
20907
|
"""
|
|
20847
20908
|
return self._NoAuth
|
|
@@ -20852,7 +20913,9 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20852
20913
|
|
|
20853
20914
|
@property
|
|
20854
20915
|
def EncryptPassword(self):
|
|
20855
|
-
r"""
|
|
20916
|
+
r"""是否加密密码。
|
|
20917
|
+
- false:非加密密码。默认 false。
|
|
20918
|
+
- true:加密密码。
|
|
20856
20919
|
:rtype: bool
|
|
20857
20920
|
"""
|
|
20858
20921
|
return self._EncryptPassword
|
|
@@ -21678,14 +21741,14 @@ class StartupInstanceRequest(AbstractModel):
|
|
|
21678
21741
|
|
|
21679
21742
|
def __init__(self):
|
|
21680
21743
|
r"""
|
|
21681
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
21744
|
+
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在回收站复制需解隔离的实例 ID。
|
|
21682
21745
|
:type InstanceId: str
|
|
21683
21746
|
"""
|
|
21684
21747
|
self._InstanceId = None
|
|
21685
21748
|
|
|
21686
21749
|
@property
|
|
21687
21750
|
def InstanceId(self):
|
|
21688
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
|
21751
|
+
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在回收站复制需解隔离的实例 ID。
|
|
21689
21752
|
:rtype: str
|
|
21690
21753
|
"""
|
|
21691
21754
|
return self._InstanceId
|
|
@@ -23006,9 +23069,9 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23006
23069
|
r"""
|
|
23007
23070
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23008
23071
|
:type InstanceId: str
|
|
23009
|
-
:param _CurrentProxyVersion: 当前 Proxy 版本。
|
|
23072
|
+
:param _CurrentProxyVersion: 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。
|
|
23010
23073
|
:type CurrentProxyVersion: str
|
|
23011
|
-
:param _UpgradeProxyVersion: 可升级的 Redis 版本。
|
|
23074
|
+
:param _UpgradeProxyVersion: 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。
|
|
23012
23075
|
:type UpgradeProxyVersion: str
|
|
23013
23076
|
:param _InstanceTypeUpgradeNow: 指定是否立即升级。
|
|
23014
23077
|
- 1:立即升级。
|
|
@@ -23033,7 +23096,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23033
23096
|
|
|
23034
23097
|
@property
|
|
23035
23098
|
def CurrentProxyVersion(self):
|
|
23036
|
-
r"""当前 Proxy 版本。
|
|
23099
|
+
r"""当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。
|
|
23037
23100
|
:rtype: str
|
|
23038
23101
|
"""
|
|
23039
23102
|
return self._CurrentProxyVersion
|
|
@@ -23044,7 +23107,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
|
|
|
23044
23107
|
|
|
23045
23108
|
@property
|
|
23046
23109
|
def UpgradeProxyVersion(self):
|
|
23047
|
-
r"""可升级的 Redis 版本。
|
|
23110
|
+
r"""可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。
|
|
23048
23111
|
:rtype: str
|
|
23049
23112
|
"""
|
|
23050
23113
|
return self._UpgradeProxyVersion
|
|
@@ -23260,10 +23323,11 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23260
23323
|
|
|
23261
23324
|
def __init__(self):
|
|
23262
23325
|
r"""
|
|
23263
|
-
:param _InstanceId: 实例ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23326
|
+
:param _InstanceId: 实例ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23264
23327
|
:type InstanceId: str
|
|
23265
23328
|
:param _UpgradeProxyAndRedisServer: 升级多可用区之后是否支持就近访问功能。
|
|
23266
|
-
|
|
23329
|
+
- true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。
|
|
23330
|
+
- false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。默认为 false。
|
|
23267
23331
|
:type UpgradeProxyAndRedisServer: bool
|
|
23268
23332
|
"""
|
|
23269
23333
|
self._InstanceId = None
|
|
@@ -23271,7 +23335,7 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23271
23335
|
|
|
23272
23336
|
@property
|
|
23273
23337
|
def InstanceId(self):
|
|
23274
|
-
r"""实例ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23338
|
+
r"""实例ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
23275
23339
|
:rtype: str
|
|
23276
23340
|
"""
|
|
23277
23341
|
return self._InstanceId
|
|
@@ -23283,7 +23347,8 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
|
|
|
23283
23347
|
@property
|
|
23284
23348
|
def UpgradeProxyAndRedisServer(self):
|
|
23285
23349
|
r"""升级多可用区之后是否支持就近访问功能。
|
|
23286
|
-
|
|
23350
|
+
- true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。
|
|
23351
|
+
- false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。默认为 false。
|
|
23287
23352
|
:rtype: bool
|
|
23288
23353
|
"""
|
|
23289
23354
|
return self._UpgradeProxyAndRedisServer
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1463
|
|
@@ -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.1463}/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
|