tencentcloud-sdk-python-mongodb 3.0.1195__tar.gz → 3.0.1196__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.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/setup.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20190725/models.py +750 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20190725/mongodb_client.py +120 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud_sdk_python_mongodb.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-mongodb-3.0.1196/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-mongodb-3.0.1195/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/README.rst +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/setup.cfg +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20180408/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20180408/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20180408/models.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20180408/mongodb_client.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20190725/__init__.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud/mongodb/v20190725/errorcodes.py +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud_sdk_python_mongodb.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud_sdk_python_mongodb.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/tencentcloud_sdk_python_mongodb.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/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.1196"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Mongodb SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1363,6 +1363,142 @@ class CreateDBInstanceHourResponse(AbstractModel):
|
|
|
1363
1363
|
self._RequestId = params.get("RequestId")
|
|
1364
1364
|
|
|
1365
1365
|
|
|
1366
|
+
class CreateDBInstanceParamTplRequest(AbstractModel):
|
|
1367
|
+
"""CreateDBInstanceParamTpl请求参数结构体
|
|
1368
|
+
|
|
1369
|
+
"""
|
|
1370
|
+
|
|
1371
|
+
def __init__(self):
|
|
1372
|
+
r"""
|
|
1373
|
+
:param _TplName: 参数模板名称。
|
|
1374
|
+
:type TplName: str
|
|
1375
|
+
:param _MongoVersion: 版本号,该参数模板支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。当MirrorTplId为空时,该字段必填。
|
|
1376
|
+
:type MongoVersion: str
|
|
1377
|
+
:param _ClusterType: 实例类型,REPLSET-副本集,SHARD-分片集群,STANDALONE-单节点
|
|
1378
|
+
当MirrorTplId为空时,该字段必填。
|
|
1379
|
+
:type ClusterType: str
|
|
1380
|
+
:param _TplDesc: 模板描述信息。
|
|
1381
|
+
:type TplDesc: str
|
|
1382
|
+
:param _Params: 模板参数,若为空,则以系统默认模板作为新版本参数。
|
|
1383
|
+
:type Params: list of ParamType
|
|
1384
|
+
:param _MirrorTplId: 镜像模板ID,若该字段不为空,则以该模板为镜像,克隆出一个新的模板。注意:MirrorTplId不为空时,MongoVersion及ClusterType将以MirrorTpl模板的版本及实例类型为准。
|
|
1385
|
+
:type MirrorTplId: str
|
|
1386
|
+
"""
|
|
1387
|
+
self._TplName = None
|
|
1388
|
+
self._MongoVersion = None
|
|
1389
|
+
self._ClusterType = None
|
|
1390
|
+
self._TplDesc = None
|
|
1391
|
+
self._Params = None
|
|
1392
|
+
self._MirrorTplId = None
|
|
1393
|
+
|
|
1394
|
+
@property
|
|
1395
|
+
def TplName(self):
|
|
1396
|
+
return self._TplName
|
|
1397
|
+
|
|
1398
|
+
@TplName.setter
|
|
1399
|
+
def TplName(self, TplName):
|
|
1400
|
+
self._TplName = TplName
|
|
1401
|
+
|
|
1402
|
+
@property
|
|
1403
|
+
def MongoVersion(self):
|
|
1404
|
+
return self._MongoVersion
|
|
1405
|
+
|
|
1406
|
+
@MongoVersion.setter
|
|
1407
|
+
def MongoVersion(self, MongoVersion):
|
|
1408
|
+
self._MongoVersion = MongoVersion
|
|
1409
|
+
|
|
1410
|
+
@property
|
|
1411
|
+
def ClusterType(self):
|
|
1412
|
+
return self._ClusterType
|
|
1413
|
+
|
|
1414
|
+
@ClusterType.setter
|
|
1415
|
+
def ClusterType(self, ClusterType):
|
|
1416
|
+
self._ClusterType = ClusterType
|
|
1417
|
+
|
|
1418
|
+
@property
|
|
1419
|
+
def TplDesc(self):
|
|
1420
|
+
return self._TplDesc
|
|
1421
|
+
|
|
1422
|
+
@TplDesc.setter
|
|
1423
|
+
def TplDesc(self, TplDesc):
|
|
1424
|
+
self._TplDesc = TplDesc
|
|
1425
|
+
|
|
1426
|
+
@property
|
|
1427
|
+
def Params(self):
|
|
1428
|
+
return self._Params
|
|
1429
|
+
|
|
1430
|
+
@Params.setter
|
|
1431
|
+
def Params(self, Params):
|
|
1432
|
+
self._Params = Params
|
|
1433
|
+
|
|
1434
|
+
@property
|
|
1435
|
+
def MirrorTplId(self):
|
|
1436
|
+
return self._MirrorTplId
|
|
1437
|
+
|
|
1438
|
+
@MirrorTplId.setter
|
|
1439
|
+
def MirrorTplId(self, MirrorTplId):
|
|
1440
|
+
self._MirrorTplId = MirrorTplId
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
def _deserialize(self, params):
|
|
1444
|
+
self._TplName = params.get("TplName")
|
|
1445
|
+
self._MongoVersion = params.get("MongoVersion")
|
|
1446
|
+
self._ClusterType = params.get("ClusterType")
|
|
1447
|
+
self._TplDesc = params.get("TplDesc")
|
|
1448
|
+
if params.get("Params") is not None:
|
|
1449
|
+
self._Params = []
|
|
1450
|
+
for item in params.get("Params"):
|
|
1451
|
+
obj = ParamType()
|
|
1452
|
+
obj._deserialize(item)
|
|
1453
|
+
self._Params.append(obj)
|
|
1454
|
+
self._MirrorTplId = params.get("MirrorTplId")
|
|
1455
|
+
memeber_set = set(params.keys())
|
|
1456
|
+
for name, value in vars(self).items():
|
|
1457
|
+
property_name = name[1:]
|
|
1458
|
+
if property_name in memeber_set:
|
|
1459
|
+
memeber_set.remove(property_name)
|
|
1460
|
+
if len(memeber_set) > 0:
|
|
1461
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
class CreateDBInstanceParamTplResponse(AbstractModel):
|
|
1466
|
+
"""CreateDBInstanceParamTpl返回参数结构体
|
|
1467
|
+
|
|
1468
|
+
"""
|
|
1469
|
+
|
|
1470
|
+
def __init__(self):
|
|
1471
|
+
r"""
|
|
1472
|
+
:param _TplId: 模板ID
|
|
1473
|
+
:type TplId: str
|
|
1474
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1475
|
+
:type RequestId: str
|
|
1476
|
+
"""
|
|
1477
|
+
self._TplId = None
|
|
1478
|
+
self._RequestId = None
|
|
1479
|
+
|
|
1480
|
+
@property
|
|
1481
|
+
def TplId(self):
|
|
1482
|
+
return self._TplId
|
|
1483
|
+
|
|
1484
|
+
@TplId.setter
|
|
1485
|
+
def TplId(self, TplId):
|
|
1486
|
+
self._TplId = TplId
|
|
1487
|
+
|
|
1488
|
+
@property
|
|
1489
|
+
def RequestId(self):
|
|
1490
|
+
return self._RequestId
|
|
1491
|
+
|
|
1492
|
+
@RequestId.setter
|
|
1493
|
+
def RequestId(self, RequestId):
|
|
1494
|
+
self._RequestId = RequestId
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
def _deserialize(self, params):
|
|
1498
|
+
self._TplId = params.get("TplId")
|
|
1499
|
+
self._RequestId = params.get("RequestId")
|
|
1500
|
+
|
|
1501
|
+
|
|
1366
1502
|
class CreateDBInstanceRequest(AbstractModel):
|
|
1367
1503
|
"""CreateDBInstance请求参数结构体
|
|
1368
1504
|
|
|
@@ -3294,6 +3430,325 @@ class DescribeDBInstanceNodePropertyResponse(AbstractModel):
|
|
|
3294
3430
|
self._RequestId = params.get("RequestId")
|
|
3295
3431
|
|
|
3296
3432
|
|
|
3433
|
+
class DescribeDBInstanceParamTplDetailRequest(AbstractModel):
|
|
3434
|
+
"""DescribeDBInstanceParamTplDetail请求参数结构体
|
|
3435
|
+
|
|
3436
|
+
"""
|
|
3437
|
+
|
|
3438
|
+
def __init__(self):
|
|
3439
|
+
r"""
|
|
3440
|
+
:param _TplId: 参数模板 ID。
|
|
3441
|
+
:type TplId: str
|
|
3442
|
+
:param _ParamName: 参数名称,传入该值,则只会获取该字段的参数详情。为空时,返回全部参数。
|
|
3443
|
+
:type ParamName: str
|
|
3444
|
+
"""
|
|
3445
|
+
self._TplId = None
|
|
3446
|
+
self._ParamName = None
|
|
3447
|
+
|
|
3448
|
+
@property
|
|
3449
|
+
def TplId(self):
|
|
3450
|
+
return self._TplId
|
|
3451
|
+
|
|
3452
|
+
@TplId.setter
|
|
3453
|
+
def TplId(self, TplId):
|
|
3454
|
+
self._TplId = TplId
|
|
3455
|
+
|
|
3456
|
+
@property
|
|
3457
|
+
def ParamName(self):
|
|
3458
|
+
return self._ParamName
|
|
3459
|
+
|
|
3460
|
+
@ParamName.setter
|
|
3461
|
+
def ParamName(self, ParamName):
|
|
3462
|
+
self._ParamName = ParamName
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
def _deserialize(self, params):
|
|
3466
|
+
self._TplId = params.get("TplId")
|
|
3467
|
+
self._ParamName = params.get("ParamName")
|
|
3468
|
+
memeber_set = set(params.keys())
|
|
3469
|
+
for name, value in vars(self).items():
|
|
3470
|
+
property_name = name[1:]
|
|
3471
|
+
if property_name in memeber_set:
|
|
3472
|
+
memeber_set.remove(property_name)
|
|
3473
|
+
if len(memeber_set) > 0:
|
|
3474
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
|
|
3479
|
+
"""DescribeDBInstanceParamTplDetail返回参数结构体
|
|
3480
|
+
|
|
3481
|
+
"""
|
|
3482
|
+
|
|
3483
|
+
def __init__(self):
|
|
3484
|
+
r"""
|
|
3485
|
+
:param _InstanceEnumParams: 枚举类参数详情列表。
|
|
3486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3487
|
+
:type InstanceEnumParams: list of InstanceEnumParam
|
|
3488
|
+
:param _InstanceIntegerParams: 整形参数详情列表。
|
|
3489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3490
|
+
:type InstanceIntegerParams: list of InstanceIntegerParam
|
|
3491
|
+
:param _InstanceTextParams: 文本参数详情列表。
|
|
3492
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3493
|
+
:type InstanceTextParams: list of InstanceTextParam
|
|
3494
|
+
:param _InstanceMultiParams: 多值参数详情列表。
|
|
3495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3496
|
+
:type InstanceMultiParams: list of InstanceMultiParam
|
|
3497
|
+
:param _TotalCount: 参数总个数。
|
|
3498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3499
|
+
:type TotalCount: int
|
|
3500
|
+
:param _MongoVersion: 模板适配实例版本。
|
|
3501
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3502
|
+
:type MongoVersion: str
|
|
3503
|
+
:param _ClusterType: 模板适配集群类型,副本集或分片。。
|
|
3504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3505
|
+
:type ClusterType: str
|
|
3506
|
+
:param _TplName: 参数模板名称。
|
|
3507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3508
|
+
:type TplName: str
|
|
3509
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3510
|
+
:type RequestId: str
|
|
3511
|
+
"""
|
|
3512
|
+
self._InstanceEnumParams = None
|
|
3513
|
+
self._InstanceIntegerParams = None
|
|
3514
|
+
self._InstanceTextParams = None
|
|
3515
|
+
self._InstanceMultiParams = None
|
|
3516
|
+
self._TotalCount = None
|
|
3517
|
+
self._MongoVersion = None
|
|
3518
|
+
self._ClusterType = None
|
|
3519
|
+
self._TplName = None
|
|
3520
|
+
self._RequestId = None
|
|
3521
|
+
|
|
3522
|
+
@property
|
|
3523
|
+
def InstanceEnumParams(self):
|
|
3524
|
+
return self._InstanceEnumParams
|
|
3525
|
+
|
|
3526
|
+
@InstanceEnumParams.setter
|
|
3527
|
+
def InstanceEnumParams(self, InstanceEnumParams):
|
|
3528
|
+
self._InstanceEnumParams = InstanceEnumParams
|
|
3529
|
+
|
|
3530
|
+
@property
|
|
3531
|
+
def InstanceIntegerParams(self):
|
|
3532
|
+
return self._InstanceIntegerParams
|
|
3533
|
+
|
|
3534
|
+
@InstanceIntegerParams.setter
|
|
3535
|
+
def InstanceIntegerParams(self, InstanceIntegerParams):
|
|
3536
|
+
self._InstanceIntegerParams = InstanceIntegerParams
|
|
3537
|
+
|
|
3538
|
+
@property
|
|
3539
|
+
def InstanceTextParams(self):
|
|
3540
|
+
return self._InstanceTextParams
|
|
3541
|
+
|
|
3542
|
+
@InstanceTextParams.setter
|
|
3543
|
+
def InstanceTextParams(self, InstanceTextParams):
|
|
3544
|
+
self._InstanceTextParams = InstanceTextParams
|
|
3545
|
+
|
|
3546
|
+
@property
|
|
3547
|
+
def InstanceMultiParams(self):
|
|
3548
|
+
return self._InstanceMultiParams
|
|
3549
|
+
|
|
3550
|
+
@InstanceMultiParams.setter
|
|
3551
|
+
def InstanceMultiParams(self, InstanceMultiParams):
|
|
3552
|
+
self._InstanceMultiParams = InstanceMultiParams
|
|
3553
|
+
|
|
3554
|
+
@property
|
|
3555
|
+
def TotalCount(self):
|
|
3556
|
+
return self._TotalCount
|
|
3557
|
+
|
|
3558
|
+
@TotalCount.setter
|
|
3559
|
+
def TotalCount(self, TotalCount):
|
|
3560
|
+
self._TotalCount = TotalCount
|
|
3561
|
+
|
|
3562
|
+
@property
|
|
3563
|
+
def MongoVersion(self):
|
|
3564
|
+
return self._MongoVersion
|
|
3565
|
+
|
|
3566
|
+
@MongoVersion.setter
|
|
3567
|
+
def MongoVersion(self, MongoVersion):
|
|
3568
|
+
self._MongoVersion = MongoVersion
|
|
3569
|
+
|
|
3570
|
+
@property
|
|
3571
|
+
def ClusterType(self):
|
|
3572
|
+
return self._ClusterType
|
|
3573
|
+
|
|
3574
|
+
@ClusterType.setter
|
|
3575
|
+
def ClusterType(self, ClusterType):
|
|
3576
|
+
self._ClusterType = ClusterType
|
|
3577
|
+
|
|
3578
|
+
@property
|
|
3579
|
+
def TplName(self):
|
|
3580
|
+
return self._TplName
|
|
3581
|
+
|
|
3582
|
+
@TplName.setter
|
|
3583
|
+
def TplName(self, TplName):
|
|
3584
|
+
self._TplName = TplName
|
|
3585
|
+
|
|
3586
|
+
@property
|
|
3587
|
+
def RequestId(self):
|
|
3588
|
+
return self._RequestId
|
|
3589
|
+
|
|
3590
|
+
@RequestId.setter
|
|
3591
|
+
def RequestId(self, RequestId):
|
|
3592
|
+
self._RequestId = RequestId
|
|
3593
|
+
|
|
3594
|
+
|
|
3595
|
+
def _deserialize(self, params):
|
|
3596
|
+
if params.get("InstanceEnumParams") is not None:
|
|
3597
|
+
self._InstanceEnumParams = []
|
|
3598
|
+
for item in params.get("InstanceEnumParams"):
|
|
3599
|
+
obj = InstanceEnumParam()
|
|
3600
|
+
obj._deserialize(item)
|
|
3601
|
+
self._InstanceEnumParams.append(obj)
|
|
3602
|
+
if params.get("InstanceIntegerParams") is not None:
|
|
3603
|
+
self._InstanceIntegerParams = []
|
|
3604
|
+
for item in params.get("InstanceIntegerParams"):
|
|
3605
|
+
obj = InstanceIntegerParam()
|
|
3606
|
+
obj._deserialize(item)
|
|
3607
|
+
self._InstanceIntegerParams.append(obj)
|
|
3608
|
+
if params.get("InstanceTextParams") is not None:
|
|
3609
|
+
self._InstanceTextParams = []
|
|
3610
|
+
for item in params.get("InstanceTextParams"):
|
|
3611
|
+
obj = InstanceTextParam()
|
|
3612
|
+
obj._deserialize(item)
|
|
3613
|
+
self._InstanceTextParams.append(obj)
|
|
3614
|
+
if params.get("InstanceMultiParams") is not None:
|
|
3615
|
+
self._InstanceMultiParams = []
|
|
3616
|
+
for item in params.get("InstanceMultiParams"):
|
|
3617
|
+
obj = InstanceMultiParam()
|
|
3618
|
+
obj._deserialize(item)
|
|
3619
|
+
self._InstanceMultiParams.append(obj)
|
|
3620
|
+
self._TotalCount = params.get("TotalCount")
|
|
3621
|
+
self._MongoVersion = params.get("MongoVersion")
|
|
3622
|
+
self._ClusterType = params.get("ClusterType")
|
|
3623
|
+
self._TplName = params.get("TplName")
|
|
3624
|
+
self._RequestId = params.get("RequestId")
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
class DescribeDBInstanceParamTplRequest(AbstractModel):
|
|
3628
|
+
"""DescribeDBInstanceParamTpl请求参数结构体
|
|
3629
|
+
|
|
3630
|
+
"""
|
|
3631
|
+
|
|
3632
|
+
def __init__(self):
|
|
3633
|
+
r"""
|
|
3634
|
+
:param _TplIds: 参数模板 ID 查询条件。
|
|
3635
|
+
:type TplIds: list of str
|
|
3636
|
+
:param _TplNames: 模板名称,查询条件。
|
|
3637
|
+
:type TplNames: list of str
|
|
3638
|
+
:param _MongoVersion: 根据版本号插叙参数模板,具体支持的售卖版本请参照查询云数据库的售卖规格(DescribeSpecInfo)返回结果。参数与版本对应关系是:MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
|
3639
|
+
:type MongoVersion: list of str
|
|
3640
|
+
:param _TplType: 根据模板类型查询参数模板,支持DEFAULT(默认模板)和CUSTOMIZE(自定义模板)两种。
|
|
3641
|
+
:type TplType: str
|
|
3642
|
+
"""
|
|
3643
|
+
self._TplIds = None
|
|
3644
|
+
self._TplNames = None
|
|
3645
|
+
self._MongoVersion = None
|
|
3646
|
+
self._TplType = None
|
|
3647
|
+
|
|
3648
|
+
@property
|
|
3649
|
+
def TplIds(self):
|
|
3650
|
+
return self._TplIds
|
|
3651
|
+
|
|
3652
|
+
@TplIds.setter
|
|
3653
|
+
def TplIds(self, TplIds):
|
|
3654
|
+
self._TplIds = TplIds
|
|
3655
|
+
|
|
3656
|
+
@property
|
|
3657
|
+
def TplNames(self):
|
|
3658
|
+
return self._TplNames
|
|
3659
|
+
|
|
3660
|
+
@TplNames.setter
|
|
3661
|
+
def TplNames(self, TplNames):
|
|
3662
|
+
self._TplNames = TplNames
|
|
3663
|
+
|
|
3664
|
+
@property
|
|
3665
|
+
def MongoVersion(self):
|
|
3666
|
+
return self._MongoVersion
|
|
3667
|
+
|
|
3668
|
+
@MongoVersion.setter
|
|
3669
|
+
def MongoVersion(self, MongoVersion):
|
|
3670
|
+
self._MongoVersion = MongoVersion
|
|
3671
|
+
|
|
3672
|
+
@property
|
|
3673
|
+
def TplType(self):
|
|
3674
|
+
return self._TplType
|
|
3675
|
+
|
|
3676
|
+
@TplType.setter
|
|
3677
|
+
def TplType(self, TplType):
|
|
3678
|
+
self._TplType = TplType
|
|
3679
|
+
|
|
3680
|
+
|
|
3681
|
+
def _deserialize(self, params):
|
|
3682
|
+
self._TplIds = params.get("TplIds")
|
|
3683
|
+
self._TplNames = params.get("TplNames")
|
|
3684
|
+
self._MongoVersion = params.get("MongoVersion")
|
|
3685
|
+
self._TplType = params.get("TplType")
|
|
3686
|
+
memeber_set = set(params.keys())
|
|
3687
|
+
for name, value in vars(self).items():
|
|
3688
|
+
property_name = name[1:]
|
|
3689
|
+
if property_name in memeber_set:
|
|
3690
|
+
memeber_set.remove(property_name)
|
|
3691
|
+
if len(memeber_set) > 0:
|
|
3692
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3693
|
+
|
|
3694
|
+
|
|
3695
|
+
|
|
3696
|
+
class DescribeDBInstanceParamTplResponse(AbstractModel):
|
|
3697
|
+
"""DescribeDBInstanceParamTpl返回参数结构体
|
|
3698
|
+
|
|
3699
|
+
"""
|
|
3700
|
+
|
|
3701
|
+
def __init__(self):
|
|
3702
|
+
r"""
|
|
3703
|
+
:param _ParamTpls: 参数模板列表信息。
|
|
3704
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3705
|
+
:type ParamTpls: list of ParamTpl
|
|
3706
|
+
:param _TotalCount: 参数模板总数。
|
|
3707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3708
|
+
:type TotalCount: int
|
|
3709
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3710
|
+
:type RequestId: str
|
|
3711
|
+
"""
|
|
3712
|
+
self._ParamTpls = None
|
|
3713
|
+
self._TotalCount = None
|
|
3714
|
+
self._RequestId = None
|
|
3715
|
+
|
|
3716
|
+
@property
|
|
3717
|
+
def ParamTpls(self):
|
|
3718
|
+
return self._ParamTpls
|
|
3719
|
+
|
|
3720
|
+
@ParamTpls.setter
|
|
3721
|
+
def ParamTpls(self, ParamTpls):
|
|
3722
|
+
self._ParamTpls = ParamTpls
|
|
3723
|
+
|
|
3724
|
+
@property
|
|
3725
|
+
def TotalCount(self):
|
|
3726
|
+
return self._TotalCount
|
|
3727
|
+
|
|
3728
|
+
@TotalCount.setter
|
|
3729
|
+
def TotalCount(self, TotalCount):
|
|
3730
|
+
self._TotalCount = TotalCount
|
|
3731
|
+
|
|
3732
|
+
@property
|
|
3733
|
+
def RequestId(self):
|
|
3734
|
+
return self._RequestId
|
|
3735
|
+
|
|
3736
|
+
@RequestId.setter
|
|
3737
|
+
def RequestId(self, RequestId):
|
|
3738
|
+
self._RequestId = RequestId
|
|
3739
|
+
|
|
3740
|
+
|
|
3741
|
+
def _deserialize(self, params):
|
|
3742
|
+
if params.get("ParamTpls") is not None:
|
|
3743
|
+
self._ParamTpls = []
|
|
3744
|
+
for item in params.get("ParamTpls"):
|
|
3745
|
+
obj = ParamTpl()
|
|
3746
|
+
obj._deserialize(item)
|
|
3747
|
+
self._ParamTpls.append(obj)
|
|
3748
|
+
self._TotalCount = params.get("TotalCount")
|
|
3749
|
+
self._RequestId = params.get("RequestId")
|
|
3750
|
+
|
|
3751
|
+
|
|
3297
3752
|
class DescribeDBInstancesRequest(AbstractModel):
|
|
3298
3753
|
"""DescribeDBInstances请求参数结构体
|
|
3299
3754
|
|
|
@@ -4240,6 +4695,64 @@ class DescribeTransparentDataEncryptionStatusResponse(AbstractModel):
|
|
|
4240
4695
|
self._RequestId = params.get("RequestId")
|
|
4241
4696
|
|
|
4242
4697
|
|
|
4698
|
+
class DropDBInstanceParamTplRequest(AbstractModel):
|
|
4699
|
+
"""DropDBInstanceParamTpl请求参数结构体
|
|
4700
|
+
|
|
4701
|
+
"""
|
|
4702
|
+
|
|
4703
|
+
def __init__(self):
|
|
4704
|
+
r"""
|
|
4705
|
+
:param _TplId: 参数模板 ID。
|
|
4706
|
+
:type TplId: str
|
|
4707
|
+
"""
|
|
4708
|
+
self._TplId = None
|
|
4709
|
+
|
|
4710
|
+
@property
|
|
4711
|
+
def TplId(self):
|
|
4712
|
+
return self._TplId
|
|
4713
|
+
|
|
4714
|
+
@TplId.setter
|
|
4715
|
+
def TplId(self, TplId):
|
|
4716
|
+
self._TplId = TplId
|
|
4717
|
+
|
|
4718
|
+
|
|
4719
|
+
def _deserialize(self, params):
|
|
4720
|
+
self._TplId = params.get("TplId")
|
|
4721
|
+
memeber_set = set(params.keys())
|
|
4722
|
+
for name, value in vars(self).items():
|
|
4723
|
+
property_name = name[1:]
|
|
4724
|
+
if property_name in memeber_set:
|
|
4725
|
+
memeber_set.remove(property_name)
|
|
4726
|
+
if len(memeber_set) > 0:
|
|
4727
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4728
|
+
|
|
4729
|
+
|
|
4730
|
+
|
|
4731
|
+
class DropDBInstanceParamTplResponse(AbstractModel):
|
|
4732
|
+
"""DropDBInstanceParamTpl返回参数结构体
|
|
4733
|
+
|
|
4734
|
+
"""
|
|
4735
|
+
|
|
4736
|
+
def __init__(self):
|
|
4737
|
+
r"""
|
|
4738
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4739
|
+
:type RequestId: str
|
|
4740
|
+
"""
|
|
4741
|
+
self._RequestId = None
|
|
4742
|
+
|
|
4743
|
+
@property
|
|
4744
|
+
def RequestId(self):
|
|
4745
|
+
return self._RequestId
|
|
4746
|
+
|
|
4747
|
+
@RequestId.setter
|
|
4748
|
+
def RequestId(self, RequestId):
|
|
4749
|
+
self._RequestId = RequestId
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
def _deserialize(self, params):
|
|
4753
|
+
self._RequestId = params.get("RequestId")
|
|
4754
|
+
|
|
4755
|
+
|
|
4243
4756
|
class EnableTransparentDataEncryptionRequest(AbstractModel):
|
|
4244
4757
|
"""EnableTransparentDataEncryption请求参数结构体
|
|
4245
4758
|
|
|
@@ -6716,6 +7229,105 @@ class ModifyDBInstanceNetworkAddressResponse(AbstractModel):
|
|
|
6716
7229
|
self._RequestId = params.get("RequestId")
|
|
6717
7230
|
|
|
6718
7231
|
|
|
7232
|
+
class ModifyDBInstanceParamTplRequest(AbstractModel):
|
|
7233
|
+
"""ModifyDBInstanceParamTpl请求参数结构体
|
|
7234
|
+
|
|
7235
|
+
"""
|
|
7236
|
+
|
|
7237
|
+
def __init__(self):
|
|
7238
|
+
r"""
|
|
7239
|
+
:param _TplId: 待修改的参数模板 ID,示例:tpl-jglr91vew。
|
|
7240
|
+
:type TplId: str
|
|
7241
|
+
:param _TplName: 待修改参数模板名称,为空时,保持原有名称。
|
|
7242
|
+
:type TplName: str
|
|
7243
|
+
:param _TplDesc: 待修改参数模板描述,为空时,保持原有描述。
|
|
7244
|
+
:type TplDesc: str
|
|
7245
|
+
:param _Params: 待修改参数名及参数值,为空时,各参数保持原有值,支持单条或批量修改。
|
|
7246
|
+
:type Params: list of ParamType
|
|
7247
|
+
"""
|
|
7248
|
+
self._TplId = None
|
|
7249
|
+
self._TplName = None
|
|
7250
|
+
self._TplDesc = None
|
|
7251
|
+
self._Params = None
|
|
7252
|
+
|
|
7253
|
+
@property
|
|
7254
|
+
def TplId(self):
|
|
7255
|
+
return self._TplId
|
|
7256
|
+
|
|
7257
|
+
@TplId.setter
|
|
7258
|
+
def TplId(self, TplId):
|
|
7259
|
+
self._TplId = TplId
|
|
7260
|
+
|
|
7261
|
+
@property
|
|
7262
|
+
def TplName(self):
|
|
7263
|
+
return self._TplName
|
|
7264
|
+
|
|
7265
|
+
@TplName.setter
|
|
7266
|
+
def TplName(self, TplName):
|
|
7267
|
+
self._TplName = TplName
|
|
7268
|
+
|
|
7269
|
+
@property
|
|
7270
|
+
def TplDesc(self):
|
|
7271
|
+
return self._TplDesc
|
|
7272
|
+
|
|
7273
|
+
@TplDesc.setter
|
|
7274
|
+
def TplDesc(self, TplDesc):
|
|
7275
|
+
self._TplDesc = TplDesc
|
|
7276
|
+
|
|
7277
|
+
@property
|
|
7278
|
+
def Params(self):
|
|
7279
|
+
return self._Params
|
|
7280
|
+
|
|
7281
|
+
@Params.setter
|
|
7282
|
+
def Params(self, Params):
|
|
7283
|
+
self._Params = Params
|
|
7284
|
+
|
|
7285
|
+
|
|
7286
|
+
def _deserialize(self, params):
|
|
7287
|
+
self._TplId = params.get("TplId")
|
|
7288
|
+
self._TplName = params.get("TplName")
|
|
7289
|
+
self._TplDesc = params.get("TplDesc")
|
|
7290
|
+
if params.get("Params") is not None:
|
|
7291
|
+
self._Params = []
|
|
7292
|
+
for item in params.get("Params"):
|
|
7293
|
+
obj = ParamType()
|
|
7294
|
+
obj._deserialize(item)
|
|
7295
|
+
self._Params.append(obj)
|
|
7296
|
+
memeber_set = set(params.keys())
|
|
7297
|
+
for name, value in vars(self).items():
|
|
7298
|
+
property_name = name[1:]
|
|
7299
|
+
if property_name in memeber_set:
|
|
7300
|
+
memeber_set.remove(property_name)
|
|
7301
|
+
if len(memeber_set) > 0:
|
|
7302
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7303
|
+
|
|
7304
|
+
|
|
7305
|
+
|
|
7306
|
+
class ModifyDBInstanceParamTplResponse(AbstractModel):
|
|
7307
|
+
"""ModifyDBInstanceParamTpl返回参数结构体
|
|
7308
|
+
|
|
7309
|
+
"""
|
|
7310
|
+
|
|
7311
|
+
def __init__(self):
|
|
7312
|
+
r"""
|
|
7313
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7314
|
+
:type RequestId: str
|
|
7315
|
+
"""
|
|
7316
|
+
self._RequestId = None
|
|
7317
|
+
|
|
7318
|
+
@property
|
|
7319
|
+
def RequestId(self):
|
|
7320
|
+
return self._RequestId
|
|
7321
|
+
|
|
7322
|
+
@RequestId.setter
|
|
7323
|
+
def RequestId(self, RequestId):
|
|
7324
|
+
self._RequestId = RequestId
|
|
7325
|
+
|
|
7326
|
+
|
|
7327
|
+
def _deserialize(self, params):
|
|
7328
|
+
self._RequestId = params.get("RequestId")
|
|
7329
|
+
|
|
7330
|
+
|
|
6719
7331
|
class ModifyDBInstanceSecurityGroupRequest(AbstractModel):
|
|
6720
7332
|
"""ModifyDBInstanceSecurityGroup请求参数结构体
|
|
6721
7333
|
|
|
@@ -7532,6 +8144,144 @@ class Operation(AbstractModel):
|
|
|
7532
8144
|
|
|
7533
8145
|
|
|
7534
8146
|
|
|
8147
|
+
class ParamTpl(AbstractModel):
|
|
8148
|
+
"""数据库参数模板
|
|
8149
|
+
|
|
8150
|
+
"""
|
|
8151
|
+
|
|
8152
|
+
def __init__(self):
|
|
8153
|
+
r"""
|
|
8154
|
+
:param _TplName: 参数模板名称
|
|
8155
|
+
:type TplName: str
|
|
8156
|
+
:param _TplId: 参数模板ID
|
|
8157
|
+
:type TplId: str
|
|
8158
|
+
:param _MongoVersion: 适用数据库版本
|
|
8159
|
+
:type MongoVersion: str
|
|
8160
|
+
:param _ClusterType: 适用数据库类型
|
|
8161
|
+
:type ClusterType: str
|
|
8162
|
+
:param _TplDesc: 参数模板描述
|
|
8163
|
+
:type TplDesc: str
|
|
8164
|
+
:param _TplType: 模板类型,包括DEFAULT(默认模板)及CUSTOMIZE(定制模板)两种类型
|
|
8165
|
+
:type TplType: str
|
|
8166
|
+
"""
|
|
8167
|
+
self._TplName = None
|
|
8168
|
+
self._TplId = None
|
|
8169
|
+
self._MongoVersion = None
|
|
8170
|
+
self._ClusterType = None
|
|
8171
|
+
self._TplDesc = None
|
|
8172
|
+
self._TplType = None
|
|
8173
|
+
|
|
8174
|
+
@property
|
|
8175
|
+
def TplName(self):
|
|
8176
|
+
return self._TplName
|
|
8177
|
+
|
|
8178
|
+
@TplName.setter
|
|
8179
|
+
def TplName(self, TplName):
|
|
8180
|
+
self._TplName = TplName
|
|
8181
|
+
|
|
8182
|
+
@property
|
|
8183
|
+
def TplId(self):
|
|
8184
|
+
return self._TplId
|
|
8185
|
+
|
|
8186
|
+
@TplId.setter
|
|
8187
|
+
def TplId(self, TplId):
|
|
8188
|
+
self._TplId = TplId
|
|
8189
|
+
|
|
8190
|
+
@property
|
|
8191
|
+
def MongoVersion(self):
|
|
8192
|
+
return self._MongoVersion
|
|
8193
|
+
|
|
8194
|
+
@MongoVersion.setter
|
|
8195
|
+
def MongoVersion(self, MongoVersion):
|
|
8196
|
+
self._MongoVersion = MongoVersion
|
|
8197
|
+
|
|
8198
|
+
@property
|
|
8199
|
+
def ClusterType(self):
|
|
8200
|
+
return self._ClusterType
|
|
8201
|
+
|
|
8202
|
+
@ClusterType.setter
|
|
8203
|
+
def ClusterType(self, ClusterType):
|
|
8204
|
+
self._ClusterType = ClusterType
|
|
8205
|
+
|
|
8206
|
+
@property
|
|
8207
|
+
def TplDesc(self):
|
|
8208
|
+
return self._TplDesc
|
|
8209
|
+
|
|
8210
|
+
@TplDesc.setter
|
|
8211
|
+
def TplDesc(self, TplDesc):
|
|
8212
|
+
self._TplDesc = TplDesc
|
|
8213
|
+
|
|
8214
|
+
@property
|
|
8215
|
+
def TplType(self):
|
|
8216
|
+
return self._TplType
|
|
8217
|
+
|
|
8218
|
+
@TplType.setter
|
|
8219
|
+
def TplType(self, TplType):
|
|
8220
|
+
self._TplType = TplType
|
|
8221
|
+
|
|
8222
|
+
|
|
8223
|
+
def _deserialize(self, params):
|
|
8224
|
+
self._TplName = params.get("TplName")
|
|
8225
|
+
self._TplId = params.get("TplId")
|
|
8226
|
+
self._MongoVersion = params.get("MongoVersion")
|
|
8227
|
+
self._ClusterType = params.get("ClusterType")
|
|
8228
|
+
self._TplDesc = params.get("TplDesc")
|
|
8229
|
+
self._TplType = params.get("TplType")
|
|
8230
|
+
memeber_set = set(params.keys())
|
|
8231
|
+
for name, value in vars(self).items():
|
|
8232
|
+
property_name = name[1:]
|
|
8233
|
+
if property_name in memeber_set:
|
|
8234
|
+
memeber_set.remove(property_name)
|
|
8235
|
+
if len(memeber_set) > 0:
|
|
8236
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8237
|
+
|
|
8238
|
+
|
|
8239
|
+
|
|
8240
|
+
class ParamType(AbstractModel):
|
|
8241
|
+
"""数据库参数
|
|
8242
|
+
|
|
8243
|
+
"""
|
|
8244
|
+
|
|
8245
|
+
def __init__(self):
|
|
8246
|
+
r"""
|
|
8247
|
+
:param _Key: 参数
|
|
8248
|
+
:type Key: str
|
|
8249
|
+
:param _Value: 参数值
|
|
8250
|
+
:type Value: str
|
|
8251
|
+
"""
|
|
8252
|
+
self._Key = None
|
|
8253
|
+
self._Value = None
|
|
8254
|
+
|
|
8255
|
+
@property
|
|
8256
|
+
def Key(self):
|
|
8257
|
+
return self._Key
|
|
8258
|
+
|
|
8259
|
+
@Key.setter
|
|
8260
|
+
def Key(self, Key):
|
|
8261
|
+
self._Key = Key
|
|
8262
|
+
|
|
8263
|
+
@property
|
|
8264
|
+
def Value(self):
|
|
8265
|
+
return self._Value
|
|
8266
|
+
|
|
8267
|
+
@Value.setter
|
|
8268
|
+
def Value(self, Value):
|
|
8269
|
+
self._Value = Value
|
|
8270
|
+
|
|
8271
|
+
|
|
8272
|
+
def _deserialize(self, params):
|
|
8273
|
+
self._Key = params.get("Key")
|
|
8274
|
+
self._Value = params.get("Value")
|
|
8275
|
+
memeber_set = set(params.keys())
|
|
8276
|
+
for name, value in vars(self).items():
|
|
8277
|
+
property_name = name[1:]
|
|
8278
|
+
if property_name in memeber_set:
|
|
8279
|
+
memeber_set.remove(property_name)
|
|
8280
|
+
if len(memeber_set) > 0:
|
|
8281
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8282
|
+
|
|
8283
|
+
|
|
8284
|
+
|
|
7535
8285
|
class RemoveNodeList(AbstractModel):
|
|
7536
8286
|
"""修改实例节点详情
|
|
7537
8287
|
|
|
@@ -164,6 +164,30 @@ class MongodbClient(AbstractClient):
|
|
|
164
164
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
165
|
|
|
166
166
|
|
|
167
|
+
def CreateDBInstanceParamTpl(self, request):
|
|
168
|
+
"""本接口(CreateDBInstanceParamTpl)用于创建云数据库MongoDB实例的参数模板
|
|
169
|
+
**说明:CreateDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
170
|
+
|
|
171
|
+
:param request: Request instance for CreateDBInstanceParamTpl.
|
|
172
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.CreateDBInstanceParamTplRequest`
|
|
173
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.CreateDBInstanceParamTplResponse`
|
|
174
|
+
|
|
175
|
+
"""
|
|
176
|
+
try:
|
|
177
|
+
params = request._serialize()
|
|
178
|
+
headers = request.headers
|
|
179
|
+
body = self.call("CreateDBInstanceParamTpl", params, headers=headers)
|
|
180
|
+
response = json.loads(body)
|
|
181
|
+
model = models.CreateDBInstanceParamTplResponse()
|
|
182
|
+
model._deserialize(response["Response"])
|
|
183
|
+
return model
|
|
184
|
+
except Exception as e:
|
|
185
|
+
if isinstance(e, TencentCloudSDKException):
|
|
186
|
+
raise
|
|
187
|
+
else:
|
|
188
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
189
|
+
|
|
190
|
+
|
|
167
191
|
def DeleteAccountUser(self, request):
|
|
168
192
|
"""本接口(DeleteAccountUser)用于删除实例的自定义账号。
|
|
169
193
|
|
|
@@ -394,6 +418,54 @@ class MongodbClient(AbstractClient):
|
|
|
394
418
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
395
419
|
|
|
396
420
|
|
|
421
|
+
def DescribeDBInstanceParamTpl(self, request):
|
|
422
|
+
"""本接口(DescribeDBInstanceParamTpl )用于查询当前账号下所有MongoDB数据库参数模板
|
|
423
|
+
**说明:DescribeDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
424
|
+
|
|
425
|
+
:param request: Request instance for DescribeDBInstanceParamTpl.
|
|
426
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceParamTplRequest`
|
|
427
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceParamTplResponse`
|
|
428
|
+
|
|
429
|
+
"""
|
|
430
|
+
try:
|
|
431
|
+
params = request._serialize()
|
|
432
|
+
headers = request.headers
|
|
433
|
+
body = self.call("DescribeDBInstanceParamTpl", params, headers=headers)
|
|
434
|
+
response = json.loads(body)
|
|
435
|
+
model = models.DescribeDBInstanceParamTplResponse()
|
|
436
|
+
model._deserialize(response["Response"])
|
|
437
|
+
return model
|
|
438
|
+
except Exception as e:
|
|
439
|
+
if isinstance(e, TencentCloudSDKException):
|
|
440
|
+
raise
|
|
441
|
+
else:
|
|
442
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
def DescribeDBInstanceParamTplDetail(self, request):
|
|
446
|
+
"""本接口(DescribeDBInstanceParamTplDetail )用于查询MongoDB云数据库实例的参数模板详情。
|
|
447
|
+
**说明:DescribeDBInstanceParamTplDetail API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
448
|
+
|
|
449
|
+
:param request: Request instance for DescribeDBInstanceParamTplDetail.
|
|
450
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceParamTplDetailRequest`
|
|
451
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DescribeDBInstanceParamTplDetailResponse`
|
|
452
|
+
|
|
453
|
+
"""
|
|
454
|
+
try:
|
|
455
|
+
params = request._serialize()
|
|
456
|
+
headers = request.headers
|
|
457
|
+
body = self.call("DescribeDBInstanceParamTplDetail", params, headers=headers)
|
|
458
|
+
response = json.loads(body)
|
|
459
|
+
model = models.DescribeDBInstanceParamTplDetailResponse()
|
|
460
|
+
model._deserialize(response["Response"])
|
|
461
|
+
return model
|
|
462
|
+
except Exception as e:
|
|
463
|
+
if isinstance(e, TencentCloudSDKException):
|
|
464
|
+
raise
|
|
465
|
+
else:
|
|
466
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
467
|
+
|
|
468
|
+
|
|
397
469
|
def DescribeDBInstances(self, request):
|
|
398
470
|
"""本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、实例状态等过滤条件来筛选主实例、灾备实例和只读实例信息列表。
|
|
399
471
|
|
|
@@ -555,6 +627,30 @@ class MongodbClient(AbstractClient):
|
|
|
555
627
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
556
628
|
|
|
557
629
|
|
|
630
|
+
def DropDBInstanceParamTpl(self, request):
|
|
631
|
+
"""本接口(DropDBInstanceParamTpl )用于删除云数据库MongoDB实例的参数模板
|
|
632
|
+
**说明:DropDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
633
|
+
|
|
634
|
+
:param request: Request instance for DropDBInstanceParamTpl.
|
|
635
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.DropDBInstanceParamTplRequest`
|
|
636
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.DropDBInstanceParamTplResponse`
|
|
637
|
+
|
|
638
|
+
"""
|
|
639
|
+
try:
|
|
640
|
+
params = request._serialize()
|
|
641
|
+
headers = request.headers
|
|
642
|
+
body = self.call("DropDBInstanceParamTpl", params, headers=headers)
|
|
643
|
+
response = json.loads(body)
|
|
644
|
+
model = models.DropDBInstanceParamTplResponse()
|
|
645
|
+
model._deserialize(response["Response"])
|
|
646
|
+
return model
|
|
647
|
+
except Exception as e:
|
|
648
|
+
if isinstance(e, TencentCloudSDKException):
|
|
649
|
+
raise
|
|
650
|
+
else:
|
|
651
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
652
|
+
|
|
653
|
+
|
|
558
654
|
def EnableTransparentDataEncryption(self, request):
|
|
559
655
|
"""本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
|
|
560
656
|
|
|
@@ -763,6 +859,30 @@ class MongodbClient(AbstractClient):
|
|
|
763
859
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
764
860
|
|
|
765
861
|
|
|
862
|
+
def ModifyDBInstanceParamTpl(self, request):
|
|
863
|
+
"""本接口(ModifyDBInstanceParamTpl )用于修改MongoDB云数据库实例的参数模板。
|
|
864
|
+
**说明:ModifyDBInstanceParamTpl API正在公测中,在此期间,该接口仅对公测用户开放**
|
|
865
|
+
|
|
866
|
+
:param request: Request instance for ModifyDBInstanceParamTpl.
|
|
867
|
+
:type request: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceParamTplRequest`
|
|
868
|
+
:rtype: :class:`tencentcloud.mongodb.v20190725.models.ModifyDBInstanceParamTplResponse`
|
|
869
|
+
|
|
870
|
+
"""
|
|
871
|
+
try:
|
|
872
|
+
params = request._serialize()
|
|
873
|
+
headers = request.headers
|
|
874
|
+
body = self.call("ModifyDBInstanceParamTpl", params, headers=headers)
|
|
875
|
+
response = json.loads(body)
|
|
876
|
+
model = models.ModifyDBInstanceParamTplResponse()
|
|
877
|
+
model._deserialize(response["Response"])
|
|
878
|
+
return model
|
|
879
|
+
except Exception as e:
|
|
880
|
+
if isinstance(e, TencentCloudSDKException):
|
|
881
|
+
raise
|
|
882
|
+
else:
|
|
883
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
884
|
+
|
|
885
|
+
|
|
766
886
|
def ModifyDBInstanceSecurityGroup(self, request):
|
|
767
887
|
"""本接口(ModifyDBInstanceSecurityGroup)用于修改实例绑定的安全组
|
|
768
888
|
|
tencentcloud-sdk-python-mongodb-3.0.1196/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1196
|
tencentcloud-sdk-python-mongodb-3.0.1195/tencentcloud_sdk_python_mongodb.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1195
|
{tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-mongodb-3.0.1195 → tencentcloud-sdk-python-mongodb-3.0.1196}/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
|
|
File without changes
|