tencentcloud-sdk-python-intl-en 3.0.1090__py2.py3-none-any.whl → 3.0.1092__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.

@@ -27,7 +27,7 @@ class RedisClient(AbstractClient):
27
27
 
28
28
 
29
29
  def AddReplicationInstance(self, request):
30
- """This API is used to add replication group members.
30
+ """This API is used to add an instance member to the global replication group.
31
31
 
32
32
  :param request: Request instance for AddReplicationInstance.
33
33
  :type request: :class:`tencentcloud.redis.v20180412.models.AddReplicationInstanceRequest`
@@ -50,7 +50,7 @@ class RedisClient(AbstractClient):
50
50
 
51
51
 
52
52
  def AllocateWanAddress(self, request):
53
- """This API is used to enable public network access.
53
+ """This API is used to enable public network access for instances.
54
54
 
55
55
  :param request: Request instance for AllocateWanAddress.
56
56
  :type request: :class:`tencentcloud.redis.v20180412.models.AllocateWanAddressRequest`
@@ -73,7 +73,7 @@ class RedisClient(AbstractClient):
73
73
 
74
74
 
75
75
  def ApplyParamsTemplate(self, request):
76
- """This API is used to apply a parameter template to instances.
76
+ """This API is used to apply parameter templates to instances.
77
77
 
78
78
  :param request: Request instance for ApplyParamsTemplate.
79
79
  :type request: :class:`tencentcloud.redis.v20180412.models.ApplyParamsTemplateRequest`
@@ -96,7 +96,7 @@ class RedisClient(AbstractClient):
96
96
 
97
97
 
98
98
  def AssociateSecurityGroups(self, request):
99
- """This API is used to bind a security group to instances in batches.
99
+ """This API is used to bind a security group to one or more database instances. When you create an instance without configuring a security group, it is recommended to bind a security group through this API.
100
100
 
101
101
  :param request: Request instance for AssociateSecurityGroups.
102
102
  :type request: :class:`tencentcloud.redis.v20180412.models.AssociateSecurityGroupsRequest`
@@ -119,7 +119,7 @@ class RedisClient(AbstractClient):
119
119
 
120
120
 
121
121
  def ChangeInstanceRole(self, request):
122
- """This API is used to modify the role of an instance in a replication group.
122
+ """This API is used to change the role of an instance in a replication group.
123
123
 
124
124
  :param request: Request instance for ChangeInstanceRole.
125
125
  :type request: :class:`tencentcloud.redis.v20180412.models.ChangeInstanceRoleRequest`
@@ -188,7 +188,7 @@ class RedisClient(AbstractClient):
188
188
 
189
189
 
190
190
  def CleanUpInstance(self, request):
191
- """This API is used to eliminate an instance in the recycle bin immediately.
191
+ """This API is used to immediately terminate instances in the recycle bin.
192
192
 
193
193
  :param request: Request instance for CleanUpInstance.
194
194
  :type request: :class:`tencentcloud.redis.v20180412.models.CleanUpInstanceRequest`
@@ -211,7 +211,7 @@ class RedisClient(AbstractClient):
211
211
 
212
212
 
213
213
  def ClearInstance(self, request):
214
- """This API is used to clear the data of a Redis instance.
214
+ """This API is used to clear instance data.
215
215
 
216
216
  :param request: Request instance for ClearInstance.
217
217
  :type request: :class:`tencentcloud.redis.v20180412.models.ClearInstanceRequest`
@@ -257,7 +257,7 @@ class RedisClient(AbstractClient):
257
257
 
258
258
 
259
259
  def CloseSSL(self, request):
260
- """This API is used to disable SSL.
260
+ """This API is used to disable SSL encryption and authentication.
261
261
 
262
262
  :param request: Request instance for CloseSSL.
263
263
  :type request: :class:`tencentcloud.redis.v20180412.models.CloseSSLRequest`
@@ -280,7 +280,7 @@ class RedisClient(AbstractClient):
280
280
 
281
281
 
282
282
  def CreateInstanceAccount(self, request):
283
- """This API is used to customize the account for accessing the instance.
283
+ """This API is used to customize the account for accessing instances.
284
284
 
285
285
  :param request: Request instance for CreateInstanceAccount.
286
286
  :type request: :class:`tencentcloud.redis.v20180412.models.CreateInstanceAccountRequest`
@@ -372,7 +372,7 @@ class RedisClient(AbstractClient):
372
372
 
373
373
 
374
374
  def DeleteInstanceAccount(self, request):
375
- """This API is used to delete an instance sub-account.
375
+ """This API is used to delete instance sub-accounts.
376
376
 
377
377
  :param request: Request instance for DeleteInstanceAccount.
378
378
  :type request: :class:`tencentcloud.redis.v20180412.models.DeleteInstanceAccountRequest`
@@ -418,7 +418,7 @@ class RedisClient(AbstractClient):
418
418
 
419
419
 
420
420
  def DeleteReplicationInstance(self, request):
421
- """This API is used to remove replication group members. Note: The API is being deprecated. Please use RemoveReplicationInstance instead.
421
+ """This API is used to remove a replication group member. Note: This API is being deprecated. Use [RemoveReplicationInstance](https://intl.cloud.tencent.com/document/product/239/90099?from_cn_redirect=1) instead.
422
422
 
423
423
  :param request: Request instance for DeleteReplicationInstance.
424
424
  :type request: :class:`tencentcloud.redis.v20180412.models.DeleteReplicationInstanceRequest`
@@ -463,6 +463,29 @@ class RedisClient(AbstractClient):
463
463
  raise TencentCloudSDKException(type(e).__name__, str(e))
464
464
 
465
465
 
466
+ def DescribeBackupDetail(self, request):
467
+ """This API is used to query the backup details of an instance.
468
+
469
+ :param request: Request instance for DescribeBackupDetail.
470
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeBackupDetailRequest`
471
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeBackupDetailResponse`
472
+
473
+ """
474
+ try:
475
+ params = request._serialize()
476
+ headers = request.headers
477
+ body = self.call("DescribeBackupDetail", params, headers=headers)
478
+ response = json.loads(body)
479
+ model = models.DescribeBackupDetailResponse()
480
+ model._deserialize(response["Response"])
481
+ return model
482
+ except Exception as e:
483
+ if isinstance(e, TencentCloudSDKException):
484
+ raise
485
+ else:
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
+
488
+
466
489
  def DescribeBackupDownloadRestriction(self, request):
467
490
  """This API is used to query the download address for a database backup file in the current region.
468
491
 
@@ -533,7 +556,7 @@ class RedisClient(AbstractClient):
533
556
 
534
557
 
535
558
  def DescribeCommonDBInstances(self, request):
536
- """This API has been disused. It was used to query the list of Redis instance information.
559
+ """This API is used to query the list of Redis instances. It is now deprecated.
537
560
 
538
561
  :param request: Request instance for DescribeCommonDBInstances.
539
562
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeCommonDBInstancesRequest`
@@ -578,6 +601,29 @@ class RedisClient(AbstractClient):
578
601
  raise TencentCloudSDKException(type(e).__name__, str(e))
579
602
 
580
603
 
604
+ def DescribeGlobalReplicationArea(self, request):
605
+ """This API is used to query the supported regions for global replication.
606
+
607
+ :param request: Request instance for DescribeGlobalReplicationArea.
608
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeGlobalReplicationAreaRequest`
609
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeGlobalReplicationAreaResponse`
610
+
611
+ """
612
+ try:
613
+ params = request._serialize()
614
+ headers = request.headers
615
+ body = self.call("DescribeGlobalReplicationArea", params, headers=headers)
616
+ response = json.loads(body)
617
+ model = models.DescribeGlobalReplicationAreaResponse()
618
+ model._deserialize(response["Response"])
619
+ return model
620
+ except Exception as e:
621
+ if isinstance(e, TencentCloudSDKException):
622
+ raise
623
+ else:
624
+ raise TencentCloudSDKException(type(e).__name__, str(e))
625
+
626
+
581
627
  def DescribeInstanceAccount(self, request):
582
628
  """This API is used to query the information of an instance sub-account.
583
629
 
@@ -625,7 +671,7 @@ class RedisClient(AbstractClient):
625
671
 
626
672
 
627
673
  def DescribeInstanceDTSInfo(self, request):
628
- """This API is used to query the DTS task details of an instance.
674
+ """This API is used to query instance DTS information.
629
675
 
630
676
  :param request: Request instance for DescribeInstanceDTSInfo.
631
677
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceDTSInfoRequest`
@@ -693,6 +739,29 @@ class RedisClient(AbstractClient):
693
739
  raise TencentCloudSDKException(type(e).__name__, str(e))
694
740
 
695
741
 
742
+ def DescribeInstanceLogDelivery(self, request):
743
+ """This API is used to query the instance log shipping configuration.
744
+
745
+ :param request: Request instance for DescribeInstanceLogDelivery.
746
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryRequest`
747
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryResponse`
748
+
749
+ """
750
+ try:
751
+ params = request._serialize()
752
+ headers = request.headers
753
+ body = self.call("DescribeInstanceLogDelivery", params, headers=headers)
754
+ response = json.loads(body)
755
+ model = models.DescribeInstanceLogDeliveryResponse()
756
+ model._deserialize(response["Response"])
757
+ return model
758
+ except Exception as e:
759
+ if isinstance(e, TencentCloudSDKException):
760
+ raise
761
+ else:
762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
763
+
764
+
696
765
  def DescribeInstanceMonitorBigKey(self, request):
697
766
  """The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).
698
767
 
@@ -763,7 +832,7 @@ class RedisClient(AbstractClient):
763
832
 
764
833
 
765
834
  def DescribeInstanceMonitorHotKey(self, request):
766
- """This API is used to query the hot key of an instance.
835
+ """This API is used to query instance hot keys.
767
836
 
768
837
  :param request: Request instance for DescribeInstanceMonitorHotKey.
769
838
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorHotKeyRequest`
@@ -809,7 +878,7 @@ class RedisClient(AbstractClient):
809
878
 
810
879
 
811
880
  def DescribeInstanceMonitorTookDist(self, request):
812
- """This API is used to query the distribution of instance access duration.
881
+ """This API is used to query the time distribution of instance access.
813
882
 
814
883
  :param request: Request instance for DescribeInstanceMonitorTookDist.
815
884
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorTookDistRequest`
@@ -992,6 +1061,29 @@ class RedisClient(AbstractClient):
992
1061
  raise TencentCloudSDKException(type(e).__name__, str(e))
993
1062
 
994
1063
 
1064
+ def DescribeInstanceSpecBandwidth(self, request):
1065
+ """This API is used to query or calculate bandwidth specifications.
1066
+
1067
+ :param request: Request instance for DescribeInstanceSpecBandwidth.
1068
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceSpecBandwidthRequest`
1069
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceSpecBandwidthResponse`
1070
+
1071
+ """
1072
+ try:
1073
+ params = request._serialize()
1074
+ headers = request.headers
1075
+ body = self.call("DescribeInstanceSpecBandwidth", params, headers=headers)
1076
+ response = json.loads(body)
1077
+ model = models.DescribeInstanceSpecBandwidthResponse()
1078
+ model._deserialize(response["Response"])
1079
+ return model
1080
+ except Exception as e:
1081
+ if isinstance(e, TencentCloudSDKException):
1082
+ raise
1083
+ else:
1084
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1085
+
1086
+
995
1087
  def DescribeInstanceSupportFeature(self, request):
996
1088
  """This API (DescribeInstanceSupportFeature) is used to query the supported features of the instance.
997
1089
 
@@ -1062,7 +1154,7 @@ class RedisClient(AbstractClient):
1062
1154
 
1063
1155
 
1064
1156
  def DescribeMaintenanceWindow(self, request):
1065
- """This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
1157
+ """This API is used to query the instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window.
1066
1158
 
1067
1159
  :param request: Request instance for DescribeMaintenanceWindow.
1068
1160
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeMaintenanceWindowRequest`
@@ -1154,7 +1246,7 @@ class RedisClient(AbstractClient):
1154
1246
 
1155
1247
 
1156
1248
  def DescribeProjectSecurityGroup(self, request):
1157
- """This API is used to query the security group information of a project.
1249
+ """This API is used to query project security group information.
1158
1250
 
1159
1251
  :param request: Request instance for DescribeProjectSecurityGroup.
1160
1252
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeProjectSecurityGroupRequest`
@@ -1222,6 +1314,52 @@ class RedisClient(AbstractClient):
1222
1314
  raise TencentCloudSDKException(type(e).__name__, str(e))
1223
1315
 
1224
1316
 
1317
+ def DescribeRedisClusterOverview(self, request):
1318
+ """This API is used to query the overview information of a dedicated Redis cluster.
1319
+
1320
+ :param request: Request instance for DescribeRedisClusterOverview.
1321
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeRedisClusterOverviewRequest`
1322
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeRedisClusterOverviewResponse`
1323
+
1324
+ """
1325
+ try:
1326
+ params = request._serialize()
1327
+ headers = request.headers
1328
+ body = self.call("DescribeRedisClusterOverview", params, headers=headers)
1329
+ response = json.loads(body)
1330
+ model = models.DescribeRedisClusterOverviewResponse()
1331
+ model._deserialize(response["Response"])
1332
+ return model
1333
+ except Exception as e:
1334
+ if isinstance(e, TencentCloudSDKException):
1335
+ raise
1336
+ else:
1337
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1338
+
1339
+
1340
+ def DescribeRedisClusters(self, request):
1341
+ """This API is used to query the list of dedicated Redis clusters.
1342
+
1343
+ :param request: Request instance for DescribeRedisClusters.
1344
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeRedisClustersRequest`
1345
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeRedisClustersResponse`
1346
+
1347
+ """
1348
+ try:
1349
+ params = request._serialize()
1350
+ headers = request.headers
1351
+ body = self.call("DescribeRedisClusters", params, headers=headers)
1352
+ response = json.loads(body)
1353
+ model = models.DescribeRedisClustersResponse()
1354
+ model._deserialize(response["Response"])
1355
+ return model
1356
+ except Exception as e:
1357
+ if isinstance(e, TencentCloudSDKException):
1358
+ raise
1359
+ else:
1360
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1361
+
1362
+
1225
1363
  def DescribeReplicationGroup(self, request):
1226
1364
  """This API is used to query a replication group.
1227
1365
 
@@ -1245,6 +1383,29 @@ class RedisClient(AbstractClient):
1245
1383
  raise TencentCloudSDKException(type(e).__name__, str(e))
1246
1384
 
1247
1385
 
1386
+ def DescribeReplicationGroupInstance(self, request):
1387
+ """This API is used to query replication group information.
1388
+
1389
+ :param request: Request instance for DescribeReplicationGroupInstance.
1390
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeReplicationGroupInstanceRequest`
1391
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeReplicationGroupInstanceResponse`
1392
+
1393
+ """
1394
+ try:
1395
+ params = request._serialize()
1396
+ headers = request.headers
1397
+ body = self.call("DescribeReplicationGroupInstance", params, headers=headers)
1398
+ response = json.loads(body)
1399
+ model = models.DescribeReplicationGroupInstanceResponse()
1400
+ model._deserialize(response["Response"])
1401
+ return model
1402
+ except Exception as e:
1403
+ if isinstance(e, TencentCloudSDKException):
1404
+ raise
1405
+ else:
1406
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1407
+
1408
+
1248
1409
  def DescribeSSLStatus(self, request):
1249
1410
  """This API is used to query the SSL authentication information of an instance, such as enablement status, configuration status, and certificate address.
1250
1411
 
@@ -1315,7 +1476,7 @@ class RedisClient(AbstractClient):
1315
1476
 
1316
1477
 
1317
1478
  def DescribeTaskList(self, request):
1318
- """This API is used to query the task list information of a specified instance.
1479
+ """This API is used to query the task list data for the last 30 days.
1319
1480
 
1320
1481
  :param request: Request instance for DescribeTaskList.
1321
1482
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeTaskListRequest`
@@ -1338,7 +1499,7 @@ class RedisClient(AbstractClient):
1338
1499
 
1339
1500
 
1340
1501
  def DescribeTendisSlowLog(self, request):
1341
- """This API is used to query slow queries of a Tendis instance.
1502
+ """This API is used to query the slow query logs of a Tendis instance.
1342
1503
 
1343
1504
  :param request: Request instance for DescribeTendisSlowLog.
1344
1505
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeTendisSlowLogRequest`
@@ -1361,7 +1522,7 @@ class RedisClient(AbstractClient):
1361
1522
 
1362
1523
 
1363
1524
  def DestroyPostpaidInstance(self, request):
1364
- """This API is used to terminate a pay-as-you-go instance.
1525
+ """This API is used to terminate pay-as-you-go instances.
1365
1526
 
1366
1527
  :param request: Request instance for DestroyPostpaidInstance.
1367
1528
  :type request: :class:`tencentcloud.redis.v20180412.models.DestroyPostpaidInstanceRequest`
@@ -1384,7 +1545,7 @@ class RedisClient(AbstractClient):
1384
1545
 
1385
1546
 
1386
1547
  def DestroyPrepaidInstance(self, request):
1387
- """This API is used to return a monthly subscribed instance.
1548
+ """This API is used to return Redis instances with monthly subscription.
1388
1549
 
1389
1550
  :param request: Request instance for DestroyPrepaidInstance.
1390
1551
  :type request: :class:`tencentcloud.redis.v20180412.models.DestroyPrepaidInstanceRequest`
@@ -1430,7 +1591,7 @@ class RedisClient(AbstractClient):
1430
1591
 
1431
1592
 
1432
1593
  def DisassociateSecurityGroups(self, request):
1433
- """This API is used to unbind a security group from instances in batches.
1594
+ """This API is used to unbind security groups from instances in batches.
1434
1595
 
1435
1596
  :param request: Request instance for DisassociateSecurityGroups.
1436
1597
  :type request: :class:`tencentcloud.redis.v20180412.models.DisassociateSecurityGroupsRequest`
@@ -1476,7 +1637,7 @@ class RedisClient(AbstractClient):
1476
1637
 
1477
1638
 
1478
1639
  def InquiryPriceCreateInstance(self, request):
1479
- """This API is used to query the price for purchasing an instance.
1640
+ """This API is used to query the price of new instances.
1480
1641
 
1481
1642
  :param request: Request instance for InquiryPriceCreateInstance.
1482
1643
  :type request: :class:`tencentcloud.redis.v20180412.models.InquiryPriceCreateInstanceRequest`
@@ -1499,7 +1660,7 @@ class RedisClient(AbstractClient):
1499
1660
 
1500
1661
 
1501
1662
  def InquiryPriceUpgradeInstance(self, request):
1502
- """This API is used to query the price for scaling an instance.
1663
+ """This API is used to query the price for instance scale-out.
1503
1664
 
1504
1665
  :param request: Request instance for InquiryPriceUpgradeInstance.
1505
1666
  :type request: :class:`tencentcloud.redis.v20180412.models.InquiryPriceUpgradeInstanceRequest`
@@ -1522,7 +1683,7 @@ class RedisClient(AbstractClient):
1522
1683
 
1523
1684
 
1524
1685
  def KillMasterGroup(self, request):
1525
- """This API is used to simulate the failure.
1686
+ """This API is used to simulate a fault.
1526
1687
 
1527
1688
  :param request: Request instance for KillMasterGroup.
1528
1689
  :type request: :class:`tencentcloud.redis.v20180412.models.KillMasterGroupRequest`
@@ -1568,7 +1729,7 @@ class RedisClient(AbstractClient):
1568
1729
 
1569
1730
 
1570
1731
  def ModfiyInstancePassword(self, request):
1571
- """This API is used to modify the access password for an instance.
1732
+ """This API is used to change the instance access password. Due to a spelling error in the original API name, it has been corrected to [ModifyInstancePassword](https://intl.cloud.tencent.com/document/product/239/111555?from_cn_redirect=1). It is recommended to use the corrected API.
1572
1733
 
1573
1734
  :param request: Request instance for ModfiyInstancePassword.
1574
1735
  :type request: :class:`tencentcloud.redis.v20180412.models.ModfiyInstancePasswordRequest`
@@ -1660,7 +1821,7 @@ class RedisClient(AbstractClient):
1660
1821
 
1661
1822
 
1662
1823
  def ModifyDBInstanceSecurityGroups(self, request):
1663
- """This API is used to modify the security groups bound to an instance.
1824
+ """This API is used to modify the original security group list of an instance.
1664
1825
 
1665
1826
  :param request: Request instance for ModifyDBInstanceSecurityGroups.
1666
1827
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyDBInstanceSecurityGroupsRequest`
@@ -1706,7 +1867,7 @@ class RedisClient(AbstractClient):
1706
1867
 
1707
1868
 
1708
1869
  def ModifyInstanceAccount(self, request):
1709
- """This API is used to modify an instance sub-account.
1870
+ """This API is used to modify the instance sub-account.
1710
1871
 
1711
1872
  :param request: Request instance for ModifyInstanceAccount.
1712
1873
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceAccountRequest`
@@ -1774,8 +1935,31 @@ class RedisClient(AbstractClient):
1774
1935
  raise TencentCloudSDKException(type(e).__name__, str(e))
1775
1936
 
1776
1937
 
1938
+ def ModifyInstanceLogDelivery(self, request):
1939
+ """This API is used to enable or disable the shipping of instance logs to CLS.
1940
+
1941
+ :param request: Request instance for ModifyInstanceLogDelivery.
1942
+ :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryRequest`
1943
+ :rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryResponse`
1944
+
1945
+ """
1946
+ try:
1947
+ params = request._serialize()
1948
+ headers = request.headers
1949
+ body = self.call("ModifyInstanceLogDelivery", params, headers=headers)
1950
+ response = json.loads(body)
1951
+ model = models.ModifyInstanceLogDeliveryResponse()
1952
+ model._deserialize(response["Response"])
1953
+ return model
1954
+ except Exception as e:
1955
+ if isinstance(e, TencentCloudSDKException):
1956
+ raise
1957
+ else:
1958
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1959
+
1960
+
1777
1961
  def ModifyInstanceParams(self, request):
1778
- """This API is used to modify the parameters of TencentDB for Redis instances
1962
+ """This API is used to modify the parameter configuration of a Redis instance.
1779
1963
 
1780
1964
  :param request: Request instance for ModifyInstanceParams.
1781
1965
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceParamsRequest`
@@ -1797,8 +1981,31 @@ class RedisClient(AbstractClient):
1797
1981
  raise TencentCloudSDKException(type(e).__name__, str(e))
1798
1982
 
1799
1983
 
1984
+ def ModifyInstancePassword(self, request):
1985
+ """This API is used to change the instance access password.
1986
+
1987
+ :param request: Request instance for ModifyInstancePassword.
1988
+ :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordRequest`
1989
+ :rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstancePasswordResponse`
1990
+
1991
+ """
1992
+ try:
1993
+ params = request._serialize()
1994
+ headers = request.headers
1995
+ body = self.call("ModifyInstancePassword", params, headers=headers)
1996
+ response = json.loads(body)
1997
+ model = models.ModifyInstancePasswordResponse()
1998
+ model._deserialize(response["Response"])
1999
+ return model
2000
+ except Exception as e:
2001
+ if isinstance(e, TencentCloudSDKException):
2002
+ raise
2003
+ else:
2004
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2005
+
2006
+
1800
2007
  def ModifyInstanceReadOnly(self, request):
1801
- """This API is used to set instance input mode.
2008
+ """This API is used to set the instance input mode.
1802
2009
 
1803
2010
  :param request: Request instance for ModifyInstanceReadOnly.
1804
2011
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceReadOnlyRequest`
@@ -1821,7 +2028,7 @@ class RedisClient(AbstractClient):
1821
2028
 
1822
2029
 
1823
2030
  def ModifyMaintenanceWindow(self, request):
1824
- """This API is used to modify the instance maintenance time. The maintenance time specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance time cannot be modified.
2031
+ """This API is used to modify the time of instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window. Note: If the version or architecture upgrade has been initiated for an instance, its maintenance window cannot be modified.
1825
2032
 
1826
2033
  :param request: Request instance for ModifyMaintenanceWindow.
1827
2034
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyMaintenanceWindowRequest`
@@ -1867,7 +2074,7 @@ class RedisClient(AbstractClient):
1867
2074
 
1868
2075
 
1869
2076
  def ModifyParamTemplate(self, request):
1870
- """This API is used to modify a parameter template.
2077
+ """This API is used to modify the parameter template.
1871
2078
 
1872
2079
  :param request: Request instance for ModifyParamTemplate.
1873
2080
  :type request: :class:`tencentcloud.redis.v20180412.models.ModifyParamTemplateRequest`
@@ -1889,8 +2096,31 @@ class RedisClient(AbstractClient):
1889
2096
  raise TencentCloudSDKException(type(e).__name__, str(e))
1890
2097
 
1891
2098
 
2099
+ def ModifyReplicationGroup(self, request):
2100
+ """This API is used to modify replication group information.
2101
+
2102
+ :param request: Request instance for ModifyReplicationGroup.
2103
+ :type request: :class:`tencentcloud.redis.v20180412.models.ModifyReplicationGroupRequest`
2104
+ :rtype: :class:`tencentcloud.redis.v20180412.models.ModifyReplicationGroupResponse`
2105
+
2106
+ """
2107
+ try:
2108
+ params = request._serialize()
2109
+ headers = request.headers
2110
+ body = self.call("ModifyReplicationGroup", params, headers=headers)
2111
+ response = json.loads(body)
2112
+ model = models.ModifyReplicationGroupResponse()
2113
+ model._deserialize(response["Response"])
2114
+ return model
2115
+ except Exception as e:
2116
+ if isinstance(e, TencentCloudSDKException):
2117
+ raise
2118
+ else:
2119
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2120
+
2121
+
1892
2122
  def OpenSSL(self, request):
1893
- """This API is used to enable SSL.
2123
+ """This API is used to enable SSL encryption and authentication.
1894
2124
 
1895
2125
  :param request: Request instance for OpenSSL.
1896
2126
  :type request: :class:`tencentcloud.redis.v20180412.models.OpenSSLRequest`
@@ -1936,7 +2166,7 @@ class RedisClient(AbstractClient):
1936
2166
 
1937
2167
 
1938
2168
  def RemoveReplicationInstance(self, request):
1939
- """This API is used to remove a member from a replication group.
2169
+ """This API is used to remove instances from a replication group.
1940
2170
 
1941
2171
  :param request: Request instance for RemoveReplicationInstance.
1942
2172
  :type request: :class:`tencentcloud.redis.v20180412.models.RemoveReplicationInstanceRequest`
@@ -1982,7 +2212,7 @@ class RedisClient(AbstractClient):
1982
2212
 
1983
2213
 
1984
2214
  def ResetPassword(self, request):
1985
- """This API is used to reset a password.
2215
+ """This API is used to reset the instance access password.
1986
2216
 
1987
2217
  :param request: Request instance for ResetPassword.
1988
2218
  :type request: :class:`tencentcloud.redis.v20180412.models.ResetPasswordRequest`
@@ -2028,7 +2258,7 @@ class RedisClient(AbstractClient):
2028
2258
 
2029
2259
 
2030
2260
  def StartupInstance(self, request):
2031
- """This API is used to deisolate an instance.
2261
+ """This API is used to deisolate instances.
2032
2262
 
2033
2263
  :param request: Request instance for StartupInstance.
2034
2264
  :type request: :class:`tencentcloud.redis.v20180412.models.StartupInstanceRequest`
@@ -2074,7 +2304,7 @@ class RedisClient(AbstractClient):
2074
2304
 
2075
2305
 
2076
2306
  def SwitchInstanceVip(self, request):
2077
- """This API is used to swap the VIPs of instances for instance disaster recovery switch in scenarios where cross-AZ disaster recovery is supported through DTS. After the VIPs of the source and target instances are swapped, the target instance can be written into and the DTS sync task between them will be disconnected.
2307
+ """This API is used to swap the VIPs of instances for disaster recovery in DTS-based cross-AZ disaster recovery scenarios. After the swapping, the target instance becomes writable, the VIPs of the source and target instances are swapped, and the DTS synchronization task between the source and target instances is disconnected.
2078
2308
 
2079
2309
  :param request: Request instance for SwitchInstanceVip.
2080
2310
  :type request: :class:`tencentcloud.redis.v20180412.models.SwitchInstanceVipRequest`
@@ -2097,7 +2327,7 @@ class RedisClient(AbstractClient):
2097
2327
 
2098
2328
 
2099
2329
  def SwitchProxy(self, request):
2100
- """This API is used to simulate the failure of a proxy node.
2330
+ """This API is used to simulate the fault of a Proxy node.
2101
2331
 
2102
2332
  :param request: Request instance for SwitchProxy.
2103
2333
  :type request: :class:`tencentcloud.redis.v20180412.models.SwitchProxyRequest`
@@ -2120,7 +2350,7 @@ class RedisClient(AbstractClient):
2120
2350
 
2121
2351
 
2122
2352
  def UpgradeInstance(self, request):
2123
- """This API is used to modify the instance configuration.
2353
+ """This API is used to change the configuration specifications of an instance.
2124
2354
 
2125
2355
  :param request: Request instance for UpgradeInstance.
2126
2356
  :type request: :class:`tencentcloud.redis.v20180412.models.UpgradeInstanceRequest`
@@ -2143,7 +2373,7 @@ class RedisClient(AbstractClient):
2143
2373
 
2144
2374
 
2145
2375
  def UpgradeInstanceVersion(self, request):
2146
- """This API is used to upgrade the instance to a later version or to upgrade the current standard architecture to the cluster architecture.
2376
+ """This API is used to upgrade the current instance to a later version or upgrade the current standard architecture to a cluster architecture.
2147
2377
 
2148
2378
  :param request: Request instance for UpgradeInstanceVersion.
2149
2379
  :type request: :class:`tencentcloud.redis.v20180412.models.UpgradeInstanceVersionRequest`
@@ -2166,7 +2396,7 @@ class RedisClient(AbstractClient):
2166
2396
 
2167
2397
 
2168
2398
  def UpgradeProxyVersion(self, request):
2169
- """This API is used to upgrade instance proxy version.
2399
+ """This API is used to upgrade the instance Proxy version.
2170
2400
 
2171
2401
  :param request: Request instance for UpgradeProxyVersion.
2172
2402
  :type request: :class:`tencentcloud.redis.v20180412.models.UpgradeProxyVersionRequest`
@@ -2189,7 +2419,7 @@ class RedisClient(AbstractClient):
2189
2419
 
2190
2420
 
2191
2421
  def UpgradeSmallVersion(self, request):
2192
- """This API is used to upgrade instance minor version.
2422
+ """This API is used to upgrade the minor version of an instance.
2193
2423
 
2194
2424
  :param request: Request instance for UpgradeSmallVersion.
2195
2425
  :type request: :class:`tencentcloud.redis.v20180412.models.UpgradeSmallVersionRequest`
@@ -2212,7 +2442,7 @@ class RedisClient(AbstractClient):
2212
2442
 
2213
2443
 
2214
2444
  def UpgradeVersionToMultiAvailabilityZones(self, request):
2215
- """This API is used to upgrade an instance to support multi-AZ deployment.
2445
+ """This API is used to upgrade an instance to support multiple AZs.
2216
2446
 
2217
2447
  :param request: Request instance for UpgradeVersionToMultiAvailabilityZones.
2218
2448
  :type request: :class:`tencentcloud.redis.v20180412.models.UpgradeVersionToMultiAvailabilityZonesRequest`