tencentcloud-sdk-python 3.0.1480__py2.py3-none-any.whl → 3.0.1481__py2.py3-none-any.whl
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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +42 -0
- tencentcloud/billing/v20180709/models.py +8 -8
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/ckafka/v20190819/models.py +2 -0
- tencentcloud/cloudaudit/v20190319/models.py +17 -0
- tencentcloud/cls/v20201016/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +2 -32
- tencentcloud/dbbrain/v20210527/models.py +18 -3
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/ess/v20201111/models.py +101 -2
- tencentcloud/essbasic/v20210526/models.py +139 -10
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +162 -0
- tencentcloud/lcic/v20220817/models.py +22 -2
- tencentcloud/lke/v20231130/models.py +4 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/monitor/v20180724/models.py +30 -0
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +231 -4
- tencentcloud/postgres/v20170312/errorcodes.py +9 -0
- tencentcloud/postgres/v20170312/models.py +488 -79
- tencentcloud/redis/v20180412/models.py +213 -24
- tencentcloud/region/v20220627/models.py +0 -2
- tencentcloud/sqlserver/v20180328/models.py +49 -4
- tencentcloud/svp/v20240125/models.py +21 -4
- tencentcloud/tag/v20180813/models.py +5 -5
- tencentcloud/tcss/v20201101/models.py +157 -0
- tencentcloud/teo/v20220901/models.py +32 -30
- tencentcloud/tione/v20211111/models.py +162 -0
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tke/v20180525/models.py +20 -18
- tencentcloud/tke/v20220501/models.py +21 -6
- tencentcloud/tms/v20201229/models.py +30 -0
- tencentcloud/tms/v20201229/tms_client.py +2 -1
- tencentcloud/trro/v20220325/errorcodes.py +3 -0
- tencentcloud/trro/v20220325/models.py +739 -0
- tencentcloud/trro/v20220325/trro_client.py +46 -0
- tencentcloud/trtc/v20190722/models.py +32 -36
- tencentcloud/vpc/v20170312/models.py +175 -10
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
|
@@ -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:]
|
|
@@ -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
|
|
|
@@ -16051,7 +16157,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16051
16157
|
:type TimePeriod: str
|
|
16052
16158
|
:param _AutoBackupType: 自动备份类型。目前仅能配置为:1 ,指定时备份。
|
|
16053
16159
|
:type AutoBackupType: int
|
|
16054
|
-
:param _BackupStorageDays:
|
|
16160
|
+
:param _BackupStorageDays: 全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16055
16161
|
:type BackupStorageDays: int
|
|
16056
16162
|
"""
|
|
16057
16163
|
self._InstanceId = None
|
|
@@ -16107,7 +16213,7 @@ class ModifyAutoBackupConfigRequest(AbstractModel):
|
|
|
16107
16213
|
|
|
16108
16214
|
@property
|
|
16109
16215
|
def BackupStorageDays(self):
|
|
16110
|
-
r"""
|
|
16216
|
+
r"""全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
16111
16217
|
:rtype: int
|
|
16112
16218
|
"""
|
|
16113
16219
|
return self._BackupStorageDays
|
|
@@ -20660,11 +20766,15 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20660
20766
|
|
|
20661
20767
|
def __init__(self):
|
|
20662
20768
|
r"""
|
|
20663
|
-
:param _Period:
|
|
20769
|
+
:param _Period: 购买时长。
|
|
20770
|
+
- 单位:月。
|
|
20771
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20664
20772
|
:type Period: int
|
|
20665
|
-
: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。
|
|
20666
20774
|
:type InstanceId: str
|
|
20667
|
-
:param _ModifyPayMode:
|
|
20775
|
+
:param _ModifyPayMode: 标识是否修改计费模式。
|
|
20776
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20777
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20668
20778
|
:type ModifyPayMode: str
|
|
20669
20779
|
"""
|
|
20670
20780
|
self._Period = None
|
|
@@ -20673,7 +20783,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20673
20783
|
|
|
20674
20784
|
@property
|
|
20675
20785
|
def Period(self):
|
|
20676
|
-
r"""
|
|
20786
|
+
r"""购买时长。
|
|
20787
|
+
- 单位:月。
|
|
20788
|
+
- 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
20677
20789
|
:rtype: int
|
|
20678
20790
|
"""
|
|
20679
20791
|
return self._Period
|
|
@@ -20684,7 +20796,7 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20684
20796
|
|
|
20685
20797
|
@property
|
|
20686
20798
|
def InstanceId(self):
|
|
20687
|
-
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。
|
|
20688
20800
|
:rtype: str
|
|
20689
20801
|
"""
|
|
20690
20802
|
return self._InstanceId
|
|
@@ -20695,7 +20807,9 @@ class RenewInstanceRequest(AbstractModel):
|
|
|
20695
20807
|
|
|
20696
20808
|
@property
|
|
20697
20809
|
def ModifyPayMode(self):
|
|
20698
|
-
r"""
|
|
20810
|
+
r"""标识是否修改计费模式。
|
|
20811
|
+
- 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
20812
|
+
- 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
20699
20813
|
:rtype: str
|
|
20700
20814
|
"""
|
|
20701
20815
|
return self._ModifyPayMode
|
|
@@ -20728,14 +20842,19 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20728
20842
|
r"""
|
|
20729
20843
|
:param _DealId: 交易ID。
|
|
20730
20844
|
:type DealId: str
|
|
20845
|
+
:param _DealName: 订单号。
|
|
20846
|
+
:type DealName: str
|
|
20731
20847
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20732
20848
|
:type RequestId: str
|
|
20733
20849
|
"""
|
|
20734
20850
|
self._DealId = None
|
|
20851
|
+
self._DealName = None
|
|
20735
20852
|
self._RequestId = None
|
|
20736
20853
|
|
|
20737
20854
|
@property
|
|
20738
20855
|
def DealId(self):
|
|
20856
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
20857
|
+
|
|
20739
20858
|
r"""交易ID。
|
|
20740
20859
|
:rtype: str
|
|
20741
20860
|
"""
|
|
@@ -20743,8 +20862,21 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20743
20862
|
|
|
20744
20863
|
@DealId.setter
|
|
20745
20864
|
def DealId(self, DealId):
|
|
20865
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
20866
|
+
|
|
20746
20867
|
self._DealId = DealId
|
|
20747
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
|
+
|
|
20748
20880
|
@property
|
|
20749
20881
|
def RequestId(self):
|
|
20750
20882
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20759,6 +20891,7 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
20759
20891
|
|
|
20760
20892
|
def _deserialize(self, params):
|
|
20761
20893
|
self._DealId = params.get("DealId")
|
|
20894
|
+
self._DealName = params.get("DealName")
|
|
20762
20895
|
self._RequestId = params.get("RequestId")
|
|
20763
20896
|
|
|
20764
20897
|
|
|
@@ -22638,6 +22771,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22638
22771
|
|
|
22639
22772
|
@property
|
|
22640
22773
|
def DealId(self):
|
|
22774
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22775
|
+
|
|
22641
22776
|
r"""订单号ID,调用云API时使用此ID
|
|
22642
22777
|
:rtype: str
|
|
22643
22778
|
"""
|
|
@@ -22645,6 +22780,8 @@ class TradeDealDetail(AbstractModel):
|
|
|
22645
22780
|
|
|
22646
22781
|
@DealId.setter
|
|
22647
22782
|
def DealId(self, DealId):
|
|
22783
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
22784
|
+
|
|
22648
22785
|
self._DealId = DealId
|
|
22649
22786
|
|
|
22650
22787
|
@property
|
|
@@ -22801,11 +22938,18 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22801
22938
|
r"""
|
|
22802
22939
|
:param _InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
22803
22940
|
:type InstanceId: str
|
|
22804
|
-
:param _MemSize:
|
|
22941
|
+
:param _MemSize: 指实例每个分片内存变更后的大小。
|
|
22942
|
+
- 单位 MB。
|
|
22943
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22944
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22805
22945
|
:type MemSize: int
|
|
22806
|
-
:param _RedisShardNum:
|
|
22946
|
+
:param _RedisShardNum: 指实例变更后的分片数量。
|
|
22947
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
22948
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22807
22949
|
:type RedisShardNum: int
|
|
22808
|
-
:param _RedisReplicasNum:
|
|
22950
|
+
:param _RedisReplicasNum: 指实例变更后的副本数量。
|
|
22951
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22952
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22809
22953
|
:type RedisReplicasNum: int
|
|
22810
22954
|
:param _NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
22811
22955
|
:type NodeSet: list of RedisNodeInfo
|
|
@@ -22834,7 +22978,10 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22834
22978
|
|
|
22835
22979
|
@property
|
|
22836
22980
|
def MemSize(self):
|
|
22837
|
-
r"""
|
|
22981
|
+
r"""指实例每个分片内存变更后的大小。
|
|
22982
|
+
- 单位 MB。
|
|
22983
|
+
- 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22984
|
+
- 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
22838
22985
|
:rtype: int
|
|
22839
22986
|
"""
|
|
22840
22987
|
return self._MemSize
|
|
@@ -22845,7 +22992,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22845
22992
|
|
|
22846
22993
|
@property
|
|
22847
22994
|
def RedisShardNum(self):
|
|
22848
|
-
r"""
|
|
22995
|
+
r"""指实例变更后的分片数量。
|
|
22996
|
+
- 标准架构不需要配置该参数,集群架构为必填参数。
|
|
22997
|
+
- 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
22849
22998
|
:rtype: int
|
|
22850
22999
|
"""
|
|
22851
23000
|
return self._RedisShardNum
|
|
@@ -22856,7 +23005,9 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
|
22856
23005
|
|
|
22857
23006
|
@property
|
|
22858
23007
|
def RedisReplicasNum(self):
|
|
22859
|
-
r"""
|
|
23008
|
+
r"""指实例变更后的副本数量。
|
|
23009
|
+
- 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
23010
|
+
- 多AZ实例修改副本时必须要传入 NodeSet。
|
|
22860
23011
|
:rtype: int
|
|
22861
23012
|
"""
|
|
22862
23013
|
return self._RedisReplicasNum
|
|
@@ -22921,14 +23072,19 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22921
23072
|
r"""
|
|
22922
23073
|
:param _DealId: 订单ID。
|
|
22923
23074
|
:type DealId: str
|
|
23075
|
+
:param _DealName: 订单号。
|
|
23076
|
+
:type DealName: str
|
|
22924
23077
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22925
23078
|
:type RequestId: str
|
|
22926
23079
|
"""
|
|
22927
23080
|
self._DealId = None
|
|
23081
|
+
self._DealName = None
|
|
22928
23082
|
self._RequestId = None
|
|
22929
23083
|
|
|
22930
23084
|
@property
|
|
22931
23085
|
def DealId(self):
|
|
23086
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23087
|
+
|
|
22932
23088
|
r"""订单ID。
|
|
22933
23089
|
:rtype: str
|
|
22934
23090
|
"""
|
|
@@ -22936,8 +23092,21 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22936
23092
|
|
|
22937
23093
|
@DealId.setter
|
|
22938
23094
|
def DealId(self, DealId):
|
|
23095
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23096
|
+
|
|
22939
23097
|
self._DealId = DealId
|
|
22940
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
|
+
|
|
22941
23110
|
@property
|
|
22942
23111
|
def RequestId(self):
|
|
22943
23112
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -22952,6 +23121,7 @@ class UpgradeInstanceResponse(AbstractModel):
|
|
|
22952
23121
|
|
|
22953
23122
|
def _deserialize(self, params):
|
|
22954
23123
|
self._DealId = params.get("DealId")
|
|
23124
|
+
self._DealName = params.get("DealName")
|
|
22955
23125
|
self._RequestId = params.get("RequestId")
|
|
22956
23126
|
|
|
22957
23127
|
|
|
@@ -23044,14 +23214,19 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23044
23214
|
r"""
|
|
23045
23215
|
:param _DealId: 订单ID
|
|
23046
23216
|
:type DealId: str
|
|
23217
|
+
:param _DealName: 订单号。
|
|
23218
|
+
:type DealName: str
|
|
23047
23219
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23048
23220
|
:type RequestId: str
|
|
23049
23221
|
"""
|
|
23050
23222
|
self._DealId = None
|
|
23223
|
+
self._DealName = None
|
|
23051
23224
|
self._RequestId = None
|
|
23052
23225
|
|
|
23053
23226
|
@property
|
|
23054
23227
|
def DealId(self):
|
|
23228
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23229
|
+
|
|
23055
23230
|
r"""订单ID
|
|
23056
23231
|
:rtype: str
|
|
23057
23232
|
"""
|
|
@@ -23059,8 +23234,21 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23059
23234
|
|
|
23060
23235
|
@DealId.setter
|
|
23061
23236
|
def DealId(self, DealId):
|
|
23237
|
+
warnings.warn("parameter `DealId` is deprecated", DeprecationWarning)
|
|
23238
|
+
|
|
23062
23239
|
self._DealId = DealId
|
|
23063
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
|
+
|
|
23064
23252
|
@property
|
|
23065
23253
|
def RequestId(self):
|
|
23066
23254
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -23075,6 +23263,7 @@ class UpgradeInstanceVersionResponse(AbstractModel):
|
|
|
23075
23263
|
|
|
23076
23264
|
def _deserialize(self, params):
|
|
23077
23265
|
self._DealId = params.get("DealId")
|
|
23266
|
+
self._DealName = params.get("DealName")
|
|
23078
23267
|
self._RequestId = params.get("RequestId")
|
|
23079
23268
|
|
|
23080
23269
|
|
|
@@ -550,7 +550,6 @@ class ZoneInfo(AbstractModel):
|
|
|
550
550
|
<li> ap-shenzhen-fsi-2 </li>
|
|
551
551
|
<li> ap-shenzhen-fsi-3 </li>
|
|
552
552
|
<li> ap-guangzhou-1(售罄)</li>
|
|
553
|
-
<li> ap-guangzhou-2(售罄)</li>
|
|
554
553
|
<li> ap-guangzhou-3 </li>
|
|
555
554
|
<li> ap-guangzhou-4 </li>
|
|
556
555
|
<li> ap-guangzhou-6 </li>
|
|
@@ -632,7 +631,6 @@ class ZoneInfo(AbstractModel):
|
|
|
632
631
|
<li> ap-shenzhen-fsi-2 </li>
|
|
633
632
|
<li> ap-shenzhen-fsi-3 </li>
|
|
634
633
|
<li> ap-guangzhou-1(售罄)</li>
|
|
635
|
-
<li> ap-guangzhou-2(售罄)</li>
|
|
636
634
|
<li> ap-guangzhou-3 </li>
|
|
637
635
|
<li> ap-guangzhou-4 </li>
|
|
638
636
|
<li> ap-guangzhou-6 </li>
|