tencentcloud-sdk-cdwch 3.0.529 → 3.0.530

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: c30c6d14f5c405c5f03cc589ce7c3f1d5c14794e
4
- data.tar.gz: 788c3c79a40048919bc385d04d1f0216c1a52afc
3
+ metadata.gz: eb7eb7b3910126027f0502fa73017f27360a2366
4
+ data.tar.gz: 05c4648aa9ed95abdba039979cc8625375bd9bef
5
5
  SHA512:
6
- metadata.gz: 542823706446369477892304ea16db3074728f973b823b27e1d3560a6ddbc4894001aefa4fc62acb2e7f67101de2ca5572416e795833b0771ff3cdcff3db1f36
7
- data.tar.gz: 091fc09f39e6273c7853fd7946b0c3773bcfaa951f153fc4a0a51291099c9976c41ff134139663296bf5d71a5facac5d62f11b26f70fce7dc9c893018e3fce0e
6
+ metadata.gz: ac2bf7b19a4f8f723e89a24a4292e89dd2bca0e15d0d26de75f56c533d96a77eb57b1527e94ba28b5d5cbae86b2516a5a5bd44eabb55fce0898c6762fbd39852
7
+ data.tar.gz: ef62d73e622c8d45fcc34fd66f6c7319048a466aada5ae0cef5ada498716f875da92e4f2f7799e69e5d3f126a9fe20590dad653e54970866ba3944aba1e4a405
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.529
1
+ 3.0.530
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 集群vcluster列表
201
+
202
+ # @param request: Request instance for DescribeInstanceClusters.
203
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceClustersRequest`
204
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceClustersResponse`
205
+ def DescribeInstanceClusters(request)
206
+ body = send_request('DescribeInstanceClusters', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeInstanceClustersResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # 在集群详情页面获取所有参数列表
201
225
 
202
226
  # @param request: Request instance for DescribeInstanceKeyValConfigs.
@@ -183,6 +183,28 @@ module TencentCloud
183
183
  end
184
184
  end
185
185
 
186
+ # clickhouse vcluster信息
187
+ class ClusterInfo < TencentCloud::Common::AbstractModel
188
+ # @param ClusterName: vcluster名字
189
+ # 注意:此字段可能返回 null,表示取不到有效值。
190
+ # @type ClusterName: String
191
+ # @param NodeIps: 当前cluster的IP列表
192
+ # 注意:此字段可能返回 null,表示取不到有效值。
193
+ # @type NodeIps: Array
194
+
195
+ attr_accessor :ClusterName, :NodeIps
196
+
197
+ def initialize(clustername=nil, nodeips=nil)
198
+ @ClusterName = clustername
199
+ @NodeIps = nodeips
200
+ end
201
+
202
+ def deserialize(params)
203
+ @ClusterName = params['ClusterName']
204
+ @NodeIps = params['NodeIps']
205
+ end
206
+ end
207
+
186
208
  # 配置文件修改信息
187
209
  class ConfigSubmitContext < TencentCloud::Common::AbstractModel
188
210
  # @param FileName: 配置文件名称
@@ -544,6 +566,49 @@ module TencentCloud
544
566
  end
545
567
  end
546
568
 
569
+ # DescribeInstanceClusters请求参数结构体
570
+ class DescribeInstanceClustersRequest < TencentCloud::Common::AbstractModel
571
+ # @param InstanceId: 实例ID
572
+ # @type InstanceId: String
573
+
574
+ attr_accessor :InstanceId
575
+
576
+ def initialize(instanceid=nil)
577
+ @InstanceId = instanceid
578
+ end
579
+
580
+ def deserialize(params)
581
+ @InstanceId = params['InstanceId']
582
+ end
583
+ end
584
+
585
+ # DescribeInstanceClusters返回参数结构体
586
+ class DescribeInstanceClustersResponse < TencentCloud::Common::AbstractModel
587
+ # @param Clusters: cluster列表
588
+ # @type Clusters: Array
589
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
590
+ # @type RequestId: String
591
+
592
+ attr_accessor :Clusters, :RequestId
593
+
594
+ def initialize(clusters=nil, requestid=nil)
595
+ @Clusters = clusters
596
+ @RequestId = requestid
597
+ end
598
+
599
+ def deserialize(params)
600
+ unless params['Clusters'].nil?
601
+ @Clusters = []
602
+ params['Clusters'].each do |i|
603
+ clusterinfo_tmp = ClusterInfo.new
604
+ clusterinfo_tmp.deserialize(i)
605
+ @Clusters << clusterinfo_tmp
606
+ end
607
+ end
608
+ @RequestId = params['RequestId']
609
+ end
610
+ end
611
+
547
612
  # DescribeInstanceKeyValConfigs请求参数结构体
548
613
  class DescribeInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
549
614
  # @param InstanceId: 集群实例ID
@@ -1533,9 +1598,9 @@ module TencentCloud
1533
1598
  # @type ScaleOutCluster: String
1534
1599
  # @param UserSubnetIPNum: 子网剩余ip数量,用于判断当前实例子网剩余ip数是否能扩容。需要根据实际填写
1535
1600
  # @type UserSubnetIPNum: Integer
1536
- # @param ScaleOutNodeIp: 同步元数据节点IP (uip
1601
+ # @param ScaleOutNodeIp: 同步元数据节点IP (uip),扩容的时候必填
1537
1602
  # @type ScaleOutNodeIp: String
1538
- # @param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip都传入以逗号分隔
1603
+ # @param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip都传入以逗号分隔,缩容的时候必填
1539
1604
  # @type ReduceShardInfo: Array
1540
1605
 
1541
1606
  attr_accessor :InstanceId, :Type, :NodeCount, :ScaleOutCluster, :UserSubnetIPNum, :ScaleOutNodeIp, :ReduceShardInfo
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.529
4
+ version: 3.0.530
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-03-14 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common