tencentcloud-sdk-python-config 3.1.77__tar.gz → 3.1.79__tar.gz
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_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/setup.py +1 -1
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/v20220802/models.py +54 -24
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud_sdk_python_config.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_config-3.1.79/tencentcloud_sdk_python_config.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_config-3.1.77/tencentcloud_sdk_python_config.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/README.rst +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/setup.cfg +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/__init__.py +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/v20220802/__init__.py +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/v20220802/config_client.py +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/v20220802/config_client_async.py +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud/config/v20220802/errorcodes.py +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud_sdk_python_config.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud_sdk_python_config.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_config-3.1.77 → tencentcloud_sdk_python_config-3.1.79}/tencentcloud_sdk_python_config.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-config
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.79
|
|
4
4
|
Summary: Tencent Cloud Config 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.79
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-config',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.79,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Config SDK for Python',
|
|
@@ -419,24 +419,27 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
419
419
|
|
|
420
420
|
def __init__(self):
|
|
421
421
|
r"""
|
|
422
|
-
:param _Name:
|
|
422
|
+
:param _Name: <p>告警策略名</p>
|
|
423
423
|
:type Name: str
|
|
424
|
-
:param
|
|
424
|
+
:param _Type: <p>事件类型 1:资源不合规事件</p>
|
|
425
|
+
:type Type: int
|
|
426
|
+
:param _EventScope: <p>事件范围 1:当前账号 2:多账号</p>
|
|
425
427
|
:type EventScope: list of int
|
|
426
|
-
:param _RiskLevel:
|
|
428
|
+
:param _RiskLevel: <p>风险等级 1:高风险 2:中风险 3:低风险</p>
|
|
427
429
|
:type RiskLevel: list of int
|
|
428
|
-
:param _NoticeTime:
|
|
430
|
+
:param _NoticeTime: <p>通知时间段</p>
|
|
429
431
|
:type NoticeTime: str
|
|
430
|
-
:param _NotificationMechanism:
|
|
432
|
+
:param _NotificationMechanism: <p>通知机制</p>
|
|
431
433
|
:type NotificationMechanism: str
|
|
432
|
-
:param _Status:
|
|
434
|
+
:param _Status: <p>状态 1:启用 2:停用</p>
|
|
433
435
|
:type Status: int
|
|
434
|
-
:param _NoticePeriod:
|
|
436
|
+
:param _NoticePeriod: <p>通知周期</p>
|
|
435
437
|
:type NoticePeriod: list of int
|
|
436
|
-
:param _Description:
|
|
438
|
+
:param _Description: <p>策略描述</p>
|
|
437
439
|
:type Description: str
|
|
438
440
|
"""
|
|
439
441
|
self._Name = None
|
|
442
|
+
self._Type = None
|
|
440
443
|
self._EventScope = None
|
|
441
444
|
self._RiskLevel = None
|
|
442
445
|
self._NoticeTime = None
|
|
@@ -447,7 +450,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
447
450
|
|
|
448
451
|
@property
|
|
449
452
|
def Name(self):
|
|
450
|
-
r"""
|
|
453
|
+
r"""<p>告警策略名</p>
|
|
451
454
|
:rtype: str
|
|
452
455
|
"""
|
|
453
456
|
return self._Name
|
|
@@ -456,9 +459,20 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
456
459
|
def Name(self, Name):
|
|
457
460
|
self._Name = Name
|
|
458
461
|
|
|
462
|
+
@property
|
|
463
|
+
def Type(self):
|
|
464
|
+
r"""<p>事件类型 1:资源不合规事件</p>
|
|
465
|
+
:rtype: int
|
|
466
|
+
"""
|
|
467
|
+
return self._Type
|
|
468
|
+
|
|
469
|
+
@Type.setter
|
|
470
|
+
def Type(self, Type):
|
|
471
|
+
self._Type = Type
|
|
472
|
+
|
|
459
473
|
@property
|
|
460
474
|
def EventScope(self):
|
|
461
|
-
r"""
|
|
475
|
+
r"""<p>事件范围 1:当前账号 2:多账号</p>
|
|
462
476
|
:rtype: list of int
|
|
463
477
|
"""
|
|
464
478
|
return self._EventScope
|
|
@@ -469,7 +483,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
469
483
|
|
|
470
484
|
@property
|
|
471
485
|
def RiskLevel(self):
|
|
472
|
-
r"""
|
|
486
|
+
r"""<p>风险等级 1:高风险 2:中风险 3:低风险</p>
|
|
473
487
|
:rtype: list of int
|
|
474
488
|
"""
|
|
475
489
|
return self._RiskLevel
|
|
@@ -480,7 +494,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
480
494
|
|
|
481
495
|
@property
|
|
482
496
|
def NoticeTime(self):
|
|
483
|
-
r"""
|
|
497
|
+
r"""<p>通知时间段</p>
|
|
484
498
|
:rtype: str
|
|
485
499
|
"""
|
|
486
500
|
return self._NoticeTime
|
|
@@ -491,7 +505,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
491
505
|
|
|
492
506
|
@property
|
|
493
507
|
def NotificationMechanism(self):
|
|
494
|
-
r"""
|
|
508
|
+
r"""<p>通知机制</p>
|
|
495
509
|
:rtype: str
|
|
496
510
|
"""
|
|
497
511
|
return self._NotificationMechanism
|
|
@@ -502,7 +516,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
502
516
|
|
|
503
517
|
@property
|
|
504
518
|
def Status(self):
|
|
505
|
-
r"""
|
|
519
|
+
r"""<p>状态 1:启用 2:停用</p>
|
|
506
520
|
:rtype: int
|
|
507
521
|
"""
|
|
508
522
|
return self._Status
|
|
@@ -513,7 +527,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
513
527
|
|
|
514
528
|
@property
|
|
515
529
|
def NoticePeriod(self):
|
|
516
|
-
r"""
|
|
530
|
+
r"""<p>通知周期</p>
|
|
517
531
|
:rtype: list of int
|
|
518
532
|
"""
|
|
519
533
|
return self._NoticePeriod
|
|
@@ -524,7 +538,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
524
538
|
|
|
525
539
|
@property
|
|
526
540
|
def Description(self):
|
|
527
|
-
r"""
|
|
541
|
+
r"""<p>策略描述</p>
|
|
528
542
|
:rtype: str
|
|
529
543
|
"""
|
|
530
544
|
return self._Description
|
|
@@ -536,6 +550,7 @@ class AddAlarmPolicyRequest(AbstractModel):
|
|
|
536
550
|
|
|
537
551
|
def _deserialize(self, params):
|
|
538
552
|
self._Name = params.get("Name")
|
|
553
|
+
self._Type = params.get("Type")
|
|
539
554
|
self._EventScope = params.get("EventScope")
|
|
540
555
|
self._RiskLevel = params.get("RiskLevel")
|
|
541
556
|
self._NoticeTime = params.get("NoticeTime")
|
|
@@ -560,7 +575,7 @@ class AddAlarmPolicyResponse(AbstractModel):
|
|
|
560
575
|
|
|
561
576
|
def __init__(self):
|
|
562
577
|
r"""
|
|
563
|
-
:param _AlarmPolicyId:
|
|
578
|
+
:param _AlarmPolicyId: <p>告警策略唯一id</p>
|
|
564
579
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
580
|
:type AlarmPolicyId: int
|
|
566
581
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -571,7 +586,7 @@ class AddAlarmPolicyResponse(AbstractModel):
|
|
|
571
586
|
|
|
572
587
|
@property
|
|
573
588
|
def AlarmPolicyId(self):
|
|
574
|
-
r"""
|
|
589
|
+
r"""<p>告警策略唯一id</p>
|
|
575
590
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
576
591
|
:rtype: int
|
|
577
592
|
"""
|
|
@@ -7792,14 +7807,17 @@ class ListAlarmPolicyRequest(AbstractModel):
|
|
|
7792
7807
|
|
|
7793
7808
|
def __init__(self):
|
|
7794
7809
|
r"""
|
|
7795
|
-
:param _Offset:
|
|
7810
|
+
:param _Offset: <p>页码</p>
|
|
7796
7811
|
:type Offset: int
|
|
7812
|
+
:param _Limit: <p>每页展示数量</p>
|
|
7813
|
+
:type Limit: int
|
|
7797
7814
|
"""
|
|
7798
7815
|
self._Offset = None
|
|
7816
|
+
self._Limit = None
|
|
7799
7817
|
|
|
7800
7818
|
@property
|
|
7801
7819
|
def Offset(self):
|
|
7802
|
-
r"""
|
|
7820
|
+
r"""<p>页码</p>
|
|
7803
7821
|
:rtype: int
|
|
7804
7822
|
"""
|
|
7805
7823
|
return self._Offset
|
|
@@ -7808,9 +7826,21 @@ class ListAlarmPolicyRequest(AbstractModel):
|
|
|
7808
7826
|
def Offset(self, Offset):
|
|
7809
7827
|
self._Offset = Offset
|
|
7810
7828
|
|
|
7829
|
+
@property
|
|
7830
|
+
def Limit(self):
|
|
7831
|
+
r"""<p>每页展示数量</p>
|
|
7832
|
+
:rtype: int
|
|
7833
|
+
"""
|
|
7834
|
+
return self._Limit
|
|
7835
|
+
|
|
7836
|
+
@Limit.setter
|
|
7837
|
+
def Limit(self, Limit):
|
|
7838
|
+
self._Limit = Limit
|
|
7839
|
+
|
|
7811
7840
|
|
|
7812
7841
|
def _deserialize(self, params):
|
|
7813
7842
|
self._Offset = params.get("Offset")
|
|
7843
|
+
self._Limit = params.get("Limit")
|
|
7814
7844
|
memeber_set = set(params.keys())
|
|
7815
7845
|
for name, value in vars(self).items():
|
|
7816
7846
|
property_name = name[1:]
|
|
@@ -7828,9 +7858,9 @@ class ListAlarmPolicyResponse(AbstractModel):
|
|
|
7828
7858
|
|
|
7829
7859
|
def __init__(self):
|
|
7830
7860
|
r"""
|
|
7831
|
-
:param _Total:
|
|
7861
|
+
:param _Total: <p>返回记录的数量</p>
|
|
7832
7862
|
:type Total: int
|
|
7833
|
-
:param _AlarmPolicyList:
|
|
7863
|
+
:param _AlarmPolicyList: <p>告警策略返回值</p>
|
|
7834
7864
|
:type AlarmPolicyList: list of AlarmPolicyRsp
|
|
7835
7865
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7836
7866
|
:type RequestId: str
|
|
@@ -7841,7 +7871,7 @@ class ListAlarmPolicyResponse(AbstractModel):
|
|
|
7841
7871
|
|
|
7842
7872
|
@property
|
|
7843
7873
|
def Total(self):
|
|
7844
|
-
r"""
|
|
7874
|
+
r"""<p>返回记录的数量</p>
|
|
7845
7875
|
:rtype: int
|
|
7846
7876
|
"""
|
|
7847
7877
|
return self._Total
|
|
@@ -7852,7 +7882,7 @@ class ListAlarmPolicyResponse(AbstractModel):
|
|
|
7852
7882
|
|
|
7853
7883
|
@property
|
|
7854
7884
|
def AlarmPolicyList(self):
|
|
7855
|
-
r"""
|
|
7885
|
+
r"""<p>告警策略返回值</p>
|
|
7856
7886
|
:rtype: list of AlarmPolicyRsp
|
|
7857
7887
|
"""
|
|
7858
7888
|
return self._AlarmPolicyList
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-config
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.79
|
|
4
4
|
Summary: Tencent Cloud Config 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.79
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.77
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|