tencentcloud-sdk-cdwdoris 3.0.890 → 3.0.891

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: 3faa59fffffacbd3415bdc8a5f99208cd42fa24f
4
- data.tar.gz: 1bc0f82921c2c69b575eeed665eda2943ebc6b2a
3
+ metadata.gz: c2871cdd7111464604ff5428cc43df41754d567a
4
+ data.tar.gz: fabc41be82eb45cb783369b90472ce2ecb929f56
5
5
  SHA512:
6
- metadata.gz: d4f2b5214a910c455f8685e0845b554fc9257b457809fcdeeb43dd928ed5d230b1efbaf3aff7b167176e2168c97e89611bb422bc0e8523eaf3a6c5ec266a60cd
7
- data.tar.gz: f291d4bf144c224fbc2f15cac013c42b297cb131767adb90adb4fb4144e11fc00516f19adf3feb2f1dd52c61fa0857c9733b40664e8694264838275b847d3416
6
+ metadata.gz: 7f8eacce9125a398f535bc49506422f5ea1cf6936dfac19bd744d26c8ff0e65e982a36c334a40423b66f171ef37919b3e1b02efd6676c2b1b4337d6ddf10311f
7
+ data.tar.gz: 439c1982be2d0a8a669d0b95de46d17268a20b7cbac0d759ceb420646d3e1a3a79326cf2ed06dc25e7856ae2af39a10b5f398a2fff02a0cbcebb0a03ae208b93
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.890
1
+ 3.0.891
@@ -989,6 +989,30 @@ module TencentCloud
989
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
990
  end
991
991
 
992
+ # 在集群配置页面修改集群配置文件接口,xml模式
993
+
994
+ # @param request: Request instance for ModifyClusterConfigs.
995
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::ModifyClusterConfigsRequest`
996
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::ModifyClusterConfigsResponse`
997
+ def ModifyClusterConfigs(request)
998
+ body = send_request('ModifyClusterConfigs', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = ModifyClusterConfigsResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
992
1016
  # 修改冷热分层策略
993
1017
 
994
1018
  # @param request: Request instance for ModifyCoolDownPolicy.
@@ -580,6 +580,34 @@ module TencentCloud
580
580
  end
581
581
  end
582
582
 
583
+ # 配置文件修改信息
584
+ class ConfigSubmitContext < TencentCloud::Common::AbstractModel
585
+ # @param FileName: 配置文件名称
586
+ # @type FileName: String
587
+ # @param NewConfValue: 配置文件新内容,base64编码
588
+ # @type NewConfValue: String
589
+ # @param OldConfValue: 配置文件旧内容,base64编码
590
+ # @type OldConfValue: String
591
+ # @param FilePath: 文件路径
592
+ # @type FilePath: String
593
+
594
+ attr_accessor :FileName, :NewConfValue, :OldConfValue, :FilePath
595
+
596
+ def initialize(filename=nil, newconfvalue=nil, oldconfvalue=nil, filepath=nil)
597
+ @FileName = filename
598
+ @NewConfValue = newconfvalue
599
+ @OldConfValue = oldconfvalue
600
+ @FilePath = filepath
601
+ end
602
+
603
+ def deserialize(params)
604
+ @FileName = params['FileName']
605
+ @NewConfValue = params['NewConfValue']
606
+ @OldConfValue = params['OldConfValue']
607
+ @FilePath = params['FilePath']
608
+ end
609
+ end
610
+
583
611
  # 冷热分层backend节点信息
584
612
  class CoolDownBackend < TencentCloud::Common::AbstractModel
585
613
  # @param Host: 字段:Host
@@ -3555,6 +3583,61 @@ module TencentCloud
3555
3583
  end
3556
3584
  end
3557
3585
 
3586
+ # ModifyClusterConfigs请求参数结构体
3587
+ class ModifyClusterConfigsRequest < TencentCloud::Common::AbstractModel
3588
+ # @param InstanceId: 集群ID,例如cdwch-xxxx
3589
+ # @type InstanceId: String
3590
+ # @param ModifyConfContext: 配置文件修改信息
3591
+ # @type ModifyConfContext: Array
3592
+ # @param Remark: 修改原因
3593
+ # @type Remark: String
3594
+
3595
+ attr_accessor :InstanceId, :ModifyConfContext, :Remark
3596
+
3597
+ def initialize(instanceid=nil, modifyconfcontext=nil, remark=nil)
3598
+ @InstanceId = instanceid
3599
+ @ModifyConfContext = modifyconfcontext
3600
+ @Remark = remark
3601
+ end
3602
+
3603
+ def deserialize(params)
3604
+ @InstanceId = params['InstanceId']
3605
+ unless params['ModifyConfContext'].nil?
3606
+ @ModifyConfContext = []
3607
+ params['ModifyConfContext'].each do |i|
3608
+ configsubmitcontext_tmp = ConfigSubmitContext.new
3609
+ configsubmitcontext_tmp.deserialize(i)
3610
+ @ModifyConfContext << configsubmitcontext_tmp
3611
+ end
3612
+ end
3613
+ @Remark = params['Remark']
3614
+ end
3615
+ end
3616
+
3617
+ # ModifyClusterConfigs返回参数结构体
3618
+ class ModifyClusterConfigsResponse < TencentCloud::Common::AbstractModel
3619
+ # @param FlowId: 流程相关信息
3620
+ # @type FlowId: Integer
3621
+ # @param ErrorMsg: 错误信息
3622
+ # @type ErrorMsg: String
3623
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3624
+ # @type RequestId: String
3625
+
3626
+ attr_accessor :FlowId, :ErrorMsg, :RequestId
3627
+
3628
+ def initialize(flowid=nil, errormsg=nil, requestid=nil)
3629
+ @FlowId = flowid
3630
+ @ErrorMsg = errormsg
3631
+ @RequestId = requestid
3632
+ end
3633
+
3634
+ def deserialize(params)
3635
+ @FlowId = params['FlowId']
3636
+ @ErrorMsg = params['ErrorMsg']
3637
+ @RequestId = params['RequestId']
3638
+ end
3639
+ end
3640
+
3558
3641
  # ModifyCoolDownPolicy请求参数结构体
3559
3642
  class ModifyCoolDownPolicyRequest < TencentCloud::Common::AbstractModel
3560
3643
  # @param InstanceId: 集群id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwdoris
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.890
4
+ version: 3.0.891
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-20 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common