tencentcloud-sdk-iecp 1.0.281 → 1.0.284

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: d6041ac507cffbb644c2fa025fed42e0b5e653d8
4
- data.tar.gz: 6fc7044af20ff75e4401905eac5408286aa67ded
3
+ metadata.gz: 28e05cad42f767c0d481f232a7759d38361562bd
4
+ data.tar.gz: 676064b0e5f49fea564102301530a56ca060e5f9
5
5
  SHA512:
6
- metadata.gz: fd776769b6df1eaedf18298f2f1bf3110f2478120fd5e0db97675e9b80a29bde8ca6c6fbcaf9b3c321c1e50e4d9eebf5751a68f191b7c1e74610810977a04de6
7
- data.tar.gz: a9238c0e107286127cf1669f73fa586984076f3dd414c5181ee336fd05be2e94438ef9614b057d3c60e44b1f8e62b39e94ab445337803b0d8464a9b5d626c80f
6
+ metadata.gz: 7b99a093d3b614411b84f3493bdd98c3860f00572e7fc7b7ab3a0fe5af67fc1885747460e3bc769d058aa43c046eb8face62f55b88b1e176776dd33f629378f1
7
+ data.tar.gz: a061112e9c2307bb5e61683f971da8665f37005192ca9bd46f8f8e0edb775005b3fdbe8385ee7ae9d73330b9e36184fcadf0dbf89c690a3c835d3c4a903135f2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.281
1
+ 1.0.284
@@ -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.281
4
+ version: 1.0.284
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-22 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