tencentcloud-sdk-cdwdoris 3.0.734 → 3.0.735

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,6 +45,657 @@ module TencentCloud
45
45
  end
46
46
  end
47
47
 
48
+ # 集群计费相关信息
49
+ class ChargeProperties < TencentCloud::Common::AbstractModel
50
+ # @param ChargeType: 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
51
+ # 注意:此字段可能返回 null,表示取不到有效值。
52
+ # @type ChargeType: String
53
+ # @param RenewFlag: 是否自动续费,1表示自动续费开启
54
+ # 注意:此字段可能返回 null,表示取不到有效值。
55
+ # @type RenewFlag: Integer
56
+ # @param TimeSpan: 计费时间长度
57
+ # 注意:此字段可能返回 null,表示取不到有效值。
58
+ # @type TimeSpan: Integer
59
+ # @param TimeUnit: 计费时间单位,“m”表示月等
60
+ # 注意:此字段可能返回 null,表示取不到有效值。
61
+ # @type TimeUnit: String
62
+
63
+ attr_accessor :ChargeType, :RenewFlag, :TimeSpan, :TimeUnit
64
+
65
+ def initialize(chargetype=nil, renewflag=nil, timespan=nil, timeunit=nil)
66
+ @ChargeType = chargetype
67
+ @RenewFlag = renewflag
68
+ @TimeSpan = timespan
69
+ @TimeUnit = timeunit
70
+ end
71
+
72
+ def deserialize(params)
73
+ @ChargeType = params['ChargeType']
74
+ @RenewFlag = params['RenewFlag']
75
+ @TimeSpan = params['TimeSpan']
76
+ @TimeUnit = params['TimeUnit']
77
+ end
78
+ end
79
+
80
+ # 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
81
+ class ClusterConfigsInfoFromEMR < TencentCloud::Common::AbstractModel
82
+ # @param FileName: 配置文件名称
83
+ # @type FileName: String
84
+ # @param FileConf: 配置文件对应的相关属性信息
85
+ # @type FileConf: String
86
+ # @param KeyConf: 配置文件对应的其他属性信息
87
+ # @type KeyConf: String
88
+ # @param OriParam: 配置文件的内容,base64编码
89
+ # @type OriParam: String
90
+ # @param NeedRestart: 用于表示当前配置文件是不是有过修改后没有重启,提醒用户需要重启
91
+ # @type NeedRestart: Integer
92
+ # @param FilePath: 配置文件路径
93
+ # 注意:此字段可能返回 null,表示取不到有效值。
94
+ # @type FilePath: String
95
+ # @param FileKeyValues: 配置文件kv值
96
+ # 注意:此字段可能返回 null,表示取不到有效值。
97
+ # @type FileKeyValues: String
98
+ # @param FileKeyValuesNew: 配置文件kv值
99
+ # 注意:此字段可能返回 null,表示取不到有效值。
100
+ # @type FileKeyValuesNew: Array
101
+
102
+ attr_accessor :FileName, :FileConf, :KeyConf, :OriParam, :NeedRestart, :FilePath, :FileKeyValues, :FileKeyValuesNew
103
+ extend Gem::Deprecate
104
+ deprecate :FileKeyValues, :none, 2023, 12
105
+ deprecate :FileKeyValues=, :none, 2023, 12
106
+
107
+ def initialize(filename=nil, fileconf=nil, keyconf=nil, oriparam=nil, needrestart=nil, filepath=nil, filekeyvalues=nil, filekeyvaluesnew=nil)
108
+ @FileName = filename
109
+ @FileConf = fileconf
110
+ @KeyConf = keyconf
111
+ @OriParam = oriparam
112
+ @NeedRestart = needrestart
113
+ @FilePath = filepath
114
+ @FileKeyValues = filekeyvalues
115
+ @FileKeyValuesNew = filekeyvaluesnew
116
+ end
117
+
118
+ def deserialize(params)
119
+ @FileName = params['FileName']
120
+ @FileConf = params['FileConf']
121
+ @KeyConf = params['KeyConf']
122
+ @OriParam = params['OriParam']
123
+ @NeedRestart = params['NeedRestart']
124
+ @FilePath = params['FilePath']
125
+ @FileKeyValues = params['FileKeyValues']
126
+ unless params['FileKeyValuesNew'].nil?
127
+ @FileKeyValuesNew = []
128
+ params['FileKeyValuesNew'].each do |i|
129
+ configkeyvalue_tmp = ConfigKeyValue.new
130
+ configkeyvalue_tmp.deserialize(i)
131
+ @FileKeyValuesNew << configkeyvalue_tmp
132
+ end
133
+ end
134
+ end
135
+ end
136
+
137
+ # 返回配置的文件内容(key-value)
138
+ class ConfigKeyValue < TencentCloud::Common::AbstractModel
139
+ # @param KeyName: key
140
+ # 注意:此字段可能返回 null,表示取不到有效值。
141
+ # @type KeyName: String
142
+ # @param Value: 值
143
+ # 注意:此字段可能返回 null,表示取不到有效值。
144
+ # @type Value: String
145
+ # @param Message: 备注
146
+ # 注意:此字段可能返回 null,表示取不到有效值。
147
+ # @type Message: String
148
+ # @param Display: 1-只读,2-可修改但不可删除,3-可删除
149
+ # 注意:此字段可能返回 null,表示取不到有效值。
150
+ # @type Display: Integer
151
+ # @param SupportHotUpdate: 0不支持 1支持热更新
152
+ # 注意:此字段可能返回 null,表示取不到有效值。
153
+ # @type SupportHotUpdate: Integer
154
+
155
+ attr_accessor :KeyName, :Value, :Message, :Display, :SupportHotUpdate
156
+
157
+ def initialize(keyname=nil, value=nil, message=nil, display=nil, supporthotupdate=nil)
158
+ @KeyName = keyname
159
+ @Value = value
160
+ @Message = message
161
+ @Display = display
162
+ @SupportHotUpdate = supporthotupdate
163
+ end
164
+
165
+ def deserialize(params)
166
+ @KeyName = params['KeyName']
167
+ @Value = params['Value']
168
+ @Message = params['Message']
169
+ @Display = params['Display']
170
+ @SupportHotUpdate = params['SupportHotUpdate']
171
+ end
172
+ end
173
+
174
+ # CreateInstanceNew请求参数结构体
175
+ class CreateInstanceNewRequest < TencentCloud::Common::AbstractModel
176
+ # @param Zone: 可用区
177
+ # @type Zone: String
178
+ # @param FeSpec: FE规格
179
+ # @type FeSpec: :class:`Tencentcloud::Cdwdoris.v20211228.models.CreateInstanceSpec`
180
+ # @param BeSpec: BE规格
181
+ # @type BeSpec: :class:`Tencentcloud::Cdwdoris.v20211228.models.CreateInstanceSpec`
182
+ # @param HaFlag: 是否高可用
183
+ # @type HaFlag: Boolean
184
+ # @param UserVPCId: 用户VPCID
185
+ # @type UserVPCId: String
186
+ # @param UserSubnetId: 用户子网ID
187
+ # @type UserSubnetId: String
188
+ # @param ProductVersion: 产品版本号
189
+ # @type ProductVersion: String
190
+ # @param ChargeProperties: 付费类型
191
+ # @type ChargeProperties: :class:`Tencentcloud::Cdwdoris.v20211228.models.ChargeProperties`
192
+ # @param InstanceName: 实例名字
193
+ # @type InstanceName: String
194
+ # @param DorisUserPwd: 数据库密码
195
+ # @type DorisUserPwd: String
196
+ # @param Tags: 标签列表
197
+ # @type Tags: Array
198
+ # @param HaType: 高可用类型:0:非高可用,1:读高可用,2:读写高可用。
199
+ # @type HaType: Integer
200
+ # @param CaseSensitive: 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
201
+ # @type CaseSensitive: Integer
202
+
203
+ attr_accessor :Zone, :FeSpec, :BeSpec, :HaFlag, :UserVPCId, :UserSubnetId, :ProductVersion, :ChargeProperties, :InstanceName, :DorisUserPwd, :Tags, :HaType, :CaseSensitive
204
+
205
+ def initialize(zone=nil, fespec=nil, bespec=nil, haflag=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, chargeproperties=nil, instancename=nil, dorisuserpwd=nil, tags=nil, hatype=nil, casesensitive=nil)
206
+ @Zone = zone
207
+ @FeSpec = fespec
208
+ @BeSpec = bespec
209
+ @HaFlag = haflag
210
+ @UserVPCId = uservpcid
211
+ @UserSubnetId = usersubnetid
212
+ @ProductVersion = productversion
213
+ @ChargeProperties = chargeproperties
214
+ @InstanceName = instancename
215
+ @DorisUserPwd = dorisuserpwd
216
+ @Tags = tags
217
+ @HaType = hatype
218
+ @CaseSensitive = casesensitive
219
+ end
220
+
221
+ def deserialize(params)
222
+ @Zone = params['Zone']
223
+ unless params['FeSpec'].nil?
224
+ @FeSpec = CreateInstanceSpec.new
225
+ @FeSpec.deserialize(params['FeSpec'])
226
+ end
227
+ unless params['BeSpec'].nil?
228
+ @BeSpec = CreateInstanceSpec.new
229
+ @BeSpec.deserialize(params['BeSpec'])
230
+ end
231
+ @HaFlag = params['HaFlag']
232
+ @UserVPCId = params['UserVPCId']
233
+ @UserSubnetId = params['UserSubnetId']
234
+ @ProductVersion = params['ProductVersion']
235
+ unless params['ChargeProperties'].nil?
236
+ @ChargeProperties = ChargeProperties.new
237
+ @ChargeProperties.deserialize(params['ChargeProperties'])
238
+ end
239
+ @InstanceName = params['InstanceName']
240
+ @DorisUserPwd = params['DorisUserPwd']
241
+ unless params['Tags'].nil?
242
+ @Tags = []
243
+ params['Tags'].each do |i|
244
+ tag_tmp = Tag.new
245
+ tag_tmp.deserialize(i)
246
+ @Tags << tag_tmp
247
+ end
248
+ end
249
+ @HaType = params['HaType']
250
+ @CaseSensitive = params['CaseSensitive']
251
+ end
252
+ end
253
+
254
+ # CreateInstanceNew返回参数结构体
255
+ class CreateInstanceNewResponse < TencentCloud::Common::AbstractModel
256
+ # @param FlowId: 流程ID
257
+ # @type FlowId: String
258
+ # @param InstanceId: 实例ID
259
+ # @type InstanceId: String
260
+ # @param ErrorMsg: 错误信息
261
+ # @type ErrorMsg: String
262
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
263
+ # @type RequestId: String
264
+
265
+ attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
266
+
267
+ def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
268
+ @FlowId = flowid
269
+ @InstanceId = instanceid
270
+ @ErrorMsg = errormsg
271
+ @RequestId = requestid
272
+ end
273
+
274
+ def deserialize(params)
275
+ @FlowId = params['FlowId']
276
+ @InstanceId = params['InstanceId']
277
+ @ErrorMsg = params['ErrorMsg']
278
+ @RequestId = params['RequestId']
279
+ end
280
+ end
281
+
282
+ # 集群规格
283
+ class CreateInstanceSpec < TencentCloud::Common::AbstractModel
284
+ # @param SpecName: 规格名字
285
+ # @type SpecName: String
286
+ # @param Count: 数量
287
+ # @type Count: Integer
288
+ # @param DiskSize: 云盘大小
289
+ # @type DiskSize: Integer
290
+
291
+ attr_accessor :SpecName, :Count, :DiskSize
292
+
293
+ def initialize(specname=nil, count=nil, disksize=nil)
294
+ @SpecName = specname
295
+ @Count = count
296
+ @DiskSize = disksize
297
+ end
298
+
299
+ def deserialize(params)
300
+ @SpecName = params['SpecName']
301
+ @Count = params['Count']
302
+ @DiskSize = params['DiskSize']
303
+ end
304
+ end
305
+
306
+ # 数据库审计
307
+ class DataBaseAuditRecord < TencentCloud::Common::AbstractModel
308
+ # @param OsUser: 查询用户
309
+ # 注意:此字段可能返回 null,表示取不到有效值。
310
+ # @type OsUser: String
311
+ # @param InitialQueryId: 查询ID
312
+ # 注意:此字段可能返回 null,表示取不到有效值。
313
+ # @type InitialQueryId: String
314
+ # @param Sql: SQL语句
315
+ # 注意:此字段可能返回 null,表示取不到有效值。
316
+ # @type Sql: String
317
+ # @param QueryStartTime: 开始时间
318
+ # 注意:此字段可能返回 null,表示取不到有效值。
319
+ # @type QueryStartTime: String
320
+ # @param DurationMs: 执行耗时
321
+ # 注意:此字段可能返回 null,表示取不到有效值。
322
+ # @type DurationMs: Integer
323
+ # @param ReadRows: 读取行数
324
+ # 注意:此字段可能返回 null,表示取不到有效值。
325
+ # @type ReadRows: Integer
326
+ # @param ResultRows: 读取字节数
327
+ # 注意:此字段可能返回 null,表示取不到有效值。
328
+ # @type ResultRows: Integer
329
+ # @param ResultBytes: 结果字节数
330
+ # 注意:此字段可能返回 null,表示取不到有效值。
331
+ # @type ResultBytes: Integer
332
+ # @param MemoryUsage: 内存
333
+ # 注意:此字段可能返回 null,表示取不到有效值。
334
+ # @type MemoryUsage: Integer
335
+ # @param InitialAddress: 初始查询IP
336
+ # 注意:此字段可能返回 null,表示取不到有效值。
337
+ # @type InitialAddress: String
338
+ # @param DbName: 数据库
339
+ # 注意:此字段可能返回 null,表示取不到有效值。
340
+ # @type DbName: String
341
+ # @param SqlType: sql类型
342
+ # 注意:此字段可能返回 null,表示取不到有效值。
343
+ # @type SqlType: String
344
+ # @param Catalog: catalog名称
345
+ # 注意:此字段可能返回 null,表示取不到有效值。
346
+ # @type Catalog: String
347
+
348
+ attr_accessor :OsUser, :InitialQueryId, :Sql, :QueryStartTime, :DurationMs, :ReadRows, :ResultRows, :ResultBytes, :MemoryUsage, :InitialAddress, :DbName, :SqlType, :Catalog
349
+
350
+ def initialize(osuser=nil, initialqueryid=nil, sql=nil, querystarttime=nil, durationms=nil, readrows=nil, resultrows=nil, resultbytes=nil, memoryusage=nil, initialaddress=nil, dbname=nil, sqltype=nil, catalog=nil)
351
+ @OsUser = osuser
352
+ @InitialQueryId = initialqueryid
353
+ @Sql = sql
354
+ @QueryStartTime = querystarttime
355
+ @DurationMs = durationms
356
+ @ReadRows = readrows
357
+ @ResultRows = resultrows
358
+ @ResultBytes = resultbytes
359
+ @MemoryUsage = memoryusage
360
+ @InitialAddress = initialaddress
361
+ @DbName = dbname
362
+ @SqlType = sqltype
363
+ @Catalog = catalog
364
+ end
365
+
366
+ def deserialize(params)
367
+ @OsUser = params['OsUser']
368
+ @InitialQueryId = params['InitialQueryId']
369
+ @Sql = params['Sql']
370
+ @QueryStartTime = params['QueryStartTime']
371
+ @DurationMs = params['DurationMs']
372
+ @ReadRows = params['ReadRows']
373
+ @ResultRows = params['ResultRows']
374
+ @ResultBytes = params['ResultBytes']
375
+ @MemoryUsage = params['MemoryUsage']
376
+ @InitialAddress = params['InitialAddress']
377
+ @DbName = params['DbName']
378
+ @SqlType = params['SqlType']
379
+ @Catalog = params['Catalog']
380
+ end
381
+ end
382
+
383
+ # DescribeClusterConfigs请求参数结构体
384
+ class DescribeClusterConfigsRequest < TencentCloud::Common::AbstractModel
385
+ # @param InstanceId: 集群实例ID
386
+ # @type InstanceId: String
387
+ # @param ConfigType: 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
388
+ # @type ConfigType: Integer
389
+ # @param FileName: 模糊搜索关键字文件
390
+ # @type FileName: String
391
+ # @param ClusterConfigType: 0集群维度 1节点维度
392
+ # @type ClusterConfigType: Integer
393
+ # @param IPAddress: eth0的ip地址
394
+ # @type IPAddress: String
395
+
396
+ attr_accessor :InstanceId, :ConfigType, :FileName, :ClusterConfigType, :IPAddress
397
+
398
+ def initialize(instanceid=nil, configtype=nil, filename=nil, clusterconfigtype=nil, ipaddress=nil)
399
+ @InstanceId = instanceid
400
+ @ConfigType = configtype
401
+ @FileName = filename
402
+ @ClusterConfigType = clusterconfigtype
403
+ @IPAddress = ipaddress
404
+ end
405
+
406
+ def deserialize(params)
407
+ @InstanceId = params['InstanceId']
408
+ @ConfigType = params['ConfigType']
409
+ @FileName = params['FileName']
410
+ @ClusterConfigType = params['ClusterConfigType']
411
+ @IPAddress = params['IPAddress']
412
+ end
413
+ end
414
+
415
+ # DescribeClusterConfigs返回参数结构体
416
+ class DescribeClusterConfigsResponse < TencentCloud::Common::AbstractModel
417
+ # @param ClusterConfList: 返回实例的配置文件相关的信息
418
+ # @type ClusterConfList: Array
419
+ # @param BuildVersion: 返回当前内核版本 如果不存在则返回空字符串
420
+ # @type BuildVersion: String
421
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
422
+ # @type RequestId: String
423
+
424
+ attr_accessor :ClusterConfList, :BuildVersion, :RequestId
425
+
426
+ def initialize(clusterconflist=nil, buildversion=nil, requestid=nil)
427
+ @ClusterConfList = clusterconflist
428
+ @BuildVersion = buildversion
429
+ @RequestId = requestid
430
+ end
431
+
432
+ def deserialize(params)
433
+ unless params['ClusterConfList'].nil?
434
+ @ClusterConfList = []
435
+ params['ClusterConfList'].each do |i|
436
+ clusterconfigsinfofromemr_tmp = ClusterConfigsInfoFromEMR.new
437
+ clusterconfigsinfofromemr_tmp.deserialize(i)
438
+ @ClusterConfList << clusterconfigsinfofromemr_tmp
439
+ end
440
+ end
441
+ @BuildVersion = params['BuildVersion']
442
+ @RequestId = params['RequestId']
443
+ end
444
+ end
445
+
446
+ # DescribeDatabaseAuditDownload请求参数结构体
447
+ class DescribeDatabaseAuditDownloadRequest < TencentCloud::Common::AbstractModel
448
+ # @param InstanceId: 实例ID
449
+ # @type InstanceId: String
450
+ # @param StartTime: 开始时间
451
+ # @type StartTime: String
452
+ # @param EndTime: 结束时间
453
+ # @type EndTime: String
454
+ # @param PageSize: 分页
455
+ # @type PageSize: Integer
456
+ # @param PageNum: 分页
457
+ # @type PageNum: Integer
458
+ # @param OrderType: 排序参数
459
+ # @type OrderType: String
460
+ # @param User: 用户
461
+ # @type User: String
462
+ # @param DbName: 数据库
463
+ # @type DbName: String
464
+ # @param SqlType: sql类型
465
+ # @type SqlType: String
466
+ # @param Sql: sql语句
467
+ # @type Sql: String
468
+ # @param Users: 用户 多选
469
+ # @type Users: Array
470
+ # @param DbNames: 数据库 多选
471
+ # @type DbNames: Array
472
+ # @param SqlTypes: sql类型 多选
473
+ # @type SqlTypes: Array
474
+ # @param Catalogs: catalog名称 (多选)
475
+ # @type Catalogs: Array
476
+
477
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :PageNum, :OrderType, :User, :DbName, :SqlType, :Sql, :Users, :DbNames, :SqlTypes, :Catalogs
478
+
479
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, pagenum=nil, ordertype=nil, user=nil, dbname=nil, sqltype=nil, sql=nil, users=nil, dbnames=nil, sqltypes=nil, catalogs=nil)
480
+ @InstanceId = instanceid
481
+ @StartTime = starttime
482
+ @EndTime = endtime
483
+ @PageSize = pagesize
484
+ @PageNum = pagenum
485
+ @OrderType = ordertype
486
+ @User = user
487
+ @DbName = dbname
488
+ @SqlType = sqltype
489
+ @Sql = sql
490
+ @Users = users
491
+ @DbNames = dbnames
492
+ @SqlTypes = sqltypes
493
+ @Catalogs = catalogs
494
+ end
495
+
496
+ def deserialize(params)
497
+ @InstanceId = params['InstanceId']
498
+ @StartTime = params['StartTime']
499
+ @EndTime = params['EndTime']
500
+ @PageSize = params['PageSize']
501
+ @PageNum = params['PageNum']
502
+ @OrderType = params['OrderType']
503
+ @User = params['User']
504
+ @DbName = params['DbName']
505
+ @SqlType = params['SqlType']
506
+ @Sql = params['Sql']
507
+ @Users = params['Users']
508
+ @DbNames = params['DbNames']
509
+ @SqlTypes = params['SqlTypes']
510
+ @Catalogs = params['Catalogs']
511
+ end
512
+ end
513
+
514
+ # DescribeDatabaseAuditDownload返回参数结构体
515
+ class DescribeDatabaseAuditDownloadResponse < TencentCloud::Common::AbstractModel
516
+ # @param CosUrl: 日志的cos地址
517
+ # @type CosUrl: String
518
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
519
+ # @type RequestId: String
520
+
521
+ attr_accessor :CosUrl, :RequestId
522
+
523
+ def initialize(cosurl=nil, requestid=nil)
524
+ @CosUrl = cosurl
525
+ @RequestId = requestid
526
+ end
527
+
528
+ def deserialize(params)
529
+ @CosUrl = params['CosUrl']
530
+ @RequestId = params['RequestId']
531
+ end
532
+ end
533
+
534
+ # DescribeDatabaseAuditRecords请求参数结构体
535
+ class DescribeDatabaseAuditRecordsRequest < TencentCloud::Common::AbstractModel
536
+ # @param InstanceId: 实例ID
537
+ # @type InstanceId: String
538
+ # @param StartTime: 开始时间
539
+ # @type StartTime: String
540
+ # @param EndTime: 结束时间
541
+ # @type EndTime: String
542
+ # @param PageSize: 分页
543
+ # @type PageSize: Integer
544
+ # @param PageNum: 分页
545
+ # @type PageNum: Integer
546
+ # @param OrderType: 排序参数
547
+ # @type OrderType: String
548
+ # @param User: 用户
549
+ # @type User: String
550
+ # @param DbName: 数据库
551
+ # @type DbName: String
552
+ # @param SqlType: sql类型
553
+ # @type SqlType: String
554
+ # @param Sql: sql语句
555
+ # @type Sql: String
556
+ # @param Users: 用户 (多选)
557
+ # @type Users: Array
558
+ # @param DbNames: 数据库 (多选)
559
+ # @type DbNames: Array
560
+ # @param SqlTypes: sql类型 (多选)
561
+ # @type SqlTypes: Array
562
+ # @param Catalogs: catalog名称(多选)
563
+ # @type Catalogs: Array
564
+
565
+ attr_accessor :InstanceId, :StartTime, :EndTime, :PageSize, :PageNum, :OrderType, :User, :DbName, :SqlType, :Sql, :Users, :DbNames, :SqlTypes, :Catalogs
566
+
567
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, pagesize=nil, pagenum=nil, ordertype=nil, user=nil, dbname=nil, sqltype=nil, sql=nil, users=nil, dbnames=nil, sqltypes=nil, catalogs=nil)
568
+ @InstanceId = instanceid
569
+ @StartTime = starttime
570
+ @EndTime = endtime
571
+ @PageSize = pagesize
572
+ @PageNum = pagenum
573
+ @OrderType = ordertype
574
+ @User = user
575
+ @DbName = dbname
576
+ @SqlType = sqltype
577
+ @Sql = sql
578
+ @Users = users
579
+ @DbNames = dbnames
580
+ @SqlTypes = sqltypes
581
+ @Catalogs = catalogs
582
+ end
583
+
584
+ def deserialize(params)
585
+ @InstanceId = params['InstanceId']
586
+ @StartTime = params['StartTime']
587
+ @EndTime = params['EndTime']
588
+ @PageSize = params['PageSize']
589
+ @PageNum = params['PageNum']
590
+ @OrderType = params['OrderType']
591
+ @User = params['User']
592
+ @DbName = params['DbName']
593
+ @SqlType = params['SqlType']
594
+ @Sql = params['Sql']
595
+ @Users = params['Users']
596
+ @DbNames = params['DbNames']
597
+ @SqlTypes = params['SqlTypes']
598
+ @Catalogs = params['Catalogs']
599
+ end
600
+ end
601
+
602
+ # DescribeDatabaseAuditRecords返回参数结构体
603
+ class DescribeDatabaseAuditRecordsResponse < TencentCloud::Common::AbstractModel
604
+ # @param TotalCount: 总数
605
+ # @type TotalCount: Integer
606
+ # @param SlowQueryRecords: 记录列表
607
+ # @type SlowQueryRecords: :class:`Tencentcloud::Cdwdoris.v20211228.models.DataBaseAuditRecord`
608
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
609
+ # @type RequestId: String
610
+
611
+ attr_accessor :TotalCount, :SlowQueryRecords, :RequestId
612
+
613
+ def initialize(totalcount=nil, slowqueryrecords=nil, requestid=nil)
614
+ @TotalCount = totalcount
615
+ @SlowQueryRecords = slowqueryrecords
616
+ @RequestId = requestid
617
+ end
618
+
619
+ def deserialize(params)
620
+ @TotalCount = params['TotalCount']
621
+ unless params['SlowQueryRecords'].nil?
622
+ @SlowQueryRecords = DataBaseAuditRecord.new
623
+ @SlowQueryRecords.deserialize(params['SlowQueryRecords'])
624
+ end
625
+ @RequestId = params['RequestId']
626
+ end
627
+ end
628
+
629
+ # DescribeInstanceNodesInfo请求参数结构体
630
+ class DescribeInstanceNodesInfoRequest < TencentCloud::Common::AbstractModel
631
+ # @param InstanceID: 集群id
632
+ # @type InstanceID: String
633
+
634
+ attr_accessor :InstanceID
635
+
636
+ def initialize(instanceid=nil)
637
+ @InstanceID = instanceid
638
+ end
639
+
640
+ def deserialize(params)
641
+ @InstanceID = params['InstanceID']
642
+ end
643
+ end
644
+
645
+ # DescribeInstanceNodesInfo返回参数结构体
646
+ class DescribeInstanceNodesInfoResponse < TencentCloud::Common::AbstractModel
647
+ # @param BeNodes: Be节点
648
+ # 注意:此字段可能返回 null,表示取不到有效值。
649
+ # @type BeNodes: Array
650
+ # @param FeNodes: Fe节点
651
+ # 注意:此字段可能返回 null,表示取不到有效值。
652
+ # @type FeNodes: Array
653
+ # @param FeMaster: Fe master节点
654
+ # @type FeMaster: String
655
+ # @param BeNodeInfos: Be节点信息
656
+ # 注意:此字段可能返回 null,表示取不到有效值。
657
+ # @type BeNodeInfos: Array
658
+ # @param FeNodeInfos: Fe节点信息
659
+ # 注意:此字段可能返回 null,表示取不到有效值。
660
+ # @type FeNodeInfos: Array
661
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
662
+ # @type RequestId: String
663
+
664
+ attr_accessor :BeNodes, :FeNodes, :FeMaster, :BeNodeInfos, :FeNodeInfos, :RequestId
665
+
666
+ def initialize(benodes=nil, fenodes=nil, femaster=nil, benodeinfos=nil, fenodeinfos=nil, requestid=nil)
667
+ @BeNodes = benodes
668
+ @FeNodes = fenodes
669
+ @FeMaster = femaster
670
+ @BeNodeInfos = benodeinfos
671
+ @FeNodeInfos = fenodeinfos
672
+ @RequestId = requestid
673
+ end
674
+
675
+ def deserialize(params)
676
+ @BeNodes = params['BeNodes']
677
+ @FeNodes = params['FeNodes']
678
+ @FeMaster = params['FeMaster']
679
+ unless params['BeNodeInfos'].nil?
680
+ @BeNodeInfos = []
681
+ params['BeNodeInfos'].each do |i|
682
+ nodeinfo_tmp = NodeInfo.new
683
+ nodeinfo_tmp.deserialize(i)
684
+ @BeNodeInfos << nodeinfo_tmp
685
+ end
686
+ end
687
+ unless params['FeNodeInfos'].nil?
688
+ @FeNodeInfos = []
689
+ params['FeNodeInfos'].each do |i|
690
+ nodeinfo_tmp = NodeInfo.new
691
+ nodeinfo_tmp.deserialize(i)
692
+ @FeNodeInfos << nodeinfo_tmp
693
+ end
694
+ end
695
+ @RequestId = params['RequestId']
696
+ end
697
+ end
698
+
48
699
  # DescribeInstanceNodes请求参数结构体
49
700
  class DescribeInstanceNodesRequest < TencentCloud::Common::AbstractModel
50
701
  # @param InstanceId: 集群实例ID
@@ -148,6 +799,67 @@ module TencentCloud
148
799
  end
149
800
  end
150
801
 
802
+ # DescribeInstanceState请求参数结构体
803
+ class DescribeInstanceStateRequest < TencentCloud::Common::AbstractModel
804
+ # @param InstanceId: 集群实例名称
805
+ # @type InstanceId: String
806
+
807
+ attr_accessor :InstanceId
808
+
809
+ def initialize(instanceid=nil)
810
+ @InstanceId = instanceid
811
+ end
812
+
813
+ def deserialize(params)
814
+ @InstanceId = params['InstanceId']
815
+ end
816
+ end
817
+
818
+ # DescribeInstanceState返回参数结构体
819
+ class DescribeInstanceStateResponse < TencentCloud::Common::AbstractModel
820
+ # @param InstanceState: 集群状态,例如:Serving
821
+ # @type InstanceState: String
822
+ # @param FlowCreateTime: 集群操作创建时间
823
+ # 注意:此字段可能返回 null,表示取不到有效值。
824
+ # @type FlowCreateTime: String
825
+ # @param FlowName: 集群操作名称
826
+ # 注意:此字段可能返回 null,表示取不到有效值。
827
+ # @type FlowName: String
828
+ # @param FlowProgress: 集群操作进度
829
+ # 注意:此字段可能返回 null,表示取不到有效值。
830
+ # @type FlowProgress: Float
831
+ # @param InstanceStateDesc: 集群状态描述,例如:运行中
832
+ # 注意:此字段可能返回 null,表示取不到有效值。
833
+ # @type InstanceStateDesc: String
834
+ # @param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
835
+ # 注意:此字段可能返回 null,表示取不到有效值。
836
+ # @type FlowMsg: String
837
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
838
+ # @type RequestId: String
839
+
840
+ attr_accessor :InstanceState, :FlowCreateTime, :FlowName, :FlowProgress, :InstanceStateDesc, :FlowMsg, :RequestId
841
+
842
+ def initialize(instancestate=nil, flowcreatetime=nil, flowname=nil, flowprogress=nil, instancestatedesc=nil, flowmsg=nil, requestid=nil)
843
+ @InstanceState = instancestate
844
+ @FlowCreateTime = flowcreatetime
845
+ @FlowName = flowname
846
+ @FlowProgress = flowprogress
847
+ @InstanceStateDesc = instancestatedesc
848
+ @FlowMsg = flowmsg
849
+ @RequestId = requestid
850
+ end
851
+
852
+ def deserialize(params)
853
+ @InstanceState = params['InstanceState']
854
+ @FlowCreateTime = params['FlowCreateTime']
855
+ @FlowName = params['FlowName']
856
+ @FlowProgress = params['FlowProgress']
857
+ @InstanceStateDesc = params['InstanceStateDesc']
858
+ @FlowMsg = params['FlowMsg']
859
+ @RequestId = params['RequestId']
860
+ end
861
+ end
862
+
151
863
  # DescribeInstances请求参数结构体
152
864
  class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
153
865
  # @param SearchInstanceId: 搜索的集群id名称
@@ -218,6 +930,195 @@ module TencentCloud
218
930
  end
219
931
  end
220
932
 
933
+ # DescribeSlowQueryRecordsDownload请求参数结构体
934
+ class DescribeSlowQueryRecordsDownloadRequest < TencentCloud::Common::AbstractModel
935
+ # @param InstanceId: 实例ID
936
+ # @type InstanceId: String
937
+ # @param QueryDurationMs: 慢查询时间
938
+ # @type QueryDurationMs: Integer
939
+ # @param StartTime: 开始时间
940
+ # @type StartTime: String
941
+ # @param EndTime: 结束时间
942
+ # @type EndTime: String
943
+ # @param DurationMs: 排序参数
944
+ # @type DurationMs: String
945
+
946
+ attr_accessor :InstanceId, :QueryDurationMs, :StartTime, :EndTime, :DurationMs
947
+
948
+ def initialize(instanceid=nil, querydurationms=nil, starttime=nil, endtime=nil, durationms=nil)
949
+ @InstanceId = instanceid
950
+ @QueryDurationMs = querydurationms
951
+ @StartTime = starttime
952
+ @EndTime = endtime
953
+ @DurationMs = durationms
954
+ end
955
+
956
+ def deserialize(params)
957
+ @InstanceId = params['InstanceId']
958
+ @QueryDurationMs = params['QueryDurationMs']
959
+ @StartTime = params['StartTime']
960
+ @EndTime = params['EndTime']
961
+ @DurationMs = params['DurationMs']
962
+ end
963
+ end
964
+
965
+ # DescribeSlowQueryRecordsDownload返回参数结构体
966
+ class DescribeSlowQueryRecordsDownloadResponse < TencentCloud::Common::AbstractModel
967
+ # @param CosUrl: cos地址
968
+ # @type CosUrl: String
969
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
970
+ # @type RequestId: String
971
+
972
+ attr_accessor :CosUrl, :RequestId
973
+
974
+ def initialize(cosurl=nil, requestid=nil)
975
+ @CosUrl = cosurl
976
+ @RequestId = requestid
977
+ end
978
+
979
+ def deserialize(params)
980
+ @CosUrl = params['CosUrl']
981
+ @RequestId = params['RequestId']
982
+ end
983
+ end
984
+
985
+ # DescribeSlowQueryRecords请求参数结构体
986
+ class DescribeSlowQueryRecordsRequest < TencentCloud::Common::AbstractModel
987
+ # @param InstanceId: 实例ID
988
+ # @type InstanceId: String
989
+ # @param QueryDurationMs: 慢查询时间
990
+ # @type QueryDurationMs: Integer
991
+ # @param StartTime: 开始时间
992
+ # @type StartTime: String
993
+ # @param EndTime: 结束时间
994
+ # @type EndTime: String
995
+ # @param PageSize: 分页
996
+ # @type PageSize: Integer
997
+ # @param PageNum: 分页
998
+ # @type PageNum: Integer
999
+ # @param DurationMs: 排序参数
1000
+ # @type DurationMs: String
1001
+ # @param DbName: 数据库名称
1002
+ # @type DbName: Array
1003
+ # @param IsQuery: 是否是查询,0:否, 1:是
1004
+ # @type IsQuery: Integer
1005
+ # @param CatalogName: catalog名称
1006
+ # @type CatalogName: Array
1007
+
1008
+ attr_accessor :InstanceId, :QueryDurationMs, :StartTime, :EndTime, :PageSize, :PageNum, :DurationMs, :DbName, :IsQuery, :CatalogName
1009
+
1010
+ def initialize(instanceid=nil, querydurationms=nil, starttime=nil, endtime=nil, pagesize=nil, pagenum=nil, durationms=nil, dbname=nil, isquery=nil, catalogname=nil)
1011
+ @InstanceId = instanceid
1012
+ @QueryDurationMs = querydurationms
1013
+ @StartTime = starttime
1014
+ @EndTime = endtime
1015
+ @PageSize = pagesize
1016
+ @PageNum = pagenum
1017
+ @DurationMs = durationms
1018
+ @DbName = dbname
1019
+ @IsQuery = isquery
1020
+ @CatalogName = catalogname
1021
+ end
1022
+
1023
+ def deserialize(params)
1024
+ @InstanceId = params['InstanceId']
1025
+ @QueryDurationMs = params['QueryDurationMs']
1026
+ @StartTime = params['StartTime']
1027
+ @EndTime = params['EndTime']
1028
+ @PageSize = params['PageSize']
1029
+ @PageNum = params['PageNum']
1030
+ @DurationMs = params['DurationMs']
1031
+ @DbName = params['DbName']
1032
+ @IsQuery = params['IsQuery']
1033
+ @CatalogName = params['CatalogName']
1034
+ end
1035
+ end
1036
+
1037
+ # DescribeSlowQueryRecords返回参数结构体
1038
+ class DescribeSlowQueryRecordsResponse < TencentCloud::Common::AbstractModel
1039
+ # @param TotalCount: 总数
1040
+ # @type TotalCount: Integer
1041
+ # @param SlowQueryRecords: 记录列表
1042
+ # @type SlowQueryRecords: Array
1043
+ # @param DBNameList: 所有数据库名
1044
+ # 注意:此字段可能返回 null,表示取不到有效值。
1045
+ # @type DBNameList: Array
1046
+ # @param CatalogNameList: 所有catalog名
1047
+ # 注意:此字段可能返回 null,表示取不到有效值。
1048
+ # @type CatalogNameList: Array
1049
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1050
+ # @type RequestId: String
1051
+
1052
+ attr_accessor :TotalCount, :SlowQueryRecords, :DBNameList, :CatalogNameList, :RequestId
1053
+
1054
+ def initialize(totalcount=nil, slowqueryrecords=nil, dbnamelist=nil, catalognamelist=nil, requestid=nil)
1055
+ @TotalCount = totalcount
1056
+ @SlowQueryRecords = slowqueryrecords
1057
+ @DBNameList = dbnamelist
1058
+ @CatalogNameList = catalognamelist
1059
+ @RequestId = requestid
1060
+ end
1061
+
1062
+ def deserialize(params)
1063
+ @TotalCount = params['TotalCount']
1064
+ unless params['SlowQueryRecords'].nil?
1065
+ @SlowQueryRecords = []
1066
+ params['SlowQueryRecords'].each do |i|
1067
+ slowqueryrecord_tmp = SlowQueryRecord.new
1068
+ slowqueryrecord_tmp.deserialize(i)
1069
+ @SlowQueryRecords << slowqueryrecord_tmp
1070
+ end
1071
+ end
1072
+ @DBNameList = params['DBNameList']
1073
+ @CatalogNameList = params['CatalogNameList']
1074
+ @RequestId = params['RequestId']
1075
+ end
1076
+ end
1077
+
1078
+ # DestroyInstance请求参数结构体
1079
+ class DestroyInstanceRequest < TencentCloud::Common::AbstractModel
1080
+ # @param InstanceId: 集群ID
1081
+ # @type InstanceId: String
1082
+
1083
+ attr_accessor :InstanceId
1084
+
1085
+ def initialize(instanceid=nil)
1086
+ @InstanceId = instanceid
1087
+ end
1088
+
1089
+ def deserialize(params)
1090
+ @InstanceId = params['InstanceId']
1091
+ end
1092
+ end
1093
+
1094
+ # DestroyInstance返回参数结构体
1095
+ class DestroyInstanceResponse < TencentCloud::Common::AbstractModel
1096
+ # @param FlowId: 流程ID
1097
+ # @type FlowId: String
1098
+ # @param InstanceId: 集群ID
1099
+ # @type InstanceId: String
1100
+ # @param ErrorMsg: 错误信息
1101
+ # @type ErrorMsg: String
1102
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1103
+ # @type RequestId: String
1104
+
1105
+ attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
1106
+
1107
+ def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
1108
+ @FlowId = flowid
1109
+ @InstanceId = instanceid
1110
+ @ErrorMsg = errormsg
1111
+ @RequestId = requestid
1112
+ end
1113
+
1114
+ def deserialize(params)
1115
+ @FlowId = params['FlowId']
1116
+ @InstanceId = params['InstanceId']
1117
+ @ErrorMsg = params['ErrorMsg']
1118
+ @RequestId = params['RequestId']
1119
+ end
1120
+ end
1121
+
221
1122
  # 实例描述信息
222
1123
  class InstanceInfo < TencentCloud::Common::AbstractModel
223
1124
  # @param InstanceId: 集群实例ID, "cdw-xxxx" 字符串类型
@@ -517,6 +1418,64 @@ module TencentCloud
517
1418
  end
518
1419
  end
519
1420
 
1421
+ # ModifyInstance请求参数结构体
1422
+ class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
1423
+ # @param InstanceId: 实例Id
1424
+ # @type InstanceId: String
1425
+ # @param InstanceName: 新修改的实例名称
1426
+ # @type InstanceName: String
1427
+
1428
+ attr_accessor :InstanceId, :InstanceName
1429
+
1430
+ def initialize(instanceid=nil, instancename=nil)
1431
+ @InstanceId = instanceid
1432
+ @InstanceName = instancename
1433
+ end
1434
+
1435
+ def deserialize(params)
1436
+ @InstanceId = params['InstanceId']
1437
+ @InstanceName = params['InstanceName']
1438
+ end
1439
+ end
1440
+
1441
+ # ModifyInstance返回参数结构体
1442
+ class ModifyInstanceResponse < TencentCloud::Common::AbstractModel
1443
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1444
+ # @type RequestId: String
1445
+
1446
+ attr_accessor :RequestId
1447
+
1448
+ def initialize(requestid=nil)
1449
+ @RequestId = requestid
1450
+ end
1451
+
1452
+ def deserialize(params)
1453
+ @RequestId = params['RequestId']
1454
+ end
1455
+ end
1456
+
1457
+ # NodeInfo
1458
+ class NodeInfo < TencentCloud::Common::AbstractModel
1459
+ # @param Ip: 用户IP
1460
+ # 注意:此字段可能返回 null,表示取不到有效值。
1461
+ # @type Ip: String
1462
+ # @param Status: 节点状态
1463
+ # 注意:此字段可能返回 null,表示取不到有效值。
1464
+ # @type Status: Integer
1465
+
1466
+ attr_accessor :Ip, :Status
1467
+
1468
+ def initialize(ip=nil, status=nil)
1469
+ @Ip = ip
1470
+ @Status = status
1471
+ end
1472
+
1473
+ def deserialize(params)
1474
+ @Ip = params['Ip']
1475
+ @Status = params['Status']
1476
+ end
1477
+ end
1478
+
520
1479
  # 节点角色描述信息
521
1480
  class NodesSummary < TencentCloud::Common::AbstractModel
522
1481
  # @param Spec: 机型,如 S1
@@ -595,6 +1554,222 @@ module TencentCloud
595
1554
  end
596
1555
  end
597
1556
 
1557
+ # ResizeDisk请求参数结构体
1558
+ class ResizeDiskRequest < TencentCloud::Common::AbstractModel
1559
+ # @param InstanceId: 集群ID
1560
+ # @type InstanceId: String
1561
+ # @param Type: 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
1562
+ # @type Type: String
1563
+ # @param DiskSize: 云盘大小
1564
+ # @type DiskSize: Integer
1565
+
1566
+ attr_accessor :InstanceId, :Type, :DiskSize
1567
+
1568
+ def initialize(instanceid=nil, type=nil, disksize=nil)
1569
+ @InstanceId = instanceid
1570
+ @Type = type
1571
+ @DiskSize = disksize
1572
+ end
1573
+
1574
+ def deserialize(params)
1575
+ @InstanceId = params['InstanceId']
1576
+ @Type = params['Type']
1577
+ @DiskSize = params['DiskSize']
1578
+ end
1579
+ end
1580
+
1581
+ # ResizeDisk返回参数结构体
1582
+ class ResizeDiskResponse < TencentCloud::Common::AbstractModel
1583
+ # @param InstanceId: 实例ID
1584
+ # @type InstanceId: String
1585
+ # @param FlowId: 流程ID
1586
+ # @type FlowId: String
1587
+ # @param ErrorMsg: 错误信息
1588
+ # @type ErrorMsg: String
1589
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1590
+ # @type RequestId: String
1591
+
1592
+ attr_accessor :InstanceId, :FlowId, :ErrorMsg, :RequestId
1593
+
1594
+ def initialize(instanceid=nil, flowid=nil, errormsg=nil, requestid=nil)
1595
+ @InstanceId = instanceid
1596
+ @FlowId = flowid
1597
+ @ErrorMsg = errormsg
1598
+ @RequestId = requestid
1599
+ end
1600
+
1601
+ def deserialize(params)
1602
+ @InstanceId = params['InstanceId']
1603
+ @FlowId = params['FlowId']
1604
+ @ErrorMsg = params['ErrorMsg']
1605
+ @RequestId = params['RequestId']
1606
+ end
1607
+ end
1608
+
1609
+ # RestartClusterForNode请求参数结构体
1610
+ class RestartClusterForNodeRequest < TencentCloud::Common::AbstractModel
1611
+ # @param InstanceId: 集群ID,例如cdwch-xxxx
1612
+ # @type InstanceId: String
1613
+ # @param ConfigName: 配置文件名称
1614
+ # @type ConfigName: String
1615
+ # @param BatchSize: 每次重启的批次
1616
+ # @type BatchSize: Integer
1617
+ # @param NodeList: 重启节点
1618
+ # @type NodeList: Array
1619
+ # @param RollingRestart: false表示非滚动重启,true表示滚动重启
1620
+ # @type RollingRestart: Boolean
1621
+
1622
+ attr_accessor :InstanceId, :ConfigName, :BatchSize, :NodeList, :RollingRestart
1623
+
1624
+ def initialize(instanceid=nil, configname=nil, batchsize=nil, nodelist=nil, rollingrestart=nil)
1625
+ @InstanceId = instanceid
1626
+ @ConfigName = configname
1627
+ @BatchSize = batchsize
1628
+ @NodeList = nodelist
1629
+ @RollingRestart = rollingrestart
1630
+ end
1631
+
1632
+ def deserialize(params)
1633
+ @InstanceId = params['InstanceId']
1634
+ @ConfigName = params['ConfigName']
1635
+ @BatchSize = params['BatchSize']
1636
+ @NodeList = params['NodeList']
1637
+ @RollingRestart = params['RollingRestart']
1638
+ end
1639
+ end
1640
+
1641
+ # RestartClusterForNode返回参数结构体
1642
+ class RestartClusterForNodeResponse < TencentCloud::Common::AbstractModel
1643
+ # @param FlowId: 流程相关信息
1644
+ # @type FlowId: Integer
1645
+ # @param ErrorMsg: 错误信息
1646
+ # @type ErrorMsg: String
1647
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1648
+ # @type RequestId: String
1649
+
1650
+ attr_accessor :FlowId, :ErrorMsg, :RequestId
1651
+
1652
+ def initialize(flowid=nil, errormsg=nil, requestid=nil)
1653
+ @FlowId = flowid
1654
+ @ErrorMsg = errormsg
1655
+ @RequestId = requestid
1656
+ end
1657
+
1658
+ def deserialize(params)
1659
+ @FlowId = params['FlowId']
1660
+ @ErrorMsg = params['ErrorMsg']
1661
+ @RequestId = params['RequestId']
1662
+ end
1663
+ end
1664
+
1665
+ # ScaleOutInstance请求参数结构体
1666
+ class ScaleOutInstanceRequest < TencentCloud::Common::AbstractModel
1667
+ # @param InstanceId: 集群ID
1668
+ # @type InstanceId: String
1669
+ # @param Type: 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
1670
+ # @type Type: String
1671
+ # @param NodeCount: 节点数量
1672
+ # @type NodeCount: Integer
1673
+ # @param HaType: 扩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
1674
+ # @type HaType: Integer
1675
+
1676
+ attr_accessor :InstanceId, :Type, :NodeCount, :HaType
1677
+
1678
+ def initialize(instanceid=nil, type=nil, nodecount=nil, hatype=nil)
1679
+ @InstanceId = instanceid
1680
+ @Type = type
1681
+ @NodeCount = nodecount
1682
+ @HaType = hatype
1683
+ end
1684
+
1685
+ def deserialize(params)
1686
+ @InstanceId = params['InstanceId']
1687
+ @Type = params['Type']
1688
+ @NodeCount = params['NodeCount']
1689
+ @HaType = params['HaType']
1690
+ end
1691
+ end
1692
+
1693
+ # ScaleOutInstance返回参数结构体
1694
+ class ScaleOutInstanceResponse < TencentCloud::Common::AbstractModel
1695
+ # @param FlowId: 流程ID
1696
+ # @type FlowId: String
1697
+ # @param InstanceId: 集群ID
1698
+ # @type InstanceId: String
1699
+ # @param ErrorMsg: 错误信息
1700
+ # @type ErrorMsg: String
1701
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1702
+ # @type RequestId: String
1703
+
1704
+ attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
1705
+
1706
+ def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
1707
+ @FlowId = flowid
1708
+ @InstanceId = instanceid
1709
+ @ErrorMsg = errormsg
1710
+ @RequestId = requestid
1711
+ end
1712
+
1713
+ def deserialize(params)
1714
+ @FlowId = params['FlowId']
1715
+ @InstanceId = params['InstanceId']
1716
+ @ErrorMsg = params['ErrorMsg']
1717
+ @RequestId = params['RequestId']
1718
+ end
1719
+ end
1720
+
1721
+ # ScaleUpInstance请求参数结构体
1722
+ class ScaleUpInstanceRequest < TencentCloud::Common::AbstractModel
1723
+ # @param InstanceId: 集群ID
1724
+ # @type InstanceId: String
1725
+ # @param SpecName: 节点规格
1726
+ # @type SpecName: String
1727
+ # @param Type: 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
1728
+ # @type Type: String
1729
+
1730
+ attr_accessor :InstanceId, :SpecName, :Type
1731
+
1732
+ def initialize(instanceid=nil, specname=nil, type=nil)
1733
+ @InstanceId = instanceid
1734
+ @SpecName = specname
1735
+ @Type = type
1736
+ end
1737
+
1738
+ def deserialize(params)
1739
+ @InstanceId = params['InstanceId']
1740
+ @SpecName = params['SpecName']
1741
+ @Type = params['Type']
1742
+ end
1743
+ end
1744
+
1745
+ # ScaleUpInstance返回参数结构体
1746
+ class ScaleUpInstanceResponse < TencentCloud::Common::AbstractModel
1747
+ # @param FlowId: 流程ID
1748
+ # @type FlowId: String
1749
+ # @param InstanceId: 实例ID
1750
+ # @type InstanceId: String
1751
+ # @param ErrorMsg: 错误信息
1752
+ # @type ErrorMsg: String
1753
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1754
+ # @type RequestId: String
1755
+
1756
+ attr_accessor :FlowId, :InstanceId, :ErrorMsg, :RequestId
1757
+
1758
+ def initialize(flowid=nil, instanceid=nil, errormsg=nil, requestid=nil)
1759
+ @FlowId = flowid
1760
+ @InstanceId = instanceid
1761
+ @ErrorMsg = errormsg
1762
+ @RequestId = requestid
1763
+ end
1764
+
1765
+ def deserialize(params)
1766
+ @FlowId = params['FlowId']
1767
+ @InstanceId = params['InstanceId']
1768
+ @ErrorMsg = params['ErrorMsg']
1769
+ @RequestId = params['RequestId']
1770
+ end
1771
+ end
1772
+
598
1773
  # 列表页搜索的标记列表
599
1774
  class SearchTags < TencentCloud::Common::AbstractModel
600
1775
  # @param TagKey: 标签的键
@@ -619,6 +1794,68 @@ module TencentCloud
619
1794
  end
620
1795
  end
621
1796
 
1797
+ # 慢查询记录
1798
+ class SlowQueryRecord < TencentCloud::Common::AbstractModel
1799
+ # @param OsUser: 查询用户
1800
+ # @type OsUser: String
1801
+ # @param InitialQueryId: 查询ID
1802
+ # @type InitialQueryId: String
1803
+ # @param Sql: SQL语句
1804
+ # @type Sql: String
1805
+ # @param QueryStartTime: 开始时间
1806
+ # @type QueryStartTime: String
1807
+ # @param DurationMs: 执行耗时
1808
+ # @type DurationMs: Integer
1809
+ # @param ReadRows: 读取行数
1810
+ # @type ReadRows: Integer
1811
+ # @param ResultRows: 读取字节数
1812
+ # @type ResultRows: Integer
1813
+ # @param ResultBytes: 结果字节数
1814
+ # @type ResultBytes: Integer
1815
+ # @param MemoryUsage: 内存
1816
+ # @type MemoryUsage: Integer
1817
+ # @param InitialAddress: 初始查询IP
1818
+ # @type InitialAddress: String
1819
+ # @param DbName: 数据库名
1820
+ # 注意:此字段可能返回 null,表示取不到有效值。
1821
+ # @type DbName: String
1822
+ # @param IsQuery: 是否是查询,0:否,1:查询语句
1823
+ # 注意:此字段可能返回 null,表示取不到有效值。
1824
+ # @type IsQuery: Integer
1825
+
1826
+ attr_accessor :OsUser, :InitialQueryId, :Sql, :QueryStartTime, :DurationMs, :ReadRows, :ResultRows, :ResultBytes, :MemoryUsage, :InitialAddress, :DbName, :IsQuery
1827
+
1828
+ def initialize(osuser=nil, initialqueryid=nil, sql=nil, querystarttime=nil, durationms=nil, readrows=nil, resultrows=nil, resultbytes=nil, memoryusage=nil, initialaddress=nil, dbname=nil, isquery=nil)
1829
+ @OsUser = osuser
1830
+ @InitialQueryId = initialqueryid
1831
+ @Sql = sql
1832
+ @QueryStartTime = querystarttime
1833
+ @DurationMs = durationms
1834
+ @ReadRows = readrows
1835
+ @ResultRows = resultrows
1836
+ @ResultBytes = resultbytes
1837
+ @MemoryUsage = memoryusage
1838
+ @InitialAddress = initialaddress
1839
+ @DbName = dbname
1840
+ @IsQuery = isquery
1841
+ end
1842
+
1843
+ def deserialize(params)
1844
+ @OsUser = params['OsUser']
1845
+ @InitialQueryId = params['InitialQueryId']
1846
+ @Sql = params['Sql']
1847
+ @QueryStartTime = params['QueryStartTime']
1848
+ @DurationMs = params['DurationMs']
1849
+ @ReadRows = params['ReadRows']
1850
+ @ResultRows = params['ResultRows']
1851
+ @ResultBytes = params['ResultBytes']
1852
+ @MemoryUsage = params['MemoryUsage']
1853
+ @InitialAddress = params['InitialAddress']
1854
+ @DbName = params['DbName']
1855
+ @IsQuery = params['IsQuery']
1856
+ end
1857
+ end
1858
+
622
1859
  # 标签描述
623
1860
  class Tag < TencentCloud::Common::AbstractModel
624
1861
  # @param TagKey: 标签的键