tencentcloud-sdk-python-ioa 3.1.169__tar.gz → 3.1.181__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.169 → tencentcloud_sdk_python_ioa-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/v20220601/ioa_client.py +115 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/v20220601/ioa_client_async.py +90 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/v20220601/models.py +2640 -400
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ioa-3.1.181/tencentcloud_sdk_python_ioa.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ioa-3.1.169/tencentcloud_sdk_python_ioa.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud/ioa/v20220601/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.169 → tencentcloud_sdk_python_ioa-3.1.181}/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.181
|
|
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.181
|
|
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.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ioa SDK for Python',
|
|
@@ -20,6 +20,9 @@ FAILEDOPERATION_QUERYDATA = 'FailedOperation.QueryData'
|
|
|
20
20
|
# RPC服务调用失败。
|
|
21
21
|
FAILEDOPERATION_RPCSERVICECALLFAILED = 'FailedOperation.RPCServiceCallFailed'
|
|
22
22
|
|
|
23
|
+
# 操作中出现非预期的错误
|
|
24
|
+
FAILEDOPERATION_UNEXPECTEDERROR = 'FailedOperation.UnexpectedError'
|
|
25
|
+
|
|
23
26
|
# 内部错误。
|
|
24
27
|
INTERNALERROR = 'InternalError'
|
|
25
28
|
|
|
@@ -131,6 +134,9 @@ MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'
|
|
|
131
134
|
# 内置目录,禁止删除
|
|
132
135
|
OPERATIONDENIED_DIRECTORYDELETENOTALLOWED = 'OperationDenied.DirectoryDeleteNotAllowed'
|
|
133
136
|
|
|
137
|
+
# 操作被拒绝,无管理员权限。
|
|
138
|
+
OPERATIONDENIED_NOADMINISTRATORPRIVILEGE = 'OperationDenied.NoAdministratorPrivilege'
|
|
139
|
+
|
|
134
140
|
# 终端导出任务同一时间仅允许一个,请稍后再试。
|
|
135
141
|
REQUESTLIMITEXCEEDED_DEVICEDOWNLOADTASK = 'RequestLimitExceeded.DeviceDownloadTask'
|
|
136
142
|
|
|
@@ -161,6 +167,9 @@ UNAUTHORIZEDOPERATION_NOMODULEPERMISSIONS = 'UnauthorizedOperation.NoModulePermi
|
|
|
161
167
|
# 没有业务资源权限。
|
|
162
168
|
UNAUTHORIZEDOPERATION_NORESOURCEPERMISSIONS = 'UnauthorizedOperation.NoResourcePermissions'
|
|
163
169
|
|
|
170
|
+
# 当前业务资源无权限。
|
|
171
|
+
UNAUTHORIZEDOPERATION_NORESOURCEPERMISSIONSD = 'UnauthorizedOperation.NoResourcePermissionsd'
|
|
172
|
+
|
|
164
173
|
# 未授权的操作。
|
|
165
174
|
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
|
|
166
175
|
|
|
@@ -49,6 +49,29 @@ class IoaClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def BindVirtualAccounts(self, request):
|
|
53
|
+
r"""关联账户到虚拟组上,支持批量,私有化调用path为:capi/Assets/BindVirtualAccount,从7.x版本开始支持
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for BindVirtualAccounts.
|
|
56
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.BindVirtualAccountsRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.BindVirtualAccountsResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("BindVirtualAccounts", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.BindVirtualAccountsResponse()
|
|
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
|
+
|
|
52
75
|
def CreateBusinessResource(self, request):
|
|
53
76
|
r"""创建业务资源,会对一些必填参数进行校验和参数合法性校验,创建业务资源时,先调用下校验相同业务资源接口,看资源是不是有冲突。创建时也会做校验,但没有返回对应的异常信息,私有化调用path为:capi/GatewayResource/CreateBusinessResource
|
|
54
77
|
|
|
@@ -603,6 +626,29 @@ class IoaClient(AbstractClient):
|
|
|
603
626
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
604
627
|
|
|
605
628
|
|
|
629
|
+
def DescribeDeviceSecurityInfo(self, request):
|
|
630
|
+
r"""查询指定终端的病毒库版本、漏洞库版本、系统修复引擎版本、防火墙状态和实时防护状态
|
|
631
|
+
|
|
632
|
+
:param request: Request instance for DescribeDeviceSecurityInfo.
|
|
633
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceSecurityInfoRequest`
|
|
634
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceSecurityInfoResponse`
|
|
635
|
+
|
|
636
|
+
"""
|
|
637
|
+
try:
|
|
638
|
+
params = request._serialize()
|
|
639
|
+
headers = request.headers
|
|
640
|
+
body = self.call("DescribeDeviceSecurityInfo", params, headers=headers)
|
|
641
|
+
response = json.loads(body)
|
|
642
|
+
model = models.DescribeDeviceSecurityInfoResponse()
|
|
643
|
+
model._deserialize(response["Response"])
|
|
644
|
+
return model
|
|
645
|
+
except Exception as e:
|
|
646
|
+
if isinstance(e, TencentCloudSDKException):
|
|
647
|
+
raise
|
|
648
|
+
else:
|
|
649
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
650
|
+
|
|
651
|
+
|
|
606
652
|
def DescribeDeviceVirtualGroups(self, request):
|
|
607
653
|
r"""查询终端自定义分组列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceVirtualGroups
|
|
608
654
|
|
|
@@ -695,6 +741,29 @@ class IoaClient(AbstractClient):
|
|
|
695
741
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
696
742
|
|
|
697
743
|
|
|
744
|
+
def DescribeProfileFieldsMenu(self, request):
|
|
745
|
+
r"""查询终端描述字段数据,私有化调用path为:capi/Assets/Device/DescribeProfileFieldsMenu
|
|
746
|
+
|
|
747
|
+
:param request: Request instance for DescribeProfileFieldsMenu.
|
|
748
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeProfileFieldsMenuRequest`
|
|
749
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeProfileFieldsMenuResponse`
|
|
750
|
+
|
|
751
|
+
"""
|
|
752
|
+
try:
|
|
753
|
+
params = request._serialize()
|
|
754
|
+
headers = request.headers
|
|
755
|
+
body = self.call("DescribeProfileFieldsMenu", params, headers=headers)
|
|
756
|
+
response = json.loads(body)
|
|
757
|
+
model = models.DescribeProfileFieldsMenuResponse()
|
|
758
|
+
model._deserialize(response["Response"])
|
|
759
|
+
return model
|
|
760
|
+
except Exception as e:
|
|
761
|
+
if isinstance(e, TencentCloudSDKException):
|
|
762
|
+
raise
|
|
763
|
+
else:
|
|
764
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
765
|
+
|
|
766
|
+
|
|
698
767
|
def DescribeResourceGrantedAccountGroups(self, request):
|
|
699
768
|
r"""列表账户组直接关联的资源,私有化调用path为:capi/NGN/DescribeResourceGrantedAccounts
|
|
700
769
|
|
|
@@ -833,6 +902,29 @@ class IoaClient(AbstractClient):
|
|
|
833
902
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
834
903
|
|
|
835
904
|
|
|
905
|
+
def DescribeVirtualAccounts(self, request):
|
|
906
|
+
r"""列表虚拟组的账户,私有化调用path为:/capi/Assets/AccountVirtualGroup/DescribeVirtualAccounts,从7.x版本开始支持
|
|
907
|
+
|
|
908
|
+
:param request: Request instance for DescribeVirtualAccounts.
|
|
909
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeVirtualAccountsRequest`
|
|
910
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeVirtualAccountsResponse`
|
|
911
|
+
|
|
912
|
+
"""
|
|
913
|
+
try:
|
|
914
|
+
params = request._serialize()
|
|
915
|
+
headers = request.headers
|
|
916
|
+
body = self.call("DescribeVirtualAccounts", params, headers=headers)
|
|
917
|
+
response = json.loads(body)
|
|
918
|
+
model = models.DescribeVirtualAccountsResponse()
|
|
919
|
+
model._deserialize(response["Response"])
|
|
920
|
+
return model
|
|
921
|
+
except Exception as e:
|
|
922
|
+
if isinstance(e, TencentCloudSDKException):
|
|
923
|
+
raise
|
|
924
|
+
else:
|
|
925
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
926
|
+
|
|
927
|
+
|
|
836
928
|
def DescribeVirtualDevices(self, request):
|
|
837
929
|
r"""展示自定义分组终端列表,私有化调用path为:/capi/Assets/DescribeVirtualDevices
|
|
838
930
|
|
|
@@ -1056,6 +1148,29 @@ class IoaClient(AbstractClient):
|
|
|
1056
1148
|
model = models.ModifyVirtualDeviceGroupsResponse()
|
|
1057
1149
|
model._deserialize(response["Response"])
|
|
1058
1150
|
return model
|
|
1151
|
+
except Exception as e:
|
|
1152
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1153
|
+
raise
|
|
1154
|
+
else:
|
|
1155
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
def UnbindVirtualAccounts(self, request):
|
|
1159
|
+
r"""取消关联账户到虚拟组上,支持批量,私有化调用path为:capi/Assets/UnbindVirtualAccount,从7.x版本开始支持
|
|
1160
|
+
|
|
1161
|
+
:param request: Request instance for UnbindVirtualAccounts.
|
|
1162
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.UnbindVirtualAccountsRequest`
|
|
1163
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.UnbindVirtualAccountsResponse`
|
|
1164
|
+
|
|
1165
|
+
"""
|
|
1166
|
+
try:
|
|
1167
|
+
params = request._serialize()
|
|
1168
|
+
headers = request.headers
|
|
1169
|
+
body = self.call("UnbindVirtualAccounts", params, headers=headers)
|
|
1170
|
+
response = json.loads(body)
|
|
1171
|
+
model = models.UnbindVirtualAccountsResponse()
|
|
1172
|
+
model._deserialize(response["Response"])
|
|
1173
|
+
return model
|
|
1059
1174
|
except Exception as e:
|
|
1060
1175
|
if isinstance(e, TencentCloudSDKException):
|
|
1061
1176
|
raise
|
|
@@ -43,6 +43,24 @@ class IoaClient(AbstractClient):
|
|
|
43
43
|
|
|
44
44
|
return await self.call_and_deserialize(**kwargs)
|
|
45
45
|
|
|
46
|
+
async def BindVirtualAccounts(
|
|
47
|
+
self,
|
|
48
|
+
request: models.BindVirtualAccountsRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.BindVirtualAccountsResponse:
|
|
51
|
+
"""
|
|
52
|
+
关联账户到虚拟组上,支持批量,私有化调用path为:capi/Assets/BindVirtualAccount,从7.x版本开始支持
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "BindVirtualAccounts"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.BindVirtualAccountsResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
46
64
|
async def CreateBusinessResource(
|
|
47
65
|
self,
|
|
48
66
|
request: models.CreateBusinessResourceRequest,
|
|
@@ -477,6 +495,24 @@ class IoaClient(AbstractClient):
|
|
|
477
495
|
|
|
478
496
|
return await self.call_and_deserialize(**kwargs)
|
|
479
497
|
|
|
498
|
+
async def DescribeDeviceSecurityInfo(
|
|
499
|
+
self,
|
|
500
|
+
request: models.DescribeDeviceSecurityInfoRequest,
|
|
501
|
+
opts: Dict = None,
|
|
502
|
+
) -> models.DescribeDeviceSecurityInfoResponse:
|
|
503
|
+
"""
|
|
504
|
+
查询指定终端的病毒库版本、漏洞库版本、系统修复引擎版本、防火墙状态和实时防护状态
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
kwargs = {}
|
|
508
|
+
kwargs["action"] = "DescribeDeviceSecurityInfo"
|
|
509
|
+
kwargs["params"] = request._serialize()
|
|
510
|
+
kwargs["resp_cls"] = models.DescribeDeviceSecurityInfoResponse
|
|
511
|
+
kwargs["headers"] = request.headers
|
|
512
|
+
kwargs["opts"] = opts or {}
|
|
513
|
+
|
|
514
|
+
return await self.call_and_deserialize(**kwargs)
|
|
515
|
+
|
|
480
516
|
async def DescribeDeviceVirtualGroups(
|
|
481
517
|
self,
|
|
482
518
|
request: models.DescribeDeviceVirtualGroupsRequest,
|
|
@@ -549,6 +585,24 @@ class IoaClient(AbstractClient):
|
|
|
549
585
|
|
|
550
586
|
return await self.call_and_deserialize(**kwargs)
|
|
551
587
|
|
|
588
|
+
async def DescribeProfileFieldsMenu(
|
|
589
|
+
self,
|
|
590
|
+
request: models.DescribeProfileFieldsMenuRequest,
|
|
591
|
+
opts: Dict = None,
|
|
592
|
+
) -> models.DescribeProfileFieldsMenuResponse:
|
|
593
|
+
"""
|
|
594
|
+
查询终端描述字段数据,私有化调用path为:capi/Assets/Device/DescribeProfileFieldsMenu
|
|
595
|
+
"""
|
|
596
|
+
|
|
597
|
+
kwargs = {}
|
|
598
|
+
kwargs["action"] = "DescribeProfileFieldsMenu"
|
|
599
|
+
kwargs["params"] = request._serialize()
|
|
600
|
+
kwargs["resp_cls"] = models.DescribeProfileFieldsMenuResponse
|
|
601
|
+
kwargs["headers"] = request.headers
|
|
602
|
+
kwargs["opts"] = opts or {}
|
|
603
|
+
|
|
604
|
+
return await self.call_and_deserialize(**kwargs)
|
|
605
|
+
|
|
552
606
|
async def DescribeResourceGrantedAccountGroups(
|
|
553
607
|
self,
|
|
554
608
|
request: models.DescribeResourceGrantedAccountGroupsRequest,
|
|
@@ -657,6 +711,24 @@ class IoaClient(AbstractClient):
|
|
|
657
711
|
|
|
658
712
|
return await self.call_and_deserialize(**kwargs)
|
|
659
713
|
|
|
714
|
+
async def DescribeVirtualAccounts(
|
|
715
|
+
self,
|
|
716
|
+
request: models.DescribeVirtualAccountsRequest,
|
|
717
|
+
opts: Dict = None,
|
|
718
|
+
) -> models.DescribeVirtualAccountsResponse:
|
|
719
|
+
"""
|
|
720
|
+
列表虚拟组的账户,私有化调用path为:/capi/Assets/AccountVirtualGroup/DescribeVirtualAccounts,从7.x版本开始支持
|
|
721
|
+
"""
|
|
722
|
+
|
|
723
|
+
kwargs = {}
|
|
724
|
+
kwargs["action"] = "DescribeVirtualAccounts"
|
|
725
|
+
kwargs["params"] = request._serialize()
|
|
726
|
+
kwargs["resp_cls"] = models.DescribeVirtualAccountsResponse
|
|
727
|
+
kwargs["headers"] = request.headers
|
|
728
|
+
kwargs["opts"] = opts or {}
|
|
729
|
+
|
|
730
|
+
return await self.call_and_deserialize(**kwargs)
|
|
731
|
+
|
|
660
732
|
async def DescribeVirtualDevices(
|
|
661
733
|
self,
|
|
662
734
|
request: models.DescribeVirtualDevicesRequest,
|
|
@@ -835,4 +907,22 @@ class IoaClient(AbstractClient):
|
|
|
835
907
|
kwargs["headers"] = request.headers
|
|
836
908
|
kwargs["opts"] = opts or {}
|
|
837
909
|
|
|
910
|
+
return await self.call_and_deserialize(**kwargs)
|
|
911
|
+
|
|
912
|
+
async def UnbindVirtualAccounts(
|
|
913
|
+
self,
|
|
914
|
+
request: models.UnbindVirtualAccountsRequest,
|
|
915
|
+
opts: Dict = None,
|
|
916
|
+
) -> models.UnbindVirtualAccountsResponse:
|
|
917
|
+
"""
|
|
918
|
+
取消关联账户到虚拟组上,支持批量,私有化调用path为:capi/Assets/UnbindVirtualAccount,从7.x版本开始支持
|
|
919
|
+
"""
|
|
920
|
+
|
|
921
|
+
kwargs = {}
|
|
922
|
+
kwargs["action"] = "UnbindVirtualAccounts"
|
|
923
|
+
kwargs["params"] = request._serialize()
|
|
924
|
+
kwargs["resp_cls"] = models.UnbindVirtualAccountsResponse
|
|
925
|
+
kwargs["headers"] = request.headers
|
|
926
|
+
kwargs["opts"] = opts or {}
|
|
927
|
+
|
|
838
928
|
return await self.call_and_deserialize(**kwargs)
|