tencentcloud-sdk-python 3.0.989__py2.py3-none-any.whl → 3.0.991__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +177 -0
- tencentcloud/autoscaling/v20180419/errorcodes.py +27 -0
- tencentcloud/autoscaling/v20180419/models.py +1082 -10
- tencentcloud/cdwpg/__init__.py +0 -0
- tencentcloud/cdwpg/v20201230/__init__.py +0 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client.py +72 -0
- tencentcloud/cdwpg/v20201230/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +544 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +69 -0
- tencentcloud/dbbrain/v20210527/models.py +893 -0
- tencentcloud/emr/v20190103/models.py +67 -2
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +113 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +23 -0
- tencentcloud/essbasic/v20210526/models.py +31 -0
- tencentcloud/iai/v20200303/models.py +28 -28
- tencentcloud/live/v20180801/live_client.py +1 -2
- tencentcloud/live/v20180801/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +78 -0
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/tcb/v20180608/models.py +114 -0
- tencentcloud/teo/v20220901/models.py +184 -8
- tencentcloud/tke/v20180525/errorcodes.py +13 -1
- tencentcloud/tke/v20180525/models.py +1993 -0
- tencentcloud/tke/v20180525/tke_client.py +207 -0
- tencentcloud/vpc/v20170312/models.py +226 -0
- {tencentcloud_sdk_python-3.0.989.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.989.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/RECORD +32 -27
- {tencentcloud_sdk_python-3.0.989.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.989.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.989.dist-info → tencentcloud_sdk_python-3.0.991.dist-info}/top_level.txt +0 -0
|
@@ -112,6 +112,88 @@ class AddUserContactResponse(AbstractModel):
|
|
|
112
112
|
self._RequestId = params.get("RequestId")
|
|
113
113
|
|
|
114
114
|
|
|
115
|
+
class Aggregation(AbstractModel):
|
|
116
|
+
"""mongodb慢查模板概览明细
|
|
117
|
+
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
def __init__(self):
|
|
121
|
+
r"""
|
|
122
|
+
:param _AvgExecTime: 平均执行时间(ms)。
|
|
123
|
+
:type AvgExecTime: int
|
|
124
|
+
:param _AvgDocsExamined: 平均扫描行数。
|
|
125
|
+
:type AvgDocsExamined: int
|
|
126
|
+
:param _SlowLogCount: 产生慢查次数(/天)。
|
|
127
|
+
:type SlowLogCount: int
|
|
128
|
+
:param _SortCount: 内存排序次数。
|
|
129
|
+
:type SortCount: int
|
|
130
|
+
:param _SlowLogs: 慢查模板概览。
|
|
131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
132
|
+
:type SlowLogs: list of str
|
|
133
|
+
"""
|
|
134
|
+
self._AvgExecTime = None
|
|
135
|
+
self._AvgDocsExamined = None
|
|
136
|
+
self._SlowLogCount = None
|
|
137
|
+
self._SortCount = None
|
|
138
|
+
self._SlowLogs = None
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def AvgExecTime(self):
|
|
142
|
+
return self._AvgExecTime
|
|
143
|
+
|
|
144
|
+
@AvgExecTime.setter
|
|
145
|
+
def AvgExecTime(self, AvgExecTime):
|
|
146
|
+
self._AvgExecTime = AvgExecTime
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def AvgDocsExamined(self):
|
|
150
|
+
return self._AvgDocsExamined
|
|
151
|
+
|
|
152
|
+
@AvgDocsExamined.setter
|
|
153
|
+
def AvgDocsExamined(self, AvgDocsExamined):
|
|
154
|
+
self._AvgDocsExamined = AvgDocsExamined
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def SlowLogCount(self):
|
|
158
|
+
return self._SlowLogCount
|
|
159
|
+
|
|
160
|
+
@SlowLogCount.setter
|
|
161
|
+
def SlowLogCount(self, SlowLogCount):
|
|
162
|
+
self._SlowLogCount = SlowLogCount
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def SortCount(self):
|
|
166
|
+
return self._SortCount
|
|
167
|
+
|
|
168
|
+
@SortCount.setter
|
|
169
|
+
def SortCount(self, SortCount):
|
|
170
|
+
self._SortCount = SortCount
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def SlowLogs(self):
|
|
174
|
+
return self._SlowLogs
|
|
175
|
+
|
|
176
|
+
@SlowLogs.setter
|
|
177
|
+
def SlowLogs(self, SlowLogs):
|
|
178
|
+
self._SlowLogs = SlowLogs
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def _deserialize(self, params):
|
|
182
|
+
self._AvgExecTime = params.get("AvgExecTime")
|
|
183
|
+
self._AvgDocsExamined = params.get("AvgDocsExamined")
|
|
184
|
+
self._SlowLogCount = params.get("SlowLogCount")
|
|
185
|
+
self._SortCount = params.get("SortCount")
|
|
186
|
+
self._SlowLogs = params.get("SlowLogs")
|
|
187
|
+
memeber_set = set(params.keys())
|
|
188
|
+
for name, value in vars(self).items():
|
|
189
|
+
property_name = name[1:]
|
|
190
|
+
if property_name in memeber_set:
|
|
191
|
+
memeber_set.remove(property_name)
|
|
192
|
+
if len(memeber_set) > 0:
|
|
193
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
115
197
|
class AlarmProfileList(AbstractModel):
|
|
116
198
|
"""通知模板
|
|
117
199
|
|
|
@@ -4440,6 +4522,274 @@ class DescribeHealthScoreResponse(AbstractModel):
|
|
|
4440
4522
|
self._RequestId = params.get("RequestId")
|
|
4441
4523
|
|
|
4442
4524
|
|
|
4525
|
+
class DescribeIndexRecommendAggregationSlowLogsRequest(AbstractModel):
|
|
4526
|
+
"""DescribeIndexRecommendAggregationSlowLogs请求参数结构体
|
|
4527
|
+
|
|
4528
|
+
"""
|
|
4529
|
+
|
|
4530
|
+
def __init__(self):
|
|
4531
|
+
r"""
|
|
4532
|
+
:param _Product: 服务产品类型,支持值包括:"mongodb" - 云数据库 。
|
|
4533
|
+
:type Product: str
|
|
4534
|
+
:param _InstanceId: 实例ID。
|
|
4535
|
+
:type InstanceId: str
|
|
4536
|
+
:param _Db: 数据库名称。
|
|
4537
|
+
:type Db: str
|
|
4538
|
+
:param _Collection: 表明。
|
|
4539
|
+
:type Collection: str
|
|
4540
|
+
:param _Signs: 签名。
|
|
4541
|
+
:type Signs: list of str
|
|
4542
|
+
"""
|
|
4543
|
+
self._Product = None
|
|
4544
|
+
self._InstanceId = None
|
|
4545
|
+
self._Db = None
|
|
4546
|
+
self._Collection = None
|
|
4547
|
+
self._Signs = None
|
|
4548
|
+
|
|
4549
|
+
@property
|
|
4550
|
+
def Product(self):
|
|
4551
|
+
return self._Product
|
|
4552
|
+
|
|
4553
|
+
@Product.setter
|
|
4554
|
+
def Product(self, Product):
|
|
4555
|
+
self._Product = Product
|
|
4556
|
+
|
|
4557
|
+
@property
|
|
4558
|
+
def InstanceId(self):
|
|
4559
|
+
return self._InstanceId
|
|
4560
|
+
|
|
4561
|
+
@InstanceId.setter
|
|
4562
|
+
def InstanceId(self, InstanceId):
|
|
4563
|
+
self._InstanceId = InstanceId
|
|
4564
|
+
|
|
4565
|
+
@property
|
|
4566
|
+
def Db(self):
|
|
4567
|
+
return self._Db
|
|
4568
|
+
|
|
4569
|
+
@Db.setter
|
|
4570
|
+
def Db(self, Db):
|
|
4571
|
+
self._Db = Db
|
|
4572
|
+
|
|
4573
|
+
@property
|
|
4574
|
+
def Collection(self):
|
|
4575
|
+
return self._Collection
|
|
4576
|
+
|
|
4577
|
+
@Collection.setter
|
|
4578
|
+
def Collection(self, Collection):
|
|
4579
|
+
self._Collection = Collection
|
|
4580
|
+
|
|
4581
|
+
@property
|
|
4582
|
+
def Signs(self):
|
|
4583
|
+
return self._Signs
|
|
4584
|
+
|
|
4585
|
+
@Signs.setter
|
|
4586
|
+
def Signs(self, Signs):
|
|
4587
|
+
self._Signs = Signs
|
|
4588
|
+
|
|
4589
|
+
|
|
4590
|
+
def _deserialize(self, params):
|
|
4591
|
+
self._Product = params.get("Product")
|
|
4592
|
+
self._InstanceId = params.get("InstanceId")
|
|
4593
|
+
self._Db = params.get("Db")
|
|
4594
|
+
self._Collection = params.get("Collection")
|
|
4595
|
+
self._Signs = params.get("Signs")
|
|
4596
|
+
memeber_set = set(params.keys())
|
|
4597
|
+
for name, value in vars(self).items():
|
|
4598
|
+
property_name = name[1:]
|
|
4599
|
+
if property_name in memeber_set:
|
|
4600
|
+
memeber_set.remove(property_name)
|
|
4601
|
+
if len(memeber_set) > 0:
|
|
4602
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4603
|
+
|
|
4604
|
+
|
|
4605
|
+
|
|
4606
|
+
class DescribeIndexRecommendAggregationSlowLogsResponse(AbstractModel):
|
|
4607
|
+
"""DescribeIndexRecommendAggregationSlowLogs返回参数结构体
|
|
4608
|
+
|
|
4609
|
+
"""
|
|
4610
|
+
|
|
4611
|
+
def __init__(self):
|
|
4612
|
+
r"""
|
|
4613
|
+
:param _Aggregation: 查询实例慢查询聚合结果。
|
|
4614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4615
|
+
:type Aggregation: :class:`tencentcloud.dbbrain.v20210527.models.Aggregation`
|
|
4616
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4617
|
+
:type RequestId: str
|
|
4618
|
+
"""
|
|
4619
|
+
self._Aggregation = None
|
|
4620
|
+
self._RequestId = None
|
|
4621
|
+
|
|
4622
|
+
@property
|
|
4623
|
+
def Aggregation(self):
|
|
4624
|
+
return self._Aggregation
|
|
4625
|
+
|
|
4626
|
+
@Aggregation.setter
|
|
4627
|
+
def Aggregation(self, Aggregation):
|
|
4628
|
+
self._Aggregation = Aggregation
|
|
4629
|
+
|
|
4630
|
+
@property
|
|
4631
|
+
def RequestId(self):
|
|
4632
|
+
return self._RequestId
|
|
4633
|
+
|
|
4634
|
+
@RequestId.setter
|
|
4635
|
+
def RequestId(self, RequestId):
|
|
4636
|
+
self._RequestId = RequestId
|
|
4637
|
+
|
|
4638
|
+
|
|
4639
|
+
def _deserialize(self, params):
|
|
4640
|
+
if params.get("Aggregation") is not None:
|
|
4641
|
+
self._Aggregation = Aggregation()
|
|
4642
|
+
self._Aggregation._deserialize(params.get("Aggregation"))
|
|
4643
|
+
self._RequestId = params.get("RequestId")
|
|
4644
|
+
|
|
4645
|
+
|
|
4646
|
+
class DescribeIndexRecommendInfoRequest(AbstractModel):
|
|
4647
|
+
"""DescribeIndexRecommendInfo请求参数结构体
|
|
4648
|
+
|
|
4649
|
+
"""
|
|
4650
|
+
|
|
4651
|
+
def __init__(self):
|
|
4652
|
+
r"""
|
|
4653
|
+
:param _Product: 服务产品类型,支持值包括:"mongodb" - 云数据库 。
|
|
4654
|
+
:type Product: str
|
|
4655
|
+
:param _InstanceId: 实例ID。
|
|
4656
|
+
:type InstanceId: str
|
|
4657
|
+
"""
|
|
4658
|
+
self._Product = None
|
|
4659
|
+
self._InstanceId = None
|
|
4660
|
+
|
|
4661
|
+
@property
|
|
4662
|
+
def Product(self):
|
|
4663
|
+
return self._Product
|
|
4664
|
+
|
|
4665
|
+
@Product.setter
|
|
4666
|
+
def Product(self, Product):
|
|
4667
|
+
self._Product = Product
|
|
4668
|
+
|
|
4669
|
+
@property
|
|
4670
|
+
def InstanceId(self):
|
|
4671
|
+
return self._InstanceId
|
|
4672
|
+
|
|
4673
|
+
@InstanceId.setter
|
|
4674
|
+
def InstanceId(self, InstanceId):
|
|
4675
|
+
self._InstanceId = InstanceId
|
|
4676
|
+
|
|
4677
|
+
|
|
4678
|
+
def _deserialize(self, params):
|
|
4679
|
+
self._Product = params.get("Product")
|
|
4680
|
+
self._InstanceId = params.get("InstanceId")
|
|
4681
|
+
memeber_set = set(params.keys())
|
|
4682
|
+
for name, value in vars(self).items():
|
|
4683
|
+
property_name = name[1:]
|
|
4684
|
+
if property_name in memeber_set:
|
|
4685
|
+
memeber_set.remove(property_name)
|
|
4686
|
+
if len(memeber_set) > 0:
|
|
4687
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4688
|
+
|
|
4689
|
+
|
|
4690
|
+
|
|
4691
|
+
class DescribeIndexRecommendInfoResponse(AbstractModel):
|
|
4692
|
+
"""DescribeIndexRecommendInfo返回参数结构体
|
|
4693
|
+
|
|
4694
|
+
"""
|
|
4695
|
+
|
|
4696
|
+
def __init__(self):
|
|
4697
|
+
r"""
|
|
4698
|
+
:param _CollectionNum: 索引推荐的集合数量。
|
|
4699
|
+
:type CollectionNum: int
|
|
4700
|
+
:param _IndexNum: 索引推荐的索引数量。
|
|
4701
|
+
:type IndexNum: int
|
|
4702
|
+
:param _Items: 索引项。
|
|
4703
|
+
:type Items: list of MongoDBIndex
|
|
4704
|
+
:param _Level: 优化级别,1-4,优先级从高到低。
|
|
4705
|
+
:type Level: int
|
|
4706
|
+
:param _Optimized: 历史优化数。
|
|
4707
|
+
:type Optimized: int
|
|
4708
|
+
:param _OptimizedCount: 累计优化条数。
|
|
4709
|
+
:type OptimizedCount: int
|
|
4710
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4711
|
+
:type RequestId: str
|
|
4712
|
+
"""
|
|
4713
|
+
self._CollectionNum = None
|
|
4714
|
+
self._IndexNum = None
|
|
4715
|
+
self._Items = None
|
|
4716
|
+
self._Level = None
|
|
4717
|
+
self._Optimized = None
|
|
4718
|
+
self._OptimizedCount = None
|
|
4719
|
+
self._RequestId = None
|
|
4720
|
+
|
|
4721
|
+
@property
|
|
4722
|
+
def CollectionNum(self):
|
|
4723
|
+
return self._CollectionNum
|
|
4724
|
+
|
|
4725
|
+
@CollectionNum.setter
|
|
4726
|
+
def CollectionNum(self, CollectionNum):
|
|
4727
|
+
self._CollectionNum = CollectionNum
|
|
4728
|
+
|
|
4729
|
+
@property
|
|
4730
|
+
def IndexNum(self):
|
|
4731
|
+
return self._IndexNum
|
|
4732
|
+
|
|
4733
|
+
@IndexNum.setter
|
|
4734
|
+
def IndexNum(self, IndexNum):
|
|
4735
|
+
self._IndexNum = IndexNum
|
|
4736
|
+
|
|
4737
|
+
@property
|
|
4738
|
+
def Items(self):
|
|
4739
|
+
return self._Items
|
|
4740
|
+
|
|
4741
|
+
@Items.setter
|
|
4742
|
+
def Items(self, Items):
|
|
4743
|
+
self._Items = Items
|
|
4744
|
+
|
|
4745
|
+
@property
|
|
4746
|
+
def Level(self):
|
|
4747
|
+
return self._Level
|
|
4748
|
+
|
|
4749
|
+
@Level.setter
|
|
4750
|
+
def Level(self, Level):
|
|
4751
|
+
self._Level = Level
|
|
4752
|
+
|
|
4753
|
+
@property
|
|
4754
|
+
def Optimized(self):
|
|
4755
|
+
return self._Optimized
|
|
4756
|
+
|
|
4757
|
+
@Optimized.setter
|
|
4758
|
+
def Optimized(self, Optimized):
|
|
4759
|
+
self._Optimized = Optimized
|
|
4760
|
+
|
|
4761
|
+
@property
|
|
4762
|
+
def OptimizedCount(self):
|
|
4763
|
+
return self._OptimizedCount
|
|
4764
|
+
|
|
4765
|
+
@OptimizedCount.setter
|
|
4766
|
+
def OptimizedCount(self, OptimizedCount):
|
|
4767
|
+
self._OptimizedCount = OptimizedCount
|
|
4768
|
+
|
|
4769
|
+
@property
|
|
4770
|
+
def RequestId(self):
|
|
4771
|
+
return self._RequestId
|
|
4772
|
+
|
|
4773
|
+
@RequestId.setter
|
|
4774
|
+
def RequestId(self, RequestId):
|
|
4775
|
+
self._RequestId = RequestId
|
|
4776
|
+
|
|
4777
|
+
|
|
4778
|
+
def _deserialize(self, params):
|
|
4779
|
+
self._CollectionNum = params.get("CollectionNum")
|
|
4780
|
+
self._IndexNum = params.get("IndexNum")
|
|
4781
|
+
if params.get("Items") is not None:
|
|
4782
|
+
self._Items = []
|
|
4783
|
+
for item in params.get("Items"):
|
|
4784
|
+
obj = MongoDBIndex()
|
|
4785
|
+
obj._deserialize(item)
|
|
4786
|
+
self._Items.append(obj)
|
|
4787
|
+
self._Level = params.get("Level")
|
|
4788
|
+
self._Optimized = params.get("Optimized")
|
|
4789
|
+
self._OptimizedCount = params.get("OptimizedCount")
|
|
4790
|
+
self._RequestId = params.get("RequestId")
|
|
4791
|
+
|
|
4792
|
+
|
|
4443
4793
|
class DescribeMailProfileRequest(AbstractModel):
|
|
4444
4794
|
"""DescribeMailProfile请求参数结构体
|
|
4445
4795
|
|
|
@@ -5198,6 +5548,129 @@ class DescribeProxySessionKillTasksResponse(AbstractModel):
|
|
|
5198
5548
|
self._RequestId = params.get("RequestId")
|
|
5199
5549
|
|
|
5200
5550
|
|
|
5551
|
+
class DescribeRedisProcessListRequest(AbstractModel):
|
|
5552
|
+
"""DescribeRedisProcessList请求参数结构体
|
|
5553
|
+
|
|
5554
|
+
"""
|
|
5555
|
+
|
|
5556
|
+
def __init__(self):
|
|
5557
|
+
r"""
|
|
5558
|
+
:param _InstanceId: Redis 实例ID。
|
|
5559
|
+
:type InstanceId: str
|
|
5560
|
+
:param _Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
|
|
5561
|
+
:type Product: str
|
|
5562
|
+
:param _Limit: 查询的Proxy节点数量上限,默认值为20,最大值为50。
|
|
5563
|
+
:type Limit: int
|
|
5564
|
+
:param _Offset: Proxy节点的偏移量,默认值为0。
|
|
5565
|
+
:type Offset: int
|
|
5566
|
+
"""
|
|
5567
|
+
self._InstanceId = None
|
|
5568
|
+
self._Product = None
|
|
5569
|
+
self._Limit = None
|
|
5570
|
+
self._Offset = None
|
|
5571
|
+
|
|
5572
|
+
@property
|
|
5573
|
+
def InstanceId(self):
|
|
5574
|
+
return self._InstanceId
|
|
5575
|
+
|
|
5576
|
+
@InstanceId.setter
|
|
5577
|
+
def InstanceId(self, InstanceId):
|
|
5578
|
+
self._InstanceId = InstanceId
|
|
5579
|
+
|
|
5580
|
+
@property
|
|
5581
|
+
def Product(self):
|
|
5582
|
+
return self._Product
|
|
5583
|
+
|
|
5584
|
+
@Product.setter
|
|
5585
|
+
def Product(self, Product):
|
|
5586
|
+
self._Product = Product
|
|
5587
|
+
|
|
5588
|
+
@property
|
|
5589
|
+
def Limit(self):
|
|
5590
|
+
return self._Limit
|
|
5591
|
+
|
|
5592
|
+
@Limit.setter
|
|
5593
|
+
def Limit(self, Limit):
|
|
5594
|
+
self._Limit = Limit
|
|
5595
|
+
|
|
5596
|
+
@property
|
|
5597
|
+
def Offset(self):
|
|
5598
|
+
return self._Offset
|
|
5599
|
+
|
|
5600
|
+
@Offset.setter
|
|
5601
|
+
def Offset(self, Offset):
|
|
5602
|
+
self._Offset = Offset
|
|
5603
|
+
|
|
5604
|
+
|
|
5605
|
+
def _deserialize(self, params):
|
|
5606
|
+
self._InstanceId = params.get("InstanceId")
|
|
5607
|
+
self._Product = params.get("Product")
|
|
5608
|
+
self._Limit = params.get("Limit")
|
|
5609
|
+
self._Offset = params.get("Offset")
|
|
5610
|
+
memeber_set = set(params.keys())
|
|
5611
|
+
for name, value in vars(self).items():
|
|
5612
|
+
property_name = name[1:]
|
|
5613
|
+
if property_name in memeber_set:
|
|
5614
|
+
memeber_set.remove(property_name)
|
|
5615
|
+
if len(memeber_set) > 0:
|
|
5616
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5617
|
+
|
|
5618
|
+
|
|
5619
|
+
|
|
5620
|
+
class DescribeRedisProcessListResponse(AbstractModel):
|
|
5621
|
+
"""DescribeRedisProcessList返回参数结构体
|
|
5622
|
+
|
|
5623
|
+
"""
|
|
5624
|
+
|
|
5625
|
+
def __init__(self):
|
|
5626
|
+
r"""
|
|
5627
|
+
:param _ProxyCount: 该实例的Proxy节点数量,可用于分页查询。
|
|
5628
|
+
:type ProxyCount: int
|
|
5629
|
+
:param _Processes: 实时会话详情列表。
|
|
5630
|
+
:type Processes: list of Process
|
|
5631
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5632
|
+
:type RequestId: str
|
|
5633
|
+
"""
|
|
5634
|
+
self._ProxyCount = None
|
|
5635
|
+
self._Processes = None
|
|
5636
|
+
self._RequestId = None
|
|
5637
|
+
|
|
5638
|
+
@property
|
|
5639
|
+
def ProxyCount(self):
|
|
5640
|
+
return self._ProxyCount
|
|
5641
|
+
|
|
5642
|
+
@ProxyCount.setter
|
|
5643
|
+
def ProxyCount(self, ProxyCount):
|
|
5644
|
+
self._ProxyCount = ProxyCount
|
|
5645
|
+
|
|
5646
|
+
@property
|
|
5647
|
+
def Processes(self):
|
|
5648
|
+
return self._Processes
|
|
5649
|
+
|
|
5650
|
+
@Processes.setter
|
|
5651
|
+
def Processes(self, Processes):
|
|
5652
|
+
self._Processes = Processes
|
|
5653
|
+
|
|
5654
|
+
@property
|
|
5655
|
+
def RequestId(self):
|
|
5656
|
+
return self._RequestId
|
|
5657
|
+
|
|
5658
|
+
@RequestId.setter
|
|
5659
|
+
def RequestId(self, RequestId):
|
|
5660
|
+
self._RequestId = RequestId
|
|
5661
|
+
|
|
5662
|
+
|
|
5663
|
+
def _deserialize(self, params):
|
|
5664
|
+
self._ProxyCount = params.get("ProxyCount")
|
|
5665
|
+
if params.get("Processes") is not None:
|
|
5666
|
+
self._Processes = []
|
|
5667
|
+
for item in params.get("Processes"):
|
|
5668
|
+
obj = Process()
|
|
5669
|
+
obj._deserialize(item)
|
|
5670
|
+
self._Processes.append(obj)
|
|
5671
|
+
self._RequestId = params.get("RequestId")
|
|
5672
|
+
|
|
5673
|
+
|
|
5201
5674
|
class DescribeRedisTopBigKeysRequest(AbstractModel):
|
|
5202
5675
|
"""DescribeRedisTopBigKeys请求参数结构体
|
|
5203
5676
|
|
|
@@ -7998,6 +8471,192 @@ class HealthStatus(AbstractModel):
|
|
|
7998
8471
|
|
|
7999
8472
|
|
|
8000
8473
|
|
|
8474
|
+
class IndexesToBuild(AbstractModel):
|
|
8475
|
+
"""推荐的索引
|
|
8476
|
+
|
|
8477
|
+
"""
|
|
8478
|
+
|
|
8479
|
+
def __init__(self):
|
|
8480
|
+
r"""
|
|
8481
|
+
:param _Id: 索引id,唯一标识一个索引。
|
|
8482
|
+
:type Id: int
|
|
8483
|
+
:param _IndexCommand: 创建索引命令。
|
|
8484
|
+
:type IndexCommand: str
|
|
8485
|
+
:param _IndexStr: 索引字符串。
|
|
8486
|
+
:type IndexStr: str
|
|
8487
|
+
:param _Level: 优化级别,1-4,优先级从高到低。
|
|
8488
|
+
:type Level: int
|
|
8489
|
+
:param _Score: 索引得分。
|
|
8490
|
+
:type Score: int
|
|
8491
|
+
:param _Signs: 签名。
|
|
8492
|
+
:type Signs: list of str
|
|
8493
|
+
:param _Status: 0-待创建;1-创建中。
|
|
8494
|
+
:type Status: int
|
|
8495
|
+
"""
|
|
8496
|
+
self._Id = None
|
|
8497
|
+
self._IndexCommand = None
|
|
8498
|
+
self._IndexStr = None
|
|
8499
|
+
self._Level = None
|
|
8500
|
+
self._Score = None
|
|
8501
|
+
self._Signs = None
|
|
8502
|
+
self._Status = None
|
|
8503
|
+
|
|
8504
|
+
@property
|
|
8505
|
+
def Id(self):
|
|
8506
|
+
return self._Id
|
|
8507
|
+
|
|
8508
|
+
@Id.setter
|
|
8509
|
+
def Id(self, Id):
|
|
8510
|
+
self._Id = Id
|
|
8511
|
+
|
|
8512
|
+
@property
|
|
8513
|
+
def IndexCommand(self):
|
|
8514
|
+
return self._IndexCommand
|
|
8515
|
+
|
|
8516
|
+
@IndexCommand.setter
|
|
8517
|
+
def IndexCommand(self, IndexCommand):
|
|
8518
|
+
self._IndexCommand = IndexCommand
|
|
8519
|
+
|
|
8520
|
+
@property
|
|
8521
|
+
def IndexStr(self):
|
|
8522
|
+
return self._IndexStr
|
|
8523
|
+
|
|
8524
|
+
@IndexStr.setter
|
|
8525
|
+
def IndexStr(self, IndexStr):
|
|
8526
|
+
self._IndexStr = IndexStr
|
|
8527
|
+
|
|
8528
|
+
@property
|
|
8529
|
+
def Level(self):
|
|
8530
|
+
return self._Level
|
|
8531
|
+
|
|
8532
|
+
@Level.setter
|
|
8533
|
+
def Level(self, Level):
|
|
8534
|
+
self._Level = Level
|
|
8535
|
+
|
|
8536
|
+
@property
|
|
8537
|
+
def Score(self):
|
|
8538
|
+
return self._Score
|
|
8539
|
+
|
|
8540
|
+
@Score.setter
|
|
8541
|
+
def Score(self, Score):
|
|
8542
|
+
self._Score = Score
|
|
8543
|
+
|
|
8544
|
+
@property
|
|
8545
|
+
def Signs(self):
|
|
8546
|
+
return self._Signs
|
|
8547
|
+
|
|
8548
|
+
@Signs.setter
|
|
8549
|
+
def Signs(self, Signs):
|
|
8550
|
+
self._Signs = Signs
|
|
8551
|
+
|
|
8552
|
+
@property
|
|
8553
|
+
def Status(self):
|
|
8554
|
+
return self._Status
|
|
8555
|
+
|
|
8556
|
+
@Status.setter
|
|
8557
|
+
def Status(self, Status):
|
|
8558
|
+
self._Status = Status
|
|
8559
|
+
|
|
8560
|
+
|
|
8561
|
+
def _deserialize(self, params):
|
|
8562
|
+
self._Id = params.get("Id")
|
|
8563
|
+
self._IndexCommand = params.get("IndexCommand")
|
|
8564
|
+
self._IndexStr = params.get("IndexStr")
|
|
8565
|
+
self._Level = params.get("Level")
|
|
8566
|
+
self._Score = params.get("Score")
|
|
8567
|
+
self._Signs = params.get("Signs")
|
|
8568
|
+
self._Status = params.get("Status")
|
|
8569
|
+
memeber_set = set(params.keys())
|
|
8570
|
+
for name, value in vars(self).items():
|
|
8571
|
+
property_name = name[1:]
|
|
8572
|
+
if property_name in memeber_set:
|
|
8573
|
+
memeber_set.remove(property_name)
|
|
8574
|
+
if len(memeber_set) > 0:
|
|
8575
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8576
|
+
|
|
8577
|
+
|
|
8578
|
+
|
|
8579
|
+
class IndexesToDrop(AbstractModel):
|
|
8580
|
+
"""无效索引
|
|
8581
|
+
|
|
8582
|
+
"""
|
|
8583
|
+
|
|
8584
|
+
def __init__(self):
|
|
8585
|
+
r"""
|
|
8586
|
+
:param _IndexStr: 索引字符串。
|
|
8587
|
+
:type IndexStr: str
|
|
8588
|
+
:param _Score: 索引得分。
|
|
8589
|
+
:type Score: int
|
|
8590
|
+
:param _Reason: 无效原因。
|
|
8591
|
+
:type Reason: str
|
|
8592
|
+
:param _IndexCommand: 删除索引命令。
|
|
8593
|
+
:type IndexCommand: str
|
|
8594
|
+
:param _IndexName: 索引名。
|
|
8595
|
+
:type IndexName: str
|
|
8596
|
+
"""
|
|
8597
|
+
self._IndexStr = None
|
|
8598
|
+
self._Score = None
|
|
8599
|
+
self._Reason = None
|
|
8600
|
+
self._IndexCommand = None
|
|
8601
|
+
self._IndexName = None
|
|
8602
|
+
|
|
8603
|
+
@property
|
|
8604
|
+
def IndexStr(self):
|
|
8605
|
+
return self._IndexStr
|
|
8606
|
+
|
|
8607
|
+
@IndexStr.setter
|
|
8608
|
+
def IndexStr(self, IndexStr):
|
|
8609
|
+
self._IndexStr = IndexStr
|
|
8610
|
+
|
|
8611
|
+
@property
|
|
8612
|
+
def Score(self):
|
|
8613
|
+
return self._Score
|
|
8614
|
+
|
|
8615
|
+
@Score.setter
|
|
8616
|
+
def Score(self, Score):
|
|
8617
|
+
self._Score = Score
|
|
8618
|
+
|
|
8619
|
+
@property
|
|
8620
|
+
def Reason(self):
|
|
8621
|
+
return self._Reason
|
|
8622
|
+
|
|
8623
|
+
@Reason.setter
|
|
8624
|
+
def Reason(self, Reason):
|
|
8625
|
+
self._Reason = Reason
|
|
8626
|
+
|
|
8627
|
+
@property
|
|
8628
|
+
def IndexCommand(self):
|
|
8629
|
+
return self._IndexCommand
|
|
8630
|
+
|
|
8631
|
+
@IndexCommand.setter
|
|
8632
|
+
def IndexCommand(self, IndexCommand):
|
|
8633
|
+
self._IndexCommand = IndexCommand
|
|
8634
|
+
|
|
8635
|
+
@property
|
|
8636
|
+
def IndexName(self):
|
|
8637
|
+
return self._IndexName
|
|
8638
|
+
|
|
8639
|
+
@IndexName.setter
|
|
8640
|
+
def IndexName(self, IndexName):
|
|
8641
|
+
self._IndexName = IndexName
|
|
8642
|
+
|
|
8643
|
+
|
|
8644
|
+
def _deserialize(self, params):
|
|
8645
|
+
self._IndexStr = params.get("IndexStr")
|
|
8646
|
+
self._Score = params.get("Score")
|
|
8647
|
+
self._Reason = params.get("Reason")
|
|
8648
|
+
self._IndexCommand = params.get("IndexCommand")
|
|
8649
|
+
self._IndexName = params.get("IndexName")
|
|
8650
|
+
memeber_set = set(params.keys())
|
|
8651
|
+
for name, value in vars(self).items():
|
|
8652
|
+
property_name = name[1:]
|
|
8653
|
+
if property_name in memeber_set:
|
|
8654
|
+
memeber_set.remove(property_name)
|
|
8655
|
+
if len(memeber_set) > 0:
|
|
8656
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8657
|
+
|
|
8658
|
+
|
|
8659
|
+
|
|
8001
8660
|
class InstanceBasicInfo(AbstractModel):
|
|
8002
8661
|
"""实例基础信息。
|
|
8003
8662
|
|
|
@@ -9443,6 +10102,123 @@ class ModifySqlFiltersResponse(AbstractModel):
|
|
|
9443
10102
|
self._RequestId = params.get("RequestId")
|
|
9444
10103
|
|
|
9445
10104
|
|
|
10105
|
+
class MongoDBIndex(AbstractModel):
|
|
10106
|
+
"""Mongodb索引项
|
|
10107
|
+
|
|
10108
|
+
"""
|
|
10109
|
+
|
|
10110
|
+
def __init__(self):
|
|
10111
|
+
r"""
|
|
10112
|
+
:param _ClusterId: 实例id。
|
|
10113
|
+
:type ClusterId: str
|
|
10114
|
+
:param _Collection: 表名。
|
|
10115
|
+
:type Collection: str
|
|
10116
|
+
:param _Db: 库名。
|
|
10117
|
+
:type Db: str
|
|
10118
|
+
:param _Level: 优化级别,1-4,优先级从高到低。
|
|
10119
|
+
:type Level: int
|
|
10120
|
+
:param _Score: 得分。
|
|
10121
|
+
:type Score: int
|
|
10122
|
+
:param _IndexesToBuild: 推荐索引列表。
|
|
10123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10124
|
+
:type IndexesToBuild: list of IndexesToBuild
|
|
10125
|
+
:param _IndexesToDrop: 无效索引列表。
|
|
10126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10127
|
+
:type IndexesToDrop: list of IndexesToDrop
|
|
10128
|
+
"""
|
|
10129
|
+
self._ClusterId = None
|
|
10130
|
+
self._Collection = None
|
|
10131
|
+
self._Db = None
|
|
10132
|
+
self._Level = None
|
|
10133
|
+
self._Score = None
|
|
10134
|
+
self._IndexesToBuild = None
|
|
10135
|
+
self._IndexesToDrop = None
|
|
10136
|
+
|
|
10137
|
+
@property
|
|
10138
|
+
def ClusterId(self):
|
|
10139
|
+
return self._ClusterId
|
|
10140
|
+
|
|
10141
|
+
@ClusterId.setter
|
|
10142
|
+
def ClusterId(self, ClusterId):
|
|
10143
|
+
self._ClusterId = ClusterId
|
|
10144
|
+
|
|
10145
|
+
@property
|
|
10146
|
+
def Collection(self):
|
|
10147
|
+
return self._Collection
|
|
10148
|
+
|
|
10149
|
+
@Collection.setter
|
|
10150
|
+
def Collection(self, Collection):
|
|
10151
|
+
self._Collection = Collection
|
|
10152
|
+
|
|
10153
|
+
@property
|
|
10154
|
+
def Db(self):
|
|
10155
|
+
return self._Db
|
|
10156
|
+
|
|
10157
|
+
@Db.setter
|
|
10158
|
+
def Db(self, Db):
|
|
10159
|
+
self._Db = Db
|
|
10160
|
+
|
|
10161
|
+
@property
|
|
10162
|
+
def Level(self):
|
|
10163
|
+
return self._Level
|
|
10164
|
+
|
|
10165
|
+
@Level.setter
|
|
10166
|
+
def Level(self, Level):
|
|
10167
|
+
self._Level = Level
|
|
10168
|
+
|
|
10169
|
+
@property
|
|
10170
|
+
def Score(self):
|
|
10171
|
+
return self._Score
|
|
10172
|
+
|
|
10173
|
+
@Score.setter
|
|
10174
|
+
def Score(self, Score):
|
|
10175
|
+
self._Score = Score
|
|
10176
|
+
|
|
10177
|
+
@property
|
|
10178
|
+
def IndexesToBuild(self):
|
|
10179
|
+
return self._IndexesToBuild
|
|
10180
|
+
|
|
10181
|
+
@IndexesToBuild.setter
|
|
10182
|
+
def IndexesToBuild(self, IndexesToBuild):
|
|
10183
|
+
self._IndexesToBuild = IndexesToBuild
|
|
10184
|
+
|
|
10185
|
+
@property
|
|
10186
|
+
def IndexesToDrop(self):
|
|
10187
|
+
return self._IndexesToDrop
|
|
10188
|
+
|
|
10189
|
+
@IndexesToDrop.setter
|
|
10190
|
+
def IndexesToDrop(self, IndexesToDrop):
|
|
10191
|
+
self._IndexesToDrop = IndexesToDrop
|
|
10192
|
+
|
|
10193
|
+
|
|
10194
|
+
def _deserialize(self, params):
|
|
10195
|
+
self._ClusterId = params.get("ClusterId")
|
|
10196
|
+
self._Collection = params.get("Collection")
|
|
10197
|
+
self._Db = params.get("Db")
|
|
10198
|
+
self._Level = params.get("Level")
|
|
10199
|
+
self._Score = params.get("Score")
|
|
10200
|
+
if params.get("IndexesToBuild") is not None:
|
|
10201
|
+
self._IndexesToBuild = []
|
|
10202
|
+
for item in params.get("IndexesToBuild"):
|
|
10203
|
+
obj = IndexesToBuild()
|
|
10204
|
+
obj._deserialize(item)
|
|
10205
|
+
self._IndexesToBuild.append(obj)
|
|
10206
|
+
if params.get("IndexesToDrop") is not None:
|
|
10207
|
+
self._IndexesToDrop = []
|
|
10208
|
+
for item in params.get("IndexesToDrop"):
|
|
10209
|
+
obj = IndexesToDrop()
|
|
10210
|
+
obj._deserialize(item)
|
|
10211
|
+
self._IndexesToDrop.append(obj)
|
|
10212
|
+
memeber_set = set(params.keys())
|
|
10213
|
+
for name, value in vars(self).items():
|
|
10214
|
+
property_name = name[1:]
|
|
10215
|
+
if property_name in memeber_set:
|
|
10216
|
+
memeber_set.remove(property_name)
|
|
10217
|
+
if len(memeber_set) > 0:
|
|
10218
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10219
|
+
|
|
10220
|
+
|
|
10221
|
+
|
|
9446
10222
|
class MonitorFloatMetric(AbstractModel):
|
|
9447
10223
|
"""监控数据(浮点型)
|
|
9448
10224
|
|
|
@@ -9894,6 +10670,123 @@ class OpenAuditServiceResponse(AbstractModel):
|
|
|
9894
10670
|
self._RequestId = params.get("RequestId")
|
|
9895
10671
|
|
|
9896
10672
|
|
|
10673
|
+
class Process(AbstractModel):
|
|
10674
|
+
"""实时会话详情。
|
|
10675
|
+
|
|
10676
|
+
"""
|
|
10677
|
+
|
|
10678
|
+
def __init__(self):
|
|
10679
|
+
r"""
|
|
10680
|
+
:param _Id: 会话 ID。
|
|
10681
|
+
:type Id: int
|
|
10682
|
+
:param _Address: 访问来源,IP 地址和端口号。
|
|
10683
|
+
:type Address: str
|
|
10684
|
+
:param _FileDescriptor: 文件描述符。
|
|
10685
|
+
:type FileDescriptor: int
|
|
10686
|
+
:param _Name: 会话名称,使用 CLIENT SETNAME 命令设置。
|
|
10687
|
+
:type Name: str
|
|
10688
|
+
:param _LastCommand: 最后一次执行的命令。
|
|
10689
|
+
:type LastCommand: str
|
|
10690
|
+
:param _Age: 会话存活时间,单位:秒。
|
|
10691
|
+
:type Age: int
|
|
10692
|
+
:param _Idle: 最后一次执行命令后空闲的时间,单位:秒。
|
|
10693
|
+
:type Idle: int
|
|
10694
|
+
:param _ProxyId: 会话所属的 Proxy节点 ID。
|
|
10695
|
+
:type ProxyId: str
|
|
10696
|
+
"""
|
|
10697
|
+
self._Id = None
|
|
10698
|
+
self._Address = None
|
|
10699
|
+
self._FileDescriptor = None
|
|
10700
|
+
self._Name = None
|
|
10701
|
+
self._LastCommand = None
|
|
10702
|
+
self._Age = None
|
|
10703
|
+
self._Idle = None
|
|
10704
|
+
self._ProxyId = None
|
|
10705
|
+
|
|
10706
|
+
@property
|
|
10707
|
+
def Id(self):
|
|
10708
|
+
return self._Id
|
|
10709
|
+
|
|
10710
|
+
@Id.setter
|
|
10711
|
+
def Id(self, Id):
|
|
10712
|
+
self._Id = Id
|
|
10713
|
+
|
|
10714
|
+
@property
|
|
10715
|
+
def Address(self):
|
|
10716
|
+
return self._Address
|
|
10717
|
+
|
|
10718
|
+
@Address.setter
|
|
10719
|
+
def Address(self, Address):
|
|
10720
|
+
self._Address = Address
|
|
10721
|
+
|
|
10722
|
+
@property
|
|
10723
|
+
def FileDescriptor(self):
|
|
10724
|
+
return self._FileDescriptor
|
|
10725
|
+
|
|
10726
|
+
@FileDescriptor.setter
|
|
10727
|
+
def FileDescriptor(self, FileDescriptor):
|
|
10728
|
+
self._FileDescriptor = FileDescriptor
|
|
10729
|
+
|
|
10730
|
+
@property
|
|
10731
|
+
def Name(self):
|
|
10732
|
+
return self._Name
|
|
10733
|
+
|
|
10734
|
+
@Name.setter
|
|
10735
|
+
def Name(self, Name):
|
|
10736
|
+
self._Name = Name
|
|
10737
|
+
|
|
10738
|
+
@property
|
|
10739
|
+
def LastCommand(self):
|
|
10740
|
+
return self._LastCommand
|
|
10741
|
+
|
|
10742
|
+
@LastCommand.setter
|
|
10743
|
+
def LastCommand(self, LastCommand):
|
|
10744
|
+
self._LastCommand = LastCommand
|
|
10745
|
+
|
|
10746
|
+
@property
|
|
10747
|
+
def Age(self):
|
|
10748
|
+
return self._Age
|
|
10749
|
+
|
|
10750
|
+
@Age.setter
|
|
10751
|
+
def Age(self, Age):
|
|
10752
|
+
self._Age = Age
|
|
10753
|
+
|
|
10754
|
+
@property
|
|
10755
|
+
def Idle(self):
|
|
10756
|
+
return self._Idle
|
|
10757
|
+
|
|
10758
|
+
@Idle.setter
|
|
10759
|
+
def Idle(self, Idle):
|
|
10760
|
+
self._Idle = Idle
|
|
10761
|
+
|
|
10762
|
+
@property
|
|
10763
|
+
def ProxyId(self):
|
|
10764
|
+
return self._ProxyId
|
|
10765
|
+
|
|
10766
|
+
@ProxyId.setter
|
|
10767
|
+
def ProxyId(self, ProxyId):
|
|
10768
|
+
self._ProxyId = ProxyId
|
|
10769
|
+
|
|
10770
|
+
|
|
10771
|
+
def _deserialize(self, params):
|
|
10772
|
+
self._Id = params.get("Id")
|
|
10773
|
+
self._Address = params.get("Address")
|
|
10774
|
+
self._FileDescriptor = params.get("FileDescriptor")
|
|
10775
|
+
self._Name = params.get("Name")
|
|
10776
|
+
self._LastCommand = params.get("LastCommand")
|
|
10777
|
+
self._Age = params.get("Age")
|
|
10778
|
+
self._Idle = params.get("Idle")
|
|
10779
|
+
self._ProxyId = params.get("ProxyId")
|
|
10780
|
+
memeber_set = set(params.keys())
|
|
10781
|
+
for name, value in vars(self).items():
|
|
10782
|
+
property_name = name[1:]
|
|
10783
|
+
if property_name in memeber_set:
|
|
10784
|
+
memeber_set.remove(property_name)
|
|
10785
|
+
if len(memeber_set) > 0:
|
|
10786
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10787
|
+
|
|
10788
|
+
|
|
10789
|
+
|
|
9897
10790
|
class ProcessStatistic(AbstractModel):
|
|
9898
10791
|
"""实时会话统计详情。
|
|
9899
10792
|
|