tencentcloud-sdk-iecp 1.0.279 → 1.0.282

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c0bdadbc18b6f7530fb5760a45997ca7762aba9
4
- data.tar.gz: c550defbfca2c7142bb114de0ad0066b1ddb2081
3
+ metadata.gz: 922295ffbb2403f388403e2973f595b37009d119
4
+ data.tar.gz: 910232087f67582773f2eb0935df8f31f2e2d11c
5
5
  SHA512:
6
- metadata.gz: 8fc21ea807f26c969d27638233924233b6184c9b30e92186d6599e138f7d0c8cb9422c11ea84bf0c4c8975da97b86b852c72de8b888bb2853acdee5ce252143a
7
- data.tar.gz: 58007a1c865cb44b9b5b80a161bfebcab8e98cada3752e976580c4e6c4045045b514f5dca5fd8eacf44aee026067c1b8e2e9fe3c376e977c0163976c75d47845
6
+ metadata.gz: cfb7585e984ffd02e826f1f968f1c1847967ce892800479643b8d76e3e999e006cb2f88dc7b529227aef77a9463e3bec2342950ff3ad93d73cfe6f5ac9180284
7
+ data.tar.gz: 4922b9d0ea0964afcbd91912ee9c589e2faaa943de1134ef90ac5c10458938da3c7f711791de0ccf5ef2b0f2a75e492db9b9dcaf0eaaaf63f4e3ad64ac47e3f3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.282
@@ -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.279
4
+ version: 1.0.282
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-18 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common