tencentcloud-sdk-cdwch 3.0.501 → 3.0.503
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 +168 -0
- data/lib/v20200915/models.rb +627 -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: 76678cc1e47f31799efc4999e8dc84a8798a9738
|
4
|
+
data.tar.gz: ee3c88316bdcde07c8a854631b9b4e01c2f441a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ae27ac8997ef33f30cf0df90f1bfb47ee7a772b5434e7172bb74dbb27f0292ddb4de0120b7e7c3da7200f71c10fc2751658094e926bf28f1958bfac55f75384
|
7
|
+
data.tar.gz: 10ce98e6bad9f019c21559958236bc5fad34314117906161c7e4a13e04021f91908f6c2e4ec6b0c76ef7c31d1f7124872f784805486de52a97ce031fb6237ebc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.503
|
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.
|
@@ -221,6 +293,30 @@ module TencentCloud
|
|
221
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
294
|
end
|
223
295
|
|
296
|
+
# KV模式修改配置接口
|
297
|
+
|
298
|
+
# @param request: Request instance for ModifyInstanceKeyValConfigs.
|
299
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ModifyInstanceKeyValConfigsRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ModifyInstanceKeyValConfigsResponse`
|
301
|
+
def ModifyInstanceKeyValConfigs(request)
|
302
|
+
body = send_request('ModifyInstanceKeyValConfigs', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = ModifyInstanceKeyValConfigsResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
224
320
|
# 针对ck账号的权限做管控(新版)
|
225
321
|
|
226
322
|
# @param request: Request instance for ModifyUserNewPrivilege.
|
@@ -269,6 +365,78 @@ module TencentCloud
|
|
269
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
366
|
end
|
271
367
|
|
368
|
+
# 扩容磁盘,包含扩容数据节点,zk节点
|
369
|
+
|
370
|
+
# @param request: Request instance for ResizeDisk.
|
371
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ResizeDiskRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ResizeDiskResponse`
|
373
|
+
def ResizeDisk(request)
|
374
|
+
body = send_request('ResizeDisk', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = ResizeDiskResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
392
|
+
# 调整clickhouse节点数量
|
393
|
+
|
394
|
+
# @param request: Request instance for ScaleOutInstance.
|
395
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ScaleOutInstanceRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ScaleOutInstanceResponse`
|
397
|
+
def ScaleOutInstance(request)
|
398
|
+
body = send_request('ScaleOutInstance', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = ScaleOutInstanceResponse.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
|
+
# 垂直扩缩容节点规格,修改节点cvm的规格cpu,内存。 规格变化阶段,服务不可用。
|
417
|
+
|
418
|
+
# @param request: Request instance for ScaleUpInstance.
|
419
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::ScaleUpInstanceRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::ScaleUpInstanceResponse`
|
421
|
+
def ScaleUpInstance(request)
|
422
|
+
body = send_request('ScaleUpInstance', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = ScaleUpInstanceResponse.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
|
+
|
272
440
|
|
273
441
|
end
|
274
442
|
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
|
@@ -578,6 +802,82 @@ module TencentCloud
|
|
578
802
|
end
|
579
803
|
end
|
580
804
|
|
805
|
+
# 集群配置信息
|
806
|
+
class InstanceConfigInfo < TencentCloud::Common::AbstractModel
|
807
|
+
# @param ConfKey: 配置项名称
|
808
|
+
# @type ConfKey: String
|
809
|
+
# @param ConfValue: 配置项内容
|
810
|
+
# @type ConfValue: String
|
811
|
+
# @param DefaultValue: 默认值
|
812
|
+
# @type DefaultValue: String
|
813
|
+
# @param NeedRestart: 是否需要重启
|
814
|
+
# @type NeedRestart: Boolean
|
815
|
+
# @param Editable: 是否可编辑
|
816
|
+
# @type Editable: Boolean
|
817
|
+
# @param ConfDesc: 配置项解释
|
818
|
+
# @type ConfDesc: String
|
819
|
+
# @param FileName: 文件名称
|
820
|
+
# @type FileName: String
|
821
|
+
# @param ModifyRuleType: 规则名称类型
|
822
|
+
# @type ModifyRuleType: String
|
823
|
+
# @param ModifyRuleValue: 规则名称内容
|
824
|
+
# @type ModifyRuleValue: String
|
825
|
+
# @param Uin: 修改人的uin
|
826
|
+
# @type Uin: String
|
827
|
+
# @param ModifyTime: 修改时间
|
828
|
+
# @type ModifyTime: String
|
829
|
+
|
830
|
+
attr_accessor :ConfKey, :ConfValue, :DefaultValue, :NeedRestart, :Editable, :ConfDesc, :FileName, :ModifyRuleType, :ModifyRuleValue, :Uin, :ModifyTime
|
831
|
+
|
832
|
+
def initialize(confkey=nil, confvalue=nil, defaultvalue=nil, needrestart=nil, editable=nil, confdesc=nil, filename=nil, modifyruletype=nil, modifyrulevalue=nil, uin=nil, modifytime=nil)
|
833
|
+
@ConfKey = confkey
|
834
|
+
@ConfValue = confvalue
|
835
|
+
@DefaultValue = defaultvalue
|
836
|
+
@NeedRestart = needrestart
|
837
|
+
@Editable = editable
|
838
|
+
@ConfDesc = confdesc
|
839
|
+
@FileName = filename
|
840
|
+
@ModifyRuleType = modifyruletype
|
841
|
+
@ModifyRuleValue = modifyrulevalue
|
842
|
+
@Uin = uin
|
843
|
+
@ModifyTime = modifytime
|
844
|
+
end
|
845
|
+
|
846
|
+
def deserialize(params)
|
847
|
+
@ConfKey = params['ConfKey']
|
848
|
+
@ConfValue = params['ConfValue']
|
849
|
+
@DefaultValue = params['DefaultValue']
|
850
|
+
@NeedRestart = params['NeedRestart']
|
851
|
+
@Editable = params['Editable']
|
852
|
+
@ConfDesc = params['ConfDesc']
|
853
|
+
@FileName = params['FileName']
|
854
|
+
@ModifyRuleType = params['ModifyRuleType']
|
855
|
+
@ModifyRuleValue = params['ModifyRuleValue']
|
856
|
+
@Uin = params['Uin']
|
857
|
+
@ModifyTime = params['ModifyTime']
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
# KV配置
|
862
|
+
class InstanceConfigItem < TencentCloud::Common::AbstractModel
|
863
|
+
# @param ConfKey: key
|
864
|
+
# @type ConfKey: String
|
865
|
+
# @param ConfValue: value
|
866
|
+
# @type ConfValue: String
|
867
|
+
|
868
|
+
attr_accessor :ConfKey, :ConfValue
|
869
|
+
|
870
|
+
def initialize(confkey=nil, confvalue=nil)
|
871
|
+
@ConfKey = confkey
|
872
|
+
@ConfValue = confvalue
|
873
|
+
end
|
874
|
+
|
875
|
+
def deserialize(params)
|
876
|
+
@ConfKey = params['ConfKey']
|
877
|
+
@ConfValue = params['ConfValue']
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
581
881
|
# 实例描述信息
|
582
882
|
class InstanceInfo < TencentCloud::Common::AbstractModel
|
583
883
|
# @param InstanceId: 集群实例ID, "cdw-xxxx" 字符串类型
|
@@ -756,6 +1056,33 @@ module TencentCloud
|
|
756
1056
|
end
|
757
1057
|
end
|
758
1058
|
|
1059
|
+
# kv配置,多层级item
|
1060
|
+
class MapConfigItem < TencentCloud::Common::AbstractModel
|
1061
|
+
# @param ConfKey: key
|
1062
|
+
# @type ConfKey: String
|
1063
|
+
# @param Items: 列表
|
1064
|
+
# @type Items: Array
|
1065
|
+
|
1066
|
+
attr_accessor :ConfKey, :Items
|
1067
|
+
|
1068
|
+
def initialize(confkey=nil, items=nil)
|
1069
|
+
@ConfKey = confkey
|
1070
|
+
@Items = items
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def deserialize(params)
|
1074
|
+
@ConfKey = params['ConfKey']
|
1075
|
+
unless params['Items'].nil?
|
1076
|
+
@Items = []
|
1077
|
+
params['Items'].each do |i|
|
1078
|
+
instanceconfiginfo_tmp = InstanceConfigInfo.new
|
1079
|
+
instanceconfiginfo_tmp.deserialize(i)
|
1080
|
+
@Items << instanceconfiginfo_tmp
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
|
759
1086
|
# ModifyClusterConfigs请求参数结构体
|
760
1087
|
class ModifyClusterConfigsRequest < TencentCloud::Common::AbstractModel
|
761
1088
|
# @param InstanceId: 集群ID,例如cdwch-xxxx
|
@@ -811,6 +1138,91 @@ module TencentCloud
|
|
811
1138
|
end
|
812
1139
|
end
|
813
1140
|
|
1141
|
+
# ModifyInstanceKeyValConfigs请求参数结构体
|
1142
|
+
class ModifyInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
|
1143
|
+
# @param InstanceId: 实例ID
|
1144
|
+
# @type InstanceId: String
|
1145
|
+
# @param AddItems: 新增配置列表
|
1146
|
+
# @type AddItems: Array
|
1147
|
+
# @param UpdateItems: 更新配置列表
|
1148
|
+
# @type UpdateItems: Array
|
1149
|
+
# @param DeleteItems: 删除配置列表
|
1150
|
+
# @type DeleteItems: :class:`Tencentcloud::Cdwch.v20200915.models.InstanceConfigItem`
|
1151
|
+
# @param DelItems: 删除配置列表
|
1152
|
+
# @type DelItems: Array
|
1153
|
+
# @param Remark: 备注
|
1154
|
+
# @type Remark: String
|
1155
|
+
|
1156
|
+
attr_accessor :InstanceId, :AddItems, :UpdateItems, :DeleteItems, :DelItems, :Remark
|
1157
|
+
|
1158
|
+
def initialize(instanceid=nil, additems=nil, updateitems=nil, deleteitems=nil, delitems=nil, remark=nil)
|
1159
|
+
@InstanceId = instanceid
|
1160
|
+
@AddItems = additems
|
1161
|
+
@UpdateItems = updateitems
|
1162
|
+
@DeleteItems = deleteitems
|
1163
|
+
@DelItems = delitems
|
1164
|
+
@Remark = remark
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
def deserialize(params)
|
1168
|
+
@InstanceId = params['InstanceId']
|
1169
|
+
unless params['AddItems'].nil?
|
1170
|
+
@AddItems = []
|
1171
|
+
params['AddItems'].each do |i|
|
1172
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1173
|
+
instanceconfigitem_tmp.deserialize(i)
|
1174
|
+
@AddItems << instanceconfigitem_tmp
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
unless params['UpdateItems'].nil?
|
1178
|
+
@UpdateItems = []
|
1179
|
+
params['UpdateItems'].each do |i|
|
1180
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1181
|
+
instanceconfigitem_tmp.deserialize(i)
|
1182
|
+
@UpdateItems << instanceconfigitem_tmp
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
unless params['DeleteItems'].nil?
|
1186
|
+
@DeleteItems = InstanceConfigItem.new
|
1187
|
+
@DeleteItems.deserialize(params['DeleteItems'])
|
1188
|
+
end
|
1189
|
+
unless params['DelItems'].nil?
|
1190
|
+
@DelItems = []
|
1191
|
+
params['DelItems'].each do |i|
|
1192
|
+
instanceconfigitem_tmp = InstanceConfigItem.new
|
1193
|
+
instanceconfigitem_tmp.deserialize(i)
|
1194
|
+
@DelItems << instanceconfigitem_tmp
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
@Remark = params['Remark']
|
1198
|
+
end
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# ModifyInstanceKeyValConfigs返回参数结构体
|
1202
|
+
class ModifyInstanceKeyValConfigsResponse < TencentCloud::Common::AbstractModel
|
1203
|
+
# @param ErrorMsg: 错误信息
|
1204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1205
|
+
# @type ErrorMsg: String
|
1206
|
+
# @param FlowId: ID
|
1207
|
+
# @type FlowId: Integer
|
1208
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1209
|
+
# @type RequestId: String
|
1210
|
+
|
1211
|
+
attr_accessor :ErrorMsg, :FlowId, :RequestId
|
1212
|
+
|
1213
|
+
def initialize(errormsg=nil, flowid=nil, requestid=nil)
|
1214
|
+
@ErrorMsg = errormsg
|
1215
|
+
@FlowId = flowid
|
1216
|
+
@RequestId = requestid
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
def deserialize(params)
|
1220
|
+
@ErrorMsg = params['ErrorMsg']
|
1221
|
+
@FlowId = params['FlowId']
|
1222
|
+
@RequestId = params['RequestId']
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
814
1226
|
# ModifyUserNewPrivilege请求参数结构体
|
815
1227
|
class ModifyUserNewPrivilegeRequest < TencentCloud::Common::AbstractModel
|
816
1228
|
|
@@ -942,6 +1354,61 @@ module TencentCloud
|
|
942
1354
|
end
|
943
1355
|
end
|
944
1356
|
|
1357
|
+
# ResizeDisk请求参数结构体
|
1358
|
+
class ResizeDiskRequest < TencentCloud::Common::AbstractModel
|
1359
|
+
# @param InstanceId: 实例唯一ID
|
1360
|
+
# @type InstanceId: String
|
1361
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1362
|
+
# @type Type: String
|
1363
|
+
# @param DiskSize: 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
|
1364
|
+
# @type DiskSize: Integer
|
1365
|
+
|
1366
|
+
attr_accessor :InstanceId, :Type, :DiskSize
|
1367
|
+
|
1368
|
+
def initialize(instanceid=nil, type=nil, disksize=nil)
|
1369
|
+
@InstanceId = instanceid
|
1370
|
+
@Type = type
|
1371
|
+
@DiskSize = disksize
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
def deserialize(params)
|
1375
|
+
@InstanceId = params['InstanceId']
|
1376
|
+
@Type = params['Type']
|
1377
|
+
@DiskSize = params['DiskSize']
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# ResizeDisk返回参数结构体
|
1382
|
+
class ResizeDiskResponse < TencentCloud::Common::AbstractModel
|
1383
|
+
# @param FlowId: 流程ID
|
1384
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1385
|
+
# @type FlowId: String
|
1386
|
+
# @param InstanceId: 实例ID
|
1387
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1388
|
+
# @type InstanceId: String
|
1389
|
+
# @param ErrorMsg: 错误信息
|
1390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1391
|
+
# @type ErrorMsg: String
|
1392
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1393
|
+
# @type RequestId: String
|
1394
|
+
|
1395
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1396
|
+
|
1397
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1398
|
+
@FlowId = flowid
|
1399
|
+
@InstanceId = instanceid
|
1400
|
+
@ErrorMsg = errormsg
|
1401
|
+
@RequestId = requestid
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
def deserialize(params)
|
1405
|
+
@FlowId = params['FlowId']
|
1406
|
+
@InstanceId = params['InstanceId']
|
1407
|
+
@ErrorMsg = params['ErrorMsg']
|
1408
|
+
@RequestId = params['RequestId']
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
945
1412
|
# 资源规格描述信息
|
946
1413
|
class ResourceSpec < TencentCloud::Common::AbstractModel
|
947
1414
|
# @param Name: 规格名称,例如“SCH1"
|
@@ -1008,6 +1475,166 @@ module TencentCloud
|
|
1008
1475
|
end
|
1009
1476
|
end
|
1010
1477
|
|
1478
|
+
# ScaleOutInstance请求参数结构体
|
1479
|
+
class ScaleOutInstanceRequest < TencentCloud::Common::AbstractModel
|
1480
|
+
# @param InstanceId: 实例唯一ID
|
1481
|
+
# @type InstanceId: String
|
1482
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1483
|
+
# @type Type: String
|
1484
|
+
# @param NodeCount: 调整clickhouse节点数量
|
1485
|
+
# @type NodeCount: Integer
|
1486
|
+
# @param ScaleOutCluster: v_cluster分组,
|
1487
|
+
# 新增扩容节点将加入到已选择的v_cluster分组中,提交同步VIP生效.
|
1488
|
+
# @type ScaleOutCluster: String
|
1489
|
+
# @param UserSubnetIPNum: 子网剩余ip数量,用于判断当前实例子网剩余ip数是否能扩容。需要根据实际填写
|
1490
|
+
# @type UserSubnetIPNum: Integer
|
1491
|
+
# @param ScaleOutNodeIp: 节点同步ip
|
1492
|
+
# @type ScaleOutNodeIp: String
|
1493
|
+
|
1494
|
+
attr_accessor :InstanceId, :Type, :NodeCount, :ScaleOutCluster, :UserSubnetIPNum, :ScaleOutNodeIp
|
1495
|
+
|
1496
|
+
def initialize(instanceid=nil, type=nil, nodecount=nil, scaleoutcluster=nil, usersubnetipnum=nil, scaleoutnodeip=nil)
|
1497
|
+
@InstanceId = instanceid
|
1498
|
+
@Type = type
|
1499
|
+
@NodeCount = nodecount
|
1500
|
+
@ScaleOutCluster = scaleoutcluster
|
1501
|
+
@UserSubnetIPNum = usersubnetipnum
|
1502
|
+
@ScaleOutNodeIp = scaleoutnodeip
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
def deserialize(params)
|
1506
|
+
@InstanceId = params['InstanceId']
|
1507
|
+
@Type = params['Type']
|
1508
|
+
@NodeCount = params['NodeCount']
|
1509
|
+
@ScaleOutCluster = params['ScaleOutCluster']
|
1510
|
+
@UserSubnetIPNum = params['UserSubnetIPNum']
|
1511
|
+
@ScaleOutNodeIp = params['ScaleOutNodeIp']
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# ScaleOutInstance返回参数结构体
|
1516
|
+
class ScaleOutInstanceResponse < TencentCloud::Common::AbstractModel
|
1517
|
+
# @param FlowId: 流程ID
|
1518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1519
|
+
# @type FlowId: String
|
1520
|
+
# @param InstanceId: 实例ID
|
1521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1522
|
+
# @type InstanceId: String
|
1523
|
+
# @param ErrorMsg: 错误信息
|
1524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1525
|
+
# @type ErrorMsg: String
|
1526
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1527
|
+
# @type RequestId: String
|
1528
|
+
|
1529
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1530
|
+
|
1531
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1532
|
+
@FlowId = flowid
|
1533
|
+
@InstanceId = instanceid
|
1534
|
+
@ErrorMsg = errormsg
|
1535
|
+
@RequestId = requestid
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
def deserialize(params)
|
1539
|
+
@FlowId = params['FlowId']
|
1540
|
+
@InstanceId = params['InstanceId']
|
1541
|
+
@ErrorMsg = params['ErrorMsg']
|
1542
|
+
@RequestId = params['RequestId']
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
# ScaleUpInstance请求参数结构体
|
1547
|
+
class ScaleUpInstanceRequest < TencentCloud::Common::AbstractModel
|
1548
|
+
# @param InstanceId: 实例唯一ID
|
1549
|
+
# @type InstanceId: String
|
1550
|
+
# @param Type: 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
|
1551
|
+
# @type Type: String
|
1552
|
+
# @param SpecName: clickhouse节点规格。
|
1553
|
+
# @type SpecName: String
|
1554
|
+
# @param ScaleUpEnableRolling: 是否滚动重启,false为不滚动重启,true为滚动重启
|
1555
|
+
# @type ScaleUpEnableRolling: Boolean
|
1556
|
+
|
1557
|
+
attr_accessor :InstanceId, :Type, :SpecName, :ScaleUpEnableRolling
|
1558
|
+
|
1559
|
+
def initialize(instanceid=nil, type=nil, specname=nil, scaleupenablerolling=nil)
|
1560
|
+
@InstanceId = instanceid
|
1561
|
+
@Type = type
|
1562
|
+
@SpecName = specname
|
1563
|
+
@ScaleUpEnableRolling = scaleupenablerolling
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
def deserialize(params)
|
1567
|
+
@InstanceId = params['InstanceId']
|
1568
|
+
@Type = params['Type']
|
1569
|
+
@SpecName = params['SpecName']
|
1570
|
+
@ScaleUpEnableRolling = params['ScaleUpEnableRolling']
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
# ScaleUpInstance返回参数结构体
|
1575
|
+
class ScaleUpInstanceResponse < TencentCloud::Common::AbstractModel
|
1576
|
+
# @param FlowId: 流程ID
|
1577
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1578
|
+
# @type FlowId: String
|
1579
|
+
# @param InstanceId: 实例ID
|
1580
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1581
|
+
# @type InstanceId: String
|
1582
|
+
# @param ErrorMsg: 错误信息
|
1583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1584
|
+
# @type ErrorMsg: String
|
1585
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1586
|
+
# @type RequestId: String
|
1587
|
+
|
1588
|
+
attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
|
1589
|
+
|
1590
|
+
def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
|
1591
|
+
@FlowId = flowid
|
1592
|
+
@InstanceId = instanceid
|
1593
|
+
@ErrorMsg = errormsg
|
1594
|
+
@RequestId = requestid
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
def deserialize(params)
|
1598
|
+
@FlowId = params['FlowId']
|
1599
|
+
@InstanceId = params['InstanceId']
|
1600
|
+
@ErrorMsg = params['ErrorMsg']
|
1601
|
+
@RequestId = params['RequestId']
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
# 策略详情
|
1606
|
+
class ScheduleStrategy < TencentCloud::Common::AbstractModel
|
1607
|
+
# @param CosBucketName: 备份桶列表
|
1608
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1609
|
+
# @type CosBucketName: String
|
1610
|
+
# @param RetainDays: 备份保留天数
|
1611
|
+
# @type RetainDays: Integer
|
1612
|
+
# @param WeekDays: 备份的天
|
1613
|
+
# @type WeekDays: String
|
1614
|
+
# @param ExecuteHour: 备份小时
|
1615
|
+
# @type ExecuteHour: Integer
|
1616
|
+
# @param ScheduleId: 策略id
|
1617
|
+
# @type ScheduleId: Integer
|
1618
|
+
|
1619
|
+
attr_accessor :CosBucketName, :RetainDays, :WeekDays, :ExecuteHour, :ScheduleId
|
1620
|
+
|
1621
|
+
def initialize(cosbucketname=nil, retaindays=nil, weekdays=nil, executehour=nil, scheduleid=nil)
|
1622
|
+
@CosBucketName = cosbucketname
|
1623
|
+
@RetainDays = retaindays
|
1624
|
+
@WeekDays = weekdays
|
1625
|
+
@ExecuteHour = executehour
|
1626
|
+
@ScheduleId = scheduleid
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def deserialize(params)
|
1630
|
+
@CosBucketName = params['CosBucketName']
|
1631
|
+
@RetainDays = params['RetainDays']
|
1632
|
+
@WeekDays = params['WeekDays']
|
1633
|
+
@ExecuteHour = params['ExecuteHour']
|
1634
|
+
@ScheduleId = params['ScheduleId']
|
1635
|
+
end
|
1636
|
+
end
|
1637
|
+
|
1011
1638
|
# 标签描述
|
1012
1639
|
class Tag < TencentCloud::Common::AbstractModel
|
1013
1640
|
# @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.503
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|