tencentcloud-sdk-python 3.0.1456__py2.py3-none-any.whl → 3.0.1458__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +15 -0
- tencentcloud/asr/v20190614/models.py +4 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/ccc/v20200210/ccc_client.py +46 -0
- tencentcloud/ccc/v20200210/models.py +927 -53
- tencentcloud/cdwpg/v20201230/models.py +30 -0
- tencentcloud/ckafka/v20190819/models.py +98 -90
- tencentcloud/cls/v20201016/models.py +20 -12
- tencentcloud/csip/v20221121/models.py +79 -4
- tencentcloud/dlc/v20210125/models.py +619 -0
- tencentcloud/dnspod/v20210323/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +6 -0
- tencentcloud/faceid/v20180301/models.py +19 -0
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +64 -0
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1723 -169
- tencentcloud/iotexplorer/v20190423/models.py +240 -0
- tencentcloud/lke/v20231130/models.py +66 -4
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +79 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +33 -16
- tencentcloud/omics/v20221128/errorcodes.py +9 -0
- tencentcloud/omics/v20221128/models.py +300 -11
- tencentcloud/redis/v20180412/models.py +193 -50
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/tcaplusdb/v20190823/models.py +30 -0
- tencentcloud/tione/v20211111/models.py +85 -0
- tencentcloud/trtc/v20190722/models.py +157 -0
- tencentcloud/vdb/v20230616/models.py +2 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +45 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1456.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/top_level.txt +0 -0
|
@@ -1572,9 +1572,12 @@ class ClearInstanceRequest(AbstractModel):
|
|
|
1572
1572
|
- 免密访问:无需配置。
|
|
1573
1573
|
- 密码认证:必须配置。字符个数为[8,64],至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
|
1574
1574
|
:type Password: str
|
|
1575
|
+
:param _EncryptPassword: 是否加密密码
|
|
1576
|
+
:type EncryptPassword: bool
|
|
1575
1577
|
"""
|
|
1576
1578
|
self._InstanceId = None
|
|
1577
1579
|
self._Password = None
|
|
1580
|
+
self._EncryptPassword = None
|
|
1578
1581
|
|
|
1579
1582
|
@property
|
|
1580
1583
|
def InstanceId(self):
|
|
@@ -1600,10 +1603,22 @@ class ClearInstanceRequest(AbstractModel):
|
|
|
1600
1603
|
def Password(self, Password):
|
|
1601
1604
|
self._Password = Password
|
|
1602
1605
|
|
|
1606
|
+
@property
|
|
1607
|
+
def EncryptPassword(self):
|
|
1608
|
+
"""是否加密密码
|
|
1609
|
+
:rtype: bool
|
|
1610
|
+
"""
|
|
1611
|
+
return self._EncryptPassword
|
|
1612
|
+
|
|
1613
|
+
@EncryptPassword.setter
|
|
1614
|
+
def EncryptPassword(self, EncryptPassword):
|
|
1615
|
+
self._EncryptPassword = EncryptPassword
|
|
1616
|
+
|
|
1603
1617
|
|
|
1604
1618
|
def _deserialize(self, params):
|
|
1605
1619
|
self._InstanceId = params.get("InstanceId")
|
|
1606
1620
|
self._Password = params.get("Password")
|
|
1621
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
1607
1622
|
memeber_set = set(params.keys())
|
|
1608
1623
|
for name, value in vars(self).items():
|
|
1609
1624
|
property_name = name[1:]
|
|
@@ -1710,6 +1725,8 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1710
1725
|
仅支持已开通秒级备份的实例
|
|
1711
1726
|
|
|
1712
1727
|
:type CloneTime: str
|
|
1728
|
+
:param _EncryptPassword: 是否加密密码
|
|
1729
|
+
:type EncryptPassword: bool
|
|
1713
1730
|
"""
|
|
1714
1731
|
self._InstanceId = None
|
|
1715
1732
|
self._GoodsNum = None
|
|
@@ -1731,6 +1748,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1731
1748
|
self._TemplateId = None
|
|
1732
1749
|
self._AlarmPolicyList = None
|
|
1733
1750
|
self._CloneTime = None
|
|
1751
|
+
self._EncryptPassword = None
|
|
1734
1752
|
|
|
1735
1753
|
@property
|
|
1736
1754
|
def InstanceId(self):
|
|
@@ -1958,6 +1976,17 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1958
1976
|
def CloneTime(self, CloneTime):
|
|
1959
1977
|
self._CloneTime = CloneTime
|
|
1960
1978
|
|
|
1979
|
+
@property
|
|
1980
|
+
def EncryptPassword(self):
|
|
1981
|
+
"""是否加密密码
|
|
1982
|
+
:rtype: bool
|
|
1983
|
+
"""
|
|
1984
|
+
return self._EncryptPassword
|
|
1985
|
+
|
|
1986
|
+
@EncryptPassword.setter
|
|
1987
|
+
def EncryptPassword(self, EncryptPassword):
|
|
1988
|
+
self._EncryptPassword = EncryptPassword
|
|
1989
|
+
|
|
1961
1990
|
|
|
1962
1991
|
def _deserialize(self, params):
|
|
1963
1992
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1990,6 +2019,7 @@ class CloneInstancesRequest(AbstractModel):
|
|
|
1990
2019
|
self._TemplateId = params.get("TemplateId")
|
|
1991
2020
|
self._AlarmPolicyList = params.get("AlarmPolicyList")
|
|
1992
2021
|
self._CloneTime = params.get("CloneTime")
|
|
2022
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
1993
2023
|
memeber_set = set(params.keys())
|
|
1994
2024
|
for name, value in vars(self).items():
|
|
1995
2025
|
property_name = name[1:]
|
|
@@ -2212,11 +2242,13 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2212
2242
|
- replication:副本节点
|
|
2213
2243
|
:type ReadonlyPolicy: list of str
|
|
2214
2244
|
:param _Privilege: 账户读写权限,支持选择只读与读写权限。
|
|
2215
|
-
- r
|
|
2216
|
-
- rw:
|
|
2245
|
+
- r:只读。
|
|
2246
|
+
- rw: 读写。
|
|
2217
2247
|
:type Privilege: str
|
|
2218
|
-
:param _Remark:
|
|
2248
|
+
:param _Remark: 账号备注描述信息,长度为[0,64] 字节,支持中文。
|
|
2219
2249
|
:type Remark: str
|
|
2250
|
+
:param _EncryptPassword: 是否加密密码
|
|
2251
|
+
:type EncryptPassword: bool
|
|
2220
2252
|
"""
|
|
2221
2253
|
self._InstanceId = None
|
|
2222
2254
|
self._AccountName = None
|
|
@@ -2224,6 +2256,7 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2224
2256
|
self._ReadonlyPolicy = None
|
|
2225
2257
|
self._Privilege = None
|
|
2226
2258
|
self._Remark = None
|
|
2259
|
+
self._EncryptPassword = None
|
|
2227
2260
|
|
|
2228
2261
|
@property
|
|
2229
2262
|
def InstanceId(self):
|
|
@@ -2280,8 +2313,8 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2280
2313
|
@property
|
|
2281
2314
|
def Privilege(self):
|
|
2282
2315
|
"""账户读写权限,支持选择只读与读写权限。
|
|
2283
|
-
- r
|
|
2284
|
-
- rw:
|
|
2316
|
+
- r:只读。
|
|
2317
|
+
- rw: 读写。
|
|
2285
2318
|
:rtype: str
|
|
2286
2319
|
"""
|
|
2287
2320
|
return self._Privilege
|
|
@@ -2292,7 +2325,7 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2292
2325
|
|
|
2293
2326
|
@property
|
|
2294
2327
|
def Remark(self):
|
|
2295
|
-
"""
|
|
2328
|
+
"""账号备注描述信息,长度为[0,64] 字节,支持中文。
|
|
2296
2329
|
:rtype: str
|
|
2297
2330
|
"""
|
|
2298
2331
|
return self._Remark
|
|
@@ -2301,6 +2334,17 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2301
2334
|
def Remark(self, Remark):
|
|
2302
2335
|
self._Remark = Remark
|
|
2303
2336
|
|
|
2337
|
+
@property
|
|
2338
|
+
def EncryptPassword(self):
|
|
2339
|
+
"""是否加密密码
|
|
2340
|
+
:rtype: bool
|
|
2341
|
+
"""
|
|
2342
|
+
return self._EncryptPassword
|
|
2343
|
+
|
|
2344
|
+
@EncryptPassword.setter
|
|
2345
|
+
def EncryptPassword(self, EncryptPassword):
|
|
2346
|
+
self._EncryptPassword = EncryptPassword
|
|
2347
|
+
|
|
2304
2348
|
|
|
2305
2349
|
def _deserialize(self, params):
|
|
2306
2350
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -2309,6 +2353,7 @@ class CreateInstanceAccountRequest(AbstractModel):
|
|
|
2309
2353
|
self._ReadonlyPolicy = params.get("ReadonlyPolicy")
|
|
2310
2354
|
self._Privilege = params.get("Privilege")
|
|
2311
2355
|
self._Remark = params.get("Remark")
|
|
2356
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
2312
2357
|
memeber_set = set(params.keys())
|
|
2313
2358
|
for name, value in vars(self).items():
|
|
2314
2359
|
property_name = name[1:]
|
|
@@ -2326,7 +2371,7 @@ class CreateInstanceAccountResponse(AbstractModel):
|
|
|
2326
2371
|
|
|
2327
2372
|
def __init__(self):
|
|
2328
2373
|
r"""
|
|
2329
|
-
:param _TaskId: 任务ID
|
|
2374
|
+
:param _TaskId: 任务ID。
|
|
2330
2375
|
:type TaskId: int
|
|
2331
2376
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2332
2377
|
:type RequestId: str
|
|
@@ -2336,7 +2381,7 @@ class CreateInstanceAccountResponse(AbstractModel):
|
|
|
2336
2381
|
|
|
2337
2382
|
@property
|
|
2338
2383
|
def TaskId(self):
|
|
2339
|
-
"""任务ID
|
|
2384
|
+
"""任务ID。
|
|
2340
2385
|
:rtype: int
|
|
2341
2386
|
"""
|
|
2342
2387
|
return self._TaskId
|
|
@@ -2456,6 +2501,8 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2456
2501
|
- 请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)获取告警策略 ID。
|
|
2457
2502
|
- 若不配置该参数,则绑定默认告警策略。默认告警策略具体信息,请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)查看。
|
|
2458
2503
|
:type AlarmPolicyList: list of str
|
|
2504
|
+
:param _EncryptPassword: 是否加密密码
|
|
2505
|
+
:type EncryptPassword: bool
|
|
2459
2506
|
"""
|
|
2460
2507
|
self._TypeId = None
|
|
2461
2508
|
self._MemSize = None
|
|
@@ -2483,6 +2530,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2483
2530
|
self._ProductVersion = None
|
|
2484
2531
|
self._RedisClusterId = None
|
|
2485
2532
|
self._AlarmPolicyList = None
|
|
2533
|
+
self._EncryptPassword = None
|
|
2486
2534
|
|
|
2487
2535
|
@property
|
|
2488
2536
|
def TypeId(self):
|
|
@@ -2805,6 +2853,17 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2805
2853
|
def AlarmPolicyList(self, AlarmPolicyList):
|
|
2806
2854
|
self._AlarmPolicyList = AlarmPolicyList
|
|
2807
2855
|
|
|
2856
|
+
@property
|
|
2857
|
+
def EncryptPassword(self):
|
|
2858
|
+
"""是否加密密码
|
|
2859
|
+
:rtype: bool
|
|
2860
|
+
"""
|
|
2861
|
+
return self._EncryptPassword
|
|
2862
|
+
|
|
2863
|
+
@EncryptPassword.setter
|
|
2864
|
+
def EncryptPassword(self, EncryptPassword):
|
|
2865
|
+
self._EncryptPassword = EncryptPassword
|
|
2866
|
+
|
|
2808
2867
|
|
|
2809
2868
|
def _deserialize(self, params):
|
|
2810
2869
|
self._TypeId = params.get("TypeId")
|
|
@@ -2843,6 +2902,7 @@ class CreateInstancesRequest(AbstractModel):
|
|
|
2843
2902
|
self._ProductVersion = params.get("ProductVersion")
|
|
2844
2903
|
self._RedisClusterId = params.get("RedisClusterId")
|
|
2845
2904
|
self._AlarmPolicyList = params.get("AlarmPolicyList")
|
|
2905
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
2846
2906
|
memeber_set = set(params.keys())
|
|
2847
2907
|
for name, value in vars(self).items():
|
|
2848
2908
|
property_name = name[1:]
|
|
@@ -2918,12 +2978,11 @@ class CreateParamTemplateRequest(AbstractModel):
|
|
|
2918
2978
|
|
|
2919
2979
|
def __init__(self):
|
|
2920
2980
|
r"""
|
|
2921
|
-
:param _Name:
|
|
2981
|
+
:param _Name: 参数模板名称。字符长度要求为[2,64]。
|
|
2922
2982
|
:type Name: str
|
|
2923
2983
|
:param _Description: 参数模板描述。
|
|
2924
2984
|
:type Description: str
|
|
2925
2985
|
:param _ProductType: 产品类型。
|
|
2926
|
-
- 2:Redis 2.8 内存版(标准架构)。
|
|
2927
2986
|
- 6:Redis 4.0 内存版(标准架构)。
|
|
2928
2987
|
- 7:Redis 4.0 内存版(集群架构)。
|
|
2929
2988
|
- 8:Redis 5.0 内存版(标准架构)。
|
|
@@ -2946,7 +3005,7 @@ class CreateParamTemplateRequest(AbstractModel):
|
|
|
2946
3005
|
|
|
2947
3006
|
@property
|
|
2948
3007
|
def Name(self):
|
|
2949
|
-
"""
|
|
3008
|
+
"""参数模板名称。字符长度要求为[2,64]。
|
|
2950
3009
|
:rtype: str
|
|
2951
3010
|
"""
|
|
2952
3011
|
return self._Name
|
|
@@ -2969,7 +3028,6 @@ class CreateParamTemplateRequest(AbstractModel):
|
|
|
2969
3028
|
@property
|
|
2970
3029
|
def ProductType(self):
|
|
2971
3030
|
"""产品类型。
|
|
2972
|
-
- 2:Redis 2.8 内存版(标准架构)。
|
|
2973
3031
|
- 6:Redis 4.0 内存版(标准架构)。
|
|
2974
3032
|
- 7:Redis 4.0 内存版(集群架构)。
|
|
2975
3033
|
- 8:Redis 5.0 内存版(标准架构)。
|
|
@@ -5887,14 +5945,14 @@ class DescribeInstanceLogDeliveryRequest(AbstractModel):
|
|
|
5887
5945
|
|
|
5888
5946
|
def __init__(self):
|
|
5889
5947
|
r"""
|
|
5890
|
-
:param _InstanceId: 实例ID。
|
|
5948
|
+
:param _InstanceId: 实例ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance)在实例列表复制实例 ID。
|
|
5891
5949
|
:type InstanceId: str
|
|
5892
5950
|
"""
|
|
5893
5951
|
self._InstanceId = None
|
|
5894
5952
|
|
|
5895
5953
|
@property
|
|
5896
5954
|
def InstanceId(self):
|
|
5897
|
-
"""实例ID。
|
|
5955
|
+
"""实例ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance)在实例列表复制实例 ID。
|
|
5898
5956
|
:rtype: str
|
|
5899
5957
|
"""
|
|
5900
5958
|
return self._InstanceId
|
|
@@ -7006,11 +7064,11 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
|
|
|
7006
7064
|
|
|
7007
7065
|
def __init__(self):
|
|
7008
7066
|
r"""
|
|
7009
|
-
:param _InstanceId: 实例
|
|
7067
|
+
:param _InstanceId: 实例 ID 。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7010
7068
|
:type InstanceId: str
|
|
7011
|
-
:param _Limit:
|
|
7069
|
+
:param _Limit: 分页大小。默认为100,最大值为 200。
|
|
7012
7070
|
:type Limit: int
|
|
7013
|
-
:param _Offset: 偏移量,取Limit
|
|
7071
|
+
:param _Offset: 偏移量,取Limit整数倍,默认值为0。计算公式:offset=limit*(页码-1)。
|
|
7014
7072
|
:type Offset: int
|
|
7015
7073
|
"""
|
|
7016
7074
|
self._InstanceId = None
|
|
@@ -7019,7 +7077,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
|
|
|
7019
7077
|
|
|
7020
7078
|
@property
|
|
7021
7079
|
def InstanceId(self):
|
|
7022
|
-
"""实例
|
|
7080
|
+
"""实例 ID 。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7023
7081
|
:rtype: str
|
|
7024
7082
|
"""
|
|
7025
7083
|
return self._InstanceId
|
|
@@ -7030,7 +7088,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
|
|
|
7030
7088
|
|
|
7031
7089
|
@property
|
|
7032
7090
|
def Limit(self):
|
|
7033
|
-
"""
|
|
7091
|
+
"""分页大小。默认为100,最大值为 200。
|
|
7034
7092
|
:rtype: int
|
|
7035
7093
|
"""
|
|
7036
7094
|
return self._Limit
|
|
@@ -7041,7 +7099,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
|
|
|
7041
7099
|
|
|
7042
7100
|
@property
|
|
7043
7101
|
def Offset(self):
|
|
7044
|
-
"""偏移量,取Limit
|
|
7102
|
+
"""偏移量,取Limit整数倍,默认值为0。计算公式:offset=limit*(页码-1)。
|
|
7045
7103
|
:rtype: int
|
|
7046
7104
|
"""
|
|
7047
7105
|
return self._Offset
|
|
@@ -7294,14 +7352,14 @@ class DescribeInstanceSecurityGroupRequest(AbstractModel):
|
|
|
7294
7352
|
|
|
7295
7353
|
def __init__(self):
|
|
7296
7354
|
r"""
|
|
7297
|
-
:param _InstanceIds: 实例 ID 列表,数组长度限制[0,100]
|
|
7355
|
+
:param _InstanceIds: 实例 ID 列表,数组长度限制[0,100]。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7298
7356
|
:type InstanceIds: list of str
|
|
7299
7357
|
"""
|
|
7300
7358
|
self._InstanceIds = None
|
|
7301
7359
|
|
|
7302
7360
|
@property
|
|
7303
7361
|
def InstanceIds(self):
|
|
7304
|
-
"""实例 ID 列表,数组长度限制[0,100]
|
|
7362
|
+
"""实例 ID 列表,数组长度限制[0,100]。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7305
7363
|
:rtype: list of str
|
|
7306
7364
|
"""
|
|
7307
7365
|
return self._InstanceIds
|
|
@@ -13806,7 +13864,7 @@ class InstanceSet(AbstractModel):
|
|
|
13806
13864
|
:type InstanceName: str
|
|
13807
13865
|
:param _InstanceId: 实例 ID。
|
|
13808
13866
|
:type InstanceId: str
|
|
13809
|
-
:param _Appid: 用户
|
|
13867
|
+
:param _Appid: 用户AppId。AppId是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 AppId。
|
|
13810
13868
|
|
|
13811
13869
|
:type Appid: int
|
|
13812
13870
|
:param _ProjectId: 项目 ID。
|
|
@@ -13939,6 +13997,8 @@ class InstanceSet(AbstractModel):
|
|
|
13939
13997
|
:type UpgradeRedisVersion: str
|
|
13940
13998
|
:param _BackupMode: 备份模式:- SecondLevelBackup 秒级备份- NormalLevelBackup 普通备份
|
|
13941
13999
|
:type BackupMode: str
|
|
14000
|
+
:param _DeleteProtectionSwitch: 删除保护开关,0关闭,1开启
|
|
14001
|
+
:type DeleteProtectionSwitch: int
|
|
13942
14002
|
"""
|
|
13943
14003
|
self._InstanceName = None
|
|
13944
14004
|
self._InstanceId = None
|
|
@@ -14000,6 +14060,7 @@ class InstanceSet(AbstractModel):
|
|
|
14000
14060
|
self._UpgradeProxyVersion = None
|
|
14001
14061
|
self._UpgradeRedisVersion = None
|
|
14002
14062
|
self._BackupMode = None
|
|
14063
|
+
self._DeleteProtectionSwitch = None
|
|
14003
14064
|
|
|
14004
14065
|
@property
|
|
14005
14066
|
def InstanceName(self):
|
|
@@ -14025,7 +14086,7 @@ class InstanceSet(AbstractModel):
|
|
|
14025
14086
|
|
|
14026
14087
|
@property
|
|
14027
14088
|
def Appid(self):
|
|
14028
|
-
"""用户
|
|
14089
|
+
"""用户AppId。AppId是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 AppId。
|
|
14029
14090
|
|
|
14030
14091
|
:rtype: int
|
|
14031
14092
|
"""
|
|
@@ -14682,6 +14743,17 @@ class InstanceSet(AbstractModel):
|
|
|
14682
14743
|
def BackupMode(self, BackupMode):
|
|
14683
14744
|
self._BackupMode = BackupMode
|
|
14684
14745
|
|
|
14746
|
+
@property
|
|
14747
|
+
def DeleteProtectionSwitch(self):
|
|
14748
|
+
"""删除保护开关,0关闭,1开启
|
|
14749
|
+
:rtype: int
|
|
14750
|
+
"""
|
|
14751
|
+
return self._DeleteProtectionSwitch
|
|
14752
|
+
|
|
14753
|
+
@DeleteProtectionSwitch.setter
|
|
14754
|
+
def DeleteProtectionSwitch(self, DeleteProtectionSwitch):
|
|
14755
|
+
self._DeleteProtectionSwitch = DeleteProtectionSwitch
|
|
14756
|
+
|
|
14685
14757
|
|
|
14686
14758
|
def _deserialize(self, params):
|
|
14687
14759
|
self._InstanceName = params.get("InstanceName")
|
|
@@ -14759,6 +14831,7 @@ class InstanceSet(AbstractModel):
|
|
|
14759
14831
|
self._UpgradeProxyVersion = params.get("UpgradeProxyVersion")
|
|
14760
14832
|
self._UpgradeRedisVersion = params.get("UpgradeRedisVersion")
|
|
14761
14833
|
self._BackupMode = params.get("BackupMode")
|
|
14834
|
+
self._DeleteProtectionSwitch = params.get("DeleteProtectionSwitch")
|
|
14762
14835
|
memeber_set = set(params.keys())
|
|
14763
14836
|
for name, value in vars(self).items():
|
|
14764
14837
|
property_name = name[1:]
|
|
@@ -15763,10 +15836,13 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
|
15763
15836
|
- 不能以"/"开头。
|
|
15764
15837
|
- 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
|
15765
15838
|
:type Password: str
|
|
15839
|
+
:param _EncryptPassword: 是否加密密码
|
|
15840
|
+
:type EncryptPassword: bool
|
|
15766
15841
|
"""
|
|
15767
15842
|
self._InstanceId = None
|
|
15768
15843
|
self._OldPassword = None
|
|
15769
15844
|
self._Password = None
|
|
15845
|
+
self._EncryptPassword = None
|
|
15770
15846
|
|
|
15771
15847
|
@property
|
|
15772
15848
|
def InstanceId(self):
|
|
@@ -15804,11 +15880,23 @@ class ModfiyInstancePasswordRequest(AbstractModel):
|
|
|
15804
15880
|
def Password(self, Password):
|
|
15805
15881
|
self._Password = Password
|
|
15806
15882
|
|
|
15883
|
+
@property
|
|
15884
|
+
def EncryptPassword(self):
|
|
15885
|
+
"""是否加密密码
|
|
15886
|
+
:rtype: bool
|
|
15887
|
+
"""
|
|
15888
|
+
return self._EncryptPassword
|
|
15889
|
+
|
|
15890
|
+
@EncryptPassword.setter
|
|
15891
|
+
def EncryptPassword(self, EncryptPassword):
|
|
15892
|
+
self._EncryptPassword = EncryptPassword
|
|
15893
|
+
|
|
15807
15894
|
|
|
15808
15895
|
def _deserialize(self, params):
|
|
15809
15896
|
self._InstanceId = params.get("InstanceId")
|
|
15810
15897
|
self._OldPassword = params.get("OldPassword")
|
|
15811
15898
|
self._Password = params.get("Password")
|
|
15899
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
15812
15900
|
memeber_set = set(params.keys())
|
|
15813
15901
|
for name, value in vars(self).items():
|
|
15814
15902
|
property_name = name[1:]
|
|
@@ -16203,10 +16291,12 @@ class ModifyConnectionConfigRequest(AbstractModel):
|
|
|
16203
16291
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
16204
16292
|
:type InstanceId: str
|
|
16205
16293
|
:param _Bandwidth: 附加带宽,大于0,单位MB。
|
|
16294
|
+
**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
|
16206
16295
|
:type Bandwidth: int
|
|
16207
16296
|
:param _ClientLimit: 单分片的总连接数。
|
|
16208
16297
|
- 未开启副本只读时,下限为10000,上限为40000。
|
|
16209
16298
|
- 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)。
|
|
16299
|
+
**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
|
16210
16300
|
:type ClientLimit: int
|
|
16211
16301
|
"""
|
|
16212
16302
|
self._InstanceId = None
|
|
@@ -16227,6 +16317,7 @@ class ModifyConnectionConfigRequest(AbstractModel):
|
|
|
16227
16317
|
@property
|
|
16228
16318
|
def Bandwidth(self):
|
|
16229
16319
|
"""附加带宽,大于0,单位MB。
|
|
16320
|
+
**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
|
16230
16321
|
:rtype: int
|
|
16231
16322
|
"""
|
|
16232
16323
|
return self._Bandwidth
|
|
@@ -16240,6 +16331,7 @@ class ModifyConnectionConfigRequest(AbstractModel):
|
|
|
16240
16331
|
"""单分片的总连接数。
|
|
16241
16332
|
- 未开启副本只读时,下限为10000,上限为40000。
|
|
16242
16333
|
- 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)。
|
|
16334
|
+
**说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
|
16243
16335
|
:rtype: int
|
|
16244
16336
|
"""
|
|
16245
16337
|
return self._ClientLimit
|
|
@@ -16415,25 +16507,29 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16415
16507
|
r"""
|
|
16416
16508
|
:param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
16417
16509
|
:type InstanceId: str
|
|
16418
|
-
:param _AccountName:
|
|
16510
|
+
:param _AccountName: 指定需修改的账号。
|
|
16511
|
+
- root:指在创建 Redis 数据库实例时自动生成的账号。用户无法修改其读写权限,仅可修改其请求路由策略。
|
|
16512
|
+
- 自定义的账号:用户在实例创建成功后手动创建的账号。用户可以随时修改其读写权限与请求路由策略。
|
|
16419
16513
|
:type AccountName: str
|
|
16420
|
-
:param _AccountPassword:
|
|
16514
|
+
:param _AccountPassword: 指定所修改账号访问的密码。
|
|
16421
16515
|
:type AccountPassword: str
|
|
16422
|
-
:param _Remark:
|
|
16516
|
+
:param _Remark: 账号描述信息
|
|
16423
16517
|
:type Remark: str
|
|
16424
|
-
:param _ReadonlyPolicy:
|
|
16425
|
-
- master
|
|
16426
|
-
- replication
|
|
16518
|
+
:param _ReadonlyPolicy: 指定所修改账号读写请求路由的策略。
|
|
16519
|
+
- master:表示读写请求路由至主节点。
|
|
16520
|
+
- replication:表示读写请求路由至从节点。
|
|
16427
16521
|
:type ReadonlyPolicy: list of str
|
|
16428
|
-
:param _Privilege:
|
|
16522
|
+
:param _Privilege: 指定所修改账号的读写权限。
|
|
16429
16523
|
- r:只读。
|
|
16430
16524
|
- w:只写。
|
|
16431
16525
|
- rw:读写。
|
|
16432
16526
|
:type Privilege: str
|
|
16433
|
-
:param _NoAuth:
|
|
16434
|
-
- true
|
|
16435
|
-
- false
|
|
16527
|
+
:param _NoAuth: 指定是否将默认账号(root)设置为免密账号。自定义账号不支持免密访问。
|
|
16528
|
+
- true:默认账号(root)设置为免密账号。
|
|
16529
|
+
- false:默认账号(root)不设置为免密账号。
|
|
16436
16530
|
:type NoAuth: bool
|
|
16531
|
+
:param _EncryptPassword: 指定所修改的账号是否加密密码
|
|
16532
|
+
:type EncryptPassword: bool
|
|
16437
16533
|
"""
|
|
16438
16534
|
self._InstanceId = None
|
|
16439
16535
|
self._AccountName = None
|
|
@@ -16442,6 +16538,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16442
16538
|
self._ReadonlyPolicy = None
|
|
16443
16539
|
self._Privilege = None
|
|
16444
16540
|
self._NoAuth = None
|
|
16541
|
+
self._EncryptPassword = None
|
|
16445
16542
|
|
|
16446
16543
|
@property
|
|
16447
16544
|
def InstanceId(self):
|
|
@@ -16456,7 +16553,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16456
16553
|
|
|
16457
16554
|
@property
|
|
16458
16555
|
def AccountName(self):
|
|
16459
|
-
"""
|
|
16556
|
+
"""指定需修改的账号。
|
|
16557
|
+
- root:指在创建 Redis 数据库实例时自动生成的账号。用户无法修改其读写权限,仅可修改其请求路由策略。
|
|
16558
|
+
- 自定义的账号:用户在实例创建成功后手动创建的账号。用户可以随时修改其读写权限与请求路由策略。
|
|
16460
16559
|
:rtype: str
|
|
16461
16560
|
"""
|
|
16462
16561
|
return self._AccountName
|
|
@@ -16467,7 +16566,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16467
16566
|
|
|
16468
16567
|
@property
|
|
16469
16568
|
def AccountPassword(self):
|
|
16470
|
-
"""
|
|
16569
|
+
"""指定所修改账号访问的密码。
|
|
16471
16570
|
:rtype: str
|
|
16472
16571
|
"""
|
|
16473
16572
|
return self._AccountPassword
|
|
@@ -16478,7 +16577,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16478
16577
|
|
|
16479
16578
|
@property
|
|
16480
16579
|
def Remark(self):
|
|
16481
|
-
"""
|
|
16580
|
+
"""账号描述信息
|
|
16482
16581
|
:rtype: str
|
|
16483
16582
|
"""
|
|
16484
16583
|
return self._Remark
|
|
@@ -16489,9 +16588,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16489
16588
|
|
|
16490
16589
|
@property
|
|
16491
16590
|
def ReadonlyPolicy(self):
|
|
16492
|
-
"""
|
|
16493
|
-
- master
|
|
16494
|
-
- replication
|
|
16591
|
+
"""指定所修改账号读写请求路由的策略。
|
|
16592
|
+
- master:表示读写请求路由至主节点。
|
|
16593
|
+
- replication:表示读写请求路由至从节点。
|
|
16495
16594
|
:rtype: list of str
|
|
16496
16595
|
"""
|
|
16497
16596
|
return self._ReadonlyPolicy
|
|
@@ -16502,7 +16601,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16502
16601
|
|
|
16503
16602
|
@property
|
|
16504
16603
|
def Privilege(self):
|
|
16505
|
-
"""
|
|
16604
|
+
"""指定所修改账号的读写权限。
|
|
16506
16605
|
- r:只读。
|
|
16507
16606
|
- w:只写。
|
|
16508
16607
|
- rw:读写。
|
|
@@ -16516,9 +16615,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16516
16615
|
|
|
16517
16616
|
@property
|
|
16518
16617
|
def NoAuth(self):
|
|
16519
|
-
"""
|
|
16520
|
-
- true
|
|
16521
|
-
- false
|
|
16618
|
+
"""指定是否将默认账号(root)设置为免密账号。自定义账号不支持免密访问。
|
|
16619
|
+
- true:默认账号(root)设置为免密账号。
|
|
16620
|
+
- false:默认账号(root)不设置为免密账号。
|
|
16522
16621
|
:rtype: bool
|
|
16523
16622
|
"""
|
|
16524
16623
|
return self._NoAuth
|
|
@@ -16527,6 +16626,17 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16527
16626
|
def NoAuth(self, NoAuth):
|
|
16528
16627
|
self._NoAuth = NoAuth
|
|
16529
16628
|
|
|
16629
|
+
@property
|
|
16630
|
+
def EncryptPassword(self):
|
|
16631
|
+
"""指定所修改的账号是否加密密码
|
|
16632
|
+
:rtype: bool
|
|
16633
|
+
"""
|
|
16634
|
+
return self._EncryptPassword
|
|
16635
|
+
|
|
16636
|
+
@EncryptPassword.setter
|
|
16637
|
+
def EncryptPassword(self, EncryptPassword):
|
|
16638
|
+
self._EncryptPassword = EncryptPassword
|
|
16639
|
+
|
|
16530
16640
|
|
|
16531
16641
|
def _deserialize(self, params):
|
|
16532
16642
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -16536,6 +16646,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
|
|
|
16536
16646
|
self._ReadonlyPolicy = params.get("ReadonlyPolicy")
|
|
16537
16647
|
self._Privilege = params.get("Privilege")
|
|
16538
16648
|
self._NoAuth = params.get("NoAuth")
|
|
16649
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
16539
16650
|
memeber_set = set(params.keys())
|
|
16540
16651
|
for name, value in vars(self).items():
|
|
16541
16652
|
property_name = name[1:]
|
|
@@ -16553,7 +16664,7 @@ class ModifyInstanceAccountResponse(AbstractModel):
|
|
|
16553
16664
|
|
|
16554
16665
|
def __init__(self):
|
|
16555
16666
|
r"""
|
|
16556
|
-
:param _TaskId: 任务ID
|
|
16667
|
+
:param _TaskId: 任务ID。
|
|
16557
16668
|
:type TaskId: int
|
|
16558
16669
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16559
16670
|
:type RequestId: str
|
|
@@ -16563,7 +16674,7 @@ class ModifyInstanceAccountResponse(AbstractModel):
|
|
|
16563
16674
|
|
|
16564
16675
|
@property
|
|
16565
16676
|
def TaskId(self):
|
|
16566
|
-
"""任务ID
|
|
16677
|
+
"""任务ID。
|
|
16567
16678
|
:rtype: int
|
|
16568
16679
|
"""
|
|
16569
16680
|
return self._TaskId
|
|
@@ -17506,6 +17617,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17506
17617
|
- rename:表示实例重命名。
|
|
17507
17618
|
- modifyProject:修改实例所属项目。
|
|
17508
17619
|
- modifyAutoRenew:修改实例续费标记。
|
|
17620
|
+
- modifyDeleteProtectionSwitch:修改实例删除保护。
|
|
17509
17621
|
:type Operation: str
|
|
17510
17622
|
:param _InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
|
|
17511
17623
|
:type InstanceIds: list of str
|
|
@@ -17518,6 +17630,8 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17518
17630
|
- 1:自动续费。
|
|
17519
17631
|
- 2:明确不自动续费。
|
|
17520
17632
|
:type AutoRenews: list of int
|
|
17633
|
+
:param _DeleteProtectionSwitches: 删除保护开关。- 0:默认状态,指关闭。- 1:开关打开。
|
|
17634
|
+
:type DeleteProtectionSwitches: list of int
|
|
17521
17635
|
:param _InstanceId: 目前在废弃中,存量用户还可以使用,建议新用户使用 InstanceIds。
|
|
17522
17636
|
:type InstanceId: str
|
|
17523
17637
|
:param _InstanceName: 已经废弃
|
|
@@ -17530,6 +17644,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17530
17644
|
self._InstanceNames = None
|
|
17531
17645
|
self._ProjectId = None
|
|
17532
17646
|
self._AutoRenews = None
|
|
17647
|
+
self._DeleteProtectionSwitches = None
|
|
17533
17648
|
self._InstanceId = None
|
|
17534
17649
|
self._InstanceName = None
|
|
17535
17650
|
self._AutoRenew = None
|
|
@@ -17540,6 +17655,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17540
17655
|
- rename:表示实例重命名。
|
|
17541
17656
|
- modifyProject:修改实例所属项目。
|
|
17542
17657
|
- modifyAutoRenew:修改实例续费标记。
|
|
17658
|
+
- modifyDeleteProtectionSwitch:修改实例删除保护。
|
|
17543
17659
|
:rtype: str
|
|
17544
17660
|
"""
|
|
17545
17661
|
return self._Operation
|
|
@@ -17595,6 +17711,17 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17595
17711
|
def AutoRenews(self, AutoRenews):
|
|
17596
17712
|
self._AutoRenews = AutoRenews
|
|
17597
17713
|
|
|
17714
|
+
@property
|
|
17715
|
+
def DeleteProtectionSwitches(self):
|
|
17716
|
+
"""删除保护开关。- 0:默认状态,指关闭。- 1:开关打开。
|
|
17717
|
+
:rtype: list of int
|
|
17718
|
+
"""
|
|
17719
|
+
return self._DeleteProtectionSwitches
|
|
17720
|
+
|
|
17721
|
+
@DeleteProtectionSwitches.setter
|
|
17722
|
+
def DeleteProtectionSwitches(self, DeleteProtectionSwitches):
|
|
17723
|
+
self._DeleteProtectionSwitches = DeleteProtectionSwitches
|
|
17724
|
+
|
|
17598
17725
|
@property
|
|
17599
17726
|
def InstanceId(self):
|
|
17600
17727
|
warnings.warn("parameter `InstanceId` is deprecated", DeprecationWarning)
|
|
@@ -17647,6 +17774,7 @@ class ModifyInstanceRequest(AbstractModel):
|
|
|
17647
17774
|
self._InstanceNames = params.get("InstanceNames")
|
|
17648
17775
|
self._ProjectId = params.get("ProjectId")
|
|
17649
17776
|
self._AutoRenews = params.get("AutoRenews")
|
|
17777
|
+
self._DeleteProtectionSwitches = params.get("DeleteProtectionSwitches")
|
|
17650
17778
|
self._InstanceId = params.get("InstanceId")
|
|
17651
17779
|
self._InstanceName = params.get("InstanceName")
|
|
17652
17780
|
self._AutoRenew = params.get("AutoRenew")
|
|
@@ -20663,10 +20791,13 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20663
20791
|
- false:切换为非免密码实例。
|
|
20664
20792
|
- true:切换为免密码实例。默认 false。
|
|
20665
20793
|
:type NoAuth: bool
|
|
20794
|
+
:param _EncryptPassword: 是否加密密码
|
|
20795
|
+
:type EncryptPassword: bool
|
|
20666
20796
|
"""
|
|
20667
20797
|
self._InstanceId = None
|
|
20668
20798
|
self._Password = None
|
|
20669
20799
|
self._NoAuth = None
|
|
20800
|
+
self._EncryptPassword = None
|
|
20670
20801
|
|
|
20671
20802
|
@property
|
|
20672
20803
|
def InstanceId(self):
|
|
@@ -20703,11 +20834,23 @@ class ResetPasswordRequest(AbstractModel):
|
|
|
20703
20834
|
def NoAuth(self, NoAuth):
|
|
20704
20835
|
self._NoAuth = NoAuth
|
|
20705
20836
|
|
|
20837
|
+
@property
|
|
20838
|
+
def EncryptPassword(self):
|
|
20839
|
+
"""是否加密密码
|
|
20840
|
+
:rtype: bool
|
|
20841
|
+
"""
|
|
20842
|
+
return self._EncryptPassword
|
|
20843
|
+
|
|
20844
|
+
@EncryptPassword.setter
|
|
20845
|
+
def EncryptPassword(self, EncryptPassword):
|
|
20846
|
+
self._EncryptPassword = EncryptPassword
|
|
20847
|
+
|
|
20706
20848
|
|
|
20707
20849
|
def _deserialize(self, params):
|
|
20708
20850
|
self._InstanceId = params.get("InstanceId")
|
|
20709
20851
|
self._Password = params.get("Password")
|
|
20710
20852
|
self._NoAuth = params.get("NoAuth")
|
|
20853
|
+
self._EncryptPassword = params.get("EncryptPassword")
|
|
20711
20854
|
memeber_set = set(params.keys())
|
|
20712
20855
|
for name, value in vars(self).items():
|
|
20713
20856
|
property_name = name[1:]
|
|
@@ -20885,9 +21028,9 @@ class RestoreInstanceRequest(AbstractModel):
|
|
|
20885
21028
|
|
|
20886
21029
|
def __init__(self):
|
|
20887
21030
|
r"""
|
|
20888
|
-
:param _InstanceId: 待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。
|
|
21031
|
+
:param _InstanceId: 待操作的实例ID,可通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口返回值中的 InstanceId 获取。
|
|
20889
21032
|
:type InstanceId: str
|
|
20890
|
-
:param _BackupId: 备份ID,可通过
|
|
21033
|
+
:param _BackupId: 备份ID,可通过 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 接口返回的参数 RedisBackupSet 获取。
|
|
20891
21034
|
:type BackupId: str
|
|
20892
21035
|
:param _Password: 实例密码,恢复实例时,需要校验实例密码(免密实例不需要传密码)
|
|
20893
21036
|
:type Password: str
|
|
@@ -20898,7 +21041,7 @@ class RestoreInstanceRequest(AbstractModel):
|
|
|
20898
21041
|
|
|
20899
21042
|
@property
|
|
20900
21043
|
def InstanceId(self):
|
|
20901
|
-
"""待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。
|
|
21044
|
+
"""待操作的实例ID,可通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口返回值中的 InstanceId 获取。
|
|
20902
21045
|
:rtype: str
|
|
20903
21046
|
"""
|
|
20904
21047
|
return self._InstanceId
|
|
@@ -20909,7 +21052,7 @@ class RestoreInstanceRequest(AbstractModel):
|
|
|
20909
21052
|
|
|
20910
21053
|
@property
|
|
20911
21054
|
def BackupId(self):
|
|
20912
|
-
"""备份ID,可通过
|
|
21055
|
+
"""备份ID,可通过 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 接口返回的参数 RedisBackupSet 获取。
|
|
20913
21056
|
:rtype: str
|
|
20914
21057
|
"""
|
|
20915
21058
|
return self._BackupId
|