tencentcloud-sdk-python-redis 3.0.1279__tar.gz → 3.0.1303__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/setup.py +1 -1
  3. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/redis/v20180412/models.py +313 -10
  5. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/redis/v20180412/redis_client.py +54 -8
  6. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-redis-3.0.1303/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-redis-3.0.1279/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/README.rst +0 -0
  10. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/redis/__init__.py +0 -0
  12. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/redis/v20180412/__init__.py +0 -0
  13. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-redis-3.0.1279 → tencentcloud-sdk-python-redis-3.0.1303}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-redis
3
- Version: 3.0.1279
3
+ Version: 3.0.1303
4
4
  Summary: Tencent Cloud Redis SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-redis',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1279"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1303"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Redis SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1279'
17
+ __version__ = '3.0.1303'
@@ -2408,7 +2408,7 @@ class CreateInstancesRequest(AbstractModel):
2408
2408
  :type ZoneId: int
2409
2409
  :param _Password: 访问实例的密码。
2410
2410
  - 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
2411
- - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2411
+ - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2412
2412
  - 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
2413
2413
  :type Password: str
2414
2414
  :param _VpcId: 私有网络ID。如果不配置该参数则默认选择基础网络。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询具体的ID。
@@ -2579,7 +2579,7 @@ class CreateInstancesRequest(AbstractModel):
2579
2579
  def Password(self):
2580
2580
  """访问实例的密码。
2581
2581
  - 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
2582
- - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2582
+ - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2583
2583
  - 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
2584
2584
  :rtype: str
2585
2585
  """
@@ -6637,7 +6637,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
6637
6637
 
6638
6638
  def __init__(self):
6639
6639
  r"""
6640
- :param _InstanceId: 实例 ID。
6640
+ :param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
6641
6641
  :type InstanceId: str
6642
6642
  :param _SpanType: 时间范围。
6643
6643
  - 1:实时。
@@ -6651,7 +6651,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
6651
6651
 
6652
6652
  @property
6653
6653
  def InstanceId(self):
6654
- """实例 ID。
6654
+ """实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
6655
6655
  :rtype: str
6656
6656
  """
6657
6657
  return self._InstanceId
@@ -8795,7 +8795,7 @@ class DescribeProductInfoResponse(AbstractModel):
8795
8795
 
8796
8796
  def __init__(self):
8797
8797
  r"""
8798
- :param _RegionSet: 地域售卖信息。
8798
+ :param _RegionSet: 地域售卖信息。即使指定具体地域,也返回所有地域的售卖信息。
8799
8799
  :type RegionSet: list of RegionConf
8800
8800
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8801
8801
  :type RequestId: str
@@ -8805,7 +8805,7 @@ class DescribeProductInfoResponse(AbstractModel):
8805
8805
 
8806
8806
  @property
8807
8807
  def RegionSet(self):
8808
- """地域售卖信息。
8808
+ """地域售卖信息。即使指定具体地域,也返回所有地域的售卖信息。
8809
8809
  :rtype: list of RegionConf
8810
8810
  """
8811
8811
  return self._RegionSet
@@ -10045,6 +10045,152 @@ class DescribeSSLStatusResponse(AbstractModel):
10045
10045
  self._RequestId = params.get("RequestId")
10046
10046
 
10047
10047
 
10048
+ class DescribeSecondLevelBackupInfoRequest(AbstractModel):
10049
+ """DescribeSecondLevelBackupInfo请求参数结构体
10050
+
10051
+ """
10052
+
10053
+ def __init__(self):
10054
+ r"""
10055
+ :param _InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录Redis控制台在实例列表复制实例 ID。
10056
+ :type InstanceId: str
10057
+ :param _BackupTimestamp: 秒级备份时间戳,7天内
10058
+ :type BackupTimestamp: int
10059
+ """
10060
+ self._InstanceId = None
10061
+ self._BackupTimestamp = None
10062
+
10063
+ @property
10064
+ def InstanceId(self):
10065
+ """指定实例 ID。例如:crs-xjhsdj****。请登录Redis控制台在实例列表复制实例 ID。
10066
+ :rtype: str
10067
+ """
10068
+ return self._InstanceId
10069
+
10070
+ @InstanceId.setter
10071
+ def InstanceId(self, InstanceId):
10072
+ self._InstanceId = InstanceId
10073
+
10074
+ @property
10075
+ def BackupTimestamp(self):
10076
+ """秒级备份时间戳,7天内
10077
+ :rtype: int
10078
+ """
10079
+ return self._BackupTimestamp
10080
+
10081
+ @BackupTimestamp.setter
10082
+ def BackupTimestamp(self, BackupTimestamp):
10083
+ self._BackupTimestamp = BackupTimestamp
10084
+
10085
+
10086
+ def _deserialize(self, params):
10087
+ self._InstanceId = params.get("InstanceId")
10088
+ self._BackupTimestamp = params.get("BackupTimestamp")
10089
+ memeber_set = set(params.keys())
10090
+ for name, value in vars(self).items():
10091
+ property_name = name[1:]
10092
+ if property_name in memeber_set:
10093
+ memeber_set.remove(property_name)
10094
+ if len(memeber_set) > 0:
10095
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10096
+
10097
+
10098
+
10099
+ class DescribeSecondLevelBackupInfoResponse(AbstractModel):
10100
+ """DescribeSecondLevelBackupInfo返回参数结构体
10101
+
10102
+ """
10103
+
10104
+ def __init__(self):
10105
+ r"""
10106
+ :param _BackupId: 备份记录ID
10107
+ :type BackupId: str
10108
+ :param _BackupTimestamp: 备份时间戳
10109
+ :type BackupTimestamp: int
10110
+ :param _MissingTimestamps: 备份不存在的时间戳范围
10111
+ 注意:此字段可能返回 null,表示取不到有效值。
10112
+ :type MissingTimestamps: list of SecondLevelBackupMissingTimestamps
10113
+ :param _StartTimestamp: 实例开启秒级备份的时间戳
10114
+ :type StartTimestamp: int
10115
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10116
+ :type RequestId: str
10117
+ """
10118
+ self._BackupId = None
10119
+ self._BackupTimestamp = None
10120
+ self._MissingTimestamps = None
10121
+ self._StartTimestamp = None
10122
+ self._RequestId = None
10123
+
10124
+ @property
10125
+ def BackupId(self):
10126
+ """备份记录ID
10127
+ :rtype: str
10128
+ """
10129
+ return self._BackupId
10130
+
10131
+ @BackupId.setter
10132
+ def BackupId(self, BackupId):
10133
+ self._BackupId = BackupId
10134
+
10135
+ @property
10136
+ def BackupTimestamp(self):
10137
+ """备份时间戳
10138
+ :rtype: int
10139
+ """
10140
+ return self._BackupTimestamp
10141
+
10142
+ @BackupTimestamp.setter
10143
+ def BackupTimestamp(self, BackupTimestamp):
10144
+ self._BackupTimestamp = BackupTimestamp
10145
+
10146
+ @property
10147
+ def MissingTimestamps(self):
10148
+ """备份不存在的时间戳范围
10149
+ 注意:此字段可能返回 null,表示取不到有效值。
10150
+ :rtype: list of SecondLevelBackupMissingTimestamps
10151
+ """
10152
+ return self._MissingTimestamps
10153
+
10154
+ @MissingTimestamps.setter
10155
+ def MissingTimestamps(self, MissingTimestamps):
10156
+ self._MissingTimestamps = MissingTimestamps
10157
+
10158
+ @property
10159
+ def StartTimestamp(self):
10160
+ """实例开启秒级备份的时间戳
10161
+ :rtype: int
10162
+ """
10163
+ return self._StartTimestamp
10164
+
10165
+ @StartTimestamp.setter
10166
+ def StartTimestamp(self, StartTimestamp):
10167
+ self._StartTimestamp = StartTimestamp
10168
+
10169
+ @property
10170
+ def RequestId(self):
10171
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10172
+ :rtype: str
10173
+ """
10174
+ return self._RequestId
10175
+
10176
+ @RequestId.setter
10177
+ def RequestId(self, RequestId):
10178
+ self._RequestId = RequestId
10179
+
10180
+
10181
+ def _deserialize(self, params):
10182
+ self._BackupId = params.get("BackupId")
10183
+ self._BackupTimestamp = params.get("BackupTimestamp")
10184
+ if params.get("MissingTimestamps") is not None:
10185
+ self._MissingTimestamps = []
10186
+ for item in params.get("MissingTimestamps"):
10187
+ obj = SecondLevelBackupMissingTimestamps()
10188
+ obj._deserialize(item)
10189
+ self._MissingTimestamps.append(obj)
10190
+ self._StartTimestamp = params.get("StartTimestamp")
10191
+ self._RequestId = params.get("RequestId")
10192
+
10193
+
10048
10194
  class DescribeSlowLogRequest(AbstractModel):
10049
10195
  """DescribeSlowLog请求参数结构体
10050
10196
 
@@ -13616,7 +13762,9 @@ class InstanceSet(AbstractModel):
13616
13762
  :type InstanceTitle: str
13617
13763
  :param _OfflineTime: 已隔离实例默认下线时间。按量计费实例隔离后默认两小时后下线,包年包月默认7天后下线。格式如:2020-02-15 10:20:00。
13618
13764
  :type OfflineTime: str
13619
- :param _SubStatus: 流程中的实例,返回子状态。
13765
+ :param _SubStatus: 流程中的实例返回的子状态。
13766
+ - 0:磁盘读写状态。
13767
+ - 1:磁盘超限只读状态。
13620
13768
  :type SubStatus: int
13621
13769
  :param _Tags: 反亲和性标签。
13622
13770
  :type Tags: list of str
@@ -14056,7 +14204,9 @@ class InstanceSet(AbstractModel):
14056
14204
 
14057
14205
  @property
14058
14206
  def SubStatus(self):
14059
- """流程中的实例,返回子状态。
14207
+ """流程中的实例返回的子状态。
14208
+ - 0:磁盘读写状态。
14209
+ - 1:磁盘超限只读状态。
14060
14210
  :rtype: int
14061
14211
  """
14062
14212
  return self._SubStatus
@@ -15568,7 +15718,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15568
15718
  :param _OldPassword: 实例旧密码。
15569
15719
  :type OldPassword: str
15570
15720
  :param _Password: 实例新密码。密码复杂度要求如下:
15571
- - 长度8 - 30位, 推荐使用12位以上的密码。
15721
+ - 长度8 - 64位, 推荐使用12位以上的密码。
15572
15722
  - 不能以"/"开头。
15573
15723
  - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
15574
15724
  :type Password: str
@@ -15602,7 +15752,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15602
15752
  @property
15603
15753
  def Password(self):
15604
15754
  """实例新密码。密码复杂度要求如下:
15605
- - 长度8 - 30位, 推荐使用12位以上的密码。
15755
+ - 长度8 - 64位, 推荐使用12位以上的密码。
15606
15756
  - 不能以"/"开头。
15607
15757
  - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
15608
15758
  :rtype: str
@@ -16501,6 +16651,104 @@ class ModifyInstanceAvailabilityZonesResponse(AbstractModel):
16501
16651
  self._RequestId = params.get("RequestId")
16502
16652
 
16503
16653
 
16654
+ class ModifyInstanceBackupModeRequest(AbstractModel):
16655
+ """ModifyInstanceBackupMode请求参数结构体
16656
+
16657
+ """
16658
+
16659
+ def __init__(self):
16660
+ r"""
16661
+ :param _InstanceId: 实例的ID,长度在12-36之间。
16662
+ :type InstanceId: str
16663
+ :param _BackupMode: 备份模式:
16664
+ - SecondLevelBackup 秒级备份
16665
+ - NormalLevelBackup 普通备份
16666
+ :type BackupMode: str
16667
+ """
16668
+ self._InstanceId = None
16669
+ self._BackupMode = None
16670
+
16671
+ @property
16672
+ def InstanceId(self):
16673
+ """实例的ID,长度在12-36之间。
16674
+ :rtype: str
16675
+ """
16676
+ return self._InstanceId
16677
+
16678
+ @InstanceId.setter
16679
+ def InstanceId(self, InstanceId):
16680
+ self._InstanceId = InstanceId
16681
+
16682
+ @property
16683
+ def BackupMode(self):
16684
+ """备份模式:
16685
+ - SecondLevelBackup 秒级备份
16686
+ - NormalLevelBackup 普通备份
16687
+ :rtype: str
16688
+ """
16689
+ return self._BackupMode
16690
+
16691
+ @BackupMode.setter
16692
+ def BackupMode(self, BackupMode):
16693
+ self._BackupMode = BackupMode
16694
+
16695
+
16696
+ def _deserialize(self, params):
16697
+ self._InstanceId = params.get("InstanceId")
16698
+ self._BackupMode = params.get("BackupMode")
16699
+ memeber_set = set(params.keys())
16700
+ for name, value in vars(self).items():
16701
+ property_name = name[1:]
16702
+ if property_name in memeber_set:
16703
+ memeber_set.remove(property_name)
16704
+ if len(memeber_set) > 0:
16705
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16706
+
16707
+
16708
+
16709
+ class ModifyInstanceBackupModeResponse(AbstractModel):
16710
+ """ModifyInstanceBackupMode返回参数结构体
16711
+
16712
+ """
16713
+
16714
+ def __init__(self):
16715
+ r"""
16716
+ :param _TaskId: 任务ID
16717
+ :type TaskId: int
16718
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16719
+ :type RequestId: str
16720
+ """
16721
+ self._TaskId = None
16722
+ self._RequestId = None
16723
+
16724
+ @property
16725
+ def TaskId(self):
16726
+ """任务ID
16727
+ :rtype: int
16728
+ """
16729
+ return self._TaskId
16730
+
16731
+ @TaskId.setter
16732
+ def TaskId(self, TaskId):
16733
+ self._TaskId = TaskId
16734
+
16735
+ @property
16736
+ def RequestId(self):
16737
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16738
+ :rtype: str
16739
+ """
16740
+ return self._RequestId
16741
+
16742
+ @RequestId.setter
16743
+ def RequestId(self, RequestId):
16744
+ self._RequestId = RequestId
16745
+
16746
+
16747
+ def _deserialize(self, params):
16748
+ self._TaskId = params.get("TaskId")
16749
+ self._RequestId = params.get("RequestId")
16750
+
16751
+
16504
16752
  class ModifyInstanceEventRequest(AbstractModel):
16505
16753
  """ModifyInstanceEvent请求参数结构体
16506
16754
 
@@ -20645,6 +20893,61 @@ class RestoreInstanceResponse(AbstractModel):
20645
20893
  self._RequestId = params.get("RequestId")
20646
20894
 
20647
20895
 
20896
+ class SecondLevelBackupMissingTimestamps(AbstractModel):
20897
+ """秒级备份不存在的时间戳范围
20898
+
20899
+ """
20900
+
20901
+ def __init__(self):
20902
+ r"""
20903
+ :param _StartTimeStamp: 开始时间戳
20904
+ 注意:此字段可能返回 null,表示取不到有效值。
20905
+ :type StartTimeStamp: int
20906
+ :param _EndTimeStamp: 结束时间戳
20907
+ 注意:此字段可能返回 null,表示取不到有效值。
20908
+ :type EndTimeStamp: int
20909
+ """
20910
+ self._StartTimeStamp = None
20911
+ self._EndTimeStamp = None
20912
+
20913
+ @property
20914
+ def StartTimeStamp(self):
20915
+ """开始时间戳
20916
+ 注意:此字段可能返回 null,表示取不到有效值。
20917
+ :rtype: int
20918
+ """
20919
+ return self._StartTimeStamp
20920
+
20921
+ @StartTimeStamp.setter
20922
+ def StartTimeStamp(self, StartTimeStamp):
20923
+ self._StartTimeStamp = StartTimeStamp
20924
+
20925
+ @property
20926
+ def EndTimeStamp(self):
20927
+ """结束时间戳
20928
+ 注意:此字段可能返回 null,表示取不到有效值。
20929
+ :rtype: int
20930
+ """
20931
+ return self._EndTimeStamp
20932
+
20933
+ @EndTimeStamp.setter
20934
+ def EndTimeStamp(self, EndTimeStamp):
20935
+ self._EndTimeStamp = EndTimeStamp
20936
+
20937
+
20938
+ def _deserialize(self, params):
20939
+ self._StartTimeStamp = params.get("StartTimeStamp")
20940
+ self._EndTimeStamp = params.get("EndTimeStamp")
20941
+ memeber_set = set(params.keys())
20942
+ for name, value in vars(self).items():
20943
+ property_name = name[1:]
20944
+ if property_name in memeber_set:
20945
+ memeber_set.remove(property_name)
20946
+ if len(memeber_set) > 0:
20947
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20948
+
20949
+
20950
+
20648
20951
  class SecurityGroup(AbstractModel):
20649
20952
  """安全组规则
20650
20953
 
@@ -326,7 +326,7 @@ class RedisClient(AbstractClient):
326
326
 
327
327
 
328
328
  def CreateParamTemplate(self, request):
329
- """创建参数模板。
329
+ """该接口(CreateParamTemplate)用于创建参数模板。
330
330
 
331
331
  :param request: Request instance for CreateParamTemplate.
332
332
  :type request: :class:`tencentcloud.redis.v20180412.models.CreateParamTemplateRequest`
@@ -395,7 +395,7 @@ class RedisClient(AbstractClient):
395
395
 
396
396
 
397
397
  def DeleteParamTemplate(self, request):
398
- """删除参数模板
398
+ """本接口(DeleteParamTemplate)用于删除参数模板。
399
399
 
400
400
  :param request: Request instance for DeleteParamTemplate.
401
401
  :type request: :class:`tencentcloud.redis.v20180412.models.DeleteParamTemplateRequest`
@@ -602,7 +602,7 @@ class RedisClient(AbstractClient):
602
602
 
603
603
 
604
604
  def DescribeGlobalReplicationArea(self, request):
605
- """查询全球复制支持地域信息
605
+ """本接口(DescribeGlobalReplicationArea)用于查询全球复制支持地域信息。
606
606
 
607
607
  :param request: Request instance for DescribeGlobalReplicationArea.
608
608
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeGlobalReplicationAreaRequest`
@@ -855,7 +855,7 @@ class RedisClient(AbstractClient):
855
855
 
856
856
 
857
857
  def DescribeInstanceMonitorSIP(self, request):
858
- """该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics] (https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。
858
+ """该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics](https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。
859
859
 
860
860
  :param request: Request instance for DescribeInstanceMonitorSIP.
861
861
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorSIPRequest`
@@ -901,7 +901,7 @@ class RedisClient(AbstractClient):
901
901
 
902
902
 
903
903
  def DescribeInstanceMonitorTopNCmd(self, request):
904
- """查询实例访问命令
904
+ """本接口(DescribeInstanceMonitorTopNCmd)用于查询实例访问命令。
905
905
 
906
906
  :param request: Request instance for DescribeInstanceMonitorTopNCmd.
907
907
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorTopNCmdRequest`
@@ -970,7 +970,7 @@ class RedisClient(AbstractClient):
970
970
 
971
971
 
972
972
  def DescribeInstanceParamRecords(self, request):
973
- """查询参数修改历史列表
973
+ """本接口(DescribeInstanceParamRecords)用于查询参数修改历史列表。
974
974
 
975
975
  :param request: Request instance for DescribeInstanceParamRecords.
976
976
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceParamRecordsRequest`
@@ -1200,7 +1200,7 @@ class RedisClient(AbstractClient):
1200
1200
 
1201
1201
 
1202
1202
  def DescribeParamTemplates(self, request):
1203
- """查询参数模板列表
1203
+ """本接口(DescribeParamTemplates)用于查询参数模板列表。
1204
1204
 
1205
1205
  :param request: Request instance for DescribeParamTemplates.
1206
1206
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeParamTemplatesRequest`
@@ -1429,6 +1429,29 @@ class RedisClient(AbstractClient):
1429
1429
  raise TencentCloudSDKException(type(e).__name__, str(e))
1430
1430
 
1431
1431
 
1432
+ def DescribeSecondLevelBackupInfo(self, request):
1433
+ """查询实例秒级备份信息
1434
+
1435
+ :param request: Request instance for DescribeSecondLevelBackupInfo.
1436
+ :type request: :class:`tencentcloud.redis.v20180412.models.DescribeSecondLevelBackupInfoRequest`
1437
+ :rtype: :class:`tencentcloud.redis.v20180412.models.DescribeSecondLevelBackupInfoResponse`
1438
+
1439
+ """
1440
+ try:
1441
+ params = request._serialize()
1442
+ headers = request.headers
1443
+ body = self.call("DescribeSecondLevelBackupInfo", params, headers=headers)
1444
+ response = json.loads(body)
1445
+ model = models.DescribeSecondLevelBackupInfoResponse()
1446
+ model._deserialize(response["Response"])
1447
+ return model
1448
+ except Exception as e:
1449
+ if isinstance(e, TencentCloudSDKException):
1450
+ raise
1451
+ else:
1452
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1453
+
1454
+
1432
1455
  def DescribeSlowLog(self, request):
1433
1456
  """本接口(DescribeSlowLog)查询实例慢查询记录。
1434
1457
 
@@ -1937,6 +1960,29 @@ class RedisClient(AbstractClient):
1937
1960
  raise TencentCloudSDKException(type(e).__name__, str(e))
1938
1961
 
1939
1962
 
1963
+ def ModifyInstanceBackupMode(self, request):
1964
+ """修改实例的备份模式
1965
+
1966
+ :param request: Request instance for ModifyInstanceBackupMode.
1967
+ :type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceBackupModeRequest`
1968
+ :rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceBackupModeResponse`
1969
+
1970
+ """
1971
+ try:
1972
+ params = request._serialize()
1973
+ headers = request.headers
1974
+ body = self.call("ModifyInstanceBackupMode", params, headers=headers)
1975
+ response = json.loads(body)
1976
+ model = models.ModifyInstanceBackupModeResponse()
1977
+ model._deserialize(response["Response"])
1978
+ return model
1979
+ except Exception as e:
1980
+ if isinstance(e, TencentCloudSDKException):
1981
+ raise
1982
+ else:
1983
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1984
+
1985
+
1940
1986
  def ModifyInstanceEvent(self, request):
1941
1987
  """本接口(ModifyInstanceEvent)用于修改实例的运维事件的执行计划。
1942
1988
 
@@ -2260,7 +2306,7 @@ class RedisClient(AbstractClient):
2260
2306
 
2261
2307
 
2262
2308
  def RestoreInstance(self, request):
2263
- """恢复 CRS 实例
2309
+ """本接口(RestoreInstance)用于恢复实例。
2264
2310
 
2265
2311
  :param request: Request instance for RestoreInstance.
2266
2312
  :type request: :class:`tencentcloud.redis.v20180412.models.RestoreInstanceRequest`
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-redis
3
- Version: 3.0.1279
3
+ Version: 3.0.1303
4
4
  Summary: Tencent Cloud Redis SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1303
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1279