tencentcloud-sdk-python-redis 3.0.1213__tar.gz → 3.0.1229__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-redis might be problematic. Click here for more details.
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/setup.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/redis/v20180412/models.py +335 -20
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/redis/v20180412/redis_client.py +46 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud_sdk_python_redis.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-redis-3.0.1229/tencentcloud_sdk_python_redis.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-redis-3.0.1213/tencentcloud_sdk_python_redis.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/README.rst +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/setup.cfg +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/redis/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/redis/v20180412/__init__.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud/redis/v20180412/errorcodes.py +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud_sdk_python_redis.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud_sdk_python_redis.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/tencentcloud_sdk_python_redis.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1229"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Redis SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4537,28 +4537,28 @@ class DescribeInstanceDTSInstanceInfo(AbstractModel):
|
|
|
4537
4537
|
|
|
4538
4538
|
def __init__(self):
|
|
4539
4539
|
r"""
|
|
4540
|
-
:param _RegionId: 地域ID
|
|
4540
|
+
:param _RegionId: 地域 ID。
|
|
4541
4541
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4542
4542
|
:type RegionId: int
|
|
4543
|
-
:param _InstanceId: 实例ID
|
|
4543
|
+
:param _InstanceId: 实例 ID。
|
|
4544
4544
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4545
4545
|
:type InstanceId: str
|
|
4546
|
-
:param _SetId: 仓库ID
|
|
4546
|
+
:param _SetId: 仓库ID。
|
|
4547
4547
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4548
4548
|
:type SetId: int
|
|
4549
|
-
:param _ZoneId: 可用区ID
|
|
4549
|
+
:param _ZoneId: 可用区ID。
|
|
4550
4550
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4551
4551
|
:type ZoneId: int
|
|
4552
|
-
:param _Type:
|
|
4552
|
+
:param _Type: 实例类型。
|
|
4553
4553
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4554
4554
|
:type Type: int
|
|
4555
|
-
:param _InstanceName:
|
|
4555
|
+
:param _InstanceName: 实例名称。
|
|
4556
4556
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4557
4557
|
:type InstanceName: str
|
|
4558
|
-
:param _Vip:
|
|
4558
|
+
:param _Vip: 实例访问地址。
|
|
4559
4559
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4560
4560
|
:type Vip: str
|
|
4561
|
-
:param _Status:
|
|
4561
|
+
:param _Status: 状态。
|
|
4562
4562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4563
4563
|
:type Status: int
|
|
4564
4564
|
"""
|
|
@@ -4909,6 +4909,78 @@ class DescribeInstanceEventsResponse(AbstractModel):
|
|
|
4909
4909
|
self._RequestId = params.get("RequestId")
|
|
4910
4910
|
|
|
4911
4911
|
|
|
4912
|
+
class DescribeInstanceLogDeliveryRequest(AbstractModel):
|
|
4913
|
+
"""DescribeInstanceLogDelivery请求参数结构体
|
|
4914
|
+
|
|
4915
|
+
"""
|
|
4916
|
+
|
|
4917
|
+
def __init__(self):
|
|
4918
|
+
r"""
|
|
4919
|
+
:param _InstanceId: 实例ID。
|
|
4920
|
+
:type InstanceId: str
|
|
4921
|
+
"""
|
|
4922
|
+
self._InstanceId = None
|
|
4923
|
+
|
|
4924
|
+
@property
|
|
4925
|
+
def InstanceId(self):
|
|
4926
|
+
return self._InstanceId
|
|
4927
|
+
|
|
4928
|
+
@InstanceId.setter
|
|
4929
|
+
def InstanceId(self, InstanceId):
|
|
4930
|
+
self._InstanceId = InstanceId
|
|
4931
|
+
|
|
4932
|
+
|
|
4933
|
+
def _deserialize(self, params):
|
|
4934
|
+
self._InstanceId = params.get("InstanceId")
|
|
4935
|
+
memeber_set = set(params.keys())
|
|
4936
|
+
for name, value in vars(self).items():
|
|
4937
|
+
property_name = name[1:]
|
|
4938
|
+
if property_name in memeber_set:
|
|
4939
|
+
memeber_set.remove(property_name)
|
|
4940
|
+
if len(memeber_set) > 0:
|
|
4941
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4942
|
+
|
|
4943
|
+
|
|
4944
|
+
|
|
4945
|
+
class DescribeInstanceLogDeliveryResponse(AbstractModel):
|
|
4946
|
+
"""DescribeInstanceLogDelivery返回参数结构体
|
|
4947
|
+
|
|
4948
|
+
"""
|
|
4949
|
+
|
|
4950
|
+
def __init__(self):
|
|
4951
|
+
r"""
|
|
4952
|
+
:param _SlowLog: 实例慢日志投递信息。
|
|
4953
|
+
:type SlowLog: :class:`tencentcloud.redis.v20180412.models.LogDeliveryInfo`
|
|
4954
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4955
|
+
:type RequestId: str
|
|
4956
|
+
"""
|
|
4957
|
+
self._SlowLog = None
|
|
4958
|
+
self._RequestId = None
|
|
4959
|
+
|
|
4960
|
+
@property
|
|
4961
|
+
def SlowLog(self):
|
|
4962
|
+
return self._SlowLog
|
|
4963
|
+
|
|
4964
|
+
@SlowLog.setter
|
|
4965
|
+
def SlowLog(self, SlowLog):
|
|
4966
|
+
self._SlowLog = SlowLog
|
|
4967
|
+
|
|
4968
|
+
@property
|
|
4969
|
+
def RequestId(self):
|
|
4970
|
+
return self._RequestId
|
|
4971
|
+
|
|
4972
|
+
@RequestId.setter
|
|
4973
|
+
def RequestId(self, RequestId):
|
|
4974
|
+
self._RequestId = RequestId
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
def _deserialize(self, params):
|
|
4978
|
+
if params.get("SlowLog") is not None:
|
|
4979
|
+
self._SlowLog = LogDeliveryInfo()
|
|
4980
|
+
self._SlowLog._deserialize(params.get("SlowLog"))
|
|
4981
|
+
self._RequestId = params.get("RequestId")
|
|
4982
|
+
|
|
4983
|
+
|
|
4912
4984
|
class DescribeInstanceMonitorBigKeyRequest(AbstractModel):
|
|
4913
4985
|
"""DescribeInstanceMonitorBigKey请求参数结构体
|
|
4914
4986
|
|
|
@@ -7010,16 +7082,18 @@ class DescribeParamTemplateInfoResponse(AbstractModel):
|
|
|
7010
7082
|
:param _Name: 参数模板名称。
|
|
7011
7083
|
:type Name: str
|
|
7012
7084
|
:param _ProductType: 产品类型。
|
|
7013
|
-
- 2:Redis 2.8内存版(标准架构)。
|
|
7014
|
-
- 3:CKV 3.2内存版(标准架构)。
|
|
7015
|
-
- 4:CKV 3.2内存版(集群架构)。
|
|
7016
|
-
- 5:Redis 2.8内存版(单机)。
|
|
7017
|
-
- 6:Redis 4.0内存版(标准架构)。
|
|
7018
|
-
- 7:Redis 4.0内存版(集群架构)。
|
|
7019
|
-
- 8:Redis 5.0内存版(标准架构)。
|
|
7020
|
-
- 9:Redis 5.0内存版(集群架构)。
|
|
7021
|
-
- 15:Redis 6.2内存版(标准架构)。
|
|
7022
|
-
- 16:Redis 6.2内存版(集群架构)。
|
|
7085
|
+
- 2:Redis 2.8 内存版(标准架构)。
|
|
7086
|
+
- 3:CKV 3.2 内存版(标准架构)。
|
|
7087
|
+
- 4:CKV 3.2 内存版(集群架构)。
|
|
7088
|
+
- 5:Redis 2.8 内存版(单机)。
|
|
7089
|
+
- 6:Redis 4.0 内存版(标准架构)。
|
|
7090
|
+
- 7:Redis 4.0 内存版(集群架构)。
|
|
7091
|
+
- 8:Redis 5.0 内存版(标准架构)。
|
|
7092
|
+
- 9:Redis 5.0 内存版(集群架构)。
|
|
7093
|
+
- 15:Redis 6.2 内存版(标准架构)。
|
|
7094
|
+
- 16:Redis 6.2 内存版(集群架构)。
|
|
7095
|
+
- 17:Redis 7.0 内存版(标准架构)。
|
|
7096
|
+
- 18:Redis 7.0 内存版(集群架构)。
|
|
7023
7097
|
:type ProductType: int
|
|
7024
7098
|
:param _Description: 参数模板描述。
|
|
7025
7099
|
:type Description: str
|
|
@@ -12578,6 +12652,79 @@ class KillMasterGroupResponse(AbstractModel):
|
|
|
12578
12652
|
self._RequestId = params.get("RequestId")
|
|
12579
12653
|
|
|
12580
12654
|
|
|
12655
|
+
class LogDeliveryInfo(AbstractModel):
|
|
12656
|
+
"""日志投递信息
|
|
12657
|
+
|
|
12658
|
+
"""
|
|
12659
|
+
|
|
12660
|
+
def __init__(self):
|
|
12661
|
+
r"""
|
|
12662
|
+
:param _Enabled: 日志投递开启状态,开启:true,关闭:false
|
|
12663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12664
|
+
:type Enabled: bool
|
|
12665
|
+
:param _LogsetId: 日志集ID。
|
|
12666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12667
|
+
:type LogsetId: str
|
|
12668
|
+
:param _TopicId: 日志主题ID。
|
|
12669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12670
|
+
:type TopicId: str
|
|
12671
|
+
:param _LogRegion: 日志集所在地域
|
|
12672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12673
|
+
:type LogRegion: str
|
|
12674
|
+
"""
|
|
12675
|
+
self._Enabled = None
|
|
12676
|
+
self._LogsetId = None
|
|
12677
|
+
self._TopicId = None
|
|
12678
|
+
self._LogRegion = None
|
|
12679
|
+
|
|
12680
|
+
@property
|
|
12681
|
+
def Enabled(self):
|
|
12682
|
+
return self._Enabled
|
|
12683
|
+
|
|
12684
|
+
@Enabled.setter
|
|
12685
|
+
def Enabled(self, Enabled):
|
|
12686
|
+
self._Enabled = Enabled
|
|
12687
|
+
|
|
12688
|
+
@property
|
|
12689
|
+
def LogsetId(self):
|
|
12690
|
+
return self._LogsetId
|
|
12691
|
+
|
|
12692
|
+
@LogsetId.setter
|
|
12693
|
+
def LogsetId(self, LogsetId):
|
|
12694
|
+
self._LogsetId = LogsetId
|
|
12695
|
+
|
|
12696
|
+
@property
|
|
12697
|
+
def TopicId(self):
|
|
12698
|
+
return self._TopicId
|
|
12699
|
+
|
|
12700
|
+
@TopicId.setter
|
|
12701
|
+
def TopicId(self, TopicId):
|
|
12702
|
+
self._TopicId = TopicId
|
|
12703
|
+
|
|
12704
|
+
@property
|
|
12705
|
+
def LogRegion(self):
|
|
12706
|
+
return self._LogRegion
|
|
12707
|
+
|
|
12708
|
+
@LogRegion.setter
|
|
12709
|
+
def LogRegion(self, LogRegion):
|
|
12710
|
+
self._LogRegion = LogRegion
|
|
12711
|
+
|
|
12712
|
+
|
|
12713
|
+
def _deserialize(self, params):
|
|
12714
|
+
self._Enabled = params.get("Enabled")
|
|
12715
|
+
self._LogsetId = params.get("LogsetId")
|
|
12716
|
+
self._TopicId = params.get("TopicId")
|
|
12717
|
+
self._LogRegion = params.get("LogRegion")
|
|
12718
|
+
memeber_set = set(params.keys())
|
|
12719
|
+
for name, value in vars(self).items():
|
|
12720
|
+
property_name = name[1:]
|
|
12721
|
+
if property_name in memeber_set:
|
|
12722
|
+
memeber_set.remove(property_name)
|
|
12723
|
+
if len(memeber_set) > 0:
|
|
12724
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12725
|
+
|
|
12726
|
+
|
|
12727
|
+
|
|
12581
12728
|
class ManualBackupInstanceRequest(AbstractModel):
|
|
12582
12729
|
"""ManualBackupInstance请求参数结构体
|
|
12583
12730
|
|
|
@@ -13588,6 +13735,174 @@ class ModifyInstanceEventResponse(AbstractModel):
|
|
|
13588
13735
|
self._RequestId = params.get("RequestId")
|
|
13589
13736
|
|
|
13590
13737
|
|
|
13738
|
+
class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
|
13739
|
+
"""ModifyInstanceLogDelivery请求参数结构体
|
|
13740
|
+
|
|
13741
|
+
"""
|
|
13742
|
+
|
|
13743
|
+
def __init__(self):
|
|
13744
|
+
r"""
|
|
13745
|
+
:param _InstanceId: 实例ID。
|
|
13746
|
+
:type InstanceId: str
|
|
13747
|
+
:param _LogType: 日志类型。当前仅支持设置为slowlog,指慢查询日志。
|
|
13748
|
+
:type LogType: str
|
|
13749
|
+
:param _Enabled: 日志投递开启状态。
|
|
13750
|
+
- true:开启。
|
|
13751
|
+
- false:关闭。
|
|
13752
|
+
:type Enabled: bool
|
|
13753
|
+
:param _LogsetId: 投递的日志集ID。
|
|
13754
|
+
:type LogsetId: str
|
|
13755
|
+
:param _TopicId: 投递的日志主题ID。
|
|
13756
|
+
:type TopicId: str
|
|
13757
|
+
:param _LogsetName: 日志集名称。若**LogsetId**未指定具体的日志集ID,请配置该参数,设置日志集名称,系统会以设置的日志集名称自动创建新的日志集。
|
|
13758
|
+
:type LogsetName: str
|
|
13759
|
+
:param _TopicName: 日志主题名称,TopicId为空时必传,会自动创建新的日志主题。
|
|
13760
|
+
:type TopicName: str
|
|
13761
|
+
:param _LogRegion: 日志集所在地域,不传默认使用实例所在地域。
|
|
13762
|
+
:type LogRegion: str
|
|
13763
|
+
:param _Period: 日志存储时间,默认为30天,可选范围1-3600天。
|
|
13764
|
+
:type Period: int
|
|
13765
|
+
:param _CreateIndex: 创建日志主题时,是否创建索引。
|
|
13766
|
+
:type CreateIndex: bool
|
|
13767
|
+
"""
|
|
13768
|
+
self._InstanceId = None
|
|
13769
|
+
self._LogType = None
|
|
13770
|
+
self._Enabled = None
|
|
13771
|
+
self._LogsetId = None
|
|
13772
|
+
self._TopicId = None
|
|
13773
|
+
self._LogsetName = None
|
|
13774
|
+
self._TopicName = None
|
|
13775
|
+
self._LogRegion = None
|
|
13776
|
+
self._Period = None
|
|
13777
|
+
self._CreateIndex = None
|
|
13778
|
+
|
|
13779
|
+
@property
|
|
13780
|
+
def InstanceId(self):
|
|
13781
|
+
return self._InstanceId
|
|
13782
|
+
|
|
13783
|
+
@InstanceId.setter
|
|
13784
|
+
def InstanceId(self, InstanceId):
|
|
13785
|
+
self._InstanceId = InstanceId
|
|
13786
|
+
|
|
13787
|
+
@property
|
|
13788
|
+
def LogType(self):
|
|
13789
|
+
return self._LogType
|
|
13790
|
+
|
|
13791
|
+
@LogType.setter
|
|
13792
|
+
def LogType(self, LogType):
|
|
13793
|
+
self._LogType = LogType
|
|
13794
|
+
|
|
13795
|
+
@property
|
|
13796
|
+
def Enabled(self):
|
|
13797
|
+
return self._Enabled
|
|
13798
|
+
|
|
13799
|
+
@Enabled.setter
|
|
13800
|
+
def Enabled(self, Enabled):
|
|
13801
|
+
self._Enabled = Enabled
|
|
13802
|
+
|
|
13803
|
+
@property
|
|
13804
|
+
def LogsetId(self):
|
|
13805
|
+
return self._LogsetId
|
|
13806
|
+
|
|
13807
|
+
@LogsetId.setter
|
|
13808
|
+
def LogsetId(self, LogsetId):
|
|
13809
|
+
self._LogsetId = LogsetId
|
|
13810
|
+
|
|
13811
|
+
@property
|
|
13812
|
+
def TopicId(self):
|
|
13813
|
+
return self._TopicId
|
|
13814
|
+
|
|
13815
|
+
@TopicId.setter
|
|
13816
|
+
def TopicId(self, TopicId):
|
|
13817
|
+
self._TopicId = TopicId
|
|
13818
|
+
|
|
13819
|
+
@property
|
|
13820
|
+
def LogsetName(self):
|
|
13821
|
+
return self._LogsetName
|
|
13822
|
+
|
|
13823
|
+
@LogsetName.setter
|
|
13824
|
+
def LogsetName(self, LogsetName):
|
|
13825
|
+
self._LogsetName = LogsetName
|
|
13826
|
+
|
|
13827
|
+
@property
|
|
13828
|
+
def TopicName(self):
|
|
13829
|
+
return self._TopicName
|
|
13830
|
+
|
|
13831
|
+
@TopicName.setter
|
|
13832
|
+
def TopicName(self, TopicName):
|
|
13833
|
+
self._TopicName = TopicName
|
|
13834
|
+
|
|
13835
|
+
@property
|
|
13836
|
+
def LogRegion(self):
|
|
13837
|
+
return self._LogRegion
|
|
13838
|
+
|
|
13839
|
+
@LogRegion.setter
|
|
13840
|
+
def LogRegion(self, LogRegion):
|
|
13841
|
+
self._LogRegion = LogRegion
|
|
13842
|
+
|
|
13843
|
+
@property
|
|
13844
|
+
def Period(self):
|
|
13845
|
+
return self._Period
|
|
13846
|
+
|
|
13847
|
+
@Period.setter
|
|
13848
|
+
def Period(self, Period):
|
|
13849
|
+
self._Period = Period
|
|
13850
|
+
|
|
13851
|
+
@property
|
|
13852
|
+
def CreateIndex(self):
|
|
13853
|
+
return self._CreateIndex
|
|
13854
|
+
|
|
13855
|
+
@CreateIndex.setter
|
|
13856
|
+
def CreateIndex(self, CreateIndex):
|
|
13857
|
+
self._CreateIndex = CreateIndex
|
|
13858
|
+
|
|
13859
|
+
|
|
13860
|
+
def _deserialize(self, params):
|
|
13861
|
+
self._InstanceId = params.get("InstanceId")
|
|
13862
|
+
self._LogType = params.get("LogType")
|
|
13863
|
+
self._Enabled = params.get("Enabled")
|
|
13864
|
+
self._LogsetId = params.get("LogsetId")
|
|
13865
|
+
self._TopicId = params.get("TopicId")
|
|
13866
|
+
self._LogsetName = params.get("LogsetName")
|
|
13867
|
+
self._TopicName = params.get("TopicName")
|
|
13868
|
+
self._LogRegion = params.get("LogRegion")
|
|
13869
|
+
self._Period = params.get("Period")
|
|
13870
|
+
self._CreateIndex = params.get("CreateIndex")
|
|
13871
|
+
memeber_set = set(params.keys())
|
|
13872
|
+
for name, value in vars(self).items():
|
|
13873
|
+
property_name = name[1:]
|
|
13874
|
+
if property_name in memeber_set:
|
|
13875
|
+
memeber_set.remove(property_name)
|
|
13876
|
+
if len(memeber_set) > 0:
|
|
13877
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13878
|
+
|
|
13879
|
+
|
|
13880
|
+
|
|
13881
|
+
class ModifyInstanceLogDeliveryResponse(AbstractModel):
|
|
13882
|
+
"""ModifyInstanceLogDelivery返回参数结构体
|
|
13883
|
+
|
|
13884
|
+
"""
|
|
13885
|
+
|
|
13886
|
+
def __init__(self):
|
|
13887
|
+
r"""
|
|
13888
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13889
|
+
:type RequestId: str
|
|
13890
|
+
"""
|
|
13891
|
+
self._RequestId = None
|
|
13892
|
+
|
|
13893
|
+
@property
|
|
13894
|
+
def RequestId(self):
|
|
13895
|
+
return self._RequestId
|
|
13896
|
+
|
|
13897
|
+
@RequestId.setter
|
|
13898
|
+
def RequestId(self, RequestId):
|
|
13899
|
+
self._RequestId = RequestId
|
|
13900
|
+
|
|
13901
|
+
|
|
13902
|
+
def _deserialize(self, params):
|
|
13903
|
+
self._RequestId = params.get("RequestId")
|
|
13904
|
+
|
|
13905
|
+
|
|
13591
13906
|
class ModifyInstanceParamsRequest(AbstractModel):
|
|
13592
13907
|
"""ModifyInstanceParams请求参数结构体
|
|
13593
13908
|
|
|
@@ -13645,7 +13960,7 @@ class ModifyInstanceParamsResponse(AbstractModel):
|
|
|
13645
13960
|
|
|
13646
13961
|
def __init__(self):
|
|
13647
13962
|
r"""
|
|
13648
|
-
:param _Changed: 说明修改参数配置是否成功。<br><li>true
|
|
13963
|
+
:param _Changed: 说明修改参数配置是否成功。<br><li>true:指修改成功;</li><li>false:指修改失败。</li>
|
|
13649
13964
|
:type Changed: bool
|
|
13650
13965
|
:param _TaskId: 任务ID。
|
|
13651
13966
|
:type TaskId: int
|
|
@@ -17042,7 +17357,7 @@ class StartupInstanceResponse(AbstractModel):
|
|
|
17042
17357
|
|
|
17043
17358
|
def __init__(self):
|
|
17044
17359
|
r"""
|
|
17045
|
-
:param _TaskId:
|
|
17360
|
+
:param _TaskId: 该字段已废弃,请通过查询实例接口获取到的状态来判断实例是否已解隔离
|
|
17046
17361
|
:type TaskId: int
|
|
17047
17362
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17048
17363
|
:type RequestId: str
|
|
@@ -739,6 +739,29 @@ class RedisClient(AbstractClient):
|
|
|
739
739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
740
|
|
|
741
741
|
|
|
742
|
+
def DescribeInstanceLogDelivery(self, request):
|
|
743
|
+
"""本接口(DescribeInstanceLogDelivery)用于查询实例的日志投递配置。
|
|
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
|
+
|
|
742
765
|
def DescribeInstanceMonitorBigKey(self, request):
|
|
743
766
|
"""腾讯云数据库 Redis 已经于2022年10月31日下线查询实例大 Key 接口。具体公告,请参见[查询实例大 Key 接口下线公告](https://cloud.tencent.com/document/product/239/81005)。
|
|
744
767
|
|
|
@@ -1935,6 +1958,29 @@ class RedisClient(AbstractClient):
|
|
|
1935
1958
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1936
1959
|
|
|
1937
1960
|
|
|
1961
|
+
def ModifyInstanceLogDelivery(self, request):
|
|
1962
|
+
"""本接口(ModifyInstanceLogDelivery)用于开启或关闭投递实例日志到CLS。
|
|
1963
|
+
|
|
1964
|
+
:param request: Request instance for ModifyInstanceLogDelivery.
|
|
1965
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryRequest`
|
|
1966
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryResponse`
|
|
1967
|
+
|
|
1968
|
+
"""
|
|
1969
|
+
try:
|
|
1970
|
+
params = request._serialize()
|
|
1971
|
+
headers = request.headers
|
|
1972
|
+
body = self.call("ModifyInstanceLogDelivery", params, headers=headers)
|
|
1973
|
+
response = json.loads(body)
|
|
1974
|
+
model = models.ModifyInstanceLogDeliveryResponse()
|
|
1975
|
+
model._deserialize(response["Response"])
|
|
1976
|
+
return model
|
|
1977
|
+
except Exception as e:
|
|
1978
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1979
|
+
raise
|
|
1980
|
+
else:
|
|
1981
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1982
|
+
|
|
1983
|
+
|
|
1938
1984
|
def ModifyInstanceParams(self, request):
|
|
1939
1985
|
"""本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。
|
|
1940
1986
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1229
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1213
|
{tencentcloud-sdk-python-redis-3.0.1213 → tencentcloud-sdk-python-redis-3.0.1229}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|