tencentcloud-sdk-python 3.0.1321__py2.py3-none-any.whl → 3.0.1323__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 (51) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +54 -0
  3. tencentcloud/aiart/v20221229/models.py +523 -0
  4. tencentcloud/billing/v20180709/billing_client.py +0 -75
  5. tencentcloud/billing/v20180709/models.py +2 -833
  6. tencentcloud/ckafka/v20190819/models.py +15 -0
  7. tencentcloud/cwp/v20180228/cwp_client.py +0 -25
  8. tencentcloud/cwp/v20180228/models.py +0 -274
  9. tencentcloud/dcdb/v20180411/dcdb_client.py +46 -0
  10. tencentcloud/dcdb/v20180411/models.py +379 -0
  11. tencentcloud/dlc/v20210125/models.py +205 -10
  12. tencentcloud/ess/v20201111/models.py +2 -2
  13. tencentcloud/essbasic/v20210526/models.py +2 -2
  14. tencentcloud/facefusion/v20220927/facefusion_client.py +0 -1
  15. tencentcloud/faceid/v20180301/models.py +8 -6
  16. tencentcloud/gme/v20180711/models.py +0 -12
  17. tencentcloud/keewidb/v20220308/keewidb_client.py +1 -0
  18. tencentcloud/lcic/v20220817/models.py +0 -160
  19. tencentcloud/lighthouse/v20200324/models.py +4 -16
  20. tencentcloud/lke/v20231130/models.py +15 -0
  21. tencentcloud/lkeap/v20240522/lkeap_client.py +5 -5
  22. tencentcloud/lkeap/v20240522/models.py +4 -6
  23. tencentcloud/mna/v20210119/mna_client.py +46 -0
  24. tencentcloud/mna/v20210119/models.py +424 -0
  25. tencentcloud/monitor/v20230616/__init__.py +0 -0
  26. tencentcloud/monitor/v20230616/errorcodes.py +30 -0
  27. tencentcloud/monitor/v20230616/models.py +494 -0
  28. tencentcloud/monitor/v20230616/monitor_client.py +55 -0
  29. tencentcloud/mqtt/v20240516/errorcodes.py +12 -0
  30. tencentcloud/mqtt/v20240516/models.py +2179 -651
  31. tencentcloud/mqtt/v20240516/mqtt_client.py +208 -0
  32. tencentcloud/ocr/v20181119/models.py +107 -2
  33. tencentcloud/ssl/v20191205/models.py +2 -2
  34. tencentcloud/taf/v20200210/errorcodes.py +0 -156
  35. tencentcloud/taf/v20200210/models.py +80 -1291
  36. tencentcloud/taf/v20200210/taf_client.py +0 -69
  37. tencentcloud/tcb/v20180608/errorcodes.py +3 -0
  38. tencentcloud/teo/v20220901/models.py +6 -0
  39. tencentcloud/tione/v20211111/models.py +19 -0
  40. tencentcloud/trabbit/v20230418/models.py +15 -304
  41. tencentcloud/trtc/v20190722/models.py +0 -6
  42. tencentcloud/vclm/v20240523/errorcodes.py +0 -72
  43. tencentcloud/vclm/v20240523/models.py +1 -854
  44. tencentcloud/vclm/v20240523/vclm_client.py +0 -104
  45. tencentcloud/wedata/v20210820/models.py +298 -0
  46. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  47. {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/METADATA +1 -1
  48. {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/RECORD +51 -47
  49. {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/LICENSE +0 -0
  50. {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/WHEEL +0 -0
  51. {tencentcloud_sdk_python-3.0.1321.dist-info → tencentcloud_sdk_python-3.0.1323.dist-info}/top_level.txt +0 -0
@@ -20565,6 +20565,8 @@ class InstanceAttributesResponse(AbstractModel):
20565
20565
  :type ElasticFloatBandwidth: int
20566
20566
  :param _CustomCertId: ssl自定义证书id
20567
20567
  :type CustomCertId: str
20568
+ :param _UncleanLeaderElectionEnable: 集群topic默认 unclean.leader.election.enable配置: 1 开启 0 关闭
20569
+ :type UncleanLeaderElectionEnable: int
20568
20570
  """
20569
20571
  self._InstanceId = None
20570
20572
  self._InstanceName = None
@@ -20606,6 +20608,7 @@ class InstanceAttributesResponse(AbstractModel):
20606
20608
  self._FreePartitionNumber = None
20607
20609
  self._ElasticFloatBandwidth = None
20608
20610
  self._CustomCertId = None
20611
+ self._UncleanLeaderElectionEnable = None
20609
20612
 
20610
20613
  @property
20611
20614
  def InstanceId(self):
@@ -21065,6 +21068,17 @@ class InstanceAttributesResponse(AbstractModel):
21065
21068
  def CustomCertId(self, CustomCertId):
21066
21069
  self._CustomCertId = CustomCertId
21067
21070
 
21071
+ @property
21072
+ def UncleanLeaderElectionEnable(self):
21073
+ """集群topic默认 unclean.leader.election.enable配置: 1 开启 0 关闭
21074
+ :rtype: int
21075
+ """
21076
+ return self._UncleanLeaderElectionEnable
21077
+
21078
+ @UncleanLeaderElectionEnable.setter
21079
+ def UncleanLeaderElectionEnable(self, UncleanLeaderElectionEnable):
21080
+ self._UncleanLeaderElectionEnable = UncleanLeaderElectionEnable
21081
+
21068
21082
 
21069
21083
  def _deserialize(self, params):
21070
21084
  self._InstanceId = params.get("InstanceId")
@@ -21123,6 +21137,7 @@ class InstanceAttributesResponse(AbstractModel):
21123
21137
  self._FreePartitionNumber = params.get("FreePartitionNumber")
21124
21138
  self._ElasticFloatBandwidth = params.get("ElasticFloatBandwidth")
21125
21139
  self._CustomCertId = params.get("CustomCertId")
21140
+ self._UncleanLeaderElectionEnable = params.get("UncleanLeaderElectionEnable")
21126
21141
  memeber_set = set(params.keys())
21127
21142
  for name, value in vars(self).items():
21128
21143
  property_name = name[1:]
@@ -7090,31 +7090,6 @@ class CwpClient(AbstractClient):
7090
7090
  raise TencentCloudSDKException(type(e).__name__, str(e))
7091
7091
 
7092
7092
 
7093
- def DescribeSecurityProtectionStat(self, request):
7094
- """接口已无效
7095
-
7096
- 获取安全防护状态汇总
7097
-
7098
- :param request: Request instance for DescribeSecurityProtectionStat.
7099
- :type request: :class:`tencentcloud.cwp.v20180228.models.DescribeSecurityProtectionStatRequest`
7100
- :rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeSecurityProtectionStatResponse`
7101
-
7102
- """
7103
- try:
7104
- params = request._serialize()
7105
- headers = request.headers
7106
- body = self.call("DescribeSecurityProtectionStat", params, headers=headers)
7107
- response = json.loads(body)
7108
- model = models.DescribeSecurityProtectionStatResponse()
7109
- model._deserialize(response["Response"])
7110
- return model
7111
- except Exception as e:
7112
- if isinstance(e, TencentCloudSDKException):
7113
- raise
7114
- else:
7115
- raise TencentCloudSDKException(type(e).__name__, str(e))
7116
-
7117
-
7118
7093
  def DescribeSecurityTrends(self, request):
7119
7094
  """本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。
7120
7095
 
@@ -55362,280 +55362,6 @@ class DescribeSecurityEventsCntResponse(AbstractModel):
55362
55362
  self._RequestId = params.get("RequestId")
55363
55363
 
55364
55364
 
55365
- class DescribeSecurityProtectionStatRequest(AbstractModel):
55366
- """DescribeSecurityProtectionStat请求参数结构体
55367
-
55368
- """
55369
-
55370
-
55371
- class DescribeSecurityProtectionStatResponse(AbstractModel):
55372
- """DescribeSecurityProtectionStat返回参数结构体
55373
-
55374
- """
55375
-
55376
- def __init__(self):
55377
- r"""
55378
- :param _AssetManageStat: 0 :0付费资产情况, 1:存在未安装agent情况 ,2:部分资产已是专业版/旗舰版, 3:全部资产已是专业版/旗舰版
55379
- :type AssetManageStat: int
55380
- :param _VulManageStat: 0:从未检测过,或0资产付费情况, 1:存在漏洞风险, 2:无风险
55381
- :type VulManageStat: int
55382
- :param _SecureBasicLineStat: 0:从未检测过,或0资产付费情况, 1:存在基线风险,2:无风险
55383
- :type SecureBasicLineStat: int
55384
- :param _MalwareScanStat: 0:从未检测过,或0资产付费情况, 1:已检测,存在恶意文件, 2:已检测,未开启隔离防护, 3:已检测且已开启防护且无风险
55385
- :type MalwareScanStat: int
55386
- :param _DefenseBruteAttackStat: 密码破解是否开启防护 0:未开启防护或0付费资产情况 1:已开启防护 2:存在带处理事件
55387
- :type DefenseBruteAttackStat: int
55388
- :param _FileTamperStat: 核心文件监控 0:未开启防护(0付费资产情况),1: 已开通
55389
- :type FileTamperStat: int
55390
- :param _WebPageStat: 网页防篡改 0:未开通, 1:已开通
55391
- :type WebPageStat: int
55392
- :param _LoginLogStat: 异常登录 0:存在未处理风险,1:无风险,未配置白名单,2:无风险,已配置
55393
- :type LoginLogStat: int
55394
- :param _DiscoverBruteAttackStat: 检测--密码破解有无存在风险 0:存在未处理风险, 1:无风险,正常检测
55395
- :type DiscoverBruteAttackStat: int
55396
- :param _MaliciousRequestStat: 恶意请求 0 : 0台开通专业版/旗舰版, 1: 恶意请求 存在未处理风险, 2:已有付费资产,无风险
55397
- :type MaliciousRequestStat: int
55398
- :param _PrivilegeStat: 本地提权 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
55399
- :type PrivilegeStat: int
55400
- :param _ReverseShellStat: 反弹shell 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
55401
- :type ReverseShellStat: int
55402
- :param _ExpertServiceStat: 专家服务 0:未开通服务, 1:已开通
55403
- :type ExpertServiceStat: int
55404
- :param _LogAnalysisStat: 日志分析 0:未开通服务, 1:已开通
55405
- :type LogAnalysisStat: int
55406
- :param _WarningSetStat: 安全告警 0:未开通设置(全部关闭) 1:已开通(只要开启1个就算)
55407
- :type WarningSetStat: int
55408
- :param _EventBashStat: 高危命令,0:0台开通专业版/旗舰版, 1:存在未处理风险, 2:已有付费资产,无风险
55409
- :type EventBashStat: int
55410
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
55411
- :type RequestId: str
55412
- """
55413
- self._AssetManageStat = None
55414
- self._VulManageStat = None
55415
- self._SecureBasicLineStat = None
55416
- self._MalwareScanStat = None
55417
- self._DefenseBruteAttackStat = None
55418
- self._FileTamperStat = None
55419
- self._WebPageStat = None
55420
- self._LoginLogStat = None
55421
- self._DiscoverBruteAttackStat = None
55422
- self._MaliciousRequestStat = None
55423
- self._PrivilegeStat = None
55424
- self._ReverseShellStat = None
55425
- self._ExpertServiceStat = None
55426
- self._LogAnalysisStat = None
55427
- self._WarningSetStat = None
55428
- self._EventBashStat = None
55429
- self._RequestId = None
55430
-
55431
- @property
55432
- def AssetManageStat(self):
55433
- """0 :0付费资产情况, 1:存在未安装agent情况 ,2:部分资产已是专业版/旗舰版, 3:全部资产已是专业版/旗舰版
55434
- :rtype: int
55435
- """
55436
- return self._AssetManageStat
55437
-
55438
- @AssetManageStat.setter
55439
- def AssetManageStat(self, AssetManageStat):
55440
- self._AssetManageStat = AssetManageStat
55441
-
55442
- @property
55443
- def VulManageStat(self):
55444
- """0:从未检测过,或0资产付费情况, 1:存在漏洞风险, 2:无风险
55445
- :rtype: int
55446
- """
55447
- return self._VulManageStat
55448
-
55449
- @VulManageStat.setter
55450
- def VulManageStat(self, VulManageStat):
55451
- self._VulManageStat = VulManageStat
55452
-
55453
- @property
55454
- def SecureBasicLineStat(self):
55455
- """0:从未检测过,或0资产付费情况, 1:存在基线风险,2:无风险
55456
- :rtype: int
55457
- """
55458
- return self._SecureBasicLineStat
55459
-
55460
- @SecureBasicLineStat.setter
55461
- def SecureBasicLineStat(self, SecureBasicLineStat):
55462
- self._SecureBasicLineStat = SecureBasicLineStat
55463
-
55464
- @property
55465
- def MalwareScanStat(self):
55466
- """0:从未检测过,或0资产付费情况, 1:已检测,存在恶意文件, 2:已检测,未开启隔离防护, 3:已检测且已开启防护且无风险
55467
- :rtype: int
55468
- """
55469
- return self._MalwareScanStat
55470
-
55471
- @MalwareScanStat.setter
55472
- def MalwareScanStat(self, MalwareScanStat):
55473
- self._MalwareScanStat = MalwareScanStat
55474
-
55475
- @property
55476
- def DefenseBruteAttackStat(self):
55477
- """密码破解是否开启防护 0:未开启防护或0付费资产情况 1:已开启防护 2:存在带处理事件
55478
- :rtype: int
55479
- """
55480
- return self._DefenseBruteAttackStat
55481
-
55482
- @DefenseBruteAttackStat.setter
55483
- def DefenseBruteAttackStat(self, DefenseBruteAttackStat):
55484
- self._DefenseBruteAttackStat = DefenseBruteAttackStat
55485
-
55486
- @property
55487
- def FileTamperStat(self):
55488
- """核心文件监控 0:未开启防护(0付费资产情况),1: 已开通
55489
- :rtype: int
55490
- """
55491
- return self._FileTamperStat
55492
-
55493
- @FileTamperStat.setter
55494
- def FileTamperStat(self, FileTamperStat):
55495
- self._FileTamperStat = FileTamperStat
55496
-
55497
- @property
55498
- def WebPageStat(self):
55499
- """网页防篡改 0:未开通, 1:已开通
55500
- :rtype: int
55501
- """
55502
- return self._WebPageStat
55503
-
55504
- @WebPageStat.setter
55505
- def WebPageStat(self, WebPageStat):
55506
- self._WebPageStat = WebPageStat
55507
-
55508
- @property
55509
- def LoginLogStat(self):
55510
- """异常登录 0:存在未处理风险,1:无风险,未配置白名单,2:无风险,已配置
55511
- :rtype: int
55512
- """
55513
- return self._LoginLogStat
55514
-
55515
- @LoginLogStat.setter
55516
- def LoginLogStat(self, LoginLogStat):
55517
- self._LoginLogStat = LoginLogStat
55518
-
55519
- @property
55520
- def DiscoverBruteAttackStat(self):
55521
- """检测--密码破解有无存在风险 0:存在未处理风险, 1:无风险,正常检测
55522
- :rtype: int
55523
- """
55524
- return self._DiscoverBruteAttackStat
55525
-
55526
- @DiscoverBruteAttackStat.setter
55527
- def DiscoverBruteAttackStat(self, DiscoverBruteAttackStat):
55528
- self._DiscoverBruteAttackStat = DiscoverBruteAttackStat
55529
-
55530
- @property
55531
- def MaliciousRequestStat(self):
55532
- """恶意请求 0 : 0台开通专业版/旗舰版, 1: 恶意请求 存在未处理风险, 2:已有付费资产,无风险
55533
- :rtype: int
55534
- """
55535
- return self._MaliciousRequestStat
55536
-
55537
- @MaliciousRequestStat.setter
55538
- def MaliciousRequestStat(self, MaliciousRequestStat):
55539
- self._MaliciousRequestStat = MaliciousRequestStat
55540
-
55541
- @property
55542
- def PrivilegeStat(self):
55543
- """本地提权 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
55544
- :rtype: int
55545
- """
55546
- return self._PrivilegeStat
55547
-
55548
- @PrivilegeStat.setter
55549
- def PrivilegeStat(self, PrivilegeStat):
55550
- self._PrivilegeStat = PrivilegeStat
55551
-
55552
- @property
55553
- def ReverseShellStat(self):
55554
- """反弹shell 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
55555
- :rtype: int
55556
- """
55557
- return self._ReverseShellStat
55558
-
55559
- @ReverseShellStat.setter
55560
- def ReverseShellStat(self, ReverseShellStat):
55561
- self._ReverseShellStat = ReverseShellStat
55562
-
55563
- @property
55564
- def ExpertServiceStat(self):
55565
- """专家服务 0:未开通服务, 1:已开通
55566
- :rtype: int
55567
- """
55568
- return self._ExpertServiceStat
55569
-
55570
- @ExpertServiceStat.setter
55571
- def ExpertServiceStat(self, ExpertServiceStat):
55572
- self._ExpertServiceStat = ExpertServiceStat
55573
-
55574
- @property
55575
- def LogAnalysisStat(self):
55576
- """日志分析 0:未开通服务, 1:已开通
55577
- :rtype: int
55578
- """
55579
- return self._LogAnalysisStat
55580
-
55581
- @LogAnalysisStat.setter
55582
- def LogAnalysisStat(self, LogAnalysisStat):
55583
- self._LogAnalysisStat = LogAnalysisStat
55584
-
55585
- @property
55586
- def WarningSetStat(self):
55587
- """安全告警 0:未开通设置(全部关闭) 1:已开通(只要开启1个就算)
55588
- :rtype: int
55589
- """
55590
- return self._WarningSetStat
55591
-
55592
- @WarningSetStat.setter
55593
- def WarningSetStat(self, WarningSetStat):
55594
- self._WarningSetStat = WarningSetStat
55595
-
55596
- @property
55597
- def EventBashStat(self):
55598
- """高危命令,0:0台开通专业版/旗舰版, 1:存在未处理风险, 2:已有付费资产,无风险
55599
- :rtype: int
55600
- """
55601
- return self._EventBashStat
55602
-
55603
- @EventBashStat.setter
55604
- def EventBashStat(self, EventBashStat):
55605
- self._EventBashStat = EventBashStat
55606
-
55607
- @property
55608
- def RequestId(self):
55609
- """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
55610
- :rtype: str
55611
- """
55612
- return self._RequestId
55613
-
55614
- @RequestId.setter
55615
- def RequestId(self, RequestId):
55616
- self._RequestId = RequestId
55617
-
55618
-
55619
- def _deserialize(self, params):
55620
- self._AssetManageStat = params.get("AssetManageStat")
55621
- self._VulManageStat = params.get("VulManageStat")
55622
- self._SecureBasicLineStat = params.get("SecureBasicLineStat")
55623
- self._MalwareScanStat = params.get("MalwareScanStat")
55624
- self._DefenseBruteAttackStat = params.get("DefenseBruteAttackStat")
55625
- self._FileTamperStat = params.get("FileTamperStat")
55626
- self._WebPageStat = params.get("WebPageStat")
55627
- self._LoginLogStat = params.get("LoginLogStat")
55628
- self._DiscoverBruteAttackStat = params.get("DiscoverBruteAttackStat")
55629
- self._MaliciousRequestStat = params.get("MaliciousRequestStat")
55630
- self._PrivilegeStat = params.get("PrivilegeStat")
55631
- self._ReverseShellStat = params.get("ReverseShellStat")
55632
- self._ExpertServiceStat = params.get("ExpertServiceStat")
55633
- self._LogAnalysisStat = params.get("LogAnalysisStat")
55634
- self._WarningSetStat = params.get("WarningSetStat")
55635
- self._EventBashStat = params.get("EventBashStat")
55636
- self._RequestId = params.get("RequestId")
55637
-
55638
-
55639
55365
  class DescribeSecurityTrendsRequest(AbstractModel):
55640
55366
  """DescribeSecurityTrends请求参数结构体
55641
55367
 
@@ -95,6 +95,29 @@ class DcdbClient(AbstractClient):
95
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
96
 
97
97
 
98
+ def CancelOnlineDDLJob(self, request):
99
+ """取消 Online DDL 任务
100
+
101
+ :param request: Request instance for CancelOnlineDDLJob.
102
+ :type request: :class:`tencentcloud.dcdb.v20180411.models.CancelOnlineDDLJobRequest`
103
+ :rtype: :class:`tencentcloud.dcdb.v20180411.models.CancelOnlineDDLJobResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("CancelOnlineDDLJob", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.CancelOnlineDDLJobResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
98
121
  def CloneAccount(self, request):
99
122
  """本接口(CloneAccount)用于克隆实例账户。
100
123
 
@@ -949,6 +972,29 @@ class DcdbClient(AbstractClient):
949
972
  raise TencentCloudSDKException(type(e).__name__, str(e))
950
973
 
951
974
 
975
+ def DescribeOnlineDDLJob(self, request):
976
+ """查询Online DDL 任务详情
977
+
978
+ :param request: Request instance for DescribeOnlineDDLJob.
979
+ :type request: :class:`tencentcloud.dcdb.v20180411.models.DescribeOnlineDDLJobRequest`
980
+ :rtype: :class:`tencentcloud.dcdb.v20180411.models.DescribeOnlineDDLJobResponse`
981
+
982
+ """
983
+ try:
984
+ params = request._serialize()
985
+ headers = request.headers
986
+ body = self.call("DescribeOnlineDDLJob", params, headers=headers)
987
+ response = json.loads(body)
988
+ model = models.DescribeOnlineDDLJobResponse()
989
+ model._deserialize(response["Response"])
990
+ return model
991
+ except Exception as e:
992
+ if isinstance(e, TencentCloudSDKException):
993
+ raise
994
+ else:
995
+ raise TencentCloudSDKException(type(e).__name__, str(e))
996
+
997
+
952
998
  def DescribeOrders(self, request):
953
999
  """本接口(DescribeOrders)用于查询分布式数据库订单信息。传入订单ID来查询订单关联的分布式数据库实例,和对应的任务流程ID。
954
1000