tencentcloud-sdk-python 3.0.1395__py2.py3-none-any.whl → 3.0.1397__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/apm/v20210622/models.py +17 -2
- tencentcloud/cbs/v20170312/cbs_client.py +3 -2
- tencentcloud/cbs/v20170312/models.py +14 -10
- tencentcloud/ccc/v20200210/models.py +71 -0
- tencentcloud/cdb/v20170320/models.py +6 -6
- tencentcloud/cdwch/v20200915/models.py +0 -2
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/dbbrain/v20210527/models.py +4 -4
- tencentcloud/emr/v20190103/models.py +314 -4
- tencentcloud/ess/v20201111/ess_client.py +59 -0
- tencentcloud/ess/v20201111/models.py +257 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -0
- tencentcloud/essbasic/v20210526/models.py +2 -0
- tencentcloud/gs/v20191118/gs_client.py +192 -8
- tencentcloud/gs/v20191118/models.py +1001 -48
- tencentcloud/hai/v20230812/errorcodes.py +3 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +447 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +102 -0
- tencentcloud/lighthouse/v20200324/models.py +6 -2
- tencentcloud/lke/v20231130/models.py +527 -2
- tencentcloud/ocr/v20181119/models.py +135 -18
- tencentcloud/ocr/v20181119/ocr_client.py +1 -4
- tencentcloud/sqlserver/v20180328/models.py +47 -2
- tencentcloud/ssl/v20191205/models.py +131 -0
- tencentcloud/tem/v20210701/errorcodes.py +6 -0
- tencentcloud/tem/v20210701/models.py +200 -0
- tencentcloud/tem/v20210701/tem_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +1417 -117
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +109 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/trtc/v20190722/errorcodes.py +24 -0
- tencentcloud/trtc/v20190722/models.py +752 -0
- tencentcloud/trtc/v20190722/trtc_client.py +92 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +4 -0
- tencentcloud/waf/v20180125/models.py +0 -2
- tencentcloud/wedata/v20210820/models.py +1902 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1395.dist-info → tencentcloud_sdk_python-3.0.1397.dist-info}/top_level.txt +0 -0
@@ -86,6 +86,9 @@ INVALIDPARAMETERVALUE_INVALIDORDER = 'InvalidParameterValue.InvalidOrder'
|
|
86
86
|
# 无效的排序字段
|
87
87
|
INVALIDPARAMETERVALUE_INVALIDORDERFIELD = 'InvalidParameterValue.InvalidOrderField'
|
88
88
|
|
89
|
+
# 指定的密码不合规范。
|
90
|
+
INVALIDPARAMETERVALUE_INVALIDPASSWORD = 'InvalidParameterValue.InvalidPassword'
|
91
|
+
|
89
92
|
# 场景ID格式非法
|
90
93
|
INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = 'InvalidParameterValue.InvalidSceneIdMalformed'
|
91
94
|
|
@@ -256,6 +256,29 @@ class HaiClient(AbstractClient):
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
257
|
|
258
258
|
|
259
|
+
def ResetInstancesPassword(self, request):
|
260
|
+
"""本接口 (ResetInstancesPassword) 用于重置实例的用户密码。
|
261
|
+
|
262
|
+
:param request: Request instance for ResetInstancesPassword.
|
263
|
+
:type request: :class:`tencentcloud.hai.v20230812.models.ResetInstancesPasswordRequest`
|
264
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ResetInstancesPasswordResponse`
|
265
|
+
|
266
|
+
"""
|
267
|
+
try:
|
268
|
+
params = request._serialize()
|
269
|
+
headers = request.headers
|
270
|
+
body = self.call("ResetInstancesPassword", params, headers=headers)
|
271
|
+
response = json.loads(body)
|
272
|
+
model = models.ResetInstancesPasswordResponse()
|
273
|
+
model._deserialize(response["Response"])
|
274
|
+
return model
|
275
|
+
except Exception as e:
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
277
|
+
raise
|
278
|
+
else:
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
280
|
+
|
281
|
+
|
259
282
|
def RunInstances(self, request):
|
260
283
|
"""本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
|
261
284
|
|
@@ -2651,6 +2651,115 @@ NO_NEED_SUPPORT表示不需支持;NOT_SUPPORT_YET表示暂未支持;ALREADY_
|
|
2651
2651
|
|
2652
2652
|
|
2653
2653
|
|
2654
|
+
class ResetInstancesPasswordRequest(AbstractModel):
|
2655
|
+
"""ResetInstancesPassword请求参数结构体
|
2656
|
+
|
2657
|
+
"""
|
2658
|
+
|
2659
|
+
def __init__(self):
|
2660
|
+
r"""
|
2661
|
+
:param _InstanceIds: 实例ID列表
|
2662
|
+
:type InstanceIds: list of str
|
2663
|
+
:param _Password: 实例密码必须8-30位,推荐使用12位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]</li><br><li>大写字母:[A-Z]</li><br><li>数字:0-9</li><br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
|
2664
|
+
:type Password: str
|
2665
|
+
:param _DryRun: 默认为False,True代表只验证接口连通性
|
2666
|
+
:type DryRun: bool
|
2667
|
+
"""
|
2668
|
+
self._InstanceIds = None
|
2669
|
+
self._Password = None
|
2670
|
+
self._DryRun = None
|
2671
|
+
|
2672
|
+
@property
|
2673
|
+
def InstanceIds(self):
|
2674
|
+
"""实例ID列表
|
2675
|
+
:rtype: list of str
|
2676
|
+
"""
|
2677
|
+
return self._InstanceIds
|
2678
|
+
|
2679
|
+
@InstanceIds.setter
|
2680
|
+
def InstanceIds(self, InstanceIds):
|
2681
|
+
self._InstanceIds = InstanceIds
|
2682
|
+
|
2683
|
+
@property
|
2684
|
+
def Password(self):
|
2685
|
+
"""实例密码必须8-30位,推荐使用12位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:<br><li>小写字母:[a-z]</li><br><li>大写字母:[A-Z]</li><br><li>数字:0-9</li><br><li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
|
2686
|
+
:rtype: str
|
2687
|
+
"""
|
2688
|
+
return self._Password
|
2689
|
+
|
2690
|
+
@Password.setter
|
2691
|
+
def Password(self, Password):
|
2692
|
+
self._Password = Password
|
2693
|
+
|
2694
|
+
@property
|
2695
|
+
def DryRun(self):
|
2696
|
+
"""默认为False,True代表只验证接口连通性
|
2697
|
+
:rtype: bool
|
2698
|
+
"""
|
2699
|
+
return self._DryRun
|
2700
|
+
|
2701
|
+
@DryRun.setter
|
2702
|
+
def DryRun(self, DryRun):
|
2703
|
+
self._DryRun = DryRun
|
2704
|
+
|
2705
|
+
|
2706
|
+
def _deserialize(self, params):
|
2707
|
+
self._InstanceIds = params.get("InstanceIds")
|
2708
|
+
self._Password = params.get("Password")
|
2709
|
+
self._DryRun = params.get("DryRun")
|
2710
|
+
memeber_set = set(params.keys())
|
2711
|
+
for name, value in vars(self).items():
|
2712
|
+
property_name = name[1:]
|
2713
|
+
if property_name in memeber_set:
|
2714
|
+
memeber_set.remove(property_name)
|
2715
|
+
if len(memeber_set) > 0:
|
2716
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2717
|
+
|
2718
|
+
|
2719
|
+
|
2720
|
+
class ResetInstancesPasswordResponse(AbstractModel):
|
2721
|
+
"""ResetInstancesPassword返回参数结构体
|
2722
|
+
|
2723
|
+
"""
|
2724
|
+
|
2725
|
+
def __init__(self):
|
2726
|
+
r"""
|
2727
|
+
:param _TaskId: task任务id
|
2728
|
+
:type TaskId: int
|
2729
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2730
|
+
:type RequestId: str
|
2731
|
+
"""
|
2732
|
+
self._TaskId = None
|
2733
|
+
self._RequestId = None
|
2734
|
+
|
2735
|
+
@property
|
2736
|
+
def TaskId(self):
|
2737
|
+
"""task任务id
|
2738
|
+
:rtype: int
|
2739
|
+
"""
|
2740
|
+
return self._TaskId
|
2741
|
+
|
2742
|
+
@TaskId.setter
|
2743
|
+
def TaskId(self, TaskId):
|
2744
|
+
self._TaskId = TaskId
|
2745
|
+
|
2746
|
+
@property
|
2747
|
+
def RequestId(self):
|
2748
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2749
|
+
:rtype: str
|
2750
|
+
"""
|
2751
|
+
return self._RequestId
|
2752
|
+
|
2753
|
+
@RequestId.setter
|
2754
|
+
def RequestId(self, RequestId):
|
2755
|
+
self._RequestId = RequestId
|
2756
|
+
|
2757
|
+
|
2758
|
+
def _deserialize(self, params):
|
2759
|
+
self._TaskId = params.get("TaskId")
|
2760
|
+
self._RequestId = params.get("RequestId")
|
2761
|
+
|
2762
|
+
|
2654
2763
|
class RunInstancesRequest(AbstractModel):
|
2655
2764
|
"""RunInstances请求参数结构体
|
2656
2765
|
|
@@ -141,6 +141,29 @@ class IoaClient(AbstractClient):
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
142
|
|
143
143
|
|
144
|
+
def DescribeDeviceHardwareInfoList(self, request):
|
145
|
+
"""查询满足条件的查询终端硬件信息列表,私有化调用path为:/capi/Assets/Device/DescribeDeviceHardwareInfoList
|
146
|
+
|
147
|
+
:param request: Request instance for DescribeDeviceHardwareInfoList.
|
148
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceHardwareInfoListRequest`
|
149
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceHardwareInfoListResponse`
|
150
|
+
|
151
|
+
"""
|
152
|
+
try:
|
153
|
+
params = request._serialize()
|
154
|
+
headers = request.headers
|
155
|
+
body = self.call("DescribeDeviceHardwareInfoList", params, headers=headers)
|
156
|
+
response = json.loads(body)
|
157
|
+
model = models.DescribeDeviceHardwareInfoListResponse()
|
158
|
+
model._deserialize(response["Response"])
|
159
|
+
return model
|
160
|
+
except Exception as e:
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
162
|
+
raise
|
163
|
+
else:
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
165
|
+
|
166
|
+
|
144
167
|
def DescribeDevices(self, request):
|
145
168
|
"""查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
|
146
169
|
|
@@ -1384,6 +1384,453 @@ class DescribeDLPFileDetectResultResponse(AbstractModel):
|
|
1384
1384
|
self._RequestId = params.get("RequestId")
|
1385
1385
|
|
1386
1386
|
|
1387
|
+
class DescribeDeviceHardwareInfoItem(AbstractModel):
|
1388
|
+
"""终端硬件信息列表Item数据
|
1389
|
+
|
1390
|
+
"""
|
1391
|
+
|
1392
|
+
def __init__(self):
|
1393
|
+
r"""
|
1394
|
+
:param _Id: 设备ID
|
1395
|
+
:type Id: int
|
1396
|
+
:param _Mid: 设备唯一标识符
|
1397
|
+
:type Mid: str
|
1398
|
+
:param _OsType: OS平台 0 Windows 1 Linux 2 macOS 4 Android 5 iOS
|
1399
|
+
:type OsType: int
|
1400
|
+
:param _Name: 终端名
|
1401
|
+
:type Name: str
|
1402
|
+
:param _UserName: 终端用户名
|
1403
|
+
:type UserName: str
|
1404
|
+
:param _Status: 授权状态( 4未授权 5已授权)
|
1405
|
+
:type Status: int
|
1406
|
+
:param _GroupId: 设备所属分组ID
|
1407
|
+
:type GroupId: int
|
1408
|
+
:param _GroupName: 设备所属分组名
|
1409
|
+
:type GroupName: str
|
1410
|
+
:param _GroupNamePath: 设备所属分组路径
|
1411
|
+
:type GroupNamePath: str
|
1412
|
+
:param _AccountName: 最近登录账户的姓名
|
1413
|
+
:type AccountName: str
|
1414
|
+
:param _Ip: 出口IP
|
1415
|
+
:type Ip: str
|
1416
|
+
:param _MacAddr: MAC地址
|
1417
|
+
:type MacAddr: str
|
1418
|
+
:param _Cpu: CPU品牌型号
|
1419
|
+
:type Cpu: str
|
1420
|
+
:param _Memory: 内存信息
|
1421
|
+
:type Memory: str
|
1422
|
+
:param _HardDiskSize: 硬盘信息
|
1423
|
+
:type HardDiskSize: str
|
1424
|
+
:param _Monitor: 显示器品牌型号
|
1425
|
+
:type Monitor: str
|
1426
|
+
"""
|
1427
|
+
self._Id = None
|
1428
|
+
self._Mid = None
|
1429
|
+
self._OsType = None
|
1430
|
+
self._Name = None
|
1431
|
+
self._UserName = None
|
1432
|
+
self._Status = None
|
1433
|
+
self._GroupId = None
|
1434
|
+
self._GroupName = None
|
1435
|
+
self._GroupNamePath = None
|
1436
|
+
self._AccountName = None
|
1437
|
+
self._Ip = None
|
1438
|
+
self._MacAddr = None
|
1439
|
+
self._Cpu = None
|
1440
|
+
self._Memory = None
|
1441
|
+
self._HardDiskSize = None
|
1442
|
+
self._Monitor = None
|
1443
|
+
|
1444
|
+
@property
|
1445
|
+
def Id(self):
|
1446
|
+
"""设备ID
|
1447
|
+
:rtype: int
|
1448
|
+
"""
|
1449
|
+
return self._Id
|
1450
|
+
|
1451
|
+
@Id.setter
|
1452
|
+
def Id(self, Id):
|
1453
|
+
self._Id = Id
|
1454
|
+
|
1455
|
+
@property
|
1456
|
+
def Mid(self):
|
1457
|
+
"""设备唯一标识符
|
1458
|
+
:rtype: str
|
1459
|
+
"""
|
1460
|
+
return self._Mid
|
1461
|
+
|
1462
|
+
@Mid.setter
|
1463
|
+
def Mid(self, Mid):
|
1464
|
+
self._Mid = Mid
|
1465
|
+
|
1466
|
+
@property
|
1467
|
+
def OsType(self):
|
1468
|
+
"""OS平台 0 Windows 1 Linux 2 macOS 4 Android 5 iOS
|
1469
|
+
:rtype: int
|
1470
|
+
"""
|
1471
|
+
return self._OsType
|
1472
|
+
|
1473
|
+
@OsType.setter
|
1474
|
+
def OsType(self, OsType):
|
1475
|
+
self._OsType = OsType
|
1476
|
+
|
1477
|
+
@property
|
1478
|
+
def Name(self):
|
1479
|
+
"""终端名
|
1480
|
+
:rtype: str
|
1481
|
+
"""
|
1482
|
+
return self._Name
|
1483
|
+
|
1484
|
+
@Name.setter
|
1485
|
+
def Name(self, Name):
|
1486
|
+
self._Name = Name
|
1487
|
+
|
1488
|
+
@property
|
1489
|
+
def UserName(self):
|
1490
|
+
"""终端用户名
|
1491
|
+
:rtype: str
|
1492
|
+
"""
|
1493
|
+
return self._UserName
|
1494
|
+
|
1495
|
+
@UserName.setter
|
1496
|
+
def UserName(self, UserName):
|
1497
|
+
self._UserName = UserName
|
1498
|
+
|
1499
|
+
@property
|
1500
|
+
def Status(self):
|
1501
|
+
"""授权状态( 4未授权 5已授权)
|
1502
|
+
:rtype: int
|
1503
|
+
"""
|
1504
|
+
return self._Status
|
1505
|
+
|
1506
|
+
@Status.setter
|
1507
|
+
def Status(self, Status):
|
1508
|
+
self._Status = Status
|
1509
|
+
|
1510
|
+
@property
|
1511
|
+
def GroupId(self):
|
1512
|
+
"""设备所属分组ID
|
1513
|
+
:rtype: int
|
1514
|
+
"""
|
1515
|
+
return self._GroupId
|
1516
|
+
|
1517
|
+
@GroupId.setter
|
1518
|
+
def GroupId(self, GroupId):
|
1519
|
+
self._GroupId = GroupId
|
1520
|
+
|
1521
|
+
@property
|
1522
|
+
def GroupName(self):
|
1523
|
+
"""设备所属分组名
|
1524
|
+
:rtype: str
|
1525
|
+
"""
|
1526
|
+
return self._GroupName
|
1527
|
+
|
1528
|
+
@GroupName.setter
|
1529
|
+
def GroupName(self, GroupName):
|
1530
|
+
self._GroupName = GroupName
|
1531
|
+
|
1532
|
+
@property
|
1533
|
+
def GroupNamePath(self):
|
1534
|
+
"""设备所属分组路径
|
1535
|
+
:rtype: str
|
1536
|
+
"""
|
1537
|
+
return self._GroupNamePath
|
1538
|
+
|
1539
|
+
@GroupNamePath.setter
|
1540
|
+
def GroupNamePath(self, GroupNamePath):
|
1541
|
+
self._GroupNamePath = GroupNamePath
|
1542
|
+
|
1543
|
+
@property
|
1544
|
+
def AccountName(self):
|
1545
|
+
"""最近登录账户的姓名
|
1546
|
+
:rtype: str
|
1547
|
+
"""
|
1548
|
+
return self._AccountName
|
1549
|
+
|
1550
|
+
@AccountName.setter
|
1551
|
+
def AccountName(self, AccountName):
|
1552
|
+
self._AccountName = AccountName
|
1553
|
+
|
1554
|
+
@property
|
1555
|
+
def Ip(self):
|
1556
|
+
"""出口IP
|
1557
|
+
:rtype: str
|
1558
|
+
"""
|
1559
|
+
return self._Ip
|
1560
|
+
|
1561
|
+
@Ip.setter
|
1562
|
+
def Ip(self, Ip):
|
1563
|
+
self._Ip = Ip
|
1564
|
+
|
1565
|
+
@property
|
1566
|
+
def MacAddr(self):
|
1567
|
+
"""MAC地址
|
1568
|
+
:rtype: str
|
1569
|
+
"""
|
1570
|
+
return self._MacAddr
|
1571
|
+
|
1572
|
+
@MacAddr.setter
|
1573
|
+
def MacAddr(self, MacAddr):
|
1574
|
+
self._MacAddr = MacAddr
|
1575
|
+
|
1576
|
+
@property
|
1577
|
+
def Cpu(self):
|
1578
|
+
"""CPU品牌型号
|
1579
|
+
:rtype: str
|
1580
|
+
"""
|
1581
|
+
return self._Cpu
|
1582
|
+
|
1583
|
+
@Cpu.setter
|
1584
|
+
def Cpu(self, Cpu):
|
1585
|
+
self._Cpu = Cpu
|
1586
|
+
|
1587
|
+
@property
|
1588
|
+
def Memory(self):
|
1589
|
+
"""内存信息
|
1590
|
+
:rtype: str
|
1591
|
+
"""
|
1592
|
+
return self._Memory
|
1593
|
+
|
1594
|
+
@Memory.setter
|
1595
|
+
def Memory(self, Memory):
|
1596
|
+
self._Memory = Memory
|
1597
|
+
|
1598
|
+
@property
|
1599
|
+
def HardDiskSize(self):
|
1600
|
+
"""硬盘信息
|
1601
|
+
:rtype: str
|
1602
|
+
"""
|
1603
|
+
return self._HardDiskSize
|
1604
|
+
|
1605
|
+
@HardDiskSize.setter
|
1606
|
+
def HardDiskSize(self, HardDiskSize):
|
1607
|
+
self._HardDiskSize = HardDiskSize
|
1608
|
+
|
1609
|
+
@property
|
1610
|
+
def Monitor(self):
|
1611
|
+
"""显示器品牌型号
|
1612
|
+
:rtype: str
|
1613
|
+
"""
|
1614
|
+
return self._Monitor
|
1615
|
+
|
1616
|
+
@Monitor.setter
|
1617
|
+
def Monitor(self, Monitor):
|
1618
|
+
self._Monitor = Monitor
|
1619
|
+
|
1620
|
+
|
1621
|
+
def _deserialize(self, params):
|
1622
|
+
self._Id = params.get("Id")
|
1623
|
+
self._Mid = params.get("Mid")
|
1624
|
+
self._OsType = params.get("OsType")
|
1625
|
+
self._Name = params.get("Name")
|
1626
|
+
self._UserName = params.get("UserName")
|
1627
|
+
self._Status = params.get("Status")
|
1628
|
+
self._GroupId = params.get("GroupId")
|
1629
|
+
self._GroupName = params.get("GroupName")
|
1630
|
+
self._GroupNamePath = params.get("GroupNamePath")
|
1631
|
+
self._AccountName = params.get("AccountName")
|
1632
|
+
self._Ip = params.get("Ip")
|
1633
|
+
self._MacAddr = params.get("MacAddr")
|
1634
|
+
self._Cpu = params.get("Cpu")
|
1635
|
+
self._Memory = params.get("Memory")
|
1636
|
+
self._HardDiskSize = params.get("HardDiskSize")
|
1637
|
+
self._Monitor = params.get("Monitor")
|
1638
|
+
memeber_set = set(params.keys())
|
1639
|
+
for name, value in vars(self).items():
|
1640
|
+
property_name = name[1:]
|
1641
|
+
if property_name in memeber_set:
|
1642
|
+
memeber_set.remove(property_name)
|
1643
|
+
if len(memeber_set) > 0:
|
1644
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1645
|
+
|
1646
|
+
|
1647
|
+
|
1648
|
+
class DescribeDeviceHardwareInfoListRequest(AbstractModel):
|
1649
|
+
"""DescribeDeviceHardwareInfoList请求参数结构体
|
1650
|
+
|
1651
|
+
"""
|
1652
|
+
|
1653
|
+
def __init__(self):
|
1654
|
+
r"""
|
1655
|
+
:param _GroupId: 【必填】设备分组id(需要和OsType匹配),下面是私有化场景下默认id:id-名称-操作系统1 全网终端 Win2 未分组终端 Win30000000 服务器 Win40000101 全网终端 Linux40000102 未分组终端 Linux40000103 服务器 Linux40000201 全网终端 macOS40000202 未分组终端 macOS40000203 服务器 macOS40000401 全网终端 Android40000402 未分组终端 Android40000501 全网终端 iOS40000502 未分组终端 iOSSaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
|
1656
|
+
:type GroupId: int
|
1657
|
+
:param _OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
|
1658
|
+
:type OsType: int
|
1659
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
1660
|
+
:type DomainInstanceId: str
|
1661
|
+
:param _Condition: 过滤条件参数(字段含义请参考接口返回值) - Name, 类型String,支持操作:【eq,like,ilike】,支持排序 - UserName, 类型String,支持操作:【eq,like,ilike】,支持排序 - IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序 - MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序 - Ip, 类型String,支持操作:【eq,like,ilike】,支持排序 ,支持排序分页参数- PageNum 从1开始,小于等于0时使用默认参数- PageSize 最大值5000,最好不超过100
|
1662
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
1663
|
+
"""
|
1664
|
+
self._GroupId = None
|
1665
|
+
self._OsType = None
|
1666
|
+
self._DomainInstanceId = None
|
1667
|
+
self._Condition = None
|
1668
|
+
|
1669
|
+
@property
|
1670
|
+
def GroupId(self):
|
1671
|
+
"""【必填】设备分组id(需要和OsType匹配),下面是私有化场景下默认id:id-名称-操作系统1 全网终端 Win2 未分组终端 Win30000000 服务器 Win40000101 全网终端 Linux40000102 未分组终端 Linux40000103 服务器 Linux40000201 全网终端 macOS40000202 未分组终端 macOS40000203 服务器 macOS40000401 全网终端 Android40000402 未分组终端 Android40000501 全网终端 iOS40000502 未分组终端 iOSSaaS需要调用分组接口DescribeDeviceChildGroups获取对应分组id
|
1672
|
+
:rtype: int
|
1673
|
+
"""
|
1674
|
+
return self._GroupId
|
1675
|
+
|
1676
|
+
@GroupId.setter
|
1677
|
+
def GroupId(self, GroupId):
|
1678
|
+
self._GroupId = GroupId
|
1679
|
+
|
1680
|
+
@property
|
1681
|
+
def OsType(self):
|
1682
|
+
"""【必填】操作系统类型(0: win,1:linux,2: mac,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
|
1683
|
+
:rtype: int
|
1684
|
+
"""
|
1685
|
+
return self._OsType
|
1686
|
+
|
1687
|
+
@OsType.setter
|
1688
|
+
def OsType(self, OsType):
|
1689
|
+
self._OsType = OsType
|
1690
|
+
|
1691
|
+
@property
|
1692
|
+
def DomainInstanceId(self):
|
1693
|
+
"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
1694
|
+
:rtype: str
|
1695
|
+
"""
|
1696
|
+
return self._DomainInstanceId
|
1697
|
+
|
1698
|
+
@DomainInstanceId.setter
|
1699
|
+
def DomainInstanceId(self, DomainInstanceId):
|
1700
|
+
self._DomainInstanceId = DomainInstanceId
|
1701
|
+
|
1702
|
+
@property
|
1703
|
+
def Condition(self):
|
1704
|
+
"""过滤条件参数(字段含义请参考接口返回值) - Name, 类型String,支持操作:【eq,like,ilike】,支持排序 - UserName, 类型String,支持操作:【eq,like,ilike】,支持排序 - IoaUserName,类型String,支持操作:【eq,like,ilike】,支持排序 - MacAddr, 类型String,支持操作:【eq,like,ilike】,支持排序 - Ip, 类型String,支持操作:【eq,like,ilike】,支持排序 ,支持排序分页参数- PageNum 从1开始,小于等于0时使用默认参数- PageSize 最大值5000,最好不超过100
|
1705
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
1706
|
+
"""
|
1707
|
+
return self._Condition
|
1708
|
+
|
1709
|
+
@Condition.setter
|
1710
|
+
def Condition(self, Condition):
|
1711
|
+
self._Condition = Condition
|
1712
|
+
|
1713
|
+
|
1714
|
+
def _deserialize(self, params):
|
1715
|
+
self._GroupId = params.get("GroupId")
|
1716
|
+
self._OsType = params.get("OsType")
|
1717
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
1718
|
+
if params.get("Condition") is not None:
|
1719
|
+
self._Condition = Condition()
|
1720
|
+
self._Condition._deserialize(params.get("Condition"))
|
1721
|
+
memeber_set = set(params.keys())
|
1722
|
+
for name, value in vars(self).items():
|
1723
|
+
property_name = name[1:]
|
1724
|
+
if property_name in memeber_set:
|
1725
|
+
memeber_set.remove(property_name)
|
1726
|
+
if len(memeber_set) > 0:
|
1727
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1728
|
+
|
1729
|
+
|
1730
|
+
|
1731
|
+
class DescribeDeviceHardwareInfoListResponse(AbstractModel):
|
1732
|
+
"""DescribeDeviceHardwareInfoList返回参数结构体
|
1733
|
+
|
1734
|
+
"""
|
1735
|
+
|
1736
|
+
def __init__(self):
|
1737
|
+
r"""
|
1738
|
+
:param _Data: 分页的data数据
|
1739
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceHardwareInfoListRspData`
|
1740
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1741
|
+
:type RequestId: str
|
1742
|
+
"""
|
1743
|
+
self._Data = None
|
1744
|
+
self._RequestId = None
|
1745
|
+
|
1746
|
+
@property
|
1747
|
+
def Data(self):
|
1748
|
+
"""分页的data数据
|
1749
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeDeviceHardwareInfoListRspData`
|
1750
|
+
"""
|
1751
|
+
return self._Data
|
1752
|
+
|
1753
|
+
@Data.setter
|
1754
|
+
def Data(self, Data):
|
1755
|
+
self._Data = Data
|
1756
|
+
|
1757
|
+
@property
|
1758
|
+
def RequestId(self):
|
1759
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1760
|
+
:rtype: str
|
1761
|
+
"""
|
1762
|
+
return self._RequestId
|
1763
|
+
|
1764
|
+
@RequestId.setter
|
1765
|
+
def RequestId(self, RequestId):
|
1766
|
+
self._RequestId = RequestId
|
1767
|
+
|
1768
|
+
|
1769
|
+
def _deserialize(self, params):
|
1770
|
+
if params.get("Data") is not None:
|
1771
|
+
self._Data = DescribeDeviceHardwareInfoListRspData()
|
1772
|
+
self._Data._deserialize(params.get("Data"))
|
1773
|
+
self._RequestId = params.get("RequestId")
|
1774
|
+
|
1775
|
+
|
1776
|
+
class DescribeDeviceHardwareInfoListRspData(AbstractModel):
|
1777
|
+
"""终端硬件信息列表响应详情
|
1778
|
+
|
1779
|
+
"""
|
1780
|
+
|
1781
|
+
def __init__(self):
|
1782
|
+
r"""
|
1783
|
+
:param _Page: 分页数据
|
1784
|
+
:type Page: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
1785
|
+
:param _Items: 终端硬件信息数据数组
|
1786
|
+
:type Items: list of DescribeDeviceHardwareInfoItem
|
1787
|
+
"""
|
1788
|
+
self._Page = None
|
1789
|
+
self._Items = None
|
1790
|
+
|
1791
|
+
@property
|
1792
|
+
def Page(self):
|
1793
|
+
"""分页数据
|
1794
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.Paging`
|
1795
|
+
"""
|
1796
|
+
return self._Page
|
1797
|
+
|
1798
|
+
@Page.setter
|
1799
|
+
def Page(self, Page):
|
1800
|
+
self._Page = Page
|
1801
|
+
|
1802
|
+
@property
|
1803
|
+
def Items(self):
|
1804
|
+
"""终端硬件信息数据数组
|
1805
|
+
:rtype: list of DescribeDeviceHardwareInfoItem
|
1806
|
+
"""
|
1807
|
+
return self._Items
|
1808
|
+
|
1809
|
+
@Items.setter
|
1810
|
+
def Items(self, Items):
|
1811
|
+
self._Items = Items
|
1812
|
+
|
1813
|
+
|
1814
|
+
def _deserialize(self, params):
|
1815
|
+
if params.get("Page") is not None:
|
1816
|
+
self._Page = Paging()
|
1817
|
+
self._Page._deserialize(params.get("Page"))
|
1818
|
+
if params.get("Items") is not None:
|
1819
|
+
self._Items = []
|
1820
|
+
for item in params.get("Items"):
|
1821
|
+
obj = DescribeDeviceHardwareInfoItem()
|
1822
|
+
obj._deserialize(item)
|
1823
|
+
self._Items.append(obj)
|
1824
|
+
memeber_set = set(params.keys())
|
1825
|
+
for name, value in vars(self).items():
|
1826
|
+
property_name = name[1:]
|
1827
|
+
if property_name in memeber_set:
|
1828
|
+
memeber_set.remove(property_name)
|
1829
|
+
if len(memeber_set) > 0:
|
1830
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1831
|
+
|
1832
|
+
|
1833
|
+
|
1387
1834
|
class DescribeDevicesPageRsp(AbstractModel):
|
1388
1835
|
"""分页的data数据
|
1389
1836
|
|
@@ -878,7 +878,7 @@ class IotexplorerClient(AbstractClient):
|
|
878
878
|
|
879
879
|
|
880
880
|
def DeleteProject(self, request):
|
881
|
-
"""
|
881
|
+
"""提供删除某个项目的能力。
|
882
882
|
|
883
883
|
:param request: Request instance for DeleteProject.
|
884
884
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteProjectRequest`
|
@@ -3180,7 +3180,7 @@ class IotexplorerClient(AbstractClient):
|
|
3180
3180
|
|
3181
3181
|
|
3182
3182
|
def ModifyProject(self, request):
|
3183
|
-
"""
|
3183
|
+
"""修改项目。
|
3184
3184
|
|
3185
3185
|
:param request: Request instance for ModifyProject.
|
3186
3186
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.ModifyProjectRequest`
|