tencentcloud-sdk-python-redis 3.0.1469__tar.gz → 3.0.1482__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.1482/PKG-INFO +46 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/redis/v20180412/models.py +354 -26
- tencentcloud_sdk_python_redis-3.0.1482/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_redis-3.0.1482/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1469/PKG-INFO +0 -45
- tencentcloud-sdk-python-redis-3.0.1469/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-redis-3.0.1469/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud/redis/v20180412/redis_client.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/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.1482
|
|
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.1482
|
|
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.1482,<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。请登录 [Redis
|
|
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。请登录 [Redis
|
|
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:]
|
|
@@ -7585,6 +7672,115 @@ class DescribeInstanceSpecBandwidthRequest(AbstractModel):
|
|
|
7585
7672
|
|
|
7586
7673
|
"""
|
|
7587
7674
|
|
|
7675
|
+
def __init__(self):
|
|
7676
|
+
r"""
|
|
7677
|
+
:param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。填写实例id或者规格,两者必选其一。
|
|
7678
|
+
:type InstanceId: str
|
|
7679
|
+
:param _ShardSize: 分片大小,单位:MB
|
|
7680
|
+
:type ShardSize: int
|
|
7681
|
+
:param _ShardNum: 分片数量。
|
|
7682
|
+
:type ShardNum: int
|
|
7683
|
+
:param _ReplicateNum: 复制组数量。
|
|
7684
|
+
:type ReplicateNum: int
|
|
7685
|
+
:param _ReadOnlyWeight: 只读权重。
|
|
7686
|
+
- 100:开启从只读。
|
|
7687
|
+
- 0:关闭从只读。
|
|
7688
|
+
:type ReadOnlyWeight: int
|
|
7689
|
+
:param _Type: 实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的Type。
|
|
7690
|
+
:type Type: int
|
|
7691
|
+
"""
|
|
7692
|
+
self._InstanceId = None
|
|
7693
|
+
self._ShardSize = None
|
|
7694
|
+
self._ShardNum = None
|
|
7695
|
+
self._ReplicateNum = None
|
|
7696
|
+
self._ReadOnlyWeight = None
|
|
7697
|
+
self._Type = None
|
|
7698
|
+
|
|
7699
|
+
@property
|
|
7700
|
+
def InstanceId(self):
|
|
7701
|
+
r"""指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。填写实例id或者规格,两者必选其一。
|
|
7702
|
+
:rtype: str
|
|
7703
|
+
"""
|
|
7704
|
+
return self._InstanceId
|
|
7705
|
+
|
|
7706
|
+
@InstanceId.setter
|
|
7707
|
+
def InstanceId(self, InstanceId):
|
|
7708
|
+
self._InstanceId = InstanceId
|
|
7709
|
+
|
|
7710
|
+
@property
|
|
7711
|
+
def ShardSize(self):
|
|
7712
|
+
r"""分片大小,单位:MB
|
|
7713
|
+
:rtype: int
|
|
7714
|
+
"""
|
|
7715
|
+
return self._ShardSize
|
|
7716
|
+
|
|
7717
|
+
@ShardSize.setter
|
|
7718
|
+
def ShardSize(self, ShardSize):
|
|
7719
|
+
self._ShardSize = ShardSize
|
|
7720
|
+
|
|
7721
|
+
@property
|
|
7722
|
+
def ShardNum(self):
|
|
7723
|
+
r"""分片数量。
|
|
7724
|
+
:rtype: int
|
|
7725
|
+
"""
|
|
7726
|
+
return self._ShardNum
|
|
7727
|
+
|
|
7728
|
+
@ShardNum.setter
|
|
7729
|
+
def ShardNum(self, ShardNum):
|
|
7730
|
+
self._ShardNum = ShardNum
|
|
7731
|
+
|
|
7732
|
+
@property
|
|
7733
|
+
def ReplicateNum(self):
|
|
7734
|
+
r"""复制组数量。
|
|
7735
|
+
:rtype: int
|
|
7736
|
+
"""
|
|
7737
|
+
return self._ReplicateNum
|
|
7738
|
+
|
|
7739
|
+
@ReplicateNum.setter
|
|
7740
|
+
def ReplicateNum(self, ReplicateNum):
|
|
7741
|
+
self._ReplicateNum = ReplicateNum
|
|
7742
|
+
|
|
7743
|
+
@property
|
|
7744
|
+
def ReadOnlyWeight(self):
|
|
7745
|
+
r"""只读权重。
|
|
7746
|
+
- 100:开启从只读。
|
|
7747
|
+
- 0:关闭从只读。
|
|
7748
|
+
:rtype: int
|
|
7749
|
+
"""
|
|
7750
|
+
return self._ReadOnlyWeight
|
|
7751
|
+
|
|
7752
|
+
@ReadOnlyWeight.setter
|
|
7753
|
+
def ReadOnlyWeight(self, ReadOnlyWeight):
|
|
7754
|
+
self._ReadOnlyWeight = ReadOnlyWeight
|
|
7755
|
+
|
|
7756
|
+
@property
|
|
7757
|
+
def Type(self):
|
|
7758
|
+
r"""实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的Type。
|
|
7759
|
+
:rtype: int
|
|
7760
|
+
"""
|
|
7761
|
+
return self._Type
|
|
7762
|
+
|
|
7763
|
+
@Type.setter
|
|
7764
|
+
def Type(self, Type):
|
|
7765
|
+
self._Type = Type
|
|
7766
|
+
|
|
7767
|
+
|
|
7768
|
+
def _deserialize(self, params):
|
|
7769
|
+
self._InstanceId = params.get("InstanceId")
|
|
7770
|
+
self._ShardSize = params.get("ShardSize")
|
|
7771
|
+
self._ShardNum = params.get("ShardNum")
|
|
7772
|
+
self._ReplicateNum = params.get("ReplicateNum")
|
|
7773
|
+
self._ReadOnlyWeight = params.get("ReadOnlyWeight")
|
|
7774
|
+
self._Type = params.get("Type")
|
|
7775
|
+
memeber_set = set(params.keys())
|
|
7776
|
+
for name, value in vars(self).items():
|
|
7777
|
+
property_name = name[1:]
|
|
7778
|
+
if property_name in memeber_set:
|
|
7779
|
+
memeber_set.remove(property_name)
|
|
7780
|
+
if len(memeber_set) > 0:
|
|
7781
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7782
|
+
|
|
7783
|
+
|
|
7588
7784
|
|
|
7589
7785
|
class DescribeInstanceSpecBandwidthResponse(AbstractModel):
|
|
7590
7786
|
r"""DescribeInstanceSpecBandwidth返回参数结构体
|
|
@@ -7593,11 +7789,39 @@ class DescribeInstanceSpecBandwidthResponse(AbstractModel):
|
|
|
7593
7789
|
|
|
7594
7790
|
def __init__(self):
|
|
7595
7791
|
r"""
|
|
7792
|
+
:param _Bandwidth: 基础带宽。
|
|
7793
|
+
:type Bandwidth: int
|
|
7794
|
+
:param _ClientLimit: 链接限制。
|
|
7795
|
+
:type ClientLimit: int
|
|
7596
7796
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7597
7797
|
:type RequestId: str
|
|
7598
7798
|
"""
|
|
7799
|
+
self._Bandwidth = None
|
|
7800
|
+
self._ClientLimit = None
|
|
7599
7801
|
self._RequestId = None
|
|
7600
7802
|
|
|
7803
|
+
@property
|
|
7804
|
+
def Bandwidth(self):
|
|
7805
|
+
r"""基础带宽。
|
|
7806
|
+
:rtype: int
|
|
7807
|
+
"""
|
|
7808
|
+
return self._Bandwidth
|
|
7809
|
+
|
|
7810
|
+
@Bandwidth.setter
|
|
7811
|
+
def Bandwidth(self, Bandwidth):
|
|
7812
|
+
self._Bandwidth = Bandwidth
|
|
7813
|
+
|
|
7814
|
+
@property
|
|
7815
|
+
def ClientLimit(self):
|
|
7816
|
+
r"""链接限制。
|
|
7817
|
+
:rtype: int
|
|
7818
|
+
"""
|
|
7819
|
+
return self._ClientLimit
|
|
7820
|
+
|
|
7821
|
+
@ClientLimit.setter
|
|
7822
|
+
def ClientLimit(self, ClientLimit):
|
|
7823
|
+
self._ClientLimit = ClientLimit
|
|
7824
|
+
|
|
7601
7825
|
@property
|
|
7602
7826
|
def RequestId(self):
|
|
7603
7827
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -7611,6 +7835,8 @@ class DescribeInstanceSpecBandwidthResponse(AbstractModel):
|
|
|
7611
7835
|
|
|
7612
7836
|
|
|
7613
7837
|
def _deserialize(self, params):
|
|
7838
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
7839
|
+
self._ClientLimit = params.get("ClientLimit")
|
|
7614
7840
|
self._RequestId = params.get("RequestId")
|
|
7615
7841
|
|
|
7616
7842
|
|
|
@@ -11296,14 +11522,19 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11296
11522
|
r"""
|
|
11297
11523
|
:param _DealId: 订单Id
|
|
11298
11524
|
:type DealId: str
|
|
11525
|
+
:param _DealName: 订单号。
|
|
11526
|
+
:type DealName: str
|
|
11299
11527
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11300
11528
|
:type RequestId: str
|
|
11301
11529
|
"""
|
|
11302
11530
|
self._DealId = None
|
|
11531
|
+
self._DealName = None
|
|
11303
11532
|
self._RequestId = None
|
|
11304
11533
|
|
|
11305
11534
|
@property
|
|
11306
11535
|
def DealId(self):
|
|
11536
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
11537
|
+
|
|
11307
11538
|
r"""订单Id
|
|
11308
11539
|
:rtype: str
|
|
11309
11540
|
"""
|
|
@@ -11311,8 +11542,21 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11311
11542
|
|
|
11312
11543
|
@DealId.setter
|
|
11313
11544
|
def DealId(self, DealId):
|
|
11545
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
11546
|
+
|
|
11314
11547
|
self._DealId = DealId
|
|
11315
11548
|
|
|
11549
|
+
@property
|
|
11550
|
+
def DealName(self):
|
|
11551
|
+
r"""订单号。
|
|
11552
|
+
:rtype: str
|
|
11553
|
+
"""
|
|
11554
|
+
return self._DealName
|
|
11555
|
+
|
|
11556
|
+
@DealName.setter
|
|
11557
|
+
def DealName(self, DealName):
|
|
11558
|
+
self._DealName = DealName
|
|
11559
|
+
|
|
11316
11560
|
@property
|
|
11317
11561
|
def RequestId(self):
|
|
11318
11562
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -11327,6 +11571,7 @@ class DestroyPrepaidInstanceResponse(AbstractModel):
|
|
|
11327
11571
|
|
|
11328
11572
|
def _deserialize(self, params):
|
|
11329
11573
|
self._DealId = params.get("DealId")
|
|
11574
|
+
self._DealName = params.get("DealName")
|
|
11330
11575
|
self._RequestId = params.get("RequestId")
|
|
11331
11576
|
|
|
11332
11577
|
|
|
@@ -16051,7 +16296,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16051
16296
|
:type TimePeriod: str
|
|
16052
16297
|
:param _AutoBackupType: 自动备份类型。目前仅能配置为:1 ,指定时备份。
|
|
16053
16298
|
:type AutoBackupType: int
|
|
16054
|
-
:param _BackupStorageDays:
|
|
16299
|
+
:param _BackupStorageDays: 全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16055
16300
|
:type BackupStorageDays: int
|
|
16056
16301
|
"""
|
|
16057
16302
|
self._InstanceId = None
|
|
@@ -16107,7 +16352,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16107
16352
|
|
|
16108
16353
|
@property
|
|
16109
16354
|
def BackupStorageDays(self):
|
|
16110
|
-
r"""
|
|
16355
|
+
r"""全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16111
16356
|
:rtype: int
|
|
16112
16357
|
"""
|
|
16113
16358
|
return self._BackupStorageDays
|
|
@@ -20660,11 +20905,15 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20660
20905
|
|
|
20661
20906
|
def __init__(self):
|
|
20662
20907
|
r"""
|
|
20663
|
-
:param _Period:
|
|
20908
|
+
:param _Period: 购买时长。
|
|
20909
|
+
- 单位:月。
|
|
20910
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20664
20911
|
:type Period: int
|
|
20665
|
-
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20912
|
+
:param _InstanceId: 实例 ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20666
20913
|
:type InstanceId: str
|
|
20667
|
-
:param _ModifyPayMode:
|
|
20914
|
+
:param _ModifyPayMode: 标识是否修改计费模式。
|
|
20915
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20916
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20668
20917
|
:type ModifyPayMode: str
|
|
20669
20918
|
"""
|
|
20670
20919
|
self._Period = None
|
|
@@ -20673,7 +20922,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20673
20922
|
|
|
20674
20923
|
@property
|
|
20675
20924
|
def Period(self):
|
|
20676
|
-
r"""
|
|
20925
|
+
r"""购买时长。
|
|
20926
|
+
- 单位:月。
|
|
20927
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20677
20928
|
:rtype: int
|
|
20678
20929
|
"""
|
|
20679
20930
|
return self._Period
|
|
@@ -20684,7 +20935,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20684
20935
|
|
|
20685
20936
|
@property
|
|
20686
20937
|
def InstanceId(self):
|
|
20687
|
-
r"""实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20938
|
+
r"""实例 ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
20688
20939
|
:rtype: str
|
|
20689
20940
|
"""
|
|
20690
20941
|
return self._InstanceId
|
|
@@ -20695,7 +20946,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20695
20946
|
|
|
20696
20947
|
@property
|
|
20697
20948
|
def ModifyPayMode(self):
|
|
20698
|
-
r"""
|
|
20949
|
+
r"""标识是否修改计费模式。
|
|
20950
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20951
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20699
20952
|
:rtype: str
|
|
20700
20953
|
"""
|
|
20701
20954
|
return self._ModifyPayMode
|
|
@@ -20728,14 +20981,19 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20728
20981
|
r"""
|
|
20729
20982
|
:param _DealId: 交易ID。
|
|
20730
20983
|
:type DealId: str
|
|
20984
|
+
:param _DealName: 订单号。
|
|
20985
|
+
:type DealName: str
|
|
20731
20986
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20732
20987
|
:type RequestId: str
|
|
20733
20988
|
"""
|
|
20734
20989
|
self._DealId = None
|
|
20990
|
+
self._DealName = None
|
|
20735
20991
|
self._RequestId = None
|
|
20736
20992
|
|
|
20737
20993
|
@property
|
|
20738
20994
|
def DealId(self):
|
|
20995
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
20996
|
+
|
|
20739
20997
|
r"""交易ID。
|
|
20740
20998
|
:rtype: str
|
|
20741
20999
|
"""
|
|
@@ -20743,8 +21001,21 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20743
21001
|
|
|
20744
21002
|
@DealId.setter
|
|
20745
21003
|
def DealId(self, DealId):
|
|
21004
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
21005
|
+
|
|
20746
21006
|
self._DealId = DealId
|
|
20747
21007
|
|
|
21008
|
+
@property
|
|
21009
|
+
def DealName(self):
|
|
21010
|
+
r"""订单号。
|
|
21011
|
+
:rtype: str
|
|
21012
|
+
"""
|
|
21013
|
+
return self._DealName
|
|
21014
|
+
|
|
21015
|
+
@DealName.setter
|
|
21016
|
+
def DealName(self, DealName):
|
|
21017
|
+
self._DealName = DealName
|
|
21018
|
+
|
|
20748
21019
|
@property
|
|
20749
21020
|
def RequestId(self):
|
|
20750
21021
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20759,6 +21030,7 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20759
21030
|
|
|
20760
21031
|
def _deserialize(self, params):
|
|
20761
21032
|
self._DealId = params.get("DealId")
|
|
21033
|
+
self._DealName = params.get("DealName")
|
|
20762
21034
|
self._RequestId = params.get("RequestId")
|
|
20763
21035
|
|
|
20764
21036
|
|
|
@@ -22638,6 +22910,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22638
22910
|
|
|
22639
22911
|
@property
|
|
22640
22912
|
def DealId(self):
|
|
22913
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22914
|
+
|
|
22641
22915
|
r"""订单号ID,调用云API时使用此ID
|
|
22642
22916
|
:rtype: str
|
|
22643
22917
|
"""
|
|
@@ -22645,6 +22919,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22645
22919
|
|
|
22646
22920
|
@DealId.setter
|
|
22647
22921
|
def DealId(self, DealId):
|
|
22922
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22923
|
+
|
|
22648
22924
|
self._DealId = DealId
|
|
22649
22925
|
|
|
22650
22926
|
@property
|
|
@@ -22801,11 +23077,18 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22801
23077
|
r"""
|
|
22802
23078
|
:param _InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
22803
23079
|
:type InstanceId: str
|
|
22804
|
-
:param _MemSize:
|
|
23080
|
+
:param _MemSize: 指实例每个分片内存变更后的大小。
|
|
23081
|
+
- 单位 MB。
|
|
23082
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23083
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22805
23084
|
:type MemSize: int
|
|
22806
|
-
:param _RedisShardNum:
|
|
23085
|
+
:param _RedisShardNum: 指实例变更后的分片数量。
|
|
23086
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
23087
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22807
23088
|
:type RedisShardNum: int
|
|
22808
|
-
:param _RedisReplicasNum:
|
|
23089
|
+
:param _RedisReplicasNum: 指实例变更后的副本数量。
|
|
23090
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23091
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22809
23092
|
:type RedisReplicasNum: int
|
|
22810
23093
|
:param _NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
22811
23094
|
:type NodeSet: list of RedisNodeInfo
|
|
@@ -22834,7 +23117,10 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22834
23117
|
|
|
22835
23118
|
@property
|
|
22836
23119
|
def MemSize(self):
|
|
22837
|
-
r"""
|
|
23120
|
+
r"""指实例每个分片内存变更后的大小。
|
|
23121
|
+
- 单位 MB。
|
|
23122
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23123
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22838
23124
|
:rtype: int
|
|
22839
23125
|
"""
|
|
22840
23126
|
return self._MemSize
|
|
@@ -22845,7 +23131,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22845
23131
|
|
|
22846
23132
|
@property
|
|
22847
23133
|
def RedisShardNum(self):
|
|
22848
|
-
r"""
|
|
23134
|
+
r"""指实例变更后的分片数量。
|
|
23135
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
23136
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22849
23137
|
:rtype: int
|
|
22850
23138
|
"""
|
|
22851
23139
|
return self._RedisShardNum
|
|
@@ -22856,7 +23144,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22856
23144
|
|
|
22857
23145
|
@property
|
|
22858
23146
|
def RedisReplicasNum(self):
|
|
22859
|
-
r"""
|
|
23147
|
+
r"""指实例变更后的副本数量。
|
|
23148
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23149
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22860
23150
|
:rtype: int
|
|
22861
23151
|
"""
|
|
22862
23152
|
return self._RedisReplicasNum
|
|
@@ -22921,14 +23211,19 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22921
23211
|
r"""
|
|
22922
23212
|
:param _DealId: 订单ID。
|
|
22923
23213
|
:type DealId: str
|
|
23214
|
+
:param _DealName: 订单号。
|
|
23215
|
+
:type DealName: str
|
|
22924
23216
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22925
23217
|
:type RequestId: str
|
|
22926
23218
|
"""
|
|
22927
23219
|
self._DealId = None
|
|
23220
|
+
self._DealName = None
|
|
22928
23221
|
self._RequestId = None
|
|
22929
23222
|
|
|
22930
23223
|
@property
|
|
22931
23224
|
def DealId(self):
|
|
23225
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23226
|
+
|
|
22932
23227
|
r"""订单ID。
|
|
22933
23228
|
:rtype: str
|
|
22934
23229
|
"""
|
|
@@ -22936,8 +23231,21 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22936
23231
|
|
|
22937
23232
|
@DealId.setter
|
|
22938
23233
|
def DealId(self, DealId):
|
|
23234
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23235
|
+
|
|
22939
23236
|
self._DealId = DealId
|
|
22940
23237
|
|
|
23238
|
+
@property
|
|
23239
|
+
def DealName(self):
|
|
23240
|
+
r"""订单号。
|
|
23241
|
+
:rtype: str
|
|
23242
|
+
"""
|
|
23243
|
+
return self._DealName
|
|
23244
|
+
|
|
23245
|
+
@DealName.setter
|
|
23246
|
+
def DealName(self, DealName):
|
|
23247
|
+
self._DealName = DealName
|
|
23248
|
+
|
|
22941
23249
|
@property
|
|
22942
23250
|
def RequestId(self):
|
|
22943
23251
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -22952,6 +23260,7 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22952
23260
|
|
|
22953
23261
|
def _deserialize(self, params):
|
|
22954
23262
|
self._DealId = params.get("DealId")
|
|
23263
|
+
self._DealName = params.get("DealName")
|
|
22955
23264
|
self._RequestId = params.get("RequestId")
|
|
22956
23265
|
|
|
22957
23266
|
|
|
@@ -23044,14 +23353,19 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23044
23353
|
r"""
|
|
23045
23354
|
:param _DealId: 订单ID
|
|
23046
23355
|
:type DealId: str
|
|
23356
|
+
:param _DealName: 订单号。
|
|
23357
|
+
:type DealName: str
|
|
23047
23358
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23048
23359
|
:type RequestId: str
|
|
23049
23360
|
"""
|
|
23050
23361
|
self._DealId = None
|
|
23362
|
+
self._DealName = None
|
|
23051
23363
|
self._RequestId = None
|
|
23052
23364
|
|
|
23053
23365
|
@property
|
|
23054
23366
|
def DealId(self):
|
|
23367
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23368
|
+
|
|
23055
23369
|
r"""订单ID
|
|
23056
23370
|
:rtype: str
|
|
23057
23371
|
"""
|
|
@@ -23059,8 +23373,21 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23059
23373
|
|
|
23060
23374
|
@DealId.setter
|
|
23061
23375
|
def DealId(self, DealId):
|
|
23376
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23377
|
+
|
|
23062
23378
|
self._DealId = DealId
|
|
23063
23379
|
|
|
23380
|
+
@property
|
|
23381
|
+
def DealName(self):
|
|
23382
|
+
r"""订单号。
|
|
23383
|
+
:rtype: str
|
|
23384
|
+
"""
|
|
23385
|
+
return self._DealName
|
|
23386
|
+
|
|
23387
|
+
@DealName.setter
|
|
23388
|
+
def DealName(self, DealName):
|
|
23389
|
+
self._DealName = DealName
|
|
23390
|
+
|
|
23064
23391
|
@property
|
|
23065
23392
|
def RequestId(self):
|
|
23066
23393
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -23075,6 +23402,7 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23075
23402
|
|
|
23076
23403
|
def _deserialize(self, params):
|
|
23077
23404
|
self._DealId = params.get("DealId")
|
|
23405
|
+
self._DealName = params.get("DealName")
|
|
23078
23406
|
self._RequestId = params.get("RequestId")
|
|
23079
23407
|
|
|
23080
23408
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-redis
|
|
3
|
+
Version: 3.0.1482
|
|
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.1482
|
|
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.1482
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-redis
|
|
3
|
-
Version: 3.0.1469
|
|
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.1469
|
|
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.1469
|
{tencentcloud-sdk-python-redis-3.0.1469 → tencentcloud_sdk_python_redis-3.0.1482}/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
|