tencentcloud-sdk-python-intl-en 3.0.1288__py2.py3-none-any.whl → 3.0.1291__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-intl-en might be problematic. Click here for more details.

Files changed (29) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  3. tencentcloud/ccc/v20200210/models.py +184 -0
  4. tencentcloud/clb/v20180317/clb_client.py +4 -4
  5. tencentcloud/clb/v20180317/errorcodes.py +9 -0
  6. tencentcloud/clb/v20180317/models.py +27 -2
  7. tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
  8. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  9. tencentcloud/cynosdb/v20190107/models.py +1286 -75
  10. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  11. tencentcloud/dlc/v20210125/models.py +504 -0
  12. tencentcloud/mdl/v20200326/models.py +191 -0
  13. tencentcloud/mongodb/v20190725/errorcodes.py +15 -0
  14. tencentcloud/mongodb/v20190725/models.py +1276 -463
  15. tencentcloud/mongodb/v20190725/mongodb_client.py +75 -6
  16. tencentcloud/monitor/v20180724/models.py +1351 -124
  17. tencentcloud/monitor/v20180724/monitor_client.py +118 -0
  18. tencentcloud/mps/v20190612/models.py +366 -62
  19. tencentcloud/quota/v20241204/models.py +17 -2
  20. tencentcloud/redis/v20180412/models.py +410 -168
  21. tencentcloud/redis/v20180412/redis_client.py +4 -4
  22. tencentcloud/wedata/v20250806/__init__.py +0 -0
  23. tencentcloud/wedata/v20250806/errorcodes.py +57 -0
  24. tencentcloud/wedata/v20250806/models.py +26375 -0
  25. tencentcloud/wedata/v20250806/wedata_client.py +1797 -0
  26. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/RECORD +29 -25
  28. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/WHEEL +0 -0
  29. {tencentcloud_sdk_python_intl_en-3.0.1288.dist-info → tencentcloud_sdk_python_intl_en-3.0.1291.dist-info}/top_level.txt +0 -0
@@ -171,7 +171,10 @@ class AddReplicationInstanceRequest(AbstractModel):
171
171
  r"""
172
172
  :param _GroupId: Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
173
173
  :type GroupId: str
174
- :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
174
+ :param _InstanceId: Instance ID.
175
+ - There are region and AZ limitations for adding a replication group instance. For detailed information, see [Use Limits](https://www.tencentcloud.comom/document/product/239/71934?from_cn_redirect=1).
176
+ - Currently, only Redis 4.0 and 5.0 cluster architecture instances support being added to the replication groups.
177
+ - Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the ID of the instance that needs to be added to the replication group in the instance list.
175
178
  :type InstanceId: str
176
179
  :param _InstanceRole: Assigns roles to instances added to the replication group. <ul><li>rw: read-write;</li> <li>r: read-only.</li></ul>
177
180
  :type InstanceRole: str
@@ -193,7 +196,10 @@ class AddReplicationInstanceRequest(AbstractModel):
193
196
 
194
197
  @property
195
198
  def InstanceId(self):
196
- r"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
199
+ r"""Instance ID.
200
+ - There are region and AZ limitations for adding a replication group instance. For detailed information, see [Use Limits](https://www.tencentcloud.comom/document/product/239/71934?from_cn_redirect=1).
201
+ - Currently, only Redis 4.0 and 5.0 cluster architecture instances support being added to the replication groups.
202
+ - Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the ID of the instance that needs to be added to the replication group in the instance list.
197
203
  :rtype: str
198
204
  """
199
205
  return self._InstanceId
@@ -374,7 +380,9 @@ class ApplyParamsTemplateRequest(AbstractModel):
374
380
  r"""
375
381
  :param _InstanceIds: Instance ID list. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy the instance ID in the instance list.
376
382
  :type InstanceIds: list of str
377
- :param _TemplateId: ID of the applied parameter template, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
383
+ :param _TemplateId: ID of the applied parameter template.
384
+ - The parameter template ID can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://www.tencentcloud.comom/document/product/239/58748?from_cn_redirect=1).
385
+ - The operation can only be successfully performed when the parameter template version matches the architecture version of the target instance. A version mismatch will trigger an execution error.
378
386
  :type TemplateId: str
379
387
  """
380
388
  self._InstanceIds = None
@@ -393,7 +401,9 @@ class ApplyParamsTemplateRequest(AbstractModel):
393
401
 
394
402
  @property
395
403
  def TemplateId(self):
396
- r"""ID of the applied parameter template, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
404
+ r"""ID of the applied parameter template.
405
+ - The parameter template ID can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://www.tencentcloud.comom/document/product/239/58748?from_cn_redirect=1).
406
+ - The operation can only be successfully performed when the parameter template version matches the architecture version of the target instance. A version mismatch will trigger an execution error.
397
407
  :rtype: str
398
408
  """
399
409
  return self._TemplateId
@@ -1489,14 +1499,14 @@ class CleanUpInstanceRequest(AbstractModel):
1489
1499
 
1490
1500
  def __init__(self):
1491
1501
  r"""
1492
- :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
1502
+ :param _InstanceId: Instance ID. Log in to the [Redis console recycle bin](https://console.cloud.tencent.com/redis/recycle), and copy it from the instance list.
1493
1503
  :type InstanceId: str
1494
1504
  """
1495
1505
  self._InstanceId = None
1496
1506
 
1497
1507
  @property
1498
1508
  def InstanceId(self):
1499
- r"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
1509
+ r"""Instance ID. Log in to the [Redis console recycle bin](https://console.cloud.tencent.com/redis/recycle), and copy it from the instance list.
1500
1510
  :rtype: str
1501
1511
  """
1502
1512
  return self._InstanceId
@@ -1574,9 +1584,12 @@ class ClearInstanceRequest(AbstractModel):
1574
1584
  - Password-free access: No configuration is required.
1575
1585
  - Password authentication: The password is required. It cannot start with a forward slash (/) and should contain 8 to 64 characters, including at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
1576
1586
  :type Password: str
1587
+ :param _EncryptPassword: Whether to encrypt the password.
1588
+ :type EncryptPassword: bool
1577
1589
  """
1578
1590
  self._InstanceId = None
1579
1591
  self._Password = None
1592
+ self._EncryptPassword = None
1580
1593
 
1581
1594
  @property
1582
1595
  def InstanceId(self):
@@ -1602,10 +1615,22 @@ class ClearInstanceRequest(AbstractModel):
1602
1615
  def Password(self, Password):
1603
1616
  self._Password = Password
1604
1617
 
1618
+ @property
1619
+ def EncryptPassword(self):
1620
+ r"""Whether to encrypt the password.
1621
+ :rtype: bool
1622
+ """
1623
+ return self._EncryptPassword
1624
+
1625
+ @EncryptPassword.setter
1626
+ def EncryptPassword(self, EncryptPassword):
1627
+ self._EncryptPassword = EncryptPassword
1628
+
1605
1629
 
1606
1630
  def _deserialize(self, params):
1607
1631
  self._InstanceId = params.get("InstanceId")
1608
1632
  self._Password = params.get("Password")
1633
+ self._EncryptPassword = params.get("EncryptPassword")
1609
1634
  memeber_set = set(params.keys())
1610
1635
  for name, value in vars(self).items():
1611
1636
  property_name = name[1:]
@@ -1678,7 +1703,7 @@ class CloneInstancesRequest(AbstractModel):
1678
1703
  :type BillingMode: int
1679
1704
  :param _Period: Purchase duration of an instance. <ul><li>Unit: Month</li><li>Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`, `48`, `60` (for monthly subscription mode).</li><li> Valid value: `1` (for pay-as-you-go mode).</li></ul>
1680
1705
  :type Period: int
1681
- :param _SecurityGroupIdList: Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
1706
+ :param _SecurityGroupIdList: Security group ID. Call the [DescribeInstanceSecurityGroup](https://www.tencentcloud.comom/document/product/239/34447?from_cn_redirect=1) API to obtain the security group ID for the instance.
1682
1707
  :type SecurityGroupIdList: list of str
1683
1708
  :param _BackupId: Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
1684
1709
  :type BackupId: str
@@ -1712,6 +1737,8 @@ class CloneInstancesRequest(AbstractModel):
1712
1737
  Only instances with second-level backup enabled are supported.
1713
1738
 
1714
1739
  :type CloneTime: str
1740
+ :param _EncryptPassword: Whether to encrypt the password.
1741
+ :type EncryptPassword: bool
1715
1742
  """
1716
1743
  self._InstanceId = None
1717
1744
  self._GoodsNum = None
@@ -1733,6 +1760,7 @@ Only instances with second-level backup enabled are supported.
1733
1760
  self._TemplateId = None
1734
1761
  self._AlarmPolicyList = None
1735
1762
  self._CloneTime = None
1763
+ self._EncryptPassword = None
1736
1764
 
1737
1765
  @property
1738
1766
  def InstanceId(self):
@@ -1793,7 +1821,7 @@ Only instances with second-level backup enabled are supported.
1793
1821
 
1794
1822
  @property
1795
1823
  def SecurityGroupIdList(self):
1796
- r"""Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
1824
+ r"""Security group ID. Call the [DescribeInstanceSecurityGroup](https://www.tencentcloud.comom/document/product/239/34447?from_cn_redirect=1) API to obtain the security group ID for the instance.
1797
1825
  :rtype: list of str
1798
1826
  """
1799
1827
  return self._SecurityGroupIdList
@@ -1960,6 +1988,17 @@ Only instances with second-level backup enabled are supported.
1960
1988
  def CloneTime(self, CloneTime):
1961
1989
  self._CloneTime = CloneTime
1962
1990
 
1991
+ @property
1992
+ def EncryptPassword(self):
1993
+ r"""Whether to encrypt the password.
1994
+ :rtype: bool
1995
+ """
1996
+ return self._EncryptPassword
1997
+
1998
+ @EncryptPassword.setter
1999
+ def EncryptPassword(self, EncryptPassword):
2000
+ self._EncryptPassword = EncryptPassword
2001
+
1963
2002
 
1964
2003
  def _deserialize(self, params):
1965
2004
  self._InstanceId = params.get("InstanceId")
@@ -1992,6 +2031,7 @@ Only instances with second-level backup enabled are supported.
1992
2031
  self._TemplateId = params.get("TemplateId")
1993
2032
  self._AlarmPolicyList = params.get("AlarmPolicyList")
1994
2033
  self._CloneTime = params.get("CloneTime")
2034
+ self._EncryptPassword = params.get("EncryptPassword")
1995
2035
  memeber_set = set(params.keys())
1996
2036
  for name, value in vars(self).items():
1997
2037
  property_name = name[1:]
@@ -2212,12 +2252,14 @@ class CreateInstanceAccountRequest(AbstractModel):
2212
2252
  :param _ReadonlyPolicy: The read requests for the designated account are routed to either the master node or replica nodes. If the Read-Only Replica is not enabled, the selection of replica nodes is not supported.
2213
2253
  - master: Master node.- replication: Replica node.
2214
2254
  :type ReadonlyPolicy: list of str
2215
- :param _Privilege: The read/write permission of the account supports the selection of read-only and read/write permissions.
2216
- - r: read-only
2217
- - rw: Read/Write permission.
2255
+ :param _Privilege: Read-write permissions of the account. It supports the selection of read-only and read-write permissions.
2256
+ - r: read-only.
2257
+ - rw: read-write.
2218
2258
  :type Privilege: str
2219
- :param _Remark: Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
2259
+ :param _Remark: Description information about account remarks, with a length of [0, 64] bytes.
2220
2260
  :type Remark: str
2261
+ :param _EncryptPassword: Whether to encrypt the password.
2262
+ :type EncryptPassword: bool
2221
2263
  """
2222
2264
  self._InstanceId = None
2223
2265
  self._AccountName = None
@@ -2225,6 +2267,7 @@ class CreateInstanceAccountRequest(AbstractModel):
2225
2267
  self._ReadonlyPolicy = None
2226
2268
  self._Privilege = None
2227
2269
  self._Remark = None
2270
+ self._EncryptPassword = None
2228
2271
 
2229
2272
  @property
2230
2273
  def InstanceId(self):
@@ -2279,9 +2322,9 @@ class CreateInstanceAccountRequest(AbstractModel):
2279
2322
 
2280
2323
  @property
2281
2324
  def Privilege(self):
2282
- r"""The read/write permission of the account supports the selection of read-only and read/write permissions.
2283
- - r: read-only
2284
- - rw: Read/Write permission.
2325
+ r"""Read-write permissions of the account. It supports the selection of read-only and read-write permissions.
2326
+ - r: read-only.
2327
+ - rw: read-write.
2285
2328
  :rtype: str
2286
2329
  """
2287
2330
  return self._Privilege
@@ -2292,7 +2335,7 @@ class CreateInstanceAccountRequest(AbstractModel):
2292
2335
 
2293
2336
  @property
2294
2337
  def Remark(self):
2295
- r"""Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
2338
+ r"""Description information about account remarks, with a length of [0, 64] bytes.
2296
2339
  :rtype: str
2297
2340
  """
2298
2341
  return self._Remark
@@ -2301,6 +2344,17 @@ class CreateInstanceAccountRequest(AbstractModel):
2301
2344
  def Remark(self, Remark):
2302
2345
  self._Remark = Remark
2303
2346
 
2347
+ @property
2348
+ def EncryptPassword(self):
2349
+ r"""Whether to encrypt the password.
2350
+ :rtype: bool
2351
+ """
2352
+ return self._EncryptPassword
2353
+
2354
+ @EncryptPassword.setter
2355
+ def EncryptPassword(self, EncryptPassword):
2356
+ self._EncryptPassword = EncryptPassword
2357
+
2304
2358
 
2305
2359
  def _deserialize(self, params):
2306
2360
  self._InstanceId = params.get("InstanceId")
@@ -2309,6 +2363,7 @@ class CreateInstanceAccountRequest(AbstractModel):
2309
2363
  self._ReadonlyPolicy = params.get("ReadonlyPolicy")
2310
2364
  self._Privilege = params.get("Privilege")
2311
2365
  self._Remark = params.get("Remark")
2366
+ self._EncryptPassword = params.get("EncryptPassword")
2312
2367
  memeber_set = set(params.keys())
2313
2368
  for name, value in vars(self).items():
2314
2369
  property_name = name[1:]
@@ -2326,7 +2381,7 @@ class CreateInstanceAccountResponse(AbstractModel):
2326
2381
 
2327
2382
  def __init__(self):
2328
2383
  r"""
2329
- :param _TaskId: Task ID
2384
+ :param _TaskId: Task ID.
2330
2385
  :type TaskId: int
2331
2386
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2332
2387
  :type RequestId: str
@@ -2336,7 +2391,7 @@ class CreateInstanceAccountResponse(AbstractModel):
2336
2391
 
2337
2392
  @property
2338
2393
  def TaskId(self):
2339
- r"""Task ID
2394
+ r"""Task ID.
2340
2395
  :rtype: int
2341
2396
  """
2342
2397
  return self._TaskId
@@ -2452,6 +2507,8 @@ Node information of an instance. Currently, information about the node type (mas
2452
2507
  :type RedisClusterId: str
2453
2508
  :param _AlarmPolicyList: Alarm policy ID array.- Please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to access the alarm policy ID.- If this parameter is not configured, the default alarm policy will be bound. For the specific information about the default alarm policy, please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to view.
2454
2509
  :type AlarmPolicyList: list of str
2510
+ :param _EncryptPassword: Whether to encrypt the password.
2511
+ :type EncryptPassword: bool
2455
2512
  """
2456
2513
  self._TypeId = None
2457
2514
  self._MemSize = None
@@ -2479,6 +2536,7 @@ Node information of an instance. Currently, information about the node type (mas
2479
2536
  self._ProductVersion = None
2480
2537
  self._RedisClusterId = None
2481
2538
  self._AlarmPolicyList = None
2539
+ self._EncryptPassword = None
2482
2540
 
2483
2541
  @property
2484
2542
  def TypeId(self):
@@ -2797,6 +2855,17 @@ Node information of an instance. Currently, information about the node type (mas
2797
2855
  def AlarmPolicyList(self, AlarmPolicyList):
2798
2856
  self._AlarmPolicyList = AlarmPolicyList
2799
2857
 
2858
+ @property
2859
+ def EncryptPassword(self):
2860
+ r"""Whether to encrypt the password.
2861
+ :rtype: bool
2862
+ """
2863
+ return self._EncryptPassword
2864
+
2865
+ @EncryptPassword.setter
2866
+ def EncryptPassword(self, EncryptPassword):
2867
+ self._EncryptPassword = EncryptPassword
2868
+
2800
2869
 
2801
2870
  def _deserialize(self, params):
2802
2871
  self._TypeId = params.get("TypeId")
@@ -2835,6 +2904,7 @@ Node information of an instance. Currently, information about the node type (mas
2835
2904
  self._ProductVersion = params.get("ProductVersion")
2836
2905
  self._RedisClusterId = params.get("RedisClusterId")
2837
2906
  self._AlarmPolicyList = params.get("AlarmPolicyList")
2907
+ self._EncryptPassword = params.get("EncryptPassword")
2838
2908
  memeber_set = set(params.keys())
2839
2909
  for name, value in vars(self).items():
2840
2910
  property_name = name[1:]
@@ -2910,12 +2980,11 @@ class CreateParamTemplateRequest(AbstractModel):
2910
2980
 
2911
2981
  def __init__(self):
2912
2982
  r"""
2913
- :param _Name: Parameter template name.
2983
+ :param _Name: Parameter template name, which can contain [2, 64] characters.
2914
2984
  :type Name: str
2915
2985
  :param _Description: Parameter template description.
2916
2986
  :type Description: str
2917
2987
  :param _ProductType: Product type.
2918
- - 2: Redis 2.8 Memory Edition (standard architecture).
2919
2988
  - 6: Redis 4.0 Memory Edition (standard architecture).
2920
2989
  - 7: Redis 4.0 Memory Edition (cluster architecture).
2921
2990
  - 8: Redis 5.0 Memory Edition (standard architecture).
@@ -2938,7 +3007,7 @@ class CreateParamTemplateRequest(AbstractModel):
2938
3007
 
2939
3008
  @property
2940
3009
  def Name(self):
2941
- r"""Parameter template name.
3010
+ r"""Parameter template name, which can contain [2, 64] characters.
2942
3011
  :rtype: str
2943
3012
  """
2944
3013
  return self._Name
@@ -2961,7 +3030,6 @@ class CreateParamTemplateRequest(AbstractModel):
2961
3030
  @property
2962
3031
  def ProductType(self):
2963
3032
  r"""Product type.
2964
- - 2: Redis 2.8 Memory Edition (standard architecture).
2965
3033
  - 6: Redis 4.0 Memory Edition (standard architecture).
2966
3034
  - 7: Redis 4.0 Memory Edition (cluster architecture).
2967
3035
  - 8: Redis 5.0 Memory Edition (standard architecture).
@@ -3140,10 +3208,13 @@ class CreateReplicationGroupResponse(AbstractModel):
3140
3208
  r"""
3141
3209
  :param _TaskId: Asynchronous process ID.
3142
3210
  :type TaskId: int
3211
+ :param _GroupId: Replication group ID of the string type.
3212
+ :type GroupId: str
3143
3213
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3144
3214
  :type RequestId: str
3145
3215
  """
3146
3216
  self._TaskId = None
3217
+ self._GroupId = None
3147
3218
  self._RequestId = None
3148
3219
 
3149
3220
  @property
@@ -3157,6 +3228,17 @@ class CreateReplicationGroupResponse(AbstractModel):
3157
3228
  def TaskId(self, TaskId):
3158
3229
  self._TaskId = TaskId
3159
3230
 
3231
+ @property
3232
+ def GroupId(self):
3233
+ r"""Replication group ID of the string type.
3234
+ :rtype: str
3235
+ """
3236
+ return self._GroupId
3237
+
3238
+ @GroupId.setter
3239
+ def GroupId(self, GroupId):
3240
+ self._GroupId = GroupId
3241
+
3160
3242
  @property
3161
3243
  def RequestId(self):
3162
3244
  r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -3171,6 +3253,7 @@ class CreateReplicationGroupResponse(AbstractModel):
3171
3253
 
3172
3254
  def _deserialize(self, params):
3173
3255
  self._TaskId = params.get("TaskId")
3256
+ self._GroupId = params.get("GroupId")
3174
3257
  self._RequestId = params.get("RequestId")
3175
3258
 
3176
3259
 
@@ -3341,14 +3424,14 @@ class DeleteParamTemplateRequest(AbstractModel):
3341
3424
 
3342
3425
  def __init__(self):
3343
3426
  r"""
3344
- :param _TemplateId: Parameter template ID.
3427
+ :param _TemplateId: Parameter template ID. Log in to the [Redis console and go to the parameter template page](https://console.cloud.tencent.com/redis/templates) to obtain the template ID.
3345
3428
  :type TemplateId: str
3346
3429
  """
3347
3430
  self._TemplateId = None
3348
3431
 
3349
3432
  @property
3350
3433
  def TemplateId(self):
3351
- r"""Parameter template ID.
3434
+ r"""Parameter template ID. Log in to the [Redis console and go to the parameter template page](https://console.cloud.tencent.com/redis/templates) to obtain the template ID.
3352
3435
  :rtype: str
3353
3436
  """
3354
3437
  return self._TemplateId
@@ -4912,7 +4995,7 @@ class DescribeInstanceAccountRequest(AbstractModel):
4912
4995
  r"""
4913
4996
  :param _InstanceId: ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
4914
4997
  :type InstanceId: str
4915
- :param _Limit: Number of entries per page
4998
+ :param _Limit: Pagination size. The default value is 20, the minimum value is 1, and the maximum value is 100.
4916
4999
  :type Limit: int
4917
5000
  :param _Offset: Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
4918
5001
  :type Offset: int
@@ -4934,7 +5017,7 @@ class DescribeInstanceAccountRequest(AbstractModel):
4934
5017
 
4935
5018
  @property
4936
5019
  def Limit(self):
4937
- r"""Number of entries per page
5020
+ r"""Pagination size. The default value is 20, the minimum value is 1, and the maximum value is 100.
4938
5021
  :rtype: int
4939
5022
  """
4940
5023
  return self._Limit
@@ -5659,9 +5742,13 @@ class DescribeInstanceEventsRequest(AbstractModel):
5659
5742
  :type ExecutionEndDate: str
5660
5743
  :param _InstanceId: Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
5661
5744
  :type InstanceId: str
5662
- :param _PageSize: Number of events displayed per page. Default value: 10. Maximum value: 100.
5745
+ :param _PageSize: Outputs the number of events displayed per page.
5746
+ - Default value: 10.
5747
+ - Value range: [1, 100].
5663
5748
  :type PageSize: int
5664
- :param _PageNo: Configures the page number for querying events. You can query events on a certain page by specifying PageNo and PageSize. Default value: 1.
5749
+ :param _PageNo: Configures the output page number for querying events. You can query events on a certain page by specifying PageNo (page number) and PageSize (number of output results per page).
5750
+ - Default value: 1.
5751
+ - Value range: positive integers greater than 0.
5665
5752
  :type PageNo: int
5666
5753
  :param _Status: Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.
5667
5754
  :type Status: list of str
@@ -5714,7 +5801,9 @@ class DescribeInstanceEventsRequest(AbstractModel):
5714
5801
 
5715
5802
  @property
5716
5803
  def PageSize(self):
5717
- r"""Number of events displayed per page. Default value: 10. Maximum value: 100.
5804
+ r"""Outputs the number of events displayed per page.
5805
+ - Default value: 10.
5806
+ - Value range: [1, 100].
5718
5807
  :rtype: int
5719
5808
  """
5720
5809
  return self._PageSize
@@ -5725,7 +5814,9 @@ class DescribeInstanceEventsRequest(AbstractModel):
5725
5814
 
5726
5815
  @property
5727
5816
  def PageNo(self):
5728
- r"""Configures the page number for querying events. You can query events on a certain page by specifying PageNo and PageSize. Default value: 1.
5817
+ r"""Configures the output page number for querying events. You can query events on a certain page by specifying PageNo (page number) and PageSize (number of output results per page).
5818
+ - Default value: 1.
5819
+ - Value range: positive integers greater than 0.
5729
5820
  :rtype: int
5730
5821
  """
5731
5822
  return self._PageNo
@@ -5857,14 +5948,14 @@ class DescribeInstanceLogDeliveryRequest(AbstractModel):
5857
5948
 
5858
5949
  def __init__(self):
5859
5950
  r"""
5860
- :param _InstanceId: Instance ID.
5951
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance), and copy it from the instance list.
5861
5952
  :type InstanceId: str
5862
5953
  """
5863
5954
  self._InstanceId = None
5864
5955
 
5865
5956
  @property
5866
5957
  def InstanceId(self):
5867
- r"""Instance ID.
5958
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance), and copy it from the instance list.
5868
5959
  :rtype: str
5869
5960
  """
5870
5961
  return self._InstanceId
@@ -6976,11 +7067,11 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
6976
7067
 
6977
7068
  def __init__(self):
6978
7069
  r"""
6979
- :param _InstanceId: Instance ID
7070
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
6980
7071
  :type InstanceId: str
6981
- :param _Limit: Maximum number of results returned per page
7072
+ :param _Limit: Pagination size. The default value is 100, and the maximum value is 200.
6982
7073
  :type Limit: int
6983
- :param _Offset: Offset, which is an integral multiple of `Limit`.
7074
+ :param _Offset: Offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number – 1). The default value is 0.
6984
7075
  :type Offset: int
6985
7076
  """
6986
7077
  self._InstanceId = None
@@ -6989,7 +7080,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
6989
7080
 
6990
7081
  @property
6991
7082
  def InstanceId(self):
6992
- r"""Instance ID
7083
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
6993
7084
  :rtype: str
6994
7085
  """
6995
7086
  return self._InstanceId
@@ -7000,7 +7091,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
7000
7091
 
7001
7092
  @property
7002
7093
  def Limit(self):
7003
- r"""Maximum number of results returned per page
7094
+ r"""Pagination size. The default value is 100, and the maximum value is 200.
7004
7095
  :rtype: int
7005
7096
  """
7006
7097
  return self._Limit
@@ -7011,7 +7102,7 @@ class DescribeInstanceParamRecordsRequest(AbstractModel):
7011
7102
 
7012
7103
  @property
7013
7104
  def Offset(self):
7014
- r"""Offset, which is an integral multiple of `Limit`.
7105
+ r"""Offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number – 1). The default value is 0.
7015
7106
  :rtype: int
7016
7107
  """
7017
7108
  return self._Offset
@@ -7264,14 +7355,14 @@ class DescribeInstanceSecurityGroupRequest(AbstractModel):
7264
7355
 
7265
7356
  def __init__(self):
7266
7357
  r"""
7267
- :param _InstanceIds: Instance ID list, with the array length ranging from 0 to 100, for example, ["crs-f2ho5rsz\n"].
7358
+ :param _InstanceIds: Instance ID list. The array length limit is [0, 100]. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the instance ID from the instance list.
7268
7359
  :type InstanceIds: list of str
7269
7360
  """
7270
7361
  self._InstanceIds = None
7271
7362
 
7272
7363
  @property
7273
7364
  def InstanceIds(self):
7274
- r"""Instance ID list, with the array length ranging from 0 to 100, for example, ["crs-f2ho5rsz\n"].
7365
+ r"""Instance ID list. The array length limit is [0, 100]. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the instance ID from the instance list.
7275
7366
  :rtype: list of str
7276
7367
  """
7277
7368
  return self._InstanceIds
@@ -7350,7 +7441,9 @@ class DescribeInstanceShardsRequest(AbstractModel):
7350
7441
  r"""
7351
7442
  :param _InstanceId: ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
7352
7443
  :type InstanceId: str
7353
- :param _FilterSlave: Whether to filter out the replica node information. Valid values: `true` (yes), `false` (no).
7444
+ :param _FilterSlave: Specifies whether to filter out secondary node information.
7445
+ - true: filter out secondary nodes.
7446
+ - false: filtering not required. The default value is false.
7354
7447
  :type FilterSlave: bool
7355
7448
  """
7356
7449
  self._InstanceId = None
@@ -7369,7 +7462,9 @@ class DescribeInstanceShardsRequest(AbstractModel):
7369
7462
 
7370
7463
  @property
7371
7464
  def FilterSlave(self):
7372
- r"""Whether to filter out the replica node information. Valid values: `true` (yes), `false` (no).
7465
+ r"""Specifies whether to filter out secondary node information.
7466
+ - true: filter out secondary nodes.
7467
+ - false: filtering not required. The default value is false.
7373
7468
  :rtype: bool
7374
7469
  """
7375
7470
  return self._FilterSlave
@@ -7496,12 +7591,12 @@ class DescribeInstanceSupportFeatureRequest(AbstractModel):
7496
7591
 
7497
7592
  def __init__(self):
7498
7593
  r"""
7499
- :param _InstanceId: Specify the instance ID.
7500
- For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
7501
- Sample value: crs-asdasdas.
7594
+ :param _InstanceId: Specifies the instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it from the instance list.
7502
7595
  :type InstanceId: str
7503
- :param _FeatureName: Feature names.
7504
- - Read-local-node-only: Proximity access feature.- multi-account: Multiple accounts feature.
7596
+ :param _FeatureName: The features that support queries are as follows.
7597
+ - read-local-node-only: nearby access.
7598
+ - multi-account: multi-account management.
7599
+ - auto-failback: fault recovery scenario, such as whether automatic failback is enabled for the primary node.
7505
7600
  :type FeatureName: str
7506
7601
  """
7507
7602
  self._InstanceId = None
@@ -7509,9 +7604,7 @@ Sample value: crs-asdasdas.
7509
7604
 
7510
7605
  @property
7511
7606
  def InstanceId(self):
7512
- r"""Specify the instance ID.
7513
- For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
7514
- Sample value: crs-asdasdas.
7607
+ r"""Specifies the instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it from the instance list.
7515
7608
  :rtype: str
7516
7609
  """
7517
7610
  return self._InstanceId
@@ -7522,8 +7615,10 @@ Sample value: crs-asdasdas.
7522
7615
 
7523
7616
  @property
7524
7617
  def FeatureName(self):
7525
- r"""Feature names.
7526
- - Read-local-node-only: Proximity access feature.- multi-account: Multiple accounts feature.
7618
+ r"""The features that support queries are as follows.
7619
+ - read-local-node-only: nearby access.
7620
+ - multi-account: multi-account management.
7621
+ - auto-failback: fault recovery scenario, such as whether automatic failback is enabled for the primary node.
7527
7622
  :rtype: str
7528
7623
  """
7529
7624
  return self._FeatureName
@@ -9014,11 +9109,11 @@ class DescribeProxySlowLogRequest(AbstractModel):
9014
9109
  :type BeginTime: str
9015
9110
  :param _EndTime: End time of a slow query, with a maximum query span of 30 days.
9016
9111
  :type EndTime: str
9017
- :param _MinQueryTime: Slow query threshold in milliseconds
9112
+ :param _MinQueryTime: Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
9018
9113
  :type MinQueryTime: int
9019
- :param _Limit: Number of tasks output on each page. Default value: 20. Maximum value: 100.
9114
+ :param _Limit: Size of the output task list per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
9020
9115
  :type Limit: int
9021
- :param _Offset: Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
9116
+ :param _Offset: Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
9022
9117
  :type Offset: int
9023
9118
  """
9024
9119
  self._InstanceId = None
@@ -9064,7 +9159,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
9064
9159
 
9065
9160
  @property
9066
9161
  def MinQueryTime(self):
9067
- r"""Slow query threshold in milliseconds
9162
+ r"""Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
9068
9163
  :rtype: int
9069
9164
  """
9070
9165
  return self._MinQueryTime
@@ -9075,7 +9170,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
9075
9170
 
9076
9171
  @property
9077
9172
  def Limit(self):
9078
- r"""Number of tasks output on each page. Default value: 20. Maximum value: 100.
9173
+ r"""Size of the output task list per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
9079
9174
  :rtype: int
9080
9175
  """
9081
9176
  return self._Limit
@@ -9086,7 +9181,7 @@ class DescribeProxySlowLogRequest(AbstractModel):
9086
9181
 
9087
9182
  @property
9088
9183
  def Offset(self):
9089
- r"""Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
9184
+ r"""Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
9090
9185
  :rtype: int
9091
9186
  """
9092
9187
  return self._Offset
@@ -9657,7 +9752,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
9657
9752
 
9658
9753
  def __init__(self):
9659
9754
  r"""
9660
- :param _Limit: Number of instances returned per page. Default value: `20`.
9755
+ :param _Limit: Size of the output instance list per page. The value is a positive integer greater than 0, and the default value is 20.
9661
9756
  :type Limit: int
9662
9757
  :param _Offset: Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
9663
9758
  :type Offset: int
@@ -9673,7 +9768,7 @@ class DescribeReplicationGroupRequest(AbstractModel):
9673
9768
 
9674
9769
  @property
9675
9770
  def Limit(self):
9676
- r"""Number of instances returned per page. Default value: `20`.
9771
+ r"""Size of the output instance list per page. The value is a positive integer greater than 0, and the default value is 20.
9677
9772
  :rtype: int
9678
9773
  """
9679
9774
  return self._Limit
@@ -9801,14 +9896,14 @@ class DescribeSSLStatusRequest(AbstractModel):
9801
9896
 
9802
9897
  def __init__(self):
9803
9898
  r"""
9804
- :param _InstanceId: Instance ID
9899
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
9805
9900
  :type InstanceId: str
9806
9901
  """
9807
9902
  self._InstanceId = None
9808
9903
 
9809
9904
  @property
9810
9905
  def InstanceId(self):
9811
- r"""Instance ID
9906
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
9812
9907
  :rtype: str
9813
9908
  """
9814
9909
  return self._InstanceId
@@ -9952,9 +10047,11 @@ class DescribeSecondLevelBackupInfoRequest(AbstractModel):
9952
10047
 
9953
10048
  def __init__(self):
9954
10049
  r"""
9955
- :param _InstanceId: Specifies the instance ID. For example, crs-xjhsdj****. Log in to the TencentDB for Redis® console and copy the instance ID from the instance list.
10050
+ :param _InstanceId: Specifies the instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
9956
10051
  :type InstanceId: str
9957
- :param _BackupTimestamp: Second-level backup timestamp. The corresponding time should be within the last 7 days.
10052
+ :param _BackupTimestamp: Second-level backup timestamp.
10053
+ - Setting range: support any second-level time point within 7 days.
10054
+ - Timestamp format: UNIX timestamp.
9958
10055
  :type BackupTimestamp: int
9959
10056
  """
9960
10057
  self._InstanceId = None
@@ -9962,7 +10059,7 @@ class DescribeSecondLevelBackupInfoRequest(AbstractModel):
9962
10059
 
9963
10060
  @property
9964
10061
  def InstanceId(self):
9965
- r"""Specifies the instance ID. For example, crs-xjhsdj****. Log in to the TencentDB for Redis® console and copy the instance ID from the instance list.
10062
+ r"""Specifies the instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
9966
10063
  :rtype: str
9967
10064
  """
9968
10065
  return self._InstanceId
@@ -9973,7 +10070,9 @@ class DescribeSecondLevelBackupInfoRequest(AbstractModel):
9973
10070
 
9974
10071
  @property
9975
10072
  def BackupTimestamp(self):
9976
- r"""Second-level backup timestamp. The corresponding time should be within the last 7 days.
10073
+ r"""Second-level backup timestamp.
10074
+ - Setting range: support any second-level time point within 7 days.
10075
+ - Timestamp format: UNIX timestamp.
9977
10076
  :rtype: int
9978
10077
  """
9979
10078
  return self._BackupTimestamp
@@ -10008,7 +10107,7 @@ class DescribeSecondLevelBackupInfoResponse(AbstractModel):
10008
10107
  :param _BackupTimestamp: Backup timestamp.
10009
10108
  :type BackupTimestamp: int
10010
10109
  :param _MissingTimestamps: Timestamp range within which backup is missing.
10011
- Note: This field may return null, indicating that no valid value can be obtained.
10110
+ Note: This field may return null, indicating that no valid values can be obtained.
10012
10111
  :type MissingTimestamps: list of SecondLevelBackupMissingTimestamps
10013
10112
  :param _StartTimestamp: Timestamp when second-level backup is enabled for the instance.
10014
10113
  :type StartTimestamp: int
@@ -10046,7 +10145,7 @@ Note: This field may return null, indicating that no valid value can be obtained
10046
10145
  @property
10047
10146
  def MissingTimestamps(self):
10048
10147
  r"""Timestamp range within which backup is missing.
10049
- Note: This field may return null, indicating that no valid value can be obtained.
10148
+ Note: This field may return null, indicating that no valid values can be obtained.
10050
10149
  :rtype: list of SecondLevelBackupMissingTimestamps
10051
10150
  """
10052
10151
  return self._MissingTimestamps
@@ -10105,11 +10204,11 @@ class DescribeSlowLogRequest(AbstractModel):
10105
10204
  :type BeginTime: str
10106
10205
  :param _EndTime: End time for pre-querying slow query logs, with a maximum query span of 30 days.
10107
10206
  :type EndTime: str
10108
- :param _MinQueryTime: The average execution time threshold of slow query in microseconds
10207
+ :param _MinQueryTime: Average execution time threshold for slow queries, in milliseconds. The value is a positive integer greater than 0
10109
10208
  :type MinQueryTime: int
10110
- :param _Limit: Number of slow query logs displayed per page. Default value: 20. Maximum value: 100.
10209
+ :param _Limit: Number of slow query results displayed per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
10111
10210
  :type Limit: int
10112
- :param _Offset: Slow query offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
10211
+ :param _Offset: Offset of the number of slow queries. The value is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
10113
10212
  :type Offset: int
10114
10213
  :param _Role: Node role.
10115
10214
  - master: Master node.- slave: Replica node.
@@ -10159,7 +10258,7 @@ class DescribeSlowLogRequest(AbstractModel):
10159
10258
 
10160
10259
  @property
10161
10260
  def MinQueryTime(self):
10162
- r"""The average execution time threshold of slow query in microseconds
10261
+ r"""Average execution time threshold for slow queries, in milliseconds. The value is a positive integer greater than 0
10163
10262
  :rtype: int
10164
10263
  """
10165
10264
  return self._MinQueryTime
@@ -10170,7 +10269,7 @@ class DescribeSlowLogRequest(AbstractModel):
10170
10269
 
10171
10270
  @property
10172
10271
  def Limit(self):
10173
- r"""Number of slow query logs displayed per page. Default value: 20. Maximum value: 100.
10272
+ r"""Number of slow query results displayed per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
10174
10273
  :rtype: int
10175
10274
  """
10176
10275
  return self._Limit
@@ -10181,7 +10280,7 @@ class DescribeSlowLogRequest(AbstractModel):
10181
10280
 
10182
10281
  @property
10183
10282
  def Offset(self):
10184
- r"""Slow query offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
10283
+ r"""Offset of the number of slow queries. The value is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
10185
10284
  :rtype: int
10186
10285
  """
10187
10286
  return self._Offset
@@ -10466,11 +10565,11 @@ class DescribeTaskListRequest(AbstractModel):
10466
10565
  r"""
10467
10566
  :param _InstanceId: ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
10468
10567
  :type InstanceId: str
10469
- :param _InstanceName: Instance name
10568
+ :param _InstanceName: Instance name. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
10470
10569
  :type InstanceName: str
10471
10570
  :param _Limit: Number of taskss returned per page. Default value: `20`. Maximum value: `100`.
10472
10571
  :type Limit: int
10473
- :param _Offset: Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
10572
+ :param _Offset: Pagination offset, which is an integer multiple of Limit. Offset = Limit x (Page number 1). The default value is 0.
10474
10573
  :type Offset: int
10475
10574
  :param _ProjectIds: Project ID. This field has been deprecated. Please ignore it.
10476
10575
  :type ProjectIds: list of int
@@ -10574,7 +10673,7 @@ class DescribeTaskListRequest(AbstractModel):
10574
10673
 
10575
10674
  @property
10576
10675
  def InstanceName(self):
10577
- r"""Instance name
10676
+ r"""Instance name. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
10578
10677
  :rtype: str
10579
10678
  """
10580
10679
  return self._InstanceName
@@ -10596,7 +10695,7 @@ class DescribeTaskListRequest(AbstractModel):
10596
10695
 
10597
10696
  @property
10598
10697
  def Offset(self):
10599
- r"""Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).
10698
+ r"""Pagination offset, which is an integer multiple of Limit. Offset = Limit x (Page number 1). The default value is 0.
10600
10699
  :rtype: int
10601
10700
  """
10602
10701
  return self._Offset
@@ -10860,11 +10959,11 @@ class DescribeTendisSlowLogRequest(AbstractModel):
10860
10959
  :type BeginTime: str
10861
10960
  :param _EndTime: End time for a query, for example, 2019-09-09 12:12:41, with a maximum query span of 30 days.
10862
10961
  :type EndTime: str
10863
- :param _MinQueryTime: Slow query threshold in ms
10962
+ :param _MinQueryTime: Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
10864
10963
  :type MinQueryTime: int
10865
- :param _Limit: Page size. Default value 20. Maximum value 100.
10964
+ :param _Limit: Page size. The default value is 20, the minimum value is 1, and the maximum value is 100.
10866
10965
  :type Limit: int
10867
- :param _Offset: Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
10966
+ :param _Offset: Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
10868
10967
  :type Offset: int
10869
10968
  """
10870
10969
  self._InstanceId = None
@@ -10909,7 +11008,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
10909
11008
 
10910
11009
  @property
10911
11010
  def MinQueryTime(self):
10912
- r"""Slow query threshold in ms
11011
+ r"""Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
10913
11012
  :rtype: int
10914
11013
  """
10915
11014
  return self._MinQueryTime
@@ -10920,7 +11019,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
10920
11019
 
10921
11020
  @property
10922
11021
  def Limit(self):
10923
- r"""Page size. Default value 20. Maximum value 100.
11022
+ r"""Page size. The default value is 20, the minimum value is 1, and the maximum value is 100.
10924
11023
  :rtype: int
10925
11024
  """
10926
11025
  return self._Limit
@@ -10931,7 +11030,7 @@ class DescribeTendisSlowLogRequest(AbstractModel):
10931
11030
 
10932
11031
  @property
10933
11032
  def Offset(self):
10934
- r"""Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
11033
+ r"""Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
10935
11034
  :rtype: int
10936
11035
  """
10937
11036
  return self._Offset
@@ -11028,14 +11127,14 @@ class DestroyPostpaidInstanceRequest(AbstractModel):
11028
11127
 
11029
11128
  def __init__(self):
11030
11129
  r"""
11031
- :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11130
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the pay-as-you-go instance ID from the instance list.
11032
11131
  :type InstanceId: str
11033
11132
  """
11034
11133
  self._InstanceId = None
11035
11134
 
11036
11135
  @property
11037
11136
  def InstanceId(self):
11038
- r"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11137
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the pay-as-you-go instance ID from the instance list.
11039
11138
  :rtype: str
11040
11139
  """
11041
11140
  return self._InstanceId
@@ -11363,8 +11462,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
11363
11462
  :type InstanceId: str
11364
11463
  :param _ReadonlyPolicy: Read-only routing policy.
11365
11464
  - master: read-only routing to the primary node.
11366
- - replication: read-only routing to the secondary node.
11367
- - Default policy: writing to the primary node and reading from the secondary node.
11465
+ - replication: read-only routing to the secondary node. The default value is replication.
11368
11466
  :type ReadonlyPolicy: list of str
11369
11467
  """
11370
11468
  self._InstanceId = None
@@ -11385,8 +11483,7 @@ class EnableReplicaReadonlyRequest(AbstractModel):
11385
11483
  def ReadonlyPolicy(self):
11386
11484
  r"""Read-only routing policy.
11387
11485
  - master: read-only routing to the primary node.
11388
- - replication: read-only routing to the secondary node.
11389
- - Default policy: writing to the primary node and reading from the secondary node.
11486
+ - replication: read-only routing to the secondary node. The default value is replication.
11390
11487
  :rtype: list of str
11391
11488
  """
11392
11489
  return self._ReadonlyPolicy
@@ -11895,17 +11992,21 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
11895
11992
  - 0: pay-as-you-go.
11896
11993
  - 1: monthly subscription.
11897
11994
  :type BillingMode: int
11898
- :param _ZoneId: ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
11995
+ :param _ZoneId: ID of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.comom/document/product/239/4106?from_cn_redirect=1).
11996
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11899
11997
  :type ZoneId: int
11900
- :param _RedisShardNum: Number of instance shards. For the standard architecture of 2.8, the number of shards does not need to be configured. For the standard architecture of other versions, the number of shards should be set to 1. For the cluster architecture, the number of shards to be purchased needs to be specified.
11998
+ :param _RedisShardNum: Number of instance shards.
11999
+ - The number of shards is required to be set to 1 for the standard architecture.
12000
+ - The number of shards can be set to 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, or 128 for the cluster architecture.
11901
12001
  :type RedisShardNum: int
11902
- :param _RedisReplicasNum: Number of instance replicas. For the standard architecture of 2.8, the number of replicas does not need to be configured.
12002
+ :param _RedisReplicasNum: Number of instance replicas. Valid values: 1, 2, 3, 4, and 5.
11903
12003
  :type RedisReplicasNum: int
11904
12004
  :param _ReplicasReadonly: Whether replica read-only is supported. For the standard architecture of Redis 2.8 and CKV, this parameter does not need to be configured.
11905
12005
  - true: Replica read-only is not required.
11906
12006
  - false: Replica read-only is required.
11907
12007
  :type ReplicasReadonly: bool
11908
- :param _ZoneName: Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
12008
+ :param _ZoneName: Name of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.comom/document/product/239/4106?from_cn_redirect=1).
12009
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11909
12010
  :type ZoneName: str
11910
12011
  :param _ProductVersion: Deployment mode.
11911
12012
  - local: local disk. This is the default value.
@@ -11996,7 +12097,8 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
11996
12097
 
11997
12098
  @property
11998
12099
  def ZoneId(self):
11999
- r"""ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
12100
+ r"""ID of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.comom/document/product/239/4106?from_cn_redirect=1).
12101
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
12000
12102
  :rtype: int
12001
12103
  """
12002
12104
  return self._ZoneId
@@ -12007,7 +12109,9 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
12007
12109
 
12008
12110
  @property
12009
12111
  def RedisShardNum(self):
12010
- r"""Number of instance shards. For the standard architecture of 2.8, the number of shards does not need to be configured. For the standard architecture of other versions, the number of shards should be set to 1. For the cluster architecture, the number of shards to be purchased needs to be specified.
12112
+ r"""Number of instance shards.
12113
+ - The number of shards is required to be set to 1 for the standard architecture.
12114
+ - The number of shards can be set to 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, or 128 for the cluster architecture.
12011
12115
  :rtype: int
12012
12116
  """
12013
12117
  return self._RedisShardNum
@@ -12018,7 +12122,7 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
12018
12122
 
12019
12123
  @property
12020
12124
  def RedisReplicasNum(self):
12021
- r"""Number of instance replicas. For the standard architecture of 2.8, the number of replicas does not need to be configured.
12125
+ r"""Number of instance replicas. Valid values: 1, 2, 3, 4, and 5.
12022
12126
  :rtype: int
12023
12127
  """
12024
12128
  return self._RedisReplicasNum
@@ -12042,7 +12146,8 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
12042
12146
 
12043
12147
  @property
12044
12148
  def ZoneName(self):
12045
- r"""Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
12149
+ r"""Name of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.comom/document/product/239/4106?from_cn_redirect=1).
12150
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
12046
12151
  :rtype: str
12047
12152
  """
12048
12153
  return self._ZoneName
@@ -12193,7 +12298,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
12193
12298
  :type InstanceId: str
12194
12299
  :param _MemSize: Shard size. Unit: MB.
12195
12300
  :type MemSize: int
12196
- :param _RedisShardNum: Number of shards. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
12301
+ :param _RedisShardNum: Number of shards.
12302
+ - The instance adopts the standard architecture. The default value of RedisShardNum is 1.
12303
+ - This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Stand-Alone Edition.
12197
12304
  :type RedisShardNum: int
12198
12305
  :param _RedisReplicasNum: Number of replicas. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
12199
12306
  :type RedisReplicasNum: int
@@ -12227,7 +12334,9 @@ class InquiryPriceUpgradeInstanceRequest(AbstractModel):
12227
12334
 
12228
12335
  @property
12229
12336
  def RedisShardNum(self):
12230
- r"""Number of shards. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
12337
+ r"""Number of shards.
12338
+ - The instance adopts the standard architecture. The default value of RedisShardNum is 1.
12339
+ - This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Stand-Alone Edition.
12231
12340
  :rtype: int
12232
12341
  """
12233
12342
  return self._RedisShardNum
@@ -13435,12 +13544,18 @@ class InstanceProxySlowlogDetail(AbstractModel):
13435
13544
  :type CommandLine: str
13436
13545
  :param _ExecuteTime: Execution time
13437
13546
  :type ExecuteTime: str
13547
+ :param _RecvClientEnd: Duration of receiving client requests (ms).
13548
+ :type RecvClientEnd: int
13549
+ :param _SendClientEnd: Duration of sending client requests (ms).
13550
+ :type SendClientEnd: int
13438
13551
  """
13439
13552
  self._Duration = None
13440
13553
  self._Client = None
13441
13554
  self._Command = None
13442
13555
  self._CommandLine = None
13443
13556
  self._ExecuteTime = None
13557
+ self._RecvClientEnd = None
13558
+ self._SendClientEnd = None
13444
13559
 
13445
13560
  @property
13446
13561
  def Duration(self):
@@ -13497,6 +13612,28 @@ class InstanceProxySlowlogDetail(AbstractModel):
13497
13612
  def ExecuteTime(self, ExecuteTime):
13498
13613
  self._ExecuteTime = ExecuteTime
13499
13614
 
13615
+ @property
13616
+ def RecvClientEnd(self):
13617
+ r"""Duration of receiving client requests (ms).
13618
+ :rtype: int
13619
+ """
13620
+ return self._RecvClientEnd
13621
+
13622
+ @RecvClientEnd.setter
13623
+ def RecvClientEnd(self, RecvClientEnd):
13624
+ self._RecvClientEnd = RecvClientEnd
13625
+
13626
+ @property
13627
+ def SendClientEnd(self):
13628
+ r"""Duration of sending client requests (ms).
13629
+ :rtype: int
13630
+ """
13631
+ return self._SendClientEnd
13632
+
13633
+ @SendClientEnd.setter
13634
+ def SendClientEnd(self, SendClientEnd):
13635
+ self._SendClientEnd = SendClientEnd
13636
+
13500
13637
 
13501
13638
  def _deserialize(self, params):
13502
13639
  self._Duration = params.get("Duration")
@@ -13504,6 +13641,8 @@ class InstanceProxySlowlogDetail(AbstractModel):
13504
13641
  self._Command = params.get("Command")
13505
13642
  self._CommandLine = params.get("CommandLine")
13506
13643
  self._ExecuteTime = params.get("ExecuteTime")
13644
+ self._RecvClientEnd = params.get("RecvClientEnd")
13645
+ self._SendClientEnd = params.get("SendClientEnd")
13507
13646
  memeber_set = set(params.keys())
13508
13647
  for name, value in vars(self).items():
13509
13648
  property_name = name[1:]
@@ -13581,7 +13720,7 @@ class InstanceSet(AbstractModel):
13581
13720
  :type InstanceName: str
13582
13721
  :param _InstanceId: Instance ID.
13583
13722
  :type InstanceId: str
13584
- :param _Appid: App ID of a user, which is an application ID that uniquely corresponds to the account ID. Some Tencent Cloud products use this app ID.
13723
+ :param _Appid: App ID of a user, which is an application ID that uniquely corresponds to the account ID. Certain Tencent Cloud products use this app ID.
13585
13724
 
13586
13725
  :type Appid: int
13587
13726
  :param _ProjectId: Project ID.
@@ -13659,6 +13798,8 @@ class InstanceSet(AbstractModel):
13659
13798
  :param _CloseTime: Time when an instance starts to be isolated.
13660
13799
  :type CloseTime: str
13661
13800
  :param _SlaveReadWeight: Read weight of a secondary node.
13801
+ - 0: disable read-only replicas.
13802
+ - 100: enable read-only replicas.
13662
13803
  :type SlaveReadWeight: int
13663
13804
  :param _InstanceTags: Information on tags associated with the instance.
13664
13805
  :type InstanceTags: list of InstanceTagInfo
@@ -13716,6 +13857,8 @@ It is returned only for multi-AZ instances.
13716
13857
  :type UpgradeRedisVersion: str
13717
13858
  :param _BackupMode: Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
13718
13859
  :type BackupMode: str
13860
+ :param _DeleteProtectionSwitch: Deletion protection switch. 0: disabled; 1: enabled.
13861
+ :type DeleteProtectionSwitch: int
13719
13862
  """
13720
13863
  self._InstanceName = None
13721
13864
  self._InstanceId = None
@@ -13777,6 +13920,7 @@ It is returned only for multi-AZ instances.
13777
13920
  self._UpgradeProxyVersion = None
13778
13921
  self._UpgradeRedisVersion = None
13779
13922
  self._BackupMode = None
13923
+ self._DeleteProtectionSwitch = None
13780
13924
 
13781
13925
  @property
13782
13926
  def InstanceName(self):
@@ -13802,7 +13946,7 @@ It is returned only for multi-AZ instances.
13802
13946
 
13803
13947
  @property
13804
13948
  def Appid(self):
13805
- r"""App ID of a user, which is an application ID that uniquely corresponds to the account ID. Some Tencent Cloud products use this app ID.
13949
+ r"""App ID of a user, which is an application ID that uniquely corresponds to the account ID. Certain Tencent Cloud products use this app ID.
13806
13950
 
13807
13951
  :rtype: int
13808
13952
  """
@@ -14154,6 +14298,8 @@ It is returned only for multi-AZ instances.
14154
14298
  @property
14155
14299
  def SlaveReadWeight(self):
14156
14300
  r"""Read weight of a secondary node.
14301
+ - 0: disable read-only replicas.
14302
+ - 100: enable read-only replicas.
14157
14303
  :rtype: int
14158
14304
  """
14159
14305
  return self._SlaveReadWeight
@@ -14461,6 +14607,17 @@ It is returned only for multi-AZ instances.
14461
14607
  def BackupMode(self, BackupMode):
14462
14608
  self._BackupMode = BackupMode
14463
14609
 
14610
+ @property
14611
+ def DeleteProtectionSwitch(self):
14612
+ r"""Deletion protection switch. 0: disabled; 1: enabled.
14613
+ :rtype: int
14614
+ """
14615
+ return self._DeleteProtectionSwitch
14616
+
14617
+ @DeleteProtectionSwitch.setter
14618
+ def DeleteProtectionSwitch(self, DeleteProtectionSwitch):
14619
+ self._DeleteProtectionSwitch = DeleteProtectionSwitch
14620
+
14464
14621
 
14465
14622
  def _deserialize(self, params):
14466
14623
  self._InstanceName = params.get("InstanceName")
@@ -14538,6 +14695,7 @@ It is returned only for multi-AZ instances.
14538
14695
  self._UpgradeProxyVersion = params.get("UpgradeProxyVersion")
14539
14696
  self._UpgradeRedisVersion = params.get("UpgradeRedisVersion")
14540
14697
  self._BackupMode = params.get("BackupMode")
14698
+ self._DeleteProtectionSwitch = params.get("DeleteProtectionSwitch")
14541
14699
  memeber_set = set(params.keys())
14542
14700
  for name, value in vars(self).items():
14543
14701
  property_name = name[1:]
@@ -15524,10 +15682,13 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15524
15682
  - It cannot start with a forward slash (/).
15525
15683
  - It should contain at least two of the following types: lowercase letters (a–z), uppercase letters (A–Z), digits (0–9), and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
15526
15684
  :type Password: str
15685
+ :param _EncryptPassword: Whether to encrypt the password.
15686
+ :type EncryptPassword: bool
15527
15687
  """
15528
15688
  self._InstanceId = None
15529
15689
  self._OldPassword = None
15530
15690
  self._Password = None
15691
+ self._EncryptPassword = None
15531
15692
 
15532
15693
  @property
15533
15694
  def InstanceId(self):
@@ -15565,11 +15726,23 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15565
15726
  def Password(self, Password):
15566
15727
  self._Password = Password
15567
15728
 
15729
+ @property
15730
+ def EncryptPassword(self):
15731
+ r"""Whether to encrypt the password.
15732
+ :rtype: bool
15733
+ """
15734
+ return self._EncryptPassword
15735
+
15736
+ @EncryptPassword.setter
15737
+ def EncryptPassword(self, EncryptPassword):
15738
+ self._EncryptPassword = EncryptPassword
15739
+
15568
15740
 
15569
15741
  def _deserialize(self, params):
15570
15742
  self._InstanceId = params.get("InstanceId")
15571
15743
  self._OldPassword = params.get("OldPassword")
15572
15744
  self._Password = params.get("Password")
15745
+ self._EncryptPassword = params.get("EncryptPassword")
15573
15746
  memeber_set = set(params.keys())
15574
15747
  for name, value in vars(self).items():
15575
15748
  property_name = name[1:]
@@ -15963,11 +16136,13 @@ class ModifyConnectionConfigRequest(AbstractModel):
15963
16136
  r"""
15964
16137
  :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
15965
16138
  :type InstanceId: str
15966
- :param _Bandwidth: Additional bandwidth in MB, which should be greater than 0.
16139
+ :param _Bandwidth: Additional bandwidth, in MB, which should be greater than 0.
16140
+ **Note**: The Bandwidth and ClientLimit parameters cannot be empty simultaneously. You should select at least one of them for configuration.
15967
16141
  :type Bandwidth: int
15968
16142
  :param _ClientLimit: Total number of connections per shard.
15969
16143
  - When read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.
15970
16144
  - When read-only replicas are enabled, the lower limit is 10,000, and the upper limit is calculated as follows: 10,000 x (Number of read-only replicas + 3).
16145
+ **Note**: The Bandwidth and ClientLimit parameters cannot be empty simultaneously. You should select at least one of them for configuration.
15971
16146
  :type ClientLimit: int
15972
16147
  """
15973
16148
  self._InstanceId = None
@@ -15987,7 +16162,8 @@ class ModifyConnectionConfigRequest(AbstractModel):
15987
16162
 
15988
16163
  @property
15989
16164
  def Bandwidth(self):
15990
- r"""Additional bandwidth in MB, which should be greater than 0.
16165
+ r"""Additional bandwidth, in MB, which should be greater than 0.
16166
+ **Note**: The Bandwidth and ClientLimit parameters cannot be empty simultaneously. You should select at least one of them for configuration.
15991
16167
  :rtype: int
15992
16168
  """
15993
16169
  return self._Bandwidth
@@ -16001,6 +16177,7 @@ class ModifyConnectionConfigRequest(AbstractModel):
16001
16177
  r"""Total number of connections per shard.
16002
16178
  - When read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.
16003
16179
  - When read-only replicas are enabled, the lower limit is 10,000, and the upper limit is calculated as follows: 10,000 x (Number of read-only replicas + 3).
16180
+ **Note**: The Bandwidth and ClientLimit parameters cannot be empty simultaneously. You should select at least one of them for configuration.
16004
16181
  :rtype: int
16005
16182
  """
16006
16183
  return self._ClientLimit
@@ -16178,25 +16355,29 @@ class ModifyInstanceAccountRequest(AbstractModel):
16178
16355
  r"""
16179
16356
  :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
16180
16357
  :type InstanceId: str
16181
- :param _AccountName: Sub-account name. If you want to change it to the root account, fill in root.
16358
+ :param _AccountName: Specifies the account that needs modification.
16359
+ - root: refers to the automatically generated account when a TencentDB for Redis® instance is created. Users cannot modify read-write permissions for the account, but can only modify its request routing policies.
16360
+ - Custom account: an account manually created by users after successful instance creation. Users can modify read-write permissions and request routing policies for the account at any time.
16182
16361
  :type AccountName: str
16183
- :param _AccountPassword: Sub-account password.
16362
+ :param _AccountPassword: Specifies the access password for the account to be modified.
16184
16363
  :type AccountPassword: str
16185
- :param _Remark: Sub-account description information
16364
+ :param _Remark: Account description information.
16186
16365
  :type Remark: str
16187
- :param _ReadonlyPolicy: Account read/write routing policy.
16188
- - master: primary node.
16189
- - replication: secondary node.
16366
+ :param _ReadonlyPolicy: Specifies the read-write request routing policies for the account to be modified.
16367
+ - master: read-write request routing to the primary node.
16368
+ - replication: read-write request routing to the secondary node.
16190
16369
  :type ReadonlyPolicy: list of str
16191
- :param _Privilege: Sub-account read/write policy.
16370
+ :param _Privilege: Specifies the read-write permissions for the account to be modified.
16192
16371
  - r: read-only.
16193
16372
  - w: write-only.
16194
- - rw: read/write.
16373
+ - rw: read-write.
16195
16374
  :type Privilege: str
16196
- :param _NoAuth: Whether to switch the root account to a password-free account. This applies only to the root account. Sub-accounts do not support password-free access.
16197
- - true: Switch the root account to a password-free account.
16198
- - false: Do not switch it.
16375
+ :param _NoAuth: Specifies whether to set the default account (root) to a password-free account. Custom accounts do not support password-free access.
16376
+ - true: set the default account (root) to a password-free account.
16377
+ - false: not set the default account (root) to a password-free account.
16199
16378
  :type NoAuth: bool
16379
+ :param _EncryptPassword: Specifies whether to encrypt the password for the account to be modified.
16380
+ :type EncryptPassword: bool
16200
16381
  """
16201
16382
  self._InstanceId = None
16202
16383
  self._AccountName = None
@@ -16205,6 +16386,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
16205
16386
  self._ReadonlyPolicy = None
16206
16387
  self._Privilege = None
16207
16388
  self._NoAuth = None
16389
+ self._EncryptPassword = None
16208
16390
 
16209
16391
  @property
16210
16392
  def InstanceId(self):
@@ -16219,7 +16401,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
16219
16401
 
16220
16402
  @property
16221
16403
  def AccountName(self):
16222
- r"""Sub-account name. If you want to change it to the root account, fill in root.
16404
+ r"""Specifies the account that needs modification.
16405
+ - root: refers to the automatically generated account when a TencentDB for Redis® instance is created. Users cannot modify read-write permissions for the account, but can only modify its request routing policies.
16406
+ - Custom account: an account manually created by users after successful instance creation. Users can modify read-write permissions and request routing policies for the account at any time.
16223
16407
  :rtype: str
16224
16408
  """
16225
16409
  return self._AccountName
@@ -16230,7 +16414,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
16230
16414
 
16231
16415
  @property
16232
16416
  def AccountPassword(self):
16233
- r"""Sub-account password.
16417
+ r"""Specifies the access password for the account to be modified.
16234
16418
  :rtype: str
16235
16419
  """
16236
16420
  return self._AccountPassword
@@ -16241,7 +16425,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
16241
16425
 
16242
16426
  @property
16243
16427
  def Remark(self):
16244
- r"""Sub-account description information
16428
+ r"""Account description information.
16245
16429
  :rtype: str
16246
16430
  """
16247
16431
  return self._Remark
@@ -16252,9 +16436,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
16252
16436
 
16253
16437
  @property
16254
16438
  def ReadonlyPolicy(self):
16255
- r"""Account read/write routing policy.
16256
- - master: primary node.
16257
- - replication: secondary node.
16439
+ r"""Specifies the read-write request routing policies for the account to be modified.
16440
+ - master: read-write request routing to the primary node.
16441
+ - replication: read-write request routing to the secondary node.
16258
16442
  :rtype: list of str
16259
16443
  """
16260
16444
  return self._ReadonlyPolicy
@@ -16265,10 +16449,10 @@ class ModifyInstanceAccountRequest(AbstractModel):
16265
16449
 
16266
16450
  @property
16267
16451
  def Privilege(self):
16268
- r"""Sub-account read/write policy.
16452
+ r"""Specifies the read-write permissions for the account to be modified.
16269
16453
  - r: read-only.
16270
16454
  - w: write-only.
16271
- - rw: read/write.
16455
+ - rw: read-write.
16272
16456
  :rtype: str
16273
16457
  """
16274
16458
  return self._Privilege
@@ -16279,9 +16463,9 @@ class ModifyInstanceAccountRequest(AbstractModel):
16279
16463
 
16280
16464
  @property
16281
16465
  def NoAuth(self):
16282
- r"""Whether to switch the root account to a password-free account. This applies only to the root account. Sub-accounts do not support password-free access.
16283
- - true: Switch the root account to a password-free account.
16284
- - false: Do not switch it.
16466
+ r"""Specifies whether to set the default account (root) to a password-free account. Custom accounts do not support password-free access.
16467
+ - true: set the default account (root) to a password-free account.
16468
+ - false: not set the default account (root) to a password-free account.
16285
16469
  :rtype: bool
16286
16470
  """
16287
16471
  return self._NoAuth
@@ -16290,6 +16474,17 @@ class ModifyInstanceAccountRequest(AbstractModel):
16290
16474
  def NoAuth(self, NoAuth):
16291
16475
  self._NoAuth = NoAuth
16292
16476
 
16477
+ @property
16478
+ def EncryptPassword(self):
16479
+ r"""Specifies whether to encrypt the password for the account to be modified.
16480
+ :rtype: bool
16481
+ """
16482
+ return self._EncryptPassword
16483
+
16484
+ @EncryptPassword.setter
16485
+ def EncryptPassword(self, EncryptPassword):
16486
+ self._EncryptPassword = EncryptPassword
16487
+
16293
16488
 
16294
16489
  def _deserialize(self, params):
16295
16490
  self._InstanceId = params.get("InstanceId")
@@ -16299,6 +16494,7 @@ class ModifyInstanceAccountRequest(AbstractModel):
16299
16494
  self._ReadonlyPolicy = params.get("ReadonlyPolicy")
16300
16495
  self._Privilege = params.get("Privilege")
16301
16496
  self._NoAuth = params.get("NoAuth")
16497
+ self._EncryptPassword = params.get("EncryptPassword")
16302
16498
  memeber_set = set(params.keys())
16303
16499
  for name, value in vars(self).items():
16304
16500
  property_name = name[1:]
@@ -16316,7 +16512,7 @@ class ModifyInstanceAccountResponse(AbstractModel):
16316
16512
 
16317
16513
  def __init__(self):
16318
16514
  r"""
16319
- :param _TaskId: Task ID
16515
+ :param _TaskId: Task ID.
16320
16516
  :type TaskId: int
16321
16517
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
16322
16518
  :type RequestId: str
@@ -16326,7 +16522,7 @@ class ModifyInstanceAccountResponse(AbstractModel):
16326
16522
 
16327
16523
  @property
16328
16524
  def TaskId(self):
16329
- r"""Task ID
16525
+ r"""Task ID.
16330
16526
  :rtype: int
16331
16527
  """
16332
16528
  return self._TaskId
@@ -16483,11 +16679,11 @@ class ModifyInstanceBackupModeRequest(AbstractModel):
16483
16679
 
16484
16680
  def __init__(self):
16485
16681
  r"""
16486
- :param _InstanceId: Instance ID, which can contain 12 to 36 characters.
16682
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
16487
16683
  :type InstanceId: str
16488
16684
  :param _BackupMode: Backup mode:
16489
- - SecondLevelBackup: second-level backup.
16490
- - NormalLevelBackup: ordinary backup.
16685
+ - SecondLevelBackup: second-level backup.
16686
+ - NormalLevelBackup: ordinary backup.
16491
16687
  :type BackupMode: str
16492
16688
  """
16493
16689
  self._InstanceId = None
@@ -16495,7 +16691,7 @@ class ModifyInstanceBackupModeRequest(AbstractModel):
16495
16691
 
16496
16692
  @property
16497
16693
  def InstanceId(self):
16498
- r"""Instance ID, which can contain 12 to 36 characters.
16694
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
16499
16695
  :rtype: str
16500
16696
  """
16501
16697
  return self._InstanceId
@@ -16507,8 +16703,8 @@ class ModifyInstanceBackupModeRequest(AbstractModel):
16507
16703
  @property
16508
16704
  def BackupMode(self):
16509
16705
  r"""Backup mode:
16510
- - SecondLevelBackup: second-level backup.
16511
- - NormalLevelBackup: ordinary backup.
16706
+ - SecondLevelBackup: second-level backup.
16707
+ - NormalLevelBackup: ordinary backup.
16512
16708
  :rtype: str
16513
16709
  """
16514
16710
  return self._BackupMode
@@ -16583,7 +16779,7 @@ class ModifyInstanceEventRequest(AbstractModel):
16583
16779
  r"""
16584
16780
  :param _InstanceId: Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis#/) and copy the instance ID in the instance list.
16585
16781
  :type InstanceId: str
16586
- :param _EventId: Event ID. Obtain the ID of the event to be modified using DescribeInstanceEvents.
16782
+ :param _EventId: Event ID. Call the [DescribeInstanceEvents](https://www.tencentcloud.comom/document/product/239/104779?from_cn_redirect=1) API to obtain the ID of the event to be modified.
16587
16783
  :type EventId: int
16588
16784
  :param _StartTime: Modifies the scheduled start time of event execution.
16589
16785
  :type StartTime: str
@@ -16614,7 +16810,7 @@ class ModifyInstanceEventRequest(AbstractModel):
16614
16810
 
16615
16811
  @property
16616
16812
  def EventId(self):
16617
- r"""Event ID. Obtain the ID of the event to be modified using DescribeInstanceEvents.
16813
+ r"""Event ID. Call the [DescribeInstanceEvents](https://www.tencentcloud.comom/document/product/239/104779?from_cn_redirect=1) API to obtain the ID of the event to be modified.
16618
16814
  :rtype: int
16619
16815
  """
16620
16816
  return self._EventId
@@ -17266,13 +17462,14 @@ class ModifyInstanceRequest(AbstractModel):
17266
17462
  def __init__(self):
17267
17463
  r"""
17268
17464
  :param _Operation: Instance modification operation. Valid values:
17269
- - rename: Rename the instance.
17270
- - modifyProject: Modify the project to which the instance belongs.
17271
- - modifyAutoRenew: Modify the instance renewal flag.
17465
+ - rename: rename an instance.
17466
+ - modifyProject: modify the project to which the instance belongs.
17467
+ - modifyAutoRenew: modify the instance renewal flag.
17468
+ - modifyDeleteProtectionSwitch: modify the instance deletion protection switch status.
17272
17469
  :type Operation: str
17273
17470
  :param _InstanceIds: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. The maximum number of instances per request is 10.
17274
17471
  :type InstanceIds: list of str
17275
- :param _InstanceNames: New name of the instance.
17472
+ :param _InstanceNames: New name of the instance. Only Chinese characters, letters, digits, underscores (_), and delimiters (-) are supported. The length can be up to 60 characters.
17276
17473
  :type InstanceNames: list of str
17277
17474
  :param _ProjectId: Project ID. Log in to the [Project Management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
17278
17475
  :type ProjectId: int
@@ -17282,6 +17479,8 @@ class ModifyInstanceRequest(AbstractModel):
17282
17479
  - 1: automatic renewal.
17283
17480
  - 2: no automatic renewal.
17284
17481
  :type AutoRenews: list of int
17482
+ :param _DeleteProtectionSwitches: Deletion protection switch. - 0: disabled by default; - 1: enabled.
17483
+ :type DeleteProtectionSwitches: list of int
17285
17484
  :param _InstanceId: This parameter is currently being deprecated and can still be used by existing users. It is recommended that new users use InstanceIds.
17286
17485
  :type InstanceId: str
17287
17486
  :param _InstanceName: Disused
@@ -17294,6 +17493,7 @@ class ModifyInstanceRequest(AbstractModel):
17294
17493
  self._InstanceNames = None
17295
17494
  self._ProjectId = None
17296
17495
  self._AutoRenews = None
17496
+ self._DeleteProtectionSwitches = None
17297
17497
  self._InstanceId = None
17298
17498
  self._InstanceName = None
17299
17499
  self._AutoRenew = None
@@ -17301,9 +17501,10 @@ class ModifyInstanceRequest(AbstractModel):
17301
17501
  @property
17302
17502
  def Operation(self):
17303
17503
  r"""Instance modification operation. Valid values:
17304
- - rename: Rename the instance.
17305
- - modifyProject: Modify the project to which the instance belongs.
17306
- - modifyAutoRenew: Modify the instance renewal flag.
17504
+ - rename: rename an instance.
17505
+ - modifyProject: modify the project to which the instance belongs.
17506
+ - modifyAutoRenew: modify the instance renewal flag.
17507
+ - modifyDeleteProtectionSwitch: modify the instance deletion protection switch status.
17307
17508
  :rtype: str
17308
17509
  """
17309
17510
  return self._Operation
@@ -17325,7 +17526,7 @@ class ModifyInstanceRequest(AbstractModel):
17325
17526
 
17326
17527
  @property
17327
17528
  def InstanceNames(self):
17328
- r"""New name of the instance.
17529
+ r"""New name of the instance. Only Chinese characters, letters, digits, underscores (_), and delimiters (-) are supported. The length can be up to 60 characters.
17329
17530
  :rtype: list of str
17330
17531
  """
17331
17532
  return self._InstanceNames
@@ -17360,6 +17561,17 @@ class ModifyInstanceRequest(AbstractModel):
17360
17561
  def AutoRenews(self, AutoRenews):
17361
17562
  self._AutoRenews = AutoRenews
17362
17563
 
17564
+ @property
17565
+ def DeleteProtectionSwitches(self):
17566
+ r"""Deletion protection switch. - 0: disabled by default; - 1: enabled.
17567
+ :rtype: list of int
17568
+ """
17569
+ return self._DeleteProtectionSwitches
17570
+
17571
+ @DeleteProtectionSwitches.setter
17572
+ def DeleteProtectionSwitches(self, DeleteProtectionSwitches):
17573
+ self._DeleteProtectionSwitches = DeleteProtectionSwitches
17574
+
17363
17575
  @property
17364
17576
  def InstanceId(self):
17365
17577
  warnings.warn("parameter `InstanceId` is deprecated", DeprecationWarning)
@@ -17412,6 +17624,7 @@ class ModifyInstanceRequest(AbstractModel):
17412
17624
  self._InstanceNames = params.get("InstanceNames")
17413
17625
  self._ProjectId = params.get("ProjectId")
17414
17626
  self._AutoRenews = params.get("AutoRenews")
17627
+ self._DeleteProtectionSwitches = params.get("DeleteProtectionSwitches")
17415
17628
  self._InstanceId = params.get("InstanceId")
17416
17629
  self._InstanceName = params.get("InstanceName")
17417
17630
  self._AutoRenew = params.get("AutoRenew")
@@ -17465,6 +17678,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
17465
17678
  :param _StartTime: Start time of the maintenance window, for example, 17:00.
17466
17679
  :type StartTime: str
17467
17680
  :param _EndTime: End time of the maintenance window, for example, 19:00.
17681
+ **Note:** Maintenance window duration. Valid values: 30 minutes, 1 hour, 1.5 hours, 2 hours, and 3 hours.
17468
17682
  :type EndTime: str
17469
17683
  """
17470
17684
  self._InstanceId = None
@@ -17496,6 +17710,7 @@ class ModifyMaintenanceWindowRequest(AbstractModel):
17496
17710
  @property
17497
17711
  def EndTime(self):
17498
17712
  r"""End time of the maintenance window, for example, 19:00.
17713
+ **Note:** Maintenance window duration. Valid values: 30 minutes, 1 hour, 1.5 hours, 2 hours, and 3 hours.
17499
17714
  :rtype: str
17500
17715
  """
17501
17716
  return self._EndTime
@@ -20013,14 +20228,14 @@ class RemoveReplicationGroupRequest(AbstractModel):
20013
20228
 
20014
20229
  def __init__(self):
20015
20230
  r"""
20016
- :param _GroupId: Replication group ID.
20231
+ :param _GroupId: Replication group ID. Log in to the [Redis console and go to the global replication](https://console.cloud.tencent.com/redis/replication) page to obtain the ID.
20017
20232
  :type GroupId: str
20018
20233
  """
20019
20234
  self._GroupId = None
20020
20235
 
20021
20236
  @property
20022
20237
  def GroupId(self):
20023
- r"""Replication group ID.
20238
+ r"""Replication group ID. Log in to the [Redis console and go to the global replication](https://console.cloud.tencent.com/redis/replication) page to obtain the ID.
20024
20239
  :rtype: str
20025
20240
  """
20026
20241
  return self._GroupId
@@ -20404,16 +20619,24 @@ class ResetPasswordRequest(AbstractModel):
20404
20619
  r"""
20405
20620
  :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
20406
20621
  :type InstanceId: str
20407
- :param _Password: Reset password. This parameter can be left blank when a password-free instance is used. It is required in other cases.
20622
+ :param _Password: Reset password. This parameter can be left unspecified when a password-free instance is used.
20623
+ - It should contain 8 to 32 characters. 12 or more characters are recommended.
20624
+ - It cannot start with a forward slash (/).
20625
+ - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
20408
20626
  :type Password: str
20409
20627
  :param _NoAuth: Whether to switch to a password-free instance.
20410
- - false: Switch to a non-password-free instance.
20411
- - true: Switch to a password-free instance. Default value: false.
20628
+ - false: switch to an instance that requires a password. The default value is false.
20629
+ - true: switch to a password-free instance.
20412
20630
  :type NoAuth: bool
20631
+ :param _EncryptPassword: Whether to encrypt the password.
20632
+ - false: non-encrypted password. The default value is false.
20633
+ - true: encrypted password.
20634
+ :type EncryptPassword: bool
20413
20635
  """
20414
20636
  self._InstanceId = None
20415
20637
  self._Password = None
20416
20638
  self._NoAuth = None
20639
+ self._EncryptPassword = None
20417
20640
 
20418
20641
  @property
20419
20642
  def InstanceId(self):
@@ -20428,7 +20651,10 @@ class ResetPasswordRequest(AbstractModel):
20428
20651
 
20429
20652
  @property
20430
20653
  def Password(self):
20431
- r"""Reset password. This parameter can be left blank when a password-free instance is used. It is required in other cases.
20654
+ r"""Reset password. This parameter can be left unspecified when a password-free instance is used.
20655
+ - It should contain 8 to 32 characters. 12 or more characters are recommended.
20656
+ - It cannot start with a forward slash (/).
20657
+ - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
20432
20658
  :rtype: str
20433
20659
  """
20434
20660
  return self._Password
@@ -20440,8 +20666,8 @@ class ResetPasswordRequest(AbstractModel):
20440
20666
  @property
20441
20667
  def NoAuth(self):
20442
20668
  r"""Whether to switch to a password-free instance.
20443
- - false: Switch to a non-password-free instance.
20444
- - true: Switch to a password-free instance. Default value: false.
20669
+ - false: switch to an instance that requires a password. The default value is false.
20670
+ - true: switch to a password-free instance.
20445
20671
  :rtype: bool
20446
20672
  """
20447
20673
  return self._NoAuth
@@ -20450,11 +20676,25 @@ class ResetPasswordRequest(AbstractModel):
20450
20676
  def NoAuth(self, NoAuth):
20451
20677
  self._NoAuth = NoAuth
20452
20678
 
20679
+ @property
20680
+ def EncryptPassword(self):
20681
+ r"""Whether to encrypt the password.
20682
+ - false: non-encrypted password. The default value is false.
20683
+ - true: encrypted password.
20684
+ :rtype: bool
20685
+ """
20686
+ return self._EncryptPassword
20687
+
20688
+ @EncryptPassword.setter
20689
+ def EncryptPassword(self, EncryptPassword):
20690
+ self._EncryptPassword = EncryptPassword
20691
+
20453
20692
 
20454
20693
  def _deserialize(self, params):
20455
20694
  self._InstanceId = params.get("InstanceId")
20456
20695
  self._Password = params.get("Password")
20457
20696
  self._NoAuth = params.get("NoAuth")
20697
+ self._EncryptPassword = params.get("EncryptPassword")
20458
20698
  memeber_set = set(params.keys())
20459
20699
  for name, value in vars(self).items():
20460
20700
  property_name = name[1:]
@@ -20632,9 +20872,9 @@ class RestoreInstanceRequest(AbstractModel):
20632
20872
 
20633
20873
  def __init__(self):
20634
20874
  r"""
20635
- :param _InstanceId: ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstances` API.
20875
+ :param _InstanceId: ID of the instance to be operated, which can be obtained through the response parameter InstanceId of the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API.
20636
20876
  :type InstanceId: str
20637
- :param _BackupId: Backup ID, which can be obtained through the `backupId` field in the return value of the `GetRedisBackupList` API.
20877
+ :param _BackupId: Backup ID, which can be obtained through the response parameter RedisBackupSet of the [DescribeInstanceBackups](https://www.tencentcloud.comom/document/product/239/20011?from_cn_redirect=1) API.
20638
20878
  :type BackupId: str
20639
20879
  :param _Password: Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)
20640
20880
  :type Password: str
@@ -20645,7 +20885,7 @@ class RestoreInstanceRequest(AbstractModel):
20645
20885
 
20646
20886
  @property
20647
20887
  def InstanceId(self):
20648
- r"""ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstances` API.
20888
+ r"""ID of the instance to be operated, which can be obtained through the response parameter InstanceId of the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API.
20649
20889
  :rtype: str
20650
20890
  """
20651
20891
  return self._InstanceId
@@ -20656,7 +20896,7 @@ class RestoreInstanceRequest(AbstractModel):
20656
20896
 
20657
20897
  @property
20658
20898
  def BackupId(self):
20659
- r"""Backup ID, which can be obtained through the `backupId` field in the return value of the `GetRedisBackupList` API.
20899
+ r"""Backup ID, which can be obtained through the response parameter RedisBackupSet of the [DescribeInstanceBackups](https://www.tencentcloud.comom/document/product/239/20011?from_cn_redirect=1) API.
20660
20900
  :rtype: str
20661
20901
  """
20662
20902
  return self._BackupId
@@ -21266,14 +21506,14 @@ class StartupInstanceRequest(AbstractModel):
21266
21506
 
21267
21507
  def __init__(self):
21268
21508
  r"""
21269
- :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
21509
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the ID of the instance to be deisolated from the recycle bin.
21270
21510
  :type InstanceId: str
21271
21511
  """
21272
21512
  self._InstanceId = None
21273
21513
 
21274
21514
  @property
21275
21515
  def InstanceId(self):
21276
- r"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
21516
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the ID of the instance to be deisolated from the recycle bin.
21277
21517
  :rtype: str
21278
21518
  """
21279
21519
  return self._InstanceId
@@ -22602,9 +22842,9 @@ class UpgradeProxyVersionRequest(AbstractModel):
22602
22842
  r"""
22603
22843
  :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
22604
22844
  :type InstanceId: str
22605
- :param _CurrentProxyVersion: Current Proxy version.
22845
+ :param _CurrentProxyVersion: Current proxy version. Call the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API to obtain the current proxy version for the instance.
22606
22846
  :type CurrentProxyVersion: str
22607
- :param _UpgradeProxyVersion: Upgradable Redis version.
22847
+ :param _UpgradeProxyVersion: Upgradable Redis version. Call the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API to obtain the upgradable Redis version for the instance.
22608
22848
  :type UpgradeProxyVersion: str
22609
22849
  :param _InstanceTypeUpgradeNow: Specifies whether to upgrade immediately.
22610
22850
  - 1: Upgrade immediately.
@@ -22629,7 +22869,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
22629
22869
 
22630
22870
  @property
22631
22871
  def CurrentProxyVersion(self):
22632
- r"""Current Proxy version.
22872
+ r"""Current proxy version. Call the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API to obtain the current proxy version for the instance.
22633
22873
  :rtype: str
22634
22874
  """
22635
22875
  return self._CurrentProxyVersion
@@ -22640,7 +22880,7 @@ class UpgradeProxyVersionRequest(AbstractModel):
22640
22880
 
22641
22881
  @property
22642
22882
  def UpgradeProxyVersion(self):
22643
- r"""Upgradable Redis version.
22883
+ r"""Upgradable Redis version. Call the [DescribeInstances](https://www.tencentcloud.comom/document/product/239/20018?from_cn_redirect=1) API to obtain the upgradable Redis version for the instance.
22644
22884
  :rtype: str
22645
22885
  """
22646
22886
  return self._UpgradeProxyVersion
@@ -22856,10 +23096,11 @@ class UpgradeVersionToMultiAvailabilityZonesRequest(AbstractModel):
22856
23096
 
22857
23097
  def __init__(self):
22858
23098
  r"""
22859
- :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
23099
+ :param _InstanceId: Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
22860
23100
  :type InstanceId: str
22861
- :param _UpgradeProxyAndRedisServer: Whether to support “Reading Local Nodes Only” feature after upgrading to multi-AZ deployment.
22862
- ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the upgrade, you need to upgrade the proxy version and Redis kernel minor version simultaneously, which will involve data migration and may take hours to complete. </li><li>`false`: The “Read Local Nodes Only” feature is not supported. Upgrading to multi-AZ deployment will involve metadata migration only without affecting the service, which generally take less than three minutes to complete.</li></ul>
23101
+ :param _UpgradeProxyAndRedisServer: Specifies whether the nearby access feature is supported after an upgrade to multi-AZ.
23102
+ - true: support the nearby access feature. The upgrade process requires simultaneous upgrades of the proxy version and Redis kernel minor version, which involves data migration and may take several hours.
23103
+ - false: no need to support the nearby access feature. Upgrade to multi-AZ only involves metadata migration management, with no impact on the service. The upgrade process is usually completed within 3 minutes, and the default value is false.
22863
23104
  :type UpgradeProxyAndRedisServer: bool
22864
23105
  """
22865
23106
  self._InstanceId = None
@@ -22867,7 +23108,7 @@ ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the
22867
23108
 
22868
23109
  @property
22869
23110
  def InstanceId(self):
22870
- r"""Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
23111
+ r"""Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
22871
23112
  :rtype: str
22872
23113
  """
22873
23114
  return self._InstanceId
@@ -22878,8 +23119,9 @@ ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the
22878
23119
 
22879
23120
  @property
22880
23121
  def UpgradeProxyAndRedisServer(self):
22881
- r"""Whether to support “Reading Local Nodes Only” feature after upgrading to multi-AZ deployment.
22882
- ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the upgrade, you need to upgrade the proxy version and Redis kernel minor version simultaneously, which will involve data migration and may take hours to complete. </li><li>`false`: The “Read Local Nodes Only” feature is not supported. Upgrading to multi-AZ deployment will involve metadata migration only without affecting the service, which generally take less than three minutes to complete.</li></ul>
23122
+ r"""Specifies whether the nearby access feature is supported after an upgrade to multi-AZ.
23123
+ - true: support the nearby access feature. The upgrade process requires simultaneous upgrades of the proxy version and Redis kernel minor version, which involves data migration and may take several hours.
23124
+ - false: no need to support the nearby access feature. Upgrade to multi-AZ only involves metadata migration management, with no impact on the service. The upgrade process is usually completed within 3 minutes, and the default value is false.
22883
23125
  :rtype: bool
22884
23126
  """
22885
23127
  return self._UpgradeProxyAndRedisServer