tencentcloud-sdk-python-mongodb 3.0.1295__tar.gz → 3.0.1298__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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20180408/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20180408/models.py +76 -18
  6. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20180408/mongodb_client.py +1 -1
  7. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20190725/models.py +49 -96
  8. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud_sdk_python_mongodb.egg-info/PKG-INFO +1 -1
  9. tencentcloud-sdk-python-mongodb-3.0.1298/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-mongodb-3.0.1295/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/README.rst +0 -0
  12. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/__init__.py +0 -0
  14. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20180408/__init__.py +0 -0
  15. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20190725/__init__.py +0 -0
  16. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20190725/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud/mongodb/v20190725/mongodb_client.py +0 -0
  18. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud_sdk_python_mongodb.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud_sdk_python_mongodb.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-mongodb-3.0.1295 → tencentcloud-sdk-python-mongodb-3.0.1298}/tencentcloud_sdk_python_mongodb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mongodb
3
- Version: 3.0.1295
3
+ Version: 3.0.1298
4
4
  Summary: Tencent Cloud Mongodb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1295"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1298"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Mongodb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1295'
17
+ __version__ = '3.0.1298'
@@ -41,6 +41,9 @@ INVALIDPARAMETERVALUE_INSTANCEHASBEENDELETED = 'InvalidParameterValue.InstanceHa
41
41
  # 实例已隔离。
42
42
  INVALIDPARAMETERVALUE_INSTANCEHASBEENISOLATED = 'InvalidParameterValue.InstanceHasBeenIsolated'
43
43
 
44
+ # 实例类型取值错误,需要指定实例类型为副本集或分片。
45
+ INVALIDPARAMETERVALUE_INSTANCETYPEERROR = 'InvalidParameterValue.InstanceTypeError'
46
+
44
47
  # limit取值范围[1,100]。
45
48
  INVALIDPARAMETERVALUE_LIMITPARAOUTOFRANGE = 'InvalidParameterValue.LimitParaOutOfRange'
46
49
 
@@ -180,13 +180,13 @@ class CreateDBInstanceHourRequest(AbstractModel):
180
180
  :type SecondaryNum: int
181
181
  :param _EngineVersion: MongoDB引擎版本,值包括MONGO_3_WT 、MONGO_3_ROCKS和MONGO_36_WT
182
182
  :type EngineVersion: str
183
- :param _Machine: 实例类型,GIO:高IO版;TGIO:高IO万兆
183
+ :param _Machine: 实例类型,HIO10G:高IO万兆。
184
184
  :type Machine: str
185
185
  :param _GoodsNum: 实例数量,默认值为1, 最小值1,最大值为10
186
186
  :type GoodsNum: int
187
187
  :param _Zone: 可用区信息,格式如:ap-guangzhou-2
188
188
  :type Zone: str
189
- :param _InstanceRole: 实例角色,支持值包括:MASTER-表示主实例,DR-表示灾备实例,RO-表示只读实例
189
+ :param _InstanceRole: 实例角色,默认传MASTER即可
190
190
  :type InstanceRole: str
191
191
  :param _InstanceType: 实例类型,REPLSET-副本集,SHARD-分片集群
192
192
  :type InstanceType: str
@@ -200,6 +200,10 @@ class CreateDBInstanceHourRequest(AbstractModel):
200
200
  :type ProjectId: int
201
201
  :param _SecurityGroup: 安全组参数
202
202
  :type SecurityGroup: list of str
203
+ :param _UniqVpcId: 私有网络ID,如果不传则默认选择基础网络
204
+ :type UniqVpcId: str
205
+ :param _UniqSubnetId: 私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填
206
+ :type UniqSubnetId: str
203
207
  """
204
208
  self._Memory = None
205
209
  self._Volume = None
@@ -216,6 +220,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
216
220
  self._SubnetId = None
217
221
  self._ProjectId = None
218
222
  self._SecurityGroup = None
223
+ self._UniqVpcId = None
224
+ self._UniqSubnetId = None
219
225
 
220
226
  @property
221
227
  def Memory(self):
@@ -274,7 +280,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
274
280
 
275
281
  @property
276
282
  def Machine(self):
277
- """实例类型,GIO:高IO版;TGIO:高IO万兆
283
+ """实例类型,HIO10G:高IO万兆。
278
284
  :rtype: str
279
285
  """
280
286
  return self._Machine
@@ -307,7 +313,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
307
313
 
308
314
  @property
309
315
  def InstanceRole(self):
310
- """实例角色,支持值包括:MASTER-表示主实例,DR-表示灾备实例,RO-表示只读实例
316
+ """实例角色,默认传MASTER即可
311
317
  :rtype: str
312
318
  """
313
319
  return self._InstanceRole
@@ -382,6 +388,28 @@ class CreateDBInstanceHourRequest(AbstractModel):
382
388
  def SecurityGroup(self, SecurityGroup):
383
389
  self._SecurityGroup = SecurityGroup
384
390
 
391
+ @property
392
+ def UniqVpcId(self):
393
+ """私有网络ID,如果不传则默认选择基础网络
394
+ :rtype: str
395
+ """
396
+ return self._UniqVpcId
397
+
398
+ @UniqVpcId.setter
399
+ def UniqVpcId(self, UniqVpcId):
400
+ self._UniqVpcId = UniqVpcId
401
+
402
+ @property
403
+ def UniqSubnetId(self):
404
+ """私有网络下的子网ID,如果设置了 VpcId,则 SubnetId必填
405
+ :rtype: str
406
+ """
407
+ return self._UniqSubnetId
408
+
409
+ @UniqSubnetId.setter
410
+ def UniqSubnetId(self, UniqSubnetId):
411
+ self._UniqSubnetId = UniqSubnetId
412
+
385
413
 
386
414
  def _deserialize(self, params):
387
415
  self._Memory = params.get("Memory")
@@ -399,6 +427,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
399
427
  self._SubnetId = params.get("SubnetId")
400
428
  self._ProjectId = params.get("ProjectId")
401
429
  self._SecurityGroup = params.get("SecurityGroup")
430
+ self._UniqVpcId = params.get("UniqVpcId")
431
+ self._UniqSubnetId = params.get("UniqSubnetId")
402
432
  memeber_set = set(params.keys())
403
433
  for name, value in vars(self).items():
404
434
  property_name = name[1:]
@@ -800,10 +830,8 @@ class DescribeClientConnectionsResponse(AbstractModel):
800
830
  def __init__(self):
801
831
  r"""
802
832
  :param _Clients: 客户端连接信息,包括客户端IP和对应IP的连接数量
803
- 注意:此字段可能返回 null,表示取不到有效值。
804
833
  :type Clients: list of ClientConnection
805
834
  :param _TotalCount: 连接数总结
806
- 注意:此字段可能返回 null,表示取不到有效值。
807
835
  :type TotalCount: int
808
836
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
809
837
  :type RequestId: str
@@ -815,7 +843,6 @@ class DescribeClientConnectionsResponse(AbstractModel):
815
843
  @property
816
844
  def Clients(self):
817
845
  """客户端连接信息,包括客户端IP和对应IP的连接数量
818
- 注意:此字段可能返回 null,表示取不到有效值。
819
846
  :rtype: list of ClientConnection
820
847
  """
821
848
  return self._Clients
@@ -827,7 +854,6 @@ class DescribeClientConnectionsResponse(AbstractModel):
827
854
  @property
828
855
  def TotalCount(self):
829
856
  """连接数总结
830
- 注意:此字段可能返回 null,表示取不到有效值。
831
857
  :rtype: int
832
858
  """
833
859
  return self._TotalCount
@@ -1486,19 +1512,14 @@ class MongoDBInstanceDetail(AbstractModel):
1486
1512
  :param _ReplicaSets: 分片信息
1487
1513
  :type ReplicaSets: list of MongodbShardInfo
1488
1514
  :param _ReadonlyInstances: 只读实例信息
1489
- 注意:此字段可能返回 null,表示取不到有效值。
1490
1515
  :type ReadonlyInstances: list of MongoDBInstance
1491
1516
  :param _StandbyInstances: 灾备实例信息
1492
- 注意:此字段可能返回 null,表示取不到有效值。
1493
1517
  :type StandbyInstances: list of MongoDBInstance
1494
1518
  :param _CloneInstances: 临时实例信息
1495
- 注意:此字段可能返回 null,表示取不到有效值。
1496
1519
  :type CloneInstances: list of MongoDBInstance
1497
1520
  :param _RelatedInstance: 关联实例信息,对于正式实例,该字段表示它的临时实例信息;对于临时实例,则表示它的正式实例信息;如果为只读/灾备实例,则表示他的主实例信息
1498
- 注意:此字段可能返回 null,表示取不到有效值。
1499
1521
  :type RelatedInstance: :class:`tencentcloud.mongodb.v20180408.models.MongoDBInstance`
1500
1522
  :param _Tags: 实例标签信息集合
1501
- 注意:此字段可能返回 null,表示取不到有效值。
1502
1523
  :type Tags: list of TagInfo
1503
1524
  :param _InstanceVer: 实例标记
1504
1525
  :type InstanceVer: int
@@ -1852,7 +1873,6 @@ class MongoDBInstanceDetail(AbstractModel):
1852
1873
  @property
1853
1874
  def ReadonlyInstances(self):
1854
1875
  """只读实例信息
1855
- 注意:此字段可能返回 null,表示取不到有效值。
1856
1876
  :rtype: list of MongoDBInstance
1857
1877
  """
1858
1878
  return self._ReadonlyInstances
@@ -1864,7 +1884,6 @@ class MongoDBInstanceDetail(AbstractModel):
1864
1884
  @property
1865
1885
  def StandbyInstances(self):
1866
1886
  """灾备实例信息
1867
- 注意:此字段可能返回 null,表示取不到有效值。
1868
1887
  :rtype: list of MongoDBInstance
1869
1888
  """
1870
1889
  return self._StandbyInstances
@@ -1876,7 +1895,6 @@ class MongoDBInstanceDetail(AbstractModel):
1876
1895
  @property
1877
1896
  def CloneInstances(self):
1878
1897
  """临时实例信息
1879
- 注意:此字段可能返回 null,表示取不到有效值。
1880
1898
  :rtype: list of MongoDBInstance
1881
1899
  """
1882
1900
  return self._CloneInstances
@@ -1888,7 +1906,6 @@ class MongoDBInstanceDetail(AbstractModel):
1888
1906
  @property
1889
1907
  def RelatedInstance(self):
1890
1908
  """关联实例信息,对于正式实例,该字段表示它的临时实例信息;对于临时实例,则表示它的正式实例信息;如果为只读/灾备实例,则表示他的主实例信息
1891
- 注意:此字段可能返回 null,表示取不到有效值。
1892
1909
  :rtype: :class:`tencentcloud.mongodb.v20180408.models.MongoDBInstance`
1893
1910
  """
1894
1911
  return self._RelatedInstance
@@ -1900,7 +1917,6 @@ class MongoDBInstanceDetail(AbstractModel):
1900
1917
  @property
1901
1918
  def Tags(self):
1902
1919
  """实例标签信息集合
1903
- 注意:此字段可能返回 null,表示取不到有效值。
1904
1920
  :rtype: list of TagInfo
1905
1921
  """
1906
1922
  return self._Tags
@@ -2474,46 +2490,67 @@ class SpecItem(AbstractModel):
2474
2490
  def __init__(self):
2475
2491
  r"""
2476
2492
  :param _SpecCode: 规格信息标识
2493
+ 注意:此字段可能返回 null,表示取不到有效值。
2477
2494
  :type SpecCode: str
2478
2495
  :param _Status: 规格有效标志,取值:0-停止售卖,1-开放售卖
2496
+ 注意:此字段可能返回 null,表示取不到有效值。
2479
2497
  :type Status: int
2480
2498
  :param _MachineType: 机器类型,取值:0-HIO,4-HIO10G
2499
+ 注意:此字段可能返回 null,表示取不到有效值。
2481
2500
  :type MachineType: str
2482
2501
  :param _Cpu: cpu核心数
2502
+ 注意:此字段可能返回 null,表示取不到有效值。
2483
2503
  :type Cpu: int
2484
2504
  :param _Memory: 内存规格,单位为MB
2505
+ 注意:此字段可能返回 null,表示取不到有效值。
2485
2506
  :type Memory: int
2486
2507
  :param _DefaultStorage: 默认磁盘规格,单位MB
2508
+ 注意:此字段可能返回 null,表示取不到有效值。
2487
2509
  :type DefaultStorage: int
2488
2510
  :param _MaxStorage: 最大磁盘规格,单位MB
2511
+ 注意:此字段可能返回 null,表示取不到有效值。
2489
2512
  :type MaxStorage: int
2490
2513
  :param _MinStorage: 最小磁盘规格,单位MB
2514
+ 注意:此字段可能返回 null,表示取不到有效值。
2491
2515
  :type MinStorage: int
2492
2516
  :param _Qps: 可承载qps信息
2517
+ 注意:此字段可能返回 null,表示取不到有效值。
2493
2518
  :type Qps: int
2494
2519
  :param _Conns: 连接数限制
2520
+ 注意:此字段可能返回 null,表示取不到有效值。
2495
2521
  :type Conns: int
2496
2522
  :param _MongoVersionCode: 实例mongodb版本信息
2523
+ 注意:此字段可能返回 null,表示取不到有效值。
2497
2524
  :type MongoVersionCode: str
2498
2525
  :param _MongoVersionValue: 实例mongodb版本号
2526
+ 注意:此字段可能返回 null,表示取不到有效值。
2499
2527
  :type MongoVersionValue: int
2500
2528
  :param _Version: 实例mongodb版本号(短)
2529
+ 注意:此字段可能返回 null,表示取不到有效值。
2501
2530
  :type Version: str
2502
2531
  :param _EngineName: 存储引擎
2532
+ 注意:此字段可能返回 null,表示取不到有效值。
2503
2533
  :type EngineName: str
2504
2534
  :param _ClusterType: 集群类型,取值:1-分片集群,0-副本集集群
2535
+ 注意:此字段可能返回 null,表示取不到有效值。
2505
2536
  :type ClusterType: int
2506
2537
  :param _MinNodeNum: 最小副本集从节点数
2538
+ 注意:此字段可能返回 null,表示取不到有效值。
2507
2539
  :type MinNodeNum: int
2508
2540
  :param _MaxNodeNum: 最大副本集从节点数
2541
+ 注意:此字段可能返回 null,表示取不到有效值。
2509
2542
  :type MaxNodeNum: int
2510
2543
  :param _MinReplicateSetNum: 最小分片数
2544
+ 注意:此字段可能返回 null,表示取不到有效值。
2511
2545
  :type MinReplicateSetNum: int
2512
2546
  :param _MaxReplicateSetNum: 最大分片数
2547
+ 注意:此字段可能返回 null,表示取不到有效值。
2513
2548
  :type MaxReplicateSetNum: int
2514
2549
  :param _MinReplicateSetNodeNum: 最小分片从节点数
2550
+ 注意:此字段可能返回 null,表示取不到有效值。
2515
2551
  :type MinReplicateSetNodeNum: int
2516
2552
  :param _MaxReplicateSetNodeNum: 最大分片从节点数
2553
+ 注意:此字段可能返回 null,表示取不到有效值。
2517
2554
  :type MaxReplicateSetNodeNum: int
2518
2555
  """
2519
2556
  self._SpecCode = None
@@ -2541,6 +2578,7 @@ class SpecItem(AbstractModel):
2541
2578
  @property
2542
2579
  def SpecCode(self):
2543
2580
  """规格信息标识
2581
+ 注意:此字段可能返回 null,表示取不到有效值。
2544
2582
  :rtype: str
2545
2583
  """
2546
2584
  return self._SpecCode
@@ -2552,6 +2590,7 @@ class SpecItem(AbstractModel):
2552
2590
  @property
2553
2591
  def Status(self):
2554
2592
  """规格有效标志,取值:0-停止售卖,1-开放售卖
2593
+ 注意:此字段可能返回 null,表示取不到有效值。
2555
2594
  :rtype: int
2556
2595
  """
2557
2596
  return self._Status
@@ -2563,6 +2602,7 @@ class SpecItem(AbstractModel):
2563
2602
  @property
2564
2603
  def MachineType(self):
2565
2604
  """机器类型,取值:0-HIO,4-HIO10G
2605
+ 注意:此字段可能返回 null,表示取不到有效值。
2566
2606
  :rtype: str
2567
2607
  """
2568
2608
  return self._MachineType
@@ -2574,6 +2614,7 @@ class SpecItem(AbstractModel):
2574
2614
  @property
2575
2615
  def Cpu(self):
2576
2616
  """cpu核心数
2617
+ 注意:此字段可能返回 null,表示取不到有效值。
2577
2618
  :rtype: int
2578
2619
  """
2579
2620
  return self._Cpu
@@ -2585,6 +2626,7 @@ class SpecItem(AbstractModel):
2585
2626
  @property
2586
2627
  def Memory(self):
2587
2628
  """内存规格,单位为MB
2629
+ 注意:此字段可能返回 null,表示取不到有效值。
2588
2630
  :rtype: int
2589
2631
  """
2590
2632
  return self._Memory
@@ -2596,6 +2638,7 @@ class SpecItem(AbstractModel):
2596
2638
  @property
2597
2639
  def DefaultStorage(self):
2598
2640
  """默认磁盘规格,单位MB
2641
+ 注意:此字段可能返回 null,表示取不到有效值。
2599
2642
  :rtype: int
2600
2643
  """
2601
2644
  return self._DefaultStorage
@@ -2607,6 +2650,7 @@ class SpecItem(AbstractModel):
2607
2650
  @property
2608
2651
  def MaxStorage(self):
2609
2652
  """最大磁盘规格,单位MB
2653
+ 注意:此字段可能返回 null,表示取不到有效值。
2610
2654
  :rtype: int
2611
2655
  """
2612
2656
  return self._MaxStorage
@@ -2618,6 +2662,7 @@ class SpecItem(AbstractModel):
2618
2662
  @property
2619
2663
  def MinStorage(self):
2620
2664
  """最小磁盘规格,单位MB
2665
+ 注意:此字段可能返回 null,表示取不到有效值。
2621
2666
  :rtype: int
2622
2667
  """
2623
2668
  return self._MinStorage
@@ -2629,6 +2674,7 @@ class SpecItem(AbstractModel):
2629
2674
  @property
2630
2675
  def Qps(self):
2631
2676
  """可承载qps信息
2677
+ 注意:此字段可能返回 null,表示取不到有效值。
2632
2678
  :rtype: int
2633
2679
  """
2634
2680
  return self._Qps
@@ -2640,6 +2686,7 @@ class SpecItem(AbstractModel):
2640
2686
  @property
2641
2687
  def Conns(self):
2642
2688
  """连接数限制
2689
+ 注意:此字段可能返回 null,表示取不到有效值。
2643
2690
  :rtype: int
2644
2691
  """
2645
2692
  return self._Conns
@@ -2651,6 +2698,7 @@ class SpecItem(AbstractModel):
2651
2698
  @property
2652
2699
  def MongoVersionCode(self):
2653
2700
  """实例mongodb版本信息
2701
+ 注意:此字段可能返回 null,表示取不到有效值。
2654
2702
  :rtype: str
2655
2703
  """
2656
2704
  return self._MongoVersionCode
@@ -2662,6 +2710,7 @@ class SpecItem(AbstractModel):
2662
2710
  @property
2663
2711
  def MongoVersionValue(self):
2664
2712
  """实例mongodb版本号
2713
+ 注意:此字段可能返回 null,表示取不到有效值。
2665
2714
  :rtype: int
2666
2715
  """
2667
2716
  return self._MongoVersionValue
@@ -2673,6 +2722,7 @@ class SpecItem(AbstractModel):
2673
2722
  @property
2674
2723
  def Version(self):
2675
2724
  """实例mongodb版本号(短)
2725
+ 注意:此字段可能返回 null,表示取不到有效值。
2676
2726
  :rtype: str
2677
2727
  """
2678
2728
  return self._Version
@@ -2684,6 +2734,7 @@ class SpecItem(AbstractModel):
2684
2734
  @property
2685
2735
  def EngineName(self):
2686
2736
  """存储引擎
2737
+ 注意:此字段可能返回 null,表示取不到有效值。
2687
2738
  :rtype: str
2688
2739
  """
2689
2740
  return self._EngineName
@@ -2695,6 +2746,7 @@ class SpecItem(AbstractModel):
2695
2746
  @property
2696
2747
  def ClusterType(self):
2697
2748
  """集群类型,取值:1-分片集群,0-副本集集群
2749
+ 注意:此字段可能返回 null,表示取不到有效值。
2698
2750
  :rtype: int
2699
2751
  """
2700
2752
  return self._ClusterType
@@ -2706,6 +2758,7 @@ class SpecItem(AbstractModel):
2706
2758
  @property
2707
2759
  def MinNodeNum(self):
2708
2760
  """最小副本集从节点数
2761
+ 注意:此字段可能返回 null,表示取不到有效值。
2709
2762
  :rtype: int
2710
2763
  """
2711
2764
  return self._MinNodeNum
@@ -2717,6 +2770,7 @@ class SpecItem(AbstractModel):
2717
2770
  @property
2718
2771
  def MaxNodeNum(self):
2719
2772
  """最大副本集从节点数
2773
+ 注意:此字段可能返回 null,表示取不到有效值。
2720
2774
  :rtype: int
2721
2775
  """
2722
2776
  return self._MaxNodeNum
@@ -2728,6 +2782,7 @@ class SpecItem(AbstractModel):
2728
2782
  @property
2729
2783
  def MinReplicateSetNum(self):
2730
2784
  """最小分片数
2785
+ 注意:此字段可能返回 null,表示取不到有效值。
2731
2786
  :rtype: int
2732
2787
  """
2733
2788
  return self._MinReplicateSetNum
@@ -2739,6 +2794,7 @@ class SpecItem(AbstractModel):
2739
2794
  @property
2740
2795
  def MaxReplicateSetNum(self):
2741
2796
  """最大分片数
2797
+ 注意:此字段可能返回 null,表示取不到有效值。
2742
2798
  :rtype: int
2743
2799
  """
2744
2800
  return self._MaxReplicateSetNum
@@ -2750,6 +2806,7 @@ class SpecItem(AbstractModel):
2750
2806
  @property
2751
2807
  def MinReplicateSetNodeNum(self):
2752
2808
  """最小分片从节点数
2809
+ 注意:此字段可能返回 null,表示取不到有效值。
2753
2810
  :rtype: int
2754
2811
  """
2755
2812
  return self._MinReplicateSetNodeNum
@@ -2761,6 +2818,7 @@ class SpecItem(AbstractModel):
2761
2818
  @property
2762
2819
  def MaxReplicateSetNodeNum(self):
2763
2820
  """最大分片从节点数
2821
+ 注意:此字段可能返回 null,表示取不到有效值。
2764
2822
  :rtype: int
2765
2823
  """
2766
2824
  return self._MaxReplicateSetNodeNum
@@ -73,7 +73,7 @@ class MongodbClient(AbstractClient):
73
73
 
74
74
 
75
75
  def CreateDBInstanceHour(self, request):
76
- """本接口(CreateDBInstanceHour)用于创建按量计费的MongoDB云数据库实例(包括主实例、灾备实例和只读实例),可通过传入实例规格、实例类型、MongoDB版本、购买时长和数量等信息创建云数据库实例。
76
+ """本接口(CreateDBInstanceHour)用于创建按量计费的MongoDB云数据库实例,可通过传入实例规格、实例类型、MongoDB版本、购买时长和数量等信息创建云数据库实例。
77
77
 
78
78
  :param request: Request instance for CreateDBInstanceHour.
79
79
  :type request: :class:`tencentcloud.mongodb.v20180408.models.CreateDBInstanceHourRequest`
@@ -252,8 +252,13 @@ class BackupDownloadTask(AbstractModel):
252
252
  :param _BackupMethod: 备份文件备份类型,0-逻辑备份,1-物理备份
253
253
  :type BackupMethod: int
254
254
  :param _BackupDesc: 发起备份时指定的备注信息
255
- 注意:此字段可能返回 null,表示取不到有效值。
256
255
  :type BackupDesc: str
256
+ :param _Region: 地区信息。
257
+ 注意:此字段可能返回 null,表示取不到有效值。
258
+ :type Region: str
259
+ :param _Bucket: Bucket信息。
260
+ 注意:此字段可能返回 null,表示取不到有效值。
261
+ :type Bucket: str
257
262
  """
258
263
  self._CreateTime = None
259
264
  self._BackupName = None
@@ -265,6 +270,8 @@ class BackupDownloadTask(AbstractModel):
265
270
  self._Url = None
266
271
  self._BackupMethod = None
267
272
  self._BackupDesc = None
273
+ self._Region = None
274
+ self._Bucket = None
268
275
 
269
276
  @property
270
277
  def CreateTime(self):
@@ -368,7 +375,6 @@ class BackupDownloadTask(AbstractModel):
368
375
  @property
369
376
  def BackupDesc(self):
370
377
  """发起备份时指定的备注信息
371
- 注意:此字段可能返回 null,表示取不到有效值。
372
378
  :rtype: str
373
379
  """
374
380
  return self._BackupDesc
@@ -377,6 +383,30 @@ class BackupDownloadTask(AbstractModel):
377
383
  def BackupDesc(self, BackupDesc):
378
384
  self._BackupDesc = BackupDesc
379
385
 
386
+ @property
387
+ def Region(self):
388
+ """地区信息。
389
+ 注意:此字段可能返回 null,表示取不到有效值。
390
+ :rtype: str
391
+ """
392
+ return self._Region
393
+
394
+ @Region.setter
395
+ def Region(self, Region):
396
+ self._Region = Region
397
+
398
+ @property
399
+ def Bucket(self):
400
+ """Bucket信息。
401
+ 注意:此字段可能返回 null,表示取不到有效值。
402
+ :rtype: str
403
+ """
404
+ return self._Bucket
405
+
406
+ @Bucket.setter
407
+ def Bucket(self, Bucket):
408
+ self._Bucket = Bucket
409
+
380
410
 
381
411
  def _deserialize(self, params):
382
412
  self._CreateTime = params.get("CreateTime")
@@ -389,6 +419,8 @@ class BackupDownloadTask(AbstractModel):
389
419
  self._Url = params.get("Url")
390
420
  self._BackupMethod = params.get("BackupMethod")
391
421
  self._BackupDesc = params.get("BackupDesc")
422
+ self._Region = params.get("Region")
423
+ self._Bucket = params.get("Bucket")
392
424
  memeber_set = set(params.keys())
393
425
  for name, value in vars(self).items():
394
426
  property_name = name[1:]
@@ -464,16 +496,12 @@ class BackupInfo(AbstractModel):
464
496
  :param _BackupName: 备份名称
465
497
  :type BackupName: str
466
498
  :param _BackupDesc: 备份备注
467
- 注意:此字段可能返回 null,表示取不到有效值。
468
499
  :type BackupDesc: str
469
500
  :param _BackupSize: 备份文件大小,单位KB
470
- 注意:此字段可能返回 null,表示取不到有效值。
471
501
  :type BackupSize: int
472
502
  :param _StartTime: 备份开始时间
473
- 注意:此字段可能返回 null,表示取不到有效值。
474
503
  :type StartTime: str
475
504
  :param _EndTime: 备份结束时间
476
- 注意:此字段可能返回 null,表示取不到有效值。
477
505
  :type EndTime: str
478
506
  :param _Status: 备份状态,1-备份中,2-备份成功
479
507
  :type Status: int
@@ -484,7 +512,6 @@ class BackupInfo(AbstractModel):
484
512
  :param _DeleteTime: 备份删除时间
485
513
  :type DeleteTime: str
486
514
  :param _BackupRegion: 异地备份地域
487
- 注意:此字段可能返回 null,表示取不到有效值。
488
515
  :type BackupRegion: str
489
516
  """
490
517
  self._InstanceId = None
@@ -536,7 +563,6 @@ class BackupInfo(AbstractModel):
536
563
  @property
537
564
  def BackupDesc(self):
538
565
  """备份备注
539
- 注意:此字段可能返回 null,表示取不到有效值。
540
566
  :rtype: str
541
567
  """
542
568
  return self._BackupDesc
@@ -548,7 +574,6 @@ class BackupInfo(AbstractModel):
548
574
  @property
549
575
  def BackupSize(self):
550
576
  """备份文件大小,单位KB
551
- 注意:此字段可能返回 null,表示取不到有效值。
552
577
  :rtype: int
553
578
  """
554
579
  return self._BackupSize
@@ -560,7 +585,6 @@ class BackupInfo(AbstractModel):
560
585
  @property
561
586
  def StartTime(self):
562
587
  """备份开始时间
563
- 注意:此字段可能返回 null,表示取不到有效值。
564
588
  :rtype: str
565
589
  """
566
590
  return self._StartTime
@@ -572,7 +596,6 @@ class BackupInfo(AbstractModel):
572
596
  @property
573
597
  def EndTime(self):
574
598
  """备份结束时间
575
- 注意:此字段可能返回 null,表示取不到有效值。
576
599
  :rtype: str
577
600
  """
578
601
  return self._EndTime
@@ -628,7 +651,6 @@ class BackupInfo(AbstractModel):
628
651
  @property
629
652
  def BackupRegion(self):
630
653
  """异地备份地域
631
- 注意:此字段可能返回 null,表示取不到有效值。
632
654
  :rtype: str
633
655
  """
634
656
  return self._BackupRegion
@@ -2666,7 +2688,6 @@ class DBInstancePrice(AbstractModel):
2666
2688
  def __init__(self):
2667
2689
  r"""
2668
2690
  :param _UnitPrice: 单价
2669
- 注意:此字段可能返回 null,表示取不到有效值。
2670
2691
  :type UnitPrice: float
2671
2692
  :param _OriginalPrice: 原价
2672
2693
  :type OriginalPrice: float
@@ -2680,7 +2701,6 @@ class DBInstancePrice(AbstractModel):
2680
2701
  @property
2681
2702
  def UnitPrice(self):
2682
2703
  """单价
2683
- 注意:此字段可能返回 null,表示取不到有效值。
2684
2704
  :rtype: float
2685
2705
  """
2686
2706
  return self._UnitPrice
@@ -4131,7 +4151,6 @@ class DescribeDBInstanceNodePropertyResponse(AbstractModel):
4131
4151
  def __init__(self):
4132
4152
  r"""
4133
4153
  :param _Mongos: Mongos节点属性。
4134
- 注意:此字段可能返回 null,表示取不到有效值。
4135
4154
  :type Mongos: list of NodeProperty
4136
4155
  :param _ReplicateSets: 副本集节点信息。
4137
4156
  :type ReplicateSets: list of ReplicateSetInfo
@@ -4145,7 +4164,6 @@ class DescribeDBInstanceNodePropertyResponse(AbstractModel):
4145
4164
  @property
4146
4165
  def Mongos(self):
4147
4166
  """Mongos节点属性。
4148
- 注意:此字段可能返回 null,表示取不到有效值。
4149
4167
  :rtype: list of NodeProperty
4150
4168
  """
4151
4169
  return self._Mongos
@@ -4252,28 +4270,20 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4252
4270
  def __init__(self):
4253
4271
  r"""
4254
4272
  :param _InstanceEnumParams: 枚举类参数详情列表。
4255
- 注意:此字段可能返回 null,表示取不到有效值。
4256
4273
  :type InstanceEnumParams: list of InstanceEnumParam
4257
4274
  :param _InstanceIntegerParams: 整形参数详情列表。
4258
- 注意:此字段可能返回 null,表示取不到有效值。
4259
4275
  :type InstanceIntegerParams: list of InstanceIntegerParam
4260
4276
  :param _InstanceTextParams: 文本参数详情列表。
4261
- 注意:此字段可能返回 null,表示取不到有效值。
4262
4277
  :type InstanceTextParams: list of InstanceTextParam
4263
4278
  :param _InstanceMultiParams: 多值参数详情列表。
4264
- 注意:此字段可能返回 null,表示取不到有效值。
4265
4279
  :type InstanceMultiParams: list of InstanceMultiParam
4266
4280
  :param _TotalCount: 参数总个数。
4267
- 注意:此字段可能返回 null,表示取不到有效值。
4268
4281
  :type TotalCount: int
4269
4282
  :param _MongoVersion: 模板适配实例版本。
4270
- 注意:此字段可能返回 null,表示取不到有效值。
4271
4283
  :type MongoVersion: str
4272
4284
  :param _ClusterType: 模板适配集群类型,副本集或分片。。
4273
- 注意:此字段可能返回 null,表示取不到有效值。
4274
4285
  :type ClusterType: str
4275
4286
  :param _TplName: 参数模板名称。
4276
- 注意:此字段可能返回 null,表示取不到有效值。
4277
4287
  :type TplName: str
4278
4288
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4279
4289
  :type RequestId: str
@@ -4291,7 +4301,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4291
4301
  @property
4292
4302
  def InstanceEnumParams(self):
4293
4303
  """枚举类参数详情列表。
4294
- 注意:此字段可能返回 null,表示取不到有效值。
4295
4304
  :rtype: list of InstanceEnumParam
4296
4305
  """
4297
4306
  return self._InstanceEnumParams
@@ -4303,7 +4312,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4303
4312
  @property
4304
4313
  def InstanceIntegerParams(self):
4305
4314
  """整形参数详情列表。
4306
- 注意:此字段可能返回 null,表示取不到有效值。
4307
4315
  :rtype: list of InstanceIntegerParam
4308
4316
  """
4309
4317
  return self._InstanceIntegerParams
@@ -4315,7 +4323,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4315
4323
  @property
4316
4324
  def InstanceTextParams(self):
4317
4325
  """文本参数详情列表。
4318
- 注意:此字段可能返回 null,表示取不到有效值。
4319
4326
  :rtype: list of InstanceTextParam
4320
4327
  """
4321
4328
  return self._InstanceTextParams
@@ -4327,7 +4334,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4327
4334
  @property
4328
4335
  def InstanceMultiParams(self):
4329
4336
  """多值参数详情列表。
4330
- 注意:此字段可能返回 null,表示取不到有效值。
4331
4337
  :rtype: list of InstanceMultiParam
4332
4338
  """
4333
4339
  return self._InstanceMultiParams
@@ -4339,7 +4345,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4339
4345
  @property
4340
4346
  def TotalCount(self):
4341
4347
  """参数总个数。
4342
- 注意:此字段可能返回 null,表示取不到有效值。
4343
4348
  :rtype: int
4344
4349
  """
4345
4350
  return self._TotalCount
@@ -4351,7 +4356,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4351
4356
  @property
4352
4357
  def MongoVersion(self):
4353
4358
  """模板适配实例版本。
4354
- 注意:此字段可能返回 null,表示取不到有效值。
4355
4359
  :rtype: str
4356
4360
  """
4357
4361
  return self._MongoVersion
@@ -4363,7 +4367,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4363
4367
  @property
4364
4368
  def ClusterType(self):
4365
4369
  """模板适配集群类型,副本集或分片。。
4366
- 注意:此字段可能返回 null,表示取不到有效值。
4367
4370
  :rtype: str
4368
4371
  """
4369
4372
  return self._ClusterType
@@ -4375,7 +4378,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4375
4378
  @property
4376
4379
  def TplName(self):
4377
4380
  """参数模板名称。
4378
- 注意:此字段可能返回 null,表示取不到有效值。
4379
4381
  :rtype: str
4380
4382
  """
4381
4383
  return self._TplName
@@ -4517,10 +4519,8 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4517
4519
  def __init__(self):
4518
4520
  r"""
4519
4521
  :param _ParamTpls: 参数模板列表信息。
4520
- 注意:此字段可能返回 null,表示取不到有效值。
4521
4522
  :type ParamTpls: list of ParamTpl
4522
4523
  :param _TotalCount: 参数模板总数。
4523
- 注意:此字段可能返回 null,表示取不到有效值。
4524
4524
  :type TotalCount: int
4525
4525
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4526
4526
  :type RequestId: str
@@ -4532,7 +4532,6 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4532
4532
  @property
4533
4533
  def ParamTpls(self):
4534
4534
  """参数模板列表信息。
4535
- 注意:此字段可能返回 null,表示取不到有效值。
4536
4535
  :rtype: list of ParamTpl
4537
4536
  """
4538
4537
  return self._ParamTpls
@@ -4544,7 +4543,6 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4544
4543
  @property
4545
4544
  def TotalCount(self):
4546
4545
  """参数模板总数。
4547
- 注意:此字段可能返回 null,表示取不到有效值。
4548
4546
  :rtype: int
4549
4547
  """
4550
4548
  return self._TotalCount
@@ -5455,7 +5453,6 @@ class DescribeSlowLogsResponse(AbstractModel):
5455
5453
  :param _Count: 慢日志总数
5456
5454
  :type Count: int
5457
5455
  :param _SlowLogs: 慢日志详情
5458
- 注意:此字段可能返回 null,表示取不到有效值。
5459
5456
  :type SlowLogs: list of str
5460
5457
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5461
5458
  :type RequestId: str
@@ -5478,7 +5475,6 @@ class DescribeSlowLogsResponse(AbstractModel):
5478
5475
  @property
5479
5476
  def SlowLogs(self):
5480
5477
  """慢日志详情
5481
- 注意:此字段可能返回 null,表示取不到有效值。
5482
5478
  :rtype: list of str
5483
5479
  """
5484
5480
  return self._SlowLogs
@@ -6992,31 +6988,22 @@ class InstanceDetail(AbstractModel):
6992
6988
  :param _RealInstanceId: 实例对应的物理实例id,回档并替换过的实例有不同的InstanceId和RealInstanceId,从barad获取监控数据等场景下需要用物理id获取
6993
6989
  :type RealInstanceId: str
6994
6990
  :param _ZoneList: 实例当前可用区信息。
6995
- 注意:此字段可能返回 null,表示取不到有效值。
6996
6991
  :type ZoneList: list of str
6997
6992
  :param _MongosNodeNum: mongos节点个数。
6998
- 注意:此字段可能返回 null,表示取不到有效值。
6999
6993
  :type MongosNodeNum: int
7000
6994
  :param _MongosMemory: mongos节点内存。
7001
- 注意:此字段可能返回 null,表示取不到有效值。
7002
6995
  :type MongosMemory: int
7003
6996
  :param _MongosCpuNum: mongos节点CPU核数。
7004
- 注意:此字段可能返回 null,表示取不到有效值。
7005
6997
  :type MongosCpuNum: int
7006
6998
  :param _ConfigServerNodeNum: Config Server节点个数。
7007
- 注意:此字段可能返回 null,表示取不到有效值。
7008
6999
  :type ConfigServerNodeNum: int
7009
7000
  :param _ConfigServerMemory: Config Server节点内存。
7010
- 注意:此字段可能返回 null,表示取不到有效值。
7011
7001
  :type ConfigServerMemory: int
7012
7002
  :param _ConfigServerVolume: Config Server节点磁盘大小。
7013
- 注意:此字段可能返回 null,表示取不到有效值。
7014
7003
  :type ConfigServerVolume: int
7015
7004
  :param _ConfigServerCpuNum: Config Server节点CPU核数。
7016
- 注意:此字段可能返回 null,表示取不到有效值。
7017
7005
  :type ConfigServerCpuNum: int
7018
7006
  :param _ReadonlyNodeNum: readonly节点个数。
7019
- 注意:此字段可能返回 null,表示取不到有效值。
7020
7007
  :type ReadonlyNodeNum: int
7021
7008
  """
7022
7009
  self._InstanceId = None
@@ -7488,7 +7475,6 @@ class InstanceDetail(AbstractModel):
7488
7475
  @property
7489
7476
  def ZoneList(self):
7490
7477
  """实例当前可用区信息。
7491
- 注意:此字段可能返回 null,表示取不到有效值。
7492
7478
  :rtype: list of str
7493
7479
  """
7494
7480
  return self._ZoneList
@@ -7500,7 +7486,6 @@ class InstanceDetail(AbstractModel):
7500
7486
  @property
7501
7487
  def MongosNodeNum(self):
7502
7488
  """mongos节点个数。
7503
- 注意:此字段可能返回 null,表示取不到有效值。
7504
7489
  :rtype: int
7505
7490
  """
7506
7491
  return self._MongosNodeNum
@@ -7512,7 +7497,6 @@ class InstanceDetail(AbstractModel):
7512
7497
  @property
7513
7498
  def MongosMemory(self):
7514
7499
  """mongos节点内存。
7515
- 注意:此字段可能返回 null,表示取不到有效值。
7516
7500
  :rtype: int
7517
7501
  """
7518
7502
  return self._MongosMemory
@@ -7524,7 +7508,6 @@ class InstanceDetail(AbstractModel):
7524
7508
  @property
7525
7509
  def MongosCpuNum(self):
7526
7510
  """mongos节点CPU核数。
7527
- 注意:此字段可能返回 null,表示取不到有效值。
7528
7511
  :rtype: int
7529
7512
  """
7530
7513
  return self._MongosCpuNum
@@ -7536,7 +7519,6 @@ class InstanceDetail(AbstractModel):
7536
7519
  @property
7537
7520
  def ConfigServerNodeNum(self):
7538
7521
  """Config Server节点个数。
7539
- 注意:此字段可能返回 null,表示取不到有效值。
7540
7522
  :rtype: int
7541
7523
  """
7542
7524
  return self._ConfigServerNodeNum
@@ -7548,7 +7530,6 @@ class InstanceDetail(AbstractModel):
7548
7530
  @property
7549
7531
  def ConfigServerMemory(self):
7550
7532
  """Config Server节点内存。
7551
- 注意:此字段可能返回 null,表示取不到有效值。
7552
7533
  :rtype: int
7553
7534
  """
7554
7535
  return self._ConfigServerMemory
@@ -7560,7 +7541,6 @@ class InstanceDetail(AbstractModel):
7560
7541
  @property
7561
7542
  def ConfigServerVolume(self):
7562
7543
  """Config Server节点磁盘大小。
7563
- 注意:此字段可能返回 null,表示取不到有效值。
7564
7544
  :rtype: int
7565
7545
  """
7566
7546
  return self._ConfigServerVolume
@@ -7572,7 +7552,6 @@ class InstanceDetail(AbstractModel):
7572
7552
  @property
7573
7553
  def ConfigServerCpuNum(self):
7574
7554
  """Config Server节点CPU核数。
7575
- 注意:此字段可能返回 null,表示取不到有效值。
7576
7555
  :rtype: int
7577
7556
  """
7578
7557
  return self._ConfigServerCpuNum
@@ -7584,7 +7563,6 @@ class InstanceDetail(AbstractModel):
7584
7563
  @property
7585
7564
  def ReadonlyNodeNum(self):
7586
7565
  """readonly节点个数。
7587
- 注意:此字段可能返回 null,表示取不到有效值。
7588
7566
  :rtype: int
7589
7567
  """
7590
7568
  return self._ReadonlyNodeNum
@@ -8388,22 +8366,16 @@ class KMSInfoDetail(AbstractModel):
8388
8366
  def __init__(self):
8389
8367
  r"""
8390
8368
  :param _KeyId: 主密钥 ID。
8391
- 注意:此字段可能返回 null,表示取不到有效值。
8392
8369
  :type KeyId: str
8393
8370
  :param _KeyName: 主密钥名称。
8394
- 注意:此字段可能返回 null,表示取不到有效值。
8395
8371
  :type KeyName: str
8396
8372
  :param _CreateTime: 实例与密钥绑定时间。
8397
- 注意:此字段可能返回 null,表示取不到有效值。
8398
8373
  :type CreateTime: str
8399
8374
  :param _Status: 密钥状态。
8400
- 注意:此字段可能返回 null,表示取不到有效值。
8401
8375
  :type Status: str
8402
8376
  :param _KeyUsage: 密钥用途。
8403
- 注意:此字段可能返回 null,表示取不到有效值。
8404
8377
  :type KeyUsage: str
8405
8378
  :param _KeyOrigin: 密钥来源。
8406
- 注意:此字段可能返回 null,表示取不到有效值。
8407
8379
  :type KeyOrigin: str
8408
8380
  :param _KmsRegion: kms所在地域。
8409
8381
  :type KmsRegion: str
@@ -8419,7 +8391,6 @@ class KMSInfoDetail(AbstractModel):
8419
8391
  @property
8420
8392
  def KeyId(self):
8421
8393
  """主密钥 ID。
8422
- 注意:此字段可能返回 null,表示取不到有效值。
8423
8394
  :rtype: str
8424
8395
  """
8425
8396
  return self._KeyId
@@ -8431,7 +8402,6 @@ class KMSInfoDetail(AbstractModel):
8431
8402
  @property
8432
8403
  def KeyName(self):
8433
8404
  """主密钥名称。
8434
- 注意:此字段可能返回 null,表示取不到有效值。
8435
8405
  :rtype: str
8436
8406
  """
8437
8407
  return self._KeyName
@@ -8443,7 +8413,6 @@ class KMSInfoDetail(AbstractModel):
8443
8413
  @property
8444
8414
  def CreateTime(self):
8445
8415
  """实例与密钥绑定时间。
8446
- 注意:此字段可能返回 null,表示取不到有效值。
8447
8416
  :rtype: str
8448
8417
  """
8449
8418
  return self._CreateTime
@@ -8455,7 +8424,6 @@ class KMSInfoDetail(AbstractModel):
8455
8424
  @property
8456
8425
  def Status(self):
8457
8426
  """密钥状态。
8458
- 注意:此字段可能返回 null,表示取不到有效值。
8459
8427
  :rtype: str
8460
8428
  """
8461
8429
  return self._Status
@@ -8467,7 +8435,6 @@ class KMSInfoDetail(AbstractModel):
8467
8435
  @property
8468
8436
  def KeyUsage(self):
8469
8437
  """密钥用途。
8470
- 注意:此字段可能返回 null,表示取不到有效值。
8471
8438
  :rtype: str
8472
8439
  """
8473
8440
  return self._KeyUsage
@@ -8479,7 +8446,6 @@ class KMSInfoDetail(AbstractModel):
8479
8446
  @property
8480
8447
  def KeyOrigin(self):
8481
8448
  """密钥来源。
8482
- 注意:此字段可能返回 null,表示取不到有效值。
8483
8449
  :rtype: str
8484
8450
  """
8485
8451
  return self._KeyOrigin
@@ -9454,42 +9420,34 @@ class NodeProperty(AbstractModel):
9454
9420
  def __init__(self):
9455
9421
  r"""
9456
9422
  :param _Zone: 节点所在的可用区。
9457
- 注意:此字段可能返回 null,表示取不到有效值。
9458
9423
  :type Zone: str
9459
9424
  :param _NodeName: 节点名称。
9460
- 注意:此字段可能返回 null,表示取不到有效值。
9461
9425
  :type NodeName: str
9462
9426
  :param _Address: 节点访问地址。
9463
- 注意:此字段可能返回 null,表示取不到有效值。
9464
9427
  :type Address: str
9428
+ :param _WanServiceAddress: 节点公网访问地址(IP或域名)。
9429
+ :type WanServiceAddress: str
9465
9430
  :param _Role: 角色。
9466
- 注意:此字段可能返回 null,表示取不到有效值。
9467
9431
  :type Role: str
9468
9432
  :param _Hidden: 是否为Hidden节点
9469
- 注意:此字段可能返回 null,表示取不到有效值。
9470
9433
  :type Hidden: bool
9471
9434
  :param _Status: 节点状态,包括:ORMAL/STARTUP/RECOVERING/STARTUP2/UNKNOWN/DOWN/ROLLBACK/REMOVED等。
9472
- 注意:此字段可能返回 null,表示取不到有效值。
9473
9435
  :type Status: str
9474
9436
  :param _SlaveDelay: 主从延迟,单位秒。
9475
- 注意:此字段可能返回 null,表示取不到有效值。
9476
9437
  :type SlaveDelay: int
9477
9438
  :param _Priority: 节点优先级。
9478
- 注意:此字段可能返回 null,表示取不到有效值。
9479
9439
  :type Priority: int
9480
9440
  :param _Votes: 节点投票权。
9481
- 注意:此字段可能返回 null,表示取不到有效值。
9482
9441
  :type Votes: int
9483
9442
  :param _Tags: 节点标签。
9484
- 注意:此字段可能返回 null,表示取不到有效值。
9485
9443
  :type Tags: list of NodeTag
9486
9444
  :param _ReplicateSetId: 副本集Id。
9487
- 注意:此字段可能返回 null,表示取不到有效值。
9488
9445
  :type ReplicateSetId: str
9489
9446
  """
9490
9447
  self._Zone = None
9491
9448
  self._NodeName = None
9492
9449
  self._Address = None
9450
+ self._WanServiceAddress = None
9493
9451
  self._Role = None
9494
9452
  self._Hidden = None
9495
9453
  self._Status = None
@@ -9502,7 +9460,6 @@ class NodeProperty(AbstractModel):
9502
9460
  @property
9503
9461
  def Zone(self):
9504
9462
  """节点所在的可用区。
9505
- 注意:此字段可能返回 null,表示取不到有效值。
9506
9463
  :rtype: str
9507
9464
  """
9508
9465
  return self._Zone
@@ -9514,7 +9471,6 @@ class NodeProperty(AbstractModel):
9514
9471
  @property
9515
9472
  def NodeName(self):
9516
9473
  """节点名称。
9517
- 注意:此字段可能返回 null,表示取不到有效值。
9518
9474
  :rtype: str
9519
9475
  """
9520
9476
  return self._NodeName
@@ -9526,7 +9482,6 @@ class NodeProperty(AbstractModel):
9526
9482
  @property
9527
9483
  def Address(self):
9528
9484
  """节点访问地址。
9529
- 注意:此字段可能返回 null,表示取不到有效值。
9530
9485
  :rtype: str
9531
9486
  """
9532
9487
  return self._Address
@@ -9535,10 +9490,20 @@ class NodeProperty(AbstractModel):
9535
9490
  def Address(self, Address):
9536
9491
  self._Address = Address
9537
9492
 
9493
+ @property
9494
+ def WanServiceAddress(self):
9495
+ """节点公网访问地址(IP或域名)。
9496
+ :rtype: str
9497
+ """
9498
+ return self._WanServiceAddress
9499
+
9500
+ @WanServiceAddress.setter
9501
+ def WanServiceAddress(self, WanServiceAddress):
9502
+ self._WanServiceAddress = WanServiceAddress
9503
+
9538
9504
  @property
9539
9505
  def Role(self):
9540
9506
  """角色。
9541
- 注意:此字段可能返回 null,表示取不到有效值。
9542
9507
  :rtype: str
9543
9508
  """
9544
9509
  return self._Role
@@ -9550,7 +9515,6 @@ class NodeProperty(AbstractModel):
9550
9515
  @property
9551
9516
  def Hidden(self):
9552
9517
  """是否为Hidden节点
9553
- 注意:此字段可能返回 null,表示取不到有效值。
9554
9518
  :rtype: bool
9555
9519
  """
9556
9520
  return self._Hidden
@@ -9562,7 +9526,6 @@ class NodeProperty(AbstractModel):
9562
9526
  @property
9563
9527
  def Status(self):
9564
9528
  """节点状态,包括:ORMAL/STARTUP/RECOVERING/STARTUP2/UNKNOWN/DOWN/ROLLBACK/REMOVED等。
9565
- 注意:此字段可能返回 null,表示取不到有效值。
9566
9529
  :rtype: str
9567
9530
  """
9568
9531
  return self._Status
@@ -9574,7 +9537,6 @@ class NodeProperty(AbstractModel):
9574
9537
  @property
9575
9538
  def SlaveDelay(self):
9576
9539
  """主从延迟,单位秒。
9577
- 注意:此字段可能返回 null,表示取不到有效值。
9578
9540
  :rtype: int
9579
9541
  """
9580
9542
  return self._SlaveDelay
@@ -9586,7 +9548,6 @@ class NodeProperty(AbstractModel):
9586
9548
  @property
9587
9549
  def Priority(self):
9588
9550
  """节点优先级。
9589
- 注意:此字段可能返回 null,表示取不到有效值。
9590
9551
  :rtype: int
9591
9552
  """
9592
9553
  return self._Priority
@@ -9598,7 +9559,6 @@ class NodeProperty(AbstractModel):
9598
9559
  @property
9599
9560
  def Votes(self):
9600
9561
  """节点投票权。
9601
- 注意:此字段可能返回 null,表示取不到有效值。
9602
9562
  :rtype: int
9603
9563
  """
9604
9564
  return self._Votes
@@ -9610,7 +9570,6 @@ class NodeProperty(AbstractModel):
9610
9570
  @property
9611
9571
  def Tags(self):
9612
9572
  """节点标签。
9613
- 注意:此字段可能返回 null,表示取不到有效值。
9614
9573
  :rtype: list of NodeTag
9615
9574
  """
9616
9575
  return self._Tags
@@ -9622,7 +9581,6 @@ class NodeProperty(AbstractModel):
9622
9581
  @property
9623
9582
  def ReplicateSetId(self):
9624
9583
  """副本集Id。
9625
- 注意:此字段可能返回 null,表示取不到有效值。
9626
9584
  :rtype: str
9627
9585
  """
9628
9586
  return self._ReplicateSetId
@@ -9636,6 +9594,7 @@ class NodeProperty(AbstractModel):
9636
9594
  self._Zone = params.get("Zone")
9637
9595
  self._NodeName = params.get("NodeName")
9638
9596
  self._Address = params.get("Address")
9597
+ self._WanServiceAddress = params.get("WanServiceAddress")
9639
9598
  self._Role = params.get("Role")
9640
9599
  self._Hidden = params.get("Hidden")
9641
9600
  self._Status = params.get("Status")
@@ -9667,10 +9626,8 @@ class NodeTag(AbstractModel):
9667
9626
  def __init__(self):
9668
9627
  r"""
9669
9628
  :param _TagKey: 节点Tag key
9670
- 注意:此字段可能返回 null,表示取不到有效值。
9671
9629
  :type TagKey: str
9672
9630
  :param _TagValue: 节点Tag Value
9673
- 注意:此字段可能返回 null,表示取不到有效值。
9674
9631
  :type TagValue: str
9675
9632
  """
9676
9633
  self._TagKey = None
@@ -9679,7 +9636,6 @@ class NodeTag(AbstractModel):
9679
9636
  @property
9680
9637
  def TagKey(self):
9681
9638
  """节点Tag key
9682
- 注意:此字段可能返回 null,表示取不到有效值。
9683
9639
  :rtype: str
9684
9640
  """
9685
9641
  return self._TagKey
@@ -9691,7 +9647,6 @@ class NodeTag(AbstractModel):
9691
9647
  @property
9692
9648
  def TagValue(self):
9693
9649
  """节点Tag Value
9694
- 注意:此字段可能返回 null,表示取不到有效值。
9695
9650
  :rtype: str
9696
9651
  """
9697
9652
  return self._TagValue
@@ -10307,7 +10262,6 @@ class ReplicateSetInfo(AbstractModel):
10307
10262
  def __init__(self):
10308
10263
  r"""
10309
10264
  :param _Nodes: 节点属性
10310
- 注意:此字段可能返回 null,表示取不到有效值。
10311
10265
  :type Nodes: list of NodeProperty
10312
10266
  """
10313
10267
  self._Nodes = None
@@ -10315,7 +10269,6 @@ class ReplicateSetInfo(AbstractModel):
10315
10269
  @property
10316
10270
  def Nodes(self):
10317
10271
  """节点属性
10318
- 注意:此字段可能返回 null,表示取不到有效值。
10319
10272
  :rtype: list of NodeProperty
10320
10273
  """
10321
10274
  return self._Nodes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mongodb
3
- Version: 3.0.1295
3
+ Version: 3.0.1298
4
4
  Summary: Tencent Cloud Mongodb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1298
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1295