tencentcloud-sdk-nodejs-cdwdoris 4.0.765 → 4.0.767
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.
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +182 -7
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +1152 -181
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +57 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +84 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +1117 -181
|
@@ -16,97 +16,113 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* ModifyInstance返回参数结构体
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
22
|
-
/**
|
|
23
|
-
* 标签的键
|
|
24
|
-
*/
|
|
25
|
-
TagKey: string
|
|
21
|
+
export interface ModifyInstanceResponse {
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
23
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
28
24
|
*/
|
|
29
|
-
|
|
25
|
+
RequestId?: string
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
/**
|
|
33
|
-
*
|
|
29
|
+
* DestroyInstance返回参数结构体
|
|
34
30
|
*/
|
|
35
|
-
export interface
|
|
31
|
+
export interface DestroyInstanceResponse {
|
|
36
32
|
/**
|
|
37
|
-
*
|
|
33
|
+
* 流程ID
|
|
38
34
|
*/
|
|
39
|
-
|
|
35
|
+
FlowId?: string
|
|
40
36
|
/**
|
|
41
|
-
*
|
|
37
|
+
* 集群ID
|
|
42
38
|
*/
|
|
43
|
-
|
|
39
|
+
InstanceId?: string
|
|
44
40
|
/**
|
|
45
|
-
*
|
|
41
|
+
* 错误信息
|
|
46
42
|
*/
|
|
47
|
-
|
|
43
|
+
ErrorMsg?: string
|
|
48
44
|
/**
|
|
49
|
-
*
|
|
45
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
50
46
|
*/
|
|
51
|
-
|
|
47
|
+
RequestId?: string
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* DescribeSlowQueryRecordsDownload请求参数结构体
|
|
52
|
+
*/
|
|
53
|
+
export interface DescribeSlowQueryRecordsDownloadRequest {
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* 实例ID
|
|
54
56
|
*/
|
|
55
|
-
|
|
57
|
+
InstanceId: string
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* 慢查询时间
|
|
58
60
|
*/
|
|
59
|
-
|
|
61
|
+
QueryDurationMs: number
|
|
60
62
|
/**
|
|
61
|
-
*
|
|
63
|
+
* 开始时间
|
|
62
64
|
*/
|
|
63
|
-
|
|
65
|
+
StartTime: string
|
|
64
66
|
/**
|
|
65
|
-
*
|
|
66
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
67
|
+
* 结束时间
|
|
67
68
|
*/
|
|
68
|
-
|
|
69
|
+
EndTime: string
|
|
69
70
|
/**
|
|
70
|
-
*
|
|
71
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
71
|
+
* 排序参数
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
DurationMs?: string
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* ResizeDisk请求参数结构体
|
|
78
|
+
*/
|
|
79
|
+
export interface ResizeDiskRequest {
|
|
74
80
|
/**
|
|
75
|
-
*
|
|
76
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
81
|
+
* 集群ID
|
|
77
82
|
*/
|
|
78
|
-
|
|
83
|
+
InstanceId: string
|
|
79
84
|
/**
|
|
80
|
-
*
|
|
81
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
85
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
82
86
|
*/
|
|
83
|
-
|
|
87
|
+
Type: string
|
|
88
|
+
/**
|
|
89
|
+
* 云盘大小
|
|
90
|
+
*/
|
|
91
|
+
DiskSize: number
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
/**
|
|
87
|
-
*
|
|
95
|
+
* NodeInfo
|
|
88
96
|
*/
|
|
89
|
-
export interface
|
|
97
|
+
export interface NodeInfo {
|
|
90
98
|
/**
|
|
91
|
-
*
|
|
99
|
+
* 用户IP
|
|
100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
101
|
*/
|
|
93
|
-
|
|
102
|
+
Ip?: string
|
|
94
103
|
/**
|
|
95
|
-
*
|
|
104
|
+
* 节点状态
|
|
105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
96
106
|
*/
|
|
97
|
-
|
|
107
|
+
Status?: number
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* RestartClusterForNode返回参数结构体
|
|
112
|
+
*/
|
|
113
|
+
export interface RestartClusterForNodeResponse {
|
|
98
114
|
/**
|
|
99
|
-
*
|
|
115
|
+
* 流程相关信息
|
|
100
116
|
*/
|
|
101
|
-
|
|
117
|
+
FlowId?: number
|
|
102
118
|
/**
|
|
103
|
-
*
|
|
119
|
+
* 错误信息
|
|
104
120
|
*/
|
|
105
|
-
|
|
121
|
+
ErrorMsg?: string
|
|
106
122
|
/**
|
|
107
|
-
*
|
|
123
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
108
124
|
*/
|
|
109
|
-
|
|
125
|
+
RequestId?: string
|
|
110
126
|
}
|
|
111
127
|
|
|
112
128
|
/**
|
|
@@ -129,53 +145,109 @@ export interface DescribeInstanceNodesResponse {
|
|
|
129
145
|
}
|
|
130
146
|
|
|
131
147
|
/**
|
|
132
|
-
*
|
|
148
|
+
* DescribeInstanceState请求参数结构体
|
|
133
149
|
*/
|
|
134
|
-
export interface
|
|
150
|
+
export interface DescribeInstanceStateRequest {
|
|
135
151
|
/**
|
|
136
|
-
*
|
|
152
|
+
* 集群实例名称
|
|
137
153
|
*/
|
|
138
154
|
InstanceId: string
|
|
139
155
|
}
|
|
140
156
|
|
|
141
157
|
/**
|
|
142
|
-
*
|
|
158
|
+
* DescribeClusterConfigs返回参数结构体
|
|
143
159
|
*/
|
|
144
|
-
export interface
|
|
160
|
+
export interface DescribeClusterConfigsResponse {
|
|
145
161
|
/**
|
|
146
|
-
*
|
|
162
|
+
* 返回实例的配置文件相关的信息
|
|
147
163
|
*/
|
|
148
|
-
|
|
164
|
+
ClusterConfList?: Array<ClusterConfigsInfoFromEMR>
|
|
149
165
|
/**
|
|
150
|
-
*
|
|
166
|
+
* 返回当前内核版本 如果不存在则返回空字符串
|
|
151
167
|
*/
|
|
152
|
-
|
|
168
|
+
BuildVersion?: string
|
|
153
169
|
/**
|
|
154
|
-
*
|
|
170
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
155
171
|
*/
|
|
156
|
-
|
|
172
|
+
RequestId?: string
|
|
157
173
|
}
|
|
158
174
|
|
|
159
175
|
/**
|
|
160
|
-
*
|
|
176
|
+
* ScaleOutInstance返回参数结构体
|
|
161
177
|
*/
|
|
162
|
-
export interface
|
|
178
|
+
export interface ScaleOutInstanceResponse {
|
|
163
179
|
/**
|
|
164
|
-
*
|
|
180
|
+
* 流程ID
|
|
165
181
|
*/
|
|
166
|
-
|
|
182
|
+
FlowId?: string
|
|
167
183
|
/**
|
|
168
|
-
*
|
|
184
|
+
* 集群ID
|
|
169
185
|
*/
|
|
170
|
-
|
|
186
|
+
InstanceId?: string
|
|
171
187
|
/**
|
|
172
|
-
*
|
|
188
|
+
* 错误信息
|
|
173
189
|
*/
|
|
174
|
-
|
|
190
|
+
ErrorMsg?: string
|
|
175
191
|
/**
|
|
176
|
-
*
|
|
192
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
177
193
|
*/
|
|
178
|
-
|
|
194
|
+
RequestId?: string
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* 慢查询记录
|
|
199
|
+
*/
|
|
200
|
+
export interface SlowQueryRecord {
|
|
201
|
+
/**
|
|
202
|
+
* 查询用户
|
|
203
|
+
*/
|
|
204
|
+
OsUser?: string
|
|
205
|
+
/**
|
|
206
|
+
* 查询ID
|
|
207
|
+
*/
|
|
208
|
+
InitialQueryId?: string
|
|
209
|
+
/**
|
|
210
|
+
* SQL语句
|
|
211
|
+
*/
|
|
212
|
+
Sql?: string
|
|
213
|
+
/**
|
|
214
|
+
* 开始时间
|
|
215
|
+
*/
|
|
216
|
+
QueryStartTime?: string
|
|
217
|
+
/**
|
|
218
|
+
* 执行耗时
|
|
219
|
+
*/
|
|
220
|
+
DurationMs?: number
|
|
221
|
+
/**
|
|
222
|
+
* 读取行数
|
|
223
|
+
*/
|
|
224
|
+
ReadRows?: number
|
|
225
|
+
/**
|
|
226
|
+
* 读取字节数
|
|
227
|
+
*/
|
|
228
|
+
ResultRows?: number
|
|
229
|
+
/**
|
|
230
|
+
* 结果字节数
|
|
231
|
+
*/
|
|
232
|
+
ResultBytes?: number
|
|
233
|
+
/**
|
|
234
|
+
* 内存
|
|
235
|
+
*/
|
|
236
|
+
MemoryUsage?: number
|
|
237
|
+
/**
|
|
238
|
+
* 初始查询IP
|
|
239
|
+
*/
|
|
240
|
+
InitialAddress?: string
|
|
241
|
+
/**
|
|
242
|
+
* 数据库名
|
|
243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
244
|
+
*/
|
|
245
|
+
DbName?: string
|
|
246
|
+
/**
|
|
247
|
+
* 是否是查询,0:否,1:查询语句
|
|
248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
|
+
*/
|
|
250
|
+
IsQuery?: number
|
|
179
251
|
}
|
|
180
252
|
|
|
181
253
|
/**
|
|
@@ -205,155 +277,395 @@ export interface DescribeInstanceNodesRequest {
|
|
|
205
277
|
}
|
|
206
278
|
|
|
207
279
|
/**
|
|
208
|
-
*
|
|
280
|
+
* ModifyInstance请求参数结构体
|
|
209
281
|
*/
|
|
210
|
-
export interface
|
|
282
|
+
export interface ModifyInstanceRequest {
|
|
211
283
|
/**
|
|
212
|
-
*
|
|
213
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
284
|
+
* 实例Id
|
|
214
285
|
*/
|
|
215
|
-
InstanceId
|
|
286
|
+
InstanceId: string
|
|
216
287
|
/**
|
|
217
|
-
*
|
|
218
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
288
|
+
* 新修改的实例名称
|
|
219
289
|
*/
|
|
220
|
-
InstanceName
|
|
290
|
+
InstanceName: string
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* 集群计费相关信息
|
|
295
|
+
*/
|
|
296
|
+
export interface ChargeProperties {
|
|
221
297
|
/**
|
|
222
|
-
*
|
|
223
|
-
Init 创建中; Serving 运行中;
|
|
224
|
-
Deleted已销毁;Deleting 销毁中;
|
|
225
|
-
Modify 集群变更中;
|
|
298
|
+
* 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
|
|
226
299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
227
300
|
*/
|
|
228
|
-
|
|
301
|
+
ChargeType?: string
|
|
229
302
|
/**
|
|
230
|
-
*
|
|
303
|
+
* 是否自动续费,1表示自动续费开启
|
|
231
304
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
232
305
|
*/
|
|
233
|
-
|
|
306
|
+
RenewFlag?: number
|
|
234
307
|
/**
|
|
235
|
-
*
|
|
308
|
+
* 计费时间长度
|
|
236
309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
310
|
*/
|
|
238
|
-
|
|
311
|
+
TimeSpan?: number
|
|
239
312
|
/**
|
|
240
|
-
*
|
|
313
|
+
* 计费时间单位,“m”表示月等
|
|
241
314
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
242
315
|
*/
|
|
243
|
-
|
|
316
|
+
TimeUnit?: string
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
|
|
321
|
+
*/
|
|
322
|
+
export interface ClusterConfigsInfoFromEMR {
|
|
244
323
|
/**
|
|
245
|
-
*
|
|
246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
324
|
+
* 配置文件名称
|
|
247
325
|
*/
|
|
248
|
-
|
|
326
|
+
FileName?: string
|
|
249
327
|
/**
|
|
250
|
-
*
|
|
251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
328
|
+
* 配置文件对应的相关属性信息
|
|
252
329
|
*/
|
|
253
|
-
|
|
330
|
+
FileConf?: string
|
|
254
331
|
/**
|
|
255
|
-
*
|
|
256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
332
|
+
* 配置文件对应的其他属性信息
|
|
257
333
|
*/
|
|
258
|
-
|
|
334
|
+
KeyConf?: string
|
|
259
335
|
/**
|
|
260
|
-
*
|
|
261
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
336
|
+
* 配置文件的内容,base64编码
|
|
262
337
|
*/
|
|
263
|
-
|
|
338
|
+
OriParam?: string
|
|
264
339
|
/**
|
|
265
|
-
*
|
|
266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
|
+
* 用于表示当前配置文件是不是有过修改后没有重启,提醒用户需要重启
|
|
267
341
|
*/
|
|
268
|
-
|
|
342
|
+
NeedRestart?: number
|
|
269
343
|
/**
|
|
270
|
-
*
|
|
344
|
+
* 配置文件路径
|
|
271
345
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
346
|
*/
|
|
273
|
-
|
|
347
|
+
FilePath?: string
|
|
274
348
|
/**
|
|
275
|
-
*
|
|
349
|
+
* 配置文件kv值
|
|
276
350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
351
|
+
* @deprecated
|
|
277
352
|
*/
|
|
278
|
-
|
|
353
|
+
FileKeyValues?: string
|
|
279
354
|
/**
|
|
280
|
-
*
|
|
355
|
+
* 配置文件kv值
|
|
281
356
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
282
357
|
*/
|
|
283
|
-
|
|
358
|
+
FileKeyValuesNew?: Array<ConfigKeyValue>
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* 实例节点描述信息
|
|
363
|
+
*/
|
|
364
|
+
export interface InstanceNode {
|
|
284
365
|
/**
|
|
285
|
-
*
|
|
286
|
-
0:非高可用
|
|
287
|
-
1:读高可用
|
|
288
|
-
2:读写高可用。
|
|
289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
366
|
+
* IP地址
|
|
290
367
|
*/
|
|
291
|
-
|
|
368
|
+
Ip?: string
|
|
292
369
|
/**
|
|
293
|
-
*
|
|
294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
* 机型,如 S1
|
|
295
371
|
*/
|
|
296
|
-
|
|
372
|
+
Spec?: string
|
|
297
373
|
/**
|
|
298
|
-
*
|
|
299
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
374
|
+
* cpu核数
|
|
300
375
|
*/
|
|
301
|
-
|
|
376
|
+
Core?: number
|
|
302
377
|
/**
|
|
303
|
-
*
|
|
304
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
+
* 内存大小
|
|
305
379
|
*/
|
|
306
|
-
|
|
380
|
+
Memory?: number
|
|
307
381
|
/**
|
|
308
|
-
*
|
|
309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
382
|
+
* 磁盘类型
|
|
310
383
|
*/
|
|
311
|
-
|
|
384
|
+
DiskType?: string
|
|
312
385
|
/**
|
|
313
|
-
*
|
|
314
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
386
|
+
* 磁盘大小
|
|
315
387
|
*/
|
|
316
|
-
|
|
388
|
+
DiskSize?: number
|
|
317
389
|
/**
|
|
318
|
-
*
|
|
319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
* 所属clickhouse cluster名称
|
|
320
391
|
*/
|
|
321
|
-
|
|
392
|
+
Role?: string
|
|
322
393
|
/**
|
|
323
|
-
*
|
|
394
|
+
* 状态
|
|
324
395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
325
396
|
*/
|
|
326
|
-
|
|
397
|
+
Status?: string
|
|
327
398
|
/**
|
|
328
|
-
*
|
|
399
|
+
* rip
|
|
329
400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
401
|
*/
|
|
331
|
-
|
|
402
|
+
Rip?: string
|
|
332
403
|
/**
|
|
333
|
-
*
|
|
404
|
+
* FE节点角色
|
|
334
405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
335
406
|
*/
|
|
336
|
-
|
|
407
|
+
FeRole?: string
|
|
337
408
|
/**
|
|
338
|
-
*
|
|
409
|
+
* UUID
|
|
339
410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
411
|
*/
|
|
341
|
-
|
|
412
|
+
UUID?: string
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* CreateInstanceNew返回参数结构体
|
|
417
|
+
*/
|
|
418
|
+
export interface CreateInstanceNewResponse {
|
|
342
419
|
/**
|
|
343
|
-
*
|
|
344
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
420
|
+
* 流程ID
|
|
345
421
|
*/
|
|
346
|
-
|
|
422
|
+
FlowId?: string
|
|
347
423
|
/**
|
|
348
|
-
*
|
|
349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
424
|
+
* 实例ID
|
|
350
425
|
*/
|
|
351
|
-
|
|
426
|
+
InstanceId?: string
|
|
352
427
|
/**
|
|
353
|
-
*
|
|
354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
428
|
+
* 错误信息
|
|
355
429
|
*/
|
|
356
|
-
|
|
430
|
+
ErrorMsg?: string
|
|
431
|
+
/**
|
|
432
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
433
|
+
*/
|
|
434
|
+
RequestId?: string
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* DescribeSlowQueryRecordsDownload返回参数结构体
|
|
439
|
+
*/
|
|
440
|
+
export interface DescribeSlowQueryRecordsDownloadResponse {
|
|
441
|
+
/**
|
|
442
|
+
* cos地址
|
|
443
|
+
*/
|
|
444
|
+
CosUrl?: string
|
|
445
|
+
/**
|
|
446
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
447
|
+
*/
|
|
448
|
+
RequestId?: string
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* DestroyInstance请求参数结构体
|
|
453
|
+
*/
|
|
454
|
+
export interface DestroyInstanceRequest {
|
|
455
|
+
/**
|
|
456
|
+
* 集群ID
|
|
457
|
+
*/
|
|
458
|
+
InstanceId: string
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* CreateInstanceNew请求参数结构体
|
|
463
|
+
*/
|
|
464
|
+
export interface CreateInstanceNewRequest {
|
|
465
|
+
/**
|
|
466
|
+
* 可用区
|
|
467
|
+
*/
|
|
468
|
+
Zone: string
|
|
469
|
+
/**
|
|
470
|
+
* FE规格
|
|
471
|
+
*/
|
|
472
|
+
FeSpec: CreateInstanceSpec
|
|
473
|
+
/**
|
|
474
|
+
* BE规格
|
|
475
|
+
*/
|
|
476
|
+
BeSpec: CreateInstanceSpec
|
|
477
|
+
/**
|
|
478
|
+
* 是否高可用
|
|
479
|
+
*/
|
|
480
|
+
HaFlag: boolean
|
|
481
|
+
/**
|
|
482
|
+
* 用户VPCID
|
|
483
|
+
*/
|
|
484
|
+
UserVPCId: string
|
|
485
|
+
/**
|
|
486
|
+
* 用户子网ID
|
|
487
|
+
*/
|
|
488
|
+
UserSubnetId: string
|
|
489
|
+
/**
|
|
490
|
+
* 产品版本号
|
|
491
|
+
*/
|
|
492
|
+
ProductVersion: string
|
|
493
|
+
/**
|
|
494
|
+
* 付费类型
|
|
495
|
+
*/
|
|
496
|
+
ChargeProperties: ChargeProperties
|
|
497
|
+
/**
|
|
498
|
+
* 实例名字
|
|
499
|
+
*/
|
|
500
|
+
InstanceName: string
|
|
501
|
+
/**
|
|
502
|
+
* 数据库密码
|
|
503
|
+
*/
|
|
504
|
+
DorisUserPwd: string
|
|
505
|
+
/**
|
|
506
|
+
* 标签列表
|
|
507
|
+
*/
|
|
508
|
+
Tags?: Array<Tag>
|
|
509
|
+
/**
|
|
510
|
+
* 高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
511
|
+
*/
|
|
512
|
+
HaType?: number
|
|
513
|
+
/**
|
|
514
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
|
|
515
|
+
*/
|
|
516
|
+
CaseSensitive?: number
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* 实例描述信息
|
|
521
|
+
*/
|
|
522
|
+
export interface InstanceInfo {
|
|
523
|
+
/**
|
|
524
|
+
* 集群实例ID, "cdw-xxxx" 字符串类型
|
|
525
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
526
|
+
*/
|
|
527
|
+
InstanceId?: string
|
|
528
|
+
/**
|
|
529
|
+
* 集群实例名称
|
|
530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
531
|
+
*/
|
|
532
|
+
InstanceName?: string
|
|
533
|
+
/**
|
|
534
|
+
* 状态,
|
|
535
|
+
Init 创建中; Serving 运行中;
|
|
536
|
+
Deleted已销毁;Deleting 销毁中;
|
|
537
|
+
Modify 集群变更中;
|
|
538
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
539
|
+
*/
|
|
540
|
+
Status?: string
|
|
541
|
+
/**
|
|
542
|
+
* 版本
|
|
543
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
544
|
+
*/
|
|
545
|
+
Version?: string
|
|
546
|
+
/**
|
|
547
|
+
* 地域, ap-guangzhou
|
|
548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
549
|
+
*/
|
|
550
|
+
Region?: string
|
|
551
|
+
/**
|
|
552
|
+
* 可用区, ap-guangzhou-3
|
|
553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
554
|
+
*/
|
|
555
|
+
Zone?: string
|
|
556
|
+
/**
|
|
557
|
+
* 私有网络名称
|
|
558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
559
|
+
*/
|
|
560
|
+
VpcId?: string
|
|
561
|
+
/**
|
|
562
|
+
* 子网名称
|
|
563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
564
|
+
*/
|
|
565
|
+
SubnetId?: string
|
|
566
|
+
/**
|
|
567
|
+
* 付费类型,"hour", "prepay"
|
|
568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
+
*/
|
|
570
|
+
PayMode?: string
|
|
571
|
+
/**
|
|
572
|
+
* 创建时间
|
|
573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
574
|
+
*/
|
|
575
|
+
CreateTime?: string
|
|
576
|
+
/**
|
|
577
|
+
* 过期时间
|
|
578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
579
|
+
*/
|
|
580
|
+
ExpireTime?: string
|
|
581
|
+
/**
|
|
582
|
+
* 数据节点描述信息
|
|
583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
584
|
+
*/
|
|
585
|
+
MasterSummary?: NodesSummary
|
|
586
|
+
/**
|
|
587
|
+
* zookeeper节点描述信息
|
|
588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
589
|
+
*/
|
|
590
|
+
CoreSummary?: NodesSummary
|
|
591
|
+
/**
|
|
592
|
+
* 高可用,“true" "false"
|
|
593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
594
|
+
*/
|
|
595
|
+
HA?: string
|
|
596
|
+
/**
|
|
597
|
+
* 高可用类型:
|
|
598
|
+
0:非高可用
|
|
599
|
+
1:读高可用
|
|
600
|
+
2:读写高可用。
|
|
601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
602
|
+
*/
|
|
603
|
+
HaType?: number
|
|
604
|
+
/**
|
|
605
|
+
* 访问地址,例如 "10.0.0.1:9000"
|
|
606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
607
|
+
*/
|
|
608
|
+
AccessInfo?: string
|
|
609
|
+
/**
|
|
610
|
+
* 记录ID,数值型
|
|
611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
612
|
+
*/
|
|
613
|
+
Id?: number
|
|
614
|
+
/**
|
|
615
|
+
* regionId, 表示地域
|
|
616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
617
|
+
*/
|
|
618
|
+
RegionId?: number
|
|
619
|
+
/**
|
|
620
|
+
* 可用区说明,例如 "广州二区"
|
|
621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
622
|
+
*/
|
|
623
|
+
ZoneDesc?: string
|
|
624
|
+
/**
|
|
625
|
+
* 错误流程说明信息
|
|
626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
627
|
+
*/
|
|
628
|
+
FlowMsg?: string
|
|
629
|
+
/**
|
|
630
|
+
* 状态描述,例如“运行中”等
|
|
631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
632
|
+
*/
|
|
633
|
+
StatusDesc?: string
|
|
634
|
+
/**
|
|
635
|
+
* 自动续费标记
|
|
636
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
637
|
+
*/
|
|
638
|
+
RenewFlag?: boolean
|
|
639
|
+
/**
|
|
640
|
+
* 标签列表
|
|
641
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
642
|
+
*/
|
|
643
|
+
Tags?: Array<Tag>
|
|
644
|
+
/**
|
|
645
|
+
* 监控信息
|
|
646
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
647
|
+
*/
|
|
648
|
+
Monitor?: string
|
|
649
|
+
/**
|
|
650
|
+
* 是否开通日志
|
|
651
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
652
|
+
*/
|
|
653
|
+
HasClsTopic?: boolean
|
|
654
|
+
/**
|
|
655
|
+
* 日志主题ID
|
|
656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
657
|
+
*/
|
|
658
|
+
ClsTopicId?: string
|
|
659
|
+
/**
|
|
660
|
+
* 日志集ID
|
|
661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
662
|
+
*/
|
|
663
|
+
ClsLogSetId?: string
|
|
664
|
+
/**
|
|
665
|
+
* 是否支持xml配置管理
|
|
666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
667
|
+
*/
|
|
668
|
+
EnableXMLConfig?: number
|
|
357
669
|
/**
|
|
358
670
|
* 区域
|
|
359
671
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -422,20 +734,6 @@ Modify 集群变更中;
|
|
|
422
734
|
CaseSensitive?: number
|
|
423
735
|
}
|
|
424
736
|
|
|
425
|
-
/**
|
|
426
|
-
* DescribeInstance返回参数结构体
|
|
427
|
-
*/
|
|
428
|
-
export interface DescribeInstanceResponse {
|
|
429
|
-
/**
|
|
430
|
-
* 实例描述信息
|
|
431
|
-
*/
|
|
432
|
-
InstanceInfo?: InstanceInfo
|
|
433
|
-
/**
|
|
434
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
435
|
-
*/
|
|
436
|
-
RequestId?: string
|
|
437
|
-
}
|
|
438
|
-
|
|
439
737
|
/**
|
|
440
738
|
* DescribeInstances返回参数结构体
|
|
441
739
|
*/
|
|
@@ -455,39 +753,352 @@ export interface DescribeInstancesResponse {
|
|
|
455
753
|
}
|
|
456
754
|
|
|
457
755
|
/**
|
|
458
|
-
*
|
|
756
|
+
* DescribeInstances请求参数结构体
|
|
459
757
|
*/
|
|
460
|
-
export interface
|
|
758
|
+
export interface DescribeInstancesRequest {
|
|
461
759
|
/**
|
|
462
|
-
*
|
|
760
|
+
* 搜索的集群id名称
|
|
463
761
|
*/
|
|
464
|
-
|
|
762
|
+
SearchInstanceId?: string
|
|
465
763
|
/**
|
|
466
|
-
*
|
|
764
|
+
* 搜索的集群name
|
|
467
765
|
*/
|
|
468
|
-
|
|
766
|
+
SearchInstanceName?: string
|
|
469
767
|
/**
|
|
470
|
-
*
|
|
768
|
+
* 分页参数,第一页为0,第二页为10
|
|
471
769
|
*/
|
|
472
|
-
|
|
770
|
+
Offset?: number
|
|
473
771
|
/**
|
|
474
|
-
*
|
|
772
|
+
* 分页参数,分页步长,默认为10
|
|
475
773
|
*/
|
|
476
|
-
|
|
774
|
+
Limit?: number
|
|
477
775
|
/**
|
|
478
|
-
*
|
|
776
|
+
* 搜索标签列表
|
|
479
777
|
*/
|
|
480
|
-
|
|
778
|
+
SearchTags?: Array<SearchTags>
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* DescribeSlowQueryRecords请求参数结构体
|
|
783
|
+
*/
|
|
784
|
+
export interface DescribeSlowQueryRecordsRequest {
|
|
481
785
|
/**
|
|
482
|
-
*
|
|
786
|
+
* 实例ID
|
|
483
787
|
*/
|
|
484
|
-
|
|
788
|
+
InstanceId: string
|
|
485
789
|
/**
|
|
486
|
-
*
|
|
790
|
+
* 慢查询时间
|
|
487
791
|
*/
|
|
488
|
-
|
|
792
|
+
QueryDurationMs: number
|
|
489
793
|
/**
|
|
490
|
-
*
|
|
794
|
+
* 开始时间
|
|
795
|
+
*/
|
|
796
|
+
StartTime: string
|
|
797
|
+
/**
|
|
798
|
+
* 结束时间
|
|
799
|
+
*/
|
|
800
|
+
EndTime: string
|
|
801
|
+
/**
|
|
802
|
+
* 分页
|
|
803
|
+
*/
|
|
804
|
+
PageSize: number
|
|
805
|
+
/**
|
|
806
|
+
* 分页
|
|
807
|
+
*/
|
|
808
|
+
PageNum: number
|
|
809
|
+
/**
|
|
810
|
+
* 排序参数
|
|
811
|
+
*/
|
|
812
|
+
DurationMs?: string
|
|
813
|
+
/**
|
|
814
|
+
* 数据库名称
|
|
815
|
+
*/
|
|
816
|
+
DbName?: Array<string>
|
|
817
|
+
/**
|
|
818
|
+
* 是否是查询,0:否, 1:是
|
|
819
|
+
*/
|
|
820
|
+
IsQuery?: number
|
|
821
|
+
/**
|
|
822
|
+
* catalog名称
|
|
823
|
+
*/
|
|
824
|
+
CatalogName?: Array<string>
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* DescribeClusterConfigs请求参数结构体
|
|
829
|
+
*/
|
|
830
|
+
export interface DescribeClusterConfigsRequest {
|
|
831
|
+
/**
|
|
832
|
+
* 集群实例ID
|
|
833
|
+
*/
|
|
834
|
+
InstanceId: string
|
|
835
|
+
/**
|
|
836
|
+
* 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
|
|
837
|
+
*/
|
|
838
|
+
ConfigType?: number
|
|
839
|
+
/**
|
|
840
|
+
* 模糊搜索关键字文件
|
|
841
|
+
*/
|
|
842
|
+
FileName?: string
|
|
843
|
+
/**
|
|
844
|
+
* 0集群维度 1节点维度
|
|
845
|
+
*/
|
|
846
|
+
ClusterConfigType?: number
|
|
847
|
+
/**
|
|
848
|
+
* eth0的ip地址
|
|
849
|
+
*/
|
|
850
|
+
IPAddress?: string
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* ResizeDisk返回参数结构体
|
|
855
|
+
*/
|
|
856
|
+
export interface ResizeDiskResponse {
|
|
857
|
+
/**
|
|
858
|
+
* 实例ID
|
|
859
|
+
*/
|
|
860
|
+
InstanceId?: string
|
|
861
|
+
/**
|
|
862
|
+
* 流程ID
|
|
863
|
+
*/
|
|
864
|
+
FlowId?: string
|
|
865
|
+
/**
|
|
866
|
+
* 错误信息
|
|
867
|
+
*/
|
|
868
|
+
ErrorMsg?: string
|
|
869
|
+
/**
|
|
870
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
871
|
+
*/
|
|
872
|
+
RequestId?: string
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* 集群内节点的规格磁盘规格描述
|
|
877
|
+
*/
|
|
878
|
+
export interface AttachCBSSpec {
|
|
879
|
+
/**
|
|
880
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
881
|
+
*/
|
|
882
|
+
DiskType?: string
|
|
883
|
+
/**
|
|
884
|
+
* 磁盘容量,单位G
|
|
885
|
+
*/
|
|
886
|
+
DiskSize?: number
|
|
887
|
+
/**
|
|
888
|
+
* 磁盘总数
|
|
889
|
+
*/
|
|
890
|
+
DiskCount?: number
|
|
891
|
+
/**
|
|
892
|
+
* 描述
|
|
893
|
+
*/
|
|
894
|
+
DiskDesc?: string
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* 数据库审计
|
|
899
|
+
*/
|
|
900
|
+
export interface DataBaseAuditRecord {
|
|
901
|
+
/**
|
|
902
|
+
* 查询用户
|
|
903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
904
|
+
*/
|
|
905
|
+
OsUser?: string
|
|
906
|
+
/**
|
|
907
|
+
* 查询ID
|
|
908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
909
|
+
*/
|
|
910
|
+
InitialQueryId?: string
|
|
911
|
+
/**
|
|
912
|
+
* SQL语句
|
|
913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
914
|
+
*/
|
|
915
|
+
Sql?: string
|
|
916
|
+
/**
|
|
917
|
+
* 开始时间
|
|
918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
919
|
+
*/
|
|
920
|
+
QueryStartTime?: string
|
|
921
|
+
/**
|
|
922
|
+
* 执行耗时
|
|
923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
|
+
*/
|
|
925
|
+
DurationMs?: number
|
|
926
|
+
/**
|
|
927
|
+
* 读取行数
|
|
928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
|
+
*/
|
|
930
|
+
ReadRows?: number
|
|
931
|
+
/**
|
|
932
|
+
* 读取字节数
|
|
933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
*/
|
|
935
|
+
ResultRows?: number
|
|
936
|
+
/**
|
|
937
|
+
* 结果字节数
|
|
938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
939
|
+
*/
|
|
940
|
+
ResultBytes?: number
|
|
941
|
+
/**
|
|
942
|
+
* 内存
|
|
943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
944
|
+
*/
|
|
945
|
+
MemoryUsage?: number
|
|
946
|
+
/**
|
|
947
|
+
* 初始查询IP
|
|
948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
949
|
+
*/
|
|
950
|
+
InitialAddress?: string
|
|
951
|
+
/**
|
|
952
|
+
* 数据库
|
|
953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
954
|
+
*/
|
|
955
|
+
DbName?: string
|
|
956
|
+
/**
|
|
957
|
+
* sql类型
|
|
958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
959
|
+
*/
|
|
960
|
+
SqlType?: string
|
|
961
|
+
/**
|
|
962
|
+
* catalog名称
|
|
963
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
964
|
+
*/
|
|
965
|
+
Catalog?: string
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* ScaleOutInstance请求参数结构体
|
|
970
|
+
*/
|
|
971
|
+
export interface ScaleOutInstanceRequest {
|
|
972
|
+
/**
|
|
973
|
+
* 集群ID
|
|
974
|
+
*/
|
|
975
|
+
InstanceId: string
|
|
976
|
+
/**
|
|
977
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
978
|
+
*/
|
|
979
|
+
Type: string
|
|
980
|
+
/**
|
|
981
|
+
* 节点数量
|
|
982
|
+
*/
|
|
983
|
+
NodeCount: number
|
|
984
|
+
/**
|
|
985
|
+
* 扩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
986
|
+
*/
|
|
987
|
+
HaType?: number
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* DescribeSlowQueryRecords返回参数结构体
|
|
992
|
+
*/
|
|
993
|
+
export interface DescribeSlowQueryRecordsResponse {
|
|
994
|
+
/**
|
|
995
|
+
* 总数
|
|
996
|
+
*/
|
|
997
|
+
TotalCount?: number
|
|
998
|
+
/**
|
|
999
|
+
* 记录列表
|
|
1000
|
+
*/
|
|
1001
|
+
SlowQueryRecords?: Array<SlowQueryRecord>
|
|
1002
|
+
/**
|
|
1003
|
+
* 所有数据库名
|
|
1004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
|
+
*/
|
|
1006
|
+
DBNameList?: Array<string>
|
|
1007
|
+
/**
|
|
1008
|
+
* 所有catalog名
|
|
1009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
|
+
*/
|
|
1011
|
+
CatalogNameList?: Array<string>
|
|
1012
|
+
/**
|
|
1013
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1014
|
+
*/
|
|
1015
|
+
RequestId?: string
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* DescribeDatabaseAuditRecords返回参数结构体
|
|
1020
|
+
*/
|
|
1021
|
+
export interface DescribeDatabaseAuditRecordsResponse {
|
|
1022
|
+
/**
|
|
1023
|
+
* 总数
|
|
1024
|
+
*/
|
|
1025
|
+
TotalCount?: number
|
|
1026
|
+
/**
|
|
1027
|
+
* 记录列表
|
|
1028
|
+
*/
|
|
1029
|
+
SlowQueryRecords?: DataBaseAuditRecord
|
|
1030
|
+
/**
|
|
1031
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1032
|
+
*/
|
|
1033
|
+
RequestId?: string
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* DescribeInstance返回参数结构体
|
|
1038
|
+
*/
|
|
1039
|
+
export interface DescribeInstanceResponse {
|
|
1040
|
+
/**
|
|
1041
|
+
* 实例描述信息
|
|
1042
|
+
*/
|
|
1043
|
+
InstanceInfo?: InstanceInfo
|
|
1044
|
+
/**
|
|
1045
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1046
|
+
*/
|
|
1047
|
+
RequestId?: string
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* ScaleUpInstance请求参数结构体
|
|
1052
|
+
*/
|
|
1053
|
+
export interface ScaleUpInstanceRequest {
|
|
1054
|
+
/**
|
|
1055
|
+
* 集群ID
|
|
1056
|
+
*/
|
|
1057
|
+
InstanceId: string
|
|
1058
|
+
/**
|
|
1059
|
+
* 节点规格
|
|
1060
|
+
*/
|
|
1061
|
+
SpecName: string
|
|
1062
|
+
/**
|
|
1063
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
1064
|
+
*/
|
|
1065
|
+
Type: string
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* 节点角色描述信息
|
|
1070
|
+
*/
|
|
1071
|
+
export interface NodesSummary {
|
|
1072
|
+
/**
|
|
1073
|
+
* 机型,如 S1
|
|
1074
|
+
*/
|
|
1075
|
+
Spec?: string
|
|
1076
|
+
/**
|
|
1077
|
+
* 节点数目
|
|
1078
|
+
*/
|
|
1079
|
+
NodeSize?: number
|
|
1080
|
+
/**
|
|
1081
|
+
* cpu核数,单位个
|
|
1082
|
+
*/
|
|
1083
|
+
Core?: number
|
|
1084
|
+
/**
|
|
1085
|
+
* 内存大小,单位G
|
|
1086
|
+
*/
|
|
1087
|
+
Memory?: number
|
|
1088
|
+
/**
|
|
1089
|
+
* 磁盘大小,单位G
|
|
1090
|
+
*/
|
|
1091
|
+
Disk?: number
|
|
1092
|
+
/**
|
|
1093
|
+
* 磁盘类型
|
|
1094
|
+
*/
|
|
1095
|
+
DiskType?: string
|
|
1096
|
+
/**
|
|
1097
|
+
* 磁盘描述
|
|
1098
|
+
*/
|
|
1099
|
+
DiskDesc?: string
|
|
1100
|
+
/**
|
|
1101
|
+
* 挂载云盘信息
|
|
491
1102
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
492
1103
|
*/
|
|
493
1104
|
AttachCBSSpec?: AttachCBSSpec
|
|
@@ -522,3 +1133,363 @@ export interface NodesSummary {
|
|
|
522
1133
|
*/
|
|
523
1134
|
MaxDiskSize?: number
|
|
524
1135
|
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* RestartClusterForNode请求参数结构体
|
|
1139
|
+
*/
|
|
1140
|
+
export interface RestartClusterForNodeRequest {
|
|
1141
|
+
/**
|
|
1142
|
+
* 集群ID,例如cdwch-xxxx
|
|
1143
|
+
*/
|
|
1144
|
+
InstanceId: string
|
|
1145
|
+
/**
|
|
1146
|
+
* 配置文件名称
|
|
1147
|
+
*/
|
|
1148
|
+
ConfigName: string
|
|
1149
|
+
/**
|
|
1150
|
+
* 每次重启的批次
|
|
1151
|
+
*/
|
|
1152
|
+
BatchSize?: number
|
|
1153
|
+
/**
|
|
1154
|
+
* 重启节点
|
|
1155
|
+
*/
|
|
1156
|
+
NodeList?: Array<string>
|
|
1157
|
+
/**
|
|
1158
|
+
* false表示非滚动重启,true表示滚动重启
|
|
1159
|
+
*/
|
|
1160
|
+
RollingRestart?: boolean
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* 集群规格
|
|
1165
|
+
*/
|
|
1166
|
+
export interface CreateInstanceSpec {
|
|
1167
|
+
/**
|
|
1168
|
+
* 规格名字
|
|
1169
|
+
*/
|
|
1170
|
+
SpecName: string
|
|
1171
|
+
/**
|
|
1172
|
+
* 数量
|
|
1173
|
+
*/
|
|
1174
|
+
Count: number
|
|
1175
|
+
/**
|
|
1176
|
+
* 云盘大小
|
|
1177
|
+
*/
|
|
1178
|
+
DiskSize: number
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* 列表页搜索的标记列表
|
|
1183
|
+
*/
|
|
1184
|
+
export interface SearchTags {
|
|
1185
|
+
/**
|
|
1186
|
+
* 标签的键
|
|
1187
|
+
*/
|
|
1188
|
+
TagKey?: string
|
|
1189
|
+
/**
|
|
1190
|
+
* 标签的值
|
|
1191
|
+
*/
|
|
1192
|
+
TagValue?: string
|
|
1193
|
+
/**
|
|
1194
|
+
* 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
|
1195
|
+
*/
|
|
1196
|
+
AllValue?: number
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* DescribeInstance请求参数结构体
|
|
1201
|
+
*/
|
|
1202
|
+
export interface DescribeInstanceRequest {
|
|
1203
|
+
/**
|
|
1204
|
+
* 集群实例ID
|
|
1205
|
+
*/
|
|
1206
|
+
InstanceId: string
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* 返回配置的文件内容(key-value)
|
|
1211
|
+
*/
|
|
1212
|
+
export interface ConfigKeyValue {
|
|
1213
|
+
/**
|
|
1214
|
+
* key
|
|
1215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1216
|
+
*/
|
|
1217
|
+
KeyName?: string
|
|
1218
|
+
/**
|
|
1219
|
+
* 值
|
|
1220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1221
|
+
*/
|
|
1222
|
+
Value?: string
|
|
1223
|
+
/**
|
|
1224
|
+
* 备注
|
|
1225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1226
|
+
*/
|
|
1227
|
+
Message?: string
|
|
1228
|
+
/**
|
|
1229
|
+
* 1-只读,2-可修改但不可删除,3-可删除
|
|
1230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1231
|
+
*/
|
|
1232
|
+
Display?: number
|
|
1233
|
+
/**
|
|
1234
|
+
* 0不支持 1支持热更新
|
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1236
|
+
*/
|
|
1237
|
+
SupportHotUpdate?: number
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* 标签描述
|
|
1242
|
+
*/
|
|
1243
|
+
export interface Tag {
|
|
1244
|
+
/**
|
|
1245
|
+
* 标签的键
|
|
1246
|
+
*/
|
|
1247
|
+
TagKey: string
|
|
1248
|
+
/**
|
|
1249
|
+
* 标签的值
|
|
1250
|
+
*/
|
|
1251
|
+
TagValue: string
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* DescribeInstanceState返回参数结构体
|
|
1256
|
+
*/
|
|
1257
|
+
export interface DescribeInstanceStateResponse {
|
|
1258
|
+
/**
|
|
1259
|
+
* 集群状态,例如:Serving
|
|
1260
|
+
*/
|
|
1261
|
+
InstanceState?: string
|
|
1262
|
+
/**
|
|
1263
|
+
* 集群操作创建时间
|
|
1264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1265
|
+
*/
|
|
1266
|
+
FlowCreateTime?: string
|
|
1267
|
+
/**
|
|
1268
|
+
* 集群操作名称
|
|
1269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1270
|
+
*/
|
|
1271
|
+
FlowName?: string
|
|
1272
|
+
/**
|
|
1273
|
+
* 集群操作进度
|
|
1274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1275
|
+
*/
|
|
1276
|
+
FlowProgress?: number
|
|
1277
|
+
/**
|
|
1278
|
+
* 集群状态描述,例如:运行中
|
|
1279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1280
|
+
*/
|
|
1281
|
+
InstanceStateDesc?: string
|
|
1282
|
+
/**
|
|
1283
|
+
* 集群流程错误信息,例如:“创建失败,资源不足”
|
|
1284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1285
|
+
*/
|
|
1286
|
+
FlowMsg?: string
|
|
1287
|
+
/**
|
|
1288
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1289
|
+
*/
|
|
1290
|
+
RequestId?: string
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* DescribeDatabaseAuditRecords请求参数结构体
|
|
1295
|
+
*/
|
|
1296
|
+
export interface DescribeDatabaseAuditRecordsRequest {
|
|
1297
|
+
/**
|
|
1298
|
+
* 实例ID
|
|
1299
|
+
*/
|
|
1300
|
+
InstanceId: string
|
|
1301
|
+
/**
|
|
1302
|
+
* 开始时间
|
|
1303
|
+
*/
|
|
1304
|
+
StartTime: string
|
|
1305
|
+
/**
|
|
1306
|
+
* 结束时间
|
|
1307
|
+
*/
|
|
1308
|
+
EndTime: string
|
|
1309
|
+
/**
|
|
1310
|
+
* 分页
|
|
1311
|
+
*/
|
|
1312
|
+
PageSize: number
|
|
1313
|
+
/**
|
|
1314
|
+
* 分页
|
|
1315
|
+
*/
|
|
1316
|
+
PageNum: number
|
|
1317
|
+
/**
|
|
1318
|
+
* 排序参数
|
|
1319
|
+
*/
|
|
1320
|
+
OrderType?: string
|
|
1321
|
+
/**
|
|
1322
|
+
* 用户
|
|
1323
|
+
*/
|
|
1324
|
+
User?: string
|
|
1325
|
+
/**
|
|
1326
|
+
* 数据库
|
|
1327
|
+
*/
|
|
1328
|
+
DbName?: string
|
|
1329
|
+
/**
|
|
1330
|
+
* sql类型
|
|
1331
|
+
*/
|
|
1332
|
+
SqlType?: string
|
|
1333
|
+
/**
|
|
1334
|
+
* sql语句
|
|
1335
|
+
*/
|
|
1336
|
+
Sql?: string
|
|
1337
|
+
/**
|
|
1338
|
+
* 用户 (多选)
|
|
1339
|
+
*/
|
|
1340
|
+
Users?: Array<string>
|
|
1341
|
+
/**
|
|
1342
|
+
* 数据库 (多选)
|
|
1343
|
+
*/
|
|
1344
|
+
DbNames?: Array<string>
|
|
1345
|
+
/**
|
|
1346
|
+
* sql类型 (多选)
|
|
1347
|
+
*/
|
|
1348
|
+
SqlTypes?: Array<string>
|
|
1349
|
+
/**
|
|
1350
|
+
* catalog名称(多选)
|
|
1351
|
+
*/
|
|
1352
|
+
Catalogs?: Array<string>
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* DescribeInstanceNodesInfo请求参数结构体
|
|
1357
|
+
*/
|
|
1358
|
+
export interface DescribeInstanceNodesInfoRequest {
|
|
1359
|
+
/**
|
|
1360
|
+
* 集群id
|
|
1361
|
+
*/
|
|
1362
|
+
InstanceID: string
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* DescribeDatabaseAuditDownload返回参数结构体
|
|
1367
|
+
*/
|
|
1368
|
+
export interface DescribeDatabaseAuditDownloadResponse {
|
|
1369
|
+
/**
|
|
1370
|
+
* 日志的cos地址
|
|
1371
|
+
*/
|
|
1372
|
+
CosUrl?: string
|
|
1373
|
+
/**
|
|
1374
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1375
|
+
*/
|
|
1376
|
+
RequestId?: string
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* DescribeDatabaseAuditDownload请求参数结构体
|
|
1381
|
+
*/
|
|
1382
|
+
export interface DescribeDatabaseAuditDownloadRequest {
|
|
1383
|
+
/**
|
|
1384
|
+
* 实例ID
|
|
1385
|
+
*/
|
|
1386
|
+
InstanceId: string
|
|
1387
|
+
/**
|
|
1388
|
+
* 开始时间
|
|
1389
|
+
*/
|
|
1390
|
+
StartTime: string
|
|
1391
|
+
/**
|
|
1392
|
+
* 结束时间
|
|
1393
|
+
*/
|
|
1394
|
+
EndTime: string
|
|
1395
|
+
/**
|
|
1396
|
+
* 分页
|
|
1397
|
+
*/
|
|
1398
|
+
PageSize: number
|
|
1399
|
+
/**
|
|
1400
|
+
* 分页
|
|
1401
|
+
*/
|
|
1402
|
+
PageNum: number
|
|
1403
|
+
/**
|
|
1404
|
+
* 排序参数
|
|
1405
|
+
*/
|
|
1406
|
+
OrderType?: string
|
|
1407
|
+
/**
|
|
1408
|
+
* 用户
|
|
1409
|
+
*/
|
|
1410
|
+
User?: string
|
|
1411
|
+
/**
|
|
1412
|
+
* 数据库
|
|
1413
|
+
*/
|
|
1414
|
+
DbName?: string
|
|
1415
|
+
/**
|
|
1416
|
+
* sql类型
|
|
1417
|
+
*/
|
|
1418
|
+
SqlType?: string
|
|
1419
|
+
/**
|
|
1420
|
+
* sql语句
|
|
1421
|
+
*/
|
|
1422
|
+
Sql?: string
|
|
1423
|
+
/**
|
|
1424
|
+
* 用户 多选
|
|
1425
|
+
*/
|
|
1426
|
+
Users?: Array<string>
|
|
1427
|
+
/**
|
|
1428
|
+
* 数据库 多选
|
|
1429
|
+
*/
|
|
1430
|
+
DbNames?: Array<string>
|
|
1431
|
+
/**
|
|
1432
|
+
* sql类型 多选
|
|
1433
|
+
*/
|
|
1434
|
+
SqlTypes?: Array<string>
|
|
1435
|
+
/**
|
|
1436
|
+
* catalog名称 (多选)
|
|
1437
|
+
*/
|
|
1438
|
+
Catalogs?: Array<string>
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* DescribeInstanceNodesInfo返回参数结构体
|
|
1443
|
+
*/
|
|
1444
|
+
export interface DescribeInstanceNodesInfoResponse {
|
|
1445
|
+
/**
|
|
1446
|
+
* Be节点
|
|
1447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1448
|
+
*/
|
|
1449
|
+
BeNodes?: Array<string>
|
|
1450
|
+
/**
|
|
1451
|
+
* Fe节点
|
|
1452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1453
|
+
*/
|
|
1454
|
+
FeNodes?: Array<string>
|
|
1455
|
+
/**
|
|
1456
|
+
* Fe master节点
|
|
1457
|
+
*/
|
|
1458
|
+
FeMaster?: string
|
|
1459
|
+
/**
|
|
1460
|
+
* Be节点信息
|
|
1461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1462
|
+
*/
|
|
1463
|
+
BeNodeInfos?: Array<NodeInfo>
|
|
1464
|
+
/**
|
|
1465
|
+
* Fe节点信息
|
|
1466
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1467
|
+
*/
|
|
1468
|
+
FeNodeInfos?: Array<NodeInfo>
|
|
1469
|
+
/**
|
|
1470
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1471
|
+
*/
|
|
1472
|
+
RequestId?: string
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* ScaleUpInstance返回参数结构体
|
|
1477
|
+
*/
|
|
1478
|
+
export interface ScaleUpInstanceResponse {
|
|
1479
|
+
/**
|
|
1480
|
+
* 流程ID
|
|
1481
|
+
*/
|
|
1482
|
+
FlowId?: string
|
|
1483
|
+
/**
|
|
1484
|
+
* 实例ID
|
|
1485
|
+
*/
|
|
1486
|
+
InstanceId?: string
|
|
1487
|
+
/**
|
|
1488
|
+
* 错误信息
|
|
1489
|
+
*/
|
|
1490
|
+
ErrorMsg?: string
|
|
1491
|
+
/**
|
|
1492
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1493
|
+
*/
|
|
1494
|
+
RequestId?: string
|
|
1495
|
+
}
|