tencentcloud-sdk-python 3.0.1322__py2.py3-none-any.whl → 3.0.1324__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +54 -0
- tencentcloud/aiart/v20221229/models.py +523 -0
- tencentcloud/antiddos/v20200309/models.py +27 -10
- tencentcloud/apm/v20210622/models.py +29 -2
- tencentcloud/cbs/v20170312/cbs_client.py +101 -0
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/models.py +735 -5
- tencentcloud/cdwdoris/v20211228/models.py +17 -2
- tencentcloud/ckafka/v20190819/models.py +15 -0
- tencentcloud/cls/v20201016/models.py +15 -0
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -274
- tencentcloud/dcdb/v20180411/dcdb_client.py +46 -0
- tencentcloud/dcdb/v20180411/models.py +379 -0
- tencentcloud/dlc/v20210125/models.py +205 -34
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/faceid/v20180301/models.py +8 -6
- tencentcloud/gme/v20180711/models.py +0 -18
- tencentcloud/lcic/v20220817/models.py +0 -156
- tencentcloud/lke/v20231130/models.py +15 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/mqtt/v20240516/models.py +339 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +250 -2
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/svp/v20240125/models.py +0 -6
- tencentcloud/taf/v20200210/errorcodes.py +0 -156
- tencentcloud/taf/v20200210/models.py +80 -1291
- tencentcloud/taf/v20200210/taf_client.py +0 -69
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +70 -0
- tencentcloud/tione/v20211111/models.py +19 -0
- tencentcloud/trabbit/v20230418/models.py +15 -304
- tencentcloud/trp/v20210515/models.py +0 -360
- tencentcloud/vpc/v20170312/models.py +234 -0
- tencentcloud/vpc/v20170312/vpc_client.py +46 -0
- tencentcloud/wedata/v20210820/models.py +264 -0
- {tencentcloud_sdk_python-3.0.1322.dist-info → tencentcloud_sdk_python-3.0.1324.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1322.dist-info → tencentcloud_sdk_python-3.0.1324.dist-info}/RECORD +45 -50
- tencentcloud/aa/__init__.py +0 -0
- tencentcloud/aa/v20200224/__init__.py +0 -0
- tencentcloud/aa/v20200224/aa_client.py +0 -49
- tencentcloud/aa/v20200224/errorcodes.py +0 -78
- tencentcloud/aa/v20200224/models.py +0 -736
- {tencentcloud_sdk_python-3.0.1322.dist-info → tencentcloud_sdk_python-3.0.1324.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1322.dist-info → tencentcloud_sdk_python-3.0.1324.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1322.dist-info → tencentcloud_sdk_python-3.0.1324.dist-info}/top_level.txt +0 -0
@@ -4376,16 +4376,19 @@ class DescribeClusterConfigsRequest(AbstractModel):
|
|
4376
4376
|
:type ConfigType: int
|
4377
4377
|
:param _FileName: 模糊搜索关键字文件
|
4378
4378
|
:type FileName: str
|
4379
|
-
:param _ClusterConfigType: 0集群维度 1节点维度
|
4379
|
+
:param _ClusterConfigType: 0集群维度 1节点维度 2启动脚本 3计算组维度
|
4380
4380
|
:type ClusterConfigType: int
|
4381
4381
|
:param _IPAddress: eth0的ip地址
|
4382
4382
|
:type IPAddress: str
|
4383
|
+
:param _ComputeGroupId: 计算组id
|
4384
|
+
:type ComputeGroupId: str
|
4383
4385
|
"""
|
4384
4386
|
self._InstanceId = None
|
4385
4387
|
self._ConfigType = None
|
4386
4388
|
self._FileName = None
|
4387
4389
|
self._ClusterConfigType = None
|
4388
4390
|
self._IPAddress = None
|
4391
|
+
self._ComputeGroupId = None
|
4389
4392
|
|
4390
4393
|
@property
|
4391
4394
|
def InstanceId(self):
|
@@ -4422,7 +4425,7 @@ class DescribeClusterConfigsRequest(AbstractModel):
|
|
4422
4425
|
|
4423
4426
|
@property
|
4424
4427
|
def ClusterConfigType(self):
|
4425
|
-
"""0集群维度 1节点维度
|
4428
|
+
"""0集群维度 1节点维度 2启动脚本 3计算组维度
|
4426
4429
|
:rtype: int
|
4427
4430
|
"""
|
4428
4431
|
return self._ClusterConfigType
|
@@ -4442,6 +4445,17 @@ class DescribeClusterConfigsRequest(AbstractModel):
|
|
4442
4445
|
def IPAddress(self, IPAddress):
|
4443
4446
|
self._IPAddress = IPAddress
|
4444
4447
|
|
4448
|
+
@property
|
4449
|
+
def ComputeGroupId(self):
|
4450
|
+
"""计算组id
|
4451
|
+
:rtype: str
|
4452
|
+
"""
|
4453
|
+
return self._ComputeGroupId
|
4454
|
+
|
4455
|
+
@ComputeGroupId.setter
|
4456
|
+
def ComputeGroupId(self, ComputeGroupId):
|
4457
|
+
self._ComputeGroupId = ComputeGroupId
|
4458
|
+
|
4445
4459
|
|
4446
4460
|
def _deserialize(self, params):
|
4447
4461
|
self._InstanceId = params.get("InstanceId")
|
@@ -4449,6 +4463,7 @@ class DescribeClusterConfigsRequest(AbstractModel):
|
|
4449
4463
|
self._FileName = params.get("FileName")
|
4450
4464
|
self._ClusterConfigType = params.get("ClusterConfigType")
|
4451
4465
|
self._IPAddress = params.get("IPAddress")
|
4466
|
+
self._ComputeGroupId = params.get("ComputeGroupId")
|
4452
4467
|
memeber_set = set(params.keys())
|
4453
4468
|
for name, value in vars(self).items():
|
4454
4469
|
property_name = name[1:]
|
@@ -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:]
|
@@ -20194,6 +20194,8 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20194
20194
|
:param _Keys: 日志Key列表,RechargeType为full_regex_log时必填
|
20195
20195
|
注意:此字段可能返回 null,表示取不到有效值。
|
20196
20196
|
:type Keys: list of str
|
20197
|
+
:param _ParseArray: json解析模式,开启首层数据解析
|
20198
|
+
:type ParseArray: bool
|
20197
20199
|
"""
|
20198
20200
|
self._RechargeType = None
|
20199
20201
|
self._EncodingFormat = None
|
@@ -20209,6 +20211,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20209
20211
|
self._TimeZone = None
|
20210
20212
|
self._Metadata = None
|
20211
20213
|
self._Keys = None
|
20214
|
+
self._ParseArray = None
|
20212
20215
|
|
20213
20216
|
@property
|
20214
20217
|
def RechargeType(self):
|
@@ -20374,6 +20377,17 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20374
20377
|
def Keys(self, Keys):
|
20375
20378
|
self._Keys = Keys
|
20376
20379
|
|
20380
|
+
@property
|
20381
|
+
def ParseArray(self):
|
20382
|
+
"""json解析模式,开启首层数据解析
|
20383
|
+
:rtype: bool
|
20384
|
+
"""
|
20385
|
+
return self._ParseArray
|
20386
|
+
|
20387
|
+
@ParseArray.setter
|
20388
|
+
def ParseArray(self, ParseArray):
|
20389
|
+
self._ParseArray = ParseArray
|
20390
|
+
|
20377
20391
|
|
20378
20392
|
def _deserialize(self, params):
|
20379
20393
|
self._RechargeType = params.get("RechargeType")
|
@@ -20390,6 +20404,7 @@ class LogRechargeRuleInfo(AbstractModel):
|
|
20390
20404
|
self._TimeZone = params.get("TimeZone")
|
20391
20405
|
self._Metadata = params.get("Metadata")
|
20392
20406
|
self._Keys = params.get("Keys")
|
20407
|
+
self._ParseArray = params.get("ParseArray")
|
20393
20408
|
memeber_set = set(params.keys())
|
20394
20409
|
for name, value in vars(self).items():
|
20395
20410
|
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
|
|