tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1479__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +129 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +84 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/dts/v20211206/dts_client.py +8 -8
- tencentcloud/dts/v20211206/errorcodes.py +9 -0
- tencentcloud/dts/v20211206/models.py +259 -104
- tencentcloud/es/v20180416/models.py +150 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +4 -12
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +224 -0
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/monitor/v20180724/models.py +182 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/oceanus/v20190422/models.py +2 -2
- tencentcloud/ocr/v20181119/ocr_client.py +15 -5
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +22 -14
- tencentcloud/tke/v20180525/models.py +116 -4
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1824 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20250806/models.py +71 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/top_level.txt +0 -0
|
@@ -4450,6 +4450,16 @@ class DescribeInstanceLogsRequest(AbstractModel):
|
|
|
4450
4450
|
<li>0, 降序</li>
|
|
4451
4451
|
<li>1, 升序</li>
|
|
4452
4452
|
:type OrderByType: int
|
|
4453
|
+
:param _LogLevels: 日志级别
|
|
4454
|
+
:type LogLevels: list of str
|
|
4455
|
+
:param _NodeIds: 节点ID
|
|
4456
|
+
:type NodeIds: list of str
|
|
4457
|
+
:param _IndexName: 慢日志索引名
|
|
4458
|
+
:type IndexName: str
|
|
4459
|
+
:param _ShardId: 慢日志索引分片
|
|
4460
|
+
:type ShardId: str
|
|
4461
|
+
:param _QueryCost: 慢日志查询耗时
|
|
4462
|
+
:type QueryCost: int
|
|
4453
4463
|
"""
|
|
4454
4464
|
self._InstanceId = None
|
|
4455
4465
|
self._LogType = None
|
|
@@ -4459,6 +4469,11 @@ class DescribeInstanceLogsRequest(AbstractModel):
|
|
|
4459
4469
|
self._Offset = None
|
|
4460
4470
|
self._Limit = None
|
|
4461
4471
|
self._OrderByType = None
|
|
4472
|
+
self._LogLevels = None
|
|
4473
|
+
self._NodeIds = None
|
|
4474
|
+
self._IndexName = None
|
|
4475
|
+
self._ShardId = None
|
|
4476
|
+
self._QueryCost = None
|
|
4462
4477
|
|
|
4463
4478
|
@property
|
|
4464
4479
|
def InstanceId(self):
|
|
@@ -4554,6 +4569,61 @@ class DescribeInstanceLogsRequest(AbstractModel):
|
|
|
4554
4569
|
def OrderByType(self, OrderByType):
|
|
4555
4570
|
self._OrderByType = OrderByType
|
|
4556
4571
|
|
|
4572
|
+
@property
|
|
4573
|
+
def LogLevels(self):
|
|
4574
|
+
r"""日志级别
|
|
4575
|
+
:rtype: list of str
|
|
4576
|
+
"""
|
|
4577
|
+
return self._LogLevels
|
|
4578
|
+
|
|
4579
|
+
@LogLevels.setter
|
|
4580
|
+
def LogLevels(self, LogLevels):
|
|
4581
|
+
self._LogLevels = LogLevels
|
|
4582
|
+
|
|
4583
|
+
@property
|
|
4584
|
+
def NodeIds(self):
|
|
4585
|
+
r"""节点ID
|
|
4586
|
+
:rtype: list of str
|
|
4587
|
+
"""
|
|
4588
|
+
return self._NodeIds
|
|
4589
|
+
|
|
4590
|
+
@NodeIds.setter
|
|
4591
|
+
def NodeIds(self, NodeIds):
|
|
4592
|
+
self._NodeIds = NodeIds
|
|
4593
|
+
|
|
4594
|
+
@property
|
|
4595
|
+
def IndexName(self):
|
|
4596
|
+
r"""慢日志索引名
|
|
4597
|
+
:rtype: str
|
|
4598
|
+
"""
|
|
4599
|
+
return self._IndexName
|
|
4600
|
+
|
|
4601
|
+
@IndexName.setter
|
|
4602
|
+
def IndexName(self, IndexName):
|
|
4603
|
+
self._IndexName = IndexName
|
|
4604
|
+
|
|
4605
|
+
@property
|
|
4606
|
+
def ShardId(self):
|
|
4607
|
+
r"""慢日志索引分片
|
|
4608
|
+
:rtype: str
|
|
4609
|
+
"""
|
|
4610
|
+
return self._ShardId
|
|
4611
|
+
|
|
4612
|
+
@ShardId.setter
|
|
4613
|
+
def ShardId(self, ShardId):
|
|
4614
|
+
self._ShardId = ShardId
|
|
4615
|
+
|
|
4616
|
+
@property
|
|
4617
|
+
def QueryCost(self):
|
|
4618
|
+
r"""慢日志查询耗时
|
|
4619
|
+
:rtype: int
|
|
4620
|
+
"""
|
|
4621
|
+
return self._QueryCost
|
|
4622
|
+
|
|
4623
|
+
@QueryCost.setter
|
|
4624
|
+
def QueryCost(self, QueryCost):
|
|
4625
|
+
self._QueryCost = QueryCost
|
|
4626
|
+
|
|
4557
4627
|
|
|
4558
4628
|
def _deserialize(self, params):
|
|
4559
4629
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -4564,6 +4634,11 @@ class DescribeInstanceLogsRequest(AbstractModel):
|
|
|
4564
4634
|
self._Offset = params.get("Offset")
|
|
4565
4635
|
self._Limit = params.get("Limit")
|
|
4566
4636
|
self._OrderByType = params.get("OrderByType")
|
|
4637
|
+
self._LogLevels = params.get("LogLevels")
|
|
4638
|
+
self._NodeIds = params.get("NodeIds")
|
|
4639
|
+
self._IndexName = params.get("IndexName")
|
|
4640
|
+
self._ShardId = params.get("ShardId")
|
|
4641
|
+
self._QueryCost = params.get("QueryCost")
|
|
4567
4642
|
memeber_set = set(params.keys())
|
|
4568
4643
|
for name, value in vars(self).items():
|
|
4569
4644
|
property_name = name[1:]
|
|
@@ -12431,12 +12506,21 @@ class InstanceLog(AbstractModel):
|
|
|
12431
12506
|
:type Message: str
|
|
12432
12507
|
:param _NodeID: 集群节点ID
|
|
12433
12508
|
:type NodeID: str
|
|
12509
|
+
:param _IndexName: 慢日志索引名
|
|
12510
|
+
:type IndexName: str
|
|
12511
|
+
:param _Shard: 慢日志索引分片
|
|
12512
|
+
:type Shard: str
|
|
12513
|
+
:param _QueryCost: 慢日志索引查询耗时
|
|
12514
|
+
:type QueryCost: str
|
|
12434
12515
|
"""
|
|
12435
12516
|
self._Time = None
|
|
12436
12517
|
self._Level = None
|
|
12437
12518
|
self._Ip = None
|
|
12438
12519
|
self._Message = None
|
|
12439
12520
|
self._NodeID = None
|
|
12521
|
+
self._IndexName = None
|
|
12522
|
+
self._Shard = None
|
|
12523
|
+
self._QueryCost = None
|
|
12440
12524
|
|
|
12441
12525
|
@property
|
|
12442
12526
|
def Time(self):
|
|
@@ -12493,6 +12577,39 @@ class InstanceLog(AbstractModel):
|
|
|
12493
12577
|
def NodeID(self, NodeID):
|
|
12494
12578
|
self._NodeID = NodeID
|
|
12495
12579
|
|
|
12580
|
+
@property
|
|
12581
|
+
def IndexName(self):
|
|
12582
|
+
r"""慢日志索引名
|
|
12583
|
+
:rtype: str
|
|
12584
|
+
"""
|
|
12585
|
+
return self._IndexName
|
|
12586
|
+
|
|
12587
|
+
@IndexName.setter
|
|
12588
|
+
def IndexName(self, IndexName):
|
|
12589
|
+
self._IndexName = IndexName
|
|
12590
|
+
|
|
12591
|
+
@property
|
|
12592
|
+
def Shard(self):
|
|
12593
|
+
r"""慢日志索引分片
|
|
12594
|
+
:rtype: str
|
|
12595
|
+
"""
|
|
12596
|
+
return self._Shard
|
|
12597
|
+
|
|
12598
|
+
@Shard.setter
|
|
12599
|
+
def Shard(self, Shard):
|
|
12600
|
+
self._Shard = Shard
|
|
12601
|
+
|
|
12602
|
+
@property
|
|
12603
|
+
def QueryCost(self):
|
|
12604
|
+
r"""慢日志索引查询耗时
|
|
12605
|
+
:rtype: str
|
|
12606
|
+
"""
|
|
12607
|
+
return self._QueryCost
|
|
12608
|
+
|
|
12609
|
+
@QueryCost.setter
|
|
12610
|
+
def QueryCost(self, QueryCost):
|
|
12611
|
+
self._QueryCost = QueryCost
|
|
12612
|
+
|
|
12496
12613
|
|
|
12497
12614
|
def _deserialize(self, params):
|
|
12498
12615
|
self._Time = params.get("Time")
|
|
@@ -12500,6 +12617,9 @@ class InstanceLog(AbstractModel):
|
|
|
12500
12617
|
self._Ip = params.get("Ip")
|
|
12501
12618
|
self._Message = params.get("Message")
|
|
12502
12619
|
self._NodeID = params.get("NodeID")
|
|
12620
|
+
self._IndexName = params.get("IndexName")
|
|
12621
|
+
self._Shard = params.get("Shard")
|
|
12622
|
+
self._QueryCost = params.get("QueryCost")
|
|
12503
12623
|
memeber_set = set(params.keys())
|
|
12504
12624
|
for name, value in vars(self).items():
|
|
12505
12625
|
property_name = name[1:]
|
|
@@ -17548,6 +17668,10 @@ class ServerlessSpace(AbstractModel):
|
|
|
17548
17668
|
:param _TagList: 空间标签信息
|
|
17549
17669
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17550
17670
|
:type TagList: list of TagInfo
|
|
17671
|
+
:param _EnableMcpAccess: 是否开启mcp服务
|
|
17672
|
+
:type EnableMcpAccess: int
|
|
17673
|
+
:param _McpAccess: mcp的访问地址
|
|
17674
|
+
:type McpAccess: str
|
|
17551
17675
|
"""
|
|
17552
17676
|
self._SpaceId = None
|
|
17553
17677
|
self._SpaceName = None
|
|
@@ -17569,6 +17693,8 @@ class ServerlessSpace(AbstractModel):
|
|
|
17569
17693
|
self._KibanaLanguage = None
|
|
17570
17694
|
self._ClusterType = None
|
|
17571
17695
|
self._TagList = None
|
|
17696
|
+
self._EnableMcpAccess = None
|
|
17697
|
+
self._McpAccess = None
|
|
17572
17698
|
|
|
17573
17699
|
@property
|
|
17574
17700
|
def SpaceId(self):
|
|
@@ -17805,6 +17931,28 @@ class ServerlessSpace(AbstractModel):
|
|
|
17805
17931
|
def TagList(self, TagList):
|
|
17806
17932
|
self._TagList = TagList
|
|
17807
17933
|
|
|
17934
|
+
@property
|
|
17935
|
+
def EnableMcpAccess(self):
|
|
17936
|
+
r"""是否开启mcp服务
|
|
17937
|
+
:rtype: int
|
|
17938
|
+
"""
|
|
17939
|
+
return self._EnableMcpAccess
|
|
17940
|
+
|
|
17941
|
+
@EnableMcpAccess.setter
|
|
17942
|
+
def EnableMcpAccess(self, EnableMcpAccess):
|
|
17943
|
+
self._EnableMcpAccess = EnableMcpAccess
|
|
17944
|
+
|
|
17945
|
+
@property
|
|
17946
|
+
def McpAccess(self):
|
|
17947
|
+
r"""mcp的访问地址
|
|
17948
|
+
:rtype: str
|
|
17949
|
+
"""
|
|
17950
|
+
return self._McpAccess
|
|
17951
|
+
|
|
17952
|
+
@McpAccess.setter
|
|
17953
|
+
def McpAccess(self, McpAccess):
|
|
17954
|
+
self._McpAccess = McpAccess
|
|
17955
|
+
|
|
17808
17956
|
|
|
17809
17957
|
def _deserialize(self, params):
|
|
17810
17958
|
self._SpaceId = params.get("SpaceId")
|
|
@@ -17841,6 +17989,8 @@ class ServerlessSpace(AbstractModel):
|
|
|
17841
17989
|
obj = TagInfo()
|
|
17842
17990
|
obj._deserialize(item)
|
|
17843
17991
|
self._TagList.append(obj)
|
|
17992
|
+
self._EnableMcpAccess = params.get("EnableMcpAccess")
|
|
17993
|
+
self._McpAccess = params.get("McpAccess")
|
|
17844
17994
|
memeber_set = set(params.keys())
|
|
17845
17995
|
for name, value in vars(self).items():
|
|
17846
17996
|
property_name = name[1:]
|
|
@@ -2856,10 +2856,10 @@ class EssbasicClient(AbstractClient):
|
|
|
2856
2856
|
|
|
2857
2857
|
|
|
2858
2858
|
def DescribeUserFlowType(self, request):
|
|
2859
|
-
r"""
|
|
2859
|
+
r"""查询用户模板类型,分为两种模式:
|
|
2860
2860
|
<ul>
|
|
2861
|
-
<li>QueryBindTemplate:false
|
|
2862
|
-
<li>QueryBindTemplate:false
|
|
2861
|
+
<li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息</li>
|
|
2862
|
+
<li>QueryBindTemplate:false,查询用户合同模板类型,返回用户合同模板类型ID,用户合同模板类型名称,用户合同模板类型描述信息,被绑定的模板数量</li>
|
|
2863
2863
|
</ul>
|
|
2864
2864
|
|
|
2865
2865
|
:param request: Request instance for DescribeUserFlowType.
|
|
@@ -21135,13 +21135,9 @@ class DescribeUserFlowTypeRequest(AbstractModel):
|
|
|
21135
21135
|
r"""
|
|
21136
21136
|
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。 此接口下面信息必填。 <ul> <li>渠道应用标识: Agent.AppId</li> <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li> <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li> </ul> 第三方平台子客企业和员工必须已经经过实名认证
|
|
21137
21137
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
21138
|
-
:param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong
|
|
21138
|
+
:param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模板类型id列表。</li></ul>
|
|
21139
21139
|
:type Filters: list of Filter
|
|
21140
|
-
:param _QueryBindTemplate:
|
|
21141
|
-
<ul>
|
|
21142
|
-
<li>false(默认值),查询用户合同类型</li>
|
|
21143
|
-
<li>true,查询绑定了模版的用户合同类型</li>
|
|
21144
|
-
</ul>
|
|
21140
|
+
:param _QueryBindTemplate: 查询绑定了模板的用户合同类型<ul><li>false(默认值),查询用户合同类型</li><li>true,查询绑定了模板的用户合同类型</li></ul>
|
|
21145
21141
|
:type QueryBindTemplate: bool
|
|
21146
21142
|
"""
|
|
21147
21143
|
self._Agent = None
|
|
@@ -21161,7 +21157,7 @@ class DescribeUserFlowTypeRequest(AbstractModel):
|
|
|
21161
21157
|
|
|
21162
21158
|
@property
|
|
21163
21159
|
def Filters(self):
|
|
21164
|
-
r"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong
|
|
21160
|
+
r"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模板类型id列表。</li></ul>
|
|
21165
21161
|
:rtype: list of Filter
|
|
21166
21162
|
"""
|
|
21167
21163
|
return self._Filters
|
|
@@ -21172,11 +21168,7 @@ class DescribeUserFlowTypeRequest(AbstractModel):
|
|
|
21172
21168
|
|
|
21173
21169
|
@property
|
|
21174
21170
|
def QueryBindTemplate(self):
|
|
21175
|
-
r"""
|
|
21176
|
-
<ul>
|
|
21177
|
-
<li>false(默认值),查询用户合同类型</li>
|
|
21178
|
-
<li>true,查询绑定了模版的用户合同类型</li>
|
|
21179
|
-
</ul>
|
|
21171
|
+
r"""查询绑定了模板的用户合同类型<ul><li>false(默认值),查询用户合同类型</li><li>true,查询绑定了模板的用户合同类型</li></ul>
|
|
21180
21172
|
:rtype: bool
|
|
21181
21173
|
"""
|
|
21182
21174
|
return self._QueryBindTemplate
|
|
@@ -18319,7 +18319,7 @@ class RuleInfo(AbstractModel):
|
|
|
18319
18319
|
:param _RealServerSet: 已绑定的源站相关信息
|
|
18320
18320
|
:type RealServerSet: list of BindRealServer
|
|
18321
18321
|
:param _BindStatus: 源站的服务状态,0表示异常,1表示正常。
|
|
18322
|
-
|
|
18322
|
+
未开启健康检查时,该状态始终为正常。
|
|
18323
18323
|
只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
|
|
18324
18324
|
:type BindStatus: int
|
|
18325
18325
|
:param _ForwardHost: 通道转发到源站的请求所携带的host,其中default表示直接转发接收到的host。
|
|
@@ -18333,6 +18333,8 @@ class RuleInfo(AbstractModel):
|
|
|
18333
18333
|
:param _ForcedRedirect: 强转HTTPS指示,当传递值为https:时表示强转为https
|
|
18334
18334
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18335
18335
|
:type ForcedRedirect: str
|
|
18336
|
+
:param _ForwardProtocol: 七层转发规则的回源协议类型
|
|
18337
|
+
:type ForwardProtocol: str
|
|
18336
18338
|
"""
|
|
18337
18339
|
self._RuleId = None
|
|
18338
18340
|
self._ListenerId = None
|
|
@@ -18349,6 +18351,7 @@ class RuleInfo(AbstractModel):
|
|
|
18349
18351
|
self._ServerNameIndicationSwitch = None
|
|
18350
18352
|
self._ServerNameIndication = None
|
|
18351
18353
|
self._ForcedRedirect = None
|
|
18354
|
+
self._ForwardProtocol = None
|
|
18352
18355
|
|
|
18353
18356
|
@property
|
|
18354
18357
|
def RuleId(self):
|
|
@@ -18463,7 +18466,7 @@ class RuleInfo(AbstractModel):
|
|
|
18463
18466
|
@property
|
|
18464
18467
|
def BindStatus(self):
|
|
18465
18468
|
r"""源站的服务状态,0表示异常,1表示正常。
|
|
18466
|
-
|
|
18469
|
+
未开启健康检查时,该状态始终为正常。
|
|
18467
18470
|
只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
|
|
18468
18471
|
:rtype: int
|
|
18469
18472
|
"""
|
|
@@ -18520,6 +18523,17 @@ class RuleInfo(AbstractModel):
|
|
|
18520
18523
|
def ForcedRedirect(self, ForcedRedirect):
|
|
18521
18524
|
self._ForcedRedirect = ForcedRedirect
|
|
18522
18525
|
|
|
18526
|
+
@property
|
|
18527
|
+
def ForwardProtocol(self):
|
|
18528
|
+
r"""七层转发规则的回源协议类型
|
|
18529
|
+
:rtype: str
|
|
18530
|
+
"""
|
|
18531
|
+
return self._ForwardProtocol
|
|
18532
|
+
|
|
18533
|
+
@ForwardProtocol.setter
|
|
18534
|
+
def ForwardProtocol(self, ForwardProtocol):
|
|
18535
|
+
self._ForwardProtocol = ForwardProtocol
|
|
18536
|
+
|
|
18523
18537
|
|
|
18524
18538
|
def _deserialize(self, params):
|
|
18525
18539
|
self._RuleId = params.get("RuleId")
|
|
@@ -18544,6 +18558,7 @@ class RuleInfo(AbstractModel):
|
|
|
18544
18558
|
self._ServerNameIndicationSwitch = params.get("ServerNameIndicationSwitch")
|
|
18545
18559
|
self._ServerNameIndication = params.get("ServerNameIndication")
|
|
18546
18560
|
self._ForcedRedirect = params.get("ForcedRedirect")
|
|
18561
|
+
self._ForwardProtocol = params.get("ForwardProtocol")
|
|
18547
18562
|
memeber_set = set(params.keys())
|
|
18548
18563
|
for name, value in vars(self).items():
|
|
18549
18564
|
property_name = name[1:]
|
|
@@ -59,6 +59,9 @@ INVALIDPARAMETERVALUE_VIRTUALDEVICEGROUPNOTFOUND = 'InvalidParameterValue.Virtua
|
|
|
59
59
|
# 缺少公共参数。
|
|
60
60
|
MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'
|
|
61
61
|
|
|
62
|
+
# 终端导出任务同一时间仅允许一个,请稍后再试。
|
|
63
|
+
REQUESTLIMITEXCEEDED_DEVICEDOWNLOADTASK = 'RequestLimitExceeded.DeviceDownloadTask'
|
|
64
|
+
|
|
62
65
|
# 上次操作还未完成,请稍后重试。
|
|
63
66
|
REQUESTLIMITEXCEEDED_WAITFORTHELASTOPERATIONTOCOMPLETE = 'RequestLimitExceeded.WaitForTheLastOperationToComplete'
|
|
64
67
|
|
|
@@ -578,6 +578,29 @@ class IoaClient(AbstractClient):
|
|
|
578
578
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
579
579
|
|
|
580
580
|
|
|
581
|
+
def ExportDeviceDownloadTask(self, request):
|
|
582
|
+
r"""创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
|
|
583
|
+
|
|
584
|
+
:param request: Request instance for ExportDeviceDownloadTask.
|
|
585
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.ExportDeviceDownloadTaskRequest`
|
|
586
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.ExportDeviceDownloadTaskResponse`
|
|
587
|
+
|
|
588
|
+
"""
|
|
589
|
+
try:
|
|
590
|
+
params = request._serialize()
|
|
591
|
+
headers = request.headers
|
|
592
|
+
body = self.call("ExportDeviceDownloadTask", params, headers=headers)
|
|
593
|
+
response = json.loads(body)
|
|
594
|
+
model = models.ExportDeviceDownloadTaskResponse()
|
|
595
|
+
model._deserialize(response["Response"])
|
|
596
|
+
return model
|
|
597
|
+
except Exception as e:
|
|
598
|
+
if isinstance(e, TencentCloudSDKException):
|
|
599
|
+
raise
|
|
600
|
+
else:
|
|
601
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
602
|
+
|
|
603
|
+
|
|
581
604
|
def ExportSoftwareInformationList(self, request):
|
|
582
605
|
r"""导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList
|
|
583
606
|
|
|
@@ -7939,6 +7939,57 @@ class DeviceDetail(AbstractModel):
|
|
|
7939
7939
|
|
|
7940
7940
|
|
|
7941
7941
|
|
|
7942
|
+
class DeviceDownloadTask(AbstractModel):
|
|
7943
|
+
r"""业务响应数据
|
|
7944
|
+
|
|
7945
|
+
"""
|
|
7946
|
+
|
|
7947
|
+
def __init__(self):
|
|
7948
|
+
r"""
|
|
7949
|
+
:param _DownloadURL: 同步数据下载的url
|
|
7950
|
+
:type DownloadURL: str
|
|
7951
|
+
:param _TaskId: 异步任务id,需要根据id去任务中心下载
|
|
7952
|
+
:type TaskId: int
|
|
7953
|
+
"""
|
|
7954
|
+
self._DownloadURL = None
|
|
7955
|
+
self._TaskId = None
|
|
7956
|
+
|
|
7957
|
+
@property
|
|
7958
|
+
def DownloadURL(self):
|
|
7959
|
+
r"""同步数据下载的url
|
|
7960
|
+
:rtype: str
|
|
7961
|
+
"""
|
|
7962
|
+
return self._DownloadURL
|
|
7963
|
+
|
|
7964
|
+
@DownloadURL.setter
|
|
7965
|
+
def DownloadURL(self, DownloadURL):
|
|
7966
|
+
self._DownloadURL = DownloadURL
|
|
7967
|
+
|
|
7968
|
+
@property
|
|
7969
|
+
def TaskId(self):
|
|
7970
|
+
r"""异步任务id,需要根据id去任务中心下载
|
|
7971
|
+
:rtype: int
|
|
7972
|
+
"""
|
|
7973
|
+
return self._TaskId
|
|
7974
|
+
|
|
7975
|
+
@TaskId.setter
|
|
7976
|
+
def TaskId(self, TaskId):
|
|
7977
|
+
self._TaskId = TaskId
|
|
7978
|
+
|
|
7979
|
+
|
|
7980
|
+
def _deserialize(self, params):
|
|
7981
|
+
self._DownloadURL = params.get("DownloadURL")
|
|
7982
|
+
self._TaskId = params.get("TaskId")
|
|
7983
|
+
memeber_set = set(params.keys())
|
|
7984
|
+
for name, value in vars(self).items():
|
|
7985
|
+
property_name = name[1:]
|
|
7986
|
+
if property_name in memeber_set:
|
|
7987
|
+
memeber_set.remove(property_name)
|
|
7988
|
+
if len(memeber_set) > 0:
|
|
7989
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7990
|
+
|
|
7991
|
+
|
|
7992
|
+
|
|
7942
7993
|
class DeviceGroupDetail(AbstractModel):
|
|
7943
7994
|
r"""返回的数组列表
|
|
7944
7995
|
|
|
@@ -8761,6 +8812,179 @@ class DeviceVirtualDeviceGroupsDetail(AbstractModel):
|
|
|
8761
8812
|
|
|
8762
8813
|
|
|
8763
8814
|
|
|
8815
|
+
class ExportDeviceDownloadTaskRequest(AbstractModel):
|
|
8816
|
+
r"""ExportDeviceDownloadTask请求参数结构体
|
|
8817
|
+
|
|
8818
|
+
"""
|
|
8819
|
+
|
|
8820
|
+
def __init__(self):
|
|
8821
|
+
r"""
|
|
8822
|
+
:param _OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
|
|
8823
|
+
:type OsType: int
|
|
8824
|
+
:param _DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
8825
|
+
:type DomainInstanceId: str
|
|
8826
|
+
:param _GroupId: 分组id
|
|
8827
|
+
:type GroupId: int
|
|
8828
|
+
:param _OnlineStatus: 在线状态 2 在线 0,1 离线
|
|
8829
|
+
:type OnlineStatus: int
|
|
8830
|
+
:param _ExportOrder: 导出顺序,接口返回的数据字段
|
|
8831
|
+
:type ExportOrder: str
|
|
8832
|
+
:param _ExportType: 导出类型, 0:终端树;7:硬件信息列表导出;
|
|
8833
|
+
:type ExportType: int
|
|
8834
|
+
:param _Condition: 过滤条件。同DescribeDevices接口
|
|
8835
|
+
:type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
8836
|
+
"""
|
|
8837
|
+
self._OsType = None
|
|
8838
|
+
self._DomainInstanceId = None
|
|
8839
|
+
self._GroupId = None
|
|
8840
|
+
self._OnlineStatus = None
|
|
8841
|
+
self._ExportOrder = None
|
|
8842
|
+
self._ExportType = None
|
|
8843
|
+
self._Condition = None
|
|
8844
|
+
|
|
8845
|
+
@property
|
|
8846
|
+
def OsType(self):
|
|
8847
|
+
r"""系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
|
|
8848
|
+
:rtype: int
|
|
8849
|
+
"""
|
|
8850
|
+
return self._OsType
|
|
8851
|
+
|
|
8852
|
+
@OsType.setter
|
|
8853
|
+
def OsType(self, OsType):
|
|
8854
|
+
self._OsType = OsType
|
|
8855
|
+
|
|
8856
|
+
@property
|
|
8857
|
+
def DomainInstanceId(self):
|
|
8858
|
+
r"""管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
8859
|
+
:rtype: str
|
|
8860
|
+
"""
|
|
8861
|
+
return self._DomainInstanceId
|
|
8862
|
+
|
|
8863
|
+
@DomainInstanceId.setter
|
|
8864
|
+
def DomainInstanceId(self, DomainInstanceId):
|
|
8865
|
+
self._DomainInstanceId = DomainInstanceId
|
|
8866
|
+
|
|
8867
|
+
@property
|
|
8868
|
+
def GroupId(self):
|
|
8869
|
+
r"""分组id
|
|
8870
|
+
:rtype: int
|
|
8871
|
+
"""
|
|
8872
|
+
return self._GroupId
|
|
8873
|
+
|
|
8874
|
+
@GroupId.setter
|
|
8875
|
+
def GroupId(self, GroupId):
|
|
8876
|
+
self._GroupId = GroupId
|
|
8877
|
+
|
|
8878
|
+
@property
|
|
8879
|
+
def OnlineStatus(self):
|
|
8880
|
+
r""" 在线状态 2 在线 0,1 离线
|
|
8881
|
+
:rtype: int
|
|
8882
|
+
"""
|
|
8883
|
+
return self._OnlineStatus
|
|
8884
|
+
|
|
8885
|
+
@OnlineStatus.setter
|
|
8886
|
+
def OnlineStatus(self, OnlineStatus):
|
|
8887
|
+
self._OnlineStatus = OnlineStatus
|
|
8888
|
+
|
|
8889
|
+
@property
|
|
8890
|
+
def ExportOrder(self):
|
|
8891
|
+
r"""导出顺序,接口返回的数据字段
|
|
8892
|
+
:rtype: str
|
|
8893
|
+
"""
|
|
8894
|
+
return self._ExportOrder
|
|
8895
|
+
|
|
8896
|
+
@ExportOrder.setter
|
|
8897
|
+
def ExportOrder(self, ExportOrder):
|
|
8898
|
+
self._ExportOrder = ExportOrder
|
|
8899
|
+
|
|
8900
|
+
@property
|
|
8901
|
+
def ExportType(self):
|
|
8902
|
+
r""" 导出类型, 0:终端树;7:硬件信息列表导出;
|
|
8903
|
+
:rtype: int
|
|
8904
|
+
"""
|
|
8905
|
+
return self._ExportType
|
|
8906
|
+
|
|
8907
|
+
@ExportType.setter
|
|
8908
|
+
def ExportType(self, ExportType):
|
|
8909
|
+
self._ExportType = ExportType
|
|
8910
|
+
|
|
8911
|
+
@property
|
|
8912
|
+
def Condition(self):
|
|
8913
|
+
r"""过滤条件。同DescribeDevices接口
|
|
8914
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.Condition`
|
|
8915
|
+
"""
|
|
8916
|
+
return self._Condition
|
|
8917
|
+
|
|
8918
|
+
@Condition.setter
|
|
8919
|
+
def Condition(self, Condition):
|
|
8920
|
+
self._Condition = Condition
|
|
8921
|
+
|
|
8922
|
+
|
|
8923
|
+
def _deserialize(self, params):
|
|
8924
|
+
self._OsType = params.get("OsType")
|
|
8925
|
+
self._DomainInstanceId = params.get("DomainInstanceId")
|
|
8926
|
+
self._GroupId = params.get("GroupId")
|
|
8927
|
+
self._OnlineStatus = params.get("OnlineStatus")
|
|
8928
|
+
self._ExportOrder = params.get("ExportOrder")
|
|
8929
|
+
self._ExportType = params.get("ExportType")
|
|
8930
|
+
if params.get("Condition") is not None:
|
|
8931
|
+
self._Condition = Condition()
|
|
8932
|
+
self._Condition._deserialize(params.get("Condition"))
|
|
8933
|
+
memeber_set = set(params.keys())
|
|
8934
|
+
for name, value in vars(self).items():
|
|
8935
|
+
property_name = name[1:]
|
|
8936
|
+
if property_name in memeber_set:
|
|
8937
|
+
memeber_set.remove(property_name)
|
|
8938
|
+
if len(memeber_set) > 0:
|
|
8939
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8940
|
+
|
|
8941
|
+
|
|
8942
|
+
|
|
8943
|
+
class ExportDeviceDownloadTaskResponse(AbstractModel):
|
|
8944
|
+
r"""ExportDeviceDownloadTask返回参数结构体
|
|
8945
|
+
|
|
8946
|
+
"""
|
|
8947
|
+
|
|
8948
|
+
def __init__(self):
|
|
8949
|
+
r"""
|
|
8950
|
+
:param _Data: 业务响应数据
|
|
8951
|
+
:type Data: :class:`tencentcloud.ioa.v20220601.models.DeviceDownloadTask`
|
|
8952
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8953
|
+
:type RequestId: str
|
|
8954
|
+
"""
|
|
8955
|
+
self._Data = None
|
|
8956
|
+
self._RequestId = None
|
|
8957
|
+
|
|
8958
|
+
@property
|
|
8959
|
+
def Data(self):
|
|
8960
|
+
r"""业务响应数据
|
|
8961
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DeviceDownloadTask`
|
|
8962
|
+
"""
|
|
8963
|
+
return self._Data
|
|
8964
|
+
|
|
8965
|
+
@Data.setter
|
|
8966
|
+
def Data(self, Data):
|
|
8967
|
+
self._Data = Data
|
|
8968
|
+
|
|
8969
|
+
@property
|
|
8970
|
+
def RequestId(self):
|
|
8971
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8972
|
+
:rtype: str
|
|
8973
|
+
"""
|
|
8974
|
+
return self._RequestId
|
|
8975
|
+
|
|
8976
|
+
@RequestId.setter
|
|
8977
|
+
def RequestId(self, RequestId):
|
|
8978
|
+
self._RequestId = RequestId
|
|
8979
|
+
|
|
8980
|
+
|
|
8981
|
+
def _deserialize(self, params):
|
|
8982
|
+
if params.get("Data") is not None:
|
|
8983
|
+
self._Data = DeviceDownloadTask()
|
|
8984
|
+
self._Data._deserialize(params.get("Data"))
|
|
8985
|
+
self._RequestId = params.get("RequestId")
|
|
8986
|
+
|
|
8987
|
+
|
|
8764
8988
|
class ExportSoftwareDownloadUrlRspData(AbstractModel):
|
|
8765
8989
|
r"""业务响应数据
|
|
8766
8990
|
|