tencentcloud-sdk-python 3.0.1284__py2.py3-none-any.whl → 3.0.1286__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/apm/v20210622/errorcodes.py +4 -4
- tencentcloud/apm/v20210622/models.py +31 -59
- tencentcloud/batch/v20170312/models.py +84 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +8 -0
- tencentcloud/ccc/v20200210/models.py +60 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +79 -0
- tencentcloud/cfg/v20210820/models.py +108 -0
- tencentcloud/cloudapp/v20220530/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +14 -0
- tencentcloud/cvm/v20170312/models.py +6 -6
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/domain/v20180808/domain_client.py +1 -1
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/ess/v20201111/ess_client.py +51 -0
- tencentcloud/ess/v20201111/models.py +522 -5
- tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
- tencentcloud/essbasic/v20210526/models.py +437 -15
- tencentcloud/gwlb/v20240906/models.py +48 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +6 -4
- tencentcloud/live/v20180801/models.py +8 -8
- tencentcloud/mariadb/v20170312/models.py +12 -8
- tencentcloud/mongodb/v20180408/errorcodes.py +15 -0
- tencentcloud/mongodb/v20180408/models.py +27 -12
- tencentcloud/mongodb/v20180408/mongodb_client.py +0 -1
- tencentcloud/mongodb/v20190725/models.py +81 -58
- tencentcloud/mongodb/v20190725/mongodb_client.py +2 -2
- tencentcloud/mps/v20190612/models.py +68 -54
- tencentcloud/organization/v20210331/models.py +71 -26
- tencentcloud/tdmq/v20200217/models.py +64 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/vod/v20180717/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +30 -0
- tencentcloud/vrs/v20200824/models.py +2 -2
- tencentcloud/vrs/v20200824/vrs_client.py +2 -2
- tencentcloud/wedata/v20210820/models.py +813 -2
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1284.dist-info → tencentcloud_sdk_python-3.0.1286.dist-info}/top_level.txt +0 -0
@@ -86,7 +86,7 @@ class AssignProjectRequest(AbstractModel):
|
|
86
86
|
|
87
87
|
def __init__(self):
|
88
88
|
r"""
|
89
|
-
:param _InstanceIds: 实例ID列表,格式如:cmgo-
|
89
|
+
:param _InstanceIds: 实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
|
90
90
|
:type InstanceIds: list of str
|
91
91
|
:param _ProjectId: 项目ID,用户已创建项目的唯一ID,非自定义
|
92
92
|
:type ProjectId: int
|
@@ -96,7 +96,7 @@ class AssignProjectRequest(AbstractModel):
|
|
96
96
|
|
97
97
|
@property
|
98
98
|
def InstanceIds(self):
|
99
|
-
"""实例ID列表,格式如:cmgo-
|
99
|
+
"""实例ID列表,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同
|
100
100
|
:rtype: list of str
|
101
101
|
"""
|
102
102
|
return self._InstanceIds
|
@@ -2427,45 +2427,49 @@ class CurrentOp(AbstractModel):
|
|
2427
2427
|
|
2428
2428
|
def __init__(self):
|
2429
2429
|
r"""
|
2430
|
-
:param _OpId:
|
2430
|
+
:param _OpId: 操作序号。
|
2431
2431
|
注意:此字段可能返回 null,表示取不到有效值。
|
2432
2432
|
:type OpId: int
|
2433
|
-
:param _Ns: 操作所在的命名空间,形式如db.collection
|
2433
|
+
:param _Ns: 操作所在的命名空间,形式如db.collection。
|
2434
2434
|
注意:此字段可能返回 null,表示取不到有效值。
|
2435
2435
|
:type Ns: str
|
2436
|
-
:param _Query:
|
2436
|
+
:param _Query: 操作执行语句。
|
2437
2437
|
注意:此字段可能返回 null,表示取不到有效值。
|
2438
2438
|
:type Query: str
|
2439
|
-
:param _Op: 操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command
|
2439
|
+
:param _Op: 操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command。
|
2440
2440
|
注意:此字段可能返回 null,表示取不到有效值。
|
2441
2441
|
:type Op: str
|
2442
|
-
:param _ReplicaSetName:
|
2442
|
+
:param _ReplicaSetName: 操作所在的分片名称。
|
2443
2443
|
:type ReplicaSetName: str
|
2444
|
-
:param
|
2445
|
-
|
2446
|
-
:
|
2447
|
-
:param _Operation: 操作详细信息
|
2444
|
+
:param _NodeName: 操作所在的节点名称。
|
2445
|
+
:type NodeName: str
|
2446
|
+
:param _Operation: 操作详细信息。
|
2448
2447
|
注意:此字段可能返回 null,表示取不到有效值。
|
2449
2448
|
:type Operation: str
|
2450
|
-
:param
|
2451
|
-
|
2452
|
-
:
|
2449
|
+
:param _State: 筛选条件,节点状态,可能的取值为:Primary、Secondary。
|
2450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2451
|
+
:type State: str
|
2452
|
+
:param _MicrosecsRunning: 操作已执行时间(ms)。
|
2453
2453
|
注意:此字段可能返回 null,表示取不到有效值。
|
2454
2454
|
:type MicrosecsRunning: int
|
2455
|
+
:param _ExecNode: 当前操作所在节点信息。
|
2456
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2457
|
+
:type ExecNode: str
|
2455
2458
|
"""
|
2456
2459
|
self._OpId = None
|
2457
2460
|
self._Ns = None
|
2458
2461
|
self._Query = None
|
2459
2462
|
self._Op = None
|
2460
2463
|
self._ReplicaSetName = None
|
2461
|
-
self._State = None
|
2462
|
-
self._Operation = None
|
2463
2464
|
self._NodeName = None
|
2465
|
+
self._Operation = None
|
2466
|
+
self._State = None
|
2464
2467
|
self._MicrosecsRunning = None
|
2468
|
+
self._ExecNode = None
|
2465
2469
|
|
2466
2470
|
@property
|
2467
2471
|
def OpId(self):
|
2468
|
-
"""
|
2472
|
+
"""操作序号。
|
2469
2473
|
注意:此字段可能返回 null,表示取不到有效值。
|
2470
2474
|
:rtype: int
|
2471
2475
|
"""
|
@@ -2477,7 +2481,7 @@ class CurrentOp(AbstractModel):
|
|
2477
2481
|
|
2478
2482
|
@property
|
2479
2483
|
def Ns(self):
|
2480
|
-
"""操作所在的命名空间,形式如db.collection
|
2484
|
+
"""操作所在的命名空间,形式如db.collection。
|
2481
2485
|
注意:此字段可能返回 null,表示取不到有效值。
|
2482
2486
|
:rtype: str
|
2483
2487
|
"""
|
@@ -2489,7 +2493,7 @@ class CurrentOp(AbstractModel):
|
|
2489
2493
|
|
2490
2494
|
@property
|
2491
2495
|
def Query(self):
|
2492
|
-
"""
|
2496
|
+
"""操作执行语句。
|
2493
2497
|
注意:此字段可能返回 null,表示取不到有效值。
|
2494
2498
|
:rtype: str
|
2495
2499
|
"""
|
@@ -2501,7 +2505,7 @@ class CurrentOp(AbstractModel):
|
|
2501
2505
|
|
2502
2506
|
@property
|
2503
2507
|
def Op(self):
|
2504
|
-
"""操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command
|
2508
|
+
"""操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command。
|
2505
2509
|
注意:此字段可能返回 null,表示取不到有效值。
|
2506
2510
|
:rtype: str
|
2507
2511
|
"""
|
@@ -2513,7 +2517,7 @@ class CurrentOp(AbstractModel):
|
|
2513
2517
|
|
2514
2518
|
@property
|
2515
2519
|
def ReplicaSetName(self):
|
2516
|
-
"""
|
2520
|
+
"""操作所在的分片名称。
|
2517
2521
|
:rtype: str
|
2518
2522
|
"""
|
2519
2523
|
return self._ReplicaSetName
|
@@ -2523,20 +2527,19 @@ class CurrentOp(AbstractModel):
|
|
2523
2527
|
self._ReplicaSetName = ReplicaSetName
|
2524
2528
|
|
2525
2529
|
@property
|
2526
|
-
def
|
2527
|
-
"""
|
2528
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2530
|
+
def NodeName(self):
|
2531
|
+
"""操作所在的节点名称。
|
2529
2532
|
:rtype: str
|
2530
2533
|
"""
|
2531
|
-
return self.
|
2534
|
+
return self._NodeName
|
2532
2535
|
|
2533
|
-
@
|
2534
|
-
def
|
2535
|
-
self.
|
2536
|
+
@NodeName.setter
|
2537
|
+
def NodeName(self, NodeName):
|
2538
|
+
self._NodeName = NodeName
|
2536
2539
|
|
2537
2540
|
@property
|
2538
2541
|
def Operation(self):
|
2539
|
-
"""
|
2542
|
+
"""操作详细信息。
|
2540
2543
|
注意:此字段可能返回 null,表示取不到有效值。
|
2541
2544
|
:rtype: str
|
2542
2545
|
"""
|
@@ -2547,19 +2550,20 @@ class CurrentOp(AbstractModel):
|
|
2547
2550
|
self._Operation = Operation
|
2548
2551
|
|
2549
2552
|
@property
|
2550
|
-
def
|
2551
|
-
"""
|
2553
|
+
def State(self):
|
2554
|
+
"""筛选条件,节点状态,可能的取值为:Primary、Secondary。
|
2555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2552
2556
|
:rtype: str
|
2553
2557
|
"""
|
2554
|
-
return self.
|
2558
|
+
return self._State
|
2555
2559
|
|
2556
|
-
@
|
2557
|
-
def
|
2558
|
-
self.
|
2560
|
+
@State.setter
|
2561
|
+
def State(self, State):
|
2562
|
+
self._State = State
|
2559
2563
|
|
2560
2564
|
@property
|
2561
2565
|
def MicrosecsRunning(self):
|
2562
|
-
"""操作已执行时间(ms
|
2566
|
+
"""操作已执行时间(ms)。
|
2563
2567
|
注意:此字段可能返回 null,表示取不到有效值。
|
2564
2568
|
:rtype: int
|
2565
2569
|
"""
|
@@ -2569,6 +2573,18 @@ class CurrentOp(AbstractModel):
|
|
2569
2573
|
def MicrosecsRunning(self, MicrosecsRunning):
|
2570
2574
|
self._MicrosecsRunning = MicrosecsRunning
|
2571
2575
|
|
2576
|
+
@property
|
2577
|
+
def ExecNode(self):
|
2578
|
+
"""当前操作所在节点信息。
|
2579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2580
|
+
:rtype: str
|
2581
|
+
"""
|
2582
|
+
return self._ExecNode
|
2583
|
+
|
2584
|
+
@ExecNode.setter
|
2585
|
+
def ExecNode(self, ExecNode):
|
2586
|
+
self._ExecNode = ExecNode
|
2587
|
+
|
2572
2588
|
|
2573
2589
|
def _deserialize(self, params):
|
2574
2590
|
self._OpId = params.get("OpId")
|
@@ -2576,10 +2592,11 @@ class CurrentOp(AbstractModel):
|
|
2576
2592
|
self._Query = params.get("Query")
|
2577
2593
|
self._Op = params.get("Op")
|
2578
2594
|
self._ReplicaSetName = params.get("ReplicaSetName")
|
2579
|
-
self._State = params.get("State")
|
2580
|
-
self._Operation = params.get("Operation")
|
2581
2595
|
self._NodeName = params.get("NodeName")
|
2596
|
+
self._Operation = params.get("Operation")
|
2597
|
+
self._State = params.get("State")
|
2582
2598
|
self._MicrosecsRunning = params.get("MicrosecsRunning")
|
2599
|
+
self._ExecNode = params.get("ExecNode")
|
2583
2600
|
memeber_set = set(params.keys())
|
2584
2601
|
for name, value in vars(self).items():
|
2585
2602
|
property_name = name[1:]
|
@@ -3453,18 +3470,21 @@ class DescribeCurrentOpRequest(AbstractModel):
|
|
3453
3470
|
|
3454
3471
|
def __init__(self):
|
3455
3472
|
r"""
|
3456
|
-
:param _InstanceId:
|
3473
|
+
:param _InstanceId: 指定要查询的实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
3457
3474
|
:type InstanceId: str
|
3458
|
-
:param _Ns:
|
3475
|
+
:param _Ns: 操作所属的命名空间 namespace,格式为 db.collection。
|
3459
3476
|
:type Ns: str
|
3460
|
-
:param _MillisecondRunning:
|
3477
|
+
:param _MillisecondRunning: 设置查询筛选条件为操作任务已经执行的时间。
|
3478
|
+
- 默认值为0,取值范围为[0, 3600000],单位:毫秒。
|
3479
|
+
- 结果将返回超过设置时间的操作。
|
3461
3480
|
:type MillisecondRunning: int
|
3462
|
-
:param _Op:
|
3481
|
+
:param _Op: 设置查询筛选条件为操作任务类型。取值包括:none、update、insert,query、command、getmore、remove 和 killcursors。
|
3463
3482
|
:type Op: str
|
3464
|
-
:param _ReplicaSetName:
|
3483
|
+
:param _ReplicaSetName: 筛选条件,分片名称。
|
3465
3484
|
:type ReplicaSetName: str
|
3466
|
-
:param _State:
|
3467
|
-
|
3485
|
+
:param _State: 设置查询筛选条件为节点角色。
|
3486
|
+
- primary:主节点。
|
3487
|
+
- secondary:从节点。
|
3468
3488
|
:type State: str
|
3469
3489
|
:param _Limit: 单次请求返回的数量,默认值为100,取值范围为[0,100]
|
3470
3490
|
:type Limit: int
|
@@ -3488,7 +3508,7 @@ secondary
|
|
3488
3508
|
|
3489
3509
|
@property
|
3490
3510
|
def InstanceId(self):
|
3491
|
-
"""
|
3511
|
+
"""指定要查询的实例 ID,例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。
|
3492
3512
|
:rtype: str
|
3493
3513
|
"""
|
3494
3514
|
return self._InstanceId
|
@@ -3499,7 +3519,7 @@ secondary
|
|
3499
3519
|
|
3500
3520
|
@property
|
3501
3521
|
def Ns(self):
|
3502
|
-
"""
|
3522
|
+
"""操作所属的命名空间 namespace,格式为 db.collection。
|
3503
3523
|
:rtype: str
|
3504
3524
|
"""
|
3505
3525
|
return self._Ns
|
@@ -3510,7 +3530,9 @@ secondary
|
|
3510
3530
|
|
3511
3531
|
@property
|
3512
3532
|
def MillisecondRunning(self):
|
3513
|
-
"""
|
3533
|
+
"""设置查询筛选条件为操作任务已经执行的时间。
|
3534
|
+
- 默认值为0,取值范围为[0, 3600000],单位:毫秒。
|
3535
|
+
- 结果将返回超过设置时间的操作。
|
3514
3536
|
:rtype: int
|
3515
3537
|
"""
|
3516
3538
|
return self._MillisecondRunning
|
@@ -3521,7 +3543,7 @@ secondary
|
|
3521
3543
|
|
3522
3544
|
@property
|
3523
3545
|
def Op(self):
|
3524
|
-
"""
|
3546
|
+
"""设置查询筛选条件为操作任务类型。取值包括:none、update、insert,query、command、getmore、remove 和 killcursors。
|
3525
3547
|
:rtype: str
|
3526
3548
|
"""
|
3527
3549
|
return self._Op
|
@@ -3532,7 +3554,7 @@ secondary
|
|
3532
3554
|
|
3533
3555
|
@property
|
3534
3556
|
def ReplicaSetName(self):
|
3535
|
-
"""
|
3557
|
+
"""筛选条件,分片名称。
|
3536
3558
|
:rtype: str
|
3537
3559
|
"""
|
3538
3560
|
return self._ReplicaSetName
|
@@ -3543,8 +3565,9 @@ secondary
|
|
3543
3565
|
|
3544
3566
|
@property
|
3545
3567
|
def State(self):
|
3546
|
-
"""
|
3547
|
-
|
3568
|
+
"""设置查询筛选条件为节点角色。
|
3569
|
+
- primary:主节点。
|
3570
|
+
- secondary:从节点。
|
3548
3571
|
:rtype: str
|
3549
3572
|
"""
|
3550
3573
|
return self._State
|
@@ -3626,9 +3649,9 @@ class DescribeCurrentOpResponse(AbstractModel):
|
|
3626
3649
|
|
3627
3650
|
def __init__(self):
|
3628
3651
|
r"""
|
3629
|
-
:param _TotalCount:
|
3652
|
+
:param _TotalCount: 符合查询条件的操作总数。
|
3630
3653
|
:type TotalCount: int
|
3631
|
-
:param _CurrentOps:
|
3654
|
+
:param _CurrentOps: 当前操作列表。
|
3632
3655
|
:type CurrentOps: list of CurrentOp
|
3633
3656
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3634
3657
|
:type RequestId: str
|
@@ -3639,7 +3662,7 @@ class DescribeCurrentOpResponse(AbstractModel):
|
|
3639
3662
|
|
3640
3663
|
@property
|
3641
3664
|
def TotalCount(self):
|
3642
|
-
"""
|
3665
|
+
"""符合查询条件的操作总数。
|
3643
3666
|
:rtype: int
|
3644
3667
|
"""
|
3645
3668
|
return self._TotalCount
|
@@ -3650,7 +3673,7 @@ class DescribeCurrentOpResponse(AbstractModel):
|
|
3650
3673
|
|
3651
3674
|
@property
|
3652
3675
|
def CurrentOps(self):
|
3653
|
-
"""
|
3676
|
+
"""当前操作列表。
|
3654
3677
|
:rtype: list of CurrentOp
|
3655
3678
|
"""
|
3656
3679
|
return self._CurrentOps
|
@@ -6739,7 +6762,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
|
|
6739
6762
|
|
6740
6763
|
def __init__(self):
|
6741
6764
|
r"""
|
6742
|
-
:param _InstanceIds: 实例ID,格式如:cmgo-
|
6765
|
+
:param _InstanceIds: 实例ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同,接口单次最多只支持5个实例进行操作。
|
6743
6766
|
:type InstanceIds: list of str
|
6744
6767
|
:param _InstanceChargePrepaid: 预付费模式(即包年包月)相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
|
6745
6768
|
:type InstanceChargePrepaid: :class:`tencentcloud.mongodb.v20190725.models.InstanceChargePrepaid`
|
@@ -6749,7 +6772,7 @@ class InquirePriceRenewDBInstancesRequest(AbstractModel):
|
|
6749
6772
|
|
6750
6773
|
@property
|
6751
6774
|
def InstanceIds(self):
|
6752
|
-
"""实例ID,格式如:cmgo-
|
6775
|
+
"""实例ID,格式如:cmgo-p8vn****。与云数据库控制台页面中显示的实例ID相同,接口单次最多只支持5个实例进行操作。
|
6753
6776
|
:rtype: list of str
|
6754
6777
|
"""
|
6755
6778
|
return self._InstanceIds
|
@@ -235,7 +235,7 @@ class MongodbClient(AbstractClient):
|
|
235
235
|
|
236
236
|
|
237
237
|
def DescribeAsyncRequestInfo(self, request):
|
238
|
-
"""
|
238
|
+
"""本接口(DescribeAsyncRequestInfo)用于查询异步任务状态接口。
|
239
239
|
|
240
240
|
:param request: Request instance for DescribeAsyncRequestInfo.
|
241
241
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeAsyncRequestInfoRequest`
|
@@ -327,7 +327,7 @@ class MongodbClient(AbstractClient):
|
|
327
327
|
|
328
328
|
|
329
329
|
def DescribeCurrentOp(self, request):
|
330
|
-
"""
|
330
|
+
"""本接口(DescribeCurrentOp)用于查询云数据库实例的当前正在执行的操作。
|
331
331
|
|
332
332
|
:param request: Request instance for DescribeCurrentOp.
|
333
333
|
:type request: :class:`tencentcloud.mongodb.v20190725.models.DescribeCurrentOpRequest`
|