tencentcloud-sdk-python-ioa 3.1.93__tar.gz → 3.1.99__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.99}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/setup.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/v20220601/errorcodes.py +9 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/v20220601/ioa_client.py +69 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/v20220601/ioa_client_async.py +54 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/v20220601/models.py +892 -37
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud_sdk_python_ioa.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ioa-3.1.99/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.99}/README.rst +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud/ioa/v20220601/__init__.py +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud_sdk_python_ioa.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/tencentcloud_sdk_python_ioa.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ioa-3.1.93 → tencentcloud_sdk_python_ioa-3.1.99}/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.99
|
|
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.99
|
|
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.99,<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
|
|
|
@@ -302,6 +325,29 @@ class IoaClient(AbstractClient):
|
|
|
302
325
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
326
|
|
|
304
327
|
|
|
328
|
+
def DescribeCompanyDirectoryConfig(self, request):
|
|
329
|
+
r"""获取企业目录配置
|
|
330
|
+
|
|
331
|
+
:param request: Request instance for DescribeCompanyDirectoryConfig.
|
|
332
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeCompanyDirectoryConfigRequest`
|
|
333
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeCompanyDirectoryConfigResponse`
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
try:
|
|
337
|
+
params = request._serialize()
|
|
338
|
+
headers = request.headers
|
|
339
|
+
body = self.call("DescribeCompanyDirectoryConfig", params, headers=headers)
|
|
340
|
+
response = json.loads(body)
|
|
341
|
+
model = models.DescribeCompanyDirectoryConfigResponse()
|
|
342
|
+
model._deserialize(response["Response"])
|
|
343
|
+
return model
|
|
344
|
+
except Exception as e:
|
|
345
|
+
if isinstance(e, TencentCloudSDKException):
|
|
346
|
+
raise
|
|
347
|
+
else:
|
|
348
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
349
|
+
|
|
350
|
+
|
|
305
351
|
def DescribeDLPEdgeNodeGroups(self, request):
|
|
306
352
|
r"""查询边缘节点分组,私有化调用path为:capi/Connectors/DescribeDLPEdgeNodeGroups
|
|
307
353
|
|
|
@@ -877,6 +923,29 @@ class IoaClient(AbstractClient):
|
|
|
877
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
924
|
|
|
879
925
|
|
|
926
|
+
def ModifyCompanyDirectoryConfig(self, request):
|
|
927
|
+
r"""编辑企业目录配置
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for ModifyCompanyDirectoryConfig.
|
|
930
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.ModifyCompanyDirectoryConfigRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.ModifyCompanyDirectoryConfigResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("ModifyCompanyDirectoryConfig", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.ModifyCompanyDirectoryConfigResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
880
949
|
def ModifyDeviceTrustStatus(self, request):
|
|
881
950
|
r"""给接入设备加黑加白,私有化调用path为:capi/NGN/ModifyDeviceTrustStatus
|
|
882
951
|
|
|
@@ -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,
|
|
@@ -241,6 +259,24 @@ class IoaClient(AbstractClient):
|
|
|
241
259
|
|
|
242
260
|
return await self.call_and_deserialize(**kwargs)
|
|
243
261
|
|
|
262
|
+
async def DescribeCompanyDirectoryConfig(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeCompanyDirectoryConfigRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeCompanyDirectoryConfigResponse:
|
|
267
|
+
"""
|
|
268
|
+
获取企业目录配置
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeCompanyDirectoryConfig"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeCompanyDirectoryConfigResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
244
280
|
async def DescribeDLPEdgeNodeGroups(
|
|
245
281
|
self,
|
|
246
282
|
request: models.DescribeDLPEdgeNodeGroupsRequest,
|
|
@@ -691,6 +727,24 @@ class IoaClient(AbstractClient):
|
|
|
691
727
|
|
|
692
728
|
return await self.call_and_deserialize(**kwargs)
|
|
693
729
|
|
|
730
|
+
async def ModifyCompanyDirectoryConfig(
|
|
731
|
+
self,
|
|
732
|
+
request: models.ModifyCompanyDirectoryConfigRequest,
|
|
733
|
+
opts: Dict = None,
|
|
734
|
+
) -> models.ModifyCompanyDirectoryConfigResponse:
|
|
735
|
+
"""
|
|
736
|
+
编辑企业目录配置
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
kwargs = {}
|
|
740
|
+
kwargs["action"] = "ModifyCompanyDirectoryConfig"
|
|
741
|
+
kwargs["params"] = request._serialize()
|
|
742
|
+
kwargs["resp_cls"] = models.ModifyCompanyDirectoryConfigResponse
|
|
743
|
+
kwargs["headers"] = request.headers
|
|
744
|
+
kwargs["opts"] = opts or {}
|
|
745
|
+
|
|
746
|
+
return await self.call_and_deserialize(**kwargs)
|
|
747
|
+
|
|
694
748
|
async def ModifyDeviceTrustStatus(
|
|
695
749
|
self,
|
|
696
750
|
request: models.ModifyDeviceTrustStatusRequest,
|
|
@@ -1127,6 +1127,222 @@ class CreateBusinessResourceResponse(AbstractModel):
|
|
|
1127
1127
|
self._RequestId = params.get("RequestId")
|
|
1128
1128
|
|
|
1129
1129
|
|
|
1130
|
+
class CreateCompanyDirectoryConfigRequest(AbstractModel):
|
|
1131
|
+
r"""CreateCompanyDirectoryConfig请求参数结构体
|
|
1132
|
+
|
|
1133
|
+
"""
|
|
1134
|
+
|
|
1135
|
+
def __init__(self):
|
|
1136
|
+
r"""
|
|
1137
|
+
:param _Type: <p>企业目录类型</p>
|
|
1138
|
+
:type Type: str
|
|
1139
|
+
:param _Name: <p>企业目录名</p>
|
|
1140
|
+
:type Name: str
|
|
1141
|
+
:param _Config: <p>配置是通过 SM2 加密再 Hex 之后的数据</p>
|
|
1142
|
+
:type Config: str
|
|
1143
|
+
:param _SyncEnable: <p>是否开启定时同步</p>
|
|
1144
|
+
:type SyncEnable: bool
|
|
1145
|
+
:param _SyncPolicy: <p>定时同步的策略,枚举值:支持每4小时(4hours)/每日定时(daily)/每周定时(weekly)</p>
|
|
1146
|
+
:type SyncPolicy: str
|
|
1147
|
+
:param _SyncPolicyParams: <p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
1148
|
+
:type SyncPolicyParams: str
|
|
1149
|
+
:param _CreateAuthConfig: <p>是否同步创建认证源</p>
|
|
1150
|
+
:type CreateAuthConfig: bool
|
|
1151
|
+
:param _DisplayOnLoginPage: <p>是否在登录页展示</p>
|
|
1152
|
+
:type DisplayOnLoginPage: bool
|
|
1153
|
+
:param _Description: <p>描述</p>
|
|
1154
|
+
:type Description: str
|
|
1155
|
+
:param _Scene: <p>使用场景:API 创建,快速上手,普通配置等</p>
|
|
1156
|
+
:type Scene: str
|
|
1157
|
+
"""
|
|
1158
|
+
self._Type = None
|
|
1159
|
+
self._Name = None
|
|
1160
|
+
self._Config = None
|
|
1161
|
+
self._SyncEnable = None
|
|
1162
|
+
self._SyncPolicy = None
|
|
1163
|
+
self._SyncPolicyParams = None
|
|
1164
|
+
self._CreateAuthConfig = None
|
|
1165
|
+
self._DisplayOnLoginPage = None
|
|
1166
|
+
self._Description = None
|
|
1167
|
+
self._Scene = None
|
|
1168
|
+
|
|
1169
|
+
@property
|
|
1170
|
+
def Type(self):
|
|
1171
|
+
r"""<p>企业目录类型</p>
|
|
1172
|
+
:rtype: str
|
|
1173
|
+
"""
|
|
1174
|
+
return self._Type
|
|
1175
|
+
|
|
1176
|
+
@Type.setter
|
|
1177
|
+
def Type(self, Type):
|
|
1178
|
+
self._Type = Type
|
|
1179
|
+
|
|
1180
|
+
@property
|
|
1181
|
+
def Name(self):
|
|
1182
|
+
r"""<p>企业目录名</p>
|
|
1183
|
+
:rtype: str
|
|
1184
|
+
"""
|
|
1185
|
+
return self._Name
|
|
1186
|
+
|
|
1187
|
+
@Name.setter
|
|
1188
|
+
def Name(self, Name):
|
|
1189
|
+
self._Name = Name
|
|
1190
|
+
|
|
1191
|
+
@property
|
|
1192
|
+
def Config(self):
|
|
1193
|
+
r"""<p>配置是通过 SM2 加密再 Hex 之后的数据</p>
|
|
1194
|
+
:rtype: str
|
|
1195
|
+
"""
|
|
1196
|
+
return self._Config
|
|
1197
|
+
|
|
1198
|
+
@Config.setter
|
|
1199
|
+
def Config(self, Config):
|
|
1200
|
+
self._Config = Config
|
|
1201
|
+
|
|
1202
|
+
@property
|
|
1203
|
+
def SyncEnable(self):
|
|
1204
|
+
r"""<p>是否开启定时同步</p>
|
|
1205
|
+
:rtype: bool
|
|
1206
|
+
"""
|
|
1207
|
+
return self._SyncEnable
|
|
1208
|
+
|
|
1209
|
+
@SyncEnable.setter
|
|
1210
|
+
def SyncEnable(self, SyncEnable):
|
|
1211
|
+
self._SyncEnable = SyncEnable
|
|
1212
|
+
|
|
1213
|
+
@property
|
|
1214
|
+
def SyncPolicy(self):
|
|
1215
|
+
r"""<p>定时同步的策略,枚举值:支持每4小时(4hours)/每日定时(daily)/每周定时(weekly)</p>
|
|
1216
|
+
:rtype: str
|
|
1217
|
+
"""
|
|
1218
|
+
return self._SyncPolicy
|
|
1219
|
+
|
|
1220
|
+
@SyncPolicy.setter
|
|
1221
|
+
def SyncPolicy(self, SyncPolicy):
|
|
1222
|
+
self._SyncPolicy = SyncPolicy
|
|
1223
|
+
|
|
1224
|
+
@property
|
|
1225
|
+
def SyncPolicyParams(self):
|
|
1226
|
+
r"""<p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
1227
|
+
:rtype: str
|
|
1228
|
+
"""
|
|
1229
|
+
return self._SyncPolicyParams
|
|
1230
|
+
|
|
1231
|
+
@SyncPolicyParams.setter
|
|
1232
|
+
def SyncPolicyParams(self, SyncPolicyParams):
|
|
1233
|
+
self._SyncPolicyParams = SyncPolicyParams
|
|
1234
|
+
|
|
1235
|
+
@property
|
|
1236
|
+
def CreateAuthConfig(self):
|
|
1237
|
+
r"""<p>是否同步创建认证源</p>
|
|
1238
|
+
:rtype: bool
|
|
1239
|
+
"""
|
|
1240
|
+
return self._CreateAuthConfig
|
|
1241
|
+
|
|
1242
|
+
@CreateAuthConfig.setter
|
|
1243
|
+
def CreateAuthConfig(self, CreateAuthConfig):
|
|
1244
|
+
self._CreateAuthConfig = CreateAuthConfig
|
|
1245
|
+
|
|
1246
|
+
@property
|
|
1247
|
+
def DisplayOnLoginPage(self):
|
|
1248
|
+
r"""<p>是否在登录页展示</p>
|
|
1249
|
+
:rtype: bool
|
|
1250
|
+
"""
|
|
1251
|
+
return self._DisplayOnLoginPage
|
|
1252
|
+
|
|
1253
|
+
@DisplayOnLoginPage.setter
|
|
1254
|
+
def DisplayOnLoginPage(self, DisplayOnLoginPage):
|
|
1255
|
+
self._DisplayOnLoginPage = DisplayOnLoginPage
|
|
1256
|
+
|
|
1257
|
+
@property
|
|
1258
|
+
def Description(self):
|
|
1259
|
+
r"""<p>描述</p>
|
|
1260
|
+
:rtype: str
|
|
1261
|
+
"""
|
|
1262
|
+
return self._Description
|
|
1263
|
+
|
|
1264
|
+
@Description.setter
|
|
1265
|
+
def Description(self, Description):
|
|
1266
|
+
self._Description = Description
|
|
1267
|
+
|
|
1268
|
+
@property
|
|
1269
|
+
def Scene(self):
|
|
1270
|
+
r"""<p>使用场景:API 创建,快速上手,普通配置等</p>
|
|
1271
|
+
:rtype: str
|
|
1272
|
+
"""
|
|
1273
|
+
return self._Scene
|
|
1274
|
+
|
|
1275
|
+
@Scene.setter
|
|
1276
|
+
def Scene(self, Scene):
|
|
1277
|
+
self._Scene = Scene
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
def _deserialize(self, params):
|
|
1281
|
+
self._Type = params.get("Type")
|
|
1282
|
+
self._Name = params.get("Name")
|
|
1283
|
+
self._Config = params.get("Config")
|
|
1284
|
+
self._SyncEnable = params.get("SyncEnable")
|
|
1285
|
+
self._SyncPolicy = params.get("SyncPolicy")
|
|
1286
|
+
self._SyncPolicyParams = params.get("SyncPolicyParams")
|
|
1287
|
+
self._CreateAuthConfig = params.get("CreateAuthConfig")
|
|
1288
|
+
self._DisplayOnLoginPage = params.get("DisplayOnLoginPage")
|
|
1289
|
+
self._Description = params.get("Description")
|
|
1290
|
+
self._Scene = params.get("Scene")
|
|
1291
|
+
memeber_set = set(params.keys())
|
|
1292
|
+
for name, value in vars(self).items():
|
|
1293
|
+
property_name = name[1:]
|
|
1294
|
+
if property_name in memeber_set:
|
|
1295
|
+
memeber_set.remove(property_name)
|
|
1296
|
+
if len(memeber_set) > 0:
|
|
1297
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
class CreateCompanyDirectoryConfigResponse(AbstractModel):
|
|
1302
|
+
r"""CreateCompanyDirectoryConfig返回参数结构体
|
|
1303
|
+
|
|
1304
|
+
"""
|
|
1305
|
+
|
|
1306
|
+
def __init__(self):
|
|
1307
|
+
r"""
|
|
1308
|
+
:param _Data: <p>创建企业目录配置的结果</p>
|
|
1309
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigResultData`
|
|
1310
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1311
|
+
:type RequestId: str
|
|
1312
|
+
"""
|
|
1313
|
+
self._Data = None
|
|
1314
|
+
self._RequestId = None
|
|
1315
|
+
|
|
1316
|
+
@property
|
|
1317
|
+
def Data(self):
|
|
1318
|
+
r"""<p>创建企业目录配置的结果</p>
|
|
1319
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigResultData`
|
|
1320
|
+
"""
|
|
1321
|
+
return self._Data
|
|
1322
|
+
|
|
1323
|
+
@Data.setter
|
|
1324
|
+
def Data(self, Data):
|
|
1325
|
+
self._Data = Data
|
|
1326
|
+
|
|
1327
|
+
@property
|
|
1328
|
+
def RequestId(self):
|
|
1329
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1330
|
+
:rtype: str
|
|
1331
|
+
"""
|
|
1332
|
+
return self._RequestId
|
|
1333
|
+
|
|
1334
|
+
@RequestId.setter
|
|
1335
|
+
def RequestId(self, RequestId):
|
|
1336
|
+
self._RequestId = RequestId
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
def _deserialize(self, params):
|
|
1340
|
+
if params.get("Data") is not None:
|
|
1341
|
+
self._Data = DirectoryConfigResultData()
|
|
1342
|
+
self._Data._deserialize(params.get("Data"))
|
|
1343
|
+
self._RequestId = params.get("RequestId")
|
|
1344
|
+
|
|
1345
|
+
|
|
1130
1346
|
class CreateDLPFileDetectTaskData(AbstractModel):
|
|
1131
1347
|
r"""文件鉴定任务分页数据
|
|
1132
1348
|
|
|
@@ -4515,6 +4731,87 @@ class DescribeBusinessResourcesResponse(AbstractModel):
|
|
|
4515
4731
|
self._RequestId = params.get("RequestId")
|
|
4516
4732
|
|
|
4517
4733
|
|
|
4734
|
+
class DescribeCompanyDirectoryConfigRequest(AbstractModel):
|
|
4735
|
+
r"""DescribeCompanyDirectoryConfig请求参数结构体
|
|
4736
|
+
|
|
4737
|
+
"""
|
|
4738
|
+
|
|
4739
|
+
def __init__(self):
|
|
4740
|
+
r"""
|
|
4741
|
+
:param _Id: <p>企业目录 ID</p>
|
|
4742
|
+
:type Id: int
|
|
4743
|
+
"""
|
|
4744
|
+
self._Id = None
|
|
4745
|
+
|
|
4746
|
+
@property
|
|
4747
|
+
def Id(self):
|
|
4748
|
+
r"""<p>企业目录 ID</p>
|
|
4749
|
+
:rtype: int
|
|
4750
|
+
"""
|
|
4751
|
+
return self._Id
|
|
4752
|
+
|
|
4753
|
+
@Id.setter
|
|
4754
|
+
def Id(self, Id):
|
|
4755
|
+
self._Id = Id
|
|
4756
|
+
|
|
4757
|
+
|
|
4758
|
+
def _deserialize(self, params):
|
|
4759
|
+
self._Id = params.get("Id")
|
|
4760
|
+
memeber_set = set(params.keys())
|
|
4761
|
+
for name, value in vars(self).items():
|
|
4762
|
+
property_name = name[1:]
|
|
4763
|
+
if property_name in memeber_set:
|
|
4764
|
+
memeber_set.remove(property_name)
|
|
4765
|
+
if len(memeber_set) > 0:
|
|
4766
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4767
|
+
|
|
4768
|
+
|
|
4769
|
+
|
|
4770
|
+
class DescribeCompanyDirectoryConfigResponse(AbstractModel):
|
|
4771
|
+
r"""DescribeCompanyDirectoryConfig返回参数结构体
|
|
4772
|
+
|
|
4773
|
+
"""
|
|
4774
|
+
|
|
4775
|
+
def __init__(self):
|
|
4776
|
+
r"""
|
|
4777
|
+
:param _Data: <p>企业目录配置详情</p>
|
|
4778
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigData`
|
|
4779
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4780
|
+
:type RequestId: str
|
|
4781
|
+
"""
|
|
4782
|
+
self._Data = None
|
|
4783
|
+
self._RequestId = None
|
|
4784
|
+
|
|
4785
|
+
@property
|
|
4786
|
+
def Data(self):
|
|
4787
|
+
r"""<p>企业目录配置详情</p>
|
|
4788
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigData`
|
|
4789
|
+
"""
|
|
4790
|
+
return self._Data
|
|
4791
|
+
|
|
4792
|
+
@Data.setter
|
|
4793
|
+
def Data(self, Data):
|
|
4794
|
+
self._Data = Data
|
|
4795
|
+
|
|
4796
|
+
@property
|
|
4797
|
+
def RequestId(self):
|
|
4798
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4799
|
+
:rtype: str
|
|
4800
|
+
"""
|
|
4801
|
+
return self._RequestId
|
|
4802
|
+
|
|
4803
|
+
@RequestId.setter
|
|
4804
|
+
def RequestId(self, RequestId):
|
|
4805
|
+
self._RequestId = RequestId
|
|
4806
|
+
|
|
4807
|
+
|
|
4808
|
+
def _deserialize(self, params):
|
|
4809
|
+
if params.get("Data") is not None:
|
|
4810
|
+
self._Data = DirectoryConfigData()
|
|
4811
|
+
self._Data._deserialize(params.get("Data"))
|
|
4812
|
+
self._RequestId = params.get("RequestId")
|
|
4813
|
+
|
|
4814
|
+
|
|
4518
4815
|
class DescribeDLPEdgeNodeGroupsRequest(AbstractModel):
|
|
4519
4816
|
r"""DescribeDLPEdgeNodeGroups请求参数结构体
|
|
4520
4817
|
|
|
@@ -11051,61 +11348,403 @@ class DeviceVirtualDeviceGroupsDetail(AbstractModel):
|
|
|
11051
11348
|
|
|
11052
11349
|
|
|
11053
11350
|
|
|
11054
|
-
class
|
|
11055
|
-
r"""
|
|
11351
|
+
class DirectoryConfigData(AbstractModel):
|
|
11352
|
+
r"""企业目录的配置数据
|
|
11056
11353
|
|
|
11057
11354
|
"""
|
|
11058
11355
|
|
|
11059
11356
|
def __init__(self):
|
|
11060
11357
|
r"""
|
|
11061
|
-
:param
|
|
11062
|
-
:type
|
|
11063
|
-
:param
|
|
11064
|
-
:type
|
|
11065
|
-
:param
|
|
11066
|
-
:type
|
|
11067
|
-
:param
|
|
11068
|
-
:type
|
|
11069
|
-
:param
|
|
11070
|
-
:type
|
|
11071
|
-
:param
|
|
11072
|
-
:type
|
|
11073
|
-
:param
|
|
11074
|
-
:type
|
|
11358
|
+
:param _Id: <p>企业目录 ID</p>
|
|
11359
|
+
:type Id: int
|
|
11360
|
+
:param _Type: <p>目录对应身份源类型</p><p>枚举值:</p><ul><li>WeCom: 企业微信</li><li>Lark: 飞书</li><li>DingTalk: 钉钉</li><li>MicrosoftEntraID: 微软 AAD</li></ul>
|
|
11361
|
+
:type Type: str
|
|
11362
|
+
:param _Name: <p>企业目录名称</p>
|
|
11363
|
+
:type Name: str
|
|
11364
|
+
:param _Config: <p>使用 JSON 字符串表示的配置信息</p>
|
|
11365
|
+
:type Config: str
|
|
11366
|
+
:param _SyncEnable: <p>是否开启了定时同步</p>
|
|
11367
|
+
:type SyncEnable: bool
|
|
11368
|
+
:param _SyncPolicy: <p>定时同步的策略</p><p>枚举值:</p><ul><li>4hours: 按创建时间开始的每 4 小时</li><li>daily: 每日</li><li>weekly: 每周</li></ul>
|
|
11369
|
+
:type SyncPolicy: str
|
|
11370
|
+
:param _SyncPolicyParams: <p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
11371
|
+
:type SyncPolicyParams: str
|
|
11372
|
+
:param _CreateAuthConfig: <p>是否配置了同步创建认证配置</p>
|
|
11373
|
+
:type CreateAuthConfig: bool
|
|
11374
|
+
:param _Description: <p>描述</p>
|
|
11375
|
+
:type Description: str
|
|
11376
|
+
:param _SourceId: <p>对应 Config 的配置 ID</p>
|
|
11377
|
+
:type SourceId: str
|
|
11378
|
+
:param _DisplayOnLoginPage: <p>是否在登录页展示</p>
|
|
11379
|
+
:type DisplayOnLoginPage: bool
|
|
11075
11380
|
"""
|
|
11076
|
-
self.
|
|
11077
|
-
self.
|
|
11078
|
-
self.
|
|
11079
|
-
self.
|
|
11080
|
-
self.
|
|
11081
|
-
self.
|
|
11082
|
-
self.
|
|
11381
|
+
self._Id = None
|
|
11382
|
+
self._Type = None
|
|
11383
|
+
self._Name = None
|
|
11384
|
+
self._Config = None
|
|
11385
|
+
self._SyncEnable = None
|
|
11386
|
+
self._SyncPolicy = None
|
|
11387
|
+
self._SyncPolicyParams = None
|
|
11388
|
+
self._CreateAuthConfig = None
|
|
11389
|
+
self._Description = None
|
|
11390
|
+
self._SourceId = None
|
|
11391
|
+
self._DisplayOnLoginPage = None
|
|
11083
11392
|
|
|
11084
11393
|
@property
|
|
11085
|
-
def
|
|
11086
|
-
r"""
|
|
11394
|
+
def Id(self):
|
|
11395
|
+
r"""<p>企业目录 ID</p>
|
|
11087
11396
|
:rtype: int
|
|
11088
11397
|
"""
|
|
11089
|
-
return self.
|
|
11398
|
+
return self._Id
|
|
11090
11399
|
|
|
11091
|
-
@
|
|
11092
|
-
def
|
|
11093
|
-
self.
|
|
11400
|
+
@Id.setter
|
|
11401
|
+
def Id(self, Id):
|
|
11402
|
+
self._Id = Id
|
|
11094
11403
|
|
|
11095
11404
|
@property
|
|
11096
|
-
def
|
|
11097
|
-
r"""
|
|
11405
|
+
def Type(self):
|
|
11406
|
+
r"""<p>目录对应身份源类型</p><p>枚举值:</p><ul><li>WeCom: 企业微信</li><li>Lark: 飞书</li><li>DingTalk: 钉钉</li><li>MicrosoftEntraID: 微软 AAD</li></ul>
|
|
11098
11407
|
:rtype: str
|
|
11099
11408
|
"""
|
|
11100
|
-
return self.
|
|
11409
|
+
return self._Type
|
|
11101
11410
|
|
|
11102
|
-
@
|
|
11103
|
-
def
|
|
11104
|
-
self.
|
|
11411
|
+
@Type.setter
|
|
11412
|
+
def Type(self, Type):
|
|
11413
|
+
self._Type = Type
|
|
11105
11414
|
|
|
11106
11415
|
@property
|
|
11107
|
-
def
|
|
11108
|
-
r"""
|
|
11416
|
+
def Name(self):
|
|
11417
|
+
r"""<p>企业目录名称</p>
|
|
11418
|
+
:rtype: str
|
|
11419
|
+
"""
|
|
11420
|
+
return self._Name
|
|
11421
|
+
|
|
11422
|
+
@Name.setter
|
|
11423
|
+
def Name(self, Name):
|
|
11424
|
+
self._Name = Name
|
|
11425
|
+
|
|
11426
|
+
@property
|
|
11427
|
+
def Config(self):
|
|
11428
|
+
r"""<p>使用 JSON 字符串表示的配置信息</p>
|
|
11429
|
+
:rtype: str
|
|
11430
|
+
"""
|
|
11431
|
+
return self._Config
|
|
11432
|
+
|
|
11433
|
+
@Config.setter
|
|
11434
|
+
def Config(self, Config):
|
|
11435
|
+
self._Config = Config
|
|
11436
|
+
|
|
11437
|
+
@property
|
|
11438
|
+
def SyncEnable(self):
|
|
11439
|
+
r"""<p>是否开启了定时同步</p>
|
|
11440
|
+
:rtype: bool
|
|
11441
|
+
"""
|
|
11442
|
+
return self._SyncEnable
|
|
11443
|
+
|
|
11444
|
+
@SyncEnable.setter
|
|
11445
|
+
def SyncEnable(self, SyncEnable):
|
|
11446
|
+
self._SyncEnable = SyncEnable
|
|
11447
|
+
|
|
11448
|
+
@property
|
|
11449
|
+
def SyncPolicy(self):
|
|
11450
|
+
r"""<p>定时同步的策略</p><p>枚举值:</p><ul><li>4hours: 按创建时间开始的每 4 小时</li><li>daily: 每日</li><li>weekly: 每周</li></ul>
|
|
11451
|
+
:rtype: str
|
|
11452
|
+
"""
|
|
11453
|
+
return self._SyncPolicy
|
|
11454
|
+
|
|
11455
|
+
@SyncPolicy.setter
|
|
11456
|
+
def SyncPolicy(self, SyncPolicy):
|
|
11457
|
+
self._SyncPolicy = SyncPolicy
|
|
11458
|
+
|
|
11459
|
+
@property
|
|
11460
|
+
def SyncPolicyParams(self):
|
|
11461
|
+
r"""<p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
11462
|
+
:rtype: str
|
|
11463
|
+
"""
|
|
11464
|
+
return self._SyncPolicyParams
|
|
11465
|
+
|
|
11466
|
+
@SyncPolicyParams.setter
|
|
11467
|
+
def SyncPolicyParams(self, SyncPolicyParams):
|
|
11468
|
+
self._SyncPolicyParams = SyncPolicyParams
|
|
11469
|
+
|
|
11470
|
+
@property
|
|
11471
|
+
def CreateAuthConfig(self):
|
|
11472
|
+
r"""<p>是否配置了同步创建认证配置</p>
|
|
11473
|
+
:rtype: bool
|
|
11474
|
+
"""
|
|
11475
|
+
return self._CreateAuthConfig
|
|
11476
|
+
|
|
11477
|
+
@CreateAuthConfig.setter
|
|
11478
|
+
def CreateAuthConfig(self, CreateAuthConfig):
|
|
11479
|
+
self._CreateAuthConfig = CreateAuthConfig
|
|
11480
|
+
|
|
11481
|
+
@property
|
|
11482
|
+
def Description(self):
|
|
11483
|
+
r"""<p>描述</p>
|
|
11484
|
+
:rtype: str
|
|
11485
|
+
"""
|
|
11486
|
+
return self._Description
|
|
11487
|
+
|
|
11488
|
+
@Description.setter
|
|
11489
|
+
def Description(self, Description):
|
|
11490
|
+
self._Description = Description
|
|
11491
|
+
|
|
11492
|
+
@property
|
|
11493
|
+
def SourceId(self):
|
|
11494
|
+
r"""<p>对应 Config 的配置 ID</p>
|
|
11495
|
+
:rtype: str
|
|
11496
|
+
"""
|
|
11497
|
+
return self._SourceId
|
|
11498
|
+
|
|
11499
|
+
@SourceId.setter
|
|
11500
|
+
def SourceId(self, SourceId):
|
|
11501
|
+
self._SourceId = SourceId
|
|
11502
|
+
|
|
11503
|
+
@property
|
|
11504
|
+
def DisplayOnLoginPage(self):
|
|
11505
|
+
r"""<p>是否在登录页展示</p>
|
|
11506
|
+
:rtype: bool
|
|
11507
|
+
"""
|
|
11508
|
+
return self._DisplayOnLoginPage
|
|
11509
|
+
|
|
11510
|
+
@DisplayOnLoginPage.setter
|
|
11511
|
+
def DisplayOnLoginPage(self, DisplayOnLoginPage):
|
|
11512
|
+
self._DisplayOnLoginPage = DisplayOnLoginPage
|
|
11513
|
+
|
|
11514
|
+
|
|
11515
|
+
def _deserialize(self, params):
|
|
11516
|
+
self._Id = params.get("Id")
|
|
11517
|
+
self._Type = params.get("Type")
|
|
11518
|
+
self._Name = params.get("Name")
|
|
11519
|
+
self._Config = params.get("Config")
|
|
11520
|
+
self._SyncEnable = params.get("SyncEnable")
|
|
11521
|
+
self._SyncPolicy = params.get("SyncPolicy")
|
|
11522
|
+
self._SyncPolicyParams = params.get("SyncPolicyParams")
|
|
11523
|
+
self._CreateAuthConfig = params.get("CreateAuthConfig")
|
|
11524
|
+
self._Description = params.get("Description")
|
|
11525
|
+
self._SourceId = params.get("SourceId")
|
|
11526
|
+
self._DisplayOnLoginPage = params.get("DisplayOnLoginPage")
|
|
11527
|
+
memeber_set = set(params.keys())
|
|
11528
|
+
for name, value in vars(self).items():
|
|
11529
|
+
property_name = name[1:]
|
|
11530
|
+
if property_name in memeber_set:
|
|
11531
|
+
memeber_set.remove(property_name)
|
|
11532
|
+
if len(memeber_set) > 0:
|
|
11533
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11534
|
+
|
|
11535
|
+
|
|
11536
|
+
|
|
11537
|
+
class DirectoryConfigResultData(AbstractModel):
|
|
11538
|
+
r"""创建/编辑企业目录配置之后返回结果数据
|
|
11539
|
+
|
|
11540
|
+
"""
|
|
11541
|
+
|
|
11542
|
+
def __init__(self):
|
|
11543
|
+
r"""
|
|
11544
|
+
:param _Id: <p>企业目录 ID</p>
|
|
11545
|
+
:type Id: int
|
|
11546
|
+
:param _Name: <p>企业目录名称</p>
|
|
11547
|
+
:type Name: str
|
|
11548
|
+
:param _IdentifySourceId: <p>身份源配置 ID</p>
|
|
11549
|
+
:type IdentifySourceId: str
|
|
11550
|
+
:param _CreateAuthConfig: <p>是否同步创建了认证配置</p>
|
|
11551
|
+
:type CreateAuthConfig: bool
|
|
11552
|
+
:param _AuthSourceId: <p>认证源配置 ID</p>
|
|
11553
|
+
:type AuthSourceId: str
|
|
11554
|
+
:param _AuthConfigId: <p>认证配置 ID</p>
|
|
11555
|
+
:type AuthConfigId: int
|
|
11556
|
+
:param _AuthPolicyId: <p>认证策略 ID</p>
|
|
11557
|
+
:type AuthPolicyId: int
|
|
11558
|
+
:param _AuthSupportPlatforms: <p>认证支持的平台, PC 或 Mobile</p>
|
|
11559
|
+
:type AuthSupportPlatforms: list of str
|
|
11560
|
+
:param _AuthMethods: <p>认证方式,授权认证/扫码认证 等</p>
|
|
11561
|
+
:type AuthMethods: list of str
|
|
11562
|
+
"""
|
|
11563
|
+
self._Id = None
|
|
11564
|
+
self._Name = None
|
|
11565
|
+
self._IdentifySourceId = None
|
|
11566
|
+
self._CreateAuthConfig = None
|
|
11567
|
+
self._AuthSourceId = None
|
|
11568
|
+
self._AuthConfigId = None
|
|
11569
|
+
self._AuthPolicyId = None
|
|
11570
|
+
self._AuthSupportPlatforms = None
|
|
11571
|
+
self._AuthMethods = None
|
|
11572
|
+
|
|
11573
|
+
@property
|
|
11574
|
+
def Id(self):
|
|
11575
|
+
r"""<p>企业目录 ID</p>
|
|
11576
|
+
:rtype: int
|
|
11577
|
+
"""
|
|
11578
|
+
return self._Id
|
|
11579
|
+
|
|
11580
|
+
@Id.setter
|
|
11581
|
+
def Id(self, Id):
|
|
11582
|
+
self._Id = Id
|
|
11583
|
+
|
|
11584
|
+
@property
|
|
11585
|
+
def Name(self):
|
|
11586
|
+
r"""<p>企业目录名称</p>
|
|
11587
|
+
:rtype: str
|
|
11588
|
+
"""
|
|
11589
|
+
return self._Name
|
|
11590
|
+
|
|
11591
|
+
@Name.setter
|
|
11592
|
+
def Name(self, Name):
|
|
11593
|
+
self._Name = Name
|
|
11594
|
+
|
|
11595
|
+
@property
|
|
11596
|
+
def IdentifySourceId(self):
|
|
11597
|
+
r"""<p>身份源配置 ID</p>
|
|
11598
|
+
:rtype: str
|
|
11599
|
+
"""
|
|
11600
|
+
return self._IdentifySourceId
|
|
11601
|
+
|
|
11602
|
+
@IdentifySourceId.setter
|
|
11603
|
+
def IdentifySourceId(self, IdentifySourceId):
|
|
11604
|
+
self._IdentifySourceId = IdentifySourceId
|
|
11605
|
+
|
|
11606
|
+
@property
|
|
11607
|
+
def CreateAuthConfig(self):
|
|
11608
|
+
r"""<p>是否同步创建了认证配置</p>
|
|
11609
|
+
:rtype: bool
|
|
11610
|
+
"""
|
|
11611
|
+
return self._CreateAuthConfig
|
|
11612
|
+
|
|
11613
|
+
@CreateAuthConfig.setter
|
|
11614
|
+
def CreateAuthConfig(self, CreateAuthConfig):
|
|
11615
|
+
self._CreateAuthConfig = CreateAuthConfig
|
|
11616
|
+
|
|
11617
|
+
@property
|
|
11618
|
+
def AuthSourceId(self):
|
|
11619
|
+
r"""<p>认证源配置 ID</p>
|
|
11620
|
+
:rtype: str
|
|
11621
|
+
"""
|
|
11622
|
+
return self._AuthSourceId
|
|
11623
|
+
|
|
11624
|
+
@AuthSourceId.setter
|
|
11625
|
+
def AuthSourceId(self, AuthSourceId):
|
|
11626
|
+
self._AuthSourceId = AuthSourceId
|
|
11627
|
+
|
|
11628
|
+
@property
|
|
11629
|
+
def AuthConfigId(self):
|
|
11630
|
+
r"""<p>认证配置 ID</p>
|
|
11631
|
+
:rtype: int
|
|
11632
|
+
"""
|
|
11633
|
+
return self._AuthConfigId
|
|
11634
|
+
|
|
11635
|
+
@AuthConfigId.setter
|
|
11636
|
+
def AuthConfigId(self, AuthConfigId):
|
|
11637
|
+
self._AuthConfigId = AuthConfigId
|
|
11638
|
+
|
|
11639
|
+
@property
|
|
11640
|
+
def AuthPolicyId(self):
|
|
11641
|
+
r"""<p>认证策略 ID</p>
|
|
11642
|
+
:rtype: int
|
|
11643
|
+
"""
|
|
11644
|
+
return self._AuthPolicyId
|
|
11645
|
+
|
|
11646
|
+
@AuthPolicyId.setter
|
|
11647
|
+
def AuthPolicyId(self, AuthPolicyId):
|
|
11648
|
+
self._AuthPolicyId = AuthPolicyId
|
|
11649
|
+
|
|
11650
|
+
@property
|
|
11651
|
+
def AuthSupportPlatforms(self):
|
|
11652
|
+
r"""<p>认证支持的平台, PC 或 Mobile</p>
|
|
11653
|
+
:rtype: list of str
|
|
11654
|
+
"""
|
|
11655
|
+
return self._AuthSupportPlatforms
|
|
11656
|
+
|
|
11657
|
+
@AuthSupportPlatforms.setter
|
|
11658
|
+
def AuthSupportPlatforms(self, AuthSupportPlatforms):
|
|
11659
|
+
self._AuthSupportPlatforms = AuthSupportPlatforms
|
|
11660
|
+
|
|
11661
|
+
@property
|
|
11662
|
+
def AuthMethods(self):
|
|
11663
|
+
r"""<p>认证方式,授权认证/扫码认证 等</p>
|
|
11664
|
+
:rtype: list of str
|
|
11665
|
+
"""
|
|
11666
|
+
return self._AuthMethods
|
|
11667
|
+
|
|
11668
|
+
@AuthMethods.setter
|
|
11669
|
+
def AuthMethods(self, AuthMethods):
|
|
11670
|
+
self._AuthMethods = AuthMethods
|
|
11671
|
+
|
|
11672
|
+
|
|
11673
|
+
def _deserialize(self, params):
|
|
11674
|
+
self._Id = params.get("Id")
|
|
11675
|
+
self._Name = params.get("Name")
|
|
11676
|
+
self._IdentifySourceId = params.get("IdentifySourceId")
|
|
11677
|
+
self._CreateAuthConfig = params.get("CreateAuthConfig")
|
|
11678
|
+
self._AuthSourceId = params.get("AuthSourceId")
|
|
11679
|
+
self._AuthConfigId = params.get("AuthConfigId")
|
|
11680
|
+
self._AuthPolicyId = params.get("AuthPolicyId")
|
|
11681
|
+
self._AuthSupportPlatforms = params.get("AuthSupportPlatforms")
|
|
11682
|
+
self._AuthMethods = params.get("AuthMethods")
|
|
11683
|
+
memeber_set = set(params.keys())
|
|
11684
|
+
for name, value in vars(self).items():
|
|
11685
|
+
property_name = name[1:]
|
|
11686
|
+
if property_name in memeber_set:
|
|
11687
|
+
memeber_set.remove(property_name)
|
|
11688
|
+
if len(memeber_set) > 0:
|
|
11689
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11690
|
+
|
|
11691
|
+
|
|
11692
|
+
|
|
11693
|
+
class ExportDeviceDownloadTaskRequest(AbstractModel):
|
|
11694
|
+
r"""ExportDeviceDownloadTask请求参数结构体
|
|
11695
|
+
|
|
11696
|
+
"""
|
|
11697
|
+
|
|
11698
|
+
def __init__(self):
|
|
11699
|
+
r"""
|
|
11700
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios,-1:全系统(SaaS一体化版本) ; 不传默认为0)(只支持32位)
|
|
11701
|
+
:type OsType: int
|
|
11702
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
11703
|
+
:type DomainInstanceId: str
|
|
11704
|
+
:param _GroupId: 分组id
|
|
11705
|
+
:type GroupId: int
|
|
11706
|
+
:param _OnlineStatus: 在线状态 2 在线 0,1 离线
|
|
11707
|
+
:type OnlineStatus: int
|
|
11708
|
+
:param _ExportOrder: 导出顺序,接口返回的数据字段
|
|
11709
|
+
:type ExportOrder: str
|
|
11710
|
+
:param _ExportType: 导出类型, 0:终端树;7:硬件信息列表导出;
|
|
11711
|
+
:type ExportType: int
|
|
11712
|
+
:param _Condition: 过滤条件。同DescribeDevices接口
|
|
11713
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
11714
|
+
"""
|
|
11715
|
+
self._OsType = None
|
|
11716
|
+
self._DomainInstanceId = None
|
|
11717
|
+
self._GroupId = None
|
|
11718
|
+
self._OnlineStatus = None
|
|
11719
|
+
self._ExportOrder = None
|
|
11720
|
+
self._ExportType = None
|
|
11721
|
+
self._Condition = None
|
|
11722
|
+
|
|
11723
|
+
@property
|
|
11724
|
+
def OsType(self):
|
|
11725
|
+
r"""系统类型(0: win,1:linux,2: mac,4:android,5:ios,-1:全系统(SaaS一体化版本) ; 不传默认为0)(只支持32位)
|
|
11726
|
+
:rtype: int
|
|
11727
|
+
"""
|
|
11728
|
+
return self._OsType
|
|
11729
|
+
|
|
11730
|
+
@OsType.setter
|
|
11731
|
+
def OsType(self, OsType):
|
|
11732
|
+
self._OsType = OsType
|
|
11733
|
+
|
|
11734
|
+
@property
|
|
11735
|
+
def DomainInstanceId(self):
|
|
11736
|
+
r"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
11737
|
+
:rtype: str
|
|
11738
|
+
"""
|
|
11739
|
+
return self._DomainInstanceId
|
|
11740
|
+
|
|
11741
|
+
@DomainInstanceId.setter
|
|
11742
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
11743
|
+
self._DomainInstanceId = DomainInstanceId
|
|
11744
|
+
|
|
11745
|
+
@property
|
|
11746
|
+
def GroupId(self):
|
|
11747
|
+
r"""分组id
|
|
11109
11748
|
:rtype: int
|
|
11110
11749
|
"""
|
|
11111
11750
|
return self._GroupId
|
|
@@ -12862,6 +13501,222 @@ class ModifyBusinessResourceResponse(AbstractModel):
|
|
|
12862
13501
|
self._RequestId = params.get("RequestId")
|
|
12863
13502
|
|
|
12864
13503
|
|
|
13504
|
+
class ModifyCompanyDirectoryConfigRequest(AbstractModel):
|
|
13505
|
+
r"""ModifyCompanyDirectoryConfig请求参数结构体
|
|
13506
|
+
|
|
13507
|
+
"""
|
|
13508
|
+
|
|
13509
|
+
def __init__(self):
|
|
13510
|
+
r"""
|
|
13511
|
+
:param _Type: <p>企业目录类型</p>
|
|
13512
|
+
:type Type: str
|
|
13513
|
+
:param _Name: <p>企业目录名</p>
|
|
13514
|
+
:type Name: str
|
|
13515
|
+
:param _Config: <p>使用 JSON 字符串表示的配置信息</p><p>调用此接口前,需要先调用DescribeCompanyDirectoryConfig获取完整的配置,然后对里面需要更新的配置进行修改,请求的时候必须传完整配置,否则可能导致配置缺失出现错误。如果是脱敏的信息,保持原样的脱敏格式提交,如果和脱敏格式不一致,会认为是新的配置值更新原有配置</p>
|
|
13516
|
+
:type Config: str
|
|
13517
|
+
:param _SyncEnable: <p>是否开启定时同步</p>
|
|
13518
|
+
:type SyncEnable: bool
|
|
13519
|
+
:param _SyncPolicy: <p>定时同步的策略,枚举值:支持每4小时(4hours)/每日定时(daily)/每周定时(weekly)</p>
|
|
13520
|
+
:type SyncPolicy: str
|
|
13521
|
+
:param _SyncPolicyParams: <p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
13522
|
+
:type SyncPolicyParams: str
|
|
13523
|
+
:param _CreateAuthConfig: <p>是否同步创建认证源</p>
|
|
13524
|
+
:type CreateAuthConfig: bool
|
|
13525
|
+
:param _DisplayOnLoginPage: <p>是否在登录页展示</p>
|
|
13526
|
+
:type DisplayOnLoginPage: bool
|
|
13527
|
+
:param _Id: <p>企业目录 ID</p>
|
|
13528
|
+
:type Id: int
|
|
13529
|
+
:param _Description: <p>描述</p>
|
|
13530
|
+
:type Description: str
|
|
13531
|
+
"""
|
|
13532
|
+
self._Type = None
|
|
13533
|
+
self._Name = None
|
|
13534
|
+
self._Config = None
|
|
13535
|
+
self._SyncEnable = None
|
|
13536
|
+
self._SyncPolicy = None
|
|
13537
|
+
self._SyncPolicyParams = None
|
|
13538
|
+
self._CreateAuthConfig = None
|
|
13539
|
+
self._DisplayOnLoginPage = None
|
|
13540
|
+
self._Id = None
|
|
13541
|
+
self._Description = None
|
|
13542
|
+
|
|
13543
|
+
@property
|
|
13544
|
+
def Type(self):
|
|
13545
|
+
r"""<p>企业目录类型</p>
|
|
13546
|
+
:rtype: str
|
|
13547
|
+
"""
|
|
13548
|
+
return self._Type
|
|
13549
|
+
|
|
13550
|
+
@Type.setter
|
|
13551
|
+
def Type(self, Type):
|
|
13552
|
+
self._Type = Type
|
|
13553
|
+
|
|
13554
|
+
@property
|
|
13555
|
+
def Name(self):
|
|
13556
|
+
r"""<p>企业目录名</p>
|
|
13557
|
+
:rtype: str
|
|
13558
|
+
"""
|
|
13559
|
+
return self._Name
|
|
13560
|
+
|
|
13561
|
+
@Name.setter
|
|
13562
|
+
def Name(self, Name):
|
|
13563
|
+
self._Name = Name
|
|
13564
|
+
|
|
13565
|
+
@property
|
|
13566
|
+
def Config(self):
|
|
13567
|
+
r"""<p>使用 JSON 字符串表示的配置信息</p><p>调用此接口前,需要先调用DescribeCompanyDirectoryConfig获取完整的配置,然后对里面需要更新的配置进行修改,请求的时候必须传完整配置,否则可能导致配置缺失出现错误。如果是脱敏的信息,保持原样的脱敏格式提交,如果和脱敏格式不一致,会认为是新的配置值更新原有配置</p>
|
|
13568
|
+
:rtype: str
|
|
13569
|
+
"""
|
|
13570
|
+
return self._Config
|
|
13571
|
+
|
|
13572
|
+
@Config.setter
|
|
13573
|
+
def Config(self, Config):
|
|
13574
|
+
self._Config = Config
|
|
13575
|
+
|
|
13576
|
+
@property
|
|
13577
|
+
def SyncEnable(self):
|
|
13578
|
+
r"""<p>是否开启定时同步</p>
|
|
13579
|
+
:rtype: bool
|
|
13580
|
+
"""
|
|
13581
|
+
return self._SyncEnable
|
|
13582
|
+
|
|
13583
|
+
@SyncEnable.setter
|
|
13584
|
+
def SyncEnable(self, SyncEnable):
|
|
13585
|
+
self._SyncEnable = SyncEnable
|
|
13586
|
+
|
|
13587
|
+
@property
|
|
13588
|
+
def SyncPolicy(self):
|
|
13589
|
+
r"""<p>定时同步的策略,枚举值:支持每4小时(4hours)/每日定时(daily)/每周定时(weekly)</p>
|
|
13590
|
+
:rtype: str
|
|
13591
|
+
"""
|
|
13592
|
+
return self._SyncPolicy
|
|
13593
|
+
|
|
13594
|
+
@SyncPolicy.setter
|
|
13595
|
+
def SyncPolicy(self, SyncPolicy):
|
|
13596
|
+
self._SyncPolicy = SyncPolicy
|
|
13597
|
+
|
|
13598
|
+
@property
|
|
13599
|
+
def SyncPolicyParams(self):
|
|
13600
|
+
r"""<p>JSON 字符串,针对不同类型的同步策略,提取对应不同的值</p>
|
|
13601
|
+
:rtype: str
|
|
13602
|
+
"""
|
|
13603
|
+
return self._SyncPolicyParams
|
|
13604
|
+
|
|
13605
|
+
@SyncPolicyParams.setter
|
|
13606
|
+
def SyncPolicyParams(self, SyncPolicyParams):
|
|
13607
|
+
self._SyncPolicyParams = SyncPolicyParams
|
|
13608
|
+
|
|
13609
|
+
@property
|
|
13610
|
+
def CreateAuthConfig(self):
|
|
13611
|
+
r"""<p>是否同步创建认证源</p>
|
|
13612
|
+
:rtype: bool
|
|
13613
|
+
"""
|
|
13614
|
+
return self._CreateAuthConfig
|
|
13615
|
+
|
|
13616
|
+
@CreateAuthConfig.setter
|
|
13617
|
+
def CreateAuthConfig(self, CreateAuthConfig):
|
|
13618
|
+
self._CreateAuthConfig = CreateAuthConfig
|
|
13619
|
+
|
|
13620
|
+
@property
|
|
13621
|
+
def DisplayOnLoginPage(self):
|
|
13622
|
+
r"""<p>是否在登录页展示</p>
|
|
13623
|
+
:rtype: bool
|
|
13624
|
+
"""
|
|
13625
|
+
return self._DisplayOnLoginPage
|
|
13626
|
+
|
|
13627
|
+
@DisplayOnLoginPage.setter
|
|
13628
|
+
def DisplayOnLoginPage(self, DisplayOnLoginPage):
|
|
13629
|
+
self._DisplayOnLoginPage = DisplayOnLoginPage
|
|
13630
|
+
|
|
13631
|
+
@property
|
|
13632
|
+
def Id(self):
|
|
13633
|
+
r"""<p>企业目录 ID</p>
|
|
13634
|
+
:rtype: int
|
|
13635
|
+
"""
|
|
13636
|
+
return self._Id
|
|
13637
|
+
|
|
13638
|
+
@Id.setter
|
|
13639
|
+
def Id(self, Id):
|
|
13640
|
+
self._Id = Id
|
|
13641
|
+
|
|
13642
|
+
@property
|
|
13643
|
+
def Description(self):
|
|
13644
|
+
r"""<p>描述</p>
|
|
13645
|
+
:rtype: str
|
|
13646
|
+
"""
|
|
13647
|
+
return self._Description
|
|
13648
|
+
|
|
13649
|
+
@Description.setter
|
|
13650
|
+
def Description(self, Description):
|
|
13651
|
+
self._Description = Description
|
|
13652
|
+
|
|
13653
|
+
|
|
13654
|
+
def _deserialize(self, params):
|
|
13655
|
+
self._Type = params.get("Type")
|
|
13656
|
+
self._Name = params.get("Name")
|
|
13657
|
+
self._Config = params.get("Config")
|
|
13658
|
+
self._SyncEnable = params.get("SyncEnable")
|
|
13659
|
+
self._SyncPolicy = params.get("SyncPolicy")
|
|
13660
|
+
self._SyncPolicyParams = params.get("SyncPolicyParams")
|
|
13661
|
+
self._CreateAuthConfig = params.get("CreateAuthConfig")
|
|
13662
|
+
self._DisplayOnLoginPage = params.get("DisplayOnLoginPage")
|
|
13663
|
+
self._Id = params.get("Id")
|
|
13664
|
+
self._Description = params.get("Description")
|
|
13665
|
+
memeber_set = set(params.keys())
|
|
13666
|
+
for name, value in vars(self).items():
|
|
13667
|
+
property_name = name[1:]
|
|
13668
|
+
if property_name in memeber_set:
|
|
13669
|
+
memeber_set.remove(property_name)
|
|
13670
|
+
if len(memeber_set) > 0:
|
|
13671
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13672
|
+
|
|
13673
|
+
|
|
13674
|
+
|
|
13675
|
+
class ModifyCompanyDirectoryConfigResponse(AbstractModel):
|
|
13676
|
+
r"""ModifyCompanyDirectoryConfig返回参数结构体
|
|
13677
|
+
|
|
13678
|
+
"""
|
|
13679
|
+
|
|
13680
|
+
def __init__(self):
|
|
13681
|
+
r"""
|
|
13682
|
+
:param _Data: <p>编辑企业目录配置的结果</p>
|
|
13683
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigResultData`
|
|
13684
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13685
|
+
:type RequestId: str
|
|
13686
|
+
"""
|
|
13687
|
+
self._Data = None
|
|
13688
|
+
self._RequestId = None
|
|
13689
|
+
|
|
13690
|
+
@property
|
|
13691
|
+
def Data(self):
|
|
13692
|
+
r"""<p>编辑企业目录配置的结果</p>
|
|
13693
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DirectoryConfigResultData`
|
|
13694
|
+
"""
|
|
13695
|
+
return self._Data
|
|
13696
|
+
|
|
13697
|
+
@Data.setter
|
|
13698
|
+
def Data(self, Data):
|
|
13699
|
+
self._Data = Data
|
|
13700
|
+
|
|
13701
|
+
@property
|
|
13702
|
+
def RequestId(self):
|
|
13703
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13704
|
+
:rtype: str
|
|
13705
|
+
"""
|
|
13706
|
+
return self._RequestId
|
|
13707
|
+
|
|
13708
|
+
@RequestId.setter
|
|
13709
|
+
def RequestId(self, RequestId):
|
|
13710
|
+
self._RequestId = RequestId
|
|
13711
|
+
|
|
13712
|
+
|
|
13713
|
+
def _deserialize(self, params):
|
|
13714
|
+
if params.get("Data") is not None:
|
|
13715
|
+
self._Data = DirectoryConfigResultData()
|
|
13716
|
+
self._Data._deserialize(params.get("Data"))
|
|
13717
|
+
self._RequestId = params.get("RequestId")
|
|
13718
|
+
|
|
13719
|
+
|
|
12865
13720
|
class ModifyDeviceTrustStatusRequest(AbstractModel):
|
|
12866
13721
|
r"""ModifyDeviceTrustStatus请求参数结构体
|
|
12867
13722
|
|
|
@@ -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.99
|
|
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.99
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.99
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|