tencentcloud-sdk-python-ioa 3.1.93__tar.gz → 3.1.102__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_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/setup.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/v20220601/ioa_client_async.py +72 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/v20220601/models.py +979 -30
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ioa-3.1.102/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ioa-3.1.93/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/README.rst +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud/ioa/v20220601/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.102}/tencentcloud_sdk_python_ioa.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ioa
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.102
|
|
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
|
|
@@ -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.102
|
|
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-ioa',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.102,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ioa SDK for Python',
|
|
@@ -29,6 +29,9 @@ INTERNALERROR_DATABASEEXCEPTION = 'InternalError.DatabaseException'
|
|
|
29
29
|
# 数据库查询失败。
|
|
30
30
|
INTERNALERROR_DATABASEQUERYFAILED = 'InternalError.DatabaseQueryFailed'
|
|
31
31
|
|
|
32
|
+
# 数据库写入失败。
|
|
33
|
+
INTERNALERROR_DATABASEWRITEFAILED = 'InternalError.DatabaseWriteFailed'
|
|
34
|
+
|
|
32
35
|
# 没有零信任网关数据。
|
|
33
36
|
INTERNALERROR_NOTZEROTRUSTGATEWAY = 'InternalError.NotZeroTrustGateway'
|
|
34
37
|
|
|
@@ -89,9 +92,15 @@ INVALIDPARAMETER_RESOURCEPROTOCOLTYPEERR = 'InvalidParameter.ResourceProtocolTyp
|
|
|
89
92
|
# 业务资源类型错误。
|
|
90
93
|
INVALIDPARAMETER_RESOURCETYPEPARAMETER = 'InvalidParameter.ResourceTypeParameter'
|
|
91
94
|
|
|
95
|
+
# 存在同名用户组
|
|
96
|
+
INVALIDPARAMETER_SAMEACCOUNTGROUPNAME = 'InvalidParameter.SameAccountGroupName'
|
|
97
|
+
|
|
92
98
|
# 没有找到对应的终端自定义分组
|
|
93
99
|
INVALIDPARAMETERVALUE_VIRTUALDEVICEGROUPNOTFOUND = 'InvalidParameterValue.VirtualDeviceGroupNotFound'
|
|
94
100
|
|
|
101
|
+
# 可创建目录总数超过了上限
|
|
102
|
+
LIMITEXCEEDED_COMPANYDIRECTORYMAXLIMIT = 'LimitExceeded.CompanyDirectoryMaxLimit'
|
|
103
|
+
|
|
95
104
|
# 缺少公共参数。
|
|
96
105
|
MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'
|
|
97
106
|
|
|
@@ -72,6 +72,29 @@ class IoaClient(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def CreateCompanyDirectoryConfig(self, request):
|
|
76
|
+
r"""创建企业目录配置
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for CreateCompanyDirectoryConfig.
|
|
79
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.CreateCompanyDirectoryConfigRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.CreateCompanyDirectoryConfigResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("CreateCompanyDirectoryConfig", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.CreateCompanyDirectoryConfigResponse()
|
|
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
|
+
|
|
75
98
|
def CreateDLPFileDetectTask(self, request):
|
|
76
99
|
r"""创建文件鉴定任务,私有化调用path为:capi/DlpOpenApi/CreateDLPFileDetectTask
|
|
77
100
|
|
|
@@ -187,6 +210,29 @@ class IoaClient(AbstractClient):
|
|
|
187
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
211
|
|
|
189
212
|
|
|
213
|
+
def DeleteDeviceVirtualGroup(self, request):
|
|
214
|
+
r"""删除终端自定义分组,私有化调用path为:/capi/Assets/Device/DeleteDeviceVirtualGroup
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for DeleteDeviceVirtualGroup.
|
|
217
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DeleteDeviceVirtualGroupRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DeleteDeviceVirtualGroupResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("DeleteDeviceVirtualGroup", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.DeleteDeviceVirtualGroupResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
190
236
|
def DescribeAccountGroups(self, request):
|
|
191
237
|
r"""以分页的方式查询账号分组列表,私有化调用path为:/capi/Assets/DescribeAccountGroups
|
|
192
238
|
|
|
@@ -302,6 +348,29 @@ class IoaClient(AbstractClient):
|
|
|
302
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
349
|
|
|
304
350
|
|
|
351
|
+
def DescribeCompanyDirectoryConfig(self, request):
|
|
352
|
+
r"""获取企业目录配置
|
|
353
|
+
|
|
354
|
+
:param request: Request instance for DescribeCompanyDirectoryConfig.
|
|
355
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeCompanyDirectoryConfigRequest`
|
|
356
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeCompanyDirectoryConfigResponse`
|
|
357
|
+
|
|
358
|
+
"""
|
|
359
|
+
try:
|
|
360
|
+
params = request._serialize()
|
|
361
|
+
headers = request.headers
|
|
362
|
+
body = self.call("DescribeCompanyDirectoryConfig", params, headers=headers)
|
|
363
|
+
response = json.loads(body)
|
|
364
|
+
model = models.DescribeCompanyDirectoryConfigResponse()
|
|
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
|
+
|
|
305
374
|
def DescribeDLPEdgeNodeGroups(self, request):
|
|
306
375
|
r"""查询边缘节点分组,私有化调用path为:capi/Connectors/DescribeDLPEdgeNodeGroups
|
|
307
376
|
|
|
@@ -877,6 +946,29 @@ class IoaClient(AbstractClient):
|
|
|
877
946
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
947
|
|
|
879
948
|
|
|
949
|
+
def ModifyCompanyDirectoryConfig(self, request):
|
|
950
|
+
r"""编辑企业目录配置
|
|
951
|
+
|
|
952
|
+
:param request: Request instance for ModifyCompanyDirectoryConfig.
|
|
953
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.ModifyCompanyDirectoryConfigRequest`
|
|
954
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.ModifyCompanyDirectoryConfigResponse`
|
|
955
|
+
|
|
956
|
+
"""
|
|
957
|
+
try:
|
|
958
|
+
params = request._serialize()
|
|
959
|
+
headers = request.headers
|
|
960
|
+
body = self.call("ModifyCompanyDirectoryConfig", params, headers=headers)
|
|
961
|
+
response = json.loads(body)
|
|
962
|
+
model = models.ModifyCompanyDirectoryConfigResponse()
|
|
963
|
+
model._deserialize(response["Response"])
|
|
964
|
+
return model
|
|
965
|
+
except Exception as e:
|
|
966
|
+
if isinstance(e, TencentCloudSDKException):
|
|
967
|
+
raise
|
|
968
|
+
else:
|
|
969
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
970
|
+
|
|
971
|
+
|
|
880
972
|
def ModifyDeviceTrustStatus(self, request):
|
|
881
973
|
r"""给接入设备加黑加白,私有化调用path为:capi/NGN/ModifyDeviceTrustStatus
|
|
882
974
|
|
|
@@ -61,6 +61,24 @@ class IoaClient(AbstractClient):
|
|
|
61
61
|
|
|
62
62
|
return await self.call_and_deserialize(**kwargs)
|
|
63
63
|
|
|
64
|
+
async def CreateCompanyDirectoryConfig(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateCompanyDirectoryConfigRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateCompanyDirectoryConfigResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建企业目录配置
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateCompanyDirectoryConfig"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateCompanyDirectoryConfigResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
64
82
|
async def CreateDLPFileDetectTask(
|
|
65
83
|
self,
|
|
66
84
|
request: models.CreateDLPFileDetectTaskRequest,
|
|
@@ -151,6 +169,24 @@ class IoaClient(AbstractClient):
|
|
|
151
169
|
|
|
152
170
|
return await self.call_and_deserialize(**kwargs)
|
|
153
171
|
|
|
172
|
+
async def DeleteDeviceVirtualGroup(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DeleteDeviceVirtualGroupRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DeleteDeviceVirtualGroupResponse:
|
|
177
|
+
"""
|
|
178
|
+
删除终端自定义分组,私有化调用path为:/capi/Assets/Device/DeleteDeviceVirtualGroup
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DeleteDeviceVirtualGroup"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DeleteDeviceVirtualGroupResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
154
190
|
async def DescribeAccountGroups(
|
|
155
191
|
self,
|
|
156
192
|
request: models.DescribeAccountGroupsRequest,
|
|
@@ -241,6 +277,24 @@ class IoaClient(AbstractClient):
|
|
|
241
277
|
|
|
242
278
|
return await self.call_and_deserialize(**kwargs)
|
|
243
279
|
|
|
280
|
+
async def DescribeCompanyDirectoryConfig(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeCompanyDirectoryConfigRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeCompanyDirectoryConfigResponse:
|
|
285
|
+
"""
|
|
286
|
+
获取企业目录配置
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeCompanyDirectoryConfig"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeCompanyDirectoryConfigResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
244
298
|
async def DescribeDLPEdgeNodeGroups(
|
|
245
299
|
self,
|
|
246
300
|
request: models.DescribeDLPEdgeNodeGroupsRequest,
|
|
@@ -691,6 +745,24 @@ class IoaClient(AbstractClient):
|
|
|
691
745
|
|
|
692
746
|
return await self.call_and_deserialize(**kwargs)
|
|
693
747
|
|
|
748
|
+
async def ModifyCompanyDirectoryConfig(
|
|
749
|
+
self,
|
|
750
|
+
request: models.ModifyCompanyDirectoryConfigRequest,
|
|
751
|
+
opts: Dict = None,
|
|
752
|
+
) -> models.ModifyCompanyDirectoryConfigResponse:
|
|
753
|
+
"""
|
|
754
|
+
编辑企业目录配置
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
kwargs = {}
|
|
758
|
+
kwargs["action"] = "ModifyCompanyDirectoryConfig"
|
|
759
|
+
kwargs["params"] = request._serialize()
|
|
760
|
+
kwargs["resp_cls"] = models.ModifyCompanyDirectoryConfigResponse
|
|
761
|
+
kwargs["headers"] = request.headers
|
|
762
|
+
kwargs["opts"] = opts or {}
|
|
763
|
+
|
|
764
|
+
return await self.call_and_deserialize(**kwargs)
|
|
765
|
+
|
|
694
766
|
async def ModifyDeviceTrustStatus(
|
|
695
767
|
self,
|
|
696
768
|
request: models.ModifyDeviceTrustStatusRequest,
|