tencentcloud-sdk-python-redis 3.0.884__tar.gz → 3.0.886__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.884 → tencentcloud-sdk-python-redis-3.0.886}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/redis/v20180412/models.py +19 -14
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/redis/v20180412/redis_client.py +2 -2
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/setup.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.884 → tencentcloud-sdk-python-redis-3.0.886}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -2924,9 +2924,11 @@ class DescribeInstanceShardsRequest(AbstractModel):
|
|
|
2924
2924
|
|
|
2925
2925
|
def __init__(self):
|
|
2926
2926
|
r"""
|
|
2927
|
-
:param InstanceId:
|
|
2927
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2928
2928
|
:type InstanceId: str
|
|
2929
|
-
:param FilterSlave:
|
|
2929
|
+
:param FilterSlave: 是否过滤掉从节信息。
|
|
2930
|
+
- true;过滤从节点。
|
|
2931
|
+
- false:不过滤。
|
|
2930
2932
|
:type FilterSlave: bool
|
|
2931
2933
|
"""
|
|
2932
2934
|
self.InstanceId = None
|
|
@@ -2952,9 +2954,9 @@ class DescribeInstanceShardsResponse(AbstractModel):
|
|
|
2952
2954
|
|
|
2953
2955
|
def __init__(self):
|
|
2954
2956
|
r"""
|
|
2955
|
-
:param InstanceShards:
|
|
2957
|
+
:param InstanceShards: 实例分片列表信息,包括:节点信息、节点ID、Key数量、使用容量、容量倾斜率等信息。
|
|
2956
2958
|
:type InstanceShards: list of InstanceClusterShard
|
|
2957
|
-
:param TotalCount:
|
|
2959
|
+
:param TotalCount: 实例分片节点数量。
|
|
2958
2960
|
:type TotalCount: int
|
|
2959
2961
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2960
2962
|
:type RequestId: str
|
|
@@ -3038,11 +3040,13 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3038
3040
|
r"""
|
|
3039
3041
|
:param Limit: 每页输出实例的数量,参数默认值20,最大值为1000。
|
|
3040
3042
|
:type Limit: int
|
|
3041
|
-
:param Offset: 分页偏移量,取Limit
|
|
3043
|
+
:param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3042
3044
|
:type Offset: int
|
|
3043
|
-
:param InstanceId:
|
|
3045
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3046
|
+
|
|
3047
|
+
|
|
3044
3048
|
:type InstanceId: str
|
|
3045
|
-
:param OrderBy:
|
|
3049
|
+
:param OrderBy: 实例列表排序依据,枚举值如下所示:<ul><li>projectId:依据项目ID排序。</li><li>createtime:依据实例创建时间排序。</li><li>instancename:依据实例名称排序。</li><li>type:依据实例类型排序。</li><li>curDeadline:依据实例到期时间排序。</li></ul>
|
|
3046
3050
|
:type OrderBy: str
|
|
3047
3051
|
:param OrderType: 实例排序方式,默认为倒序排序。<ul><li>1:倒序。</li><li>0:顺序。</li></ul>
|
|
3048
3052
|
:type OrderType: int
|
|
@@ -3068,7 +3072,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3068
3072
|
:type TypeVersion: int
|
|
3069
3073
|
:param EngineName: 存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。
|
|
3070
3074
|
:type EngineName: str
|
|
3071
|
-
:param AutoRenew: 续费模式。<ul><li>0
|
|
3075
|
+
:param AutoRenew: 续费模式。<ul><li>0:手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
|
3072
3076
|
:type AutoRenew: list of int
|
|
3073
3077
|
:param BillingMode: 计费模式。<ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
|
3074
3078
|
:type BillingMode: str
|
|
@@ -3084,7 +3088,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
|
3084
3088
|
:type InstanceTags: list of InstanceTagInfo
|
|
3085
3089
|
:param TagKeys: 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
|
3086
3090
|
:type TagKeys: list of str
|
|
3087
|
-
:param ProductVersions: 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>
|
|
3091
|
+
:param ProductVersions: 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>cdc:独享集群版。</li></ul>
|
|
3088
3092
|
:type ProductVersions: list of str
|
|
3089
3093
|
:param InstanceIds: 批量查询指定的实例 ID,返回结果已 Limit 限制为主。
|
|
3090
3094
|
:type InstanceIds: list of str
|
|
@@ -3753,17 +3757,18 @@ class DescribeSlowLogRequest(AbstractModel):
|
|
|
3753
3757
|
|
|
3754
3758
|
def __init__(self):
|
|
3755
3759
|
r"""
|
|
3756
|
-
:param InstanceId:
|
|
3760
|
+
:param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3761
|
+
|
|
3757
3762
|
:type InstanceId: str
|
|
3758
|
-
:param BeginTime:
|
|
3763
|
+
:param BeginTime: 预查询慢日志的起始时间。
|
|
3759
3764
|
:type BeginTime: str
|
|
3760
|
-
:param EndTime:
|
|
3765
|
+
:param EndTime: 预查询慢日志的结束时间。
|
|
3761
3766
|
:type EndTime: str
|
|
3762
|
-
:param MinQueryTime:
|
|
3767
|
+
:param MinQueryTime: 慢查询平均执行时间阈值,单位:毫秒。
|
|
3763
3768
|
:type MinQueryTime: int
|
|
3764
3769
|
:param Limit: 每个页面展示的慢查询条数,默认值为20。
|
|
3765
3770
|
:type Limit: int
|
|
3766
|
-
:param Offset: 慢查询条数的偏移量,取Limit
|
|
3771
|
+
:param Offset: 慢查询条数的偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3767
3772
|
:type Offset: int
|
|
3768
3773
|
:param Role: 节点所属角色。<ul><li>master:主节点。</li><li>slave:从节点。</li></ul>
|
|
3769
3774
|
:type Role: str
|
|
@@ -947,7 +947,7 @@ class RedisClient(AbstractClient):
|
|
|
947
947
|
|
|
948
948
|
|
|
949
949
|
def DescribeInstanceShards(self, request):
|
|
950
|
-
"""
|
|
950
|
+
"""本接口(DescribeInstanceShards)用于获取集群架构实例的分片信息。
|
|
951
951
|
|
|
952
952
|
:param request: Request instance for DescribeInstanceShards.
|
|
953
953
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceShardsRequest`
|
|
@@ -993,7 +993,7 @@ class RedisClient(AbstractClient):
|
|
|
993
993
|
|
|
994
994
|
|
|
995
995
|
def DescribeInstances(self, request):
|
|
996
|
-
"""
|
|
996
|
+
"""本接口(DescribeInstances)用于查询Redis实例列表。
|
|
997
997
|
|
|
998
998
|
:param request: Request instance for DescribeInstances.
|
|
999
999
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstancesRequest`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|