tencentcloud-sdk-dasb 3.0.662 → 3.0.663

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: a86c410cfd48f1c3a603ca18b82d9e6463743eb2
4
- data.tar.gz: fc9db6e311944e776f97556b86625d993c8a58b9
3
+ metadata.gz: 2ce20e314545cccc839dd0e7d29f31a2ffc239ff
4
+ data.tar.gz: 3c488a79043022209293a07a9cf2d0572338b8da
5
5
  SHA512:
6
- metadata.gz: 427bc5eaadace99019f5be0ae3107ac15d3b140f2dcd3fc77af7cd9676e4688d9168d6f282d86811877e22f3d161ca35fce18332d4e4b4be6522945a0312b73c
7
- data.tar.gz: b16979a601c9ceb5b882911c84bbc6fb4212b85bc45bdcd75fe951c2d145dead1fc0dfc2764e0a101bf4e5d405127920b92231d29a61c5a026cd99f8ae8d7fab
6
+ metadata.gz: ab99215f1d392125f2824f2613e0222c4f954791de57c03811d3c8333c44d9a8b27cac435d5fbf75705f8d19d85b5851651feacd067fd9531d1a57726c937813
7
+ data.tar.gz: 6131082b483cfd5084d32c69e1b1739571dfbf0bba9b64d5222fc976464cb6fef894b573c9d0e129ceffe80313fe58ecb3178e655a976d7d9b097bae71e6dbeb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.663
@@ -941,6 +941,30 @@ module TencentCloud
941
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
942
  end
943
943
 
944
+ # 修改高危命令模板
945
+
946
+ # @param request: Request instance for ModifyCmdTemplate.
947
+ # @type request: :class:`Tencentcloud::dasb::V20191018::ModifyCmdTemplateRequest`
948
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::ModifyCmdTemplateResponse`
949
+ def ModifyCmdTemplate(request)
950
+ body = send_request('ModifyCmdTemplate', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = ModifyCmdTemplateResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
944
968
  # 修改资产信息
945
969
 
946
970
  # @param request: Request instance for ModifyDevice.
@@ -2826,6 +2826,51 @@ module TencentCloud
2826
2826
  end
2827
2827
  end
2828
2828
 
2829
+ # ModifyCmdTemplate请求参数结构体
2830
+ class ModifyCmdTemplateRequest < TencentCloud::Common::AbstractModel
2831
+ # @param Name: 模板名,最长32字符,不能包含空白字符
2832
+ # @type Name: String
2833
+ # @param CmdList: 命令列表,\n分隔,最长32768字节
2834
+ # @type CmdList: String
2835
+ # @param Id: 命令模板ID
2836
+ # @type Id: Integer
2837
+ # @param Encoding: CmdList字段前端是否base64传值。
2838
+ # 0:否,1:是
2839
+ # @type Encoding: Integer
2840
+
2841
+ attr_accessor :Name, :CmdList, :Id, :Encoding
2842
+
2843
+ def initialize(name=nil, cmdlist=nil, id=nil, encoding=nil)
2844
+ @Name = name
2845
+ @CmdList = cmdlist
2846
+ @Id = id
2847
+ @Encoding = encoding
2848
+ end
2849
+
2850
+ def deserialize(params)
2851
+ @Name = params['Name']
2852
+ @CmdList = params['CmdList']
2853
+ @Id = params['Id']
2854
+ @Encoding = params['Encoding']
2855
+ end
2856
+ end
2857
+
2858
+ # ModifyCmdTemplate返回参数结构体
2859
+ class ModifyCmdTemplateResponse < TencentCloud::Common::AbstractModel
2860
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2861
+ # @type RequestId: String
2862
+
2863
+ attr_accessor :RequestId
2864
+
2865
+ def initialize(requestid=nil)
2866
+ @RequestId = requestid
2867
+ end
2868
+
2869
+ def deserialize(params)
2870
+ @RequestId = params['RequestId']
2871
+ end
2872
+ end
2873
+
2829
2874
  # ModifyDeviceGroup请求参数结构体
2830
2875
  class ModifyDeviceGroupRequest < TencentCloud::Common::AbstractModel
2831
2876
  # @param Name: 资产组名,最大长度32字符,不能为空
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dasb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.662
4
+ version: 3.0.663
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common