tencentcloud-sdk-python 3.0.1416__py2.py3-none-any.whl → 3.0.1417__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/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +46 -36
- tencentcloud/cwp/v20180228/models.py +197 -2
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +84 -0
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/gs/v20191118/gs_client.py +1 -1
- tencentcloud/gs/v20191118/models.py +169 -23
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +297 -0
- tencentcloud/mariadb/v20170312/models.py +45 -0
- tencentcloud/wedata/v20210820/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1416.dist-info → tencentcloud_sdk_python-3.0.1417.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1416.dist-info → tencentcloud_sdk_python-3.0.1417.dist-info}/RECORD +20 -20
- {tencentcloud_sdk_python-3.0.1416.dist-info → tencentcloud_sdk_python-3.0.1417.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1416.dist-info → tencentcloud_sdk_python-3.0.1417.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1416.dist-info → tencentcloud_sdk_python-3.0.1417.dist-info}/top_level.txt +0 -0
@@ -13329,6 +13329,8 @@ class BashEventsInfoNew(AbstractModel):
|
|
13329
13329
|
:type MachineType: int
|
13330
13330
|
:param _DetectBy: 检测来源 0:bash日志 1:实时监控
|
13331
13331
|
:type DetectBy: int
|
13332
|
+
:param _BashCmdDecoded: 执行命令(解码后)
|
13333
|
+
:type BashCmdDecoded: str
|
13332
13334
|
"""
|
13333
13335
|
self._Id = None
|
13334
13336
|
self._Uuid = None
|
@@ -13357,6 +13359,7 @@ class BashEventsInfoNew(AbstractModel):
|
|
13357
13359
|
self._Pid = None
|
13358
13360
|
self._MachineType = None
|
13359
13361
|
self._DetectBy = None
|
13362
|
+
self._BashCmdDecoded = None
|
13360
13363
|
|
13361
13364
|
@property
|
13362
13365
|
def Id(self):
|
@@ -13655,6 +13658,17 @@ class BashEventsInfoNew(AbstractModel):
|
|
13655
13658
|
def DetectBy(self, DetectBy):
|
13656
13659
|
self._DetectBy = DetectBy
|
13657
13660
|
|
13661
|
+
@property
|
13662
|
+
def BashCmdDecoded(self):
|
13663
|
+
"""执行命令(解码后)
|
13664
|
+
:rtype: str
|
13665
|
+
"""
|
13666
|
+
return self._BashCmdDecoded
|
13667
|
+
|
13668
|
+
@BashCmdDecoded.setter
|
13669
|
+
def BashCmdDecoded(self, BashCmdDecoded):
|
13670
|
+
self._BashCmdDecoded = BashCmdDecoded
|
13671
|
+
|
13658
13672
|
|
13659
13673
|
def _deserialize(self, params):
|
13660
13674
|
self._Id = params.get("Id")
|
@@ -13684,6 +13698,7 @@ class BashEventsInfoNew(AbstractModel):
|
|
13684
13698
|
self._Pid = params.get("Pid")
|
13685
13699
|
self._MachineType = params.get("MachineType")
|
13686
13700
|
self._DetectBy = params.get("DetectBy")
|
13701
|
+
self._BashCmdDecoded = params.get("BashCmdDecoded")
|
13687
13702
|
memeber_set = set(params.keys())
|
13688
13703
|
for name, value in vars(self).items():
|
13689
13704
|
property_name = name[1:]
|
@@ -46269,6 +46284,12 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
46269
46284
|
:type ProtectMode: int
|
46270
46285
|
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
46271
46286
|
:type ProtectFileScope: int
|
46287
|
+
:param _DoClean: 执行清理开关 0未开启 1开启
|
46288
|
+
:type DoClean: int
|
46289
|
+
:param _QuaraUuids: 自选的隔离主机集合
|
46290
|
+
:type QuaraUuids: list of str
|
46291
|
+
:param _QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
|
46292
|
+
:type QuaraScope: int
|
46272
46293
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
46273
46294
|
:type RequestId: str
|
46274
46295
|
"""
|
@@ -46290,6 +46311,9 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
46290
46311
|
self._EnableMemShellScan = None
|
46291
46312
|
self._ProtectMode = None
|
46292
46313
|
self._ProtectFileScope = None
|
46314
|
+
self._DoClean = None
|
46315
|
+
self._QuaraUuids = None
|
46316
|
+
self._QuaraScope = None
|
46293
46317
|
self._RequestId = None
|
46294
46318
|
|
46295
46319
|
@property
|
@@ -46490,6 +46514,39 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
46490
46514
|
def ProtectFileScope(self, ProtectFileScope):
|
46491
46515
|
self._ProtectFileScope = ProtectFileScope
|
46492
46516
|
|
46517
|
+
@property
|
46518
|
+
def DoClean(self):
|
46519
|
+
"""执行清理开关 0未开启 1开启
|
46520
|
+
:rtype: int
|
46521
|
+
"""
|
46522
|
+
return self._DoClean
|
46523
|
+
|
46524
|
+
@DoClean.setter
|
46525
|
+
def DoClean(self, DoClean):
|
46526
|
+
self._DoClean = DoClean
|
46527
|
+
|
46528
|
+
@property
|
46529
|
+
def QuaraUuids(self):
|
46530
|
+
"""自选的隔离主机集合
|
46531
|
+
:rtype: list of str
|
46532
|
+
"""
|
46533
|
+
return self._QuaraUuids
|
46534
|
+
|
46535
|
+
@QuaraUuids.setter
|
46536
|
+
def QuaraUuids(self, QuaraUuids):
|
46537
|
+
self._QuaraUuids = QuaraUuids
|
46538
|
+
|
46539
|
+
@property
|
46540
|
+
def QuaraScope(self):
|
46541
|
+
"""用户选择的隔离范围,0:默认全隔离 1:用户自选
|
46542
|
+
:rtype: int
|
46543
|
+
"""
|
46544
|
+
return self._QuaraScope
|
46545
|
+
|
46546
|
+
@QuaraScope.setter
|
46547
|
+
def QuaraScope(self, QuaraScope):
|
46548
|
+
self._QuaraScope = QuaraScope
|
46549
|
+
|
46493
46550
|
@property
|
46494
46551
|
def RequestId(self):
|
46495
46552
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -46521,6 +46578,9 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
46521
46578
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
46522
46579
|
self._ProtectMode = params.get("ProtectMode")
|
46523
46580
|
self._ProtectFileScope = params.get("ProtectFileScope")
|
46581
|
+
self._DoClean = params.get("DoClean")
|
46582
|
+
self._QuaraUuids = params.get("QuaraUuids")
|
46583
|
+
self._QuaraScope = params.get("QuaraScope")
|
46524
46584
|
self._RequestId = params.get("RequestId")
|
46525
46585
|
|
46526
46586
|
|
@@ -78620,6 +78680,10 @@ class MalWareList(AbstractModel):
|
|
78620
78680
|
:type MD5: str
|
78621
78681
|
:param _MachineExtraInfo: 附加信息
|
78622
78682
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
78683
|
+
:param _DoClean: 是否可以清理
|
78684
|
+
:type DoClean: bool
|
78685
|
+
:param _FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
|
78686
|
+
:type FirstDetectionMethod: int
|
78623
78687
|
"""
|
78624
78688
|
self._HostIp = None
|
78625
78689
|
self._Uuid = None
|
@@ -78640,6 +78704,8 @@ class MalWareList(AbstractModel):
|
|
78640
78704
|
self._Quuid = None
|
78641
78705
|
self._MD5 = None
|
78642
78706
|
self._MachineExtraInfo = None
|
78707
|
+
self._DoClean = None
|
78708
|
+
self._FirstDetectionMethod = None
|
78643
78709
|
|
78644
78710
|
@property
|
78645
78711
|
def HostIp(self):
|
@@ -78850,6 +78916,28 @@ class MalWareList(AbstractModel):
|
|
78850
78916
|
def MachineExtraInfo(self, MachineExtraInfo):
|
78851
78917
|
self._MachineExtraInfo = MachineExtraInfo
|
78852
78918
|
|
78919
|
+
@property
|
78920
|
+
def DoClean(self):
|
78921
|
+
"""是否可以清理
|
78922
|
+
:rtype: bool
|
78923
|
+
"""
|
78924
|
+
return self._DoClean
|
78925
|
+
|
78926
|
+
@DoClean.setter
|
78927
|
+
def DoClean(self, DoClean):
|
78928
|
+
self._DoClean = DoClean
|
78929
|
+
|
78930
|
+
@property
|
78931
|
+
def FirstDetectionMethod(self):
|
78932
|
+
"""首次检出方式 0扫描;1实时监控
|
78933
|
+
:rtype: int
|
78934
|
+
"""
|
78935
|
+
return self._FirstDetectionMethod
|
78936
|
+
|
78937
|
+
@FirstDetectionMethod.setter
|
78938
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
78939
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
78940
|
+
|
78853
78941
|
|
78854
78942
|
def _deserialize(self, params):
|
78855
78943
|
self._HostIp = params.get("HostIp")
|
@@ -78873,6 +78961,8 @@ class MalWareList(AbstractModel):
|
|
78873
78961
|
if params.get("MachineExtraInfo") is not None:
|
78874
78962
|
self._MachineExtraInfo = MachineExtraInfo()
|
78875
78963
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
78964
|
+
self._DoClean = params.get("DoClean")
|
78965
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
78876
78966
|
memeber_set = set(params.keys())
|
78877
78967
|
for name, value in vars(self).items():
|
78878
78968
|
property_name = name[1:]
|
@@ -79052,6 +79142,8 @@ class MalwareInfo(AbstractModel):
|
|
79052
79142
|
:type FileExists: bool
|
79053
79143
|
:param _ProcessExists: 木马进程是否存在
|
79054
79144
|
:type ProcessExists: bool
|
79145
|
+
:param _FirstDetectionMethod: 首次检出方式0扫描;1实时监控
|
79146
|
+
:type FirstDetectionMethod: int
|
79055
79147
|
"""
|
79056
79148
|
self._VirusName = None
|
79057
79149
|
self._FileSize = None
|
@@ -79086,6 +79178,7 @@ class MalwareInfo(AbstractModel):
|
|
79086
79178
|
self._References = None
|
79087
79179
|
self._FileExists = None
|
79088
79180
|
self._ProcessExists = None
|
79181
|
+
self._FirstDetectionMethod = None
|
79089
79182
|
|
79090
79183
|
@property
|
79091
79184
|
def VirusName(self):
|
@@ -79450,6 +79543,17 @@ class MalwareInfo(AbstractModel):
|
|
79450
79543
|
def ProcessExists(self, ProcessExists):
|
79451
79544
|
self._ProcessExists = ProcessExists
|
79452
79545
|
|
79546
|
+
@property
|
79547
|
+
def FirstDetectionMethod(self):
|
79548
|
+
"""首次检出方式0扫描;1实时监控
|
79549
|
+
:rtype: int
|
79550
|
+
"""
|
79551
|
+
return self._FirstDetectionMethod
|
79552
|
+
|
79553
|
+
@FirstDetectionMethod.setter
|
79554
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
79555
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
79556
|
+
|
79453
79557
|
|
79454
79558
|
def _deserialize(self, params):
|
79455
79559
|
self._VirusName = params.get("VirusName")
|
@@ -79487,6 +79591,7 @@ class MalwareInfo(AbstractModel):
|
|
79487
79591
|
self._References = params.get("References")
|
79488
79592
|
self._FileExists = params.get("FileExists")
|
79489
79593
|
self._ProcessExists = params.get("ProcessExists")
|
79594
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
79490
79595
|
memeber_set = set(params.keys())
|
79491
79596
|
for name, value in vars(self).items():
|
79492
79597
|
property_name = name[1:]
|
@@ -83498,6 +83603,10 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
83498
83603
|
:type ProtectMode: int
|
83499
83604
|
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
83500
83605
|
:type ProtectFileScope: int
|
83606
|
+
:param _QuaraUuids: 自选的隔离主机集合
|
83607
|
+
:type QuaraUuids: list of str
|
83608
|
+
:param _QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
|
83609
|
+
:type QuaraScope: int
|
83501
83610
|
"""
|
83502
83611
|
self._CheckPattern = None
|
83503
83612
|
self._StartTime = None
|
@@ -83516,6 +83625,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
83516
83625
|
self._EnableMemShellScan = None
|
83517
83626
|
self._ProtectMode = None
|
83518
83627
|
self._ProtectFileScope = None
|
83628
|
+
self._QuaraUuids = None
|
83629
|
+
self._QuaraScope = None
|
83519
83630
|
|
83520
83631
|
@property
|
83521
83632
|
def CheckPattern(self):
|
@@ -83705,6 +83816,28 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
83705
83816
|
def ProtectFileScope(self, ProtectFileScope):
|
83706
83817
|
self._ProtectFileScope = ProtectFileScope
|
83707
83818
|
|
83819
|
+
@property
|
83820
|
+
def QuaraUuids(self):
|
83821
|
+
"""自选的隔离主机集合
|
83822
|
+
:rtype: list of str
|
83823
|
+
"""
|
83824
|
+
return self._QuaraUuids
|
83825
|
+
|
83826
|
+
@QuaraUuids.setter
|
83827
|
+
def QuaraUuids(self, QuaraUuids):
|
83828
|
+
self._QuaraUuids = QuaraUuids
|
83829
|
+
|
83830
|
+
@property
|
83831
|
+
def QuaraScope(self):
|
83832
|
+
"""用户选择的隔离范围,0:默认全隔离 1:用户自选
|
83833
|
+
:rtype: int
|
83834
|
+
"""
|
83835
|
+
return self._QuaraScope
|
83836
|
+
|
83837
|
+
@QuaraScope.setter
|
83838
|
+
def QuaraScope(self, QuaraScope):
|
83839
|
+
self._QuaraScope = QuaraScope
|
83840
|
+
|
83708
83841
|
|
83709
83842
|
def _deserialize(self, params):
|
83710
83843
|
self._CheckPattern = params.get("CheckPattern")
|
@@ -83724,6 +83857,8 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
83724
83857
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
83725
83858
|
self._ProtectMode = params.get("ProtectMode")
|
83726
83859
|
self._ProtectFileScope = params.get("ProtectFileScope")
|
83860
|
+
self._QuaraUuids = params.get("QuaraUuids")
|
83861
|
+
self._QuaraScope = params.get("QuaraScope")
|
83727
83862
|
memeber_set = set(params.keys())
|
83728
83863
|
for name, value in vars(self).items():
|
83729
83864
|
property_name = name[1:]
|
@@ -95246,6 +95381,8 @@ class RiskProcessEvent(AbstractModel):
|
|
95246
95381
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
95247
95382
|
:param _Uuid: 主机uuid
|
95248
95383
|
:type Uuid: str
|
95384
|
+
:param _FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
|
95385
|
+
:type FirstDetectionMethod: int
|
95249
95386
|
"""
|
95250
95387
|
self._EventId = None
|
95251
95388
|
self._HostName = None
|
@@ -95266,6 +95403,7 @@ class RiskProcessEvent(AbstractModel):
|
|
95266
95403
|
self._OnlineStatus = None
|
95267
95404
|
self._MachineExtraInfo = None
|
95268
95405
|
self._Uuid = None
|
95406
|
+
self._FirstDetectionMethod = None
|
95269
95407
|
|
95270
95408
|
@property
|
95271
95409
|
def EventId(self):
|
@@ -95476,6 +95614,17 @@ class RiskProcessEvent(AbstractModel):
|
|
95476
95614
|
def Uuid(self, Uuid):
|
95477
95615
|
self._Uuid = Uuid
|
95478
95616
|
|
95617
|
+
@property
|
95618
|
+
def FirstDetectionMethod(self):
|
95619
|
+
"""首次检出方式 0扫描;1实时监控
|
95620
|
+
:rtype: int
|
95621
|
+
"""
|
95622
|
+
return self._FirstDetectionMethod
|
95623
|
+
|
95624
|
+
@FirstDetectionMethod.setter
|
95625
|
+
def FirstDetectionMethod(self, FirstDetectionMethod):
|
95626
|
+
self._FirstDetectionMethod = FirstDetectionMethod
|
95627
|
+
|
95479
95628
|
|
95480
95629
|
def _deserialize(self, params):
|
95481
95630
|
self._EventId = params.get("EventId")
|
@@ -95499,6 +95648,7 @@ class RiskProcessEvent(AbstractModel):
|
|
95499
95648
|
self._MachineExtraInfo = MachineExtraInfo()
|
95500
95649
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
95501
95650
|
self._Uuid = params.get("Uuid")
|
95651
|
+
self._FirstDetectionMethod = params.get("FirstDetectionMethod")
|
95502
95652
|
memeber_set = set(params.keys())
|
95503
95653
|
for name, value in vars(self).items():
|
95504
95654
|
property_name = name[1:]
|
@@ -96430,10 +96580,16 @@ class ScanVulResponse(AbstractModel):
|
|
96430
96580
|
r"""
|
96431
96581
|
:param _TaskId: 任务id
|
96432
96582
|
:type TaskId: int
|
96583
|
+
:param _BasicVersionCount: 自选主机里面包含基础版个数
|
96584
|
+
:type BasicVersionCount: int
|
96585
|
+
:param _SuccessCount: 创建扫描任务机器个数
|
96586
|
+
:type SuccessCount: int
|
96433
96587
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
96434
96588
|
:type RequestId: str
|
96435
96589
|
"""
|
96436
96590
|
self._TaskId = None
|
96591
|
+
self._BasicVersionCount = None
|
96592
|
+
self._SuccessCount = None
|
96437
96593
|
self._RequestId = None
|
96438
96594
|
|
96439
96595
|
@property
|
@@ -96447,6 +96603,28 @@ class ScanVulResponse(AbstractModel):
|
|
96447
96603
|
def TaskId(self, TaskId):
|
96448
96604
|
self._TaskId = TaskId
|
96449
96605
|
|
96606
|
+
@property
|
96607
|
+
def BasicVersionCount(self):
|
96608
|
+
"""自选主机里面包含基础版个数
|
96609
|
+
:rtype: int
|
96610
|
+
"""
|
96611
|
+
return self._BasicVersionCount
|
96612
|
+
|
96613
|
+
@BasicVersionCount.setter
|
96614
|
+
def BasicVersionCount(self, BasicVersionCount):
|
96615
|
+
self._BasicVersionCount = BasicVersionCount
|
96616
|
+
|
96617
|
+
@property
|
96618
|
+
def SuccessCount(self):
|
96619
|
+
"""创建扫描任务机器个数
|
96620
|
+
:rtype: int
|
96621
|
+
"""
|
96622
|
+
return self._SuccessCount
|
96623
|
+
|
96624
|
+
@SuccessCount.setter
|
96625
|
+
def SuccessCount(self, SuccessCount):
|
96626
|
+
self._SuccessCount = SuccessCount
|
96627
|
+
|
96450
96628
|
@property
|
96451
96629
|
def RequestId(self):
|
96452
96630
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -96461,6 +96639,8 @@ class ScanVulResponse(AbstractModel):
|
|
96461
96639
|
|
96462
96640
|
def _deserialize(self, params):
|
96463
96641
|
self._TaskId = params.get("TaskId")
|
96642
|
+
self._BasicVersionCount = params.get("BasicVersionCount")
|
96643
|
+
self._SuccessCount = params.get("SuccessCount")
|
96464
96644
|
self._RequestId = params.get("RequestId")
|
96465
96645
|
|
96466
96646
|
|
@@ -105957,7 +106137,7 @@ class WarningObject(AbstractModel):
|
|
105957
106137
|
|
105958
106138
|
def __init__(self):
|
105959
106139
|
r"""
|
105960
|
-
:param _Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6
|
106140
|
+
:param _Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
|
105961
106141
|
:type Type: int
|
105962
106142
|
:param _DisablePhoneWarning: 1: 关闭告警 0: 开启告警
|
105963
106143
|
:type DisablePhoneWarning: int
|
@@ -105969,6 +106149,8 @@ class WarningObject(AbstractModel):
|
|
105969
106149
|
:type ControlBits: str
|
105970
106150
|
:param _HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
|
105971
106151
|
:type HostRange: int
|
106152
|
+
:param _Unit: 单位
|
106153
|
+
:type Unit: str
|
105972
106154
|
"""
|
105973
106155
|
self._Type = None
|
105974
106156
|
self._DisablePhoneWarning = None
|
@@ -105976,10 +106158,11 @@ class WarningObject(AbstractModel):
|
|
105976
106158
|
self._EndTime = None
|
105977
106159
|
self._ControlBits = None
|
105978
106160
|
self._HostRange = None
|
106161
|
+
self._Unit = None
|
105979
106162
|
|
105980
106163
|
@property
|
105981
106164
|
def Type(self):
|
105982
|
-
"""事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6
|
106165
|
+
"""事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
|
105983
106166
|
:rtype: int
|
105984
106167
|
"""
|
105985
106168
|
return self._Type
|
@@ -106043,6 +106226,17 @@ class WarningObject(AbstractModel):
|
|
106043
106226
|
def HostRange(self, HostRange):
|
106044
106227
|
self._HostRange = HostRange
|
106045
106228
|
|
106229
|
+
@property
|
106230
|
+
def Unit(self):
|
106231
|
+
"""单位
|
106232
|
+
:rtype: str
|
106233
|
+
"""
|
106234
|
+
return self._Unit
|
106235
|
+
|
106236
|
+
@Unit.setter
|
106237
|
+
def Unit(self, Unit):
|
106238
|
+
self._Unit = Unit
|
106239
|
+
|
106046
106240
|
|
106047
106241
|
def _deserialize(self, params):
|
106048
106242
|
self._Type = params.get("Type")
|
@@ -106051,6 +106245,7 @@ class WarningObject(AbstractModel):
|
|
106051
106245
|
self._EndTime = params.get("EndTime")
|
106052
106246
|
self._ControlBits = params.get("ControlBits")
|
106053
106247
|
self._HostRange = params.get("HostRange")
|
106248
|
+
self._Unit = params.get("Unit")
|
106054
106249
|
memeber_set = set(params.keys())
|
106055
106250
|
for name, value in vars(self).items():
|
106056
106251
|
property_name = name[1:]
|
@@ -348,6 +348,29 @@ class DlcClient(AbstractClient):
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
349
349
|
|
350
350
|
|
351
|
+
def CancelTasks(self, request):
|
352
|
+
"""批量取消任务
|
353
|
+
|
354
|
+
:param request: Request instance for CancelTasks.
|
355
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.CancelTasksRequest`
|
356
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.CancelTasksResponse`
|
357
|
+
|
358
|
+
"""
|
359
|
+
try:
|
360
|
+
params = request._serialize()
|
361
|
+
headers = request.headers
|
362
|
+
body = self.call("CancelTasks", params, headers=headers)
|
363
|
+
response = json.loads(body)
|
364
|
+
model = models.CancelTasksResponse()
|
365
|
+
model._deserialize(response["Response"])
|
366
|
+
return model
|
367
|
+
except Exception as e:
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
369
|
+
raise
|
370
|
+
else:
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
372
|
+
|
373
|
+
|
351
374
|
def CheckDataEngineConfigPairsValidity(self, request):
|
352
375
|
"""本接口(CheckDataEngineConfigPairsValidity)用于检查引擎用户自定义参数的有效性
|
353
376
|
|
@@ -2619,6 +2619,90 @@ class CancelTaskResponse(AbstractModel):
|
|
2619
2619
|
self._RequestId = params.get("RequestId")
|
2620
2620
|
|
2621
2621
|
|
2622
|
+
class CancelTasksRequest(AbstractModel):
|
2623
|
+
"""CancelTasks请求参数结构体
|
2624
|
+
|
2625
|
+
"""
|
2626
|
+
|
2627
|
+
def __init__(self):
|
2628
|
+
r"""
|
2629
|
+
:param _TaskId: 任务Id数组,全局唯一
|
2630
|
+
:type TaskId: list of str
|
2631
|
+
:param _Config: 配置信息,key-value数组,对外不可见。key1:AuthorityRole(鉴权角色,默认传SubUin,base64加密,仅在jdbc提交任务时使用)
|
2632
|
+
:type Config: list of KVPair
|
2633
|
+
"""
|
2634
|
+
self._TaskId = None
|
2635
|
+
self._Config = None
|
2636
|
+
|
2637
|
+
@property
|
2638
|
+
def TaskId(self):
|
2639
|
+
"""任务Id数组,全局唯一
|
2640
|
+
:rtype: list of str
|
2641
|
+
"""
|
2642
|
+
return self._TaskId
|
2643
|
+
|
2644
|
+
@TaskId.setter
|
2645
|
+
def TaskId(self, TaskId):
|
2646
|
+
self._TaskId = TaskId
|
2647
|
+
|
2648
|
+
@property
|
2649
|
+
def Config(self):
|
2650
|
+
"""配置信息,key-value数组,对外不可见。key1:AuthorityRole(鉴权角色,默认传SubUin,base64加密,仅在jdbc提交任务时使用)
|
2651
|
+
:rtype: list of KVPair
|
2652
|
+
"""
|
2653
|
+
return self._Config
|
2654
|
+
|
2655
|
+
@Config.setter
|
2656
|
+
def Config(self, Config):
|
2657
|
+
self._Config = Config
|
2658
|
+
|
2659
|
+
|
2660
|
+
def _deserialize(self, params):
|
2661
|
+
self._TaskId = params.get("TaskId")
|
2662
|
+
if params.get("Config") is not None:
|
2663
|
+
self._Config = []
|
2664
|
+
for item in params.get("Config"):
|
2665
|
+
obj = KVPair()
|
2666
|
+
obj._deserialize(item)
|
2667
|
+
self._Config.append(obj)
|
2668
|
+
memeber_set = set(params.keys())
|
2669
|
+
for name, value in vars(self).items():
|
2670
|
+
property_name = name[1:]
|
2671
|
+
if property_name in memeber_set:
|
2672
|
+
memeber_set.remove(property_name)
|
2673
|
+
if len(memeber_set) > 0:
|
2674
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2675
|
+
|
2676
|
+
|
2677
|
+
|
2678
|
+
class CancelTasksResponse(AbstractModel):
|
2679
|
+
"""CancelTasks返回参数结构体
|
2680
|
+
|
2681
|
+
"""
|
2682
|
+
|
2683
|
+
def __init__(self):
|
2684
|
+
r"""
|
2685
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2686
|
+
:type RequestId: str
|
2687
|
+
"""
|
2688
|
+
self._RequestId = None
|
2689
|
+
|
2690
|
+
@property
|
2691
|
+
def RequestId(self):
|
2692
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2693
|
+
:rtype: str
|
2694
|
+
"""
|
2695
|
+
return self._RequestId
|
2696
|
+
|
2697
|
+
@RequestId.setter
|
2698
|
+
def RequestId(self, RequestId):
|
2699
|
+
self._RequestId = RequestId
|
2700
|
+
|
2701
|
+
|
2702
|
+
def _deserialize(self, params):
|
2703
|
+
self._RequestId = params.get("RequestId")
|
2704
|
+
|
2705
|
+
|
2622
2706
|
class CheckDataEngineConfigPairsValidityRequest(AbstractModel):
|
2623
2707
|
"""CheckDataEngineConfigPairsValidity请求参数结构体
|
2624
2708
|
|
@@ -266,6 +266,9 @@ INVALIDPARAMETER_INVALIDJOBFLOW = 'InvalidParameter.InvalidJobFlow'
|
|
266
266
|
# 无效的任务步骤类型。
|
267
267
|
INVALIDPARAMETER_INVALIDJOBTYPE = 'InvalidParameter.InvalidJobType'
|
268
268
|
|
269
|
+
# 不合法的LoadBalancerId
|
270
|
+
INVALIDPARAMETER_INVALIDLOADBALANCER = 'InvalidParameter.InvalidLoadBalancer'
|
271
|
+
|
269
272
|
# 无效的登录设置。
|
270
273
|
INVALIDPARAMETER_INVALIDLOGINSETTING = 'InvalidParameter.InvalidLoginSetting'
|
271
274
|
|
@@ -4959,6 +4959,8 @@ class CreateClusterRequest(AbstractModel):
|
|
4959
4959
|
:type CosBucket: str
|
4960
4960
|
:param _NodeMarks: 节点标识信息,目前只提供给tf平台使用
|
4961
4961
|
:type NodeMarks: list of NodeMark
|
4962
|
+
:param _LoadBalancerId: clb id
|
4963
|
+
:type LoadBalancerId: str
|
4962
4964
|
"""
|
4963
4965
|
self._ProductVersion = None
|
4964
4966
|
self._EnableSupportHAFlag = None
|
@@ -4982,6 +4984,7 @@ class CreateClusterRequest(AbstractModel):
|
|
4982
4984
|
self._ZoneResourceConfiguration = None
|
4983
4985
|
self._CosBucket = None
|
4984
4986
|
self._NodeMarks = None
|
4987
|
+
self._LoadBalancerId = None
|
4985
4988
|
|
4986
4989
|
@property
|
4987
4990
|
def ProductVersion(self):
|
@@ -5244,6 +5247,17 @@ class CreateClusterRequest(AbstractModel):
|
|
5244
5247
|
def NodeMarks(self, NodeMarks):
|
5245
5248
|
self._NodeMarks = NodeMarks
|
5246
5249
|
|
5250
|
+
@property
|
5251
|
+
def LoadBalancerId(self):
|
5252
|
+
"""clb id
|
5253
|
+
:rtype: str
|
5254
|
+
"""
|
5255
|
+
return self._LoadBalancerId
|
5256
|
+
|
5257
|
+
@LoadBalancerId.setter
|
5258
|
+
def LoadBalancerId(self, LoadBalancerId):
|
5259
|
+
self._LoadBalancerId = LoadBalancerId
|
5260
|
+
|
5247
5261
|
|
5248
5262
|
def _deserialize(self, params):
|
5249
5263
|
self._ProductVersion = params.get("ProductVersion")
|
@@ -5301,6 +5315,7 @@ class CreateClusterRequest(AbstractModel):
|
|
5301
5315
|
obj = NodeMark()
|
5302
5316
|
obj._deserialize(item)
|
5303
5317
|
self._NodeMarks.append(obj)
|
5318
|
+
self._LoadBalancerId = params.get("LoadBalancerId")
|
5304
5319
|
memeber_set = set(params.keys())
|
5305
5320
|
for name, value in vars(self).items():
|
5306
5321
|
property_name = name[1:]
|
@@ -10545,12 +10560,15 @@ class DescribeInstanceRenewNodesResponse(AbstractModel):
|
|
10545
10560
|
:param _MetaInfo: 用户所有的标签键列表
|
10546
10561
|
注意:此字段可能返回 null,表示取不到有效值。
|
10547
10562
|
:type MetaInfo: list of str
|
10563
|
+
:param _RedisInfo: 集群依赖的Redis实例Id
|
10564
|
+
:type RedisInfo: list of str
|
10548
10565
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10549
10566
|
:type RequestId: str
|
10550
10567
|
"""
|
10551
10568
|
self._TotalCnt = None
|
10552
10569
|
self._NodeList = None
|
10553
10570
|
self._MetaInfo = None
|
10571
|
+
self._RedisInfo = None
|
10554
10572
|
self._RequestId = None
|
10555
10573
|
|
10556
10574
|
@property
|
@@ -10588,6 +10606,17 @@ class DescribeInstanceRenewNodesResponse(AbstractModel):
|
|
10588
10606
|
def MetaInfo(self, MetaInfo):
|
10589
10607
|
self._MetaInfo = MetaInfo
|
10590
10608
|
|
10609
|
+
@property
|
10610
|
+
def RedisInfo(self):
|
10611
|
+
"""集群依赖的Redis实例Id
|
10612
|
+
:rtype: list of str
|
10613
|
+
"""
|
10614
|
+
return self._RedisInfo
|
10615
|
+
|
10616
|
+
@RedisInfo.setter
|
10617
|
+
def RedisInfo(self, RedisInfo):
|
10618
|
+
self._RedisInfo = RedisInfo
|
10619
|
+
|
10591
10620
|
@property
|
10592
10621
|
def RequestId(self):
|
10593
10622
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -10609,6 +10638,7 @@ class DescribeInstanceRenewNodesResponse(AbstractModel):
|
|
10609
10638
|
obj._deserialize(item)
|
10610
10639
|
self._NodeList.append(obj)
|
10611
10640
|
self._MetaInfo = params.get("MetaInfo")
|
10641
|
+
self._RedisInfo = params.get("RedisInfo")
|
10612
10642
|
self._RequestId = params.get("RequestId")
|
10613
10643
|
|
10614
10644
|
|
@@ -675,7 +675,7 @@ class GsClient(AbstractClient):
|
|
675
675
|
|
676
676
|
|
677
677
|
def DescribeAndroidInstancesByApps(self, request):
|
678
|
-
"""
|
678
|
+
"""批量查询安装指定应用的安卓实例
|
679
679
|
|
680
680
|
:param request: Request instance for DescribeAndroidInstancesByApps.
|
681
681
|
:type request: :class:`tencentcloud.gs.v20191118.models.DescribeAndroidInstancesByAppsRequest`
|