tencentcloud-sdk-cdwch 3.0.946 → 3.0.948

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: 1f0f7f63ed7c974697e43e80352984cf69a38655
4
- data.tar.gz: 48174883f4e9a13593952034facc2eb1ae12cd1a
3
+ metadata.gz: b2306f0bbf7f0f1a88fad523c9d4ed8491578f61
4
+ data.tar.gz: f12d3a8a2868f88224d69a7b17c92c2abf31adfa
5
5
  SHA512:
6
- metadata.gz: b42d9f0b7e40a08156c11fd253a0e778325eab329019166d0f999e6b33f1a09f2fce948e702e1dd2510a1c9f72a052a82033444722ba00d71fef20f970882d17
7
- data.tar.gz: 2b3ae3f25e530285a487fb5d4244aaad467eb910d3b6800b345d9490ca385a9cf4758e637abd84ea3729fad61cb842313a4ba852cf5a5da30a74bcdbdb9b56a8
6
+ metadata.gz: 27373a328bc8b261f45561514ae26534f2e368716092c84ab20ba2e7ba3d5b3f8bba7c90c34b62b9e42d5ce8ef06a259984989f14f8cf36c0e4eecb957771e6e
7
+ data.tar.gz: c2d498ec66ebb9cccd0ccda47681891bab9b5831ed9cb17db4eed4e2217993b5e5d6d7494cb895f58159711be52ecce8c31db4207cc01ae7e0bb3dfc1dfbce9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.946
1
+ 3.0.948
@@ -629,6 +629,30 @@ module TencentCloud
629
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
630
  end
631
631
 
632
+ # open-api接口提供弹性伸缩云原生集群能力
633
+
634
+ # @param request: Request instance for ScaleCNOutUpInstance.
635
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::ScaleCNOutUpInstanceRequest`
636
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::ScaleCNOutUpInstanceResponse`
637
+ def ScaleCNOutUpInstance(request)
638
+ body = send_request('ScaleCNOutUpInstance', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = ScaleCNOutUpInstanceResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
632
656
  # 调整clickhouse节点数量
633
657
 
634
658
  # @param request: Request instance for ScaleOutInstance.
@@ -2536,6 +2536,69 @@ module TencentCloud
2536
2536
  end
2537
2537
  end
2538
2538
 
2539
+ # ScaleCNOutUpInstance请求参数结构体
2540
+ class ScaleCNOutUpInstanceRequest < TencentCloud::Common::AbstractModel
2541
+ # @param InstanceId: 实例唯一ID
2542
+ # @type InstanceId: String
2543
+ # @param VirtualCluster: warehouse名称
2544
+ # @type VirtualCluster: String
2545
+ # @param UserSubnetID: 子网id
2546
+ # @type UserSubnetID: String
2547
+ # @param NewCount: 新的warehouse的个数
2548
+ # @type NewCount: Integer
2549
+ # @param NewSpecName: 集群的规格2X-Small、X-Small、Small
2550
+ # @type NewSpecName: String
2551
+
2552
+ attr_accessor :InstanceId, :VirtualCluster, :UserSubnetID, :NewCount, :NewSpecName
2553
+
2554
+ def initialize(instanceid=nil, virtualcluster=nil, usersubnetid=nil, newcount=nil, newspecname=nil)
2555
+ @InstanceId = instanceid
2556
+ @VirtualCluster = virtualcluster
2557
+ @UserSubnetID = usersubnetid
2558
+ @NewCount = newcount
2559
+ @NewSpecName = newspecname
2560
+ end
2561
+
2562
+ def deserialize(params)
2563
+ @InstanceId = params['InstanceId']
2564
+ @VirtualCluster = params['VirtualCluster']
2565
+ @UserSubnetID = params['UserSubnetID']
2566
+ @NewCount = params['NewCount']
2567
+ @NewSpecName = params['NewSpecName']
2568
+ end
2569
+ end
2570
+
2571
+ # ScaleCNOutUpInstance返回参数结构体
2572
+ class ScaleCNOutUpInstanceResponse < TencentCloud::Common::AbstractModel
2573
+ # @param FlowId: 流程ID
2574
+ # 注意:此字段可能返回 null,表示取不到有效值。
2575
+ # @type FlowId: String
2576
+ # @param InstanceId: 实例ID
2577
+ # 注意:此字段可能返回 null,表示取不到有效值。
2578
+ # @type InstanceId: String
2579
+ # @param ErrorMsg: 错误信息
2580
+ # 注意:此字段可能返回 null,表示取不到有效值。
2581
+ # @type ErrorMsg: String
2582
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2583
+ # @type RequestId: String
2584
+
2585
+ attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
2586
+
2587
+ def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
2588
+ @FlowId = flowid
2589
+ @InstanceId = instanceid
2590
+ @ErrorMsg = errormsg
2591
+ @RequestId = requestid
2592
+ end
2593
+
2594
+ def deserialize(params)
2595
+ @FlowId = params['FlowId']
2596
+ @InstanceId = params['InstanceId']
2597
+ @ErrorMsg = params['ErrorMsg']
2598
+ @RequestId = params['RequestId']
2599
+ end
2600
+ end
2601
+
2539
2602
  # ScaleOutInstance请求参数结构体
2540
2603
  class ScaleOutInstanceRequest < TencentCloud::Common::AbstractModel
2541
2604
  # @param InstanceId: 实例唯一ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.946
4
+ version: 3.0.948
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-11-22 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common