tencentcloud-sdk-python-csip 3.1.17__py2.py3-none-any.whl → 3.1.26__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/csip/v20221121/models.py +135 -0
- {tencentcloud_sdk_python_csip-3.1.17.dist-info → tencentcloud_sdk_python_csip-3.1.26.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_csip-3.1.17.dist-info → tencentcloud_sdk_python_csip-3.1.26.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_csip-3.1.17.dist-info → tencentcloud_sdk_python_csip-3.1.26.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_csip-3.1.17.dist-info → tencentcloud_sdk_python_csip-3.1.26.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -157,6 +157,17 @@ class AccessKeyAlarm(AbstractModel):
|
|
|
157
157
|
:type RuleKey: str
|
|
158
158
|
:param _CloudType: 云厂商类型 0:腾讯云 1:亚马逊云 2:微软云 3:谷歌云 4:阿里云 5:华为云
|
|
159
159
|
:type CloudType: int
|
|
160
|
+
:param _AIStatus: 告警AI分析状态
|
|
161
|
+
-1 分析失败
|
|
162
|
+
0 未分析
|
|
163
|
+
1 分析中
|
|
164
|
+
2 分析成功,真实告警
|
|
165
|
+
3 分析成功,可疑告警
|
|
166
|
+
:type AIStatus: int
|
|
167
|
+
:param _FirstAlarmTimestamp: 首次告警时间戳(秒级)
|
|
168
|
+
:type FirstAlarmTimestamp: int
|
|
169
|
+
:param _LastAlarmTimestamp: 最后告警时间戳(秒级)
|
|
170
|
+
:type LastAlarmTimestamp: int
|
|
160
171
|
"""
|
|
161
172
|
self._Name = None
|
|
162
173
|
self._Level = None
|
|
@@ -181,6 +192,9 @@ class AccessKeyAlarm(AbstractModel):
|
|
|
181
192
|
self._Evidence = None
|
|
182
193
|
self._RuleKey = None
|
|
183
194
|
self._CloudType = None
|
|
195
|
+
self._AIStatus = None
|
|
196
|
+
self._FirstAlarmTimestamp = None
|
|
197
|
+
self._LastAlarmTimestamp = None
|
|
184
198
|
|
|
185
199
|
@property
|
|
186
200
|
def Name(self):
|
|
@@ -440,6 +454,44 @@ class AccessKeyAlarm(AbstractModel):
|
|
|
440
454
|
def CloudType(self, CloudType):
|
|
441
455
|
self._CloudType = CloudType
|
|
442
456
|
|
|
457
|
+
@property
|
|
458
|
+
def AIStatus(self):
|
|
459
|
+
r"""告警AI分析状态
|
|
460
|
+
-1 分析失败
|
|
461
|
+
0 未分析
|
|
462
|
+
1 分析中
|
|
463
|
+
2 分析成功,真实告警
|
|
464
|
+
3 分析成功,可疑告警
|
|
465
|
+
:rtype: int
|
|
466
|
+
"""
|
|
467
|
+
return self._AIStatus
|
|
468
|
+
|
|
469
|
+
@AIStatus.setter
|
|
470
|
+
def AIStatus(self, AIStatus):
|
|
471
|
+
self._AIStatus = AIStatus
|
|
472
|
+
|
|
473
|
+
@property
|
|
474
|
+
def FirstAlarmTimestamp(self):
|
|
475
|
+
r"""首次告警时间戳(秒级)
|
|
476
|
+
:rtype: int
|
|
477
|
+
"""
|
|
478
|
+
return self._FirstAlarmTimestamp
|
|
479
|
+
|
|
480
|
+
@FirstAlarmTimestamp.setter
|
|
481
|
+
def FirstAlarmTimestamp(self, FirstAlarmTimestamp):
|
|
482
|
+
self._FirstAlarmTimestamp = FirstAlarmTimestamp
|
|
483
|
+
|
|
484
|
+
@property
|
|
485
|
+
def LastAlarmTimestamp(self):
|
|
486
|
+
r"""最后告警时间戳(秒级)
|
|
487
|
+
:rtype: int
|
|
488
|
+
"""
|
|
489
|
+
return self._LastAlarmTimestamp
|
|
490
|
+
|
|
491
|
+
@LastAlarmTimestamp.setter
|
|
492
|
+
def LastAlarmTimestamp(self, LastAlarmTimestamp):
|
|
493
|
+
self._LastAlarmTimestamp = LastAlarmTimestamp
|
|
494
|
+
|
|
443
495
|
|
|
444
496
|
def _deserialize(self, params):
|
|
445
497
|
self._Name = params.get("Name")
|
|
@@ -465,6 +517,9 @@ class AccessKeyAlarm(AbstractModel):
|
|
|
465
517
|
self._Evidence = params.get("Evidence")
|
|
466
518
|
self._RuleKey = params.get("RuleKey")
|
|
467
519
|
self._CloudType = params.get("CloudType")
|
|
520
|
+
self._AIStatus = params.get("AIStatus")
|
|
521
|
+
self._FirstAlarmTimestamp = params.get("FirstAlarmTimestamp")
|
|
522
|
+
self._LastAlarmTimestamp = params.get("LastAlarmTimestamp")
|
|
468
523
|
memeber_set = set(params.keys())
|
|
469
524
|
for name, value in vars(self).items():
|
|
470
525
|
property_name = name[1:]
|
|
@@ -488,10 +543,19 @@ class AccessKeyAlarmCount(AbstractModel):
|
|
|
488
543
|
:type AccessKey: str
|
|
489
544
|
:param _AlarmCount: 告警数量
|
|
490
545
|
:type AlarmCount: int
|
|
546
|
+
:param _AccessKeyStatus: 访问密钥状态 0 禁用 1 已启用 2 已删除
|
|
547
|
+
:type AccessKeyStatus: int
|
|
548
|
+
:param _AccessKeyCreateTime: AK创建时间
|
|
549
|
+
:type AccessKeyCreateTime: str
|
|
550
|
+
:param _LastAccessTime: AK最后使用时间,从未使用过则返回“-”
|
|
551
|
+
:type LastAccessTime: str
|
|
491
552
|
"""
|
|
492
553
|
self._ID = None
|
|
493
554
|
self._AccessKey = None
|
|
494
555
|
self._AlarmCount = None
|
|
556
|
+
self._AccessKeyStatus = None
|
|
557
|
+
self._AccessKeyCreateTime = None
|
|
558
|
+
self._LastAccessTime = None
|
|
495
559
|
|
|
496
560
|
@property
|
|
497
561
|
def ID(self):
|
|
@@ -526,11 +590,47 @@ class AccessKeyAlarmCount(AbstractModel):
|
|
|
526
590
|
def AlarmCount(self, AlarmCount):
|
|
527
591
|
self._AlarmCount = AlarmCount
|
|
528
592
|
|
|
593
|
+
@property
|
|
594
|
+
def AccessKeyStatus(self):
|
|
595
|
+
r"""访问密钥状态 0 禁用 1 已启用 2 已删除
|
|
596
|
+
:rtype: int
|
|
597
|
+
"""
|
|
598
|
+
return self._AccessKeyStatus
|
|
599
|
+
|
|
600
|
+
@AccessKeyStatus.setter
|
|
601
|
+
def AccessKeyStatus(self, AccessKeyStatus):
|
|
602
|
+
self._AccessKeyStatus = AccessKeyStatus
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
def AccessKeyCreateTime(self):
|
|
606
|
+
r"""AK创建时间
|
|
607
|
+
:rtype: str
|
|
608
|
+
"""
|
|
609
|
+
return self._AccessKeyCreateTime
|
|
610
|
+
|
|
611
|
+
@AccessKeyCreateTime.setter
|
|
612
|
+
def AccessKeyCreateTime(self, AccessKeyCreateTime):
|
|
613
|
+
self._AccessKeyCreateTime = AccessKeyCreateTime
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
def LastAccessTime(self):
|
|
617
|
+
r"""AK最后使用时间,从未使用过则返回“-”
|
|
618
|
+
:rtype: str
|
|
619
|
+
"""
|
|
620
|
+
return self._LastAccessTime
|
|
621
|
+
|
|
622
|
+
@LastAccessTime.setter
|
|
623
|
+
def LastAccessTime(self, LastAccessTime):
|
|
624
|
+
self._LastAccessTime = LastAccessTime
|
|
625
|
+
|
|
529
626
|
|
|
530
627
|
def _deserialize(self, params):
|
|
531
628
|
self._ID = params.get("ID")
|
|
532
629
|
self._AccessKey = params.get("AccessKey")
|
|
533
630
|
self._AlarmCount = params.get("AlarmCount")
|
|
631
|
+
self._AccessKeyStatus = params.get("AccessKeyStatus")
|
|
632
|
+
self._AccessKeyCreateTime = params.get("AccessKeyCreateTime")
|
|
633
|
+
self._LastAccessTime = params.get("LastAccessTime")
|
|
534
634
|
memeber_set = set(params.keys())
|
|
535
635
|
for name, value in vars(self).items():
|
|
536
636
|
property_name = name[1:]
|
|
@@ -983,6 +1083,10 @@ class AccessKeyRisk(AbstractModel):
|
|
|
983
1083
|
:type AppID: int
|
|
984
1084
|
:param _QueryParam: 对应风险的查询参数
|
|
985
1085
|
:type QueryParam: str
|
|
1086
|
+
:param _CloudType: 云类型 0-腾讯云 4-阿里云
|
|
1087
|
+
:type CloudType: int
|
|
1088
|
+
:param _RelatedAK: 相关的AK列表,包含AK名和AK备注
|
|
1089
|
+
:type RelatedAK: list of AKInfo
|
|
986
1090
|
"""
|
|
987
1091
|
self._Name = None
|
|
988
1092
|
self._Level = None
|
|
@@ -1005,6 +1109,8 @@ class AccessKeyRisk(AbstractModel):
|
|
|
1005
1109
|
self._CheckStatus = None
|
|
1006
1110
|
self._AppID = None
|
|
1007
1111
|
self._QueryParam = None
|
|
1112
|
+
self._CloudType = None
|
|
1113
|
+
self._RelatedAK = None
|
|
1008
1114
|
|
|
1009
1115
|
@property
|
|
1010
1116
|
def Name(self):
|
|
@@ -1244,6 +1350,28 @@ class AccessKeyRisk(AbstractModel):
|
|
|
1244
1350
|
def QueryParam(self, QueryParam):
|
|
1245
1351
|
self._QueryParam = QueryParam
|
|
1246
1352
|
|
|
1353
|
+
@property
|
|
1354
|
+
def CloudType(self):
|
|
1355
|
+
r"""云类型 0-腾讯云 4-阿里云
|
|
1356
|
+
:rtype: int
|
|
1357
|
+
"""
|
|
1358
|
+
return self._CloudType
|
|
1359
|
+
|
|
1360
|
+
@CloudType.setter
|
|
1361
|
+
def CloudType(self, CloudType):
|
|
1362
|
+
self._CloudType = CloudType
|
|
1363
|
+
|
|
1364
|
+
@property
|
|
1365
|
+
def RelatedAK(self):
|
|
1366
|
+
r"""相关的AK列表,包含AK名和AK备注
|
|
1367
|
+
:rtype: list of AKInfo
|
|
1368
|
+
"""
|
|
1369
|
+
return self._RelatedAK
|
|
1370
|
+
|
|
1371
|
+
@RelatedAK.setter
|
|
1372
|
+
def RelatedAK(self, RelatedAK):
|
|
1373
|
+
self._RelatedAK = RelatedAK
|
|
1374
|
+
|
|
1247
1375
|
|
|
1248
1376
|
def _deserialize(self, params):
|
|
1249
1377
|
self._Name = params.get("Name")
|
|
@@ -1267,6 +1395,13 @@ class AccessKeyRisk(AbstractModel):
|
|
|
1267
1395
|
self._CheckStatus = params.get("CheckStatus")
|
|
1268
1396
|
self._AppID = params.get("AppID")
|
|
1269
1397
|
self._QueryParam = params.get("QueryParam")
|
|
1398
|
+
self._CloudType = params.get("CloudType")
|
|
1399
|
+
if params.get("RelatedAK") is not None:
|
|
1400
|
+
self._RelatedAK = []
|
|
1401
|
+
for item in params.get("RelatedAK"):
|
|
1402
|
+
obj = AKInfo()
|
|
1403
|
+
obj._deserialize(item)
|
|
1404
|
+
self._RelatedAK.append(obj)
|
|
1270
1405
|
memeber_set = set(params.keys())
|
|
1271
1406
|
for name, value in vars(self).items():
|
|
1272
1407
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.26
|
|
4
4
|
Summary: Tencent Cloud Csip SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.26
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=qEd9ULZ7Tq_UrXe4ERx68YHfaUTUjrCHJjS4hMEjvBI,629
|
|
2
2
|
tencentcloud/csip/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/csip/v20221121/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/csip/v20221121/csip_client.py,sha256=TePNovcD8MV5ra-9ijpm_BoD5ddfl5f82Z7bAUxUrRw,76706
|
|
5
5
|
tencentcloud/csip/v20221121/csip_client_async.py,sha256=EsnpFYnwPyQVRENVNO7_9b9omJv7mn_aYzOAUFrJF3Q,51403
|
|
6
6
|
tencentcloud/csip/v20221121/errorcodes.py,sha256=tQq2byfzCpkRMLmW2QNKwIYBoudFePHil-JJw8TnPFE,2200
|
|
7
|
-
tencentcloud/csip/v20221121/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_csip-3.1.
|
|
9
|
-
tencentcloud_sdk_python_csip-3.1.
|
|
10
|
-
tencentcloud_sdk_python_csip-3.1.
|
|
11
|
-
tencentcloud_sdk_python_csip-3.1.
|
|
7
|
+
tencentcloud/csip/v20221121/models.py,sha256=Hq0YbEDs4c8WIIFYlgXFGM4jisczeGo1C2XRaorCWbA,1055850
|
|
8
|
+
tencentcloud_sdk_python_csip-3.1.26.dist-info/METADATA,sha256=DAi8LAkemRy3apL4yr2cJ7WNQXTiSaGCtaIzHrD5aHg,1500
|
|
9
|
+
tencentcloud_sdk_python_csip-3.1.26.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
|
|
10
|
+
tencentcloud_sdk_python_csip-3.1.26.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_csip-3.1.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|