tencentcloud-sdk-iecp 1.0.280 → 1.0.283

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1744d01a71ad4dada262b09adbd850d6ef1ea889
4
- data.tar.gz: 3a17a415dab2a644cfd9210bbbc27a7df2889e36
3
+ metadata.gz: 6f3efadaa22fc0c3368fb4b20b6510987545a50b
4
+ data.tar.gz: 27df94d338d3d13b59924d289f92c876e010b289
5
5
  SHA512:
6
- metadata.gz: 7389d2a0cd7a25123abf99582321dedc55bdc9dc24bad26163d3830ab13e6d64fa75f75fa7c05ae88ddb0a3d10c5c9b0d1ea5a711a71ce6e7f6837c999dd6acf
7
- data.tar.gz: 82a5d154eaa047a4a452af6a4bad171934defbdbf0500b918538120e41c730e32042e0bbeedfce56cd40a5966bd3e314de477646bda39486795dda43bb32629b
6
+ metadata.gz: 2a64650226093fffee96c956be482274fd5a4bcf3e80724d73218c649c988d6d80e19d3e48ee678620a9a2752f2ec8300c90376fa88b746c7f4d636acee2e5f8
7
+ data.tar.gz: 754c981ddb908a9279e8f520dce87d5991aeb7cc2f052c4ee8670dd274ad45ed9c76db3ec53b0c6d166451de63dfbe9a23e3a56265d7e82e2899a3d6e986a96d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.280
1
+ 1.0.283
@@ -581,6 +581,30 @@ module TencentCloud
581
581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
582
  end
583
583
 
584
+ # 批量删除设备
585
+
586
+ # @param request: Request instance for DeleteIotDeviceBatch.
587
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DeleteIotDeviceBatchRequest`
588
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DeleteIotDeviceBatchResponse`
589
+ def DeleteIotDeviceBatch(request)
590
+ body = send_request('DeleteIotDeviceBatch', request.serialize)
591
+ response = JSON.parse(body)
592
+ if response['Response'].key?('Error') == false
593
+ model = DeleteIotDeviceBatchResponse.new
594
+ model.deserialize(response['Response'])
595
+ model
596
+ else
597
+ code = response['Response']['Error']['Code']
598
+ message = response['Response']['Error']['Message']
599
+ reqid = response['Response']['RequestId']
600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
601
+ end
602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
603
+ raise e
604
+ rescue StandardError => e
605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
+ end
607
+
584
608
  # 删除命名空间
585
609
 
586
610
  # @param request: Request instance for DeleteNamespace.
@@ -821,6 +845,30 @@ module TencentCloud
821
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
846
  end
823
847
 
848
+ # 自动获取Draco设备的安装包
849
+
850
+ # @param request: Request instance for DescribeDracoEdgeNodeInstaller.
851
+ # @type request: :class:`Tencentcloud::iecp::V20210914::DescribeDracoEdgeNodeInstallerRequest`
852
+ # @rtype: :class:`Tencentcloud::iecp::V20210914::DescribeDracoEdgeNodeInstallerResponse`
853
+ def DescribeDracoEdgeNodeInstaller(request)
854
+ body = send_request('DescribeDracoEdgeNodeInstaller', request.serialize)
855
+ response = JSON.parse(body)
856
+ if response['Response'].key?('Error') == false
857
+ model = DescribeDracoEdgeNodeInstallerResponse.new
858
+ model.deserialize(response['Response'])
859
+ model
860
+ else
861
+ code = response['Response']['Error']['Code']
862
+ message = response['Response']['Error']['Message']
863
+ reqid = response['Response']['RequestId']
864
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
+ end
866
+ rescue TencentCloud::Common::TencentCloudSDKException => e
867
+ raise e
868
+ rescue StandardError => e
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
+ end
871
+
824
872
  # 获取节点安装信息
825
873
 
826
874
  # @param request: Request instance for DescribeEdgeAgentNodeInstaller.
@@ -1593,6 +1593,38 @@ module TencentCloud
1593
1593
  end
1594
1594
  end
1595
1595
 
1596
+ # DeleteIotDeviceBatch请求参数结构体
1597
+ class DeleteIotDeviceBatchRequest < TencentCloud::Common::AbstractModel
1598
+ # @param DeviceIDList: 无
1599
+ # @type DeviceIDList: Array
1600
+
1601
+ attr_accessor :DeviceIDList
1602
+
1603
+ def initialize(deviceidlist=nil)
1604
+ @DeviceIDList = deviceidlist
1605
+ end
1606
+
1607
+ def deserialize(params)
1608
+ @DeviceIDList = params['DeviceIDList']
1609
+ end
1610
+ end
1611
+
1612
+ # DeleteIotDeviceBatch返回参数结构体
1613
+ class DeleteIotDeviceBatchResponse < TencentCloud::Common::AbstractModel
1614
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1615
+ # @type RequestId: String
1616
+
1617
+ attr_accessor :RequestId
1618
+
1619
+ def initialize(requestid=nil)
1620
+ @RequestId = requestid
1621
+ end
1622
+
1623
+ def deserialize(params)
1624
+ @RequestId = params['RequestId']
1625
+ end
1626
+ end
1627
+
1596
1628
  # DeleteNamespace请求参数结构体
1597
1629
  class DeleteNamespaceRequest < TencentCloud::Common::AbstractModel
1598
1630
  # @param EdgeUnitID: 单元ID
@@ -2172,6 +2204,43 @@ module TencentCloud
2172
2204
  end
2173
2205
  end
2174
2206
 
2207
+ # DescribeDracoEdgeNodeInstaller请求参数结构体
2208
+ class DescribeDracoEdgeNodeInstallerRequest < TencentCloud::Common::AbstractModel
2209
+ # @param SN: 设备SN
2210
+ # @type SN: String
2211
+
2212
+ attr_accessor :SN
2213
+
2214
+ def initialize(sn=nil)
2215
+ @SN = sn
2216
+ end
2217
+
2218
+ def deserialize(params)
2219
+ @SN = params['SN']
2220
+ end
2221
+ end
2222
+
2223
+ # DescribeDracoEdgeNodeInstaller返回参数结构体
2224
+ class DescribeDracoEdgeNodeInstallerResponse < TencentCloud::Common::AbstractModel
2225
+ # @param OnlineInstallationCommand: 在线安装命名
2226
+ # 注意:此字段可能返回 null,表示取不到有效值。
2227
+ # @type OnlineInstallationCommand: String
2228
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2229
+ # @type RequestId: String
2230
+
2231
+ attr_accessor :OnlineInstallationCommand, :RequestId
2232
+
2233
+ def initialize(onlineinstallationcommand=nil, requestid=nil)
2234
+ @OnlineInstallationCommand = onlineinstallationcommand
2235
+ @RequestId = requestid
2236
+ end
2237
+
2238
+ def deserialize(params)
2239
+ @OnlineInstallationCommand = params['OnlineInstallationCommand']
2240
+ @RequestId = params['RequestId']
2241
+ end
2242
+ end
2243
+
2175
2244
  # DescribeEdgeAgentNodeInstaller请求参数结构体
2176
2245
  class DescribeEdgeAgentNodeInstallerRequest < TencentCloud::Common::AbstractModel
2177
2246
  # @param EdgeUnitId: IECP边缘单元ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iecp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.280
4
+ version: 1.0.283
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common