tencentcloud-sdk-cdwch 3.0.946 → 3.0.947
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200915/client.rb +24 -0
- data/lib/v20200915/models.rb +63 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78b87f7a1d7db8464d1679afe9159ef6e30b7466
|
4
|
+
data.tar.gz: 3fcdc37e97d4d43badfaac3f2276eaa550d7881f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e64d792b60ace93dc7e88f3ed7fcc6067dea76261ef7ec6db09607d02c02af03d0ab95a372638f87748fb187a74f3d91b48c094c55a39af0ac9a1eb065f5d2d
|
7
|
+
data.tar.gz: 9300cd44e240c8be0c9f0448d482897b86cf381e11a7e15ab83bb55ed77ce1f028558297f80708ab989a6f6cec90cf4d8e4cbf503a78adf9dfbe825e6a39c8d4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.947
|
data/lib/v20200915/client.rb
CHANGED
@@ -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.
|
data/lib/v20200915/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.947
|
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-
|
11
|
+
date: 2024-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|