tencentcloud-sdk-cdwch 3.0.502 → 3.0.504
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 +192 -0
- data/lib/v20200915/models.rb +676 -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: 206166f342bb33d84baf07df60fd893af851b0f5
|
4
|
+
data.tar.gz: fa7aeffe0e85ee021dbc6e772657c3cdf41d1751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6e63bf62d55e844df77029cdce99e63defac168237e421c411692af37da8af5ccbfe82f0e50c8307e609a03fa5cc7e635aed28d54881d4b8a4b961db82f368
|
7
|
+
data.tar.gz: eb0eef024718e398eeabafe710a928b23b8d500cbe62f2e8069af0db83b95c9b565706094846f4bbfeed778378a7938ae3a35b779fb92b082bb90a6dfc911701
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.504
|
data/lib/v20200915/client.rb
CHANGED
@@ -101,6 +101,30 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 查询备份策略信息
|
105
|
+
|
106
|
+
# @param request: Request instance for DescribeBackUpSchedule.
|
107
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeBackUpScheduleRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeBackUpScheduleResponse`
|
109
|
+
def DescribeBackUpSchedule(request)
|
110
|
+
body = send_request('DescribeBackUpSchedule', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DescribeBackUpScheduleResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
104
128
|
# 查询集群用户、集群表,数据库等相关信息
|
105
129
|
|
106
130
|
# @param request: Request instance for DescribeCkSqlApis.
|
@@ -125,6 +149,30 @@ module TencentCloud
|
|
125
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
150
|
end
|
127
151
|
|
152
|
+
# 获取集群的最新的几个配置文件(config.xml、metrika.xml、user.xml)的内容,显示给用户
|
153
|
+
|
154
|
+
# @param request: Request instance for DescribeClusterConfigs.
|
155
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeClusterConfigsRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeClusterConfigsResponse`
|
157
|
+
def DescribeClusterConfigs(request)
|
158
|
+
body = send_request('DescribeClusterConfigs', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DescribeClusterConfigsResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
128
176
|
# 根据实例ID查询某个实例的具体信息
|
129
177
|
|
130
178
|
# @param request: Request instance for DescribeInstance.
|
@@ -149,6 +197,30 @@ module TencentCloud
|
|
149
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
198
|
end
|
151
199
|
|
200
|
+
# 在集群详情页面获取所有参数列表
|
201
|
+
|
202
|
+
# @param request: Request instance for DescribeInstanceKeyValConfigs.
|
203
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceKeyValConfigsRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceKeyValConfigsResponse`
|
205
|
+
def DescribeInstanceKeyValConfigs(request)
|
206
|
+
body = send_request('DescribeInstanceKeyValConfigs', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DescribeInstanceKeyValConfigsResponse.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
|
+
|
152
224
|
# 获取实例shard信息列表
|
153
225
|
|
154
226
|
# @param request: Request instance for DescribeInstanceShards.
|
@@ -197,6 +269,30 @@ module TencentCloud
|
|
197
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
270
|
end
|
199
271
|
|
272
|
+
# 销毁集群 open api
|
273
|
+
|
274
|
+
# @param request: Request instance for DestroyInstance.
|
275
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DestroyInstanceRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DestroyInstanceResponse`
|
277
|
+
def DestroyInstance(request)
|
278
|
+
body = send_request('DestroyInstance', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DestroyInstanceResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
200
296
|
# 在集群配置页面修改集群配置文件接口,xml模式
|
201
297
|
|
202
298
|
# @param request: Request instance for ModifyClusterConfigs.
|
@@ -221,6 +317,30 @@ module TencentCloud
|
|
221
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
318
|
end
|
223
319
|
|
320
|
+
# KV模式修改配置接口
|
321
|
+
|
322
|
+
# @param request: Request instance for ModifyInstanceKeyValConfigs.
|
323
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ModifyInstanceKeyValConfigsRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ModifyInstanceKeyValConfigsResponse`
|
325
|
+
def ModifyInstanceKeyValConfigs(request)
|
326
|
+
body = send_request('ModifyInstanceKeyValConfigs', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = ModifyInstanceKeyValConfigsResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
224
344
|
# 针对ck账号的权限做管控(新版)
|
225
345
|
|
226
346
|
# @param request: Request instance for ModifyUserNewPrivilege.
|
@@ -269,6 +389,78 @@ module TencentCloud
|
|
269
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
390
|
end
|
271
391
|
|
392
|
+
# 扩容磁盘,包含扩容数据节点,zk节点
|
393
|
+
|
394
|
+
# @param request: Request instance for ResizeDisk.
|
395
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ResizeDiskRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ResizeDiskResponse`
|
397
|
+
def ResizeDisk(request)
|
398
|
+
body = send_request('ResizeDisk', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = ResizeDiskResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 调整clickhouse节点数量
|
417
|
+
|
418
|
+
# @param request: Request instance for ScaleOutInstance.
|
419
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ScaleOutInstanceRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ScaleOutInstanceResponse`
|
421
|
+
def ScaleOutInstance(request)
|
422
|
+
body = send_request('ScaleOutInstance', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = ScaleOutInstanceResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 垂直扩缩容节点规格,修改节点cvm的规格cpu,内存。 规格变化阶段,服务不可用。
|
441
|
+
|
442
|
+
# @param request: Request instance for ScaleUpInstance.
|
443
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ScaleUpInstanceRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ScaleUpInstanceResponse`
|
445
|
+
def ScaleUpInstance(request)
|
446
|
+
body = send_request('ScaleUpInstance', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = ScaleUpInstanceResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
272
464
|
|
273
465
|
end
|
274
466
|
end
|
data/lib/v20200915/models.rb
CHANGED
@@ -146,6 +146,43 @@ module TencentCloud
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
+
# 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
|
150
|
+
class ClusterConfigsInfoFromEMR < TencentCloud::Common::AbstractModel
|
151
|
+
# @param FileName: 配置文件名称
|
152
|
+
# @type FileName: String
|
153
|
+
# @param FileConf: 配置文件对应的相关属性信息
|
154
|
+
# @type FileConf: String
|
155
|
+
# @param KeyConf: 配置文件对应的其他属性信息
|
156
|
+
# @type KeyConf: String
|
157
|
+
# @param OriParam: 配置文件的内容,base64编码
|
158
|
+
# @type OriParam: String
|
159
|
+
# @param NeedRestart: 用于表示当前配置文件是不是有过修改后没有重启,提醒用户需要重启
|
160
|
+
# @type NeedRestart: Integer
|
161
|
+
# @param FilePath: 保存配置文件的路径
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type FilePath: String
|
164
|
+
|
165
|
+
attr_accessor :FileName, :FileConf, :KeyConf, :OriParam, :NeedRestart, :FilePath
|
166
|
+
|
167
|
+
def initialize(filename=nil, fileconf=nil, keyconf=nil, oriparam=nil, needrestart=nil, filepath=nil)
|
168
|
+
@FileName = filename
|
169
|
+
@FileConf = fileconf
|
170
|
+
@KeyConf = keyconf
|
171
|
+
@OriParam = oriparam
|
172
|
+
@NeedRestart = needrestart
|
173
|
+
@FilePath = filepath
|
174
|
+
end
|
175
|
+
|
176
|
+
def deserialize(params)
|
177
|
+
@FileName = params['FileName']
|
178
|
+
@FileConf = params['FileConf']
|
179
|
+
@KeyConf = params['KeyConf']
|
180
|
+
@OriParam = params['OriParam']
|
181
|
+
@NeedRestart = params['NeedRestart']
|
182
|
+
@FilePath = params['FilePath']
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
149
186
|
# 配置文件修改信息
|
150
187
|
class ConfigSubmitContext < TencentCloud::Common::AbstractModel
|
151
188
|
# @param FileName: 配置文件名称
|
@@ -336,6 +373,74 @@ module TencentCloud
|
|
336
373
|
end
|
337
374
|
end
|
338
375
|
|
376
|
+
# DescribeBackUpSchedule请求参数结构体
|
377
|
+
class DescribeBackUpScheduleRequest < TencentCloud::Common::AbstractModel
|
378
|
+
# @param InstanceId: 集群id
|
379
|
+
# @type InstanceId: String
|
380
|
+
|
381
|
+
attr_accessor :InstanceId
|
382
|
+
|
383
|
+
def initialize(instanceid=nil)
|
384
|
+
@InstanceId = instanceid
|
385
|
+
end
|
386
|
+
|
387
|
+
def deserialize(params)
|
388
|
+
@InstanceId = params['InstanceId']
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
# DescribeBackUpSchedule返回参数结构体
|
393
|
+
class DescribeBackUpScheduleResponse < TencentCloud::Common::AbstractModel
|
394
|
+
# @param BackUpOpened: 备份是否开启
|
395
|
+
# @type BackUpOpened: Boolean
|
396
|
+
# @param MetaStrategy: 元数据备份策略
|
397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
398
|
+
# @type MetaStrategy: :class:`Tencentcloud::Cdwch.v20200915.models.ScheduleStrategy`
|
399
|
+
# @param DataStrategy: 表数据备份策略
|
400
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
401
|
+
# @type DataStrategy: :class:`Tencentcloud::Cdwch.v20200915.models.ScheduleStrategy`
|
402
|
+
# @param BackUpContents: 备份表列表
|
403
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
404
|
+
# @type BackUpContents: Array
|
405
|
+
# @param BackUpStatus: 备份的状态
|
406
|
+
# @type BackUpStatus: Integer
|
407
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
408
|
+
# @type RequestId: String
|
409
|
+
|
410
|
+
attr_accessor :BackUpOpened, :MetaStrategy, :DataStrategy, :BackUpContents, :BackUpStatus, :RequestId
|
411
|
+
|
412
|
+
def initialize(backupopened=nil, metastrategy=nil, datastrategy=nil, backupcontents=nil, backupstatus=nil, requestid=nil)
|
413
|
+
@BackUpOpened = backupopened
|
414
|
+
@MetaStrategy = metastrategy
|
415
|
+
@DataStrategy = datastrategy
|
416
|
+
@BackUpContents = backupcontents
|
417
|
+
@BackUpStatus = backupstatus
|
418
|
+
@RequestId = requestid
|
419
|
+
end
|
420
|
+
|
421
|
+
def deserialize(params)
|
422
|
+
@BackUpOpened = params['BackUpOpened']
|
423
|
+
unless params['MetaStrategy'].nil?
|
424
|
+
@MetaStrategy = ScheduleStrategy.new
|
425
|
+
@MetaStrategy.deserialize(params['MetaStrategy'])
|
426
|
+
end
|
427
|
+
unless params['DataStrategy'].nil?
|
428
|
+
@DataStrategy = ScheduleStrategy.new
|
429
|
+
@DataStrategy.deserialize(params['DataStrategy'])
|
430
|
+
end
|
431
|
+
unless params['BackUpContents'].nil?
|
432
|
+
@BackUpContents = []
|
433
|
+
params['BackUpContents'].each do |i|
|
434
|
+
backuptablecontent_tmp = BackupTableContent.new
|
435
|
+
backuptablecontent_tmp.deserialize(i)
|
436
|
+
@BackUpContents << backuptablecontent_tmp
|
437
|
+
end
|
438
|
+
end
|
439
|
+
@BackUpStatus = params['BackUpStatus']
|
440
|
+
@RequestId = params['RequestId']
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
339
444
|
# DescribeCkSqlApis请求参数结构体
|
340
445
|
class DescribeCkSqlApisRequest < TencentCloud::Common::AbstractModel
|
341
446
|
# @param InstanceId: 实例id
|
@@ -396,6 +501,125 @@ module TencentCloud
|
|
396
501
|
end
|
397
502
|
end
|
398
503
|
|
504
|
+
# DescribeClusterConfigs请求参数结构体
|
505
|
+
class DescribeClusterConfigsRequest < TencentCloud::Common::AbstractModel
|
506
|
+
# @param InstanceId: 集群实例ID
|
507
|
+
# @type InstanceId: String
|
508
|
+
|
509
|
+
attr_accessor :InstanceId
|
510
|
+
|
511
|
+
def initialize(instanceid=nil)
|
512
|
+
@InstanceId = instanceid
|
513
|
+
end
|
514
|
+
|
515
|
+
def deserialize(params)
|
516
|
+
@InstanceId = params['InstanceId']
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# DescribeClusterConfigs返回参数结构体
|
521
|
+
class DescribeClusterConfigsResponse < TencentCloud::Common::AbstractModel
|
522
|
+
# @param ClusterConfList: 返回实例的配置文件相关的信息
|
523
|
+
# @type ClusterConfList: Array
|
524
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
525
|
+
# @type RequestId: String
|
526
|
+
|
527
|
+
attr_accessor :ClusterConfList, :RequestId
|
528
|
+
|
529
|
+
def initialize(clusterconflist=nil, requestid=nil)
|
530
|
+
@ClusterConfList = clusterconflist
|
531
|
+
@RequestId = requestid
|
532
|
+
end
|
533
|
+
|
534
|
+
def deserialize(params)
|
535
|
+
unless params['ClusterConfList'].nil?
|
536
|
+
@ClusterConfList = []
|
537
|
+
params['ClusterConfList'].each do |i|
|
538
|
+
clusterconfigsinfofromemr_tmp = ClusterConfigsInfoFromEMR.new
|
539
|
+
clusterconfigsinfofromemr_tmp.deserialize(i)
|
540
|
+
@ClusterConfList << clusterconfigsinfofromemr_tmp
|
541
|
+
end
|
542
|
+
end
|
543
|
+
@RequestId = params['RequestId']
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
# DescribeInstanceKeyValConfigs请求参数结构体
|
548
|
+
class DescribeInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
|
549
|
+
# @param InstanceId: 集群实例ID
|
550
|
+
# @type InstanceId: String
|
551
|
+
# @param SearchConfigName: 搜索的配置项名称
|
552
|
+
# @type SearchConfigName: String
|
553
|
+
|
554
|
+
attr_accessor :InstanceId, :SearchConfigName
|
555
|
+
|
556
|
+
def initialize(instanceid=nil, searchconfigname=nil)
|
557
|
+
@InstanceId = instanceid
|
558
|
+
@SearchConfigName = searchconfigname
|
559
|
+
end
|
560
|
+
|
561
|
+
def deserialize(params)
|
562
|
+
@InstanceId = params['InstanceId']
|
563
|
+
@SearchConfigName = params['SearchConfigName']
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# DescribeInstanceKeyValConfigs返回参数结构体
|
568
|
+
class DescribeInstanceKeyValConfigsResponse < TencentCloud::Common::AbstractModel
|
569
|
+
# @param ConfigItems: 参数列表
|
570
|
+
# @type ConfigItems: Array
|
571
|
+
# @param UnConfigItems: 未配置的参数列表
|
572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
573
|
+
# @type UnConfigItems: Array
|
574
|
+
# @param MapConfigItems: 配置的多层级参数列表
|
575
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
576
|
+
# @type MapConfigItems: Array
|
577
|
+
# @param ErrorMsg: 错误信息
|
578
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
579
|
+
# @type ErrorMsg: String
|
580
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
581
|
+
# @type RequestId: String
|
582
|
+
|
583
|
+
attr_accessor :ConfigItems, :UnConfigItems, :MapConfigItems, :ErrorMsg, :RequestId
|
584
|
+
|
585
|
+
def initialize(configitems=nil, unconfigitems=nil, mapconfigitems=nil, errormsg=nil, requestid=nil)
|
586
|
+
@ConfigItems = configitems
|
587
|
+
@UnConfigItems = unconfigitems
|
588
|
+
@MapConfigItems = mapconfigitems
|
589
|
+
@ErrorMsg = errormsg
|
590
|
+
@RequestId = requestid
|
591
|
+
end
|
592
|
+
|
593
|
+
def deserialize(params)
|
594
|
+
unless params['ConfigItems'].nil?
|
595
|
+
@ConfigItems = []
|
596
|
+
params['ConfigItems'].each do |i|
|
597
|
+
instanceconfiginfo_tmp = InstanceConfigInfo.new
|
598
|
+
instanceconfiginfo_tmp.deserialize(i)
|
599
|
+
@ConfigItems << instanceconfiginfo_tmp
|
600
|
+
end
|
601
|
+
end
|
602
|
+
unless params['UnConfigItems'].nil?
|
603
|
+
@UnConfigItems = []
|
604
|
+
params['UnConfigItems'].each do |i|
|
605
|
+
instanceconfiginfo_tmp = InstanceConfigInfo.new
|
606
|
+
instanceconfiginfo_tmp.deserialize(i)
|
607
|
+
@UnConfigItems << instanceconfiginfo_tmp
|
608
|
+
end
|
609
|
+
end
|
610
|
+
unless params['MapConfigItems'].nil?
|
611
|
+
@MapConfigItems = []
|
612
|
+
params['MapConfigItems'].each do |i|
|
613
|
+
mapconfigitem_tmp = MapConfigItem.new
|
614
|
+
mapconfigitem_tmp.deserialize(i)
|
615
|
+
@MapConfigItems << mapconfigitem_tmp
|
616
|
+
end
|
617
|
+
end
|
618
|
+
@ErrorMsg = params['ErrorMsg']
|
619
|
+
@RequestId = params['RequestId']
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
399
623
|
# DescribeInstance请求参数结构体
|
400
624
|
class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
|
401
625
|
# @param InstanceId: 集群实例ID
|
@@ -546,6 +770,51 @@ module TencentCloud
|
|
546
770
|
end
|
547
771
|
end
|
548
772
|
|
773
|
+
# DestroyInstance请求参数结构体
|
774
|
+
class DestroyInstanceRequest < TencentCloud::Common::AbstractModel
|
775
|
+
# @param InstanceId: 集群id
|
776
|
+
# @type InstanceId: String
|
777
|
+
|
778
|
+
attr_accessor :InstanceId
|
779
|
+
|
780
|
+
def initialize(instanceid=nil)
|
781
|
+
@InstanceId = instanceid
|
782
|
+
end
|
783
|
+
|
784
|
+
def deserialize(params)
|
785
|
+
@InstanceId = params['InstanceId']
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
# DestroyInstance返回参数结构体
|
790
|
+
class DestroyInstanceResponse < TencentCloud::Common::AbstractModel
|
791
|
+
# @param FlowID: 作业id
|
792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
793
|
+
# @type FlowID: String
|
794
|
+
# @param InstanceID: 集群id
|
795
|
+
# @type InstanceID: String
|
796
|
+
# @param ErrorMsg: 错误信息
|
797
|
+
# @type ErrorMsg: String
|
798
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
799
|
+
# @type RequestId: String
|
800
|
+
|
801
|
+
attr_accessor :FlowID, :InstanceID, :ErrorMsg, :RequestId
|
802
|
+
|
803
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
804
|
+
@FlowID = flowid
|
805
|
+
@InstanceID = instanceid
|
806
|
+
@ErrorMsg = errormsg
|
807
|
+
@RequestId = requestid
|
808
|
+
end
|
809
|
+
|
810
|
+
def deserialize(params)
|
811
|
+
@FlowID = params['FlowID']
|
812
|
+
@InstanceID = params['InstanceID']
|
813
|
+
@ErrorMsg = params['ErrorMsg']
|
814
|
+
@RequestId = params['RequestId']
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
549
818
|
# 磁盘规格描述
|
550
819
|
class DiskSpec < TencentCloud::Common::AbstractModel
|
551
820
|
# @param DiskType: 磁盘类型,例如“CLOUD_SSD", "LOCAL_SSD"等
|
@@ -578,6 +847,82 @@ module TencentCloud
|
|
578
847
|
end
|
579
848
|
end
|
580
849
|
|
850
|
+
# 集群配置信息
|
851
|
+
class InstanceConfigInfo < TencentCloud::Common::AbstractModel
|
852
|
+
# @param ConfKey: 配置项名称
|
853
|
+
# @type ConfKey: String
|
854
|
+
# @param ConfValue: 配置项内容
|
855
|
+
# @type ConfValue: String
|
856
|
+
# @param DefaultValue: 默认值
|
857
|
+
# @type DefaultValue: String
|
858
|
+
# @param NeedRestart: 是否需要重启
|
859
|
+
# @type NeedRestart: Boolean
|
860
|
+
# @param Editable: 是否可编辑
|
861
|
+
# @type Editable: Boolean
|
862
|
+
# @param ConfDesc: 配置项解释
|
863
|
+
# @type ConfDesc: String
|
864
|
+
# @param FileName: 文件名称
|
865
|
+
# @type FileName: String
|
866
|
+
# @param ModifyRuleType: 规则名称类型
|
867
|
+
# @type ModifyRuleType: String
|
868
|
+
# @param ModifyRuleValue: 规则名称内容
|
869
|
+
# @type ModifyRuleValue: String
|
870
|
+
# @param Uin: 修改人的uin
|
871
|
+
# @type Uin: String
|
872
|
+
# @param ModifyTime: 修改时间
|
873
|
+
# @type ModifyTime: String
|
874
|
+
|
875
|
+
attr_accessor :ConfKey, :ConfValue, :DefaultValue, :NeedRestart, :Editable, :ConfDesc, :FileName, :ModifyRuleType, :ModifyRuleValue, :Uin, :ModifyTime
|
876
|
+
|
877
|
+
def initialize(confkey=nil, confvalue=nil, defaultvalue=nil, needrestart=nil, editable=nil, confdesc=nil, filename=nil, modifyruletype=nil, modifyrulevalue=nil, uin=nil, modifytime=nil)
|
878
|
+
@ConfKey = confkey
|
879
|
+
@ConfValue = confvalue
|
880
|
+
@DefaultValue = defaultvalue
|
881
|
+
@NeedRestart = needrestart
|
882
|
+
@Editable = editable
|
883
|
+
@ConfDesc = confdesc
|
884
|
+
@FileName = filename
|
885
|
+
@ModifyRuleType = modifyruletype
|
886
|
+
@ModifyRuleValue = modifyrulevalue
|
887
|
+
@Uin = uin
|
888
|
+
@ModifyTime = modifytime
|
889
|
+
end
|
890
|
+
|
891
|
+
def deserialize(params)
|
892
|
+
@ConfKey = params['ConfKey']
|
893
|
+
@ConfValue = params['ConfValue']
|
894
|
+
@DefaultValue = params['DefaultValue']
|
895
|
+
@NeedRestart = params['NeedRestart']
|
896
|
+
@Editable = params['Editable']
|
897
|
+
@ConfDesc = params['ConfDesc']
|
898
|
+
@FileName = params['FileName']
|
899
|
+
@ModifyRuleType = params['ModifyRuleType']
|
900
|
+
@ModifyRuleValue = params['ModifyRuleValue']
|
901
|
+
@Uin = params['Uin']
|
902
|
+
@ModifyTime = params['ModifyTime']
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
# KV配置
|
907
|
+
class InstanceConfigItem < TencentCloud::Common::AbstractModel
|
908
|
+
# @param ConfKey: key
|
909
|
+
# @type ConfKey: String
|
910
|
+
# @param ConfValue: value
|
911
|
+
# @type ConfValue: String
|
912
|
+
|
913
|
+
attr_accessor :ConfKey, :ConfValue
|
914
|
+
|
915
|
+
def initialize(confkey=nil, confvalue=nil)
|
916
|
+
@ConfKey = confkey
|
917
|
+
@ConfValue = confvalue
|
918
|
+
end
|
919
|
+
|
920
|
+
def deserialize(params)
|
921
|
+
@ConfKey = params['ConfKey']
|
922
|
+
@ConfValue = params['ConfValue']
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
581
926
|
# 实例描述信息
|
582
927
|
class InstanceInfo < TencentCloud::Common::AbstractModel
|
583
928
|
# @param InstanceId: 集群实例ID, "cdw-xxxx" 字符串类型
|
@@ -756,6 +1101,33 @@ module TencentCloud
|
|
756
1101
|
end
|
757
1102
|
end
|
758
1103
|
|
1104
|
+
# kv配置,多层级item
|
1105
|
+
class MapConfigItem < TencentCloud::Common::AbstractModel
|
1106
|
+
# @param ConfKey: key
|
1107
|
+
# @type ConfKey: String
|
1108
|
+
# @param Items: 列表
|
1109
|
+
# @type Items: Array
|
1110
|
+
|
1111
|
+
attr_accessor :ConfKey, :Items
|
1112
|
+
|
1113
|
+
def initialize(confkey=nil, items=nil)
|
1114
|
+
@ConfKey = confkey
|
1115
|
+
@Items = items
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
def deserialize(params)
|
1119
|
+
@ConfKey = params['ConfKey']
|
1120
|
+
unless params['Items'].nil?
|
1121
|
+
@Items = []
|
1122
|
+
params['Items'].each do |i|
|
1123
|
+
instanceconfiginfo_tmp = InstanceConfigInfo.new
|
1124
|
+
instanceconfiginfo_tmp.deserialize(i)
|
1125
|
+
@Items << instanceconfiginfo_tmp
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
|
759
1131
|
# ModifyClusterConfigs请求参数结构体
|
760
1132
|
class ModifyClusterConfigsRequest < TencentCloud::Common::AbstractModel
|
761
1133
|
# @param InstanceId: 集群ID,例如cdwch-xxxx
|
@@ -811,6 +1183,91 @@ module TencentCloud
|
|
811
1183
|
end
|
812
1184
|
end
|
813
1185
|
|
1186
|
+
# ModifyInstanceKeyValConfigs请求参数结构体
|
1187
|
+
class ModifyInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
|
1188
|
+
# @param InstanceId: 实例ID
|
1189
|
+
# @type InstanceId: String
|
1190
|
+
# @param AddItems: 新增配置列表
|
1191
|
+
# @type AddItems: Array
|
1192
|
+
# @param UpdateItems: 更新配置列表
|
1193
|
+
# @type UpdateItems: Array
|
1194
|
+
# @param DeleteItems: 删除配置列表
|
1195
|
+
# @type DeleteItems: :class:`Tencentcloud::Cdwch.v20200915.models.InstanceConfigItem`
|
1196
|
+
# @param DelItems: 删除配置列表
|
1197
|
+
# @type DelItems: Array
|
1198
|
+
# @param Remark: 备注
|
1199
|
+
# @type Remark: String
|
1200
|
+
|
1201
|
+
attr_accessor :InstanceId, :AddItems, :UpdateItems, :DeleteItems, :DelItems, :Remark
|
1202
|
+
|
1203
|
+
def initialize(instanceid=nil, additems=nil, updateitems=nil, deleteitems=nil, delitems=nil, remark=nil)
|
1204
|
+
@InstanceId = instanceid
|
1205
|
+
@AddItems = additems
|
1206
|
+
@UpdateItems = updateitems
|
1207
|
+
@DeleteItems = deleteitems
|
1208
|
+
@DelItems = delitems
|
1209
|
+
@Remark = remark
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
def deserialize(params)
|
1213
|
+
@InstanceId = params['InstanceId']
|
1214
|
+
unless params['AddItems'].nil?
|
1215
|
+
@AddItems = []
|
1216
|
+
params['AddItems'].each do |i|
|
1217
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1218
|
+
instanceconfigitem_tmp.deserialize(i)
|
1219
|
+
@AddItems << instanceconfigitem_tmp
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
unless params['UpdateItems'].nil?
|
1223
|
+
@UpdateItems = []
|
1224
|
+
params['UpdateItems'].each do |i|
|
1225
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1226
|
+
instanceconfigitem_tmp.deserialize(i)
|
1227
|
+
@UpdateItems << instanceconfigitem_tmp
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
unless params['DeleteItems'].nil?
|
1231
|
+
@DeleteItems = InstanceConfigItem.new
|
1232
|
+
@DeleteItems.deserialize(params['DeleteItems'])
|
1233
|
+
end
|
1234
|
+
unless params['DelItems'].nil?
|
1235
|
+
@DelItems = []
|
1236
|
+
params['DelItems'].each do |i|
|
1237
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1238
|
+
instanceconfigitem_tmp.deserialize(i)
|
1239
|
+
@DelItems << instanceconfigitem_tmp
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
@Remark = params['Remark']
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# ModifyInstanceKeyValConfigs返回参数结构体
|
1247
|
+
class ModifyInstanceKeyValConfigsResponse < TencentCloud::Common::AbstractModel
|
1248
|
+
# @param ErrorMsg: 错误信息
|
1249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1250
|
+
# @type ErrorMsg: String
|
1251
|
+
# @param FlowId: ID
|
1252
|
+
# @type FlowId: Integer
|
1253
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1254
|
+
# @type RequestId: String
|
1255
|
+
|
1256
|
+
attr_accessor :ErrorMsg, :FlowId, :RequestId
|
1257
|
+
|
1258
|
+
def initialize(errormsg=nil, flowid=nil, requestid=nil)
|
1259
|
+
@ErrorMsg = errormsg
|
1260
|
+
@FlowId = flowid
|
1261
|
+
@RequestId = requestid
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def deserialize(params)
|
1265
|
+
@ErrorMsg = params['ErrorMsg']
|
1266
|
+
@FlowId = params['FlowId']
|
1267
|
+
@RequestId = params['RequestId']
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
814
1271
|
# ModifyUserNewPrivilege请求参数结构体
|
815
1272
|
class ModifyUserNewPrivilegeRequest < TencentCloud::Common::AbstractModel
|
816
1273
|
|
@@ -942,6 +1399,61 @@ module TencentCloud
|
|
942
1399
|
end
|
943
1400
|
end
|
944
1401
|
|
1402
|
+
# ResizeDisk请求参数结构体
|
1403
|
+
class ResizeDiskRequest < TencentCloud::Common::AbstractModel
|
1404
|
+
# @param InstanceId: 实例唯一ID
|
1405
|
+
# @type InstanceId: String
|
1406
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1407
|
+
# @type Type: String
|
1408
|
+
# @param DiskSize: 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
|
1409
|
+
# @type DiskSize: Integer
|
1410
|
+
|
1411
|
+
attr_accessor :InstanceId, :Type, :DiskSize
|
1412
|
+
|
1413
|
+
def initialize(instanceid=nil, type=nil, disksize=nil)
|
1414
|
+
@InstanceId = instanceid
|
1415
|
+
@Type = type
|
1416
|
+
@DiskSize = disksize
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
def deserialize(params)
|
1420
|
+
@InstanceId = params['InstanceId']
|
1421
|
+
@Type = params['Type']
|
1422
|
+
@DiskSize = params['DiskSize']
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
# ResizeDisk返回参数结构体
|
1427
|
+
class ResizeDiskResponse < TencentCloud::Common::AbstractModel
|
1428
|
+
# @param FlowId: 流程ID
|
1429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1430
|
+
# @type FlowId: String
|
1431
|
+
# @param InstanceId: 实例ID
|
1432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1433
|
+
# @type InstanceId: String
|
1434
|
+
# @param ErrorMsg: 错误信息
|
1435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1436
|
+
# @type ErrorMsg: String
|
1437
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1438
|
+
# @type RequestId: String
|
1439
|
+
|
1440
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1441
|
+
|
1442
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1443
|
+
@FlowId = flowid
|
1444
|
+
@InstanceId = instanceid
|
1445
|
+
@ErrorMsg = errormsg
|
1446
|
+
@RequestId = requestid
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
def deserialize(params)
|
1450
|
+
@FlowId = params['FlowId']
|
1451
|
+
@InstanceId = params['InstanceId']
|
1452
|
+
@ErrorMsg = params['ErrorMsg']
|
1453
|
+
@RequestId = params['RequestId']
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
945
1457
|
# 资源规格描述信息
|
946
1458
|
class ResourceSpec < TencentCloud::Common::AbstractModel
|
947
1459
|
# @param Name: 规格名称,例如“SCH1"
|
@@ -1008,6 +1520,170 @@ module TencentCloud
|
|
1008
1520
|
end
|
1009
1521
|
end
|
1010
1522
|
|
1523
|
+
# ScaleOutInstance请求参数结构体
|
1524
|
+
class ScaleOutInstanceRequest < TencentCloud::Common::AbstractModel
|
1525
|
+
# @param InstanceId: 实例唯一ID
|
1526
|
+
# @type InstanceId: String
|
1527
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1528
|
+
# @type Type: String
|
1529
|
+
# @param NodeCount: 调整clickhouse节点数量
|
1530
|
+
# @type NodeCount: Integer
|
1531
|
+
# @param ScaleOutCluster: v_cluster分组,
|
1532
|
+
# 新增扩容节点将加入到已选择的v_cluster分组中,提交同步VIP生效.
|
1533
|
+
# @type ScaleOutCluster: String
|
1534
|
+
# @param UserSubnetIPNum: 子网剩余ip数量,用于判断当前实例子网剩余ip数是否能扩容。需要根据实际填写
|
1535
|
+
# @type UserSubnetIPNum: Integer
|
1536
|
+
# @param ScaleOutNodeIp: 同步元数据节点IP (uip)
|
1537
|
+
# @type ScaleOutNodeIp: String
|
1538
|
+
# @param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip都传入以逗号分隔
|
1539
|
+
# @type ReduceShardInfo: Array
|
1540
|
+
|
1541
|
+
attr_accessor :InstanceId, :Type, :NodeCount, :ScaleOutCluster, :UserSubnetIPNum, :ScaleOutNodeIp, :ReduceShardInfo
|
1542
|
+
|
1543
|
+
def initialize(instanceid=nil, type=nil, nodecount=nil, scaleoutcluster=nil, usersubnetipnum=nil, scaleoutnodeip=nil, reduceshardinfo=nil)
|
1544
|
+
@InstanceId = instanceid
|
1545
|
+
@Type = type
|
1546
|
+
@NodeCount = nodecount
|
1547
|
+
@ScaleOutCluster = scaleoutcluster
|
1548
|
+
@UserSubnetIPNum = usersubnetipnum
|
1549
|
+
@ScaleOutNodeIp = scaleoutnodeip
|
1550
|
+
@ReduceShardInfo = reduceshardinfo
|
1551
|
+
end
|
1552
|
+
|
1553
|
+
def deserialize(params)
|
1554
|
+
@InstanceId = params['InstanceId']
|
1555
|
+
@Type = params['Type']
|
1556
|
+
@NodeCount = params['NodeCount']
|
1557
|
+
@ScaleOutCluster = params['ScaleOutCluster']
|
1558
|
+
@UserSubnetIPNum = params['UserSubnetIPNum']
|
1559
|
+
@ScaleOutNodeIp = params['ScaleOutNodeIp']
|
1560
|
+
@ReduceShardInfo = params['ReduceShardInfo']
|
1561
|
+
end
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# ScaleOutInstance返回参数结构体
|
1565
|
+
class ScaleOutInstanceResponse < TencentCloud::Common::AbstractModel
|
1566
|
+
# @param FlowId: 流程ID
|
1567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1568
|
+
# @type FlowId: String
|
1569
|
+
# @param InstanceId: 实例ID
|
1570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1571
|
+
# @type InstanceId: String
|
1572
|
+
# @param ErrorMsg: 错误信息
|
1573
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1574
|
+
# @type ErrorMsg: String
|
1575
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1576
|
+
# @type RequestId: String
|
1577
|
+
|
1578
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1579
|
+
|
1580
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1581
|
+
@FlowId = flowid
|
1582
|
+
@InstanceId = instanceid
|
1583
|
+
@ErrorMsg = errormsg
|
1584
|
+
@RequestId = requestid
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
def deserialize(params)
|
1588
|
+
@FlowId = params['FlowId']
|
1589
|
+
@InstanceId = params['InstanceId']
|
1590
|
+
@ErrorMsg = params['ErrorMsg']
|
1591
|
+
@RequestId = params['RequestId']
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# ScaleUpInstance请求参数结构体
|
1596
|
+
class ScaleUpInstanceRequest < TencentCloud::Common::AbstractModel
|
1597
|
+
# @param InstanceId: 实例唯一ID
|
1598
|
+
# @type InstanceId: String
|
1599
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1600
|
+
# @type Type: String
|
1601
|
+
# @param SpecName: clickhouse节点规格。
|
1602
|
+
# @type SpecName: String
|
1603
|
+
# @param ScaleUpEnableRolling: 是否滚动重启,false为不滚动重启,true为滚动重启
|
1604
|
+
# @type ScaleUpEnableRolling: Boolean
|
1605
|
+
|
1606
|
+
attr_accessor :InstanceId, :Type, :SpecName, :ScaleUpEnableRolling
|
1607
|
+
|
1608
|
+
def initialize(instanceid=nil, type=nil, specname=nil, scaleupenablerolling=nil)
|
1609
|
+
@InstanceId = instanceid
|
1610
|
+
@Type = type
|
1611
|
+
@SpecName = specname
|
1612
|
+
@ScaleUpEnableRolling = scaleupenablerolling
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
def deserialize(params)
|
1616
|
+
@InstanceId = params['InstanceId']
|
1617
|
+
@Type = params['Type']
|
1618
|
+
@SpecName = params['SpecName']
|
1619
|
+
@ScaleUpEnableRolling = params['ScaleUpEnableRolling']
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# ScaleUpInstance返回参数结构体
|
1624
|
+
class ScaleUpInstanceResponse < TencentCloud::Common::AbstractModel
|
1625
|
+
# @param FlowId: 流程ID
|
1626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1627
|
+
# @type FlowId: String
|
1628
|
+
# @param InstanceId: 实例ID
|
1629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1630
|
+
# @type InstanceId: String
|
1631
|
+
# @param ErrorMsg: 错误信息
|
1632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1633
|
+
# @type ErrorMsg: String
|
1634
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1635
|
+
# @type RequestId: String
|
1636
|
+
|
1637
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1638
|
+
|
1639
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1640
|
+
@FlowId = flowid
|
1641
|
+
@InstanceId = instanceid
|
1642
|
+
@ErrorMsg = errormsg
|
1643
|
+
@RequestId = requestid
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
def deserialize(params)
|
1647
|
+
@FlowId = params['FlowId']
|
1648
|
+
@InstanceId = params['InstanceId']
|
1649
|
+
@ErrorMsg = params['ErrorMsg']
|
1650
|
+
@RequestId = params['RequestId']
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
# 策略详情
|
1655
|
+
class ScheduleStrategy < TencentCloud::Common::AbstractModel
|
1656
|
+
# @param CosBucketName: 备份桶列表
|
1657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1658
|
+
# @type CosBucketName: String
|
1659
|
+
# @param RetainDays: 备份保留天数
|
1660
|
+
# @type RetainDays: Integer
|
1661
|
+
# @param WeekDays: 备份的天
|
1662
|
+
# @type WeekDays: String
|
1663
|
+
# @param ExecuteHour: 备份小时
|
1664
|
+
# @type ExecuteHour: Integer
|
1665
|
+
# @param ScheduleId: 策略id
|
1666
|
+
# @type ScheduleId: Integer
|
1667
|
+
|
1668
|
+
attr_accessor :CosBucketName, :RetainDays, :WeekDays, :ExecuteHour, :ScheduleId
|
1669
|
+
|
1670
|
+
def initialize(cosbucketname=nil, retaindays=nil, weekdays=nil, executehour=nil, scheduleid=nil)
|
1671
|
+
@CosBucketName = cosbucketname
|
1672
|
+
@RetainDays = retaindays
|
1673
|
+
@WeekDays = weekdays
|
1674
|
+
@ExecuteHour = executehour
|
1675
|
+
@ScheduleId = scheduleid
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
def deserialize(params)
|
1679
|
+
@CosBucketName = params['CosBucketName']
|
1680
|
+
@RetainDays = params['RetainDays']
|
1681
|
+
@WeekDays = params['WeekDays']
|
1682
|
+
@ExecuteHour = params['ExecuteHour']
|
1683
|
+
@ScheduleId = params['ScheduleId']
|
1684
|
+
end
|
1685
|
+
end
|
1686
|
+
|
1011
1687
|
# 标签描述
|
1012
1688
|
class Tag < TencentCloud::Common::AbstractModel
|
1013
1689
|
# @param TagKey: 标签的键
|
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.504
|
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-02-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|