tencentcloud-sdk-python 3.0.1314__py2.py3-none-any.whl → 3.0.1316__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.
Files changed (41) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +4 -4
  3. tencentcloud/batch/v20170312/models.py +4 -4
  4. tencentcloud/bh/v20230418/models.py +783 -2
  5. tencentcloud/cbs/v20170312/models.py +21 -4
  6. tencentcloud/cfw/v20190904/cfw_client.py +0 -25
  7. tencentcloud/cfw/v20190904/models.py +0 -374
  8. tencentcloud/chdfs/v20201112/models.py +0 -6
  9. tencentcloud/ckafka/v20190819/models.py +17 -2
  10. tencentcloud/cls/v20201016/models.py +25 -4
  11. tencentcloud/cvm/v20170312/models.py +4 -4
  12. tencentcloud/cwp/v20180228/cwp_client.py +0 -50
  13. tencentcloud/cwp/v20180228/models.py +83 -747
  14. tencentcloud/dsgc/v20190723/models.py +15 -0
  15. tencentcloud/ess/v20201111/models.py +2 -2
  16. tencentcloud/essbasic/v20210526/models.py +2 -2
  17. tencentcloud/facefusion/v20220927/models.py +4 -4
  18. tencentcloud/lighthouse/v20200324/models.py +180 -6
  19. tencentcloud/live/v20180801/models.py +2 -2
  20. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  21. tencentcloud/lkeap/v20240522/models.py +12 -2
  22. tencentcloud/mna/v20210119/models.py +0 -36
  23. tencentcloud/mongodb/v20190725/models.py +26 -14
  24. tencentcloud/monitor/v20180724/models.py +8 -0
  25. tencentcloud/mps/v20190612/models.py +136 -0
  26. tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
  27. tencentcloud/mqtt/v20240516/models.py +2003 -195
  28. tencentcloud/mqtt/v20240516/mqtt_client.py +255 -0
  29. tencentcloud/ocr/v20181119/models.py +45 -0
  30. tencentcloud/ssl/v20191205/errorcodes.py +3 -0
  31. tencentcloud/ssl/v20191205/models.py +758 -0
  32. tencentcloud/ssl/v20191205/ssl_client.py +46 -0
  33. tencentcloud/tccatalog/v20241024/models.py +30 -0
  34. tencentcloud/tcr/v20190924/models.py +4 -0
  35. tencentcloud/tmt/v20180321/models.py +4 -0
  36. tencentcloud/trtc/v20190722/models.py +0 -4
  37. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/METADATA +3 -1
  38. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/RECORD +41 -41
  39. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/LICENSE +0 -0
  40. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/WHEEL +0 -0
  41. {tencentcloud_sdk_python-3.0.1314.dist-info → tencentcloud_sdk_python-3.0.1316.dist-info}/top_level.txt +0 -0
@@ -1579,7 +1579,7 @@ class CreateDisksRequest(AbstractModel):
1579
1579
  :type DiskCount: int
1580
1580
  :param _ThroughputPerformance: 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
1581
1581
  :type ThroughputPerformance: int
1582
- :param _DiskSize: 云硬盘大小,单位为GB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1582
+ :param _DiskSize: 云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1583
1583
  :type DiskSize: int
1584
1584
  :param _Shareable: 可选参数,默认为False。传入True时,云盘将创建为共享型云盘。
1585
1585
  :type Shareable: bool
@@ -1709,7 +1709,7 @@ class CreateDisksRequest(AbstractModel):
1709
1709
 
1710
1710
  @property
1711
1711
  def DiskSize(self):
1712
- """云硬盘大小,单位为GB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1712
+ """云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1713
1713
  :rtype: int
1714
1714
  """
1715
1715
  return self._DiskSize
@@ -4072,7 +4072,7 @@ class Disk(AbstractModel):
4072
4072
  :type DeadlineTime: str
4073
4073
  :param _Attached: 云盘是否挂载到云主机上。取值范围:<br><li>false:表示未挂载</li><li>true:表示已挂载。</li>
4074
4074
  :type Attached: bool
4075
- :param _DiskSize: 云硬盘大小,单位GB
4075
+ :param _DiskSize: 云硬盘大小,单位GiB
4076
4076
  :type DiskSize: int
4077
4077
  :param _MigratePercent: 云盘类型变更的迁移进度,取值0到100。
4078
4078
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4117,6 +4117,9 @@ class Disk(AbstractModel):
4117
4117
  :param _BurstPerformance: 云盘是否开启性能突发
4118
4118
  注意:此字段可能返回 null,表示取不到有效值。
4119
4119
  :type BurstPerformance: bool
4120
+ :param _EncryptType: 云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
4121
+ 注意:此字段可能返回 null,表示取不到有效值。
4122
+ :type EncryptType: str
4120
4123
  """
4121
4124
  self._DeleteWithInstance = None
4122
4125
  self._RenewFlag = None
@@ -4160,6 +4163,7 @@ class Disk(AbstractModel):
4160
4163
  self._LastAttachInsId = None
4161
4164
  self._ErrorPrompt = None
4162
4165
  self._BurstPerformance = None
4166
+ self._EncryptType = None
4163
4167
 
4164
4168
  @property
4165
4169
  def DeleteWithInstance(self):
@@ -4425,7 +4429,7 @@ class Disk(AbstractModel):
4425
4429
 
4426
4430
  @property
4427
4431
  def DiskSize(self):
4428
- """云硬盘大小,单位GB
4432
+ """云硬盘大小,单位GiB
4429
4433
  :rtype: int
4430
4434
  """
4431
4435
  return self._DiskSize
@@ -4639,6 +4643,18 @@ class Disk(AbstractModel):
4639
4643
  def BurstPerformance(self, BurstPerformance):
4640
4644
  self._BurstPerformance = BurstPerformance
4641
4645
 
4646
+ @property
4647
+ def EncryptType(self):
4648
+ """云硬盘加密类型,值为ENCRYPT_V1和ENCRYPT_V2,分别表示第一代和第二代加密技术,两种加密技术互不兼容
4649
+ 注意:此字段可能返回 null,表示取不到有效值。
4650
+ :rtype: str
4651
+ """
4652
+ return self._EncryptType
4653
+
4654
+ @EncryptType.setter
4655
+ def EncryptType(self, EncryptType):
4656
+ self._EncryptType = EncryptType
4657
+
4642
4658
 
4643
4659
  def _deserialize(self, params):
4644
4660
  self._DeleteWithInstance = params.get("DeleteWithInstance")
@@ -4690,6 +4706,7 @@ class Disk(AbstractModel):
4690
4706
  self._LastAttachInsId = params.get("LastAttachInsId")
4691
4707
  self._ErrorPrompt = params.get("ErrorPrompt")
4692
4708
  self._BurstPerformance = params.get("BurstPerformance")
4709
+ self._EncryptType = params.get("EncryptType")
4693
4710
  memeber_set = set(params.keys())
4694
4711
  for name, value in vars(self).items():
4695
4712
  property_name = name[1:]
@@ -26,31 +26,6 @@ class CfwClient(AbstractClient):
26
26
  _service = 'cfw'
27
27
 
28
28
 
29
- def AddAcRule(self, request):
30
- """接口不再使用,已有新接口AddAclRule
31
-
32
- 添加互联网边界规则
33
-
34
- :param request: Request instance for AddAcRule.
35
- :type request: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleRequest`
36
- :rtype: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleResponse`
37
-
38
- """
39
- try:
40
- params = request._serialize()
41
- headers = request.headers
42
- body = self.call("AddAcRule", params, headers=headers)
43
- response = json.loads(body)
44
- model = models.AddAcRuleResponse()
45
- model._deserialize(response["Response"])
46
- return model
47
- except Exception as e:
48
- if isinstance(e, TencentCloudSDKException):
49
- raise
50
- else:
51
- raise TencentCloudSDKException(type(e).__name__, str(e))
52
-
53
-
54
29
  def AddAclRule(self, request):
55
30
  """添加互联网边界访问控制规则
56
31
 
@@ -403,380 +403,6 @@ class AcListsData(AbstractModel):
403
403
 
404
404
 
405
405
 
406
- class AddAcRuleRequest(AbstractModel):
407
- """AddAcRule请求参数结构体
408
-
409
- """
410
-
411
- def __init__(self):
412
- r"""
413
- :param _OrderIndex: -1表示优先级最低,1表示优先级最高
414
- :type OrderIndex: str
415
- :param _RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值:
416
- accept:放行
417
- drop:拒绝
418
- log:观察
419
- :type RuleAction: str
420
- :param _Direction: 访问控制策略的流量方向。取值:
421
- in:外对内流量访问控制
422
- out:内对外流量访问控制
423
- :type Direction: str
424
- :param _Description: 访问控制策略的描述信息
425
- :type Description: str
426
- :param _SourceType: 访问控制策略中的源地址类型。取值:
427
- net:源IP或网段(IP或者CIDR)
428
- location:源区域
429
- template:云防火墙地址模板
430
- instance:实例id
431
- vendor:云厂商
432
- :type SourceType: str
433
- :param _SourceContent: 访问控制策略中的源地址。取值:
434
- 当SourceType为net时,SourceContent为源IP地址或者CIDR地址。
435
- 例如:1.1.1.0/24
436
-
437
- 当SourceType为template时,SourceContent为源地址模板id。
438
-
439
- 当SourceType为location时,SourceContent为源区域。
440
- 例如["BJ11", "ZB"]
441
-
442
- 当SourceType为instance时,SourceContent为该实例id对应的公网ip。
443
- 例如ins-xxxxx
444
-
445
- 当SourceType为vendor时,SourceContent为所选择厂商的公网ip列表。
446
- 例如:aws,huawei,tencent,aliyun,azure,all代表以上五个
447
- :type SourceContent: str
448
- :param _DestType: 访问控制策略中的目的地址类型。取值:
449
- net:目的IP或者网段(IP或者CIDR)
450
- location:源区域
451
- template:云防火墙地址模板
452
- instance:实例id
453
- vendor:云厂商
454
- domain: 域名或者ip
455
- :type DestType: str
456
- :param _DestContent: 访问控制策略中的目的地址。取值:
457
- 当DestType为net时,DestContent为源IP地址或者CIDR地址。
458
- 例如:1.1.1.0/24
459
-
460
- 当DestType为template时,DestContent为源地址模板id。
461
-
462
- 当DestType为location时,DestContent为源区域。
463
- 例如["BJ11", "ZB"]
464
-
465
- 当DestType为instance时,DestContent为该实例id对应的公网ip。
466
- 例如ins-xxxxx
467
-
468
- 当DestType为domain时,DestContent为该实例id对应的域名规则。
469
- 例如*.qq.com
470
-
471
- 当DestType为vendor时,DestContent为所选择厂商的公网ip列表。
472
- 例如:aws,huawei,tencent,aliyun,azure,all代表以上五个
473
- :type DestContent: str
474
- :param _Port: 访问控制策略的端口。取值:
475
- -1/-1:全部端口
476
- 80,443:80或者443
477
- :type Port: str
478
- :param _Protocol: 访问控制策略中流量访问的协议类型。取值:TCP,目前互联网边界规则只能支持TCP,不传参数默认就是TCP
479
- :type Protocol: str
480
- :param _ApplicationName: 七层协议,取值:
481
- HTTP/HTTPS
482
- TLS/SSL
483
- :type ApplicationName: str
484
- :param _Enable: 是否启用规则,默认为启用,取值:
485
- true为启用,false为不启用
486
- :type Enable: str
487
- """
488
- self._OrderIndex = None
489
- self._RuleAction = None
490
- self._Direction = None
491
- self._Description = None
492
- self._SourceType = None
493
- self._SourceContent = None
494
- self._DestType = None
495
- self._DestContent = None
496
- self._Port = None
497
- self._Protocol = None
498
- self._ApplicationName = None
499
- self._Enable = None
500
-
501
- @property
502
- def OrderIndex(self):
503
- """-1表示优先级最低,1表示优先级最高
504
- :rtype: str
505
- """
506
- return self._OrderIndex
507
-
508
- @OrderIndex.setter
509
- def OrderIndex(self, OrderIndex):
510
- self._OrderIndex = OrderIndex
511
-
512
- @property
513
- def RuleAction(self):
514
- """访问控制策略中设置的流量通过云防火墙的方式。取值:
515
- accept:放行
516
- drop:拒绝
517
- log:观察
518
- :rtype: str
519
- """
520
- return self._RuleAction
521
-
522
- @RuleAction.setter
523
- def RuleAction(self, RuleAction):
524
- self._RuleAction = RuleAction
525
-
526
- @property
527
- def Direction(self):
528
- """访问控制策略的流量方向。取值:
529
- in:外对内流量访问控制
530
- out:内对外流量访问控制
531
- :rtype: str
532
- """
533
- return self._Direction
534
-
535
- @Direction.setter
536
- def Direction(self, Direction):
537
- self._Direction = Direction
538
-
539
- @property
540
- def Description(self):
541
- """访问控制策略的描述信息
542
- :rtype: str
543
- """
544
- return self._Description
545
-
546
- @Description.setter
547
- def Description(self, Description):
548
- self._Description = Description
549
-
550
- @property
551
- def SourceType(self):
552
- """访问控制策略中的源地址类型。取值:
553
- net:源IP或网段(IP或者CIDR)
554
- location:源区域
555
- template:云防火墙地址模板
556
- instance:实例id
557
- vendor:云厂商
558
- :rtype: str
559
- """
560
- return self._SourceType
561
-
562
- @SourceType.setter
563
- def SourceType(self, SourceType):
564
- self._SourceType = SourceType
565
-
566
- @property
567
- def SourceContent(self):
568
- """访问控制策略中的源地址。取值:
569
- 当SourceType为net时,SourceContent为源IP地址或者CIDR地址。
570
- 例如:1.1.1.0/24
571
-
572
- 当SourceType为template时,SourceContent为源地址模板id。
573
-
574
- 当SourceType为location时,SourceContent为源区域。
575
- 例如["BJ11", "ZB"]
576
-
577
- 当SourceType为instance时,SourceContent为该实例id对应的公网ip。
578
- 例如ins-xxxxx
579
-
580
- 当SourceType为vendor时,SourceContent为所选择厂商的公网ip列表。
581
- 例如:aws,huawei,tencent,aliyun,azure,all代表以上五个
582
- :rtype: str
583
- """
584
- return self._SourceContent
585
-
586
- @SourceContent.setter
587
- def SourceContent(self, SourceContent):
588
- self._SourceContent = SourceContent
589
-
590
- @property
591
- def DestType(self):
592
- """访问控制策略中的目的地址类型。取值:
593
- net:目的IP或者网段(IP或者CIDR)
594
- location:源区域
595
- template:云防火墙地址模板
596
- instance:实例id
597
- vendor:云厂商
598
- domain: 域名或者ip
599
- :rtype: str
600
- """
601
- return self._DestType
602
-
603
- @DestType.setter
604
- def DestType(self, DestType):
605
- self._DestType = DestType
606
-
607
- @property
608
- def DestContent(self):
609
- """访问控制策略中的目的地址。取值:
610
- 当DestType为net时,DestContent为源IP地址或者CIDR地址。
611
- 例如:1.1.1.0/24
612
-
613
- 当DestType为template时,DestContent为源地址模板id。
614
-
615
- 当DestType为location时,DestContent为源区域。
616
- 例如["BJ11", "ZB"]
617
-
618
- 当DestType为instance时,DestContent为该实例id对应的公网ip。
619
- 例如ins-xxxxx
620
-
621
- 当DestType为domain时,DestContent为该实例id对应的域名规则。
622
- 例如*.qq.com
623
-
624
- 当DestType为vendor时,DestContent为所选择厂商的公网ip列表。
625
- 例如:aws,huawei,tencent,aliyun,azure,all代表以上五个
626
- :rtype: str
627
- """
628
- return self._DestContent
629
-
630
- @DestContent.setter
631
- def DestContent(self, DestContent):
632
- self._DestContent = DestContent
633
-
634
- @property
635
- def Port(self):
636
- """访问控制策略的端口。取值:
637
- -1/-1:全部端口
638
- 80,443:80或者443
639
- :rtype: str
640
- """
641
- return self._Port
642
-
643
- @Port.setter
644
- def Port(self, Port):
645
- self._Port = Port
646
-
647
- @property
648
- def Protocol(self):
649
- """访问控制策略中流量访问的协议类型。取值:TCP,目前互联网边界规则只能支持TCP,不传参数默认就是TCP
650
- :rtype: str
651
- """
652
- return self._Protocol
653
-
654
- @Protocol.setter
655
- def Protocol(self, Protocol):
656
- self._Protocol = Protocol
657
-
658
- @property
659
- def ApplicationName(self):
660
- """七层协议,取值:
661
- HTTP/HTTPS
662
- TLS/SSL
663
- :rtype: str
664
- """
665
- return self._ApplicationName
666
-
667
- @ApplicationName.setter
668
- def ApplicationName(self, ApplicationName):
669
- self._ApplicationName = ApplicationName
670
-
671
- @property
672
- def Enable(self):
673
- """是否启用规则,默认为启用,取值:
674
- true为启用,false为不启用
675
- :rtype: str
676
- """
677
- return self._Enable
678
-
679
- @Enable.setter
680
- def Enable(self, Enable):
681
- self._Enable = Enable
682
-
683
-
684
- def _deserialize(self, params):
685
- self._OrderIndex = params.get("OrderIndex")
686
- self._RuleAction = params.get("RuleAction")
687
- self._Direction = params.get("Direction")
688
- self._Description = params.get("Description")
689
- self._SourceType = params.get("SourceType")
690
- self._SourceContent = params.get("SourceContent")
691
- self._DestType = params.get("DestType")
692
- self._DestContent = params.get("DestContent")
693
- self._Port = params.get("Port")
694
- self._Protocol = params.get("Protocol")
695
- self._ApplicationName = params.get("ApplicationName")
696
- self._Enable = params.get("Enable")
697
- memeber_set = set(params.keys())
698
- for name, value in vars(self).items():
699
- property_name = name[1:]
700
- if property_name in memeber_set:
701
- memeber_set.remove(property_name)
702
- if len(memeber_set) > 0:
703
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
704
-
705
-
706
-
707
- class AddAcRuleResponse(AbstractModel):
708
- """AddAcRule返回参数结构体
709
-
710
- """
711
-
712
- def __init__(self):
713
- r"""
714
- :param _RuleUuid: 创建成功后返回新策略的uuid
715
- :type RuleUuid: int
716
- :param _ReturnCode: 0代表成功,-1代表失败
717
- :type ReturnCode: int
718
- :param _ReturnMsg: success代表成功,failed代表失败
719
- :type ReturnMsg: str
720
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
721
- :type RequestId: str
722
- """
723
- self._RuleUuid = None
724
- self._ReturnCode = None
725
- self._ReturnMsg = None
726
- self._RequestId = None
727
-
728
- @property
729
- def RuleUuid(self):
730
- """创建成功后返回新策略的uuid
731
- :rtype: int
732
- """
733
- return self._RuleUuid
734
-
735
- @RuleUuid.setter
736
- def RuleUuid(self, RuleUuid):
737
- self._RuleUuid = RuleUuid
738
-
739
- @property
740
- def ReturnCode(self):
741
- """0代表成功,-1代表失败
742
- :rtype: int
743
- """
744
- return self._ReturnCode
745
-
746
- @ReturnCode.setter
747
- def ReturnCode(self, ReturnCode):
748
- self._ReturnCode = ReturnCode
749
-
750
- @property
751
- def ReturnMsg(self):
752
- """success代表成功,failed代表失败
753
- :rtype: str
754
- """
755
- return self._ReturnMsg
756
-
757
- @ReturnMsg.setter
758
- def ReturnMsg(self, ReturnMsg):
759
- self._ReturnMsg = ReturnMsg
760
-
761
- @property
762
- def RequestId(self):
763
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
764
- :rtype: str
765
- """
766
- return self._RequestId
767
-
768
- @RequestId.setter
769
- def RequestId(self, RequestId):
770
- self._RequestId = RequestId
771
-
772
-
773
- def _deserialize(self, params):
774
- self._RuleUuid = params.get("RuleUuid")
775
- self._ReturnCode = params.get("ReturnCode")
776
- self._ReturnMsg = params.get("ReturnMsg")
777
- self._RequestId = params.get("RequestId")
778
-
779
-
780
406
  class AddAclRuleRequest(AbstractModel):
781
407
  """AddAclRule请求参数结构体
782
408
 
@@ -494,7 +494,6 @@ class CreateAccessRulesResponse(AbstractModel):
494
494
  def __init__(self):
495
495
  r"""
496
496
  :param _AccessRules: 权限规则列表
497
- 注意:此字段可能返回 null,表示取不到有效值。
498
497
  :type AccessRules: list of AccessRule
499
498
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
500
499
  :type RequestId: str
@@ -505,7 +504,6 @@ class CreateAccessRulesResponse(AbstractModel):
505
504
  @property
506
505
  def AccessRules(self):
507
506
  """权限规则列表
508
- 注意:此字段可能返回 null,表示取不到有效值。
509
507
  :rtype: list of AccessRule
510
508
  """
511
509
  return self._AccessRules
@@ -2417,10 +2415,8 @@ class FileSystem(AbstractModel):
2417
2415
  :param _PosixAcl: POSIX权限控制
2418
2416
  :type PosixAcl: bool
2419
2417
  :param _EnableRanger: 是否打开Ranger地址校验
2420
- 注意:此字段可能返回 null,表示取不到有效值。
2421
2418
  :type EnableRanger: bool
2422
2419
  :param _RangerServiceAddresses: Ranger地址列表
2423
- 注意:此字段可能返回 null,表示取不到有效值。
2424
2420
  :type RangerServiceAddresses: list of str
2425
2421
  """
2426
2422
  self._AppId = None
@@ -2561,7 +2557,6 @@ class FileSystem(AbstractModel):
2561
2557
  @property
2562
2558
  def EnableRanger(self):
2563
2559
  """是否打开Ranger地址校验
2564
- 注意:此字段可能返回 null,表示取不到有效值。
2565
2560
  :rtype: bool
2566
2561
  """
2567
2562
  return self._EnableRanger
@@ -2573,7 +2568,6 @@ class FileSystem(AbstractModel):
2573
2568
  @property
2574
2569
  def RangerServiceAddresses(self):
2575
2570
  """Ranger地址列表
2576
- 注意:此字段可能返回 null,表示取不到有效值。
2577
2571
  :rtype: list of str
2578
2572
  """
2579
2573
  return self._RangerServiceAddresses
@@ -24259,7 +24259,7 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24259
24259
  :type Config: :class:`tencentcloud.ckafka.v20190819.models.ModifyInstanceAttributesConfig`
24260
24260
  :param _DynamicRetentionConfig: 动态消息保留策略配置
24261
24261
  :type DynamicRetentionConfig: :class:`tencentcloud.ckafka.v20190819.models.DynamicRetentionTime`
24262
- :param _RebalanceTime: 升配Rebalance时间 参数已废弃,忽略不填!!!
24262
+ :param _RebalanceTime: 用于修改升级版本或升配定时任务的执行时间,Unix时间戳,精确到秒
24263
24263
  :type RebalanceTime: int
24264
24264
  :param _PublicNetwork: 公网带宽 最小3Mbps 最大999Mbps 仅专业版支持填写
24265
24265
  :type PublicNetwork: int
@@ -24267,6 +24267,8 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24267
24267
  :type DynamicDiskConfig: :class:`tencentcloud.ckafka.v20190819.models.DynamicDiskConfig`
24268
24268
  :param _MaxMessageByte: 实例级别单条消息大小(单位byte) 最大 12582912(不包含) 最小1024(不包含)
24269
24269
  :type MaxMessageByte: int
24270
+ :param _UncleanLeaderElectionEnable: 集群topic默认 unclean.leader.election.enable配置: 1 开启 0 关闭
24271
+ :type UncleanLeaderElectionEnable: int
24270
24272
  """
24271
24273
  self._InstanceId = None
24272
24274
  self._MsgRetentionTime = None
@@ -24277,6 +24279,7 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24277
24279
  self._PublicNetwork = None
24278
24280
  self._DynamicDiskConfig = None
24279
24281
  self._MaxMessageByte = None
24282
+ self._UncleanLeaderElectionEnable = None
24280
24283
 
24281
24284
  @property
24282
24285
  def InstanceId(self):
@@ -24335,7 +24338,7 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24335
24338
 
24336
24339
  @property
24337
24340
  def RebalanceTime(self):
24338
- """升配Rebalance时间 参数已废弃,忽略不填!!!
24341
+ """用于修改升级版本或升配定时任务的执行时间,Unix时间戳,精确到秒
24339
24342
  :rtype: int
24340
24343
  """
24341
24344
  return self._RebalanceTime
@@ -24381,6 +24384,17 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24381
24384
  def MaxMessageByte(self, MaxMessageByte):
24382
24385
  self._MaxMessageByte = MaxMessageByte
24383
24386
 
24387
+ @property
24388
+ def UncleanLeaderElectionEnable(self):
24389
+ """集群topic默认 unclean.leader.election.enable配置: 1 开启 0 关闭
24390
+ :rtype: int
24391
+ """
24392
+ return self._UncleanLeaderElectionEnable
24393
+
24394
+ @UncleanLeaderElectionEnable.setter
24395
+ def UncleanLeaderElectionEnable(self, UncleanLeaderElectionEnable):
24396
+ self._UncleanLeaderElectionEnable = UncleanLeaderElectionEnable
24397
+
24384
24398
 
24385
24399
  def _deserialize(self, params):
24386
24400
  self._InstanceId = params.get("InstanceId")
@@ -24398,6 +24412,7 @@ class ModifyInstanceAttributesRequest(AbstractModel):
24398
24412
  self._DynamicDiskConfig = DynamicDiskConfig()
24399
24413
  self._DynamicDiskConfig._deserialize(params.get("DynamicDiskConfig"))
24400
24414
  self._MaxMessageByte = params.get("MaxMessageByte")
24415
+ self._UncleanLeaderElectionEnable = params.get("UncleanLeaderElectionEnable")
24401
24416
  memeber_set = set(params.keys())
24402
24417
  for name, value in vars(self).items():
24403
24418
  property_name = name[1:]
@@ -9266,8 +9266,9 @@ class CreateTopicRequest(AbstractModel):
9266
9266
  :type MaxSplitPartitions: int
9267
9267
  :param _StorageType: 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。
9268
9268
  :type StorageType: str
9269
- :param _Period: 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。
9270
- 不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。
9269
+ :param _Period: 存储时间,单位天。
9270
+ - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9271
+ - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9271
9272
  :type Period: int
9272
9273
  :param _Describes: 日志主题描述
9273
9274
  :type Describes: str
@@ -9275,6 +9276,10 @@ class CreateTopicRequest(AbstractModel):
9275
9276
  非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9276
9277
  仅在StorageType为 hot 时生效。
9277
9278
  :type HotPeriod: int
9279
+ :param _TopicId: 主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
9280
+ - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
9281
+ - APPID可在https://console.cloud.tencent.com/developer页面查询
9282
+ :type TopicId: str
9278
9283
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
9279
9284
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
9280
9285
  :type IsWebTracking: bool
@@ -9291,6 +9296,7 @@ class CreateTopicRequest(AbstractModel):
9291
9296
  self._Period = None
9292
9297
  self._Describes = None
9293
9298
  self._HotPeriod = None
9299
+ self._TopicId = None
9294
9300
  self._IsWebTracking = None
9295
9301
  self._Extends = None
9296
9302
 
@@ -9373,8 +9379,9 @@ class CreateTopicRequest(AbstractModel):
9373
9379
 
9374
9380
  @property
9375
9381
  def Period(self):
9376
- """生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。
9377
- 不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。
9382
+ """存储时间,单位天。
9383
+ - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9384
+ - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9378
9385
  :rtype: int
9379
9386
  """
9380
9387
  return self._Period
@@ -9407,6 +9414,19 @@ class CreateTopicRequest(AbstractModel):
9407
9414
  def HotPeriod(self, HotPeriod):
9408
9415
  self._HotPeriod = HotPeriod
9409
9416
 
9417
+ @property
9418
+ def TopicId(self):
9419
+ """主题自定义ID,格式为:用户自定义部分-APPID。未填写该参数时将自动生成ID。
9420
+ - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
9421
+ - APPID可在https://console.cloud.tencent.com/developer页面查询
9422
+ :rtype: str
9423
+ """
9424
+ return self._TopicId
9425
+
9426
+ @TopicId.setter
9427
+ def TopicId(self, TopicId):
9428
+ self._TopicId = TopicId
9429
+
9410
9430
  @property
9411
9431
  def IsWebTracking(self):
9412
9432
  """免鉴权开关。 false:关闭; true:开启。默认为false。
@@ -9447,6 +9467,7 @@ class CreateTopicRequest(AbstractModel):
9447
9467
  self._Period = params.get("Period")
9448
9468
  self._Describes = params.get("Describes")
9449
9469
  self._HotPeriod = params.get("HotPeriod")
9470
+ self._TopicId = params.get("TopicId")
9450
9471
  self._IsWebTracking = params.get("IsWebTracking")
9451
9472
  if params.get("Extends") is not None:
9452
9473
  self._Extends = TopicExtendInfo()