tencentcloud-sdk-python-mongodb 3.0.1288__tar.gz → 3.0.1302__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.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20180408/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20180408/models.py +36 -20
  6. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20180408/mongodb_client.py +1 -1
  7. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20190725/models.py +62 -116
  8. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud_sdk_python_mongodb.egg-info/PKG-INFO +1 -1
  9. tencentcloud-sdk-python-mongodb-3.0.1302/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-mongodb-3.0.1288/tencentcloud_sdk_python_mongodb.egg-info/requires.txt +0 -1
  11. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/README.rst +0 -0
  12. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/setup.cfg +0 -0
  13. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/__init__.py +0 -0
  14. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20180408/__init__.py +0 -0
  15. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20190725/__init__.py +0 -0
  16. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20190725/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud/mongodb/v20190725/mongodb_client.py +0 -0
  18. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud_sdk_python_mongodb.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/tencentcloud_sdk_python_mongodb.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-mongodb-3.0.1288 → tencentcloud-sdk-python-mongodb-3.0.1302}/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.1288
3
+ Version: 3.0.1302
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.1288"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1302"],
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.1288'
17
+ __version__ = '3.0.1302'
@@ -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
@@ -3010,7 +3026,7 @@ class UpgradeDBInstanceHourRequest(AbstractModel):
3010
3026
 
3011
3027
  def __init__(self):
3012
3028
  r"""
3013
- :param _InstanceId: 实例ID,格式如:cmgo-p8vnipr5
3029
+ :param _InstanceId: 实例ID,格式如:cmgo-iga0****
3014
3030
  :type InstanceId: str
3015
3031
  :param _Memory: 升级后的内存大小,单位:GB
3016
3032
  :type Memory: int
@@ -3026,7 +3042,7 @@ class UpgradeDBInstanceHourRequest(AbstractModel):
3026
3042
 
3027
3043
  @property
3028
3044
  def InstanceId(self):
3029
- """实例ID,格式如:cmgo-p8vnipr5
3045
+ """实例ID,格式如:cmgo-iga0****
3030
3046
  :rtype: str
3031
3047
  """
3032
3048
  return self._InstanceId
@@ -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,11 @@ 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
+ :type Region: str
258
+ :param _Bucket: Bucket信息。
259
+ :type Bucket: str
257
260
  """
258
261
  self._CreateTime = None
259
262
  self._BackupName = None
@@ -265,6 +268,8 @@ class BackupDownloadTask(AbstractModel):
265
268
  self._Url = None
266
269
  self._BackupMethod = None
267
270
  self._BackupDesc = None
271
+ self._Region = None
272
+ self._Bucket = None
268
273
 
269
274
  @property
270
275
  def CreateTime(self):
@@ -368,7 +373,6 @@ class BackupDownloadTask(AbstractModel):
368
373
  @property
369
374
  def BackupDesc(self):
370
375
  """发起备份时指定的备注信息
371
- 注意:此字段可能返回 null,表示取不到有效值。
372
376
  :rtype: str
373
377
  """
374
378
  return self._BackupDesc
@@ -377,6 +381,28 @@ class BackupDownloadTask(AbstractModel):
377
381
  def BackupDesc(self, BackupDesc):
378
382
  self._BackupDesc = BackupDesc
379
383
 
384
+ @property
385
+ def Region(self):
386
+ """地区信息。
387
+ :rtype: str
388
+ """
389
+ return self._Region
390
+
391
+ @Region.setter
392
+ def Region(self, Region):
393
+ self._Region = Region
394
+
395
+ @property
396
+ def Bucket(self):
397
+ """Bucket信息。
398
+ :rtype: str
399
+ """
400
+ return self._Bucket
401
+
402
+ @Bucket.setter
403
+ def Bucket(self, Bucket):
404
+ self._Bucket = Bucket
405
+
380
406
 
381
407
  def _deserialize(self, params):
382
408
  self._CreateTime = params.get("CreateTime")
@@ -389,6 +415,8 @@ class BackupDownloadTask(AbstractModel):
389
415
  self._Url = params.get("Url")
390
416
  self._BackupMethod = params.get("BackupMethod")
391
417
  self._BackupDesc = params.get("BackupDesc")
418
+ self._Region = params.get("Region")
419
+ self._Bucket = params.get("Bucket")
392
420
  memeber_set = set(params.keys())
393
421
  for name, value in vars(self).items():
394
422
  property_name = name[1:]
@@ -457,23 +485,19 @@ class BackupInfo(AbstractModel):
457
485
 
458
486
  def __init__(self):
459
487
  r"""
460
- :param _InstanceId: 实例ID
488
+ :param _InstanceId: 实例ID。
461
489
  :type InstanceId: str
462
490
  :param _BackupType: 备份方式,0-自动备份,1-手动备份
463
491
  :type BackupType: int
464
492
  :param _BackupName: 备份名称
465
493
  :type BackupName: str
466
494
  :param _BackupDesc: 备份备注
467
- 注意:此字段可能返回 null,表示取不到有效值。
468
495
  :type BackupDesc: str
469
496
  :param _BackupSize: 备份文件大小,单位KB
470
- 注意:此字段可能返回 null,表示取不到有效值。
471
497
  :type BackupSize: int
472
498
  :param _StartTime: 备份开始时间
473
- 注意:此字段可能返回 null,表示取不到有效值。
474
499
  :type StartTime: str
475
500
  :param _EndTime: 备份结束时间
476
- 注意:此字段可能返回 null,表示取不到有效值。
477
501
  :type EndTime: str
478
502
  :param _Status: 备份状态,1-备份中,2-备份成功
479
503
  :type Status: int
@@ -484,7 +508,6 @@ class BackupInfo(AbstractModel):
484
508
  :param _DeleteTime: 备份删除时间
485
509
  :type DeleteTime: str
486
510
  :param _BackupRegion: 异地备份地域
487
- 注意:此字段可能返回 null,表示取不到有效值。
488
511
  :type BackupRegion: str
489
512
  """
490
513
  self._InstanceId = None
@@ -502,7 +525,7 @@ class BackupInfo(AbstractModel):
502
525
 
503
526
  @property
504
527
  def InstanceId(self):
505
- """实例ID
528
+ """实例ID。
506
529
  :rtype: str
507
530
  """
508
531
  return self._InstanceId
@@ -536,7 +559,6 @@ class BackupInfo(AbstractModel):
536
559
  @property
537
560
  def BackupDesc(self):
538
561
  """备份备注
539
- 注意:此字段可能返回 null,表示取不到有效值。
540
562
  :rtype: str
541
563
  """
542
564
  return self._BackupDesc
@@ -548,7 +570,6 @@ class BackupInfo(AbstractModel):
548
570
  @property
549
571
  def BackupSize(self):
550
572
  """备份文件大小,单位KB
551
- 注意:此字段可能返回 null,表示取不到有效值。
552
573
  :rtype: int
553
574
  """
554
575
  return self._BackupSize
@@ -560,7 +581,6 @@ class BackupInfo(AbstractModel):
560
581
  @property
561
582
  def StartTime(self):
562
583
  """备份开始时间
563
- 注意:此字段可能返回 null,表示取不到有效值。
564
584
  :rtype: str
565
585
  """
566
586
  return self._StartTime
@@ -572,7 +592,6 @@ class BackupInfo(AbstractModel):
572
592
  @property
573
593
  def EndTime(self):
574
594
  """备份结束时间
575
- 注意:此字段可能返回 null,表示取不到有效值。
576
595
  :rtype: str
577
596
  """
578
597
  return self._EndTime
@@ -628,7 +647,6 @@ class BackupInfo(AbstractModel):
628
647
  @property
629
648
  def BackupRegion(self):
630
649
  """异地备份地域
631
- 注意:此字段可能返回 null,表示取不到有效值。
632
650
  :rtype: str
633
651
  """
634
652
  return self._BackupRegion
@@ -2428,32 +2446,24 @@ class CurrentOp(AbstractModel):
2428
2446
  def __init__(self):
2429
2447
  r"""
2430
2448
  :param _OpId: 操作序号。
2431
- 注意:此字段可能返回 null,表示取不到有效值。
2432
2449
  :type OpId: int
2433
2450
  :param _Ns: 操作所在的命名空间,形式如db.collection。
2434
- 注意:此字段可能返回 null,表示取不到有效值。
2435
2451
  :type Ns: str
2436
2452
  :param _Query: 操作执行语句。
2437
- 注意:此字段可能返回 null,表示取不到有效值。
2438
2453
  :type Query: str
2439
2454
  :param _Op: 操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command。
2440
- 注意:此字段可能返回 null,表示取不到有效值。
2441
2455
  :type Op: str
2442
2456
  :param _ReplicaSetName: 操作所在的分片名称。
2443
2457
  :type ReplicaSetName: str
2444
2458
  :param _NodeName: 操作所在的节点名称。
2445
2459
  :type NodeName: str
2446
2460
  :param _Operation: 操作详细信息。
2447
- 注意:此字段可能返回 null,表示取不到有效值。
2448
2461
  :type Operation: str
2449
2462
  :param _State: 筛选条件,节点状态,可能的取值为:Primary、Secondary。
2450
- 注意:此字段可能返回 null,表示取不到有效值。
2451
2463
  :type State: str
2452
2464
  :param _MicrosecsRunning: 操作已执行时间(ms)。
2453
- 注意:此字段可能返回 null,表示取不到有效值。
2454
2465
  :type MicrosecsRunning: int
2455
2466
  :param _ExecNode: 当前操作所在节点信息。
2456
- 注意:此字段可能返回 null,表示取不到有效值。
2457
2467
  :type ExecNode: str
2458
2468
  """
2459
2469
  self._OpId = None
@@ -2470,7 +2480,6 @@ class CurrentOp(AbstractModel):
2470
2480
  @property
2471
2481
  def OpId(self):
2472
2482
  """操作序号。
2473
- 注意:此字段可能返回 null,表示取不到有效值。
2474
2483
  :rtype: int
2475
2484
  """
2476
2485
  return self._OpId
@@ -2482,7 +2491,6 @@ class CurrentOp(AbstractModel):
2482
2491
  @property
2483
2492
  def Ns(self):
2484
2493
  """操作所在的命名空间,形式如db.collection。
2485
- 注意:此字段可能返回 null,表示取不到有效值。
2486
2494
  :rtype: str
2487
2495
  """
2488
2496
  return self._Ns
@@ -2494,7 +2502,6 @@ class CurrentOp(AbstractModel):
2494
2502
  @property
2495
2503
  def Query(self):
2496
2504
  """操作执行语句。
2497
- 注意:此字段可能返回 null,表示取不到有效值。
2498
2505
  :rtype: str
2499
2506
  """
2500
2507
  return self._Query
@@ -2506,7 +2513,6 @@ class CurrentOp(AbstractModel):
2506
2513
  @property
2507
2514
  def Op(self):
2508
2515
  """操作类型,可能的取值:aggregate、count、delete、distinct、find、findAndModify、getMore、insert、mapReduce、update和command。
2509
- 注意:此字段可能返回 null,表示取不到有效值。
2510
2516
  :rtype: str
2511
2517
  """
2512
2518
  return self._Op
@@ -2540,7 +2546,6 @@ class CurrentOp(AbstractModel):
2540
2546
  @property
2541
2547
  def Operation(self):
2542
2548
  """操作详细信息。
2543
- 注意:此字段可能返回 null,表示取不到有效值。
2544
2549
  :rtype: str
2545
2550
  """
2546
2551
  return self._Operation
@@ -2552,7 +2557,6 @@ class CurrentOp(AbstractModel):
2552
2557
  @property
2553
2558
  def State(self):
2554
2559
  """筛选条件,节点状态,可能的取值为:Primary、Secondary。
2555
- 注意:此字段可能返回 null,表示取不到有效值。
2556
2560
  :rtype: str
2557
2561
  """
2558
2562
  return self._State
@@ -2564,7 +2568,6 @@ class CurrentOp(AbstractModel):
2564
2568
  @property
2565
2569
  def MicrosecsRunning(self):
2566
2570
  """操作已执行时间(ms)。
2567
- 注意:此字段可能返回 null,表示取不到有效值。
2568
2571
  :rtype: int
2569
2572
  """
2570
2573
  return self._MicrosecsRunning
@@ -2576,7 +2579,6 @@ class CurrentOp(AbstractModel):
2576
2579
  @property
2577
2580
  def ExecNode(self):
2578
2581
  """当前操作所在节点信息。
2579
- 注意:此字段可能返回 null,表示取不到有效值。
2580
2582
  :rtype: str
2581
2583
  """
2582
2584
  return self._ExecNode
@@ -2666,7 +2668,6 @@ class DBInstancePrice(AbstractModel):
2666
2668
  def __init__(self):
2667
2669
  r"""
2668
2670
  :param _UnitPrice: 单价
2669
- 注意:此字段可能返回 null,表示取不到有效值。
2670
2671
  :type UnitPrice: float
2671
2672
  :param _OriginalPrice: 原价
2672
2673
  :type OriginalPrice: float
@@ -2680,7 +2681,6 @@ class DBInstancePrice(AbstractModel):
2680
2681
  @property
2681
2682
  def UnitPrice(self):
2682
2683
  """单价
2683
- 注意:此字段可能返回 null,表示取不到有效值。
2684
2684
  :rtype: float
2685
2685
  """
2686
2686
  return self._UnitPrice
@@ -4131,7 +4131,6 @@ class DescribeDBInstanceNodePropertyResponse(AbstractModel):
4131
4131
  def __init__(self):
4132
4132
  r"""
4133
4133
  :param _Mongos: Mongos节点属性。
4134
- 注意:此字段可能返回 null,表示取不到有效值。
4135
4134
  :type Mongos: list of NodeProperty
4136
4135
  :param _ReplicateSets: 副本集节点信息。
4137
4136
  :type ReplicateSets: list of ReplicateSetInfo
@@ -4145,7 +4144,6 @@ class DescribeDBInstanceNodePropertyResponse(AbstractModel):
4145
4144
  @property
4146
4145
  def Mongos(self):
4147
4146
  """Mongos节点属性。
4148
- 注意:此字段可能返回 null,表示取不到有效值。
4149
4147
  :rtype: list of NodeProperty
4150
4148
  """
4151
4149
  return self._Mongos
@@ -4252,28 +4250,20 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4252
4250
  def __init__(self):
4253
4251
  r"""
4254
4252
  :param _InstanceEnumParams: 枚举类参数详情列表。
4255
- 注意:此字段可能返回 null,表示取不到有效值。
4256
4253
  :type InstanceEnumParams: list of InstanceEnumParam
4257
4254
  :param _InstanceIntegerParams: 整形参数详情列表。
4258
- 注意:此字段可能返回 null,表示取不到有效值。
4259
4255
  :type InstanceIntegerParams: list of InstanceIntegerParam
4260
4256
  :param _InstanceTextParams: 文本参数详情列表。
4261
- 注意:此字段可能返回 null,表示取不到有效值。
4262
4257
  :type InstanceTextParams: list of InstanceTextParam
4263
4258
  :param _InstanceMultiParams: 多值参数详情列表。
4264
- 注意:此字段可能返回 null,表示取不到有效值。
4265
4259
  :type InstanceMultiParams: list of InstanceMultiParam
4266
4260
  :param _TotalCount: 参数总个数。
4267
- 注意:此字段可能返回 null,表示取不到有效值。
4268
4261
  :type TotalCount: int
4269
4262
  :param _MongoVersion: 模板适配实例版本。
4270
- 注意:此字段可能返回 null,表示取不到有效值。
4271
4263
  :type MongoVersion: str
4272
4264
  :param _ClusterType: 模板适配集群类型,副本集或分片。。
4273
- 注意:此字段可能返回 null,表示取不到有效值。
4274
4265
  :type ClusterType: str
4275
4266
  :param _TplName: 参数模板名称。
4276
- 注意:此字段可能返回 null,表示取不到有效值。
4277
4267
  :type TplName: str
4278
4268
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4279
4269
  :type RequestId: str
@@ -4291,7 +4281,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4291
4281
  @property
4292
4282
  def InstanceEnumParams(self):
4293
4283
  """枚举类参数详情列表。
4294
- 注意:此字段可能返回 null,表示取不到有效值。
4295
4284
  :rtype: list of InstanceEnumParam
4296
4285
  """
4297
4286
  return self._InstanceEnumParams
@@ -4303,7 +4292,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4303
4292
  @property
4304
4293
  def InstanceIntegerParams(self):
4305
4294
  """整形参数详情列表。
4306
- 注意:此字段可能返回 null,表示取不到有效值。
4307
4295
  :rtype: list of InstanceIntegerParam
4308
4296
  """
4309
4297
  return self._InstanceIntegerParams
@@ -4315,7 +4303,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4315
4303
  @property
4316
4304
  def InstanceTextParams(self):
4317
4305
  """文本参数详情列表。
4318
- 注意:此字段可能返回 null,表示取不到有效值。
4319
4306
  :rtype: list of InstanceTextParam
4320
4307
  """
4321
4308
  return self._InstanceTextParams
@@ -4327,7 +4314,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4327
4314
  @property
4328
4315
  def InstanceMultiParams(self):
4329
4316
  """多值参数详情列表。
4330
- 注意:此字段可能返回 null,表示取不到有效值。
4331
4317
  :rtype: list of InstanceMultiParam
4332
4318
  """
4333
4319
  return self._InstanceMultiParams
@@ -4339,7 +4325,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4339
4325
  @property
4340
4326
  def TotalCount(self):
4341
4327
  """参数总个数。
4342
- 注意:此字段可能返回 null,表示取不到有效值。
4343
4328
  :rtype: int
4344
4329
  """
4345
4330
  return self._TotalCount
@@ -4351,7 +4336,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4351
4336
  @property
4352
4337
  def MongoVersion(self):
4353
4338
  """模板适配实例版本。
4354
- 注意:此字段可能返回 null,表示取不到有效值。
4355
4339
  :rtype: str
4356
4340
  """
4357
4341
  return self._MongoVersion
@@ -4363,7 +4347,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4363
4347
  @property
4364
4348
  def ClusterType(self):
4365
4349
  """模板适配集群类型,副本集或分片。。
4366
- 注意:此字段可能返回 null,表示取不到有效值。
4367
4350
  :rtype: str
4368
4351
  """
4369
4352
  return self._ClusterType
@@ -4375,7 +4358,6 @@ class DescribeDBInstanceParamTplDetailResponse(AbstractModel):
4375
4358
  @property
4376
4359
  def TplName(self):
4377
4360
  """参数模板名称。
4378
- 注意:此字段可能返回 null,表示取不到有效值。
4379
4361
  :rtype: str
4380
4362
  """
4381
4363
  return self._TplName
@@ -4517,10 +4499,8 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4517
4499
  def __init__(self):
4518
4500
  r"""
4519
4501
  :param _ParamTpls: 参数模板列表信息。
4520
- 注意:此字段可能返回 null,表示取不到有效值。
4521
4502
  :type ParamTpls: list of ParamTpl
4522
4503
  :param _TotalCount: 参数模板总数。
4523
- 注意:此字段可能返回 null,表示取不到有效值。
4524
4504
  :type TotalCount: int
4525
4505
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4526
4506
  :type RequestId: str
@@ -4532,7 +4512,6 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4532
4512
  @property
4533
4513
  def ParamTpls(self):
4534
4514
  """参数模板列表信息。
4535
- 注意:此字段可能返回 null,表示取不到有效值。
4536
4515
  :rtype: list of ParamTpl
4537
4516
  """
4538
4517
  return self._ParamTpls
@@ -4544,7 +4523,6 @@ class DescribeDBInstanceParamTplResponse(AbstractModel):
4544
4523
  @property
4545
4524
  def TotalCount(self):
4546
4525
  """参数模板总数。
4547
- 注意:此字段可能返回 null,表示取不到有效值。
4548
4526
  :rtype: int
4549
4527
  """
4550
4528
  return self._TotalCount
@@ -5455,7 +5433,6 @@ class DescribeSlowLogsResponse(AbstractModel):
5455
5433
  :param _Count: 慢日志总数
5456
5434
  :type Count: int
5457
5435
  :param _SlowLogs: 慢日志详情
5458
- 注意:此字段可能返回 null,表示取不到有效值。
5459
5436
  :type SlowLogs: list of str
5460
5437
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5461
5438
  :type RequestId: str
@@ -5478,7 +5455,6 @@ class DescribeSlowLogsResponse(AbstractModel):
5478
5455
  @property
5479
5456
  def SlowLogs(self):
5480
5457
  """慢日志详情
5481
- 注意:此字段可能返回 null,表示取不到有效值。
5482
5458
  :rtype: list of str
5483
5459
  """
5484
5460
  return self._SlowLogs
@@ -6012,7 +5988,6 @@ class FlashBackDBInstanceResponse(AbstractModel):
6012
5988
  def __init__(self):
6013
5989
  r"""
6014
5990
  :param _FlowId: 回档数据异步任务 ID。
6015
- 注意:此字段可能返回 null,表示取不到有效值。
6016
5991
  :type FlowId: int
6017
5992
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6018
5993
  :type RequestId: str
@@ -6023,7 +5998,6 @@ class FlashBackDBInstanceResponse(AbstractModel):
6023
5998
  @property
6024
5999
  def FlowId(self):
6025
6000
  """回档数据异步任务 ID。
6026
- 注意:此字段可能返回 null,表示取不到有效值。
6027
6001
  :rtype: int
6028
6002
  """
6029
6003
  return self._FlowId
@@ -6994,31 +6968,22 @@ class InstanceDetail(AbstractModel):
6994
6968
  :param _RealInstanceId: 实例对应的物理实例id,回档并替换过的实例有不同的InstanceId和RealInstanceId,从barad获取监控数据等场景下需要用物理id获取
6995
6969
  :type RealInstanceId: str
6996
6970
  :param _ZoneList: 实例当前可用区信息。
6997
- 注意:此字段可能返回 null,表示取不到有效值。
6998
6971
  :type ZoneList: list of str
6999
6972
  :param _MongosNodeNum: mongos节点个数。
7000
- 注意:此字段可能返回 null,表示取不到有效值。
7001
6973
  :type MongosNodeNum: int
7002
6974
  :param _MongosMemory: mongos节点内存。
7003
- 注意:此字段可能返回 null,表示取不到有效值。
7004
6975
  :type MongosMemory: int
7005
6976
  :param _MongosCpuNum: mongos节点CPU核数。
7006
- 注意:此字段可能返回 null,表示取不到有效值。
7007
6977
  :type MongosCpuNum: int
7008
6978
  :param _ConfigServerNodeNum: Config Server节点个数。
7009
- 注意:此字段可能返回 null,表示取不到有效值。
7010
6979
  :type ConfigServerNodeNum: int
7011
6980
  :param _ConfigServerMemory: Config Server节点内存。
7012
- 注意:此字段可能返回 null,表示取不到有效值。
7013
6981
  :type ConfigServerMemory: int
7014
6982
  :param _ConfigServerVolume: Config Server节点磁盘大小。
7015
- 注意:此字段可能返回 null,表示取不到有效值。
7016
6983
  :type ConfigServerVolume: int
7017
6984
  :param _ConfigServerCpuNum: Config Server节点CPU核数。
7018
- 注意:此字段可能返回 null,表示取不到有效值。
7019
6985
  :type ConfigServerCpuNum: int
7020
6986
  :param _ReadonlyNodeNum: readonly节点个数。
7021
- 注意:此字段可能返回 null,表示取不到有效值。
7022
6987
  :type ReadonlyNodeNum: int
7023
6988
  """
7024
6989
  self._InstanceId = None
@@ -7490,7 +7455,6 @@ class InstanceDetail(AbstractModel):
7490
7455
  @property
7491
7456
  def ZoneList(self):
7492
7457
  """实例当前可用区信息。
7493
- 注意:此字段可能返回 null,表示取不到有效值。
7494
7458
  :rtype: list of str
7495
7459
  """
7496
7460
  return self._ZoneList
@@ -7502,7 +7466,6 @@ class InstanceDetail(AbstractModel):
7502
7466
  @property
7503
7467
  def MongosNodeNum(self):
7504
7468
  """mongos节点个数。
7505
- 注意:此字段可能返回 null,表示取不到有效值。
7506
7469
  :rtype: int
7507
7470
  """
7508
7471
  return self._MongosNodeNum
@@ -7514,7 +7477,6 @@ class InstanceDetail(AbstractModel):
7514
7477
  @property
7515
7478
  def MongosMemory(self):
7516
7479
  """mongos节点内存。
7517
- 注意:此字段可能返回 null,表示取不到有效值。
7518
7480
  :rtype: int
7519
7481
  """
7520
7482
  return self._MongosMemory
@@ -7526,7 +7488,6 @@ class InstanceDetail(AbstractModel):
7526
7488
  @property
7527
7489
  def MongosCpuNum(self):
7528
7490
  """mongos节点CPU核数。
7529
- 注意:此字段可能返回 null,表示取不到有效值。
7530
7491
  :rtype: int
7531
7492
  """
7532
7493
  return self._MongosCpuNum
@@ -7538,7 +7499,6 @@ class InstanceDetail(AbstractModel):
7538
7499
  @property
7539
7500
  def ConfigServerNodeNum(self):
7540
7501
  """Config Server节点个数。
7541
- 注意:此字段可能返回 null,表示取不到有效值。
7542
7502
  :rtype: int
7543
7503
  """
7544
7504
  return self._ConfigServerNodeNum
@@ -7550,7 +7510,6 @@ class InstanceDetail(AbstractModel):
7550
7510
  @property
7551
7511
  def ConfigServerMemory(self):
7552
7512
  """Config Server节点内存。
7553
- 注意:此字段可能返回 null,表示取不到有效值。
7554
7513
  :rtype: int
7555
7514
  """
7556
7515
  return self._ConfigServerMemory
@@ -7562,7 +7521,6 @@ class InstanceDetail(AbstractModel):
7562
7521
  @property
7563
7522
  def ConfigServerVolume(self):
7564
7523
  """Config Server节点磁盘大小。
7565
- 注意:此字段可能返回 null,表示取不到有效值。
7566
7524
  :rtype: int
7567
7525
  """
7568
7526
  return self._ConfigServerVolume
@@ -7574,7 +7532,6 @@ class InstanceDetail(AbstractModel):
7574
7532
  @property
7575
7533
  def ConfigServerCpuNum(self):
7576
7534
  """Config Server节点CPU核数。
7577
- 注意:此字段可能返回 null,表示取不到有效值。
7578
7535
  :rtype: int
7579
7536
  """
7580
7537
  return self._ConfigServerCpuNum
@@ -7586,7 +7543,6 @@ class InstanceDetail(AbstractModel):
7586
7543
  @property
7587
7544
  def ReadonlyNodeNum(self):
7588
7545
  """readonly节点个数。
7589
- 注意:此字段可能返回 null,表示取不到有效值。
7590
7546
  :rtype: int
7591
7547
  """
7592
7548
  return self._ReadonlyNodeNum
@@ -8390,23 +8346,19 @@ class KMSInfoDetail(AbstractModel):
8390
8346
  def __init__(self):
8391
8347
  r"""
8392
8348
  :param _KeyId: 主密钥 ID。
8393
- 注意:此字段可能返回 null,表示取不到有效值。
8394
8349
  :type KeyId: str
8395
8350
  :param _KeyName: 主密钥名称。
8396
- 注意:此字段可能返回 null,表示取不到有效值。
8397
8351
  :type KeyName: str
8398
8352
  :param _CreateTime: 实例与密钥绑定时间。
8399
- 注意:此字段可能返回 null,表示取不到有效值。
8400
8353
  :type CreateTime: str
8401
8354
  :param _Status: 密钥状态。
8402
- 注意:此字段可能返回 null,表示取不到有效值。
8403
8355
  :type Status: str
8404
8356
  :param _KeyUsage: 密钥用途。
8405
- 注意:此字段可能返回 null,表示取不到有效值。
8406
8357
  :type KeyUsage: str
8407
8358
  :param _KeyOrigin: 密钥来源。
8408
- 注意:此字段可能返回 null,表示取不到有效值。
8409
8359
  :type KeyOrigin: str
8360
+ :param _KmsRegion: kms所在地域。
8361
+ :type KmsRegion: str
8410
8362
  """
8411
8363
  self._KeyId = None
8412
8364
  self._KeyName = None
@@ -8414,11 +8366,11 @@ class KMSInfoDetail(AbstractModel):
8414
8366
  self._Status = None
8415
8367
  self._KeyUsage = None
8416
8368
  self._KeyOrigin = None
8369
+ self._KmsRegion = None
8417
8370
 
8418
8371
  @property
8419
8372
  def KeyId(self):
8420
8373
  """主密钥 ID。
8421
- 注意:此字段可能返回 null,表示取不到有效值。
8422
8374
  :rtype: str
8423
8375
  """
8424
8376
  return self._KeyId
@@ -8430,7 +8382,6 @@ class KMSInfoDetail(AbstractModel):
8430
8382
  @property
8431
8383
  def KeyName(self):
8432
8384
  """主密钥名称。
8433
- 注意:此字段可能返回 null,表示取不到有效值。
8434
8385
  :rtype: str
8435
8386
  """
8436
8387
  return self._KeyName
@@ -8442,7 +8393,6 @@ class KMSInfoDetail(AbstractModel):
8442
8393
  @property
8443
8394
  def CreateTime(self):
8444
8395
  """实例与密钥绑定时间。
8445
- 注意:此字段可能返回 null,表示取不到有效值。
8446
8396
  :rtype: str
8447
8397
  """
8448
8398
  return self._CreateTime
@@ -8454,7 +8404,6 @@ class KMSInfoDetail(AbstractModel):
8454
8404
  @property
8455
8405
  def Status(self):
8456
8406
  """密钥状态。
8457
- 注意:此字段可能返回 null,表示取不到有效值。
8458
8407
  :rtype: str
8459
8408
  """
8460
8409
  return self._Status
@@ -8466,7 +8415,6 @@ class KMSInfoDetail(AbstractModel):
8466
8415
  @property
8467
8416
  def KeyUsage(self):
8468
8417
  """密钥用途。
8469
- 注意:此字段可能返回 null,表示取不到有效值。
8470
8418
  :rtype: str
8471
8419
  """
8472
8420
  return self._KeyUsage
@@ -8478,7 +8426,6 @@ class KMSInfoDetail(AbstractModel):
8478
8426
  @property
8479
8427
  def KeyOrigin(self):
8480
8428
  """密钥来源。
8481
- 注意:此字段可能返回 null,表示取不到有效值。
8482
8429
  :rtype: str
8483
8430
  """
8484
8431
  return self._KeyOrigin
@@ -8487,6 +8434,17 @@ class KMSInfoDetail(AbstractModel):
8487
8434
  def KeyOrigin(self, KeyOrigin):
8488
8435
  self._KeyOrigin = KeyOrigin
8489
8436
 
8437
+ @property
8438
+ def KmsRegion(self):
8439
+ """kms所在地域。
8440
+ :rtype: str
8441
+ """
8442
+ return self._KmsRegion
8443
+
8444
+ @KmsRegion.setter
8445
+ def KmsRegion(self, KmsRegion):
8446
+ self._KmsRegion = KmsRegion
8447
+
8490
8448
 
8491
8449
  def _deserialize(self, params):
8492
8450
  self._KeyId = params.get("KeyId")
@@ -8495,6 +8453,7 @@ class KMSInfoDetail(AbstractModel):
8495
8453
  self._Status = params.get("Status")
8496
8454
  self._KeyUsage = params.get("KeyUsage")
8497
8455
  self._KeyOrigin = params.get("KeyOrigin")
8456
+ self._KmsRegion = params.get("KmsRegion")
8498
8457
  memeber_set = set(params.keys())
8499
8458
  for name, value in vars(self).items():
8500
8459
  property_name = name[1:]
@@ -9441,42 +9400,34 @@ class NodeProperty(AbstractModel):
9441
9400
  def __init__(self):
9442
9401
  r"""
9443
9402
  :param _Zone: 节点所在的可用区。
9444
- 注意:此字段可能返回 null,表示取不到有效值。
9445
9403
  :type Zone: str
9446
9404
  :param _NodeName: 节点名称。
9447
- 注意:此字段可能返回 null,表示取不到有效值。
9448
9405
  :type NodeName: str
9449
9406
  :param _Address: 节点访问地址。
9450
- 注意:此字段可能返回 null,表示取不到有效值。
9451
9407
  :type Address: str
9408
+ :param _WanServiceAddress: 节点公网访问外网地址(IP或域名,示例为IP方式)。
9409
+ :type WanServiceAddress: str
9452
9410
  :param _Role: 角色。
9453
- 注意:此字段可能返回 null,表示取不到有效值。
9454
9411
  :type Role: str
9455
9412
  :param _Hidden: 是否为Hidden节点
9456
- 注意:此字段可能返回 null,表示取不到有效值。
9457
9413
  :type Hidden: bool
9458
9414
  :param _Status: 节点状态,包括:ORMAL/STARTUP/RECOVERING/STARTUP2/UNKNOWN/DOWN/ROLLBACK/REMOVED等。
9459
- 注意:此字段可能返回 null,表示取不到有效值。
9460
9415
  :type Status: str
9461
9416
  :param _SlaveDelay: 主从延迟,单位秒。
9462
- 注意:此字段可能返回 null,表示取不到有效值。
9463
9417
  :type SlaveDelay: int
9464
9418
  :param _Priority: 节点优先级。
9465
- 注意:此字段可能返回 null,表示取不到有效值。
9466
9419
  :type Priority: int
9467
9420
  :param _Votes: 节点投票权。
9468
- 注意:此字段可能返回 null,表示取不到有效值。
9469
9421
  :type Votes: int
9470
9422
  :param _Tags: 节点标签。
9471
- 注意:此字段可能返回 null,表示取不到有效值。
9472
9423
  :type Tags: list of NodeTag
9473
9424
  :param _ReplicateSetId: 副本集Id。
9474
- 注意:此字段可能返回 null,表示取不到有效值。
9475
9425
  :type ReplicateSetId: str
9476
9426
  """
9477
9427
  self._Zone = None
9478
9428
  self._NodeName = None
9479
9429
  self._Address = None
9430
+ self._WanServiceAddress = None
9480
9431
  self._Role = None
9481
9432
  self._Hidden = None
9482
9433
  self._Status = None
@@ -9489,7 +9440,6 @@ class NodeProperty(AbstractModel):
9489
9440
  @property
9490
9441
  def Zone(self):
9491
9442
  """节点所在的可用区。
9492
- 注意:此字段可能返回 null,表示取不到有效值。
9493
9443
  :rtype: str
9494
9444
  """
9495
9445
  return self._Zone
@@ -9501,7 +9451,6 @@ class NodeProperty(AbstractModel):
9501
9451
  @property
9502
9452
  def NodeName(self):
9503
9453
  """节点名称。
9504
- 注意:此字段可能返回 null,表示取不到有效值。
9505
9454
  :rtype: str
9506
9455
  """
9507
9456
  return self._NodeName
@@ -9513,7 +9462,6 @@ class NodeProperty(AbstractModel):
9513
9462
  @property
9514
9463
  def Address(self):
9515
9464
  """节点访问地址。
9516
- 注意:此字段可能返回 null,表示取不到有效值。
9517
9465
  :rtype: str
9518
9466
  """
9519
9467
  return self._Address
@@ -9522,10 +9470,20 @@ class NodeProperty(AbstractModel):
9522
9470
  def Address(self, Address):
9523
9471
  self._Address = Address
9524
9472
 
9473
+ @property
9474
+ def WanServiceAddress(self):
9475
+ """节点公网访问外网地址(IP或域名,示例为IP方式)。
9476
+ :rtype: str
9477
+ """
9478
+ return self._WanServiceAddress
9479
+
9480
+ @WanServiceAddress.setter
9481
+ def WanServiceAddress(self, WanServiceAddress):
9482
+ self._WanServiceAddress = WanServiceAddress
9483
+
9525
9484
  @property
9526
9485
  def Role(self):
9527
9486
  """角色。
9528
- 注意:此字段可能返回 null,表示取不到有效值。
9529
9487
  :rtype: str
9530
9488
  """
9531
9489
  return self._Role
@@ -9537,7 +9495,6 @@ class NodeProperty(AbstractModel):
9537
9495
  @property
9538
9496
  def Hidden(self):
9539
9497
  """是否为Hidden节点
9540
- 注意:此字段可能返回 null,表示取不到有效值。
9541
9498
  :rtype: bool
9542
9499
  """
9543
9500
  return self._Hidden
@@ -9549,7 +9506,6 @@ class NodeProperty(AbstractModel):
9549
9506
  @property
9550
9507
  def Status(self):
9551
9508
  """节点状态,包括:ORMAL/STARTUP/RECOVERING/STARTUP2/UNKNOWN/DOWN/ROLLBACK/REMOVED等。
9552
- 注意:此字段可能返回 null,表示取不到有效值。
9553
9509
  :rtype: str
9554
9510
  """
9555
9511
  return self._Status
@@ -9561,7 +9517,6 @@ class NodeProperty(AbstractModel):
9561
9517
  @property
9562
9518
  def SlaveDelay(self):
9563
9519
  """主从延迟,单位秒。
9564
- 注意:此字段可能返回 null,表示取不到有效值。
9565
9520
  :rtype: int
9566
9521
  """
9567
9522
  return self._SlaveDelay
@@ -9573,7 +9528,6 @@ class NodeProperty(AbstractModel):
9573
9528
  @property
9574
9529
  def Priority(self):
9575
9530
  """节点优先级。
9576
- 注意:此字段可能返回 null,表示取不到有效值。
9577
9531
  :rtype: int
9578
9532
  """
9579
9533
  return self._Priority
@@ -9585,7 +9539,6 @@ class NodeProperty(AbstractModel):
9585
9539
  @property
9586
9540
  def Votes(self):
9587
9541
  """节点投票权。
9588
- 注意:此字段可能返回 null,表示取不到有效值。
9589
9542
  :rtype: int
9590
9543
  """
9591
9544
  return self._Votes
@@ -9597,7 +9550,6 @@ class NodeProperty(AbstractModel):
9597
9550
  @property
9598
9551
  def Tags(self):
9599
9552
  """节点标签。
9600
- 注意:此字段可能返回 null,表示取不到有效值。
9601
9553
  :rtype: list of NodeTag
9602
9554
  """
9603
9555
  return self._Tags
@@ -9609,7 +9561,6 @@ class NodeProperty(AbstractModel):
9609
9561
  @property
9610
9562
  def ReplicateSetId(self):
9611
9563
  """副本集Id。
9612
- 注意:此字段可能返回 null,表示取不到有效值。
9613
9564
  :rtype: str
9614
9565
  """
9615
9566
  return self._ReplicateSetId
@@ -9623,6 +9574,7 @@ class NodeProperty(AbstractModel):
9623
9574
  self._Zone = params.get("Zone")
9624
9575
  self._NodeName = params.get("NodeName")
9625
9576
  self._Address = params.get("Address")
9577
+ self._WanServiceAddress = params.get("WanServiceAddress")
9626
9578
  self._Role = params.get("Role")
9627
9579
  self._Hidden = params.get("Hidden")
9628
9580
  self._Status = params.get("Status")
@@ -9654,10 +9606,8 @@ class NodeTag(AbstractModel):
9654
9606
  def __init__(self):
9655
9607
  r"""
9656
9608
  :param _TagKey: 节点Tag key
9657
- 注意:此字段可能返回 null,表示取不到有效值。
9658
9609
  :type TagKey: str
9659
9610
  :param _TagValue: 节点Tag Value
9660
- 注意:此字段可能返回 null,表示取不到有效值。
9661
9611
  :type TagValue: str
9662
9612
  """
9663
9613
  self._TagKey = None
@@ -9666,7 +9616,6 @@ class NodeTag(AbstractModel):
9666
9616
  @property
9667
9617
  def TagKey(self):
9668
9618
  """节点Tag key
9669
- 注意:此字段可能返回 null,表示取不到有效值。
9670
9619
  :rtype: str
9671
9620
  """
9672
9621
  return self._TagKey
@@ -9678,7 +9627,6 @@ class NodeTag(AbstractModel):
9678
9627
  @property
9679
9628
  def TagValue(self):
9680
9629
  """节点Tag Value
9681
- 注意:此字段可能返回 null,表示取不到有效值。
9682
9630
  :rtype: str
9683
9631
  """
9684
9632
  return self._TagValue
@@ -10294,7 +10242,6 @@ class ReplicateSetInfo(AbstractModel):
10294
10242
  def __init__(self):
10295
10243
  r"""
10296
10244
  :param _Nodes: 节点属性
10297
- 注意:此字段可能返回 null,表示取不到有效值。
10298
10245
  :type Nodes: list of NodeProperty
10299
10246
  """
10300
10247
  self._Nodes = None
@@ -10302,7 +10249,6 @@ class ReplicateSetInfo(AbstractModel):
10302
10249
  @property
10303
10250
  def Nodes(self):
10304
10251
  """节点属性
10305
- 注意:此字段可能返回 null,表示取不到有效值。
10306
10252
  :rtype: list of NodeProperty
10307
10253
  """
10308
10254
  return self._Nodes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-mongodb
3
- Version: 3.0.1288
3
+ Version: 3.0.1302
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.1302
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1288