tencentcloud-sdk-cdwdoris 3.0.876 → 3.0.877

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,6 +45,230 @@ module TencentCloud
45
45
  end
46
46
  end
47
47
 
48
+ # 备份实例详情
49
+ class BackUpJobDisplay < TencentCloud::Common::AbstractModel
50
+ # @param JobId: 备份实例id
51
+ # @type JobId: Integer
52
+ # @param Snapshot: 备份实例名
53
+ # @type Snapshot: String
54
+ # @param BackUpSize: 备份数据量
55
+ # @type BackUpSize: Integer
56
+ # @param BackUpSingleSize: 备份单副本数据量
57
+ # 注意:此字段可能返回 null,表示取不到有效值。
58
+ # @type BackUpSingleSize: Integer
59
+ # @param BackUpTime: 实例创建时间
60
+ # @type BackUpTime: String
61
+ # @param ExpireTime: 实例过期时间
62
+ # @type ExpireTime: String
63
+ # @param JobStatus: 实例状态
64
+ # @type JobStatus: String
65
+ # @param BackupType: 0为默认。1时是对远端的doris进行备份,不周期,一次性
66
+ # 注意:此字段可能返回 null,表示取不到有效值。
67
+ # @type BackupType: Integer
68
+ # @param BackupTimeType: 0为默认。1时是立即备份。2时是迁移
69
+ # 注意:此字段可能返回 null,表示取不到有效值。
70
+ # @type BackupTimeType: Integer
71
+ # @param DorisSourceInfo: 远端doris的连接信息
72
+ # 注意:此字段可能返回 null,表示取不到有效值。
73
+ # @type DorisSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.DorisSourceInfo`
74
+ # @param JobStatusNum: 实例状态对应的数值
75
+ # 注意:此字段可能返回 null,表示取不到有效值。
76
+ # @type JobStatusNum: Integer
77
+ # @param BackupCosInfo: 备份实例中关于cos的信息
78
+ # 注意:此字段可能返回 null,表示取不到有效值。
79
+ # @type BackupCosInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.BackupCosInfo`
80
+
81
+ attr_accessor :JobId, :Snapshot, :BackUpSize, :BackUpSingleSize, :BackUpTime, :ExpireTime, :JobStatus, :BackupType, :BackupTimeType, :DorisSourceInfo, :JobStatusNum, :BackupCosInfo
82
+
83
+ def initialize(jobid=nil, snapshot=nil, backupsize=nil, backupsinglesize=nil, backuptime=nil, expiretime=nil, jobstatus=nil, backuptype=nil, backuptimetype=nil, dorissourceinfo=nil, jobstatusnum=nil, backupcosinfo=nil)
84
+ @JobId = jobid
85
+ @Snapshot = snapshot
86
+ @BackUpSize = backupsize
87
+ @BackUpSingleSize = backupsinglesize
88
+ @BackUpTime = backuptime
89
+ @ExpireTime = expiretime
90
+ @JobStatus = jobstatus
91
+ @BackupType = backuptype
92
+ @BackupTimeType = backuptimetype
93
+ @DorisSourceInfo = dorissourceinfo
94
+ @JobStatusNum = jobstatusnum
95
+ @BackupCosInfo = backupcosinfo
96
+ end
97
+
98
+ def deserialize(params)
99
+ @JobId = params['JobId']
100
+ @Snapshot = params['Snapshot']
101
+ @BackUpSize = params['BackUpSize']
102
+ @BackUpSingleSize = params['BackUpSingleSize']
103
+ @BackUpTime = params['BackUpTime']
104
+ @ExpireTime = params['ExpireTime']
105
+ @JobStatus = params['JobStatus']
106
+ @BackupType = params['BackupType']
107
+ @BackupTimeType = params['BackupTimeType']
108
+ unless params['DorisSourceInfo'].nil?
109
+ @DorisSourceInfo = DorisSourceInfo.new
110
+ @DorisSourceInfo.deserialize(params['DorisSourceInfo'])
111
+ end
112
+ @JobStatusNum = params['JobStatusNum']
113
+ unless params['BackupCosInfo'].nil?
114
+ @BackupCosInfo = BackupCosInfo.new
115
+ @BackupCosInfo.deserialize(params['BackupCosInfo'])
116
+ end
117
+ end
118
+ end
119
+
120
+ # 备份实例中关于cos的信息
121
+ class BackupCosInfo < TencentCloud::Common::AbstractModel
122
+ # @param CosBucket: 备份文件所在的cos桶
123
+ # 注意:此字段可能返回 null,表示取不到有效值。
124
+ # @type CosBucket: String
125
+ # @param CosPath: 备份文件所在的完整cos路径
126
+ # 注意:此字段可能返回 null,表示取不到有效值。
127
+ # @type CosPath: String
128
+ # @param SnapShotPath: 备份文件名称
129
+ # 注意:此字段可能返回 null,表示取不到有效值。
130
+ # @type SnapShotPath: String
131
+
132
+ attr_accessor :CosBucket, :CosPath, :SnapShotPath
133
+
134
+ def initialize(cosbucket=nil, cospath=nil, snapshotpath=nil)
135
+ @CosBucket = cosbucket
136
+ @CosPath = cospath
137
+ @SnapShotPath = snapshotpath
138
+ end
139
+
140
+ def deserialize(params)
141
+ @CosBucket = params['CosBucket']
142
+ @CosPath = params['CosPath']
143
+ @SnapShotPath = params['SnapShotPath']
144
+ end
145
+ end
146
+
147
+ # 备份任务的进度详情
148
+ class BackupStatus < TencentCloud::Common::AbstractModel
149
+ # @param JobId: 备份任务id
150
+ # @type JobId: Integer
151
+ # @param SnapshotName: 快照名称
152
+ # @type SnapshotName: String
153
+ # @param DbName: 库名
154
+ # @type DbName: String
155
+ # @param State: 状态
156
+ # @type State: String
157
+ # @param BackupObjects: 备份对象
158
+ # @type BackupObjects: String
159
+ # @param CreateTime: 创建时间
160
+ # @type CreateTime: String
161
+ # @param SnapshotFinishedTime: 快照结束时间
162
+ # @type SnapshotFinishedTime: String
163
+ # @param UploadFinishedTime: 上传结束时间
164
+ # @type UploadFinishedTime: String
165
+ # @param FinishedTime: 结束时间
166
+ # @type FinishedTime: String
167
+ # @param UnfinishedTasks: 未完成任务
168
+ # @type UnfinishedTasks: String
169
+ # @param Progress: 进度
170
+ # @type Progress: String
171
+ # @param TaskErrMsg: 错误信息
172
+ # @type TaskErrMsg: String
173
+ # @param Status: 状态
174
+ # @type Status: String
175
+ # @param Timeout: 超时信息
176
+ # @type Timeout: Integer
177
+ # @param BackupJobId: 备份实例id
178
+ # 注意:此字段可能返回 null,表示取不到有效值。
179
+ # @type BackupJobId: Integer
180
+ # @param TaskId: 实例对应snapshoit的id
181
+ # 注意:此字段可能返回 null,表示取不到有效值。
182
+ # @type TaskId: Integer
183
+
184
+ attr_accessor :JobId, :SnapshotName, :DbName, :State, :BackupObjects, :CreateTime, :SnapshotFinishedTime, :UploadFinishedTime, :FinishedTime, :UnfinishedTasks, :Progress, :TaskErrMsg, :Status, :Timeout, :BackupJobId, :TaskId
185
+
186
+ def initialize(jobid=nil, snapshotname=nil, dbname=nil, state=nil, backupobjects=nil, createtime=nil, snapshotfinishedtime=nil, uploadfinishedtime=nil, finishedtime=nil, unfinishedtasks=nil, progress=nil, taskerrmsg=nil, status=nil, timeout=nil, backupjobid=nil, taskid=nil)
187
+ @JobId = jobid
188
+ @SnapshotName = snapshotname
189
+ @DbName = dbname
190
+ @State = state
191
+ @BackupObjects = backupobjects
192
+ @CreateTime = createtime
193
+ @SnapshotFinishedTime = snapshotfinishedtime
194
+ @UploadFinishedTime = uploadfinishedtime
195
+ @FinishedTime = finishedtime
196
+ @UnfinishedTasks = unfinishedtasks
197
+ @Progress = progress
198
+ @TaskErrMsg = taskerrmsg
199
+ @Status = status
200
+ @Timeout = timeout
201
+ @BackupJobId = backupjobid
202
+ @TaskId = taskid
203
+ end
204
+
205
+ def deserialize(params)
206
+ @JobId = params['JobId']
207
+ @SnapshotName = params['SnapshotName']
208
+ @DbName = params['DbName']
209
+ @State = params['State']
210
+ @BackupObjects = params['BackupObjects']
211
+ @CreateTime = params['CreateTime']
212
+ @SnapshotFinishedTime = params['SnapshotFinishedTime']
213
+ @UploadFinishedTime = params['UploadFinishedTime']
214
+ @FinishedTime = params['FinishedTime']
215
+ @UnfinishedTasks = params['UnfinishedTasks']
216
+ @Progress = params['Progress']
217
+ @TaskErrMsg = params['TaskErrMsg']
218
+ @Status = params['Status']
219
+ @Timeout = params['Timeout']
220
+ @BackupJobId = params['BackupJobId']
221
+ @TaskId = params['TaskId']
222
+ end
223
+ end
224
+
225
+ # 备份表信息
226
+ class BackupTableContent < TencentCloud::Common::AbstractModel
227
+ # @param Database: 数据库
228
+ # 注意:此字段可能返回 null,表示取不到有效值。
229
+ # @type Database: String
230
+ # @param Table: 表
231
+ # 注意:此字段可能返回 null,表示取不到有效值。
232
+ # @type Table: String
233
+ # @param TotalBytes: 表总字节数
234
+ # 注意:此字段可能返回 null,表示取不到有效值。
235
+ # @type TotalBytes: Integer
236
+ # @param SingleReplicaBytes: 表单个副本的大小
237
+ # 注意:此字段可能返回 null,表示取不到有效值。
238
+ # @type SingleReplicaBytes: String
239
+ # @param BackupStatus: 备份状态
240
+ # 注意:此字段可能返回 null,表示取不到有效值。
241
+ # @type BackupStatus: Integer
242
+ # @param BackupErrorMsg: 备份的错误信息
243
+ # 注意:此字段可能返回 null,表示取不到有效值。
244
+ # @type BackupErrorMsg: String
245
+ # @param IsOpenCoolDown: 改库表是否绑定降冷策略
246
+ # 注意:此字段可能返回 null,表示取不到有效值。
247
+ # @type IsOpenCoolDown: Boolean
248
+
249
+ attr_accessor :Database, :Table, :TotalBytes, :SingleReplicaBytes, :BackupStatus, :BackupErrorMsg, :IsOpenCoolDown
250
+
251
+ def initialize(database=nil, table=nil, totalbytes=nil, singlereplicabytes=nil, backupstatus=nil, backuperrormsg=nil, isopencooldown=nil)
252
+ @Database = database
253
+ @Table = table
254
+ @TotalBytes = totalbytes
255
+ @SingleReplicaBytes = singlereplicabytes
256
+ @BackupStatus = backupstatus
257
+ @BackupErrorMsg = backuperrormsg
258
+ @IsOpenCoolDown = isopencooldown
259
+ end
260
+
261
+ def deserialize(params)
262
+ @Database = params['Database']
263
+ @Table = params['Table']
264
+ @TotalBytes = params['TotalBytes']
265
+ @SingleReplicaBytes = params['SingleReplicaBytes']
266
+ @BackupStatus = params['BackupStatus']
267
+ @BackupErrorMsg = params['BackupErrorMsg']
268
+ @IsOpenCoolDown = params['IsOpenCoolDown']
269
+ end
270
+ end
271
+
48
272
  # 资源组绑定的用户信息,需要username和host信息进行授权
49
273
  class BindUser < TencentCloud::Common::AbstractModel
50
274
  # @param UserName: 用户名
@@ -67,6 +291,47 @@ module TencentCloud
67
291
  end
68
292
  end
69
293
 
294
+ # CancelBackupJob请求参数结构体
295
+ class CancelBackupJobRequest < TencentCloud::Common::AbstractModel
296
+ # @param InstanceId: 集群id
297
+ # @type InstanceId: String
298
+ # @param BackUpJobId: 需要取消的备份实例id
299
+ # @type BackUpJobId: Integer
300
+
301
+ attr_accessor :InstanceId, :BackUpJobId
302
+
303
+ def initialize(instanceid=nil, backupjobid=nil)
304
+ @InstanceId = instanceid
305
+ @BackUpJobId = backupjobid
306
+ end
307
+
308
+ def deserialize(params)
309
+ @InstanceId = params['InstanceId']
310
+ @BackUpJobId = params['BackUpJobId']
311
+ end
312
+ end
313
+
314
+ # CancelBackupJob返回参数结构体
315
+ class CancelBackupJobResponse < TencentCloud::Common::AbstractModel
316
+ # @param ErrorMsg: 错误信息
317
+ # 注意:此字段可能返回 null,表示取不到有效值。
318
+ # @type ErrorMsg: String
319
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
320
+ # @type RequestId: String
321
+
322
+ attr_accessor :ErrorMsg, :RequestId
323
+
324
+ def initialize(errormsg=nil, requestid=nil)
325
+ @ErrorMsg = errormsg
326
+ @RequestId = requestid
327
+ end
328
+
329
+ def deserialize(params)
330
+ @ErrorMsg = params['ErrorMsg']
331
+ @RequestId = params['RequestId']
332
+ end
333
+ end
334
+
70
335
  # 集群计费相关信息
71
336
  class ChargeProperties < TencentCloud::Common::AbstractModel
72
337
  # @param ChargeType: 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
@@ -99,6 +364,43 @@ module TencentCloud
99
364
  end
100
365
  end
101
366
 
367
+ # 集群的配置文件的修改历史
368
+ class ClusterConfigsHistory < TencentCloud::Common::AbstractModel
369
+ # @param FileName: 配置文件名称
370
+ # @type FileName: String
371
+ # @param NewConfValue: 修改后的配置文件内容,base64编码
372
+ # @type NewConfValue: String
373
+ # @param OldConfValue: 修改前的配置文件内容,base64编码
374
+ # @type OldConfValue: String
375
+ # @param Remark: 修改原因
376
+ # 注意:此字段可能返回 null,表示取不到有效值。
377
+ # @type Remark: String
378
+ # @param ModifyTime: 修改时间
379
+ # @type ModifyTime: String
380
+ # @param UserUin: 修改子账号id
381
+ # @type UserUin: String
382
+
383
+ attr_accessor :FileName, :NewConfValue, :OldConfValue, :Remark, :ModifyTime, :UserUin
384
+
385
+ def initialize(filename=nil, newconfvalue=nil, oldconfvalue=nil, remark=nil, modifytime=nil, useruin=nil)
386
+ @FileName = filename
387
+ @NewConfValue = newconfvalue
388
+ @OldConfValue = oldconfvalue
389
+ @Remark = remark
390
+ @ModifyTime = modifytime
391
+ @UserUin = useruin
392
+ end
393
+
394
+ def deserialize(params)
395
+ @FileName = params['FileName']
396
+ @NewConfValue = params['NewConfValue']
397
+ @OldConfValue = params['OldConfValue']
398
+ @Remark = params['Remark']
399
+ @ModifyTime = params['ModifyTime']
400
+ @UserUin = params['UserUin']
401
+ end
402
+ end
403
+
102
404
  # 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
103
405
  class ClusterConfigsInfoFromEMR < TencentCloud::Common::AbstractModel
104
406
  # @param FileName: 配置文件名称
@@ -123,8 +425,8 @@ module TencentCloud
123
425
 
124
426
  attr_accessor :FileName, :FileConf, :KeyConf, :OriParam, :NeedRestart, :FilePath, :FileKeyValues, :FileKeyValuesNew
125
427
  extend Gem::Deprecate
126
- deprecate :FileKeyValues, :none, 2024, 7
127
- deprecate :FileKeyValues=, :none, 2024, 7
428
+ deprecate :FileKeyValues, :none, 2024, 8
429
+ deprecate :FileKeyValues=, :none, 2024, 8
128
430
 
129
431
  def initialize(filename=nil, fileconf=nil, keyconf=nil, oriparam=nil, needrestart=nil, filepath=nil, filekeyvalues=nil, filekeyvaluesnew=nil)
130
432
  @FileName = filename
@@ -193,6 +495,116 @@ module TencentCloud
193
495
  end
194
496
  end
195
497
 
498
+ # 客户提供cos认证信息。
499
+ class CosSourceInfo < TencentCloud::Common::AbstractModel
500
+ # @param SecretId: cos认证中的Id
501
+ # 注意:此字段可能返回 null,表示取不到有效值。
502
+ # @type SecretId: String
503
+ # @param SecretKey: cos认证中的key
504
+ # 注意:此字段可能返回 null,表示取不到有效值。
505
+ # @type SecretKey: String
506
+ # @param CosPath: cos认证中的路径
507
+ # 注意:此字段可能返回 null,表示取不到有效值。
508
+ # @type CosPath: String
509
+
510
+ attr_accessor :SecretId, :SecretKey, :CosPath
511
+
512
+ def initialize(secretid=nil, secretkey=nil, cospath=nil)
513
+ @SecretId = secretid
514
+ @SecretKey = secretkey
515
+ @CosPath = cospath
516
+ end
517
+
518
+ def deserialize(params)
519
+ @SecretId = params['SecretId']
520
+ @SecretKey = params['SecretKey']
521
+ @CosPath = params['CosPath']
522
+ end
523
+ end
524
+
525
+ # CreateBackUpSchedule请求参数结构体
526
+ class CreateBackUpScheduleRequest < TencentCloud::Common::AbstractModel
527
+ # @param ScheduleId: 编辑时需要传
528
+ # @type ScheduleId: Integer
529
+ # @param WeekDays: 选择的星期 逗号分隔
530
+ # 废弃:使用ScheduleInfo
531
+ # @type WeekDays: String
532
+ # @param ExecuteHour: 执行小时
533
+ # 废弃:使用ScheduleInfo
534
+ # @type ExecuteHour: Integer
535
+ # @param BackUpTables: 备份表列表
536
+ # @type BackUpTables: Array
537
+ # @param BackupType: 0为默认。1时是对远端的doris进行备份,不周期,一次性
538
+ # @type BackupType: Integer
539
+ # @param DorisSourceInfo: 远端doris集群的连接信息
540
+ # @type DorisSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.DorisSourceInfo`
541
+ # @param BackupTimeType: 0为默认。1时是一次性备份。2时是远端备份
542
+ # @type BackupTimeType: Integer
543
+ # @param RestoreType: 0为默认。1时是备份完成后立即恢复
544
+ # @type RestoreType: Integer
545
+ # @param AuthType: 0为默认。1时是提供自定义的secret连接cos
546
+ # @type AuthType: Integer
547
+ # @param CosSourceInfo: cos认证的信息
548
+ # @type CosSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.CosSourceInfo`
549
+
550
+ attr_accessor :ScheduleId, :WeekDays, :ExecuteHour, :BackUpTables, :BackupType, :DorisSourceInfo, :BackupTimeType, :RestoreType, :AuthType, :CosSourceInfo
551
+
552
+ def initialize(scheduleid=nil, weekdays=nil, executehour=nil, backuptables=nil, backuptype=nil, dorissourceinfo=nil, backuptimetype=nil, restoretype=nil, authtype=nil, cossourceinfo=nil)
553
+ @ScheduleId = scheduleid
554
+ @WeekDays = weekdays
555
+ @ExecuteHour = executehour
556
+ @BackUpTables = backuptables
557
+ @BackupType = backuptype
558
+ @DorisSourceInfo = dorissourceinfo
559
+ @BackupTimeType = backuptimetype
560
+ @RestoreType = restoretype
561
+ @AuthType = authtype
562
+ @CosSourceInfo = cossourceinfo
563
+ end
564
+
565
+ def deserialize(params)
566
+ @ScheduleId = params['ScheduleId']
567
+ @WeekDays = params['WeekDays']
568
+ @ExecuteHour = params['ExecuteHour']
569
+ unless params['BackUpTables'].nil?
570
+ @BackUpTables = []
571
+ params['BackUpTables'].each do |i|
572
+ backuptablecontent_tmp = BackupTableContent.new
573
+ backuptablecontent_tmp.deserialize(i)
574
+ @BackUpTables << backuptablecontent_tmp
575
+ end
576
+ end
577
+ @BackupType = params['BackupType']
578
+ unless params['DorisSourceInfo'].nil?
579
+ @DorisSourceInfo = DorisSourceInfo.new
580
+ @DorisSourceInfo.deserialize(params['DorisSourceInfo'])
581
+ end
582
+ @BackupTimeType = params['BackupTimeType']
583
+ @RestoreType = params['RestoreType']
584
+ @AuthType = params['AuthType']
585
+ unless params['CosSourceInfo'].nil?
586
+ @CosSourceInfo = CosSourceInfo.new
587
+ @CosSourceInfo.deserialize(params['CosSourceInfo'])
588
+ end
589
+ end
590
+ end
591
+
592
+ # CreateBackUpSchedule返回参数结构体
593
+ class CreateBackUpScheduleResponse < TencentCloud::Common::AbstractModel
594
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
595
+ # @type RequestId: String
596
+
597
+ attr_accessor :RequestId
598
+
599
+ def initialize(requestid=nil)
600
+ @RequestId = requestid
601
+ end
602
+
603
+ def deserialize(params)
604
+ @RequestId = params['RequestId']
605
+ end
606
+ end
607
+
196
608
  # CreateInstanceNew请求参数结构体
197
609
  class CreateInstanceNewRequest < TencentCloud::Common::AbstractModel
198
610
  # @param Zone: 可用区
@@ -459,6 +871,46 @@ module TencentCloud
459
871
  end
460
872
  end
461
873
 
874
+ # DeleteBackUpData请求参数结构体
875
+ class DeleteBackUpDataRequest < TencentCloud::Common::AbstractModel
876
+ # @param InstanceId: 集群id
877
+ # @type InstanceId: String
878
+ # @param BackUpJobId: 任务id
879
+ # @type BackUpJobId: Integer
880
+ # @param IsDeleteAll: 是否删除所有数据
881
+ # @type IsDeleteAll: Boolean
882
+
883
+ attr_accessor :InstanceId, :BackUpJobId, :IsDeleteAll
884
+
885
+ def initialize(instanceid=nil, backupjobid=nil, isdeleteall=nil)
886
+ @InstanceId = instanceid
887
+ @BackUpJobId = backupjobid
888
+ @IsDeleteAll = isdeleteall
889
+ end
890
+
891
+ def deserialize(params)
892
+ @InstanceId = params['InstanceId']
893
+ @BackUpJobId = params['BackUpJobId']
894
+ @IsDeleteAll = params['IsDeleteAll']
895
+ end
896
+ end
897
+
898
+ # DeleteBackUpData返回参数结构体
899
+ class DeleteBackUpDataResponse < TencentCloud::Common::AbstractModel
900
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
901
+ # @type RequestId: String
902
+
903
+ attr_accessor :RequestId
904
+
905
+ def initialize(requestid=nil)
906
+ @RequestId = requestid
907
+ end
908
+
909
+ def deserialize(params)
910
+ @RequestId = params['RequestId']
911
+ end
912
+ end
913
+
462
914
  # DeleteWorkloadGroup请求参数结构体
463
915
  class DeleteWorkloadGroupRequest < TencentCloud::Common::AbstractModel
464
916
  # @param InstanceId: 集群id
@@ -499,44 +951,425 @@ module TencentCloud
499
951
  end
500
952
  end
501
953
 
502
- # DescribeClusterConfigs请求参数结构体
503
- class DescribeClusterConfigsRequest < TencentCloud::Common::AbstractModel
504
- # @param InstanceId: 集群实例ID
505
- # @type InstanceId: String
506
- # @param ConfigType: 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
507
- # @type ConfigType: Integer
508
- # @param FileName: 模糊搜索关键字文件
509
- # @type FileName: String
510
- # @param ClusterConfigType: 0集群维度 1节点维度
511
- # @type ClusterConfigType: Integer
512
- # @param IPAddress: eth0的ip地址
513
- # @type IPAddress: String
954
+ # DescribeAreaRegion请求参数结构体
955
+ class DescribeAreaRegionRequest < TencentCloud::Common::AbstractModel
956
+ # @param IsInternationalSite: 是否是国际站
957
+ # @type IsInternationalSite: Boolean
514
958
 
515
- attr_accessor :InstanceId, :ConfigType, :FileName, :ClusterConfigType, :IPAddress
959
+ attr_accessor :IsInternationalSite
516
960
 
517
- def initialize(instanceid=nil, configtype=nil, filename=nil, clusterconfigtype=nil, ipaddress=nil)
518
- @InstanceId = instanceid
519
- @ConfigType = configtype
520
- @FileName = filename
521
- @ClusterConfigType = clusterconfigtype
522
- @IPAddress = ipaddress
961
+ def initialize(isinternationalsite=nil)
962
+ @IsInternationalSite = isinternationalsite
523
963
  end
524
964
 
525
965
  def deserialize(params)
526
- @InstanceId = params['InstanceId']
527
- @ConfigType = params['ConfigType']
528
- @FileName = params['FileName']
529
- @ClusterConfigType = params['ClusterConfigType']
530
- @IPAddress = params['IPAddress']
966
+ @IsInternationalSite = params['IsInternationalSite']
531
967
  end
532
968
  end
533
969
 
534
- # DescribeClusterConfigs返回参数结构体
535
- class DescribeClusterConfigsResponse < TencentCloud::Common::AbstractModel
536
- # @param ClusterConfList: 返回实例的配置文件相关的信息
537
- # @type ClusterConfList: Array
538
- # @param BuildVersion: 返回当前内核版本 如果不存在则返回空字符串
539
- # @type BuildVersion: String
970
+ # DescribeAreaRegion返回参数结构体
971
+ class DescribeAreaRegionResponse < TencentCloud::Common::AbstractModel
972
+ # @param Items: 地域列表
973
+ # @type Items: Array
974
+ # @param FrontEndRules: 前端规则描述
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type FrontEndRules: Array
977
+ # @param AvailableWhiteListNames: 返回可用的白名单名称
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type AvailableWhiteListNames: Array
980
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
981
+ # @type RequestId: String
982
+
983
+ attr_accessor :Items, :FrontEndRules, :AvailableWhiteListNames, :RequestId
984
+
985
+ def initialize(items=nil, frontendrules=nil, availablewhitelistnames=nil, requestid=nil)
986
+ @Items = items
987
+ @FrontEndRules = frontendrules
988
+ @AvailableWhiteListNames = availablewhitelistnames
989
+ @RequestId = requestid
990
+ end
991
+
992
+ def deserialize(params)
993
+ unless params['Items'].nil?
994
+ @Items = []
995
+ params['Items'].each do |i|
996
+ regionareainfo_tmp = RegionAreaInfo.new
997
+ regionareainfo_tmp.deserialize(i)
998
+ @Items << regionareainfo_tmp
999
+ end
1000
+ end
1001
+ unless params['FrontEndRules'].nil?
1002
+ @FrontEndRules = []
1003
+ params['FrontEndRules'].each do |i|
1004
+ frontendrule_tmp = FrontEndRule.new
1005
+ frontendrule_tmp.deserialize(i)
1006
+ @FrontEndRules << frontendrule_tmp
1007
+ end
1008
+ end
1009
+ @AvailableWhiteListNames = params['AvailableWhiteListNames']
1010
+ @RequestId = params['RequestId']
1011
+ end
1012
+ end
1013
+
1014
+ # DescribeBackUpJobDetail请求参数结构体
1015
+ class DescribeBackUpJobDetailRequest < TencentCloud::Common::AbstractModel
1016
+ # @param InstanceId: 集群id
1017
+ # @type InstanceId: String
1018
+ # @param BackUpJobId: 任务id
1019
+ # @type BackUpJobId: Integer
1020
+
1021
+ attr_accessor :InstanceId, :BackUpJobId
1022
+
1023
+ def initialize(instanceid=nil, backupjobid=nil)
1024
+ @InstanceId = instanceid
1025
+ @BackUpJobId = backupjobid
1026
+ end
1027
+
1028
+ def deserialize(params)
1029
+ @InstanceId = params['InstanceId']
1030
+ @BackUpJobId = params['BackUpJobId']
1031
+ end
1032
+ end
1033
+
1034
+ # DescribeBackUpJobDetail返回参数结构体
1035
+ class DescribeBackUpJobDetailResponse < TencentCloud::Common::AbstractModel
1036
+ # @param TableContents: 备份表详情
1037
+ # 注意:此字段可能返回 null,表示取不到有效值。
1038
+ # @type TableContents: Array
1039
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1040
+ # @type RequestId: String
1041
+
1042
+ attr_accessor :TableContents, :RequestId
1043
+
1044
+ def initialize(tablecontents=nil, requestid=nil)
1045
+ @TableContents = tablecontents
1046
+ @RequestId = requestid
1047
+ end
1048
+
1049
+ def deserialize(params)
1050
+ unless params['TableContents'].nil?
1051
+ @TableContents = []
1052
+ params['TableContents'].each do |i|
1053
+ backuptablecontent_tmp = BackupTableContent.new
1054
+ backuptablecontent_tmp.deserialize(i)
1055
+ @TableContents << backuptablecontent_tmp
1056
+ end
1057
+ end
1058
+ @RequestId = params['RequestId']
1059
+ end
1060
+ end
1061
+
1062
+ # DescribeBackUpJob请求参数结构体
1063
+ class DescribeBackUpJobRequest < TencentCloud::Common::AbstractModel
1064
+ # @param InstanceId: 集群id
1065
+ # @type InstanceId: String
1066
+ # @param PageSize: 分页大小
1067
+ # @type PageSize: Integer
1068
+ # @param PageNum: 页号
1069
+ # @type PageNum: Integer
1070
+ # @param BeginTime: 开始时间
1071
+ # @type BeginTime: String
1072
+ # @param EndTime: 结束时间
1073
+ # @type EndTime: String
1074
+ # @param JobIdFiltersStr: jobid的string类型
1075
+ # @type JobIdFiltersStr: String
1076
+
1077
+ attr_accessor :InstanceId, :PageSize, :PageNum, :BeginTime, :EndTime, :JobIdFiltersStr
1078
+
1079
+ def initialize(instanceid=nil, pagesize=nil, pagenum=nil, begintime=nil, endtime=nil, jobidfiltersstr=nil)
1080
+ @InstanceId = instanceid
1081
+ @PageSize = pagesize
1082
+ @PageNum = pagenum
1083
+ @BeginTime = begintime
1084
+ @EndTime = endtime
1085
+ @JobIdFiltersStr = jobidfiltersstr
1086
+ end
1087
+
1088
+ def deserialize(params)
1089
+ @InstanceId = params['InstanceId']
1090
+ @PageSize = params['PageSize']
1091
+ @PageNum = params['PageNum']
1092
+ @BeginTime = params['BeginTime']
1093
+ @EndTime = params['EndTime']
1094
+ @JobIdFiltersStr = params['JobIdFiltersStr']
1095
+ end
1096
+ end
1097
+
1098
+ # DescribeBackUpJob返回参数结构体
1099
+ class DescribeBackUpJobResponse < TencentCloud::Common::AbstractModel
1100
+ # @param BackUpJobs: 任务列表
1101
+ # 注意:此字段可能返回 null,表示取不到有效值。
1102
+ # @type BackUpJobs: Array
1103
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1104
+ # @type RequestId: String
1105
+
1106
+ attr_accessor :BackUpJobs, :RequestId
1107
+
1108
+ def initialize(backupjobs=nil, requestid=nil)
1109
+ @BackUpJobs = backupjobs
1110
+ @RequestId = requestid
1111
+ end
1112
+
1113
+ def deserialize(params)
1114
+ unless params['BackUpJobs'].nil?
1115
+ @BackUpJobs = []
1116
+ params['BackUpJobs'].each do |i|
1117
+ backupjobdisplay_tmp = BackUpJobDisplay.new
1118
+ backupjobdisplay_tmp.deserialize(i)
1119
+ @BackUpJobs << backupjobdisplay_tmp
1120
+ end
1121
+ end
1122
+ @RequestId = params['RequestId']
1123
+ end
1124
+ end
1125
+
1126
+ # DescribeBackUpSchedules请求参数结构体
1127
+ class DescribeBackUpSchedulesRequest < TencentCloud::Common::AbstractModel
1128
+
1129
+
1130
+ def initialize()
1131
+ end
1132
+
1133
+ def deserialize(params)
1134
+ end
1135
+ end
1136
+
1137
+ # DescribeBackUpSchedules返回参数结构体
1138
+ class DescribeBackUpSchedulesResponse < TencentCloud::Common::AbstractModel
1139
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1140
+ # @type RequestId: String
1141
+
1142
+ attr_accessor :RequestId
1143
+
1144
+ def initialize(requestid=nil)
1145
+ @RequestId = requestid
1146
+ end
1147
+
1148
+ def deserialize(params)
1149
+ @RequestId = params['RequestId']
1150
+ end
1151
+ end
1152
+
1153
+ # DescribeBackUpTables请求参数结构体
1154
+ class DescribeBackUpTablesRequest < TencentCloud::Common::AbstractModel
1155
+ # @param InstanceId: 集群id
1156
+ # @type InstanceId: String
1157
+ # @param BackupType: 0为默认。1时是对远端的doris进行备份,不周期,一次性。2时为cos恢复,一次性
1158
+ # @type BackupType: Integer
1159
+ # @param DorisSourceInfo: 远端doris集群的连接信息
1160
+ # @type DorisSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.DorisSourceInfo`
1161
+ # @param CosSourceInfo: cos信息
1162
+ # @type CosSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.CosSourceInfo`
1163
+
1164
+ attr_accessor :InstanceId, :BackupType, :DorisSourceInfo, :CosSourceInfo
1165
+
1166
+ def initialize(instanceid=nil, backuptype=nil, dorissourceinfo=nil, cossourceinfo=nil)
1167
+ @InstanceId = instanceid
1168
+ @BackupType = backuptype
1169
+ @DorisSourceInfo = dorissourceinfo
1170
+ @CosSourceInfo = cossourceinfo
1171
+ end
1172
+
1173
+ def deserialize(params)
1174
+ @InstanceId = params['InstanceId']
1175
+ @BackupType = params['BackupType']
1176
+ unless params['DorisSourceInfo'].nil?
1177
+ @DorisSourceInfo = DorisSourceInfo.new
1178
+ @DorisSourceInfo.deserialize(params['DorisSourceInfo'])
1179
+ end
1180
+ unless params['CosSourceInfo'].nil?
1181
+ @CosSourceInfo = CosSourceInfo.new
1182
+ @CosSourceInfo.deserialize(params['CosSourceInfo'])
1183
+ end
1184
+ end
1185
+ end
1186
+
1187
+ # DescribeBackUpTables返回参数结构体
1188
+ class DescribeBackUpTablesResponse < TencentCloud::Common::AbstractModel
1189
+ # @param AvailableTables: 可备份表列表
1190
+ # @type AvailableTables: Array
1191
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1192
+ # @type RequestId: String
1193
+
1194
+ attr_accessor :AvailableTables, :RequestId
1195
+
1196
+ def initialize(availabletables=nil, requestid=nil)
1197
+ @AvailableTables = availabletables
1198
+ @RequestId = requestid
1199
+ end
1200
+
1201
+ def deserialize(params)
1202
+ unless params['AvailableTables'].nil?
1203
+ @AvailableTables = []
1204
+ params['AvailableTables'].each do |i|
1205
+ backuptablecontent_tmp = BackupTableContent.new
1206
+ backuptablecontent_tmp.deserialize(i)
1207
+ @AvailableTables << backuptablecontent_tmp
1208
+ end
1209
+ end
1210
+ @RequestId = params['RequestId']
1211
+ end
1212
+ end
1213
+
1214
+ # DescribeBackUpTaskDetail请求参数结构体
1215
+ class DescribeBackUpTaskDetailRequest < TencentCloud::Common::AbstractModel
1216
+ # @param InstanceId: 集群id
1217
+ # @type InstanceId: String
1218
+ # @param BackUpJobId: 任务id
1219
+ # @type BackUpJobId: Integer
1220
+
1221
+ attr_accessor :InstanceId, :BackUpJobId
1222
+
1223
+ def initialize(instanceid=nil, backupjobid=nil)
1224
+ @InstanceId = instanceid
1225
+ @BackUpJobId = backupjobid
1226
+ end
1227
+
1228
+ def deserialize(params)
1229
+ @InstanceId = params['InstanceId']
1230
+ @BackUpJobId = params['BackUpJobId']
1231
+ end
1232
+ end
1233
+
1234
+ # DescribeBackUpTaskDetail返回参数结构体
1235
+ class DescribeBackUpTaskDetailResponse < TencentCloud::Common::AbstractModel
1236
+ # @param BackupStatus: 备份任务进度详情
1237
+ # 注意:此字段可能返回 null,表示取不到有效值。
1238
+ # @type BackupStatus: Array
1239
+ # @param ErrorMsg: 错误信息
1240
+ # 注意:此字段可能返回 null,表示取不到有效值。
1241
+ # @type ErrorMsg: String
1242
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1243
+ # @type RequestId: String
1244
+
1245
+ attr_accessor :BackupStatus, :ErrorMsg, :RequestId
1246
+
1247
+ def initialize(backupstatus=nil, errormsg=nil, requestid=nil)
1248
+ @BackupStatus = backupstatus
1249
+ @ErrorMsg = errormsg
1250
+ @RequestId = requestid
1251
+ end
1252
+
1253
+ def deserialize(params)
1254
+ unless params['BackupStatus'].nil?
1255
+ @BackupStatus = []
1256
+ params['BackupStatus'].each do |i|
1257
+ backupstatus_tmp = BackupStatus.new
1258
+ backupstatus_tmp.deserialize(i)
1259
+ @BackupStatus << backupstatus_tmp
1260
+ end
1261
+ end
1262
+ @ErrorMsg = params['ErrorMsg']
1263
+ @RequestId = params['RequestId']
1264
+ end
1265
+ end
1266
+
1267
+ # DescribeClusterConfigsHistory请求参数结构体
1268
+ class DescribeClusterConfigsHistoryRequest < TencentCloud::Common::AbstractModel
1269
+ # @param InstanceId: 集群id名称
1270
+ # @type InstanceId: String
1271
+ # @param Offset: 分页参数,第一页为0,第二页为10
1272
+ # @type Offset: Integer
1273
+ # @param Limit: 分页参数,分页步长,默认为10
1274
+ # @type Limit: Integer
1275
+ # @param StartTime: 配置修改历史的时间范围开始
1276
+ # @type StartTime: String
1277
+ # @param EndTime: 配置修改历史的时间范围结束
1278
+ # @type EndTime: String
1279
+ # @param ConfigFileNames: 需要查询的配置文件名称数组,如果为空则查询全部历史记录。目前支持的配置文件名称有:
1280
+ # apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、odbcinst.ini
1281
+ # @type ConfigFileNames: Array
1282
+
1283
+ attr_accessor :InstanceId, :Offset, :Limit, :StartTime, :EndTime, :ConfigFileNames
1284
+
1285
+ def initialize(instanceid=nil, offset=nil, limit=nil, starttime=nil, endtime=nil, configfilenames=nil)
1286
+ @InstanceId = instanceid
1287
+ @Offset = offset
1288
+ @Limit = limit
1289
+ @StartTime = starttime
1290
+ @EndTime = endtime
1291
+ @ConfigFileNames = configfilenames
1292
+ end
1293
+
1294
+ def deserialize(params)
1295
+ @InstanceId = params['InstanceId']
1296
+ @Offset = params['Offset']
1297
+ @Limit = params['Limit']
1298
+ @StartTime = params['StartTime']
1299
+ @EndTime = params['EndTime']
1300
+ @ConfigFileNames = params['ConfigFileNames']
1301
+ end
1302
+ end
1303
+
1304
+ # DescribeClusterConfigsHistory返回参数结构体
1305
+ class DescribeClusterConfigsHistoryResponse < TencentCloud::Common::AbstractModel
1306
+ # @param TotalCount: 实例总数
1307
+ # @type TotalCount: Integer
1308
+ # @param ClusterConfHistory: 配置文件修改历史
1309
+ # @type ClusterConfHistory: Array
1310
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1311
+ # @type RequestId: String
1312
+
1313
+ attr_accessor :TotalCount, :ClusterConfHistory, :RequestId
1314
+
1315
+ def initialize(totalcount=nil, clusterconfhistory=nil, requestid=nil)
1316
+ @TotalCount = totalcount
1317
+ @ClusterConfHistory = clusterconfhistory
1318
+ @RequestId = requestid
1319
+ end
1320
+
1321
+ def deserialize(params)
1322
+ @TotalCount = params['TotalCount']
1323
+ unless params['ClusterConfHistory'].nil?
1324
+ @ClusterConfHistory = []
1325
+ params['ClusterConfHistory'].each do |i|
1326
+ clusterconfigshistory_tmp = ClusterConfigsHistory.new
1327
+ clusterconfigshistory_tmp.deserialize(i)
1328
+ @ClusterConfHistory << clusterconfigshistory_tmp
1329
+ end
1330
+ end
1331
+ @RequestId = params['RequestId']
1332
+ end
1333
+ end
1334
+
1335
+ # DescribeClusterConfigs请求参数结构体
1336
+ class DescribeClusterConfigsRequest < TencentCloud::Common::AbstractModel
1337
+ # @param InstanceId: 集群实例ID
1338
+ # @type InstanceId: String
1339
+ # @param ConfigType: 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
1340
+ # @type ConfigType: Integer
1341
+ # @param FileName: 模糊搜索关键字文件
1342
+ # @type FileName: String
1343
+ # @param ClusterConfigType: 0集群维度 1节点维度
1344
+ # @type ClusterConfigType: Integer
1345
+ # @param IPAddress: eth0的ip地址
1346
+ # @type IPAddress: String
1347
+
1348
+ attr_accessor :InstanceId, :ConfigType, :FileName, :ClusterConfigType, :IPAddress
1349
+
1350
+ def initialize(instanceid=nil, configtype=nil, filename=nil, clusterconfigtype=nil, ipaddress=nil)
1351
+ @InstanceId = instanceid
1352
+ @ConfigType = configtype
1353
+ @FileName = filename
1354
+ @ClusterConfigType = clusterconfigtype
1355
+ @IPAddress = ipaddress
1356
+ end
1357
+
1358
+ def deserialize(params)
1359
+ @InstanceId = params['InstanceId']
1360
+ @ConfigType = params['ConfigType']
1361
+ @FileName = params['FileName']
1362
+ @ClusterConfigType = params['ClusterConfigType']
1363
+ @IPAddress = params['IPAddress']
1364
+ end
1365
+ end
1366
+
1367
+ # DescribeClusterConfigs返回参数结构体
1368
+ class DescribeClusterConfigsResponse < TencentCloud::Common::AbstractModel
1369
+ # @param ClusterConfList: 返回实例的配置文件相关的信息
1370
+ # @type ClusterConfList: Array
1371
+ # @param BuildVersion: 返回当前内核版本 如果不存在则返回空字符串
1372
+ # @type BuildVersion: String
540
1373
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
541
1374
  # @type RequestId: String
542
1375
 
@@ -702,45 +1535,213 @@ module TencentCloud
702
1535
 
703
1536
  def deserialize(params)
704
1537
  @InstanceId = params['InstanceId']
705
- @StartTime = params['StartTime']
706
- @EndTime = params['EndTime']
707
- @PageSize = params['PageSize']
708
- @PageNum = params['PageNum']
709
- @OrderType = params['OrderType']
710
- @User = params['User']
711
- @DbName = params['DbName']
712
- @SqlType = params['SqlType']
713
- @Sql = params['Sql']
714
- @Users = params['Users']
715
- @DbNames = params['DbNames']
716
- @SqlTypes = params['SqlTypes']
717
- @Catalogs = params['Catalogs']
1538
+ @StartTime = params['StartTime']
1539
+ @EndTime = params['EndTime']
1540
+ @PageSize = params['PageSize']
1541
+ @PageNum = params['PageNum']
1542
+ @OrderType = params['OrderType']
1543
+ @User = params['User']
1544
+ @DbName = params['DbName']
1545
+ @SqlType = params['SqlType']
1546
+ @Sql = params['Sql']
1547
+ @Users = params['Users']
1548
+ @DbNames = params['DbNames']
1549
+ @SqlTypes = params['SqlTypes']
1550
+ @Catalogs = params['Catalogs']
1551
+ end
1552
+ end
1553
+
1554
+ # DescribeDatabaseAuditRecords返回参数结构体
1555
+ class DescribeDatabaseAuditRecordsResponse < TencentCloud::Common::AbstractModel
1556
+ # @param TotalCount: 总数
1557
+ # @type TotalCount: Integer
1558
+ # @param SlowQueryRecords: 记录列表
1559
+ # @type SlowQueryRecords: :class:`Tencentcloud::Cdwdoris.v20211228.models.DataBaseAuditRecord`
1560
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1561
+ # @type RequestId: String
1562
+
1563
+ attr_accessor :TotalCount, :SlowQueryRecords, :RequestId
1564
+
1565
+ def initialize(totalcount=nil, slowqueryrecords=nil, requestid=nil)
1566
+ @TotalCount = totalcount
1567
+ @SlowQueryRecords = slowqueryrecords
1568
+ @RequestId = requestid
1569
+ end
1570
+
1571
+ def deserialize(params)
1572
+ @TotalCount = params['TotalCount']
1573
+ unless params['SlowQueryRecords'].nil?
1574
+ @SlowQueryRecords = DataBaseAuditRecord.new
1575
+ @SlowQueryRecords.deserialize(params['SlowQueryRecords'])
1576
+ end
1577
+ @RequestId = params['RequestId']
1578
+ end
1579
+ end
1580
+
1581
+ # DescribeDatabaseAuditResource请求参数结构体
1582
+ class DescribeDatabaseAuditResourceRequest < TencentCloud::Common::AbstractModel
1583
+ # @param InstanceId: 实例ID
1584
+ # @type InstanceId: String
1585
+
1586
+ attr_accessor :InstanceId
1587
+
1588
+ def initialize(instanceid=nil)
1589
+ @InstanceId = instanceid
1590
+ end
1591
+
1592
+ def deserialize(params)
1593
+ @InstanceId = params['InstanceId']
1594
+ end
1595
+ end
1596
+
1597
+ # DescribeDatabaseAuditResource返回参数结构体
1598
+ class DescribeDatabaseAuditResourceResponse < TencentCloud::Common::AbstractModel
1599
+ # @param Databases: 数据库列表
1600
+ # @type Databases: Array
1601
+ # @param Users: 用户列表
1602
+ # @type Users: Array
1603
+ # @param SqlTypes: sql类型列表
1604
+ # @type SqlTypes: Array
1605
+ # @param Catalogs: catalog字段
1606
+ # 注意:此字段可能返回 null,表示取不到有效值。
1607
+ # @type Catalogs: Array
1608
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1609
+ # @type RequestId: String
1610
+
1611
+ attr_accessor :Databases, :Users, :SqlTypes, :Catalogs, :RequestId
1612
+
1613
+ def initialize(databases=nil, users=nil, sqltypes=nil, catalogs=nil, requestid=nil)
1614
+ @Databases = databases
1615
+ @Users = users
1616
+ @SqlTypes = sqltypes
1617
+ @Catalogs = catalogs
1618
+ @RequestId = requestid
1619
+ end
1620
+
1621
+ def deserialize(params)
1622
+ @Databases = params['Databases']
1623
+ @Users = params['Users']
1624
+ @SqlTypes = params['SqlTypes']
1625
+ @Catalogs = params['Catalogs']
1626
+ @RequestId = params['RequestId']
1627
+ end
1628
+ end
1629
+
1630
+ # DescribeDmsSqlHistory请求参数结构体
1631
+ class DescribeDmsSqlHistoryRequest < TencentCloud::Common::AbstractModel
1632
+ # @param QueryNode: 查询节点ip
1633
+ # @type QueryNode: Array
1634
+ # @param QueryStatus: 运行状态
1635
+ # @type QueryStatus: Array
1636
+ # @param QuerySql: 模糊搜索sql
1637
+ # @type QuerySql: String
1638
+ # @param QueryErrMsg: 根据报错原因搜索
1639
+ # @type QueryErrMsg: String
1640
+
1641
+ attr_accessor :QueryNode, :QueryStatus, :QuerySql, :QueryErrMsg
1642
+
1643
+ def initialize(querynode=nil, querystatus=nil, querysql=nil, queryerrmsg=nil)
1644
+ @QueryNode = querynode
1645
+ @QueryStatus = querystatus
1646
+ @QuerySql = querysql
1647
+ @QueryErrMsg = queryerrmsg
1648
+ end
1649
+
1650
+ def deserialize(params)
1651
+ @QueryNode = params['QueryNode']
1652
+ @QueryStatus = params['QueryStatus']
1653
+ @QuerySql = params['QuerySql']
1654
+ @QueryErrMsg = params['QueryErrMsg']
1655
+ end
1656
+ end
1657
+
1658
+ # DescribeDmsSqlHistory返回参数结构体
1659
+ class DescribeDmsSqlHistoryResponse < TencentCloud::Common::AbstractModel
1660
+ # @param QueryNodeList: 集群所有的查询节点
1661
+ # @type QueryNodeList: Array
1662
+ # @param QueryStatusList: 集群所有的查询状态
1663
+ # @type QueryStatusList: Array
1664
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1665
+ # @type RequestId: String
1666
+
1667
+ attr_accessor :QueryNodeList, :QueryStatusList, :RequestId
1668
+
1669
+ def initialize(querynodelist=nil, querystatuslist=nil, requestid=nil)
1670
+ @QueryNodeList = querynodelist
1671
+ @QueryStatusList = querystatuslist
1672
+ @RequestId = requestid
1673
+ end
1674
+
1675
+ def deserialize(params)
1676
+ @QueryNodeList = params['QueryNodeList']
1677
+ @QueryStatusList = params['QueryStatusList']
1678
+ @RequestId = params['RequestId']
1679
+ end
1680
+ end
1681
+
1682
+ # DescribeDorisMetricFiles请求参数结构体
1683
+ class DescribeDorisMetricFilesRequest < TencentCloud::Common::AbstractModel
1684
+ # @param ApiType: 接口类型
1685
+ # @type ApiType: String
1686
+ # @param InstanceId: 集群id
1687
+ # @type InstanceId: String
1688
+ # @param DescribeMetricsFileReq: 展示监控指标入参
1689
+ # @type DescribeMetricsFileReq: :class:`Tencentcloud::Cdwdoris.v20211228.models.DescribeMetricsFileReq`
1690
+ # @param ModifyMetricFileReq: 点关注功能入参
1691
+ # @type ModifyMetricFileReq: :class:`Tencentcloud::Cdwdoris.v20211228.models.ModifyMetricFileStruct`
1692
+ # @param ModifyAttentionMetricFileReq: 监控指标关注功能入参
1693
+ # @type ModifyAttentionMetricFileReq: :class:`Tencentcloud::Cdwdoris.v20211228.models.ModifyMetricFileStructNew`
1694
+
1695
+ attr_accessor :ApiType, :InstanceId, :DescribeMetricsFileReq, :ModifyMetricFileReq, :ModifyAttentionMetricFileReq
1696
+
1697
+ def initialize(apitype=nil, instanceid=nil, describemetricsfilereq=nil, modifymetricfilereq=nil, modifyattentionmetricfilereq=nil)
1698
+ @ApiType = apitype
1699
+ @InstanceId = instanceid
1700
+ @DescribeMetricsFileReq = describemetricsfilereq
1701
+ @ModifyMetricFileReq = modifymetricfilereq
1702
+ @ModifyAttentionMetricFileReq = modifyattentionmetricfilereq
1703
+ end
1704
+
1705
+ def deserialize(params)
1706
+ @ApiType = params['ApiType']
1707
+ @InstanceId = params['InstanceId']
1708
+ unless params['DescribeMetricsFileReq'].nil?
1709
+ @DescribeMetricsFileReq = DescribeMetricsFileReq.new
1710
+ @DescribeMetricsFileReq.deserialize(params['DescribeMetricsFileReq'])
1711
+ end
1712
+ unless params['ModifyMetricFileReq'].nil?
1713
+ @ModifyMetricFileReq = ModifyMetricFileStruct.new
1714
+ @ModifyMetricFileReq.deserialize(params['ModifyMetricFileReq'])
1715
+ end
1716
+ unless params['ModifyAttentionMetricFileReq'].nil?
1717
+ @ModifyAttentionMetricFileReq = ModifyMetricFileStructNew.new
1718
+ @ModifyAttentionMetricFileReq.deserialize(params['ModifyAttentionMetricFileReq'])
1719
+ end
718
1720
  end
719
1721
  end
720
1722
 
721
- # DescribeDatabaseAuditRecords返回参数结构体
722
- class DescribeDatabaseAuditRecordsResponse < TencentCloud::Common::AbstractModel
723
- # @param TotalCount: 总数
724
- # @type TotalCount: Integer
725
- # @param SlowQueryRecords: 记录列表
726
- # @type SlowQueryRecords: :class:`Tencentcloud::Cdwdoris.v20211228.models.DataBaseAuditRecord`
1723
+ # DescribeDorisMetricFiles返回参数结构体
1724
+ class DescribeDorisMetricFilesResponse < TencentCloud::Common::AbstractModel
1725
+ # @param ErrorMsg: ErrorMsg
1726
+ # 注意:此字段可能返回 null,表示取不到有效值。
1727
+ # @type ErrorMsg: String
1728
+ # @param ReturnData: 返回数据
1729
+ # 注意:此字段可能返回 null,表示取不到有效值。
1730
+ # @type ReturnData: String
727
1731
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
728
1732
  # @type RequestId: String
729
1733
 
730
- attr_accessor :TotalCount, :SlowQueryRecords, :RequestId
1734
+ attr_accessor :ErrorMsg, :ReturnData, :RequestId
731
1735
 
732
- def initialize(totalcount=nil, slowqueryrecords=nil, requestid=nil)
733
- @TotalCount = totalcount
734
- @SlowQueryRecords = slowqueryrecords
1736
+ def initialize(errormsg=nil, returndata=nil, requestid=nil)
1737
+ @ErrorMsg = errormsg
1738
+ @ReturnData = returndata
735
1739
  @RequestId = requestid
736
1740
  end
737
1741
 
738
1742
  def deserialize(params)
739
- @TotalCount = params['TotalCount']
740
- unless params['SlowQueryRecords'].nil?
741
- @SlowQueryRecords = DataBaseAuditRecord.new
742
- @SlowQueryRecords.deserialize(params['SlowQueryRecords'])
743
- end
1743
+ @ErrorMsg = params['ErrorMsg']
1744
+ @ReturnData = params['ReturnData']
744
1745
  @RequestId = params['RequestId']
745
1746
  end
746
1747
  end
@@ -772,6 +1773,62 @@ module TencentCloud
772
1773
  end
773
1774
  end
774
1775
 
1776
+ # DescribeFrontEnd请求参数结构体
1777
+ class DescribeFrontEndRequest < TencentCloud::Common::AbstractModel
1778
+ # @param InstanceId: 实例id
1779
+ # @type InstanceId: String
1780
+ # @param ConfigType: 文件类型
1781
+ # @type ConfigType: String
1782
+ # @param Param1: 参数1
1783
+ # @type Param1: String
1784
+ # @param Param2: 参数2
1785
+ # @type Param2: String
1786
+ # @param Param3: 参数3
1787
+ # @type Param3: String
1788
+ # @param Param4: 参数4
1789
+ # @type Param4: String
1790
+ # @param Param5: 参数5
1791
+ # @type Param5: String
1792
+
1793
+ attr_accessor :InstanceId, :ConfigType, :Param1, :Param2, :Param3, :Param4, :Param5
1794
+
1795
+ def initialize(instanceid=nil, configtype=nil, param1=nil, param2=nil, param3=nil, param4=nil, param5=nil)
1796
+ @InstanceId = instanceid
1797
+ @ConfigType = configtype
1798
+ @Param1 = param1
1799
+ @Param2 = param2
1800
+ @Param3 = param3
1801
+ @Param4 = param4
1802
+ @Param5 = param5
1803
+ end
1804
+
1805
+ def deserialize(params)
1806
+ @InstanceId = params['InstanceId']
1807
+ @ConfigType = params['ConfigType']
1808
+ @Param1 = params['Param1']
1809
+ @Param2 = params['Param2']
1810
+ @Param3 = params['Param3']
1811
+ @Param4 = params['Param4']
1812
+ @Param5 = params['Param5']
1813
+ end
1814
+ end
1815
+
1816
+ # DescribeFrontEnd返回参数结构体
1817
+ class DescribeFrontEndResponse < TencentCloud::Common::AbstractModel
1818
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1819
+ # @type RequestId: String
1820
+
1821
+ attr_accessor :RequestId
1822
+
1823
+ def initialize(requestid=nil)
1824
+ @RequestId = requestid
1825
+ end
1826
+
1827
+ def deserialize(params)
1828
+ @RequestId = params['RequestId']
1829
+ end
1830
+ end
1831
+
775
1832
  # DescribeGoodsDetail请求参数结构体
776
1833
  class DescribeGoodsDetailRequest < TencentCloud::Common::AbstractModel
777
1834
  # @param Case: 操作类型,“CREATE"表示创建、”MODIFY"表示变更配置、“RENEW"表示续费
@@ -1092,6 +2149,125 @@ module TencentCloud
1092
2149
  end
1093
2150
  end
1094
2151
 
2152
+ # DescribeInstanceNodesRole请求参数结构体
2153
+ class DescribeInstanceNodesRoleRequest < TencentCloud::Common::AbstractModel
2154
+ # @param InstanceId: 实例id
2155
+ # @type InstanceId: String
2156
+ # @param IpFilter: 过滤ip
2157
+ # @type IpFilter: String
2158
+
2159
+ attr_accessor :InstanceId, :IpFilter
2160
+
2161
+ def initialize(instanceid=nil, ipfilter=nil)
2162
+ @InstanceId = instanceid
2163
+ @IpFilter = ipfilter
2164
+ end
2165
+
2166
+ def deserialize(params)
2167
+ @InstanceId = params['InstanceId']
2168
+ @IpFilter = params['IpFilter']
2169
+ end
2170
+ end
2171
+
2172
+ # DescribeInstanceNodesRole返回参数结构体
2173
+ class DescribeInstanceNodesRoleResponse < TencentCloud::Common::AbstractModel
2174
+ # @param ErrorMsg: 错误码
2175
+ # @type ErrorMsg: String
2176
+ # @param TotalCount: 节点总数
2177
+ # @type TotalCount: Integer
2178
+ # @param NodeInfos: 无
2179
+ # @type NodeInfos: Array
2180
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2181
+ # @type RequestId: String
2182
+
2183
+ attr_accessor :ErrorMsg, :TotalCount, :NodeInfos, :RequestId
2184
+
2185
+ def initialize(errormsg=nil, totalcount=nil, nodeinfos=nil, requestid=nil)
2186
+ @ErrorMsg = errormsg
2187
+ @TotalCount = totalcount
2188
+ @NodeInfos = nodeinfos
2189
+ @RequestId = requestid
2190
+ end
2191
+
2192
+ def deserialize(params)
2193
+ @ErrorMsg = params['ErrorMsg']
2194
+ @TotalCount = params['TotalCount']
2195
+ unless params['NodeInfos'].nil?
2196
+ @NodeInfos = []
2197
+ params['NodeInfos'].each do |i|
2198
+ nodeinfos_tmp = NodeInfos.new
2199
+ nodeinfos_tmp.deserialize(i)
2200
+ @NodeInfos << nodeinfos_tmp
2201
+ end
2202
+ end
2203
+ @RequestId = params['RequestId']
2204
+ end
2205
+ end
2206
+
2207
+ # DescribeInstanceOperations请求参数结构体
2208
+ class DescribeInstanceOperationsRequest < TencentCloud::Common::AbstractModel
2209
+ # @param InstanceId: 集群ID
2210
+ # @type InstanceId: String
2211
+ # @param Offset: 分页参数,偏移量,从0开始
2212
+ # @type Offset: Integer
2213
+ # @param Limit: 分页参数,每页数目,默认为10
2214
+ # @type Limit: Integer
2215
+ # @param StartTime: 开始时间
2216
+ # @type StartTime: String
2217
+ # @param EndTime: 结束时间
2218
+ # @type EndTime: String
2219
+
2220
+ attr_accessor :InstanceId, :Offset, :Limit, :StartTime, :EndTime
2221
+
2222
+ def initialize(instanceid=nil, offset=nil, limit=nil, starttime=nil, endtime=nil)
2223
+ @InstanceId = instanceid
2224
+ @Offset = offset
2225
+ @Limit = limit
2226
+ @StartTime = starttime
2227
+ @EndTime = endtime
2228
+ end
2229
+
2230
+ def deserialize(params)
2231
+ @InstanceId = params['InstanceId']
2232
+ @Offset = params['Offset']
2233
+ @Limit = params['Limit']
2234
+ @StartTime = params['StartTime']
2235
+ @EndTime = params['EndTime']
2236
+ end
2237
+ end
2238
+
2239
+ # DescribeInstanceOperations返回参数结构体
2240
+ class DescribeInstanceOperationsResponse < TencentCloud::Common::AbstractModel
2241
+ # @param TotalCount: 操作记录总数
2242
+ # @type TotalCount: Integer
2243
+ # @param Operations: 操作记录具体数据
2244
+ # 注意:此字段可能返回 null,表示取不到有效值。
2245
+ # @type Operations: Array
2246
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2247
+ # @type RequestId: String
2248
+
2249
+ attr_accessor :TotalCount, :Operations, :RequestId
2250
+
2251
+ def initialize(totalcount=nil, operations=nil, requestid=nil)
2252
+ @TotalCount = totalcount
2253
+ @Operations = operations
2254
+ @RequestId = requestid
2255
+ end
2256
+
2257
+ def deserialize(params)
2258
+ @TotalCount = params['TotalCount']
2259
+ unless params['Operations'].nil?
2260
+ @Operations = []
2261
+ params['Operations'].each do |i|
2262
+ instanceoperation_tmp = InstanceOperation.new
2263
+ instanceoperation_tmp.deserialize(i)
2264
+ @Operations << instanceoperation_tmp
2265
+ end
2266
+ end
2267
+ @RequestId = params['RequestId']
2268
+ end
2269
+ end
2270
+
1095
2271
  # DescribeInstance请求参数结构体
1096
2272
  class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
1097
2273
  # @param InstanceId: 集群实例ID
@@ -1234,6 +2410,50 @@ module TencentCloud
1234
2410
  end
1235
2411
  end
1236
2412
 
2413
+ # DescribeInstancesHealthState请求参数结构体
2414
+ class DescribeInstancesHealthStateRequest < TencentCloud::Common::AbstractModel
2415
+ # @param InstanceID: 集群Id
2416
+ # @type InstanceID: String
2417
+ # @param Input: "" 或者 某个集群Id
2418
+ # @type Input: String
2419
+
2420
+ attr_accessor :InstanceID, :Input
2421
+ extend Gem::Deprecate
2422
+ deprecate :InstanceID, :none, 2024, 8
2423
+ deprecate :InstanceID=, :none, 2024, 8
2424
+
2425
+ def initialize(instanceid=nil, input=nil)
2426
+ @InstanceID = instanceid
2427
+ @Input = input
2428
+ end
2429
+
2430
+ def deserialize(params)
2431
+ @InstanceID = params['InstanceID']
2432
+ @Input = params['Input']
2433
+ end
2434
+ end
2435
+
2436
+ # DescribeInstancesHealthState返回参数结构体
2437
+ class DescribeInstancesHealthStateResponse < TencentCloud::Common::AbstractModel
2438
+ # @param Data: 出参
2439
+ # 注意:此字段可能返回 null,表示取不到有效值。
2440
+ # @type Data: String
2441
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2442
+ # @type RequestId: String
2443
+
2444
+ attr_accessor :Data, :RequestId
2445
+
2446
+ def initialize(data=nil, requestid=nil)
2447
+ @Data = data
2448
+ @RequestId = requestid
2449
+ end
2450
+
2451
+ def deserialize(params)
2452
+ @Data = params['Data']
2453
+ @RequestId = params['RequestId']
2454
+ end
2455
+ end
2456
+
1237
2457
  # DescribeInstances请求参数结构体
1238
2458
  class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
1239
2459
  # @param SearchInstanceId: 搜索的集群id名称
@@ -1304,6 +2524,30 @@ module TencentCloud
1304
2524
  end
1305
2525
  end
1306
2526
 
2527
+ # 展示doris监控指标请求入参
2528
+ class DescribeMetricsFileReq < TencentCloud::Common::AbstractModel
2529
+ # @param InstanceType: 集群类型
2530
+ # @type InstanceType: String
2531
+ # @param MetricType: 指标类型
2532
+ # @type MetricType: String
2533
+ # @param IfAttention: 是否关注
2534
+ # @type IfAttention: Integer
2535
+
2536
+ attr_accessor :InstanceType, :MetricType, :IfAttention
2537
+
2538
+ def initialize(instancetype=nil, metrictype=nil, ifattention=nil)
2539
+ @InstanceType = instancetype
2540
+ @MetricType = metrictype
2541
+ @IfAttention = ifattention
2542
+ end
2543
+
2544
+ def deserialize(params)
2545
+ @InstanceType = params['InstanceType']
2546
+ @MetricType = params['MetricType']
2547
+ @IfAttention = params['IfAttention']
2548
+ end
2549
+ end
2550
+
1307
2551
  # DescribeRegionZone请求参数结构体
1308
2552
  class DescribeRegionZoneRequest < TencentCloud::Common::AbstractModel
1309
2553
  # @param Service: 服务
@@ -1641,6 +2885,84 @@ module TencentCloud
1641
2885
  end
1642
2886
  end
1643
2887
 
2888
+ # DescribeSpec请求参数结构体
2889
+ class DescribeSpecRequest < TencentCloud::Common::AbstractModel
2890
+ # @param Zone: 地域信息,例如"ap-guangzhou-1"
2891
+ # @type Zone: String
2892
+ # @param PayMode: 计费类型,PREPAID 包年包月,POSTPAID_BY_HOUR 按量计费
2893
+ # @type PayMode: String
2894
+ # @param Zones: 多可用区
2895
+ # @type Zones: Array
2896
+ # @param SpecName: 机型名称
2897
+ # @type SpecName: String
2898
+
2899
+ attr_accessor :Zone, :PayMode, :Zones, :SpecName
2900
+
2901
+ def initialize(zone=nil, paymode=nil, zones=nil, specname=nil)
2902
+ @Zone = zone
2903
+ @PayMode = paymode
2904
+ @Zones = zones
2905
+ @SpecName = specname
2906
+ end
2907
+
2908
+ def deserialize(params)
2909
+ @Zone = params['Zone']
2910
+ @PayMode = params['PayMode']
2911
+ @Zones = params['Zones']
2912
+ @SpecName = params['SpecName']
2913
+ end
2914
+ end
2915
+
2916
+ # DescribeSpec返回参数结构体
2917
+ class DescribeSpecResponse < TencentCloud::Common::AbstractModel
2918
+ # @param MasterSpec: zookeeper节点规格描述
2919
+ # @type MasterSpec: Array
2920
+ # @param CoreSpec: 数据节点规格描述
2921
+ # @type CoreSpec: Array
2922
+ # @param AttachCBSSpec: 云盘列表
2923
+ # 注意:此字段可能返回 null,表示取不到有效值。
2924
+ # @type AttachCBSSpec: Array
2925
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2926
+ # @type RequestId: String
2927
+
2928
+ attr_accessor :MasterSpec, :CoreSpec, :AttachCBSSpec, :RequestId
2929
+
2930
+ def initialize(masterspec=nil, corespec=nil, attachcbsspec=nil, requestid=nil)
2931
+ @MasterSpec = masterspec
2932
+ @CoreSpec = corespec
2933
+ @AttachCBSSpec = attachcbsspec
2934
+ @RequestId = requestid
2935
+ end
2936
+
2937
+ def deserialize(params)
2938
+ unless params['MasterSpec'].nil?
2939
+ @MasterSpec = []
2940
+ params['MasterSpec'].each do |i|
2941
+ resourcespec_tmp = ResourceSpec.new
2942
+ resourcespec_tmp.deserialize(i)
2943
+ @MasterSpec << resourcespec_tmp
2944
+ end
2945
+ end
2946
+ unless params['CoreSpec'].nil?
2947
+ @CoreSpec = []
2948
+ params['CoreSpec'].each do |i|
2949
+ resourcespec_tmp = ResourceSpec.new
2950
+ resourcespec_tmp.deserialize(i)
2951
+ @CoreSpec << resourcespec_tmp
2952
+ end
2953
+ end
2954
+ unless params['AttachCBSSpec'].nil?
2955
+ @AttachCBSSpec = []
2956
+ params['AttachCBSSpec'].each do |i|
2957
+ diskspec_tmp = DiskSpec.new
2958
+ diskspec_tmp.deserialize(i)
2959
+ @AttachCBSSpec << diskspec_tmp
2960
+ end
2961
+ end
2962
+ @RequestId = params['RequestId']
2963
+ end
2964
+ end
2965
+
1644
2966
  # DescribeSqlApis请求参数结构体
1645
2967
  class DescribeSqlApisRequest < TencentCloud::Common::AbstractModel
1646
2968
  # @param WhiteHost: 用户链接来自的 IP
@@ -1823,6 +3145,70 @@ module TencentCloud
1823
3145
  end
1824
3146
  end
1825
3147
 
3148
+ # 磁盘规格描述
3149
+ class DiskSpec < TencentCloud::Common::AbstractModel
3150
+ # @param DiskType: 磁盘类型,例如“CLOUD_SSD", "LOCAL_SSD"等
3151
+ # @type DiskType: String
3152
+ # @param DiskDesc: 磁盘类型说明,例如"云SSD", "本地SSD"等
3153
+ # @type DiskDesc: String
3154
+ # @param MinDiskSize: 磁盘最小规格大小,单位G
3155
+ # @type MinDiskSize: Integer
3156
+ # @param MaxDiskSize: 磁盘最大规格大小,单位G
3157
+ # @type MaxDiskSize: Integer
3158
+ # @param DiskCount: 磁盘数目
3159
+ # @type DiskCount: Integer
3160
+
3161
+ attr_accessor :DiskType, :DiskDesc, :MinDiskSize, :MaxDiskSize, :DiskCount
3162
+
3163
+ def initialize(disktype=nil, diskdesc=nil, mindisksize=nil, maxdisksize=nil, diskcount=nil)
3164
+ @DiskType = disktype
3165
+ @DiskDesc = diskdesc
3166
+ @MinDiskSize = mindisksize
3167
+ @MaxDiskSize = maxdisksize
3168
+ @DiskCount = diskcount
3169
+ end
3170
+
3171
+ def deserialize(params)
3172
+ @DiskType = params['DiskType']
3173
+ @DiskDesc = params['DiskDesc']
3174
+ @MinDiskSize = params['MinDiskSize']
3175
+ @MaxDiskSize = params['MaxDiskSize']
3176
+ @DiskCount = params['DiskCount']
3177
+ end
3178
+ end
3179
+
3180
+ # 外部doris集群的连接信息
3181
+ class DorisSourceInfo < TencentCloud::Common::AbstractModel
3182
+ # @param Host: doris集群的fe的ip
3183
+ # 注意:此字段可能返回 null,表示取不到有效值。
3184
+ # @type Host: String
3185
+ # @param Port: doris集群的fe的端口号
3186
+ # 注意:此字段可能返回 null,表示取不到有效值。
3187
+ # @type Port: Integer
3188
+ # @param User: doris集群的账号
3189
+ # 注意:此字段可能返回 null,表示取不到有效值。
3190
+ # @type User: String
3191
+ # @param Password: doris集群的密码
3192
+ # 注意:此字段可能返回 null,表示取不到有效值。
3193
+ # @type Password: String
3194
+
3195
+ attr_accessor :Host, :Port, :User, :Password
3196
+
3197
+ def initialize(host=nil, port=nil, user=nil, password=nil)
3198
+ @Host = host
3199
+ @Port = port
3200
+ @User = user
3201
+ @Password = password
3202
+ end
3203
+
3204
+ def deserialize(params)
3205
+ @Host = params['Host']
3206
+ @Port = params['Port']
3207
+ @User = params['User']
3208
+ @Password = params['Password']
3209
+ end
3210
+ end
3211
+
1826
3212
  # FitClsLog请求参数结构体
1827
3213
  class FitClsLogRequest < TencentCloud::Common::AbstractModel
1828
3214
  # @param InstanceId: 集群ID,例如cdwch-xxxx
@@ -1871,6 +3257,33 @@ module TencentCloud
1871
3257
  end
1872
3258
  end
1873
3259
 
3260
+ # 前端规则描述
3261
+ class FrontEndRule < TencentCloud::Common::AbstractModel
3262
+ # @param ID: id序列
3263
+ # 注意:此字段可能返回 null,表示取不到有效值。
3264
+ # @type ID: Integer
3265
+ # @param Name: 规则名称
3266
+ # 注意:此字段可能返回 null,表示取不到有效值。
3267
+ # @type Name: String
3268
+ # @param Rule: 详细规则
3269
+ # 注意:此字段可能返回 null,表示取不到有效值。
3270
+ # @type Rule: String
3271
+
3272
+ attr_accessor :ID, :Name, :Rule
3273
+
3274
+ def initialize(id=nil, name=nil, rule=nil)
3275
+ @ID = id
3276
+ @Name = name
3277
+ @Rule = rule
3278
+ end
3279
+
3280
+ def deserialize(params)
3281
+ @ID = params['ID']
3282
+ @Name = params['Name']
3283
+ @Rule = params['Rule']
3284
+ end
3285
+ end
3286
+
1874
3287
  # KV配置
1875
3288
  class InstanceConfigItem < TencentCloud::Common::AbstractModel
1876
3289
  # @param ConfKey: key
@@ -2064,8 +3477,8 @@ module TencentCloud
2064
3477
 
2065
3478
  attr_accessor :InstanceId, :InstanceName, :Status, :Version, :Region, :Zone, :VpcId, :SubnetId, :PayMode, :CreateTime, :ExpireTime, :MasterSummary, :CoreSummary, :HA, :HaType, :AccessInfo, :Id, :RegionId, :ZoneDesc, :FlowMsg, :StatusDesc, :RenewFlag, :Tags, :Monitor, :HasClsTopic, :ClsTopicId, :ClsLogSetId, :EnableXMLConfig, :RegionDesc, :Eip, :CosMoveFactor, :Kind, :CosBucketName, :CanAttachCbs, :BuildVersion, :Components, :IfExistCatalog, :Characteristic, :RestartTimeout, :GraceShutdownWaitSeconds, :CaseSensitive, :IsWhiteSGs, :BindSGs, :EnableMultiZones, :UserNetworkInfos, :EnableCoolDown, :CoolDownBucket, :Details
2066
3479
  extend Gem::Deprecate
2067
- deprecate :IfExistCatalog, :none, 2024, 7
2068
- deprecate :IfExistCatalog=, :none, 2024, 7
3480
+ deprecate :IfExistCatalog, :none, 2024, 8
3481
+ deprecate :IfExistCatalog=, :none, 2024, 8
2069
3482
 
2070
3483
  def initialize(instanceid=nil, instancename=nil, status=nil, version=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, paymode=nil, createtime=nil, expiretime=nil, mastersummary=nil, coresummary=nil, ha=nil, hatype=nil, accessinfo=nil, id=nil, regionid=nil, zonedesc=nil, flowmsg=nil, statusdesc=nil, renewflag=nil, tags=nil, monitor=nil, hasclstopic=nil, clstopicid=nil, clslogsetid=nil, enablexmlconfig=nil, regiondesc=nil, eip=nil, cosmovefactor=nil, kind=nil, cosbucketname=nil, canattachcbs=nil, buildversion=nil, components=nil, ifexistcatalog=nil, characteristic=nil, restarttimeout=nil, graceshutdownwaitseconds=nil, casesensitive=nil, iswhitesgs=nil, bindsgs=nil, enablemultizones=nil, usernetworkinfos=nil, enablecooldown=nil, cooldownbucket=nil, details=nil)
2071
3484
  @InstanceId = instanceid
@@ -2246,6 +3659,62 @@ module TencentCloud
2246
3659
  end
2247
3660
  end
2248
3661
 
3662
+ # 集群操作描述
3663
+ class InstanceOperation < TencentCloud::Common::AbstractModel
3664
+ # @param Name: 操作名称,例如“create_instance"、“scaleout_instance”等
3665
+ # @type Name: String
3666
+ # @param Result: 操作结果,“Success"表示成功,”Fail"表示失败
3667
+ # @type Result: String
3668
+ # @param Desc: 操作名称描述,例如“创建”,“修改集群名称”等
3669
+ # @type Desc: String
3670
+ # @param Level: 操作级别,例如“Critical", "Normal"等
3671
+ # @type Level: String
3672
+ # @param LevelDesc: 操作级别描述,例如“高危”,“一般”等
3673
+ # @type LevelDesc: String
3674
+ # @param StartTime: 操作开始时间
3675
+ # @type StartTime: String
3676
+ # @param EndTime: 操作结束时间
3677
+ # @type EndTime: String
3678
+ # @param ResultDesc: 操作结果描述,例如“成功”,“失败”
3679
+ # @type ResultDesc: String
3680
+ # @param OperateUin: 操作用户ID
3681
+ # @type OperateUin: String
3682
+ # @param JobId: 操作对应的jobid
3683
+ # @type JobId: Integer
3684
+ # @param OperationDetail: 操作明细
3685
+ # @type OperationDetail: String
3686
+
3687
+ attr_accessor :Name, :Result, :Desc, :Level, :LevelDesc, :StartTime, :EndTime, :ResultDesc, :OperateUin, :JobId, :OperationDetail
3688
+
3689
+ def initialize(name=nil, result=nil, desc=nil, level=nil, leveldesc=nil, starttime=nil, endtime=nil, resultdesc=nil, operateuin=nil, jobid=nil, operationdetail=nil)
3690
+ @Name = name
3691
+ @Result = result
3692
+ @Desc = desc
3693
+ @Level = level
3694
+ @LevelDesc = leveldesc
3695
+ @StartTime = starttime
3696
+ @EndTime = endtime
3697
+ @ResultDesc = resultdesc
3698
+ @OperateUin = operateuin
3699
+ @JobId = jobid
3700
+ @OperationDetail = operationdetail
3701
+ end
3702
+
3703
+ def deserialize(params)
3704
+ @Name = params['Name']
3705
+ @Result = params['Result']
3706
+ @Desc = params['Desc']
3707
+ @Level = params['Level']
3708
+ @LevelDesc = params['LevelDesc']
3709
+ @StartTime = params['StartTime']
3710
+ @EndTime = params['EndTime']
3711
+ @ResultDesc = params['ResultDesc']
3712
+ @OperateUin = params['OperateUin']
3713
+ @JobId = params['JobId']
3714
+ @OperationDetail = params['OperationDetail']
3715
+ end
3716
+ end
3717
+
2249
3718
  # ModifyInstanceKeyValConfigs请求参数结构体
2250
3719
  class ModifyInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
2251
3720
  # @param InstanceId: 实例ID
@@ -2386,6 +3855,114 @@ module TencentCloud
2386
3855
  end
2387
3856
  end
2388
3857
 
3858
+ # 用户是否关注监控指标入参
3859
+ class ModifyMetricFileStruct < TencentCloud::Common::AbstractModel
3860
+ # @param Id: 唯一id
3861
+ # @type Id: Integer
3862
+ # @param IfAttention: 是否关注
3863
+ # @type IfAttention: String
3864
+
3865
+ attr_accessor :Id, :IfAttention
3866
+
3867
+ def initialize(id=nil, ifattention=nil)
3868
+ @Id = id
3869
+ @IfAttention = ifattention
3870
+ end
3871
+
3872
+ def deserialize(params)
3873
+ @Id = params['Id']
3874
+ @IfAttention = params['IfAttention']
3875
+ end
3876
+ end
3877
+
3878
+ # doris监控指标关注(取消关注)功能入参
3879
+ class ModifyMetricFileStructNew < TencentCloud::Common::AbstractModel
3880
+ # @param InstanceType: 集群类型
3881
+ # @type InstanceType: String
3882
+ # @param MetricType: 指标类型
3883
+ # @type MetricType: String
3884
+ # @param Name: 指标英文名
3885
+ # @type Name: String
3886
+ # @param IfAttention: 1:关注
3887
+ # 0:取消关注
3888
+ # @type IfAttention: Integer
3889
+
3890
+ attr_accessor :InstanceType, :MetricType, :Name, :IfAttention
3891
+
3892
+ def initialize(instancetype=nil, metrictype=nil, name=nil, ifattention=nil)
3893
+ @InstanceType = instancetype
3894
+ @MetricType = metrictype
3895
+ @Name = name
3896
+ @IfAttention = ifattention
3897
+ end
3898
+
3899
+ def deserialize(params)
3900
+ @InstanceType = params['InstanceType']
3901
+ @MetricType = params['MetricType']
3902
+ @Name = params['Name']
3903
+ @IfAttention = params['IfAttention']
3904
+ end
3905
+ end
3906
+
3907
+ # ModifyNodeStatus请求参数结构体
3908
+ class ModifyNodeStatusRequest < TencentCloud::Common::AbstractModel
3909
+ # @param InstanceId: 集群ID,例如cdwch-xxxx
3910
+ # @type InstanceId: String
3911
+ # @param NodeInfos: 节点信息
3912
+ # @type NodeInfos: Array
3913
+ # @param OperationCode: 节点操作
3914
+ # @type OperationCode: String
3915
+ # @param RestartTimeOut: 超时时间(秒)
3916
+ # @type RestartTimeOut: String
3917
+
3918
+ attr_accessor :InstanceId, :NodeInfos, :OperationCode, :RestartTimeOut
3919
+
3920
+ def initialize(instanceid=nil, nodeinfos=nil, operationcode=nil, restarttimeout=nil)
3921
+ @InstanceId = instanceid
3922
+ @NodeInfos = nodeinfos
3923
+ @OperationCode = operationcode
3924
+ @RestartTimeOut = restarttimeout
3925
+ end
3926
+
3927
+ def deserialize(params)
3928
+ @InstanceId = params['InstanceId']
3929
+ unless params['NodeInfos'].nil?
3930
+ @NodeInfos = []
3931
+ params['NodeInfos'].each do |i|
3932
+ nodeinfos_tmp = NodeInfos.new
3933
+ nodeinfos_tmp.deserialize(i)
3934
+ @NodeInfos << nodeinfos_tmp
3935
+ end
3936
+ end
3937
+ @OperationCode = params['OperationCode']
3938
+ @RestartTimeOut = params['RestartTimeOut']
3939
+ end
3940
+ end
3941
+
3942
+ # ModifyNodeStatus返回参数结构体
3943
+ class ModifyNodeStatusResponse < TencentCloud::Common::AbstractModel
3944
+ # @param FlowId: 流程相关信息
3945
+ # @type FlowId: Integer
3946
+ # @param ErrorMsg: 错误信息
3947
+ # @type ErrorMsg: String
3948
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3949
+ # @type RequestId: String
3950
+
3951
+ attr_accessor :FlowId, :ErrorMsg, :RequestId
3952
+
3953
+ def initialize(flowid=nil, errormsg=nil, requestid=nil)
3954
+ @FlowId = flowid
3955
+ @ErrorMsg = errormsg
3956
+ @RequestId = requestid
3957
+ end
3958
+
3959
+ def deserialize(params)
3960
+ @FlowId = params['FlowId']
3961
+ @ErrorMsg = params['ErrorMsg']
3962
+ @RequestId = params['RequestId']
3963
+ end
3964
+ end
3965
+
2389
3966
  # ModifySecurityGroups请求参数结构体
2390
3967
  class ModifySecurityGroupsRequest < TencentCloud::Common::AbstractModel
2391
3968
  # @param InstanceId: 集群id
@@ -2699,6 +4276,42 @@ module TencentCloud
2699
4276
  end
2700
4277
  end
2701
4278
 
4279
+ # 节点信息列表
4280
+ class NodeInfos < TencentCloud::Common::AbstractModel
4281
+ # @param NodeName: 节点在doris中明朝n
4282
+ # @type NodeName: String
4283
+ # @param Status: 节点状态
4284
+ # @type Status: Integer
4285
+ # @param Ip: 节点ip
4286
+ # @type Ip: String
4287
+ # @param NodeRole: 节点角色
4288
+ # @type NodeRole: String
4289
+ # @param ComponentName: 组件名
4290
+ # @type ComponentName: String
4291
+ # @param LastRestartTime: 上一次重启时间
4292
+ # @type LastRestartTime: String
4293
+
4294
+ attr_accessor :NodeName, :Status, :Ip, :NodeRole, :ComponentName, :LastRestartTime
4295
+
4296
+ def initialize(nodename=nil, status=nil, ip=nil, noderole=nil, componentname=nil, lastrestarttime=nil)
4297
+ @NodeName = nodename
4298
+ @Status = status
4299
+ @Ip = ip
4300
+ @NodeRole = noderole
4301
+ @ComponentName = componentname
4302
+ @LastRestartTime = lastrestarttime
4303
+ end
4304
+
4305
+ def deserialize(params)
4306
+ @NodeName = params['NodeName']
4307
+ @Status = params['Status']
4308
+ @Ip = params['Ip']
4309
+ @NodeRole = params['NodeRole']
4310
+ @ComponentName = params['ComponentName']
4311
+ @LastRestartTime = params['LastRestartTime']
4312
+ end
4313
+ end
4314
+
2702
4315
  # 节点角色描述信息
2703
4316
  class NodesSummary < TencentCloud::Common::AbstractModel
2704
4317
  # @param Spec: 机型,如 S1
@@ -2777,6 +4390,128 @@ module TencentCloud
2777
4390
  end
2778
4391
  end
2779
4392
 
4393
+ # OpenBackUp请求参数结构体
4394
+ class OpenBackUpRequest < TencentCloud::Common::AbstractModel
4395
+ # @param InstanceId: 集群id
4396
+ # @type InstanceId: String
4397
+ # @param OperationType: 取值:
4398
+ # open:打开
4399
+ # close:关闭
4400
+ # updateBucket:变更桶名
4401
+ # @type OperationType: String
4402
+ # @param CosBucketName: 桶名字
4403
+ # @type CosBucketName: String
4404
+
4405
+ attr_accessor :InstanceId, :OperationType, :CosBucketName
4406
+
4407
+ def initialize(instanceid=nil, operationtype=nil, cosbucketname=nil)
4408
+ @InstanceId = instanceid
4409
+ @OperationType = operationtype
4410
+ @CosBucketName = cosbucketname
4411
+ end
4412
+
4413
+ def deserialize(params)
4414
+ @InstanceId = params['InstanceId']
4415
+ @OperationType = params['OperationType']
4416
+ @CosBucketName = params['CosBucketName']
4417
+ end
4418
+ end
4419
+
4420
+ # OpenBackUp返回参数结构体
4421
+ class OpenBackUpResponse < TencentCloud::Common::AbstractModel
4422
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4423
+ # @type RequestId: String
4424
+
4425
+ attr_accessor :RequestId
4426
+
4427
+ def initialize(requestid=nil)
4428
+ @RequestId = requestid
4429
+ end
4430
+
4431
+ def deserialize(params)
4432
+ @RequestId = params['RequestId']
4433
+ end
4434
+ end
4435
+
4436
+ # RecoverBackUpJob请求参数结构体
4437
+ class RecoverBackUpJobRequest < TencentCloud::Common::AbstractModel
4438
+ # @param InstanceId: 集群id
4439
+ # @type InstanceId: String
4440
+ # @param BackUpJobId: 任务id
4441
+ # @type BackUpJobId: Integer
4442
+ # @param ReplicationNum: 恢复出来的新表副本数
4443
+ # @type ReplicationNum: Integer
4444
+ # @param ReserveSourceConfig: 恢复是否保持源表中的配置,1时表示保留源表中的配置
4445
+ # @type ReserveSourceConfig: Integer
4446
+ # @param RecoverType: 0默认 1cos恢复
4447
+ # @type RecoverType: Integer
4448
+ # @param CosSourceInfo: CosSourceInfo对象
4449
+ # @type CosSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.CosSourceInfo`
4450
+ # @param ScheduleType: 0默认 1定期执行
4451
+ # @type ScheduleType: Integer
4452
+ # @param NextTime: 年-月-日 时:分:秒
4453
+ # @type NextTime: String
4454
+ # @param ScheduleName: 调度名称
4455
+ # @type ScheduleName: String
4456
+ # @param OperationType: create update
4457
+ # @type OperationType: String
4458
+ # @param RecoverScope: 恢复粒度:All全量、Database按库、Table按表
4459
+ # @type RecoverScope: String
4460
+ # @param RecoverDatabase: 恢复库:如果是按库备份,则需要该字段,库之间用","分割
4461
+ # @type RecoverDatabase: String
4462
+
4463
+ attr_accessor :InstanceId, :BackUpJobId, :ReplicationNum, :ReserveSourceConfig, :RecoverType, :CosSourceInfo, :ScheduleType, :NextTime, :ScheduleName, :OperationType, :RecoverScope, :RecoverDatabase
4464
+
4465
+ def initialize(instanceid=nil, backupjobid=nil, replicationnum=nil, reservesourceconfig=nil, recovertype=nil, cossourceinfo=nil, scheduletype=nil, nexttime=nil, schedulename=nil, operationtype=nil, recoverscope=nil, recoverdatabase=nil)
4466
+ @InstanceId = instanceid
4467
+ @BackUpJobId = backupjobid
4468
+ @ReplicationNum = replicationnum
4469
+ @ReserveSourceConfig = reservesourceconfig
4470
+ @RecoverType = recovertype
4471
+ @CosSourceInfo = cossourceinfo
4472
+ @ScheduleType = scheduletype
4473
+ @NextTime = nexttime
4474
+ @ScheduleName = schedulename
4475
+ @OperationType = operationtype
4476
+ @RecoverScope = recoverscope
4477
+ @RecoverDatabase = recoverdatabase
4478
+ end
4479
+
4480
+ def deserialize(params)
4481
+ @InstanceId = params['InstanceId']
4482
+ @BackUpJobId = params['BackUpJobId']
4483
+ @ReplicationNum = params['ReplicationNum']
4484
+ @ReserveSourceConfig = params['ReserveSourceConfig']
4485
+ @RecoverType = params['RecoverType']
4486
+ unless params['CosSourceInfo'].nil?
4487
+ @CosSourceInfo = CosSourceInfo.new
4488
+ @CosSourceInfo.deserialize(params['CosSourceInfo'])
4489
+ end
4490
+ @ScheduleType = params['ScheduleType']
4491
+ @NextTime = params['NextTime']
4492
+ @ScheduleName = params['ScheduleName']
4493
+ @OperationType = params['OperationType']
4494
+ @RecoverScope = params['RecoverScope']
4495
+ @RecoverDatabase = params['RecoverDatabase']
4496
+ end
4497
+ end
4498
+
4499
+ # RecoverBackUpJob返回参数结构体
4500
+ class RecoverBackUpJobResponse < TencentCloud::Common::AbstractModel
4501
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4502
+ # @type RequestId: String
4503
+
4504
+ attr_accessor :RequestId
4505
+
4506
+ def initialize(requestid=nil)
4507
+ @RequestId = requestid
4508
+ end
4509
+
4510
+ def deserialize(params)
4511
+ @RequestId = params['RequestId']
4512
+ end
4513
+ end
4514
+
2780
4515
  # ReduceInstance请求参数结构体
2781
4516
  class ReduceInstanceRequest < TencentCloud::Common::AbstractModel
2782
4517
  # @param InstanceId: 集群ID
@@ -3043,6 +4778,118 @@ module TencentCloud
3043
4778
  end
3044
4779
  end
3045
4780
 
4781
+ # 资源规格描述信息
4782
+ class ResourceSpec < TencentCloud::Common::AbstractModel
4783
+ # @param Name: 规格名称,例如“SCH1"
4784
+ # @type Name: String
4785
+ # @param Cpu: cpu核数
4786
+ # @type Cpu: Integer
4787
+ # @param Mem: 内存大小,单位G
4788
+ # @type Mem: Integer
4789
+ # @param Type: 分类标记,STANDARD/BIGDATA/HIGHIO分别表示标准型/大数据型/高IO
4790
+ # @type Type: String
4791
+ # @param SystemDisk: 系统盘描述信息
4792
+ # 注意:此字段可能返回 null,表示取不到有效值。
4793
+ # @type SystemDisk: :class:`Tencentcloud::Cdwdoris.v20211228.models.DiskSpec`
4794
+ # @param DataDisk: 数据盘描述信息
4795
+ # 注意:此字段可能返回 null,表示取不到有效值。
4796
+ # @type DataDisk: :class:`Tencentcloud::Cdwdoris.v20211228.models.DiskSpec`
4797
+ # @param MaxNodeSize: 最大节点数目限制
4798
+ # 注意:此字段可能返回 null,表示取不到有效值。
4799
+ # @type MaxNodeSize: Integer
4800
+ # @param Available: 是否可用,false代表售罄
4801
+ # 注意:此字段可能返回 null,表示取不到有效值。
4802
+ # @type Available: Boolean
4803
+ # @param ComputeSpecDesc: 规格描述信息
4804
+ # 注意:此字段可能返回 null,表示取不到有效值。
4805
+ # @type ComputeSpecDesc: String
4806
+ # @param InstanceQuota: cvm库存
4807
+ # 注意:此字段可能返回 null,表示取不到有效值。
4808
+ # @type InstanceQuota: Integer
4809
+
4810
+ attr_accessor :Name, :Cpu, :Mem, :Type, :SystemDisk, :DataDisk, :MaxNodeSize, :Available, :ComputeSpecDesc, :InstanceQuota
4811
+
4812
+ def initialize(name=nil, cpu=nil, mem=nil, type=nil, systemdisk=nil, datadisk=nil, maxnodesize=nil, available=nil, computespecdesc=nil, instancequota=nil)
4813
+ @Name = name
4814
+ @Cpu = cpu
4815
+ @Mem = mem
4816
+ @Type = type
4817
+ @SystemDisk = systemdisk
4818
+ @DataDisk = datadisk
4819
+ @MaxNodeSize = maxnodesize
4820
+ @Available = available
4821
+ @ComputeSpecDesc = computespecdesc
4822
+ @InstanceQuota = instancequota
4823
+ end
4824
+
4825
+ def deserialize(params)
4826
+ @Name = params['Name']
4827
+ @Cpu = params['Cpu']
4828
+ @Mem = params['Mem']
4829
+ @Type = params['Type']
4830
+ unless params['SystemDisk'].nil?
4831
+ @SystemDisk = DiskSpec.new
4832
+ @SystemDisk.deserialize(params['SystemDisk'])
4833
+ end
4834
+ unless params['DataDisk'].nil?
4835
+ @DataDisk = DiskSpec.new
4836
+ @DataDisk.deserialize(params['DataDisk'])
4837
+ end
4838
+ @MaxNodeSize = params['MaxNodeSize']
4839
+ @Available = params['Available']
4840
+ @ComputeSpecDesc = params['ComputeSpecDesc']
4841
+ @InstanceQuota = params['InstanceQuota']
4842
+ end
4843
+ end
4844
+
4845
+ # RestartClusterForConfigs请求参数结构体
4846
+ class RestartClusterForConfigsRequest < TencentCloud::Common::AbstractModel
4847
+ # @param InstanceId: 集群ID,例如cdwch-xxxx
4848
+ # @type InstanceId: String
4849
+ # @param ConfigName: 配置文件名称
4850
+ # @type ConfigName: String
4851
+ # @param OperationType: grace_restart为优雅滚动重启 不填默认立刻重启
4852
+ # @type OperationType: String
4853
+
4854
+ attr_accessor :InstanceId, :ConfigName, :OperationType
4855
+
4856
+ def initialize(instanceid=nil, configname=nil, operationtype=nil)
4857
+ @InstanceId = instanceid
4858
+ @ConfigName = configname
4859
+ @OperationType = operationtype
4860
+ end
4861
+
4862
+ def deserialize(params)
4863
+ @InstanceId = params['InstanceId']
4864
+ @ConfigName = params['ConfigName']
4865
+ @OperationType = params['OperationType']
4866
+ end
4867
+ end
4868
+
4869
+ # RestartClusterForConfigs返回参数结构体
4870
+ class RestartClusterForConfigsResponse < TencentCloud::Common::AbstractModel
4871
+ # @param FlowId: 流程相关信息
4872
+ # @type FlowId: Integer
4873
+ # @param ErrorMsg: 错误信息
4874
+ # @type ErrorMsg: String
4875
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4876
+ # @type RequestId: String
4877
+
4878
+ attr_accessor :FlowId, :ErrorMsg, :RequestId
4879
+
4880
+ def initialize(flowid=nil, errormsg=nil, requestid=nil)
4881
+ @FlowId = flowid
4882
+ @ErrorMsg = errormsg
4883
+ @RequestId = requestid
4884
+ end
4885
+
4886
+ def deserialize(params)
4887
+ @FlowId = params['FlowId']
4888
+ @ErrorMsg = params['ErrorMsg']
4889
+ @RequestId = params['RequestId']
4890
+ end
4891
+ end
4892
+
3046
4893
  # RestartClusterForNode请求参数结构体
3047
4894
  class RestartClusterForNodeRequest < TencentCloud::Common::AbstractModel
3048
4895
  # @param InstanceId: 集群ID,例如cdwch-xxxx
@@ -3423,8 +5270,8 @@ module TencentCloud
3423
5270
 
3424
5271
  attr_accessor :DelShards, :DelHosts
3425
5272
  extend Gem::Deprecate
3426
- deprecate :DelShards, :none, 2024, 7
3427
- deprecate :DelShards=, :none, 2024, 7
5273
+ deprecate :DelShards, :none, 2024, 8
5274
+ deprecate :DelShards=, :none, 2024, 8
3428
5275
 
3429
5276
  def initialize(delshards=nil, delhosts=nil)
3430
5277
  @DelShards = delshards