tencentcloud-sdk-python-redis 3.0.1466__tar.gz → 3.0.1481__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.1481/PKG-INFO +46 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/redis/v20180412/models.py +237 -40
- tencentcloud_sdk_python_redis-3.0.1481/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_redis-3.0.1481/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1466/PKG-INFO +0 -45
- tencentcloud-sdk-python-redis-3.0.1466/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-redis-3.0.1466/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud/redis/v20180412/redis_client.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-redis
|
|
3
|
+
Version: 3.0.1481
|
|
4
|
+
Summary: Tencent Cloud Redis SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Redis SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-redis
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common redis
|
|
46
|
+
|
|
@@ -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.1481,<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(),
|
|
@@ -2047,26 +2047,33 @@ class CloneInstancesResponse(AbstractModel):
|
|
|
2047
2047
|
|
|
2048
2048
|
def __init__(self):
|
|
2049
2049
|
r"""
|
|
2050
|
-
:param _DealId:
|
|
2050
|
+
:param _DealId: 交易的ID。
|
|
2051
2051
|
:type DealId: str
|
|
2052
2052
|
:param _InstanceIds: 克隆实例的 ID。
|
|
2053
2053
|
:type InstanceIds: list of str
|
|
2054
|
+
:param _DealName: 订单号。
|
|
2055
|
+
:type DealName: str
|
|
2054
2056
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2055
2057
|
:type RequestId: str
|
|
2056
2058
|
"""
|
|
2057
2059
|
self._DealId = None
|
|
2058
2060
|
self._InstanceIds = None
|
|
2061
|
+
self._DealName = None
|
|
2059
2062
|
self._RequestId = None
|
|
2060
2063
|
|
|
2061
2064
|
@property
|
|
2062
2065
|
def DealId(self):
|
|
2063
|
-
|
|
2066
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
2067
|
+
|
|
2068
|
+
r"""交易的ID。
|
|
2064
2069
|
:rtype: str
|
|
2065
2070
|
"""
|
|
2066
2071
|
return self._DealId
|
|
2067
2072
|
|
|
2068
2073
|
@DealId.setter
|
|
2069
2074
|
def DealId(self, DealId):
|
|
2075
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
2076
|
+
|
|
2070
2077
|
self._DealId = DealId
|
|
2071
2078
|
|
|
2072
2079
|
@property
|
|
@@ -2080,6 +2087,17 @@ class CloneInstancesResponse(AbstractModel):
|
|
|
2080
2087
|
def InstanceIds(self, InstanceIds):
|
|
2081
2088
|
self._InstanceIds = InstanceIds
|
|
2082
2089
|
|
|
2090
|
+
@property
|
|
2091
|
+
def DealName(self):
|
|
2092
|
+
r"""订单号。
|
|
2093
|
+
:rtype: str
|
|
2094
|
+
"""
|
|
2095
|
+
return self._DealName
|
|
2096
|
+
|
|
2097
|
+
@DealName.setter
|
|
2098
|
+
def DealName(self, DealName):
|
|
2099
|
+
self._DealName = DealName
|
|
2100
|
+
|
|
2083
2101
|
@property
|
|
2084
2102
|
def RequestId(self):
|
|
2085
2103
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2095,6 +2113,7 @@ class CloneInstancesResponse(AbstractModel):
|
|
|
2095
2113
|
def _deserialize(self, params):
|
|
2096
2114
|
self._DealId = params.get("DealId")
|
|
2097
2115
|
self._InstanceIds = params.get("InstanceIds")
|
|
2116
|
+
self._DealName = params.get("DealName")
|
|
2098
2117
|
self._RequestId = params.get("RequestId")
|
|
2099
2118
|
|
|
2100
2119
|
|
|
@@ -2425,7 +2444,19 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2425
2444
|
def __init__(self):
|
|
2426
2445
|
r"""
|
|
2427
2446
|
:param _TypeId: 实例类型。
|
|
2428
|
-
|
|
2447
|
+
- 2:Redis 2.8 内存版(标准架构)。
|
|
2448
|
+
- 3:CKV 3.2 内存版(标准架构)。
|
|
2449
|
+
- 4:CKV 3.2 内存版(集群架构)。
|
|
2450
|
+
- 6:Redis 4.0 内存版(标准架构)。
|
|
2451
|
+
- 7:Redis 4.0 内存版(集群架构)。
|
|
2452
|
+
- 8:Redis 5.0 内存版(标准架构)。
|
|
2453
|
+
- 9:Redis 5.0 内存版(集群架构)。
|
|
2454
|
+
- 15:Redis 6.2 内存版(标准架构)。
|
|
2455
|
+
- 16:Redis 6.2 内存版(集群架构)。
|
|
2456
|
+
- 17:Redis 7.0 内存版(标准架构)。
|
|
2457
|
+
- 18:Redis 7.0 内存版(集群架构)。
|
|
2458
|
+
- 200:Memcached 1.6 内存版(集群架构)。
|
|
2459
|
+
**说明**:CKV 版本当前有存量用户使用,暂时保留。
|
|
2429
2460
|
:type TypeId: int
|
|
2430
2461
|
:param _MemSize: 内存容量,单位为MB, 数值需为1024的整数倍。具体规格,请通过 [DescribeProductInfo](https://cloud.tencent.com/document/api/239/30600) 接口查询全地域的售卖规格。
|
|
2431
2462
|
- **TypeId**为标准架构时,**MemSize**是实例总内存容量;
|
|
@@ -2470,7 +2501,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2470
2501
|
- 集群版实例,分片数量范围为:[1、3、5、8、12、16、24、32、40、48、64、80、96、128]。
|
|
2471
2502
|
:type RedisShardNum: int
|
|
2472
2503
|
:param _RedisReplicasNum: 实例副本数量。
|
|
2473
|
-
- Redis 内存版 4.0、5.0、6.2 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
2504
|
+
- Redis 内存版 4.0、5.0、6.2、7.0 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
2474
2505
|
- Redis 2.8标准版、CKV标准版只支持1副本。
|
|
2475
2506
|
:type RedisReplicasNum: int
|
|
2476
2507
|
:param _ReplicasReadonly: 标识实例是否需支持副本只读。
|
|
@@ -2504,7 +2535,10 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2504
2535
|
- cdc:独享集群。
|
|
2505
2536
|
- cloud:云原生,当前已暂停售卖。
|
|
2506
2537
|
:type ProductVersion: str
|
|
2507
|
-
:param _RedisClusterId: 独享集群 ID
|
|
2538
|
+
:param _RedisClusterId: 独享集群 ID。
|
|
2539
|
+
|
|
2540
|
+
- 当 **ProductVersion** 设置为 **cdc** 时,该参数必须设置。
|
|
2541
|
+
- 请通过接口[ DescribeRedisClusters](https://cloud.tencent.com/document/product/239/109628) 获取集群 ID。
|
|
2508
2542
|
:type RedisClusterId: str
|
|
2509
2543
|
:param _AlarmPolicyList: 告警策略 ID 数组。
|
|
2510
2544
|
|
|
@@ -2545,7 +2579,19 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2545
2579
|
@property
|
|
2546
2580
|
def TypeId(self):
|
|
2547
2581
|
r"""实例类型。
|
|
2548
|
-
|
|
2582
|
+
- 2:Redis 2.8 内存版(标准架构)。
|
|
2583
|
+
- 3:CKV 3.2 内存版(标准架构)。
|
|
2584
|
+
- 4:CKV 3.2 内存版(集群架构)。
|
|
2585
|
+
- 6:Redis 4.0 内存版(标准架构)。
|
|
2586
|
+
- 7:Redis 4.0 内存版(集群架构)。
|
|
2587
|
+
- 8:Redis 5.0 内存版(标准架构)。
|
|
2588
|
+
- 9:Redis 5.0 内存版(集群架构)。
|
|
2589
|
+
- 15:Redis 6.2 内存版(标准架构)。
|
|
2590
|
+
- 16:Redis 6.2 内存版(集群架构)。
|
|
2591
|
+
- 17:Redis 7.0 内存版(标准架构)。
|
|
2592
|
+
- 18:Redis 7.0 内存版(集群架构)。
|
|
2593
|
+
- 200:Memcached 1.6 内存版(集群架构)。
|
|
2594
|
+
**说明**:CKV 版本当前有存量用户使用,暂时保留。
|
|
2549
2595
|
:rtype: int
|
|
2550
2596
|
"""
|
|
2551
2597
|
return self._TypeId
|
|
@@ -2716,7 +2762,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2716
2762
|
@property
|
|
2717
2763
|
def RedisReplicasNum(self):
|
|
2718
2764
|
r"""实例副本数量。
|
|
2719
|
-
- Redis 内存版 4.0、5.0、6.2 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
2765
|
+
- Redis 内存版 4.0、5.0、6.2、7.0 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
2720
2766
|
- Redis 2.8标准版、CKV标准版只支持1副本。
|
|
2721
2767
|
:rtype: int
|
|
2722
2768
|
"""
|
|
@@ -2840,7 +2886,10 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2840
2886
|
|
|
2841
2887
|
@property
|
|
2842
2888
|
def RedisClusterId(self):
|
|
2843
|
-
r"""独享集群 ID
|
|
2889
|
+
r"""独享集群 ID。
|
|
2890
|
+
|
|
2891
|
+
- 当 **ProductVersion** 设置为 **cdc** 时,该参数必须设置。
|
|
2892
|
+
- 请通过接口[ DescribeRedisClusters](https://cloud.tencent.com/document/product/239/109628) 获取集群 ID。
|
|
2844
2893
|
:rtype: str
|
|
2845
2894
|
"""
|
|
2846
2895
|
return self._RedisClusterId
|
|
@@ -2934,15 +2983,20 @@ class CreateInstancesResponse(AbstractModel):
|
|
|
2934
2983
|
:type DealId: str
|
|
2935
2984
|
:param _InstanceIds: 实例ID。
|
|
2936
2985
|
:type InstanceIds: list of str
|
|
2986
|
+
:param _DealName: 订单号。
|
|
2987
|
+
:type DealName: str
|
|
2937
2988
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2938
2989
|
:type RequestId: str
|
|
2939
2990
|
"""
|
|
2940
2991
|
self._DealId = None
|
|
2941
2992
|
self._InstanceIds = None
|
|
2993
|
+
self._DealName = None
|
|
2942
2994
|
self._RequestId = None
|
|
2943
2995
|
|
|
2944
2996
|
@property
|
|
2945
2997
|
def DealId(self):
|
|
2998
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
2999
|
+
|
|
2946
3000
|
r"""交易的ID。
|
|
2947
3001
|
:rtype: str
|
|
2948
3002
|
"""
|
|
@@ -2950,6 +3004,8 @@ class CreateInstancesResponse(AbstractModel):
|
|
|
2950
3004
|
|
|
2951
3005
|
@DealId.setter
|
|
2952
3006
|
def DealId(self, DealId):
|
|
3007
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
3008
|
+
|
|
2953
3009
|
self._DealId = DealId
|
|
2954
3010
|
|
|
2955
3011
|
@property
|
|
@@ -2963,6 +3019,17 @@ class CreateInstancesResponse(AbstractModel):
|
|
|
2963
3019
|
def InstanceIds(self, InstanceIds):
|
|
2964
3020
|
self._InstanceIds = InstanceIds
|
|
2965
3021
|
|
|
3022
|
+
@property
|
|
3023
|
+
def DealName(self):
|
|
3024
|
+
r"""订单号。
|
|
3025
|
+
:rtype: str
|
|
3026
|
+
"""
|
|
3027
|
+
return self._DealName
|
|
3028
|
+
|
|
3029
|
+
@DealName.setter
|
|
3030
|
+
def DealName(self, DealName):
|
|
3031
|
+
self._DealName = DealName
|
|
3032
|
+
|
|
2966
3033
|
@property
|
|
2967
3034
|
def RequestId(self):
|
|
2968
3035
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2978,6 +3045,7 @@ class CreateInstancesResponse(AbstractModel):
|
|
|
2978
3045
|
def _deserialize(self, params):
|
|
2979
3046
|
self._DealId = params.get("DealId")
|
|
2980
3047
|
self._InstanceIds = params.get("InstanceIds")
|
|
3048
|
+
self._DealName = params.get("DealName")
|
|
2981
3049
|
self._RequestId = params.get("RequestId")
|
|
2982
3050
|
|
|
2983
3051
|
|
|
@@ -3444,14 +3512,14 @@ class DeleteParamTemplateRequest(AbstractModel):
|
|
|
3444
3512
|
|
|
3445
3513
|
def __init__(self):
|
|
3446
3514
|
r"""
|
|
3447
|
-
:param _TemplateId: 参数模板 ID。
|
|
3515
|
+
:param _TemplateId: 参数模板 ID。请登录 [Redis 控制台的参数模板](https://console.cloud.tencent.com/redis/templates)页面获取模板 ID。
|
|
3448
3516
|
:type TemplateId: str
|
|
3449
3517
|
"""
|
|
3450
3518
|
self._TemplateId = None
|
|
3451
3519
|
|
|
3452
3520
|
@property
|
|
3453
3521
|
def TemplateId(self):
|
|
3454
|
-
r"""参数模板 ID。
|
|
3522
|
+
r"""参数模板 ID。请登录 [Redis 控制台的参数模板](https://console.cloud.tencent.com/redis/templates)页面获取模板 ID。
|
|
3455
3523
|
:rtype: str
|
|
3456
3524
|
"""
|
|
3457
3525
|
return self._TemplateId
|
|
@@ -5666,25 +5734,44 @@ class DescribeInstanceDealDetailRequest(AbstractModel):
|
|
|
5666
5734
|
|
|
5667
5735
|
def __init__(self):
|
|
5668
5736
|
r"""
|
|
5669
|
-
:param _DealIds:
|
|
5737
|
+
:param _DealIds: 订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealId。数组最大长度限制为10
|
|
5670
5738
|
:type DealIds: list of str
|
|
5739
|
+
:param _DealName: 订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealName。数组最大长度限制为10
|
|
5740
|
+
:type DealName: str
|
|
5671
5741
|
"""
|
|
5672
5742
|
self._DealIds = None
|
|
5743
|
+
self._DealName = None
|
|
5673
5744
|
|
|
5674
5745
|
@property
|
|
5675
5746
|
def DealIds(self):
|
|
5676
|
-
|
|
5747
|
+
warnings.warn("parameter `DealIds` is deprecated", DeprecationWarning)
|
|
5748
|
+
|
|
5749
|
+
r"""订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealId。数组最大长度限制为10
|
|
5677
5750
|
:rtype: list of str
|
|
5678
5751
|
"""
|
|
5679
5752
|
return self._DealIds
|
|
5680
5753
|
|
|
5681
5754
|
@DealIds.setter
|
|
5682
5755
|
def DealIds(self, DealIds):
|
|
5756
|
+
warnings.warn("parameter `DealIds` is deprecated", DeprecationWarning)
|
|
5757
|
+
|
|
5683
5758
|
self._DealIds = DealIds
|
|
5684
5759
|
|
|
5760
|
+
@property
|
|
5761
|
+
def DealName(self):
|
|
5762
|
+
r"""订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealName。数组最大长度限制为10
|
|
5763
|
+
:rtype: str
|
|
5764
|
+
"""
|
|
5765
|
+
return self._DealName
|
|
5766
|
+
|
|
5767
|
+
@DealName.setter
|
|
5768
|
+
def DealName(self, DealName):
|
|
5769
|
+
self._DealName = DealName
|
|
5770
|
+
|
|
5685
5771
|
|
|
5686
5772
|
def _deserialize(self, params):
|
|
5687
5773
|
self._DealIds = params.get("DealIds")
|
|
5774
|
+
self._DealName = params.get("DealName")
|
|
5688
5775
|
memeber_set = set(params.keys())
|
|
5689
5776
|
for name, value in vars(self).items():
|
|
5690
5777
|
property_name = name[1:]
|
|
@@ -7471,9 +7558,9 @@ class DescribeInstanceShardsRequest(AbstractModel):
|
|
|
7471
7558
|
r"""
|
|
7472
7559
|
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
7473
7560
|
:type InstanceId: str
|
|
7474
|
-
:param _FilterSlave:
|
|
7561
|
+
:param _FilterSlave: 指定是否过滤掉从节信息。
|
|
7475
7562
|
- true;过滤从节点。
|
|
7476
|
-
- false
|
|
7563
|
+
- false:不过滤。默认为 false。
|
|
7477
7564
|
:type FilterSlave: bool
|
|
7478
7565
|
"""
|
|
7479
7566
|
self._InstanceId = None
|
|
@@ -7492,9 +7579,9 @@ class DescribeInstanceShardsRequest(AbstractModel):
|
|
|
7492
7579
|
|
|
7493
7580
|
@property
|
|
7494
7581
|
def FilterSlave(self):
|
|
7495
|
-
r"""
|
|
7582
|
+
r"""指定是否过滤掉从节信息。
|
|
7496
7583
|
- true;过滤从节点。
|
|
7497
|
-
- false
|
|
7584
|
+
- false:不过滤。默认为 false。
|
|
7498
7585
|
:rtype: bool
|
|
7499
7586
|
"""
|
|
7500
7587
|
return self._FilterSlave
|
|
@@ -10615,11 +10702,11 @@ class DescribeTaskListRequest(AbstractModel):
|
|
|
10615
10702
|
r"""
|
|
10616
10703
|
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
10617
10704
|
:type InstanceId: str
|
|
10618
|
-
:param _InstanceName:
|
|
10705
|
+
:param _InstanceName: 实例名称。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例名称。
|
|
10619
10706
|
:type InstanceName: str
|
|
10620
10707
|
:param _Limit: 每页输出的任务列表大小。默认为 20,最多输出100条。
|
|
10621
10708
|
:type Limit: int
|
|
10622
|
-
:param _Offset:
|
|
10709
|
+
:param _Offset: 分页偏移量。取值需为 Limit 的整数倍:offset=limit*(页码-1),默认值为0。
|
|
10623
10710
|
:type Offset: int
|
|
10624
10711
|
:param _ProjectIds: 该字段已废弃, 请忽略, 项目 ID
|
|
10625
10712
|
:type ProjectIds: list of int
|
|
@@ -10724,7 +10811,7 @@ class DescribeTaskListRequest(AbstractModel):
|
|
|
10724
10811
|
|
|
10725
10812
|
@property
|
|
10726
10813
|
def InstanceName(self):
|
|
10727
|
-
r"""
|
|
10814
|
+
r"""实例名称。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例名称。
|
|
10728
10815
|
:rtype: str
|
|
10729
10816
|
"""
|
|
10730
10817
|
return self._InstanceName
|
|
@@ -10746,7 +10833,7 @@ class DescribeTaskListRequest(AbstractModel):
|
|
|
10746
10833
|
|
|
10747
10834
|
@property
|
|
10748
10835
|
def Offset(self):
|
|
10749
|
-
r"""
|
|
10836
|
+
r"""分页偏移量。取值需为 Limit 的整数倍:offset=limit*(页码-1),默认值为0。
|
|
10750
10837
|
:rtype: int
|
|
10751
10838
|
"""
|
|
10752
10839
|
return self._Offset
|
|
@@ -11296,14 +11383,19 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11296
11383
|
r"""
|
|
11297
11384
|
:param _DealId: 订单Id
|
|
11298
11385
|
:type DealId: str
|
|
11386
|
+
:param _DealName: 订单号。
|
|
11387
|
+
:type DealName: str
|
|
11299
11388
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11300
11389
|
:type RequestId: str
|
|
11301
11390
|
"""
|
|
11302
11391
|
self._DealId = None
|
|
11392
|
+
self._DealName = None
|
|
11303
11393
|
self._RequestId = None
|
|
11304
11394
|
|
|
11305
11395
|
@property
|
|
11306
11396
|
def DealId(self):
|
|
11397
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
11398
|
+
|
|
11307
11399
|
r"""订单Id
|
|
11308
11400
|
:rtype: str
|
|
11309
11401
|
"""
|
|
@@ -11311,8 +11403,21 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11311
11403
|
|
|
11312
11404
|
@DealId.setter
|
|
11313
11405
|
def DealId(self, DealId):
|
|
11406
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
11407
|
+
|
|
11314
11408
|
self._DealId = DealId
|
|
11315
11409
|
|
|
11410
|
+
@property
|
|
11411
|
+
def DealName(self):
|
|
11412
|
+
r"""订单号。
|
|
11413
|
+
:rtype: str
|
|
11414
|
+
"""
|
|
11415
|
+
return self._DealName
|
|
11416
|
+
|
|
11417
|
+
@DealName.setter
|
|
11418
|
+
def DealName(self, DealName):
|
|
11419
|
+
self._DealName = DealName
|
|
11420
|
+
|
|
11316
11421
|
@property
|
|
11317
11422
|
def RequestId(self):
|
|
11318
11423
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -11327,6 +11432,7 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11327
11432
|
|
|
11328
11433
|
def _deserialize(self, params):
|
|
11329
11434
|
self._DealId = params.get("DealId")
|
|
11435
|
+
self._DealName = params.get("DealName")
|
|
11330
11436
|
self._RequestId = params.get("RequestId")
|
|
11331
11437
|
|
|
11332
11438
|
|
|
@@ -12043,17 +12149,21 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
12043
12149
|
- 0:按量计费。
|
|
12044
12150
|
- 1:包年包月。
|
|
12045
12151
|
:type BillingMode: int
|
|
12046
|
-
:param _ZoneId: 实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12152
|
+
:param _ZoneId: 实例所属的可用区 ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12153
|
+
**说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
|
|
12047
12154
|
:type ZoneId: int
|
|
12048
|
-
:param _RedisShardNum: 实例分片数量。
|
|
12155
|
+
:param _RedisShardNum: 实例分片数量。
|
|
12156
|
+
- 标准架构需要配置分片数量为1。
|
|
12157
|
+
- 集群架构分片数量支持设置为1、3、5、8、12、16、24、32、40、48、64、80、96、128。
|
|
12049
12158
|
:type RedisShardNum: int
|
|
12050
|
-
:param _RedisReplicasNum:
|
|
12159
|
+
:param _RedisReplicasNum: 实例副本数量。取值范围为:1、2、3、4、5。
|
|
12051
12160
|
:type RedisReplicasNum: int
|
|
12052
12161
|
:param _ReplicasReadonly: 是否支持副本只读。Redis2.8标准架构、CKV标准架构无需填写。
|
|
12053
12162
|
- true:无需支持副本只读。
|
|
12054
12163
|
- false:需支持。
|
|
12055
12164
|
:type ReplicasReadonly: bool
|
|
12056
12165
|
:param _ZoneName: 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12166
|
+
**说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
|
|
12057
12167
|
:type ZoneName: str
|
|
12058
12168
|
:param _ProductVersion: 部署方式。
|
|
12059
12169
|
- local:本地盘版,默认为 local。
|
|
@@ -12143,7 +12253,8 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
12143
12253
|
|
|
12144
12254
|
@property
|
|
12145
12255
|
def ZoneId(self):
|
|
12146
|
-
r"""实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12256
|
+
r"""实例所属的可用区 ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12257
|
+
**说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
|
|
12147
12258
|
:rtype: int
|
|
12148
12259
|
"""
|
|
12149
12260
|
return self._ZoneId
|
|
@@ -12154,7 +12265,9 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
12154
12265
|
|
|
12155
12266
|
@property
|
|
12156
12267
|
def RedisShardNum(self):
|
|
12157
|
-
r"""实例分片数量。
|
|
12268
|
+
r"""实例分片数量。
|
|
12269
|
+
- 标准架构需要配置分片数量为1。
|
|
12270
|
+
- 集群架构分片数量支持设置为1、3、5、8、12、16、24、32、40、48、64、80、96、128。
|
|
12158
12271
|
:rtype: int
|
|
12159
12272
|
"""
|
|
12160
12273
|
return self._RedisShardNum
|
|
@@ -12165,7 +12278,7 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
12165
12278
|
|
|
12166
12279
|
@property
|
|
12167
12280
|
def RedisReplicasNum(self):
|
|
12168
|
-
r"""
|
|
12281
|
+
r"""实例副本数量。取值范围为:1、2、3、4、5。
|
|
12169
12282
|
:rtype: int
|
|
12170
12283
|
"""
|
|
12171
12284
|
return self._RedisReplicasNum
|
|
@@ -12190,6 +12303,7 @@ TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架
|
|
|
12190
12303
|
@property
|
|
12191
12304
|
def ZoneName(self):
|
|
12192
12305
|
r"""实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
|
12306
|
+
**说明**:请在 **ZoneId** 与 **ZoneName** 中至少指定一个参数。
|
|
12193
12307
|
:rtype: str
|
|
12194
12308
|
"""
|
|
12195
12309
|
return self._ZoneName
|
|
@@ -16043,7 +16157,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16043
16157
|
:type TimePeriod: str
|
|
16044
16158
|
:param _AutoBackupType: 自动备份类型。目前仅能配置为:1 ,指定时备份。
|
|
16045
16159
|
:type AutoBackupType: int
|
|
16046
|
-
:param _BackupStorageDays:
|
|
16160
|
+
:param _BackupStorageDays: 全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16047
16161
|
:type BackupStorageDays: int
|
|
16048
16162
|
"""
|
|
16049
16163
|
self._InstanceId = None
|
|
@@ -16099,7 +16213,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16099
16213
|
|
|
16100
16214
|
@property
|
|
16101
16215
|
def BackupStorageDays(self):
|
|
16102
|
-
r"""
|
|
16216
|
+
r"""全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16103
16217
|
:rtype: int
|
|
16104
16218
|
"""
|
|
16105
16219
|
return self._BackupStorageDays
|
|
@@ -20652,11 +20766,15 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20652
20766
|
|
|
20653
20767
|
def __init__(self):
|
|
20654
20768
|
r"""
|
|
20655
|
-
:param _Period:
|
|
20769
|
+
:param _Period: 购买时长。
|
|
20770
|
+
- 单位:月。
|
|
20771
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20656
20772
|
:type Period: int
|
|
20657
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20773
|
+
:param _InstanceId: 实例 ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20658
20774
|
:type InstanceId: str
|
|
20659
|
-
:param _ModifyPayMode:
|
|
20775
|
+
:param _ModifyPayMode: 标识是否修改计费模式。
|
|
20776
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20777
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20660
20778
|
:type ModifyPayMode: str
|
|
20661
20779
|
"""
|
|
20662
20780
|
self._Period = None
|
|
@@ -20665,7 +20783,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20665
20783
|
|
|
20666
20784
|
@property
|
|
20667
20785
|
def Period(self):
|
|
20668
|
-
r"""
|
|
20786
|
+
r"""购买时长。
|
|
20787
|
+
- 单位:月。
|
|
20788
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20669
20789
|
:rtype: int
|
|
20670
20790
|
"""
|
|
20671
20791
|
return self._Period
|
|
@@ -20676,7 +20796,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20676
20796
|
|
|
20677
20797
|
@property
|
|
20678
20798
|
def InstanceId(self):
|
|
20679
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20799
|
+
r"""实例 ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20680
20800
|
:rtype: str
|
|
20681
20801
|
"""
|
|
20682
20802
|
return self._InstanceId
|
|
@@ -20687,7 +20807,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20687
20807
|
|
|
20688
20808
|
@property
|
|
20689
20809
|
def ModifyPayMode(self):
|
|
20690
|
-
r"""
|
|
20810
|
+
r"""标识是否修改计费模式。
|
|
20811
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20812
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20691
20813
|
:rtype: str
|
|
20692
20814
|
"""
|
|
20693
20815
|
return self._ModifyPayMode
|
|
@@ -20720,14 +20842,19 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20720
20842
|
r"""
|
|
20721
20843
|
:param _DealId: 交易ID。
|
|
20722
20844
|
:type DealId: str
|
|
20845
|
+
:param _DealName: 订单号。
|
|
20846
|
+
:type DealName: str
|
|
20723
20847
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20724
20848
|
:type RequestId: str
|
|
20725
20849
|
"""
|
|
20726
20850
|
self._DealId = None
|
|
20851
|
+
self._DealName = None
|
|
20727
20852
|
self._RequestId = None
|
|
20728
20853
|
|
|
20729
20854
|
@property
|
|
20730
20855
|
def DealId(self):
|
|
20856
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
20857
|
+
|
|
20731
20858
|
r"""交易ID。
|
|
20732
20859
|
:rtype: str
|
|
20733
20860
|
"""
|
|
@@ -20735,8 +20862,21 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20735
20862
|
|
|
20736
20863
|
@DealId.setter
|
|
20737
20864
|
def DealId(self, DealId):
|
|
20865
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
20866
|
+
|
|
20738
20867
|
self._DealId = DealId
|
|
20739
20868
|
|
|
20869
|
+
@property
|
|
20870
|
+
def DealName(self):
|
|
20871
|
+
r"""订单号。
|
|
20872
|
+
:rtype: str
|
|
20873
|
+
"""
|
|
20874
|
+
return self._DealName
|
|
20875
|
+
|
|
20876
|
+
@DealName.setter
|
|
20877
|
+
def DealName(self, DealName):
|
|
20878
|
+
self._DealName = DealName
|
|
20879
|
+
|
|
20740
20880
|
@property
|
|
20741
20881
|
def RequestId(self):
|
|
20742
20882
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20751,6 +20891,7 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20751
20891
|
|
|
20752
20892
|
def _deserialize(self, params):
|
|
20753
20893
|
self._DealId = params.get("DealId")
|
|
20894
|
+
self._DealName = params.get("DealName")
|
|
20754
20895
|
self._RequestId = params.get("RequestId")
|
|
20755
20896
|
|
|
20756
20897
|
|
|
@@ -22630,6 +22771,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22630
22771
|
|
|
22631
22772
|
@property
|
|
22632
22773
|
def DealId(self):
|
|
22774
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22775
|
+
|
|
22633
22776
|
r"""订单号ID,调用云API时使用此ID
|
|
22634
22777
|
:rtype: str
|
|
22635
22778
|
"""
|
|
@@ -22637,6 +22780,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22637
22780
|
|
|
22638
22781
|
@DealId.setter
|
|
22639
22782
|
def DealId(self, DealId):
|
|
22783
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22784
|
+
|
|
22640
22785
|
self._DealId = DealId
|
|
22641
22786
|
|
|
22642
22787
|
@property
|
|
@@ -22793,11 +22938,18 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22793
22938
|
r"""
|
|
22794
22939
|
:param _InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
22795
22940
|
:type InstanceId: str
|
|
22796
|
-
:param _MemSize:
|
|
22941
|
+
:param _MemSize: 指实例每个分片内存变更后的大小。
|
|
22942
|
+
- 单位 MB。
|
|
22943
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22944
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22797
22945
|
:type MemSize: int
|
|
22798
|
-
:param _RedisShardNum:
|
|
22946
|
+
:param _RedisShardNum: 指实例变更后的分片数量。
|
|
22947
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
22948
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22799
22949
|
:type RedisShardNum: int
|
|
22800
|
-
:param _RedisReplicasNum:
|
|
22950
|
+
:param _RedisReplicasNum: 指实例变更后的副本数量。
|
|
22951
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22952
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22801
22953
|
:type RedisReplicasNum: int
|
|
22802
22954
|
:param _NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
22803
22955
|
:type NodeSet: list of RedisNodeInfo
|
|
@@ -22826,7 +22978,10 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22826
22978
|
|
|
22827
22979
|
@property
|
|
22828
22980
|
def MemSize(self):
|
|
22829
|
-
r"""
|
|
22981
|
+
r"""指实例每个分片内存变更后的大小。
|
|
22982
|
+
- 单位 MB。
|
|
22983
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22984
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22830
22985
|
:rtype: int
|
|
22831
22986
|
"""
|
|
22832
22987
|
return self._MemSize
|
|
@@ -22837,7 +22992,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22837
22992
|
|
|
22838
22993
|
@property
|
|
22839
22994
|
def RedisShardNum(self):
|
|
22840
|
-
r"""
|
|
22995
|
+
r"""指实例变更后的分片数量。
|
|
22996
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
22997
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22841
22998
|
:rtype: int
|
|
22842
22999
|
"""
|
|
22843
23000
|
return self._RedisShardNum
|
|
@@ -22848,7 +23005,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22848
23005
|
|
|
22849
23006
|
@property
|
|
22850
23007
|
def RedisReplicasNum(self):
|
|
22851
|
-
r"""
|
|
23008
|
+
r"""指实例变更后的副本数量。
|
|
23009
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23010
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22852
23011
|
:rtype: int
|
|
22853
23012
|
"""
|
|
22854
23013
|
return self._RedisReplicasNum
|
|
@@ -22913,14 +23072,19 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22913
23072
|
r"""
|
|
22914
23073
|
:param _DealId: 订单ID。
|
|
22915
23074
|
:type DealId: str
|
|
23075
|
+
:param _DealName: 订单号。
|
|
23076
|
+
:type DealName: str
|
|
22916
23077
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22917
23078
|
:type RequestId: str
|
|
22918
23079
|
"""
|
|
22919
23080
|
self._DealId = None
|
|
23081
|
+
self._DealName = None
|
|
22920
23082
|
self._RequestId = None
|
|
22921
23083
|
|
|
22922
23084
|
@property
|
|
22923
23085
|
def DealId(self):
|
|
23086
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23087
|
+
|
|
22924
23088
|
r"""订单ID。
|
|
22925
23089
|
:rtype: str
|
|
22926
23090
|
"""
|
|
@@ -22928,8 +23092,21 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22928
23092
|
|
|
22929
23093
|
@DealId.setter
|
|
22930
23094
|
def DealId(self, DealId):
|
|
23095
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23096
|
+
|
|
22931
23097
|
self._DealId = DealId
|
|
22932
23098
|
|
|
23099
|
+
@property
|
|
23100
|
+
def DealName(self):
|
|
23101
|
+
r"""订单号。
|
|
23102
|
+
:rtype: str
|
|
23103
|
+
"""
|
|
23104
|
+
return self._DealName
|
|
23105
|
+
|
|
23106
|
+
@DealName.setter
|
|
23107
|
+
def DealName(self, DealName):
|
|
23108
|
+
self._DealName = DealName
|
|
23109
|
+
|
|
22933
23110
|
@property
|
|
22934
23111
|
def RequestId(self):
|
|
22935
23112
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -22944,6 +23121,7 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22944
23121
|
|
|
22945
23122
|
def _deserialize(self, params):
|
|
22946
23123
|
self._DealId = params.get("DealId")
|
|
23124
|
+
self._DealName = params.get("DealName")
|
|
22947
23125
|
self._RequestId = params.get("RequestId")
|
|
22948
23126
|
|
|
22949
23127
|
|
|
@@ -23036,14 +23214,19 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23036
23214
|
r"""
|
|
23037
23215
|
:param _DealId: 订单ID
|
|
23038
23216
|
:type DealId: str
|
|
23217
|
+
:param _DealName: 订单号。
|
|
23218
|
+
:type DealName: str
|
|
23039
23219
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23040
23220
|
:type RequestId: str
|
|
23041
23221
|
"""
|
|
23042
23222
|
self._DealId = None
|
|
23223
|
+
self._DealName = None
|
|
23043
23224
|
self._RequestId = None
|
|
23044
23225
|
|
|
23045
23226
|
@property
|
|
23046
23227
|
def DealId(self):
|
|
23228
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23229
|
+
|
|
23047
23230
|
r"""订单ID
|
|
23048
23231
|
:rtype: str
|
|
23049
23232
|
"""
|
|
@@ -23051,8 +23234,21 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23051
23234
|
|
|
23052
23235
|
@DealId.setter
|
|
23053
23236
|
def DealId(self, DealId):
|
|
23237
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23238
|
+
|
|
23054
23239
|
self._DealId = DealId
|
|
23055
23240
|
|
|
23241
|
+
@property
|
|
23242
|
+
def DealName(self):
|
|
23243
|
+
r"""订单号。
|
|
23244
|
+
:rtype: str
|
|
23245
|
+
"""
|
|
23246
|
+
return self._DealName
|
|
23247
|
+
|
|
23248
|
+
@DealName.setter
|
|
23249
|
+
def DealName(self, DealName):
|
|
23250
|
+
self._DealName = DealName
|
|
23251
|
+
|
|
23056
23252
|
@property
|
|
23057
23253
|
def RequestId(self):
|
|
23058
23254
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -23067,6 +23263,7 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23067
23263
|
|
|
23068
23264
|
def _deserialize(self, params):
|
|
23069
23265
|
self._DealId = params.get("DealId")
|
|
23266
|
+
self._DealName = params.get("DealName")
|
|
23070
23267
|
self._RequestId = params.get("RequestId")
|
|
23071
23268
|
|
|
23072
23269
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-redis
|
|
3
|
+
Version: 3.0.1481
|
|
4
|
+
Summary: Tencent Cloud Redis SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Redis SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-redis
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common redis
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-redis
|
|
3
|
-
Version: 3.0.1466
|
|
4
|
-
Summary: Tencent Cloud Redis SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Redis SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-redis
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common redis
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-redis
|
|
3
|
-
Version: 3.0.1466
|
|
4
|
-
Summary: Tencent Cloud Redis SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Redis SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-redis
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common redis
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1466
|
{tencentcloud-sdk-python-redis-3.0.1466 → tencentcloud_sdk_python_redis-3.0.1481}/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
|