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