tencentcloud-sdk-python-ioa 3.0.1175__tar.gz → 3.0.1176__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 (17) hide show
  1. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud/__init__.py +1 -1
  4. tencentcloud-sdk-python-ioa-3.0.1176/tencentcloud/ioa/v20220601/ioa_client.py +118 -0
  5. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud/ioa/v20220601/models.py +1239 -63
  6. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-ioa-3.0.1176/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-ioa-3.0.1175/tencentcloud/ioa/v20220601/ioa_client.py +0 -49
  9. tencentcloud-sdk-python-ioa-3.0.1175/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/README.rst +0 -0
  11. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud/ioa/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud/ioa/v20220601/__init__.py +0 -0
  14. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud/ioa/v20220601/errorcodes.py +0 -0
  15. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud-sdk-python-ioa-3.0.1175 → tencentcloud-sdk-python-ioa-3.0.1176}/tencentcloud_sdk_python_ioa.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ioa
3
- Version: 3.0.1175
3
+ Version: 3.0.1176
4
4
  Summary: Tencent Cloud Ioa SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-ioa',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1175"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1176"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ioa SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1175'
17
+ __version__ = '3.0.1176'
@@ -0,0 +1,118 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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
+ import json
17
+
18
+ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
+ from tencentcloud.common.abstract_client import AbstractClient
20
+ from tencentcloud.ioa.v20220601 import models
21
+
22
+
23
+ class IoaClient(AbstractClient):
24
+ _apiVersion = '2022-06-01'
25
+ _endpoint = 'ioa.tencentcloudapi.com'
26
+ _service = 'ioa'
27
+
28
+
29
+ def DescribeAccountGroups(self, request):
30
+ """以分页的方式查询账户目录列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
31
+
32
+ :param request: Request instance for DescribeAccountGroups.
33
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsRequest`
34
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeAccountGroupsResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeAccountGroups", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeAccountGroupsResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
52
+ def DescribeDevices(self, request):
53
+ """查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
54
+
55
+ :param request: Request instance for DescribeDevices.
56
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDevicesRequest`
57
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDevicesResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("DescribeDevices", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.DescribeDevicesResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
75
+ def DescribeLocalAccounts(self, request):
76
+ """获取账号列表,支持分页,模糊搜索,私有化调用path为:/capi/Assets/Account/DescribeLocalAccounts
77
+
78
+ :param request: Request instance for DescribeLocalAccounts.
79
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeLocalAccountsRequest`
80
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeLocalAccountsResponse`
81
+
82
+ """
83
+ try:
84
+ params = request._serialize()
85
+ headers = request.headers
86
+ body = self.call("DescribeLocalAccounts", params, headers=headers)
87
+ response = json.loads(body)
88
+ model = models.DescribeLocalAccountsResponse()
89
+ model._deserialize(response["Response"])
90
+ return model
91
+ except Exception as e:
92
+ if isinstance(e, TencentCloudSDKException):
93
+ raise
94
+ else:
95
+ raise TencentCloudSDKException(type(e).__name__, str(e))
96
+
97
+
98
+ def DescribeRootAccountGroup(self, request):
99
+ """查询账户根分组详情,私有化调用path为:capi/Assets/DescribeRootAccountGroup
100
+
101
+ :param request: Request instance for DescribeRootAccountGroup.
102
+ :type request: :class:`tencentcloud.ioa.v20220601.models.DescribeRootAccountGroupRequest`
103
+ :rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeRootAccountGroupResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("DescribeRootAccountGroup", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.DescribeRootAccountGroupResponse()
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))