tencentcloud-sdk-python-mongodb 3.0.1394__tar.gz → 3.0.1412__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.
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/setup.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20190725/errorcodes.py +9 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20190725/models.py +345 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud_sdk_python_mongodb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mongodb-3.0.1412/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mongodb-3.0.1394/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/README.rst +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20180408/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20180408/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20180408/models.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20180408/mongodb_client.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud/mongodb/v20190725/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud_sdk_python_mongodb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud_sdk_python_mongodb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/tencentcloud_sdk_python_mongodb.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mongodb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1412"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mongodb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -95,6 +95,9 @@ INVALIDPARAMETERVALUE_INSTANCEHASBEENISOLATED = 'InvalidParameterValue.InstanceH
|
|
|
95
95
|
# 计费相关错误,不允许对当前实例进行对应的新购/续费/配置变更操作。
|
|
96
96
|
INVALIDPARAMETERVALUE_INVALIDTRADEOPERATION = 'InvalidParameterValue.InvalidTradeOperation'
|
|
97
97
|
|
|
98
|
+
# limit取值范围[1,100]。
|
|
99
|
+
INVALIDPARAMETERVALUE_LIMITPARAOUTOFRANGE = 'InvalidParameterValue.LimitParaOutOfRange'
|
|
100
|
+
|
|
98
101
|
# 实例锁定失败。
|
|
99
102
|
INVALIDPARAMETERVALUE_LOCKFAILED = 'InvalidParameterValue.LockFailed'
|
|
100
103
|
|
|
@@ -119,6 +122,9 @@ INVALIDPARAMETERVALUE_NODENOTFOUNDINREPLICA = 'InvalidParameterValue.NodeNotFoun
|
|
|
119
122
|
# 未找到实例。
|
|
120
123
|
INVALIDPARAMETERVALUE_NOTFOUNDINSTANCE = 'InvalidParameterValue.NotFoundInstance'
|
|
121
124
|
|
|
125
|
+
# offset取值范围[0, 10000]。
|
|
126
|
+
INVALIDPARAMETERVALUE_OFFSETPARAOUTOFRANGE = 'InvalidParameterValue.OffsetParaOutOfRange'
|
|
127
|
+
|
|
122
128
|
# OplogSize参数设置错误,应介于磁盘容量的10%和90%之间。
|
|
123
129
|
INVALIDPARAMETERVALUE_OPLOGSIZEOUTOFRANGE = 'InvalidParameterValue.OplogSizeOutOfRange'
|
|
124
130
|
|
|
@@ -185,6 +191,9 @@ INVALIDPARAMETERVALUE_STATUSABNORMAL = 'InvalidParameterValue.StatusAbnormal'
|
|
|
185
191
|
# 未找到指定的标签。
|
|
186
192
|
INVALIDPARAMETERVALUE_TAGNOTFOUND = 'InvalidParameterValue.TagNotFound'
|
|
187
193
|
|
|
194
|
+
# 非法的时间格式。
|
|
195
|
+
INVALIDPARAMETERVALUE_TIMEFORMATERR = 'InvalidParameterValue.TimeFormatErr'
|
|
196
|
+
|
|
188
197
|
# 用户账户不存在。
|
|
189
198
|
INVALIDPARAMETERVALUE_USERNOTFOUND = 'InvalidParameterValue.UserNotFound'
|
|
190
199
|
|
|
@@ -5151,6 +5151,270 @@ class DescribeDBInstancesResponse(AbstractModel):
|
|
|
5151
5151
|
self._RequestId = params.get("RequestId")
|
|
5152
5152
|
|
|
5153
5153
|
|
|
5154
|
+
class DescribeDetailedSlowLogsRequest(AbstractModel):
|
|
5155
|
+
"""DescribeDetailedSlowLogs请求参数结构体
|
|
5156
|
+
|
|
5157
|
+
"""
|
|
5158
|
+
|
|
5159
|
+
def __init__(self):
|
|
5160
|
+
r"""
|
|
5161
|
+
:param _InstanceId: 实例id
|
|
5162
|
+
:type InstanceId: str
|
|
5163
|
+
:param _StartTime: 待查询慢日志的开始时间
|
|
5164
|
+
:type StartTime: str
|
|
5165
|
+
:param _EndTime: 待慢日志的结束时间
|
|
5166
|
+
:type EndTime: str
|
|
5167
|
+
:param _ExecTime: 过滤执行时间大于此值的慢日志,单位ms,默认值100
|
|
5168
|
+
:type ExecTime: int
|
|
5169
|
+
:param _Commands: 过滤慢日志的命令类型
|
|
5170
|
+
:type Commands: list of str
|
|
5171
|
+
:param _Texts: 全文搜索关键字,多个关键字间为或关系
|
|
5172
|
+
:type Texts: list of str
|
|
5173
|
+
:param _NodeNames: 根据节点名过滤
|
|
5174
|
+
:type NodeNames: list of str
|
|
5175
|
+
:param _QueryHash: 根据queryHash过滤
|
|
5176
|
+
:type QueryHash: list of str
|
|
5177
|
+
:param _Offset: 分页偏移量
|
|
5178
|
+
:type Offset: int
|
|
5179
|
+
:param _Limit: 返回条数
|
|
5180
|
+
:type Limit: int
|
|
5181
|
+
:param _OrderBy: 排序条件,只支持StartTime(按慢日志生成时间)和ExecTime(慢日志执行时间)
|
|
5182
|
+
:type OrderBy: str
|
|
5183
|
+
:param _OrderByType: 排序。desc倒排,asc正排
|
|
5184
|
+
:type OrderByType: str
|
|
5185
|
+
"""
|
|
5186
|
+
self._InstanceId = None
|
|
5187
|
+
self._StartTime = None
|
|
5188
|
+
self._EndTime = None
|
|
5189
|
+
self._ExecTime = None
|
|
5190
|
+
self._Commands = None
|
|
5191
|
+
self._Texts = None
|
|
5192
|
+
self._NodeNames = None
|
|
5193
|
+
self._QueryHash = None
|
|
5194
|
+
self._Offset = None
|
|
5195
|
+
self._Limit = None
|
|
5196
|
+
self._OrderBy = None
|
|
5197
|
+
self._OrderByType = None
|
|
5198
|
+
|
|
5199
|
+
@property
|
|
5200
|
+
def InstanceId(self):
|
|
5201
|
+
"""实例id
|
|
5202
|
+
:rtype: str
|
|
5203
|
+
"""
|
|
5204
|
+
return self._InstanceId
|
|
5205
|
+
|
|
5206
|
+
@InstanceId.setter
|
|
5207
|
+
def InstanceId(self, InstanceId):
|
|
5208
|
+
self._InstanceId = InstanceId
|
|
5209
|
+
|
|
5210
|
+
@property
|
|
5211
|
+
def StartTime(self):
|
|
5212
|
+
"""待查询慢日志的开始时间
|
|
5213
|
+
:rtype: str
|
|
5214
|
+
"""
|
|
5215
|
+
return self._StartTime
|
|
5216
|
+
|
|
5217
|
+
@StartTime.setter
|
|
5218
|
+
def StartTime(self, StartTime):
|
|
5219
|
+
self._StartTime = StartTime
|
|
5220
|
+
|
|
5221
|
+
@property
|
|
5222
|
+
def EndTime(self):
|
|
5223
|
+
"""待慢日志的结束时间
|
|
5224
|
+
:rtype: str
|
|
5225
|
+
"""
|
|
5226
|
+
return self._EndTime
|
|
5227
|
+
|
|
5228
|
+
@EndTime.setter
|
|
5229
|
+
def EndTime(self, EndTime):
|
|
5230
|
+
self._EndTime = EndTime
|
|
5231
|
+
|
|
5232
|
+
@property
|
|
5233
|
+
def ExecTime(self):
|
|
5234
|
+
"""过滤执行时间大于此值的慢日志,单位ms,默认值100
|
|
5235
|
+
:rtype: int
|
|
5236
|
+
"""
|
|
5237
|
+
return self._ExecTime
|
|
5238
|
+
|
|
5239
|
+
@ExecTime.setter
|
|
5240
|
+
def ExecTime(self, ExecTime):
|
|
5241
|
+
self._ExecTime = ExecTime
|
|
5242
|
+
|
|
5243
|
+
@property
|
|
5244
|
+
def Commands(self):
|
|
5245
|
+
"""过滤慢日志的命令类型
|
|
5246
|
+
:rtype: list of str
|
|
5247
|
+
"""
|
|
5248
|
+
return self._Commands
|
|
5249
|
+
|
|
5250
|
+
@Commands.setter
|
|
5251
|
+
def Commands(self, Commands):
|
|
5252
|
+
self._Commands = Commands
|
|
5253
|
+
|
|
5254
|
+
@property
|
|
5255
|
+
def Texts(self):
|
|
5256
|
+
"""全文搜索关键字,多个关键字间为或关系
|
|
5257
|
+
:rtype: list of str
|
|
5258
|
+
"""
|
|
5259
|
+
return self._Texts
|
|
5260
|
+
|
|
5261
|
+
@Texts.setter
|
|
5262
|
+
def Texts(self, Texts):
|
|
5263
|
+
self._Texts = Texts
|
|
5264
|
+
|
|
5265
|
+
@property
|
|
5266
|
+
def NodeNames(self):
|
|
5267
|
+
"""根据节点名过滤
|
|
5268
|
+
:rtype: list of str
|
|
5269
|
+
"""
|
|
5270
|
+
return self._NodeNames
|
|
5271
|
+
|
|
5272
|
+
@NodeNames.setter
|
|
5273
|
+
def NodeNames(self, NodeNames):
|
|
5274
|
+
self._NodeNames = NodeNames
|
|
5275
|
+
|
|
5276
|
+
@property
|
|
5277
|
+
def QueryHash(self):
|
|
5278
|
+
"""根据queryHash过滤
|
|
5279
|
+
:rtype: list of str
|
|
5280
|
+
"""
|
|
5281
|
+
return self._QueryHash
|
|
5282
|
+
|
|
5283
|
+
@QueryHash.setter
|
|
5284
|
+
def QueryHash(self, QueryHash):
|
|
5285
|
+
self._QueryHash = QueryHash
|
|
5286
|
+
|
|
5287
|
+
@property
|
|
5288
|
+
def Offset(self):
|
|
5289
|
+
"""分页偏移量
|
|
5290
|
+
:rtype: int
|
|
5291
|
+
"""
|
|
5292
|
+
return self._Offset
|
|
5293
|
+
|
|
5294
|
+
@Offset.setter
|
|
5295
|
+
def Offset(self, Offset):
|
|
5296
|
+
self._Offset = Offset
|
|
5297
|
+
|
|
5298
|
+
@property
|
|
5299
|
+
def Limit(self):
|
|
5300
|
+
"""返回条数
|
|
5301
|
+
:rtype: int
|
|
5302
|
+
"""
|
|
5303
|
+
return self._Limit
|
|
5304
|
+
|
|
5305
|
+
@Limit.setter
|
|
5306
|
+
def Limit(self, Limit):
|
|
5307
|
+
self._Limit = Limit
|
|
5308
|
+
|
|
5309
|
+
@property
|
|
5310
|
+
def OrderBy(self):
|
|
5311
|
+
"""排序条件,只支持StartTime(按慢日志生成时间)和ExecTime(慢日志执行时间)
|
|
5312
|
+
:rtype: str
|
|
5313
|
+
"""
|
|
5314
|
+
return self._OrderBy
|
|
5315
|
+
|
|
5316
|
+
@OrderBy.setter
|
|
5317
|
+
def OrderBy(self, OrderBy):
|
|
5318
|
+
self._OrderBy = OrderBy
|
|
5319
|
+
|
|
5320
|
+
@property
|
|
5321
|
+
def OrderByType(self):
|
|
5322
|
+
"""排序。desc倒排,asc正排
|
|
5323
|
+
:rtype: str
|
|
5324
|
+
"""
|
|
5325
|
+
return self._OrderByType
|
|
5326
|
+
|
|
5327
|
+
@OrderByType.setter
|
|
5328
|
+
def OrderByType(self, OrderByType):
|
|
5329
|
+
self._OrderByType = OrderByType
|
|
5330
|
+
|
|
5331
|
+
|
|
5332
|
+
def _deserialize(self, params):
|
|
5333
|
+
self._InstanceId = params.get("InstanceId")
|
|
5334
|
+
self._StartTime = params.get("StartTime")
|
|
5335
|
+
self._EndTime = params.get("EndTime")
|
|
5336
|
+
self._ExecTime = params.get("ExecTime")
|
|
5337
|
+
self._Commands = params.get("Commands")
|
|
5338
|
+
self._Texts = params.get("Texts")
|
|
5339
|
+
self._NodeNames = params.get("NodeNames")
|
|
5340
|
+
self._QueryHash = params.get("QueryHash")
|
|
5341
|
+
self._Offset = params.get("Offset")
|
|
5342
|
+
self._Limit = params.get("Limit")
|
|
5343
|
+
self._OrderBy = params.get("OrderBy")
|
|
5344
|
+
self._OrderByType = params.get("OrderByType")
|
|
5345
|
+
memeber_set = set(params.keys())
|
|
5346
|
+
for name, value in vars(self).items():
|
|
5347
|
+
property_name = name[1:]
|
|
5348
|
+
if property_name in memeber_set:
|
|
5349
|
+
memeber_set.remove(property_name)
|
|
5350
|
+
if len(memeber_set) > 0:
|
|
5351
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5352
|
+
|
|
5353
|
+
|
|
5354
|
+
|
|
5355
|
+
class DescribeDetailedSlowLogsResponse(AbstractModel):
|
|
5356
|
+
"""DescribeDetailedSlowLogs返回参数结构体
|
|
5357
|
+
|
|
5358
|
+
"""
|
|
5359
|
+
|
|
5360
|
+
def __init__(self):
|
|
5361
|
+
r"""
|
|
5362
|
+
:param _TotalCount: 满足条件的慢日志数量
|
|
5363
|
+
:type TotalCount: int
|
|
5364
|
+
:param _DetailedSlowLogs: 慢日志详情
|
|
5365
|
+
:type DetailedSlowLogs: list of SlowLogItem
|
|
5366
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5367
|
+
:type RequestId: str
|
|
5368
|
+
"""
|
|
5369
|
+
self._TotalCount = None
|
|
5370
|
+
self._DetailedSlowLogs = None
|
|
5371
|
+
self._RequestId = None
|
|
5372
|
+
|
|
5373
|
+
@property
|
|
5374
|
+
def TotalCount(self):
|
|
5375
|
+
"""满足条件的慢日志数量
|
|
5376
|
+
:rtype: int
|
|
5377
|
+
"""
|
|
5378
|
+
return self._TotalCount
|
|
5379
|
+
|
|
5380
|
+
@TotalCount.setter
|
|
5381
|
+
def TotalCount(self, TotalCount):
|
|
5382
|
+
self._TotalCount = TotalCount
|
|
5383
|
+
|
|
5384
|
+
@property
|
|
5385
|
+
def DetailedSlowLogs(self):
|
|
5386
|
+
"""慢日志详情
|
|
5387
|
+
:rtype: list of SlowLogItem
|
|
5388
|
+
"""
|
|
5389
|
+
return self._DetailedSlowLogs
|
|
5390
|
+
|
|
5391
|
+
@DetailedSlowLogs.setter
|
|
5392
|
+
def DetailedSlowLogs(self, DetailedSlowLogs):
|
|
5393
|
+
self._DetailedSlowLogs = DetailedSlowLogs
|
|
5394
|
+
|
|
5395
|
+
@property
|
|
5396
|
+
def RequestId(self):
|
|
5397
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5398
|
+
:rtype: str
|
|
5399
|
+
"""
|
|
5400
|
+
return self._RequestId
|
|
5401
|
+
|
|
5402
|
+
@RequestId.setter
|
|
5403
|
+
def RequestId(self, RequestId):
|
|
5404
|
+
self._RequestId = RequestId
|
|
5405
|
+
|
|
5406
|
+
|
|
5407
|
+
def _deserialize(self, params):
|
|
5408
|
+
self._TotalCount = params.get("TotalCount")
|
|
5409
|
+
if params.get("DetailedSlowLogs") is not None:
|
|
5410
|
+
self._DetailedSlowLogs = []
|
|
5411
|
+
for item in params.get("DetailedSlowLogs"):
|
|
5412
|
+
obj = SlowLogItem()
|
|
5413
|
+
obj._deserialize(item)
|
|
5414
|
+
self._DetailedSlowLogs.append(obj)
|
|
5415
|
+
self._RequestId = params.get("RequestId")
|
|
5416
|
+
|
|
5417
|
+
|
|
5154
5418
|
class DescribeInstanceParamsRequest(AbstractModel):
|
|
5155
5419
|
"""DescribeInstanceParams请求参数结构体
|
|
5156
5420
|
|
|
@@ -11532,6 +11796,72 @@ class ShardInfo(AbstractModel):
|
|
|
11532
11796
|
|
|
11533
11797
|
|
|
11534
11798
|
|
|
11799
|
+
class SlowLogItem(AbstractModel):
|
|
11800
|
+
"""慢日志详情
|
|
11801
|
+
|
|
11802
|
+
"""
|
|
11803
|
+
|
|
11804
|
+
def __init__(self):
|
|
11805
|
+
r"""
|
|
11806
|
+
:param _Log: 慢日志
|
|
11807
|
+
:type Log: str
|
|
11808
|
+
:param _NodeName: 节点名称
|
|
11809
|
+
:type NodeName: str
|
|
11810
|
+
:param _QueryHash: queryHash
|
|
11811
|
+
:type QueryHash: str
|
|
11812
|
+
"""
|
|
11813
|
+
self._Log = None
|
|
11814
|
+
self._NodeName = None
|
|
11815
|
+
self._QueryHash = None
|
|
11816
|
+
|
|
11817
|
+
@property
|
|
11818
|
+
def Log(self):
|
|
11819
|
+
"""慢日志
|
|
11820
|
+
:rtype: str
|
|
11821
|
+
"""
|
|
11822
|
+
return self._Log
|
|
11823
|
+
|
|
11824
|
+
@Log.setter
|
|
11825
|
+
def Log(self, Log):
|
|
11826
|
+
self._Log = Log
|
|
11827
|
+
|
|
11828
|
+
@property
|
|
11829
|
+
def NodeName(self):
|
|
11830
|
+
"""节点名称
|
|
11831
|
+
:rtype: str
|
|
11832
|
+
"""
|
|
11833
|
+
return self._NodeName
|
|
11834
|
+
|
|
11835
|
+
@NodeName.setter
|
|
11836
|
+
def NodeName(self, NodeName):
|
|
11837
|
+
self._NodeName = NodeName
|
|
11838
|
+
|
|
11839
|
+
@property
|
|
11840
|
+
def QueryHash(self):
|
|
11841
|
+
"""queryHash
|
|
11842
|
+
:rtype: str
|
|
11843
|
+
"""
|
|
11844
|
+
return self._QueryHash
|
|
11845
|
+
|
|
11846
|
+
@QueryHash.setter
|
|
11847
|
+
def QueryHash(self, QueryHash):
|
|
11848
|
+
self._QueryHash = QueryHash
|
|
11849
|
+
|
|
11850
|
+
|
|
11851
|
+
def _deserialize(self, params):
|
|
11852
|
+
self._Log = params.get("Log")
|
|
11853
|
+
self._NodeName = params.get("NodeName")
|
|
11854
|
+
self._QueryHash = params.get("QueryHash")
|
|
11855
|
+
memeber_set = set(params.keys())
|
|
11856
|
+
for name, value in vars(self).items():
|
|
11857
|
+
property_name = name[1:]
|
|
11858
|
+
if property_name in memeber_set:
|
|
11859
|
+
memeber_set.remove(property_name)
|
|
11860
|
+
if len(memeber_set) > 0:
|
|
11861
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11862
|
+
|
|
11863
|
+
|
|
11864
|
+
|
|
11535
11865
|
class SlowLogPattern(AbstractModel):
|
|
11536
11866
|
"""用于描述MongoDB数据库慢日志统计信息
|
|
11537
11867
|
|
|
@@ -11541,6 +11871,8 @@ class SlowLogPattern(AbstractModel):
|
|
|
11541
11871
|
r"""
|
|
11542
11872
|
:param _Pattern: 慢日志模式
|
|
11543
11873
|
:type Pattern: str
|
|
11874
|
+
:param _QueryHash: queryHash
|
|
11875
|
+
:type QueryHash: str
|
|
11544
11876
|
:param _MaxTime: 最大执行时间
|
|
11545
11877
|
:type MaxTime: int
|
|
11546
11878
|
:param _AverageTime: 平均执行时间
|
|
@@ -11549,6 +11881,7 @@ class SlowLogPattern(AbstractModel):
|
|
|
11549
11881
|
:type Total: int
|
|
11550
11882
|
"""
|
|
11551
11883
|
self._Pattern = None
|
|
11884
|
+
self._QueryHash = None
|
|
11552
11885
|
self._MaxTime = None
|
|
11553
11886
|
self._AverageTime = None
|
|
11554
11887
|
self._Total = None
|
|
@@ -11564,6 +11897,17 @@ class SlowLogPattern(AbstractModel):
|
|
|
11564
11897
|
def Pattern(self, Pattern):
|
|
11565
11898
|
self._Pattern = Pattern
|
|
11566
11899
|
|
|
11900
|
+
@property
|
|
11901
|
+
def QueryHash(self):
|
|
11902
|
+
"""queryHash
|
|
11903
|
+
:rtype: str
|
|
11904
|
+
"""
|
|
11905
|
+
return self._QueryHash
|
|
11906
|
+
|
|
11907
|
+
@QueryHash.setter
|
|
11908
|
+
def QueryHash(self, QueryHash):
|
|
11909
|
+
self._QueryHash = QueryHash
|
|
11910
|
+
|
|
11567
11911
|
@property
|
|
11568
11912
|
def MaxTime(self):
|
|
11569
11913
|
"""最大执行时间
|
|
@@ -11600,6 +11944,7 @@ class SlowLogPattern(AbstractModel):
|
|
|
11600
11944
|
|
|
11601
11945
|
def _deserialize(self, params):
|
|
11602
11946
|
self._Pattern = params.get("Pattern")
|
|
11947
|
+
self._QueryHash = params.get("QueryHash")
|
|
11603
11948
|
self._MaxTime = params.get("MaxTime")
|
|
11604
11949
|
self._AverageTime = params.get("AverageTime")
|
|
11605
11950
|
self._Total = params.get("Total")
|
|
@@ -535,6 +535,29 @@ class MongodbClient(AbstractClient):
|
|
|
535
535
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
536
536
|
|
|
537
537
|
|
|
538
|
+
def DescribeDetailedSlowLogs(self, request):
|
|
539
|
+
"""查询实例慢日志详情
|
|
540
|
+
|
|
541
|
+
:param request: Request instance for DescribeDetailedSlowLogs.
|
|
542
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDetailedSlowLogsRequest`
|
|
543
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDetailedSlowLogsResponse`
|
|
544
|
+
|
|
545
|
+
"""
|
|
546
|
+
try:
|
|
547
|
+
params = request._serialize()
|
|
548
|
+
headers = request.headers
|
|
549
|
+
body = self.call("DescribeDetailedSlowLogs", params, headers=headers)
|
|
550
|
+
response = json.loads(body)
|
|
551
|
+
model = models.DescribeDetailedSlowLogsResponse()
|
|
552
|
+
model._deserialize(response["Response"])
|
|
553
|
+
return model
|
|
554
|
+
except Exception as e:
|
|
555
|
+
if isinstance(e, TencentCloudSDKException):
|
|
556
|
+
raise
|
|
557
|
+
else:
|
|
558
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
559
|
+
|
|
560
|
+
|
|
538
561
|
def DescribeInstanceParams(self, request):
|
|
539
562
|
"""本接口(DescribeInstanceParams)用于查询当前实例可修改的参数列表。
|
|
540
563
|
|
tencentcloud-sdk-python-mongodb-3.0.1412/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1412
|
tencentcloud-sdk-python-mongodb-3.0.1394/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1394
|
{tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-mongodb-3.0.1394 → tencentcloud-sdk-python-mongodb-3.0.1412}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|