tencentcloud-sdk-python-config 3.0.1416__tar.gz → 3.1.58__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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_config-3.1.58/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/setup.py +2 -1
  3. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/config/v20220802/config_client.py +7 -7
  5. tencentcloud_sdk_python_config-3.1.58/tencentcloud/config/v20220802/config_client_async.py +152 -0
  6. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/config/v20220802/models.py +183 -189
  7. tencentcloud_sdk_python_config-3.1.58/tencentcloud_sdk_python_config.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud_sdk_python_config.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_config-3.1.58/tencentcloud_sdk_python_config.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-config-3.0.1416/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-config-3.0.1416/tencentcloud_sdk_python_config.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-config-3.0.1416/tencentcloud_sdk_python_config.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/README.rst +0 -0
  14. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/config/__init__.py +0 -0
  16. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/config/v20220802/__init__.py +0 -0
  17. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud/config/v20220802/errorcodes.py +0 -0
  18. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud_sdk_python_config.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-config-3.0.1416 → tencentcloud_sdk_python_config-3.1.58}/tencentcloud_sdk_python_config.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-config
3
+ Version: 3.1.58
4
+ Summary: Tencent Cloud Config SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.58
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Config SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-config
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common config
46
+
@@ -8,7 +8,8 @@ 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.0.1416"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.58,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Config SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1416'
17
+ __version__ = '3.1.58'
@@ -27,7 +27,7 @@ class ConfigClient(AbstractClient):
27
27
 
28
28
 
29
29
  def DescribeAggregateDiscoveredResource(self, request):
30
- """账号组资源详情
30
+ r"""账号组资源详情
31
31
 
32
32
  :param request: Request instance for DescribeAggregateDiscoveredResource.
33
33
  :type request: :class:`tencentcloud.config.v20220802.models.DescribeAggregateDiscoveredResourceRequest`
@@ -50,7 +50,7 @@ class ConfigClient(AbstractClient):
50
50
 
51
51
 
52
52
  def DescribeDiscoveredResource(self, request):
53
- """资源详情
53
+ r"""资源详情
54
54
 
55
55
  :param request: Request instance for DescribeDiscoveredResource.
56
56
  :type request: :class:`tencentcloud.config.v20220802.models.DescribeDiscoveredResourceRequest`
@@ -73,7 +73,7 @@ class ConfigClient(AbstractClient):
73
73
 
74
74
 
75
75
  def ListAggregateConfigRules(self, request):
76
- """账号组获取规则列表
76
+ r"""账号组获取规则列表
77
77
 
78
78
  :param request: Request instance for ListAggregateConfigRules.
79
79
  :type request: :class:`tencentcloud.config.v20220802.models.ListAggregateConfigRulesRequest`
@@ -96,7 +96,7 @@ class ConfigClient(AbstractClient):
96
96
 
97
97
 
98
98
  def ListAggregateDiscoveredResources(self, request):
99
- """账号组获取资源列表
99
+ r"""账号组获取资源列表
100
100
 
101
101
  :param request: Request instance for ListAggregateDiscoveredResources.
102
102
  :type request: :class:`tencentcloud.config.v20220802.models.ListAggregateDiscoveredResourcesRequest`
@@ -119,7 +119,7 @@ class ConfigClient(AbstractClient):
119
119
 
120
120
 
121
121
  def ListConfigRules(self, request):
122
- """获取规则列表
122
+ r"""获取规则列表
123
123
 
124
124
  :param request: Request instance for ListConfigRules.
125
125
  :type request: :class:`tencentcloud.config.v20220802.models.ListConfigRulesRequest`
@@ -142,7 +142,7 @@ class ConfigClient(AbstractClient):
142
142
 
143
143
 
144
144
  def ListDiscoveredResources(self, request):
145
- """获取资源列表
145
+ r"""获取资源列表
146
146
 
147
147
  :param request: Request instance for ListDiscoveredResources.
148
148
  :type request: :class:`tencentcloud.config.v20220802.models.ListDiscoveredResourcesRequest`
@@ -165,7 +165,7 @@ class ConfigClient(AbstractClient):
165
165
 
166
166
 
167
167
  def PutEvaluations(self, request):
168
- """上报自定义规则评估结果
168
+ r"""上报自定义规则评估结果
169
169
 
170
170
  :param request: Request instance for PutEvaluations.
171
171
  :type request: :class:`tencentcloud.config.v20220802.models.PutEvaluationsRequest`
@@ -0,0 +1,152 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.config.v20220802 import models
20
+ from typing import Dict
21
+
22
+
23
+ class ConfigClient(AbstractClient):
24
+ _apiVersion = '2022-08-02'
25
+ _endpoint = 'config.tencentcloudapi.com'
26
+ _service = 'config'
27
+
28
+ async def DescribeAggregateDiscoveredResource(
29
+ self,
30
+ request: models.DescribeAggregateDiscoveredResourceRequest,
31
+ opts: Dict = None,
32
+ ) -> models.DescribeAggregateDiscoveredResourceResponse:
33
+ """
34
+ 账号组资源详情
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "DescribeAggregateDiscoveredResource"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.DescribeAggregateDiscoveredResourceResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def DescribeDiscoveredResource(
47
+ self,
48
+ request: models.DescribeDiscoveredResourceRequest,
49
+ opts: Dict = None,
50
+ ) -> models.DescribeDiscoveredResourceResponse:
51
+ """
52
+ 资源详情
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "DescribeDiscoveredResource"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.DescribeDiscoveredResourceResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def ListAggregateConfigRules(
65
+ self,
66
+ request: models.ListAggregateConfigRulesRequest,
67
+ opts: Dict = None,
68
+ ) -> models.ListAggregateConfigRulesResponse:
69
+ """
70
+ 账号组获取规则列表
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "ListAggregateConfigRules"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.ListAggregateConfigRulesResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def ListAggregateDiscoveredResources(
83
+ self,
84
+ request: models.ListAggregateDiscoveredResourcesRequest,
85
+ opts: Dict = None,
86
+ ) -> models.ListAggregateDiscoveredResourcesResponse:
87
+ """
88
+ 账号组获取资源列表
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "ListAggregateDiscoveredResources"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.ListAggregateDiscoveredResourcesResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def ListConfigRules(
101
+ self,
102
+ request: models.ListConfigRulesRequest,
103
+ opts: Dict = None,
104
+ ) -> models.ListConfigRulesResponse:
105
+ """
106
+ 获取规则列表
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "ListConfigRules"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.ListConfigRulesResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def ListDiscoveredResources(
119
+ self,
120
+ request: models.ListDiscoveredResourcesRequest,
121
+ opts: Dict = None,
122
+ ) -> models.ListDiscoveredResourcesResponse:
123
+ """
124
+ 获取资源列表
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "ListDiscoveredResources"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.ListDiscoveredResourcesResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def PutEvaluations(
137
+ self,
138
+ request: models.PutEvaluationsRequest,
139
+ opts: Dict = None,
140
+ ) -> models.PutEvaluationsResponse:
141
+ """
142
+ 上报自定义规则评估结果
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "PutEvaluations"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.PutEvaluationsResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)