tencentcloud-sdk-nodejs-cdwdoris 4.0.904 → 4.0.909
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 +52 -52
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +616 -96
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +3241 -797
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +187 -23
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +279 -33
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +3130 -796
|
@@ -1,151 +1,95 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* DescribeDatabaseAuditResource请求参数结构体
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface DescribeDatabaseAuditResourceRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 实例ID
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
InstanceId: string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* DescribeDorisMetricFiles返回参数结构体
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface DescribeDorisMetricFilesResponse {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
FlowId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* 集群ID
|
|
15
|
+
* ErrorMsg
|
|
16
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20
17
|
*/
|
|
21
|
-
|
|
18
|
+
ErrorMsg?: string;
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
20
|
+
* 返回数据
|
|
21
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24
22
|
*/
|
|
25
|
-
|
|
23
|
+
ReturnData?: string;
|
|
26
24
|
/**
|
|
27
25
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28
26
|
*/
|
|
29
27
|
RequestId?: string;
|
|
30
28
|
}
|
|
31
29
|
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export interface DescribeSlowQueryRecordsDownloadRequest {
|
|
35
|
-
/**
|
|
36
|
-
* 实例ID
|
|
37
|
-
*/
|
|
38
|
-
InstanceId: string;
|
|
39
|
-
/**
|
|
40
|
-
* 慢查询时间
|
|
41
|
-
*/
|
|
42
|
-
QueryDurationMs: number;
|
|
43
|
-
/**
|
|
44
|
-
* 开始时间
|
|
45
|
-
*/
|
|
46
|
-
StartTime: string;
|
|
47
|
-
/**
|
|
48
|
-
* 结束时间
|
|
49
|
-
*/
|
|
50
|
-
EndTime: string;
|
|
51
|
-
/**
|
|
52
|
-
* 排序参数
|
|
53
|
-
*/
|
|
54
|
-
DurationMs?: string;
|
|
55
|
-
/**
|
|
56
|
-
* 查询sql
|
|
57
|
-
*/
|
|
58
|
-
Sql?: string;
|
|
59
|
-
/**
|
|
60
|
-
* 排序参数
|
|
61
|
-
*/
|
|
62
|
-
ReadRows?: string;
|
|
63
|
-
/**
|
|
64
|
-
* 排序参数
|
|
65
|
-
*/
|
|
66
|
-
ResultBytes?: string;
|
|
67
|
-
/**
|
|
68
|
-
* 排序参数
|
|
69
|
-
*/
|
|
70
|
-
MemoryUsage?: string;
|
|
71
|
-
/**
|
|
72
|
-
* IsQuery条件
|
|
73
|
-
*/
|
|
74
|
-
IsQuery?: number;
|
|
75
|
-
/**
|
|
76
|
-
* 数据库名称
|
|
77
|
-
*/
|
|
78
|
-
DbName?: Array<string>;
|
|
79
|
-
/**
|
|
80
|
-
* catalog名称
|
|
81
|
-
*/
|
|
82
|
-
CatalogName?: Array<string>;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* ResizeDisk请求参数结构体
|
|
30
|
+
* DescribeInstanceUsedSubnets返回参数结构体
|
|
86
31
|
*/
|
|
87
|
-
export interface
|
|
32
|
+
export interface DescribeInstanceUsedSubnetsResponse {
|
|
88
33
|
/**
|
|
89
|
-
*
|
|
34
|
+
* 集群使用的vpc信息
|
|
35
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
90
36
|
*/
|
|
91
|
-
|
|
37
|
+
VpcId?: string;
|
|
92
38
|
/**
|
|
93
|
-
*
|
|
39
|
+
* 集群使用的subnet信息
|
|
40
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
94
41
|
*/
|
|
95
|
-
|
|
42
|
+
UsedSubnets?: Array<string>;
|
|
96
43
|
/**
|
|
97
|
-
*
|
|
44
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
98
45
|
*/
|
|
99
|
-
|
|
46
|
+
RequestId?: string;
|
|
100
47
|
}
|
|
101
48
|
/**
|
|
102
|
-
*
|
|
49
|
+
* DescribeFrontEnd请求参数结构体
|
|
103
50
|
*/
|
|
104
|
-
export interface
|
|
51
|
+
export interface DescribeFrontEndRequest {
|
|
105
52
|
/**
|
|
106
|
-
*
|
|
107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
+
* 实例id
|
|
108
54
|
*/
|
|
109
|
-
|
|
55
|
+
InstanceId?: string;
|
|
110
56
|
/**
|
|
111
|
-
*
|
|
112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
57
|
+
* 文件类型
|
|
113
58
|
*/
|
|
114
|
-
|
|
59
|
+
ConfigType?: string;
|
|
115
60
|
/**
|
|
116
|
-
*
|
|
117
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
61
|
+
* 参数1
|
|
118
62
|
*/
|
|
119
|
-
|
|
63
|
+
Param1?: string;
|
|
120
64
|
/**
|
|
121
|
-
*
|
|
122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
65
|
+
* 参数2
|
|
123
66
|
*/
|
|
124
|
-
|
|
67
|
+
Param2?: string;
|
|
125
68
|
/**
|
|
126
|
-
*
|
|
127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
69
|
+
* 参数3
|
|
128
70
|
*/
|
|
129
|
-
|
|
71
|
+
Param3?: string;
|
|
130
72
|
/**
|
|
131
|
-
*
|
|
132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
73
|
+
* 参数4
|
|
133
74
|
*/
|
|
134
|
-
|
|
75
|
+
Param4?: string;
|
|
135
76
|
/**
|
|
136
|
-
*
|
|
137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
77
|
+
* 参数5
|
|
138
78
|
*/
|
|
139
|
-
|
|
79
|
+
Param5?: string;
|
|
140
80
|
}
|
|
141
81
|
/**
|
|
142
|
-
*
|
|
82
|
+
* CreateInstanceNew返回参数结构体
|
|
143
83
|
*/
|
|
144
|
-
export interface
|
|
84
|
+
export interface CreateInstanceNewResponse {
|
|
145
85
|
/**
|
|
146
|
-
*
|
|
86
|
+
* 流程ID
|
|
147
87
|
*/
|
|
148
|
-
FlowId?:
|
|
88
|
+
FlowId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 实例ID
|
|
91
|
+
*/
|
|
92
|
+
InstanceId?: string;
|
|
149
93
|
/**
|
|
150
94
|
* 错误信息
|
|
151
95
|
*/
|
|
@@ -156,31 +100,46 @@ export interface RestartClusterForNodeResponse {
|
|
|
156
100
|
RequestId?: string;
|
|
157
101
|
}
|
|
158
102
|
/**
|
|
159
|
-
*
|
|
103
|
+
* DescribeClusterConfigsHistory返回参数结构体
|
|
160
104
|
*/
|
|
161
|
-
export interface
|
|
105
|
+
export interface DescribeClusterConfigsHistoryResponse {
|
|
162
106
|
/**
|
|
163
|
-
*
|
|
107
|
+
* 实例总数
|
|
164
108
|
*/
|
|
165
109
|
TotalCount?: number;
|
|
166
110
|
/**
|
|
167
|
-
*
|
|
168
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
111
|
+
* 配置文件修改历史
|
|
169
112
|
*/
|
|
170
|
-
|
|
113
|
+
ClusterConfHistory?: Array<ClusterConfigsHistory>;
|
|
171
114
|
/**
|
|
172
115
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
173
116
|
*/
|
|
174
117
|
RequestId?: string;
|
|
175
118
|
}
|
|
176
119
|
/**
|
|
177
|
-
*
|
|
120
|
+
* DescribeInstanceOperations请求参数结构体
|
|
178
121
|
*/
|
|
179
|
-
export interface
|
|
122
|
+
export interface DescribeInstanceOperationsRequest {
|
|
180
123
|
/**
|
|
181
|
-
*
|
|
124
|
+
* 集群ID
|
|
182
125
|
*/
|
|
183
126
|
InstanceId: string;
|
|
127
|
+
/**
|
|
128
|
+
* 分页参数,偏移量,从0开始
|
|
129
|
+
*/
|
|
130
|
+
Offset?: number;
|
|
131
|
+
/**
|
|
132
|
+
* 分页参数,每页数目,默认为10
|
|
133
|
+
*/
|
|
134
|
+
Limit?: number;
|
|
135
|
+
/**
|
|
136
|
+
* 开始时间
|
|
137
|
+
*/
|
|
138
|
+
StartTime?: string;
|
|
139
|
+
/**
|
|
140
|
+
* 结束时间
|
|
141
|
+
*/
|
|
142
|
+
EndTime?: string;
|
|
184
143
|
}
|
|
185
144
|
/**
|
|
186
145
|
* DescribeClusterConfigs返回参数结构体
|
|
@@ -221,252 +180,283 @@ export interface ScaleOutInstanceResponse {
|
|
|
221
180
|
RequestId?: string;
|
|
222
181
|
}
|
|
223
182
|
/**
|
|
224
|
-
*
|
|
183
|
+
* ModifyUserPrivilegesV3返回参数结构体
|
|
225
184
|
*/
|
|
226
|
-
export interface
|
|
185
|
+
export interface ModifyUserPrivilegesV3Response {
|
|
227
186
|
/**
|
|
228
|
-
*
|
|
187
|
+
* 错误信息,为空就是没有错误
|
|
188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
229
189
|
*/
|
|
230
|
-
|
|
190
|
+
ErrorMsg?: string;
|
|
231
191
|
/**
|
|
232
|
-
*
|
|
192
|
+
* 集群id
|
|
233
193
|
*/
|
|
234
|
-
|
|
194
|
+
InstanceId?: string;
|
|
235
195
|
/**
|
|
236
|
-
*
|
|
196
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
237
197
|
*/
|
|
238
|
-
|
|
198
|
+
RequestId?: string;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* DescribeFederationToken请求参数结构体
|
|
202
|
+
*/
|
|
203
|
+
export declare type DescribeFederationTokenRequest = null;
|
|
204
|
+
/**
|
|
205
|
+
* ModifyWorkloadGroupStatus返回参数结构体
|
|
206
|
+
*/
|
|
207
|
+
export interface ModifyWorkloadGroupStatusResponse {
|
|
239
208
|
/**
|
|
240
|
-
*
|
|
209
|
+
* 错误信息
|
|
241
210
|
*/
|
|
242
|
-
|
|
211
|
+
ErrorMsg?: string;
|
|
243
212
|
/**
|
|
244
|
-
*
|
|
213
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
245
214
|
*/
|
|
246
|
-
|
|
215
|
+
RequestId?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* 资源组绑定的用户信息,需要username和host信息进行授权
|
|
219
|
+
*/
|
|
220
|
+
export interface BindUser {
|
|
247
221
|
/**
|
|
248
|
-
*
|
|
222
|
+
* 用户名
|
|
223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
224
|
*/
|
|
250
|
-
|
|
225
|
+
UserName?: string;
|
|
251
226
|
/**
|
|
252
|
-
*
|
|
227
|
+
* 主机信息
|
|
228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
253
229
|
*/
|
|
254
|
-
|
|
230
|
+
Host?: string;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* CancelBackupJob请求参数结构体
|
|
234
|
+
*/
|
|
235
|
+
export interface CancelBackupJobRequest {
|
|
255
236
|
/**
|
|
256
|
-
*
|
|
237
|
+
* 集群id
|
|
257
238
|
*/
|
|
258
|
-
|
|
239
|
+
InstanceId: string;
|
|
259
240
|
/**
|
|
260
|
-
*
|
|
241
|
+
* 需要取消的备份实例id
|
|
261
242
|
*/
|
|
262
|
-
|
|
243
|
+
BackUpJobId?: number;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* ModifyWorkloadGroup请求参数结构体
|
|
247
|
+
*/
|
|
248
|
+
export interface ModifyWorkloadGroupRequest {
|
|
263
249
|
/**
|
|
264
|
-
*
|
|
250
|
+
* 集群id
|
|
265
251
|
*/
|
|
266
|
-
|
|
252
|
+
InstanceId: string;
|
|
267
253
|
/**
|
|
268
|
-
*
|
|
269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
254
|
+
* 修改的资源组信息
|
|
270
255
|
*/
|
|
271
|
-
|
|
256
|
+
WorkloadGroup?: WorkloadGroupConfig;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* 集群内节点的规格描述
|
|
260
|
+
*/
|
|
261
|
+
export interface ResourceNodeSpec {
|
|
272
262
|
/**
|
|
273
|
-
*
|
|
263
|
+
* 节点类型,“DATA"数据节点,”COMMON" zookeeper节点
|
|
264
|
+
*/
|
|
265
|
+
Type: string;
|
|
266
|
+
/**
|
|
267
|
+
* 节点规格名称,例如 “SCH1","SCH2”等
|
|
268
|
+
*/
|
|
269
|
+
SpecName: string;
|
|
270
|
+
/**
|
|
271
|
+
* 节点数目
|
|
272
|
+
*/
|
|
273
|
+
Count: number;
|
|
274
|
+
/**
|
|
275
|
+
* 磁盘规格描述
|
|
274
276
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
275
277
|
*/
|
|
276
|
-
|
|
278
|
+
DiskSpec?: ResourceNodeDiskSpec;
|
|
277
279
|
/**
|
|
278
|
-
*
|
|
280
|
+
* 云盘是否加密,0不加密/1加密 默认为0
|
|
279
281
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
280
282
|
*/
|
|
281
|
-
|
|
283
|
+
Encrypt?: number;
|
|
282
284
|
/**
|
|
283
|
-
*
|
|
285
|
+
* 额外信息
|
|
284
286
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
285
287
|
*/
|
|
286
|
-
|
|
288
|
+
Extra?: SpecExtra;
|
|
287
289
|
/**
|
|
288
|
-
*
|
|
290
|
+
* 挂载云盘信息
|
|
289
291
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
290
292
|
*/
|
|
291
|
-
|
|
293
|
+
AttachCBSSpec?: ResourceNodeDiskSpec;
|
|
292
294
|
}
|
|
293
295
|
/**
|
|
294
|
-
*
|
|
296
|
+
* 用户绑定资源组信息
|
|
295
297
|
*/
|
|
296
|
-
export interface
|
|
298
|
+
export interface UserWorkloadGroup {
|
|
297
299
|
/**
|
|
298
|
-
*
|
|
299
|
-
|
|
300
|
-
InstanceId: string;
|
|
301
|
-
/**
|
|
302
|
-
* 集群角色类型,默认为 "data"数据节点
|
|
300
|
+
* test
|
|
301
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
303
302
|
*/
|
|
304
|
-
|
|
303
|
+
UserName?: string;
|
|
305
304
|
/**
|
|
306
|
-
*
|
|
305
|
+
* normal
|
|
306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
307
307
|
*/
|
|
308
|
-
|
|
308
|
+
WorkloadGroupName?: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* DescribeSlowQueryRecordsDownload返回参数结构体
|
|
312
|
+
*/
|
|
313
|
+
export interface DescribeSlowQueryRecordsDownloadResponse {
|
|
309
314
|
/**
|
|
310
|
-
*
|
|
315
|
+
* cos地址
|
|
311
316
|
*/
|
|
312
|
-
|
|
317
|
+
CosUrl?: string;
|
|
313
318
|
/**
|
|
314
|
-
*
|
|
319
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
315
320
|
*/
|
|
316
|
-
|
|
321
|
+
RequestId?: string;
|
|
317
322
|
}
|
|
318
323
|
/**
|
|
319
|
-
*
|
|
324
|
+
* DeleteWorkloadGroup请求参数结构体
|
|
320
325
|
*/
|
|
321
|
-
export interface
|
|
326
|
+
export interface DeleteWorkloadGroupRequest {
|
|
322
327
|
/**
|
|
323
|
-
*
|
|
328
|
+
* 集群id
|
|
324
329
|
*/
|
|
325
330
|
InstanceId: string;
|
|
326
331
|
/**
|
|
327
|
-
*
|
|
332
|
+
* 需要删除的资源组名称
|
|
328
333
|
*/
|
|
329
|
-
|
|
334
|
+
WorkloadGroupName?: string;
|
|
330
335
|
}
|
|
331
336
|
/**
|
|
332
|
-
*
|
|
337
|
+
* 资源组相关配置
|
|
333
338
|
*/
|
|
334
|
-
export interface
|
|
339
|
+
export interface WorkloadGroupConfig {
|
|
335
340
|
/**
|
|
336
|
-
*
|
|
341
|
+
* 资源组名称
|
|
337
342
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
338
343
|
*/
|
|
339
|
-
|
|
344
|
+
WorkloadGroupName?: string;
|
|
340
345
|
/**
|
|
341
|
-
*
|
|
346
|
+
* CPU权重
|
|
342
347
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
343
348
|
*/
|
|
344
|
-
|
|
349
|
+
CpuShare?: number;
|
|
345
350
|
/**
|
|
346
|
-
*
|
|
351
|
+
* 内存限制,所有资源组的内存限制值之和应该小于等于100
|
|
347
352
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
348
353
|
*/
|
|
349
|
-
|
|
354
|
+
MemoryLimit?: number;
|
|
350
355
|
/**
|
|
351
|
-
*
|
|
356
|
+
* 是否允许超配分配
|
|
352
357
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
353
358
|
*/
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Instance表detail字段
|
|
358
|
-
*/
|
|
359
|
-
export interface InstanceDetail {
|
|
359
|
+
EnableMemoryOverCommit?: boolean;
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* cpu硬限制
|
|
362
362
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
363
|
*/
|
|
364
|
-
|
|
364
|
+
CpuHardLimit?: string;
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* FitClsLog请求参数结构体
|
|
368
368
|
*/
|
|
369
|
-
export interface
|
|
370
|
-
/**
|
|
371
|
-
* 配置文件名称
|
|
372
|
-
*/
|
|
373
|
-
FileName?: string;
|
|
374
|
-
/**
|
|
375
|
-
* 配置文件对应的相关属性信息
|
|
376
|
-
*/
|
|
377
|
-
FileConf?: string;
|
|
378
|
-
/**
|
|
379
|
-
* 配置文件对应的其他属性信息
|
|
380
|
-
*/
|
|
381
|
-
KeyConf?: string;
|
|
382
|
-
/**
|
|
383
|
-
* 配置文件的内容,base64编码
|
|
384
|
-
*/
|
|
385
|
-
OriParam?: string;
|
|
369
|
+
export interface FitClsLogRequest {
|
|
386
370
|
/**
|
|
387
|
-
*
|
|
388
|
-
*/
|
|
389
|
-
NeedRestart?: number;
|
|
390
|
-
/**
|
|
391
|
-
* 配置文件路径
|
|
392
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
371
|
+
* 集群ID,例如cdwch-xxxx
|
|
393
372
|
*/
|
|
394
|
-
|
|
373
|
+
InstanceId: string;
|
|
395
374
|
/**
|
|
396
|
-
*
|
|
397
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
398
|
-
* @deprecated
|
|
375
|
+
* cls日志集ID
|
|
399
376
|
*/
|
|
400
|
-
|
|
377
|
+
ClsLogSetId: string;
|
|
401
378
|
/**
|
|
402
|
-
*
|
|
403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
379
|
+
* 日志的类型,es还是cls_topic
|
|
404
380
|
*/
|
|
405
|
-
|
|
381
|
+
LogType?: string;
|
|
406
382
|
}
|
|
407
383
|
/**
|
|
408
|
-
*
|
|
384
|
+
* 集群内节点的规格磁盘规格描述
|
|
409
385
|
*/
|
|
410
|
-
export interface
|
|
386
|
+
export interface ResourceNodeDiskSpec {
|
|
411
387
|
/**
|
|
412
|
-
*
|
|
388
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
413
389
|
*/
|
|
414
|
-
|
|
390
|
+
DiskType?: string;
|
|
415
391
|
/**
|
|
416
|
-
*
|
|
392
|
+
* 磁盘容量,单位G
|
|
417
393
|
*/
|
|
418
|
-
|
|
394
|
+
DiskSize?: number;
|
|
419
395
|
/**
|
|
420
|
-
*
|
|
396
|
+
* 磁盘总数
|
|
421
397
|
*/
|
|
422
|
-
|
|
398
|
+
DiskCount?: number;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* DescribeDmsSqlHistory请求参数结构体
|
|
402
|
+
*/
|
|
403
|
+
export interface DescribeDmsSqlHistoryRequest {
|
|
423
404
|
/**
|
|
424
|
-
*
|
|
405
|
+
* 查询节点ip
|
|
425
406
|
*/
|
|
426
|
-
|
|
407
|
+
QueryNode?: Array<string>;
|
|
427
408
|
/**
|
|
428
|
-
*
|
|
409
|
+
* 运行状态
|
|
429
410
|
*/
|
|
430
|
-
|
|
411
|
+
QueryStatus?: Array<string>;
|
|
431
412
|
/**
|
|
432
|
-
*
|
|
413
|
+
* 模糊搜索sql
|
|
433
414
|
*/
|
|
434
|
-
|
|
415
|
+
QuerySql?: string;
|
|
435
416
|
/**
|
|
436
|
-
*
|
|
417
|
+
* 根据报错原因搜索
|
|
437
418
|
*/
|
|
438
|
-
|
|
419
|
+
QueryErrMsg?: string;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* DescribeFederationToken返回参数结构体
|
|
423
|
+
*/
|
|
424
|
+
export interface DescribeFederationTokenResponse {
|
|
439
425
|
/**
|
|
440
|
-
*
|
|
441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
426
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
442
427
|
*/
|
|
443
|
-
|
|
428
|
+
RequestId?: string;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* 客户提供cos认证信息。
|
|
432
|
+
*/
|
|
433
|
+
export interface CosSourceInfo {
|
|
444
434
|
/**
|
|
445
|
-
*
|
|
435
|
+
* cos认证中的Id
|
|
446
436
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
437
|
*/
|
|
448
|
-
|
|
438
|
+
SecretId?: string;
|
|
449
439
|
/**
|
|
450
|
-
*
|
|
440
|
+
* cos认证中的key
|
|
451
441
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
442
|
*/
|
|
453
|
-
|
|
443
|
+
SecretKey?: string;
|
|
454
444
|
/**
|
|
455
|
-
*
|
|
445
|
+
* cos认证中的路径
|
|
456
446
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
457
447
|
*/
|
|
458
|
-
|
|
448
|
+
CosPath?: string;
|
|
459
449
|
}
|
|
460
450
|
/**
|
|
461
|
-
*
|
|
451
|
+
* ReduceInstance返回参数结构体
|
|
462
452
|
*/
|
|
463
|
-
export interface
|
|
453
|
+
export interface ReduceInstanceResponse {
|
|
464
454
|
/**
|
|
465
455
|
* 流程ID
|
|
466
456
|
*/
|
|
467
457
|
FlowId?: string;
|
|
468
458
|
/**
|
|
469
|
-
*
|
|
459
|
+
* 集群ID
|
|
470
460
|
*/
|
|
471
461
|
InstanceId?: string;
|
|
472
462
|
/**
|
|
@@ -479,690 +469,3004 @@ export interface CreateInstanceNewResponse {
|
|
|
479
469
|
RequestId?: string;
|
|
480
470
|
}
|
|
481
471
|
/**
|
|
482
|
-
*
|
|
472
|
+
* DescribeBackUpTaskDetail请求参数结构体
|
|
483
473
|
*/
|
|
484
|
-
export interface
|
|
474
|
+
export interface DescribeBackUpTaskDetailRequest {
|
|
485
475
|
/**
|
|
486
|
-
*
|
|
476
|
+
* 集群id
|
|
487
477
|
*/
|
|
488
|
-
|
|
478
|
+
InstanceId: string;
|
|
489
479
|
/**
|
|
490
|
-
*
|
|
480
|
+
* 任务id
|
|
491
481
|
*/
|
|
492
|
-
|
|
482
|
+
BackUpJobId: number;
|
|
493
483
|
}
|
|
494
484
|
/**
|
|
495
|
-
*
|
|
485
|
+
* 检查doris内核是否支持新语法。
|
|
496
486
|
*/
|
|
497
|
-
export interface
|
|
487
|
+
export interface VersionReplicaItem {
|
|
498
488
|
/**
|
|
499
|
-
*
|
|
489
|
+
* 版本描述
|
|
490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
500
491
|
*/
|
|
501
|
-
|
|
492
|
+
ReplicaFlag: number;
|
|
493
|
+
/**
|
|
494
|
+
* 错误信息
|
|
495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
496
|
+
*/
|
|
497
|
+
ErrorMsg: string;
|
|
502
498
|
}
|
|
503
499
|
/**
|
|
504
|
-
*
|
|
500
|
+
* RecoverBackUpJob请求参数结构体
|
|
505
501
|
*/
|
|
506
|
-
export interface
|
|
507
|
-
/**
|
|
508
|
-
* 可用区
|
|
509
|
-
*/
|
|
510
|
-
Zone: string;
|
|
511
|
-
/**
|
|
512
|
-
* FE规格
|
|
513
|
-
*/
|
|
514
|
-
FeSpec: CreateInstanceSpec;
|
|
515
|
-
/**
|
|
516
|
-
* BE规格
|
|
517
|
-
*/
|
|
518
|
-
BeSpec: CreateInstanceSpec;
|
|
502
|
+
export interface RecoverBackUpJobRequest {
|
|
519
503
|
/**
|
|
520
|
-
*
|
|
504
|
+
* 集群id
|
|
521
505
|
*/
|
|
522
|
-
|
|
506
|
+
InstanceId: string;
|
|
523
507
|
/**
|
|
524
|
-
*
|
|
508
|
+
* 任务id
|
|
525
509
|
*/
|
|
526
|
-
|
|
510
|
+
BackUpJobId: number;
|
|
527
511
|
/**
|
|
528
|
-
*
|
|
512
|
+
* 恢复出来的新表副本数
|
|
529
513
|
*/
|
|
530
|
-
|
|
514
|
+
ReplicationNum?: number;
|
|
531
515
|
/**
|
|
532
|
-
*
|
|
516
|
+
* 恢复是否保持源表中的配置,1时表示保留源表中的配置
|
|
533
517
|
*/
|
|
534
|
-
|
|
518
|
+
ReserveSourceConfig?: number;
|
|
535
519
|
/**
|
|
536
|
-
*
|
|
520
|
+
* 0默认 1cos恢复
|
|
537
521
|
*/
|
|
538
|
-
|
|
522
|
+
RecoverType?: number;
|
|
539
523
|
/**
|
|
540
|
-
*
|
|
524
|
+
* CosSourceInfo对象
|
|
541
525
|
*/
|
|
542
|
-
|
|
526
|
+
CosSourceInfo?: CosSourceInfo;
|
|
543
527
|
/**
|
|
544
|
-
*
|
|
528
|
+
* 0默认 1定期执行
|
|
545
529
|
*/
|
|
546
|
-
|
|
530
|
+
ScheduleType?: number;
|
|
547
531
|
/**
|
|
548
|
-
*
|
|
532
|
+
* 年-月-日 时:分:秒
|
|
549
533
|
*/
|
|
550
|
-
|
|
534
|
+
NextTime?: string;
|
|
551
535
|
/**
|
|
552
|
-
*
|
|
553
|
-
0:非高可用(只有1个FE,FeSpec.CreateInstanceSpec.Count=1),
|
|
554
|
-
1:读高可用(至少需部署3个FE,FeSpec.CreateInstanceSpec.Count>=3,且为奇数),
|
|
555
|
-
2:读写高可用(至少需部署5个FE,FeSpec.CreateInstanceSpec.Count>=5,且为奇数)。
|
|
536
|
+
* 调度名称
|
|
556
537
|
*/
|
|
557
|
-
|
|
538
|
+
ScheduleName?: string;
|
|
558
539
|
/**
|
|
559
|
-
*
|
|
540
|
+
* create update
|
|
560
541
|
*/
|
|
561
|
-
|
|
542
|
+
OperationType?: string;
|
|
562
543
|
/**
|
|
563
|
-
*
|
|
544
|
+
* 恢复粒度:All全量、Database按库、Table按表
|
|
564
545
|
*/
|
|
565
|
-
|
|
546
|
+
RecoverScope?: string;
|
|
566
547
|
/**
|
|
567
|
-
*
|
|
548
|
+
* 恢复库:如果是按库备份,则需要该字段,库之间用","分割
|
|
568
549
|
*/
|
|
569
|
-
|
|
550
|
+
RecoverDatabase?: string;
|
|
570
551
|
}
|
|
571
552
|
/**
|
|
572
|
-
*
|
|
553
|
+
* 磁盘规格描述
|
|
573
554
|
*/
|
|
574
|
-
export interface
|
|
555
|
+
export interface DiskSpec {
|
|
575
556
|
/**
|
|
576
|
-
*
|
|
577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
557
|
+
* 磁盘类型,例如“CLOUD_SSD", "LOCAL_SSD"等
|
|
578
558
|
*/
|
|
579
|
-
|
|
559
|
+
DiskType: string;
|
|
580
560
|
/**
|
|
581
|
-
*
|
|
582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
561
|
+
* 磁盘类型说明,例如"云SSD", "本地SSD"等
|
|
583
562
|
*/
|
|
584
|
-
|
|
563
|
+
DiskDesc: string;
|
|
585
564
|
/**
|
|
586
|
-
*
|
|
587
|
-
Init 创建中; Serving 运行中;
|
|
588
|
-
Deleted已销毁;Deleting 销毁中;
|
|
589
|
-
Modify 集群变更中;
|
|
590
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
|
+
* 磁盘最小规格大小,单位G
|
|
591
566
|
*/
|
|
592
|
-
|
|
567
|
+
MinDiskSize: number;
|
|
593
568
|
/**
|
|
594
|
-
*
|
|
595
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
+
* 磁盘最大规格大小,单位G
|
|
596
570
|
*/
|
|
597
|
-
|
|
571
|
+
MaxDiskSize: number;
|
|
598
572
|
/**
|
|
599
|
-
*
|
|
600
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
573
|
+
* 磁盘数目
|
|
601
574
|
*/
|
|
602
|
-
|
|
575
|
+
DiskCount: number;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* DescribeInstanceOperations返回参数结构体
|
|
579
|
+
*/
|
|
580
|
+
export interface DescribeInstanceOperationsResponse {
|
|
603
581
|
/**
|
|
604
|
-
*
|
|
605
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
582
|
+
* 操作记录总数
|
|
606
583
|
*/
|
|
607
|
-
|
|
584
|
+
TotalCount: number;
|
|
608
585
|
/**
|
|
609
|
-
*
|
|
586
|
+
* 操作记录具体数据
|
|
610
587
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
611
588
|
*/
|
|
612
|
-
|
|
589
|
+
Operations: Array<InstanceOperation>;
|
|
613
590
|
/**
|
|
614
|
-
*
|
|
615
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
591
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
616
592
|
*/
|
|
617
|
-
|
|
593
|
+
RequestId?: string;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* DescribeUserBindWorkloadGroup返回参数结构体
|
|
597
|
+
*/
|
|
598
|
+
export interface DescribeUserBindWorkloadGroupResponse {
|
|
618
599
|
/**
|
|
619
|
-
*
|
|
620
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
600
|
+
* 用户绑定资源组信息
|
|
621
601
|
*/
|
|
622
|
-
|
|
602
|
+
UserBindInfos?: Array<UserWorkloadGroup>;
|
|
623
603
|
/**
|
|
624
|
-
*
|
|
625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
604
|
+
* 错误信息
|
|
626
605
|
*/
|
|
627
|
-
|
|
606
|
+
ErrorMsg?: string;
|
|
628
607
|
/**
|
|
629
|
-
*
|
|
630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
608
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
631
609
|
*/
|
|
632
|
-
|
|
610
|
+
RequestId?: string;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* ScaleOutInstance请求参数结构体
|
|
614
|
+
*/
|
|
615
|
+
export interface ScaleOutInstanceRequest {
|
|
633
616
|
/**
|
|
634
|
-
*
|
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
617
|
+
* 集群ID
|
|
636
618
|
*/
|
|
637
|
-
|
|
619
|
+
InstanceId: string;
|
|
638
620
|
/**
|
|
639
|
-
*
|
|
640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
621
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
641
622
|
*/
|
|
642
|
-
|
|
623
|
+
Type: string;
|
|
643
624
|
/**
|
|
644
|
-
*
|
|
645
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
625
|
+
* 节点数量
|
|
646
626
|
*/
|
|
647
|
-
|
|
627
|
+
NodeCount: number;
|
|
648
628
|
/**
|
|
649
|
-
*
|
|
650
|
-
0:非高可用
|
|
651
|
-
1:读高可用
|
|
652
|
-
2:读写高可用。
|
|
653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
629
|
+
* 扩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
654
630
|
*/
|
|
655
631
|
HaType?: number;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* 更新用户权限结构体
|
|
635
|
+
*/
|
|
636
|
+
export interface UpdateUserPrivileges {
|
|
656
637
|
/**
|
|
657
|
-
*
|
|
658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
638
|
+
* 是否设置catalog权限
|
|
659
639
|
*/
|
|
660
|
-
|
|
640
|
+
IsSetGlobalCatalog?: boolean;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* 展示doris监控指标请求入参
|
|
644
|
+
*/
|
|
645
|
+
export interface DescribeMetricsFileReq {
|
|
661
646
|
/**
|
|
662
|
-
*
|
|
663
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
647
|
+
* 集群类型
|
|
664
648
|
*/
|
|
665
|
-
|
|
649
|
+
InstanceType: string;
|
|
666
650
|
/**
|
|
667
|
-
*
|
|
668
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
651
|
+
* 指标类型
|
|
669
652
|
*/
|
|
670
|
-
|
|
653
|
+
MetricType?: string;
|
|
671
654
|
/**
|
|
672
|
-
*
|
|
673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
655
|
+
* 是否关注
|
|
674
656
|
*/
|
|
675
|
-
|
|
657
|
+
IfAttention?: number;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* DescribeInstanceState请求参数结构体
|
|
661
|
+
*/
|
|
662
|
+
export interface DescribeInstanceStateRequest {
|
|
676
663
|
/**
|
|
677
|
-
*
|
|
678
|
-
|
|
664
|
+
* 集群实例名称
|
|
665
|
+
*/
|
|
666
|
+
InstanceId: string;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* OpenBackUp返回参数结构体
|
|
670
|
+
*/
|
|
671
|
+
export interface OpenBackUpResponse {
|
|
672
|
+
/**
|
|
673
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
674
|
+
*/
|
|
675
|
+
RequestId?: string;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* 网络信息
|
|
679
|
+
*/
|
|
680
|
+
export interface NetworkInfo {
|
|
681
|
+
/**
|
|
682
|
+
* 可用区
|
|
683
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
684
|
+
*/
|
|
685
|
+
Zone?: string;
|
|
686
|
+
/**
|
|
687
|
+
* 子网id
|
|
688
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
689
|
+
*/
|
|
690
|
+
SubnetId?: string;
|
|
691
|
+
/**
|
|
692
|
+
* 当前子网可用ip数
|
|
693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
694
|
+
*/
|
|
695
|
+
SubnetIpNum?: number;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* 可用区描述信息
|
|
699
|
+
*/
|
|
700
|
+
export interface ZoneInfo {
|
|
701
|
+
/**
|
|
702
|
+
* 可用区名称,例如"ap-guangzhou-1"
|
|
703
|
+
*/
|
|
704
|
+
Name?: string;
|
|
705
|
+
/**
|
|
706
|
+
* 可用区描述信息,例如“广州一区”
|
|
707
|
+
*/
|
|
708
|
+
Desc?: string;
|
|
709
|
+
/**
|
|
710
|
+
* 可用区唯一标记
|
|
711
|
+
*/
|
|
712
|
+
ZoneId?: number;
|
|
713
|
+
/**
|
|
714
|
+
* Encryptid
|
|
715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
716
|
+
*/
|
|
717
|
+
Encrypt?: number;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* DescribeRestoreTaskDetail返回参数结构体
|
|
721
|
+
*/
|
|
722
|
+
export interface DescribeRestoreTaskDetailResponse {
|
|
723
|
+
/**
|
|
724
|
+
* 恢复任务进度详情
|
|
725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
726
|
+
*/
|
|
727
|
+
RestoreStatus: Array<RestoreStatus>;
|
|
728
|
+
/**
|
|
729
|
+
* 错误信息
|
|
730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
731
|
+
*/
|
|
732
|
+
ErrorMsg: string;
|
|
733
|
+
/**
|
|
734
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
735
|
+
*/
|
|
736
|
+
RequestId?: string;
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* DeleteBackUpData请求参数结构体
|
|
740
|
+
*/
|
|
741
|
+
export interface DeleteBackUpDataRequest {
|
|
742
|
+
/**
|
|
743
|
+
* 集群id
|
|
744
|
+
*/
|
|
745
|
+
InstanceId: string;
|
|
746
|
+
/**
|
|
747
|
+
* 任务id
|
|
748
|
+
*/
|
|
749
|
+
BackUpJobId?: number;
|
|
750
|
+
/**
|
|
751
|
+
* 是否删除所有数据
|
|
752
|
+
*/
|
|
753
|
+
IsDeleteAll?: boolean;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* 返回配置的文件内容(key-value)
|
|
757
|
+
*/
|
|
758
|
+
export interface ConfigKeyValue {
|
|
759
|
+
/**
|
|
760
|
+
* key
|
|
761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
762
|
+
*/
|
|
763
|
+
KeyName?: string;
|
|
764
|
+
/**
|
|
765
|
+
* 值
|
|
766
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
767
|
+
*/
|
|
768
|
+
Value?: string;
|
|
769
|
+
/**
|
|
770
|
+
* 备注
|
|
771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
772
|
+
*/
|
|
773
|
+
Message?: string;
|
|
774
|
+
/**
|
|
775
|
+
* 1-只读,2-可修改但不可删除,3-可删除
|
|
776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
777
|
+
*/
|
|
778
|
+
Display?: number;
|
|
779
|
+
/**
|
|
780
|
+
* 0不支持 1支持热更新
|
|
781
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
782
|
+
*/
|
|
783
|
+
SupportHotUpdate?: number;
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* 标签描述
|
|
787
|
+
*/
|
|
788
|
+
export interface Tag {
|
|
789
|
+
/**
|
|
790
|
+
* 标签的键
|
|
791
|
+
*/
|
|
792
|
+
TagKey: string;
|
|
793
|
+
/**
|
|
794
|
+
* 标签的值
|
|
795
|
+
*/
|
|
796
|
+
TagValue: string;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* ResizeDisk返回参数结构体
|
|
800
|
+
*/
|
|
801
|
+
export interface ResizeDiskResponse {
|
|
802
|
+
/**
|
|
803
|
+
* 实例ID
|
|
804
|
+
*/
|
|
805
|
+
InstanceId?: string;
|
|
806
|
+
/**
|
|
807
|
+
* 流程ID
|
|
808
|
+
*/
|
|
809
|
+
FlowId?: string;
|
|
810
|
+
/**
|
|
811
|
+
* 错误信息
|
|
812
|
+
*/
|
|
813
|
+
ErrorMsg?: string;
|
|
814
|
+
/**
|
|
815
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
816
|
+
*/
|
|
817
|
+
RequestId?: string;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* ModifyInstance返回参数结构体
|
|
821
|
+
*/
|
|
822
|
+
export interface ModifyInstanceResponse {
|
|
823
|
+
/**
|
|
824
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
825
|
+
*/
|
|
826
|
+
RequestId?: string;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* DescribeSlowQueryRecordsDownload请求参数结构体
|
|
830
|
+
*/
|
|
831
|
+
export interface DescribeSlowQueryRecordsDownloadRequest {
|
|
832
|
+
/**
|
|
833
|
+
* 实例ID
|
|
834
|
+
*/
|
|
835
|
+
InstanceId: string;
|
|
836
|
+
/**
|
|
837
|
+
* 慢查询时间
|
|
838
|
+
*/
|
|
839
|
+
QueryDurationMs: number;
|
|
840
|
+
/**
|
|
841
|
+
* 开始时间
|
|
842
|
+
*/
|
|
843
|
+
StartTime: string;
|
|
844
|
+
/**
|
|
845
|
+
* 结束时间
|
|
846
|
+
*/
|
|
847
|
+
EndTime: string;
|
|
848
|
+
/**
|
|
849
|
+
* 排序参数
|
|
850
|
+
*/
|
|
851
|
+
DurationMs?: string;
|
|
852
|
+
/**
|
|
853
|
+
* 查询sql
|
|
854
|
+
*/
|
|
855
|
+
Sql?: string;
|
|
856
|
+
/**
|
|
857
|
+
* 排序参数
|
|
858
|
+
*/
|
|
859
|
+
ReadRows?: string;
|
|
860
|
+
/**
|
|
861
|
+
* 排序参数
|
|
862
|
+
*/
|
|
863
|
+
ResultBytes?: string;
|
|
864
|
+
/**
|
|
865
|
+
* 排序参数
|
|
866
|
+
*/
|
|
867
|
+
MemoryUsage?: string;
|
|
868
|
+
/**
|
|
869
|
+
* IsQuery条件
|
|
870
|
+
*/
|
|
871
|
+
IsQuery?: number;
|
|
872
|
+
/**
|
|
873
|
+
* 数据库名称
|
|
874
|
+
*/
|
|
875
|
+
DbName?: Array<string>;
|
|
876
|
+
/**
|
|
877
|
+
* catalog名称
|
|
878
|
+
*/
|
|
879
|
+
CatalogName?: Array<string>;
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* DescribeAreaRegion返回参数结构体
|
|
883
|
+
*/
|
|
884
|
+
export interface DescribeAreaRegionResponse {
|
|
885
|
+
/**
|
|
886
|
+
* 地域列表
|
|
887
|
+
*/
|
|
888
|
+
Items?: Array<RegionAreaInfo>;
|
|
889
|
+
/**
|
|
890
|
+
* 前端规则描述
|
|
891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
892
|
+
*/
|
|
893
|
+
FrontEndRules?: Array<FrontEndRule>;
|
|
894
|
+
/**
|
|
895
|
+
* 返回可用的白名单名称
|
|
896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
897
|
+
*/
|
|
898
|
+
AvailableWhiteListNames?: Array<string>;
|
|
899
|
+
/**
|
|
900
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
901
|
+
*/
|
|
902
|
+
RequestId?: string;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* DescribeDorisMetricFiles请求参数结构体
|
|
906
|
+
*/
|
|
907
|
+
export interface DescribeDorisMetricFilesRequest {
|
|
908
|
+
/**
|
|
909
|
+
* 接口类型
|
|
910
|
+
*/
|
|
911
|
+
ApiType: string;
|
|
912
|
+
/**
|
|
913
|
+
* 集群id
|
|
914
|
+
*/
|
|
915
|
+
InstanceId: string;
|
|
916
|
+
/**
|
|
917
|
+
* 展示监控指标入参
|
|
918
|
+
*/
|
|
919
|
+
DescribeMetricsFileReq?: DescribeMetricsFileReq;
|
|
920
|
+
/**
|
|
921
|
+
* 点关注功能入参
|
|
922
|
+
*/
|
|
923
|
+
ModifyMetricFileReq?: ModifyMetricFileStruct;
|
|
924
|
+
/**
|
|
925
|
+
* 监控指标关注功能入参
|
|
926
|
+
*/
|
|
927
|
+
ModifyAttentionMetricFileReq?: ModifyMetricFileStructNew;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* ModifyNodeStatus请求参数结构体
|
|
931
|
+
*/
|
|
932
|
+
export interface ModifyNodeStatusRequest {
|
|
933
|
+
/**
|
|
934
|
+
* 集群ID,例如cdwch-xxxx
|
|
935
|
+
*/
|
|
936
|
+
InstanceId: string;
|
|
937
|
+
/**
|
|
938
|
+
* 节点信息
|
|
939
|
+
*/
|
|
940
|
+
NodeInfos: Array<NodeInfos>;
|
|
941
|
+
/**
|
|
942
|
+
* 节点操作
|
|
943
|
+
*/
|
|
944
|
+
OperationCode: string;
|
|
945
|
+
/**
|
|
946
|
+
* 超时时间(秒)
|
|
947
|
+
*/
|
|
948
|
+
RestartTimeOut?: string;
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* RestartClusterForNode返回参数结构体
|
|
952
|
+
*/
|
|
953
|
+
export interface RestartClusterForNodeResponse {
|
|
954
|
+
/**
|
|
955
|
+
* 流程相关信息
|
|
956
|
+
*/
|
|
957
|
+
FlowId?: number;
|
|
958
|
+
/**
|
|
959
|
+
* 错误信息
|
|
960
|
+
*/
|
|
961
|
+
ErrorMsg?: string;
|
|
962
|
+
/**
|
|
963
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
964
|
+
*/
|
|
965
|
+
RequestId?: string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* CancelBackupJob返回参数结构体
|
|
969
|
+
*/
|
|
970
|
+
export interface CancelBackupJobResponse {
|
|
971
|
+
/**
|
|
972
|
+
* 错误信息
|
|
973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
974
|
+
*/
|
|
975
|
+
ErrorMsg?: string;
|
|
976
|
+
/**
|
|
977
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
978
|
+
*/
|
|
979
|
+
RequestId?: string;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* DescribeAreaRegion请求参数结构体
|
|
983
|
+
*/
|
|
984
|
+
export interface DescribeAreaRegionRequest {
|
|
985
|
+
/**
|
|
986
|
+
* 是否是国际站
|
|
987
|
+
*/
|
|
988
|
+
IsInternationalSite?: boolean;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* 慢查询记录
|
|
992
|
+
*/
|
|
993
|
+
export interface SlowQueryRecord {
|
|
994
|
+
/**
|
|
995
|
+
* 查询用户
|
|
996
|
+
*/
|
|
997
|
+
OsUser?: string;
|
|
998
|
+
/**
|
|
999
|
+
* 查询ID
|
|
1000
|
+
*/
|
|
1001
|
+
InitialQueryId?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* SQL语句
|
|
1004
|
+
*/
|
|
1005
|
+
Sql?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* 开始时间
|
|
1008
|
+
*/
|
|
1009
|
+
QueryStartTime?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* 执行耗时
|
|
1012
|
+
*/
|
|
1013
|
+
DurationMs?: number;
|
|
1014
|
+
/**
|
|
1015
|
+
* 读取行数
|
|
1016
|
+
*/
|
|
1017
|
+
ReadRows?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* 读取字节数
|
|
1020
|
+
*/
|
|
1021
|
+
ResultRows?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* 结果字节数
|
|
1024
|
+
*/
|
|
1025
|
+
ResultBytes?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* 内存
|
|
1028
|
+
*/
|
|
1029
|
+
MemoryUsage?: number;
|
|
1030
|
+
/**
|
|
1031
|
+
* 初始查询IP
|
|
1032
|
+
*/
|
|
1033
|
+
InitialAddress?: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* 数据库名
|
|
1036
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1037
|
+
*/
|
|
1038
|
+
DbName?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* 是否是查询,0:否,1:查询语句
|
|
1041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1042
|
+
*/
|
|
1043
|
+
IsQuery?: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* ResultBytes的MB格式
|
|
1046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1047
|
+
*/
|
|
1048
|
+
ResultBytesMB?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* MemoryUsage的MB表示
|
|
1051
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1052
|
+
*/
|
|
1053
|
+
MemoryUsageMB?: number;
|
|
1054
|
+
/**
|
|
1055
|
+
* DurationMs的秒表示
|
|
1056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1057
|
+
*/
|
|
1058
|
+
DurationSec?: number;
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* DescribeInstanceNodes请求参数结构体
|
|
1062
|
+
*/
|
|
1063
|
+
export interface DescribeInstanceNodesRequest {
|
|
1064
|
+
/**
|
|
1065
|
+
* 集群实例ID
|
|
1066
|
+
*/
|
|
1067
|
+
InstanceId: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* 集群角色类型,默认为 "data"数据节点
|
|
1070
|
+
*/
|
|
1071
|
+
NodeRole?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* 分页参数,第一页为0,第二页为10
|
|
1074
|
+
*/
|
|
1075
|
+
Offset?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* 分页参数,分页步长,默认为10
|
|
1078
|
+
*/
|
|
1079
|
+
Limit?: number;
|
|
1080
|
+
/**
|
|
1081
|
+
* 展现策略,All时显示所有
|
|
1082
|
+
*/
|
|
1083
|
+
DisplayPolicy?: string;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* 集群计费相关信息
|
|
1087
|
+
*/
|
|
1088
|
+
export interface ChargeProperties {
|
|
1089
|
+
/**
|
|
1090
|
+
* 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
|
|
1091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1092
|
+
*/
|
|
1093
|
+
ChargeType?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* 是否自动续费,1表示自动续费开启
|
|
1096
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1097
|
+
*/
|
|
1098
|
+
RenewFlag?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* 计费时间长度
|
|
1101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1102
|
+
*/
|
|
1103
|
+
TimeSpan?: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* 计费时间单位,“m”表示月等
|
|
1106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1107
|
+
*/
|
|
1108
|
+
TimeUnit?: string;
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* DescribeWorkloadGroup请求参数结构体
|
|
1112
|
+
*/
|
|
1113
|
+
export interface DescribeWorkloadGroupRequest {
|
|
1114
|
+
/**
|
|
1115
|
+
* 集群id
|
|
1116
|
+
*/
|
|
1117
|
+
InstanceId: string;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* OpenBackUp请求参数结构体
|
|
1121
|
+
*/
|
|
1122
|
+
export interface OpenBackUpRequest {
|
|
1123
|
+
/**
|
|
1124
|
+
* 集群id
|
|
1125
|
+
*/
|
|
1126
|
+
InstanceId: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* 取值:
|
|
1129
|
+
open:打开
|
|
1130
|
+
close:关闭
|
|
1131
|
+
updateBucket:变更桶名
|
|
1132
|
+
*/
|
|
1133
|
+
OperationType: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* 桶名字
|
|
1136
|
+
*/
|
|
1137
|
+
CosBucketName: string;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* 集群操作描述
|
|
1141
|
+
*/
|
|
1142
|
+
export interface InstanceOperation {
|
|
1143
|
+
/**
|
|
1144
|
+
* 操作名称,例如“create_instance"、“scaleout_instance”等
|
|
1145
|
+
*/
|
|
1146
|
+
Name?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* 操作结果,“Success"表示成功,”Fail"表示失败
|
|
1149
|
+
*/
|
|
1150
|
+
Result?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* 操作名称描述,例如“创建”,“修改集群名称”等
|
|
1153
|
+
*/
|
|
1154
|
+
Desc?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* 操作级别,例如“Critical", "Normal"等
|
|
1157
|
+
*/
|
|
1158
|
+
Level?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* 操作级别描述,例如“高危”,“一般”等
|
|
1161
|
+
*/
|
|
1162
|
+
LevelDesc?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* 操作开始时间
|
|
1165
|
+
*/
|
|
1166
|
+
StartTime?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* 操作结束时间
|
|
1169
|
+
*/
|
|
1170
|
+
EndTime?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* 操作结果描述,例如“成功”,“失败”
|
|
1173
|
+
*/
|
|
1174
|
+
ResultDesc?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 操作用户ID
|
|
1177
|
+
*/
|
|
1178
|
+
OperateUin?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* 操作对应的jobid
|
|
1181
|
+
*/
|
|
1182
|
+
JobId?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* 操作明细
|
|
1185
|
+
*/
|
|
1186
|
+
OperationDetail?: string;
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* 备份表信息
|
|
1190
|
+
*/
|
|
1191
|
+
export interface BackupTableContent {
|
|
1192
|
+
/**
|
|
1193
|
+
* 数据库
|
|
1194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1195
|
+
*/
|
|
1196
|
+
Database: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* 表
|
|
1199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
*/
|
|
1201
|
+
Table: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* 表总字节数
|
|
1204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1205
|
+
*/
|
|
1206
|
+
TotalBytes: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* 表单个副本的大小
|
|
1209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
|
+
*/
|
|
1211
|
+
SingleReplicaBytes?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* 备份状态
|
|
1214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1215
|
+
*/
|
|
1216
|
+
BackupStatus?: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* 备份的错误信息
|
|
1219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1220
|
+
*/
|
|
1221
|
+
BackupErrorMsg?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* 改库表是否绑定降冷策略
|
|
1224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1225
|
+
*/
|
|
1226
|
+
IsOpenCoolDown?: boolean;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* DescribeInstanceNodes返回参数结构体
|
|
1230
|
+
*/
|
|
1231
|
+
export interface DescribeInstanceNodesResponse {
|
|
1232
|
+
/**
|
|
1233
|
+
* 总数
|
|
1234
|
+
*/
|
|
1235
|
+
TotalCount?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* 实例节点总数
|
|
1238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1239
|
+
*/
|
|
1240
|
+
InstanceNodesList?: Array<InstanceNode>;
|
|
1241
|
+
/**
|
|
1242
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1243
|
+
*/
|
|
1244
|
+
RequestId?: string;
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* DescribeSqlApis请求参数结构体
|
|
1248
|
+
*/
|
|
1249
|
+
export interface DescribeSqlApisRequest {
|
|
1250
|
+
/**
|
|
1251
|
+
* 用户链接来自的 IP
|
|
1252
|
+
*/
|
|
1253
|
+
WhiteHost?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* catalog名称
|
|
1256
|
+
*/
|
|
1257
|
+
Catalog?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* catalog集合
|
|
1260
|
+
*/
|
|
1261
|
+
Catalogs?: Array<string>;
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* ModifySecurityGroups请求参数结构体
|
|
1265
|
+
*/
|
|
1266
|
+
export interface ModifySecurityGroupsRequest {
|
|
1267
|
+
/**
|
|
1268
|
+
* 集群id
|
|
1269
|
+
*/
|
|
1270
|
+
InstanceId: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* 修改前的安全组信息
|
|
1273
|
+
*/
|
|
1274
|
+
OldSecurityGroupIds?: Array<string>;
|
|
1275
|
+
/**
|
|
1276
|
+
* 修改后的安全组信息
|
|
1277
|
+
*/
|
|
1278
|
+
ModifySecurityGroupIds?: Array<string>;
|
|
1279
|
+
}
|
|
1280
|
+
/**
|
|
1281
|
+
* CreateInstanceNew请求参数结构体
|
|
1282
|
+
*/
|
|
1283
|
+
export interface CreateInstanceNewRequest {
|
|
1284
|
+
/**
|
|
1285
|
+
* 可用区
|
|
1286
|
+
*/
|
|
1287
|
+
Zone: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* FE规格
|
|
1290
|
+
*/
|
|
1291
|
+
FeSpec: CreateInstanceSpec;
|
|
1292
|
+
/**
|
|
1293
|
+
* BE规格
|
|
1294
|
+
*/
|
|
1295
|
+
BeSpec: CreateInstanceSpec;
|
|
1296
|
+
/**
|
|
1297
|
+
* 是否高可用
|
|
1298
|
+
*/
|
|
1299
|
+
HaFlag: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* 用户VPCID
|
|
1302
|
+
*/
|
|
1303
|
+
UserVPCId: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* 用户子网ID
|
|
1306
|
+
*/
|
|
1307
|
+
UserSubnetId: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* 产品版本号
|
|
1310
|
+
*/
|
|
1311
|
+
ProductVersion: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* 付费类型
|
|
1314
|
+
*/
|
|
1315
|
+
ChargeProperties: ChargeProperties;
|
|
1316
|
+
/**
|
|
1317
|
+
* 实例名字
|
|
1318
|
+
*/
|
|
1319
|
+
InstanceName: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* 数据库密码
|
|
1322
|
+
*/
|
|
1323
|
+
DorisUserPwd: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* 标签列表
|
|
1326
|
+
*/
|
|
1327
|
+
Tags?: Array<Tag>;
|
|
1328
|
+
/**
|
|
1329
|
+
* 高可用类型:
|
|
1330
|
+
0:非高可用(只有1个FE,FeSpec.CreateInstanceSpec.Count=1),
|
|
1331
|
+
1:读高可用(至少需部署3个FE,FeSpec.CreateInstanceSpec.Count>=3,且为奇数),
|
|
1332
|
+
2:读写高可用(至少需部署5个FE,FeSpec.CreateInstanceSpec.Count>=5,且为奇数)。
|
|
1333
|
+
*/
|
|
1334
|
+
HaType?: number;
|
|
1335
|
+
/**
|
|
1336
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
|
|
1337
|
+
*/
|
|
1338
|
+
CaseSensitive?: number;
|
|
1339
|
+
/**
|
|
1340
|
+
* 是否开启多可用区
|
|
1341
|
+
*/
|
|
1342
|
+
EnableMultiZones?: boolean;
|
|
1343
|
+
/**
|
|
1344
|
+
* 开启多可用区后,用户的所有可用区和子网信息
|
|
1345
|
+
*/
|
|
1346
|
+
UserMultiZoneInfos?: NetworkInfo;
|
|
1347
|
+
}
|
|
1348
|
+
/**
|
|
1349
|
+
* DescribeDmsSqlHistory返回参数结构体
|
|
1350
|
+
*/
|
|
1351
|
+
export interface DescribeDmsSqlHistoryResponse {
|
|
1352
|
+
/**
|
|
1353
|
+
* 集群所有的查询节点
|
|
1354
|
+
*/
|
|
1355
|
+
QueryNodeList?: Array<string>;
|
|
1356
|
+
/**
|
|
1357
|
+
* 集群所有的查询状态
|
|
1358
|
+
*/
|
|
1359
|
+
QueryStatusList?: Array<string>;
|
|
1360
|
+
/**
|
|
1361
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1362
|
+
*/
|
|
1363
|
+
RequestId?: string;
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* 外部doris集群的连接信息
|
|
1367
|
+
*/
|
|
1368
|
+
export interface DorisSourceInfo {
|
|
1369
|
+
/**
|
|
1370
|
+
* doris集群的fe的ip
|
|
1371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1372
|
+
*/
|
|
1373
|
+
Host?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* doris集群的fe的端口号
|
|
1376
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1377
|
+
*/
|
|
1378
|
+
Port?: number;
|
|
1379
|
+
/**
|
|
1380
|
+
* doris集群的账号
|
|
1381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1382
|
+
*/
|
|
1383
|
+
User?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* doris集群的密码
|
|
1386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1387
|
+
*/
|
|
1388
|
+
Password?: string;
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* 集群内节点的规格磁盘规格描述
|
|
1392
|
+
*/
|
|
1393
|
+
export interface AttachCBSSpec {
|
|
1394
|
+
/**
|
|
1395
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
1396
|
+
*/
|
|
1397
|
+
DiskType?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* 磁盘容量,单位G
|
|
1400
|
+
*/
|
|
1401
|
+
DiskSize?: number;
|
|
1402
|
+
/**
|
|
1403
|
+
* 磁盘总数
|
|
1404
|
+
*/
|
|
1405
|
+
DiskCount?: number;
|
|
1406
|
+
/**
|
|
1407
|
+
* 描述
|
|
1408
|
+
*/
|
|
1409
|
+
DiskDesc?: string;
|
|
1410
|
+
}
|
|
1411
|
+
/**
|
|
1412
|
+
* 数据库审计
|
|
1413
|
+
*/
|
|
1414
|
+
export interface DataBaseAuditRecord {
|
|
1415
|
+
/**
|
|
1416
|
+
* 查询用户
|
|
1417
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1418
|
+
*/
|
|
1419
|
+
OsUser?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* 查询ID
|
|
1422
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1423
|
+
*/
|
|
1424
|
+
InitialQueryId?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* SQL语句
|
|
1427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1428
|
+
*/
|
|
1429
|
+
Sql?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* 开始时间
|
|
1432
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1433
|
+
*/
|
|
1434
|
+
QueryStartTime?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* 执行耗时
|
|
1437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1438
|
+
*/
|
|
1439
|
+
DurationMs?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* 读取行数
|
|
1442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1443
|
+
*/
|
|
1444
|
+
ReadRows?: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* 读取字节数
|
|
1447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1448
|
+
*/
|
|
1449
|
+
ResultRows?: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* 结果字节数
|
|
1452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1453
|
+
*/
|
|
1454
|
+
ResultBytes?: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* 内存
|
|
1457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1458
|
+
*/
|
|
1459
|
+
MemoryUsage?: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* 初始查询IP
|
|
1462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1463
|
+
*/
|
|
1464
|
+
InitialAddress?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* 数据库
|
|
1467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1468
|
+
*/
|
|
1469
|
+
DbName?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* sql类型
|
|
1472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1473
|
+
*/
|
|
1474
|
+
SqlType?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* catalog名称
|
|
1477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1478
|
+
*/
|
|
1479
|
+
Catalog?: string;
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* DescribeSlowQueryRecords返回参数结构体
|
|
1483
|
+
*/
|
|
1484
|
+
export interface DescribeSlowQueryRecordsResponse {
|
|
1485
|
+
/**
|
|
1486
|
+
* 总数
|
|
1487
|
+
*/
|
|
1488
|
+
TotalCount?: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* 记录列表
|
|
1491
|
+
*/
|
|
1492
|
+
SlowQueryRecords?: Array<SlowQueryRecord>;
|
|
1493
|
+
/**
|
|
1494
|
+
* 所有数据库名
|
|
1495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1496
|
+
*/
|
|
1497
|
+
DBNameList?: Array<string>;
|
|
1498
|
+
/**
|
|
1499
|
+
* 所有catalog名
|
|
1500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1501
|
+
*/
|
|
1502
|
+
CatalogNameList?: Array<string>;
|
|
1503
|
+
/**
|
|
1504
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1505
|
+
*/
|
|
1506
|
+
RequestId?: string;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* 集群的配置文件的修改历史
|
|
1510
|
+
*/
|
|
1511
|
+
export interface ClusterConfigsHistory {
|
|
1512
|
+
/**
|
|
1513
|
+
* 配置文件名称
|
|
1514
|
+
*/
|
|
1515
|
+
FileName: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* 修改后的配置文件内容,base64编码
|
|
1518
|
+
*/
|
|
1519
|
+
NewConfValue: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* 修改前的配置文件内容,base64编码
|
|
1522
|
+
*/
|
|
1523
|
+
OldConfValue: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* 修改原因
|
|
1526
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1527
|
+
*/
|
|
1528
|
+
Remark: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* 修改时间
|
|
1531
|
+
*/
|
|
1532
|
+
ModifyTime: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* 修改子账号id
|
|
1535
|
+
*/
|
|
1536
|
+
UserUin: string;
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* KV配置
|
|
1540
|
+
*/
|
|
1541
|
+
export interface InstanceConfigItem {
|
|
1542
|
+
/**
|
|
1543
|
+
* key
|
|
1544
|
+
*/
|
|
1545
|
+
ConfKey: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* value
|
|
1548
|
+
*/
|
|
1549
|
+
ConfValue: string;
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
* DescribeRegionZone返回参数结构体
|
|
1553
|
+
*/
|
|
1554
|
+
export interface DescribeRegionZoneResponse {
|
|
1555
|
+
/**
|
|
1556
|
+
* 地域列表
|
|
1557
|
+
*/
|
|
1558
|
+
Items?: Array<RegionAreaInfo>;
|
|
1559
|
+
/**
|
|
1560
|
+
* 内核版本列表
|
|
1561
|
+
*/
|
|
1562
|
+
Versions?: Array<string>;
|
|
1563
|
+
/**
|
|
1564
|
+
* 网络规则
|
|
1565
|
+
*/
|
|
1566
|
+
VpcRule?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1569
|
+
*/
|
|
1570
|
+
RequestId?: string;
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* CreateBackUpSchedule请求参数结构体
|
|
1574
|
+
*/
|
|
1575
|
+
export interface CreateBackUpScheduleRequest {
|
|
1576
|
+
/**
|
|
1577
|
+
* 编辑时需要传
|
|
1578
|
+
*/
|
|
1579
|
+
ScheduleId?: number;
|
|
1580
|
+
/**
|
|
1581
|
+
* 选择的星期 逗号分隔
|
|
1582
|
+
废弃:使用ScheduleInfo
|
|
1583
|
+
*/
|
|
1584
|
+
WeekDays?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* 执行小时
|
|
1587
|
+
废弃:使用ScheduleInfo
|
|
1588
|
+
*/
|
|
1589
|
+
ExecuteHour?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* 备份表列表
|
|
1592
|
+
*/
|
|
1593
|
+
BackUpTables?: Array<BackupTableContent>;
|
|
1594
|
+
/**
|
|
1595
|
+
* 0为默认。1时是对远端的doris进行备份,不周期,一次性
|
|
1596
|
+
*/
|
|
1597
|
+
BackupType?: number;
|
|
1598
|
+
/**
|
|
1599
|
+
* 远端doris集群的连接信息
|
|
1600
|
+
*/
|
|
1601
|
+
DorisSourceInfo?: DorisSourceInfo;
|
|
1602
|
+
/**
|
|
1603
|
+
* 0为默认。1时是一次性备份。2时是远端备份
|
|
1604
|
+
*/
|
|
1605
|
+
BackupTimeType?: number;
|
|
1606
|
+
/**
|
|
1607
|
+
* 0为默认。1时是备份完成后立即恢复
|
|
1608
|
+
*/
|
|
1609
|
+
RestoreType?: number;
|
|
1610
|
+
/**
|
|
1611
|
+
* 0为默认。1时是提供自定义的secret连接cos
|
|
1612
|
+
*/
|
|
1613
|
+
AuthType?: number;
|
|
1614
|
+
/**
|
|
1615
|
+
* cos认证的信息
|
|
1616
|
+
*/
|
|
1617
|
+
CosSourceInfo?: CosSourceInfo;
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* 备份实例中关于cos的信息
|
|
1621
|
+
*/
|
|
1622
|
+
export interface BackupCosInfo {
|
|
1623
|
+
/**
|
|
1624
|
+
* 备份文件所在的cos桶
|
|
1625
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1626
|
+
*/
|
|
1627
|
+
CosBucket?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 备份文件所在的完整cos路径
|
|
1630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1631
|
+
*/
|
|
1632
|
+
CosPath?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* 备份文件名称
|
|
1635
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1636
|
+
*/
|
|
1637
|
+
SnapShotPath?: string;
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* DescribeClusterConfigsHistory请求参数结构体
|
|
1641
|
+
*/
|
|
1642
|
+
export interface DescribeClusterConfigsHistoryRequest {
|
|
1643
|
+
/**
|
|
1644
|
+
* 集群id名称
|
|
1645
|
+
*/
|
|
1646
|
+
InstanceId: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* 分页参数,第一页为0,第二页为10
|
|
1649
|
+
*/
|
|
1650
|
+
Offset: number;
|
|
1651
|
+
/**
|
|
1652
|
+
* 分页参数,分页步长,默认为10
|
|
1653
|
+
*/
|
|
1654
|
+
Limit: number;
|
|
1655
|
+
/**
|
|
1656
|
+
* 配置修改历史的时间范围开始
|
|
1657
|
+
*/
|
|
1658
|
+
StartTime: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* 配置修改历史的时间范围结束
|
|
1661
|
+
*/
|
|
1662
|
+
EndTime: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* 需要查询的配置文件名称数组,如果为空则查询全部历史记录。目前支持的配置文件名称有:
|
|
1665
|
+
apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、odbcinst.ini
|
|
1666
|
+
*/
|
|
1667
|
+
ConfigFileNames?: Array<string>;
|
|
1668
|
+
}
|
|
1669
|
+
/**
|
|
1670
|
+
* DescribeInstanceState返回参数结构体
|
|
1671
|
+
*/
|
|
1672
|
+
export interface DescribeInstanceStateResponse {
|
|
1673
|
+
/**
|
|
1674
|
+
* 集群状态,例如:Serving
|
|
1675
|
+
*/
|
|
1676
|
+
InstanceState?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* 集群操作创建时间
|
|
1679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1680
|
+
*/
|
|
1681
|
+
FlowCreateTime?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* 集群操作名称
|
|
1684
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1685
|
+
*/
|
|
1686
|
+
FlowName?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* 集群操作进度
|
|
1689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1690
|
+
*/
|
|
1691
|
+
FlowProgress?: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* 集群状态描述,例如:运行中
|
|
1694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1695
|
+
*/
|
|
1696
|
+
InstanceStateDesc?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* 集群流程错误信息,例如:“创建失败,资源不足”
|
|
1699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1700
|
+
*/
|
|
1701
|
+
FlowMsg?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1704
|
+
*/
|
|
1705
|
+
RequestId?: string;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* DescribeInstanceNodesInfo请求参数结构体
|
|
1709
|
+
*/
|
|
1710
|
+
export interface DescribeInstanceNodesInfoRequest {
|
|
1711
|
+
/**
|
|
1712
|
+
* 集群id
|
|
1713
|
+
*/
|
|
1714
|
+
InstanceID: string;
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* DescribeInstancesHealthState返回参数结构体
|
|
1718
|
+
*/
|
|
1719
|
+
export interface DescribeInstancesHealthStateResponse {
|
|
1720
|
+
/**
|
|
1721
|
+
* 出参
|
|
1722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1723
|
+
*/
|
|
1724
|
+
Data?: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1727
|
+
*/
|
|
1728
|
+
RequestId?: string;
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* DescribeSlowQueryRecords请求参数结构体
|
|
1732
|
+
*/
|
|
1733
|
+
export interface DescribeSlowQueryRecordsRequest {
|
|
1734
|
+
/**
|
|
1735
|
+
* 实例ID
|
|
1736
|
+
*/
|
|
1737
|
+
InstanceId: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* 慢查询时间
|
|
1740
|
+
*/
|
|
1741
|
+
QueryDurationMs: number;
|
|
1742
|
+
/**
|
|
1743
|
+
* 开始时间
|
|
1744
|
+
*/
|
|
1745
|
+
StartTime: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* 结束时间
|
|
1748
|
+
*/
|
|
1749
|
+
EndTime: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* 分页
|
|
1752
|
+
*/
|
|
1753
|
+
PageSize: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* 分页
|
|
1756
|
+
*/
|
|
1757
|
+
PageNum: number;
|
|
1758
|
+
/**
|
|
1759
|
+
* 排序参数
|
|
1760
|
+
*/
|
|
1761
|
+
DurationMs?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* 数据库名称
|
|
1764
|
+
*/
|
|
1765
|
+
DbName?: Array<string>;
|
|
1766
|
+
/**
|
|
1767
|
+
* 是否是查询,0:否, 1:是
|
|
1768
|
+
*/
|
|
1769
|
+
IsQuery?: number;
|
|
1770
|
+
/**
|
|
1771
|
+
* catalog名称
|
|
1772
|
+
*/
|
|
1773
|
+
CatalogName?: Array<string>;
|
|
1774
|
+
/**
|
|
1775
|
+
* sql名
|
|
1776
|
+
*/
|
|
1777
|
+
Sql?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* ReadRows排序字段
|
|
1780
|
+
*/
|
|
1781
|
+
ReadRows?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* ResultBytes排序字段
|
|
1784
|
+
*/
|
|
1785
|
+
ResultBytes?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* MemoryUsage排序字段
|
|
1788
|
+
*/
|
|
1789
|
+
MemoryUsage?: string;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* DescribeInstanceNodesRole返回参数结构体
|
|
1793
|
+
*/
|
|
1794
|
+
export interface DescribeInstanceNodesRoleResponse {
|
|
1795
|
+
/**
|
|
1796
|
+
* 错误码
|
|
1797
|
+
*/
|
|
1798
|
+
ErrorMsg?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* 节点总数
|
|
1801
|
+
*/
|
|
1802
|
+
TotalCount?: number;
|
|
1803
|
+
/**
|
|
1804
|
+
* 无
|
|
1805
|
+
*/
|
|
1806
|
+
NodeInfos?: Array<NodeInfos>;
|
|
1807
|
+
/**
|
|
1808
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1809
|
+
*/
|
|
1810
|
+
RequestId?: string;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* DestroyInstance返回参数结构体
|
|
1814
|
+
*/
|
|
1815
|
+
export interface DestroyInstanceResponse {
|
|
1816
|
+
/**
|
|
1817
|
+
* 流程ID
|
|
1818
|
+
*/
|
|
1819
|
+
FlowId?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* 集群ID
|
|
1822
|
+
*/
|
|
1823
|
+
InstanceId?: string;
|
|
1824
|
+
/**
|
|
1825
|
+
* 错误信息
|
|
1826
|
+
*/
|
|
1827
|
+
ErrorMsg?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1830
|
+
*/
|
|
1831
|
+
RequestId?: string;
|
|
1832
|
+
}
|
|
1833
|
+
/**
|
|
1834
|
+
* DescribeBackUpJob请求参数结构体
|
|
1835
|
+
*/
|
|
1836
|
+
export interface DescribeBackUpJobRequest {
|
|
1837
|
+
/**
|
|
1838
|
+
* 集群id
|
|
1839
|
+
*/
|
|
1840
|
+
InstanceId: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* 分页大小
|
|
1843
|
+
*/
|
|
1844
|
+
PageSize?: number;
|
|
1845
|
+
/**
|
|
1846
|
+
* 页号
|
|
1847
|
+
*/
|
|
1848
|
+
PageNum?: number;
|
|
1849
|
+
/**
|
|
1850
|
+
* 开始时间
|
|
1851
|
+
*/
|
|
1852
|
+
BeginTime?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* 结束时间
|
|
1855
|
+
*/
|
|
1856
|
+
EndTime?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* jobid的string类型
|
|
1859
|
+
*/
|
|
1860
|
+
JobIdFiltersStr?: string;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* ResizeDisk请求参数结构体
|
|
1864
|
+
*/
|
|
1865
|
+
export interface ResizeDiskRequest {
|
|
1866
|
+
/**
|
|
1867
|
+
* 集群ID
|
|
1868
|
+
*/
|
|
1869
|
+
InstanceId: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
1872
|
+
*/
|
|
1873
|
+
Type: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* 云盘大小
|
|
1876
|
+
*/
|
|
1877
|
+
DiskSize: number;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
* ModifyWorkloadGroupStatus请求参数结构体
|
|
1881
|
+
*/
|
|
1882
|
+
export interface ModifyWorkloadGroupStatusRequest {
|
|
1883
|
+
/**
|
|
1884
|
+
* 集群id
|
|
1885
|
+
*/
|
|
1886
|
+
InstanceId: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* 是否开启资源组:open-开启、close-关闭
|
|
1889
|
+
*/
|
|
1890
|
+
OperationType?: string;
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* DescribeRegionZone请求参数结构体
|
|
1894
|
+
*/
|
|
1895
|
+
export interface DescribeRegionZoneRequest {
|
|
1896
|
+
/**
|
|
1897
|
+
* 服务
|
|
1898
|
+
*/
|
|
1899
|
+
Service?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* 是否是国际站
|
|
1902
|
+
*/
|
|
1903
|
+
IsInternationalSite?: boolean;
|
|
1904
|
+
}
|
|
1905
|
+
/**
|
|
1906
|
+
* DescribeDatabaseAuditResource返回参数结构体
|
|
1907
|
+
*/
|
|
1908
|
+
export interface DescribeDatabaseAuditResourceResponse {
|
|
1909
|
+
/**
|
|
1910
|
+
* 数据库列表
|
|
1911
|
+
*/
|
|
1912
|
+
Databases?: Array<string>;
|
|
1913
|
+
/**
|
|
1914
|
+
* 用户列表
|
|
1915
|
+
*/
|
|
1916
|
+
Users?: Array<string>;
|
|
1917
|
+
/**
|
|
1918
|
+
* sql类型列表
|
|
1919
|
+
*/
|
|
1920
|
+
SqlTypes?: Array<string>;
|
|
1921
|
+
/**
|
|
1922
|
+
* catalog字段
|
|
1923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1924
|
+
*/
|
|
1925
|
+
Catalogs?: Array<string>;
|
|
1926
|
+
/**
|
|
1927
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1928
|
+
*/
|
|
1929
|
+
RequestId?: string;
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* ModifyUserBindWorkloadGroup请求参数结构体
|
|
1933
|
+
*/
|
|
1934
|
+
export interface ModifyUserBindWorkloadGroupRequest {
|
|
1935
|
+
/**
|
|
1936
|
+
* 集群id
|
|
1937
|
+
*/
|
|
1938
|
+
InstanceId: string;
|
|
1939
|
+
/**
|
|
1940
|
+
* 需要绑定资源组的用户信息,如果一个账户拥有多个主机信息,需要将这些信息都传入
|
|
1941
|
+
*/
|
|
1942
|
+
BindUsers?: Array<BindUser>;
|
|
1943
|
+
/**
|
|
1944
|
+
* 修改前绑定的资源组名称
|
|
1945
|
+
*/
|
|
1946
|
+
OldWorkloadGroupName?: string;
|
|
1947
|
+
/**
|
|
1948
|
+
* 修改后绑定的资源组名称
|
|
1949
|
+
*/
|
|
1950
|
+
NewWorkloadGroupName?: string;
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
* DescribeSqlApis返回参数结构体
|
|
1954
|
+
*/
|
|
1955
|
+
export interface DescribeSqlApisResponse {
|
|
1956
|
+
/**
|
|
1957
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1958
|
+
*/
|
|
1959
|
+
RequestId?: string;
|
|
1960
|
+
}
|
|
1961
|
+
/**
|
|
1962
|
+
* ModifyInstance请求参数结构体
|
|
1963
|
+
*/
|
|
1964
|
+
export interface ModifyInstanceRequest {
|
|
1965
|
+
/**
|
|
1966
|
+
* 实例Id
|
|
1967
|
+
*/
|
|
1968
|
+
InstanceId: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* 新修改的实例名称
|
|
1971
|
+
*/
|
|
1972
|
+
InstanceName: string;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* DescribeSpec返回参数结构体
|
|
1976
|
+
*/
|
|
1977
|
+
export interface DescribeSpecResponse {
|
|
1978
|
+
/**
|
|
1979
|
+
* zookeeper节点规格描述
|
|
1980
|
+
*/
|
|
1981
|
+
MasterSpec?: Array<ResourceSpec>;
|
|
1982
|
+
/**
|
|
1983
|
+
* 数据节点规格描述
|
|
1984
|
+
*/
|
|
1985
|
+
CoreSpec?: Array<ResourceSpec>;
|
|
1986
|
+
/**
|
|
1987
|
+
* 云盘列表
|
|
1988
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1989
|
+
*/
|
|
1990
|
+
AttachCBSSpec?: Array<DiskSpec>;
|
|
1991
|
+
/**
|
|
1992
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1993
|
+
*/
|
|
1994
|
+
RequestId?: string;
|
|
1995
|
+
}
|
|
1996
|
+
/**
|
|
1997
|
+
* ModifyInstanceKeyValConfigs返回参数结构体
|
|
1998
|
+
*/
|
|
1999
|
+
export interface ModifyInstanceKeyValConfigsResponse {
|
|
2000
|
+
/**
|
|
2001
|
+
* 错误信息
|
|
2002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2003
|
+
*/
|
|
2004
|
+
ErrorMsg?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* ID
|
|
2007
|
+
*/
|
|
2008
|
+
FlowId?: number;
|
|
2009
|
+
/**
|
|
2010
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2011
|
+
*/
|
|
2012
|
+
RequestId?: string;
|
|
2013
|
+
}
|
|
2014
|
+
/**
|
|
2015
|
+
* DescribeBackUpSchedules返回参数结构体
|
|
2016
|
+
*/
|
|
2017
|
+
export interface DescribeBackUpSchedulesResponse {
|
|
2018
|
+
/**
|
|
2019
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2020
|
+
*/
|
|
2021
|
+
RequestId?: string;
|
|
2022
|
+
}
|
|
2023
|
+
/**
|
|
2024
|
+
* DescribeBackUpTables返回参数结构体
|
|
2025
|
+
*/
|
|
2026
|
+
export interface DescribeBackUpTablesResponse {
|
|
2027
|
+
/**
|
|
2028
|
+
* 可备份表列表
|
|
2029
|
+
*/
|
|
2030
|
+
AvailableTables?: Array<BackupTableContent>;
|
|
2031
|
+
/**
|
|
2032
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2033
|
+
*/
|
|
2034
|
+
RequestId?: string;
|
|
2035
|
+
}
|
|
2036
|
+
/**
|
|
2037
|
+
* DescribeDatabaseAuditRecords返回参数结构体
|
|
2038
|
+
*/
|
|
2039
|
+
export interface DescribeDatabaseAuditRecordsResponse {
|
|
2040
|
+
/**
|
|
2041
|
+
* 总数
|
|
2042
|
+
*/
|
|
2043
|
+
TotalCount?: number;
|
|
2044
|
+
/**
|
|
2045
|
+
* 记录列表
|
|
2046
|
+
*/
|
|
2047
|
+
SlowQueryRecords?: DataBaseAuditRecord;
|
|
2048
|
+
/**
|
|
2049
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2050
|
+
*/
|
|
2051
|
+
RequestId?: string;
|
|
2052
|
+
}
|
|
2053
|
+
/**
|
|
2054
|
+
* 实例节点描述信息
|
|
2055
|
+
*/
|
|
2056
|
+
export interface InstanceNode {
|
|
2057
|
+
/**
|
|
2058
|
+
* IP地址
|
|
2059
|
+
*/
|
|
2060
|
+
Ip?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* 机型,如 S1
|
|
2063
|
+
*/
|
|
2064
|
+
Spec?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* cpu核数
|
|
2067
|
+
*/
|
|
2068
|
+
Core?: number;
|
|
2069
|
+
/**
|
|
2070
|
+
* 内存大小
|
|
2071
|
+
*/
|
|
2072
|
+
Memory?: number;
|
|
2073
|
+
/**
|
|
2074
|
+
* 磁盘类型
|
|
2075
|
+
*/
|
|
2076
|
+
DiskType?: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* 磁盘大小
|
|
2079
|
+
*/
|
|
2080
|
+
DiskSize?: number;
|
|
2081
|
+
/**
|
|
2082
|
+
* 所属clickhouse cluster名称
|
|
2083
|
+
*/
|
|
2084
|
+
Role?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* 状态
|
|
2087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2088
|
+
*/
|
|
2089
|
+
Status?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* rip
|
|
2092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2093
|
+
*/
|
|
2094
|
+
Rip?: string;
|
|
2095
|
+
/**
|
|
2096
|
+
* FE节点角色
|
|
2097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2098
|
+
*/
|
|
2099
|
+
FeRole?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* UUID
|
|
2102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2103
|
+
*/
|
|
2104
|
+
UUID?: string;
|
|
2105
|
+
}
|
|
2106
|
+
/**
|
|
2107
|
+
* DescribeInstancesHealthState请求参数结构体
|
|
2108
|
+
*/
|
|
2109
|
+
export interface DescribeInstancesHealthStateRequest {
|
|
2110
|
+
/**
|
|
2111
|
+
* 集群Id
|
|
2112
|
+
* @deprecated
|
|
2113
|
+
*/
|
|
2114
|
+
InstanceID?: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* "" 或者 某个集群Id
|
|
2117
|
+
*/
|
|
2118
|
+
Input?: string;
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* NodeInfo
|
|
2122
|
+
*/
|
|
2123
|
+
export interface NodeInfo {
|
|
2124
|
+
/**
|
|
2125
|
+
* 用户IP
|
|
2126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2127
|
+
*/
|
|
2128
|
+
Ip?: string;
|
|
2129
|
+
/**
|
|
2130
|
+
* 节点状态
|
|
2131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2132
|
+
*/
|
|
2133
|
+
Status?: number;
|
|
2134
|
+
/**
|
|
2135
|
+
* 节点角色名
|
|
2136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2137
|
+
*/
|
|
2138
|
+
NodeName?: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* 组件名
|
|
2141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2142
|
+
*/
|
|
2143
|
+
ComponentName?: string;
|
|
2144
|
+
/**
|
|
2145
|
+
* 节点角色
|
|
2146
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2147
|
+
*/
|
|
2148
|
+
NodeRole?: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* 节点上次重启的时间
|
|
2151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2152
|
+
*/
|
|
2153
|
+
LastRestartTime?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* 节点所在可用区
|
|
2156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2157
|
+
*/
|
|
2158
|
+
Zone?: string;
|
|
2159
|
+
}
|
|
2160
|
+
/**
|
|
2161
|
+
* 前端规则描述
|
|
2162
|
+
*/
|
|
2163
|
+
export interface FrontEndRule {
|
|
2164
|
+
/**
|
|
2165
|
+
* id序列
|
|
2166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2167
|
+
*/
|
|
2168
|
+
ID: number;
|
|
2169
|
+
/**
|
|
2170
|
+
* 规则名称
|
|
2171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2172
|
+
*/
|
|
2173
|
+
Name: string;
|
|
2174
|
+
/**
|
|
2175
|
+
* 详细规则
|
|
2176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2177
|
+
*/
|
|
2178
|
+
Rule: string;
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* RestartClusterForConfigs返回参数结构体
|
|
2182
|
+
*/
|
|
2183
|
+
export interface RestartClusterForConfigsResponse {
|
|
2184
|
+
/**
|
|
2185
|
+
* 流程相关信息
|
|
2186
|
+
*/
|
|
2187
|
+
FlowId?: number;
|
|
2188
|
+
/**
|
|
2189
|
+
* 错误信息
|
|
2190
|
+
*/
|
|
2191
|
+
ErrorMsg?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2194
|
+
*/
|
|
2195
|
+
RequestId?: string;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* ModifySecurityGroups返回参数结构体
|
|
2199
|
+
*/
|
|
2200
|
+
export interface ModifySecurityGroupsResponse {
|
|
2201
|
+
/**
|
|
2202
|
+
* 错误信息
|
|
2203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2204
|
+
*/
|
|
2205
|
+
ErrorMsg?: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2208
|
+
*/
|
|
2209
|
+
RequestId?: string;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* 实例描述信息
|
|
2213
|
+
*/
|
|
2214
|
+
export interface InstanceInfo {
|
|
2215
|
+
/**
|
|
2216
|
+
* 集群实例ID, "cdw-xxxx" 字符串类型
|
|
2217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2218
|
+
*/
|
|
2219
|
+
InstanceId?: string;
|
|
2220
|
+
/**
|
|
2221
|
+
* 集群实例名称
|
|
2222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2223
|
+
*/
|
|
2224
|
+
InstanceName?: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* 状态,
|
|
2227
|
+
Init 创建中; Serving 运行中;
|
|
2228
|
+
Deleted已销毁;Deleting 销毁中;
|
|
2229
|
+
Modify 集群变更中;
|
|
2230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2231
|
+
*/
|
|
2232
|
+
Status?: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* 版本
|
|
2235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2236
|
+
*/
|
|
2237
|
+
Version?: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* 地域, ap-guangzhou
|
|
2240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2241
|
+
*/
|
|
2242
|
+
Region?: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* 可用区, ap-guangzhou-3
|
|
2245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2246
|
+
*/
|
|
2247
|
+
Zone?: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* 私有网络名称
|
|
2250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2251
|
+
*/
|
|
2252
|
+
VpcId?: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* 子网名称
|
|
2255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2256
|
+
*/
|
|
2257
|
+
SubnetId?: string;
|
|
2258
|
+
/**
|
|
2259
|
+
* 付费类型,"hour", "prepay"
|
|
2260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2261
|
+
*/
|
|
2262
|
+
PayMode?: string;
|
|
2263
|
+
/**
|
|
2264
|
+
* 创建时间
|
|
2265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2266
|
+
*/
|
|
2267
|
+
CreateTime?: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* 过期时间
|
|
2270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2271
|
+
*/
|
|
2272
|
+
ExpireTime?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* 数据节点描述信息
|
|
2275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2276
|
+
*/
|
|
2277
|
+
MasterSummary?: NodesSummary;
|
|
2278
|
+
/**
|
|
2279
|
+
* zookeeper节点描述信息
|
|
2280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2281
|
+
*/
|
|
2282
|
+
CoreSummary?: NodesSummary;
|
|
2283
|
+
/**
|
|
2284
|
+
* 高可用,“true" "false"
|
|
2285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2286
|
+
*/
|
|
2287
|
+
HA?: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* 高可用类型:
|
|
2290
|
+
0:非高可用
|
|
2291
|
+
1:读高可用
|
|
2292
|
+
2:读写高可用。
|
|
2293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2294
|
+
*/
|
|
2295
|
+
HaType?: number;
|
|
2296
|
+
/**
|
|
2297
|
+
* 访问地址,例如 "10.0.0.1:9000"
|
|
2298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2299
|
+
*/
|
|
2300
|
+
AccessInfo?: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* 记录ID,数值型
|
|
2303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2304
|
+
*/
|
|
2305
|
+
Id?: number;
|
|
2306
|
+
/**
|
|
2307
|
+
* regionId, 表示地域
|
|
2308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2309
|
+
*/
|
|
2310
|
+
RegionId?: number;
|
|
2311
|
+
/**
|
|
2312
|
+
* 可用区说明,例如 "广州二区"
|
|
2313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2314
|
+
*/
|
|
2315
|
+
ZoneDesc?: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* 错误流程说明信息
|
|
2318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
2319
|
*/
|
|
680
2320
|
FlowMsg?: string;
|
|
681
2321
|
/**
|
|
682
|
-
* 状态描述,例如“运行中”等
|
|
683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2322
|
+
* 状态描述,例如“运行中”等
|
|
2323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2324
|
+
*/
|
|
2325
|
+
StatusDesc?: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* 自动续费标记
|
|
2328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2329
|
+
*/
|
|
2330
|
+
RenewFlag?: boolean;
|
|
2331
|
+
/**
|
|
2332
|
+
* 标签列表
|
|
2333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2334
|
+
*/
|
|
2335
|
+
Tags?: Array<Tag>;
|
|
2336
|
+
/**
|
|
2337
|
+
* 监控信息
|
|
2338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2339
|
+
*/
|
|
2340
|
+
Monitor?: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* 是否开通日志
|
|
2343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2344
|
+
*/
|
|
2345
|
+
HasClsTopic?: boolean;
|
|
2346
|
+
/**
|
|
2347
|
+
* 日志主题ID
|
|
2348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2349
|
+
*/
|
|
2350
|
+
ClsTopicId?: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* 日志集ID
|
|
2353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2354
|
+
*/
|
|
2355
|
+
ClsLogSetId?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
* 是否支持xml配置管理
|
|
2358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2359
|
+
*/
|
|
2360
|
+
EnableXMLConfig?: number;
|
|
2361
|
+
/**
|
|
2362
|
+
* 区域
|
|
2363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2364
|
+
*/
|
|
2365
|
+
RegionDesc?: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* 弹性网卡地址
|
|
2368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2369
|
+
*/
|
|
2370
|
+
Eip?: string;
|
|
2371
|
+
/**
|
|
2372
|
+
* 冷热分层系数
|
|
2373
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2374
|
+
*/
|
|
2375
|
+
CosMoveFactor?: number;
|
|
2376
|
+
/**
|
|
2377
|
+
* external/local/yunti
|
|
2378
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2379
|
+
*/
|
|
2380
|
+
Kind?: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* cos桶
|
|
2383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2384
|
+
*/
|
|
2385
|
+
CosBucketName?: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* cbs
|
|
2388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2389
|
+
*/
|
|
2390
|
+
CanAttachCbs?: boolean;
|
|
2391
|
+
/**
|
|
2392
|
+
* 小版本
|
|
2393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2394
|
+
*/
|
|
2395
|
+
BuildVersion?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* 组件信息
|
|
2398
|
+
注:这里返回类型实际为map[string]struct类型,并非显示的string类型,可以参考“示例值”进行数据的解析。
|
|
2399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2400
|
+
*/
|
|
2401
|
+
Components?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* 判断审计日志表是否有catalog字段
|
|
2404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2405
|
+
* @deprecated
|
|
2406
|
+
*/
|
|
2407
|
+
IfExistCatalog?: number;
|
|
2408
|
+
/**
|
|
2409
|
+
* 页面特性,用于前端屏蔽一些页面入口
|
|
2410
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2411
|
+
*/
|
|
2412
|
+
Characteristic?: Array<string>;
|
|
2413
|
+
/**
|
|
2414
|
+
* 超时时间 单位s
|
|
2415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2416
|
+
*/
|
|
2417
|
+
RestartTimeout?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* 内核优雅重启超时时间,如果为-1说明未设置
|
|
2420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2421
|
+
*/
|
|
2422
|
+
GraceShutdownWaitSeconds?: string;
|
|
2423
|
+
/**
|
|
2424
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
|
|
2425
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2426
|
+
*/
|
|
2427
|
+
CaseSensitive?: number;
|
|
2428
|
+
/**
|
|
2429
|
+
* 用户是否可以绑定安全组
|
|
2430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2431
|
+
*/
|
|
2432
|
+
IsWhiteSGs?: boolean;
|
|
2433
|
+
/**
|
|
2434
|
+
* 已绑定的安全组信息
|
|
2435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2436
|
+
*/
|
|
2437
|
+
BindSGs?: Array<string>;
|
|
2438
|
+
/**
|
|
2439
|
+
* 是否为多可用区
|
|
2440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2441
|
+
*/
|
|
2442
|
+
EnableMultiZones?: boolean;
|
|
2443
|
+
/**
|
|
2444
|
+
* 用户可用区和子网信息
|
|
2445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2446
|
+
*/
|
|
2447
|
+
UserNetworkInfos?: string;
|
|
2448
|
+
/**
|
|
2449
|
+
* 是否启用冷热分层。0:未开启 1:已开启
|
|
2450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2451
|
+
*/
|
|
2452
|
+
EnableCoolDown?: number;
|
|
2453
|
+
/**
|
|
2454
|
+
* 冷热分层使用COS桶
|
|
2455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2456
|
+
*/
|
|
2457
|
+
CoolDownBucket?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* 实例扩展信息
|
|
2460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2461
|
+
*/
|
|
2462
|
+
Details?: InstanceDetail;
|
|
2463
|
+
}
|
|
2464
|
+
/**
|
|
2465
|
+
* DescribeUserBindWorkloadGroup请求参数结构体
|
|
2466
|
+
*/
|
|
2467
|
+
export interface DescribeUserBindWorkloadGroupRequest {
|
|
2468
|
+
/**
|
|
2469
|
+
* 集群id
|
|
2470
|
+
*/
|
|
2471
|
+
InstanceId?: string;
|
|
2472
|
+
}
|
|
2473
|
+
/**
|
|
2474
|
+
* DescribeInstances请求参数结构体
|
|
2475
|
+
*/
|
|
2476
|
+
export interface DescribeInstancesRequest {
|
|
2477
|
+
/**
|
|
2478
|
+
* 搜索的集群id名称
|
|
2479
|
+
*/
|
|
2480
|
+
SearchInstanceId?: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* 搜索的集群name
|
|
2483
|
+
*/
|
|
2484
|
+
SearchInstanceName?: string;
|
|
2485
|
+
/**
|
|
2486
|
+
* 分页参数,第一页为0,第二页为10
|
|
2487
|
+
*/
|
|
2488
|
+
Offset?: number;
|
|
2489
|
+
/**
|
|
2490
|
+
* 分页参数,分页步长,默认为10
|
|
2491
|
+
*/
|
|
2492
|
+
Limit?: number;
|
|
2493
|
+
/**
|
|
2494
|
+
* 搜索标签列表
|
|
2495
|
+
*/
|
|
2496
|
+
SearchTags?: Array<SearchTags>;
|
|
2497
|
+
}
|
|
2498
|
+
/**
|
|
2499
|
+
* DescribeBackUpSchedules请求参数结构体
|
|
2500
|
+
*/
|
|
2501
|
+
export declare type DescribeBackUpSchedulesRequest = null;
|
|
2502
|
+
/**
|
|
2503
|
+
* DescribeClusterConfigs请求参数结构体
|
|
2504
|
+
*/
|
|
2505
|
+
export interface DescribeClusterConfigsRequest {
|
|
2506
|
+
/**
|
|
2507
|
+
* 集群实例ID
|
|
2508
|
+
*/
|
|
2509
|
+
InstanceId: string;
|
|
2510
|
+
/**
|
|
2511
|
+
* 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
|
|
2512
|
+
*/
|
|
2513
|
+
ConfigType?: number;
|
|
2514
|
+
/**
|
|
2515
|
+
* 模糊搜索关键字文件
|
|
2516
|
+
*/
|
|
2517
|
+
FileName?: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* 0集群维度 1节点维度
|
|
2520
|
+
*/
|
|
2521
|
+
ClusterConfigType?: number;
|
|
2522
|
+
/**
|
|
2523
|
+
* eth0的ip地址
|
|
2524
|
+
*/
|
|
2525
|
+
IPAddress?: string;
|
|
2526
|
+
}
|
|
2527
|
+
/**
|
|
2528
|
+
* ModifyWorkloadGroup返回参数结构体
|
|
2529
|
+
*/
|
|
2530
|
+
export interface ModifyWorkloadGroupResponse {
|
|
2531
|
+
/**
|
|
2532
|
+
* 错误信息
|
|
2533
|
+
*/
|
|
2534
|
+
ErrorMsg?: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2537
|
+
*/
|
|
2538
|
+
RequestId?: string;
|
|
2539
|
+
}
|
|
2540
|
+
/**
|
|
2541
|
+
* DescribeRestoreTaskDetail请求参数结构体
|
|
2542
|
+
*/
|
|
2543
|
+
export interface DescribeRestoreTaskDetailRequest {
|
|
2544
|
+
/**
|
|
2545
|
+
* 集群id
|
|
2546
|
+
*/
|
|
2547
|
+
InstanceId: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* 任务id
|
|
2550
|
+
*/
|
|
2551
|
+
BackUpJobId: number;
|
|
2552
|
+
}
|
|
2553
|
+
/**
|
|
2554
|
+
* ModifyUserPrivilegesV3请求参数结构体
|
|
2555
|
+
*/
|
|
2556
|
+
export interface ModifyUserPrivilegesV3Request {
|
|
2557
|
+
/**
|
|
2558
|
+
* 集群id
|
|
2559
|
+
*/
|
|
2560
|
+
InstanceId: string;
|
|
2561
|
+
/**
|
|
2562
|
+
* 用户名
|
|
2563
|
+
*/
|
|
2564
|
+
UserName: string;
|
|
2565
|
+
/**
|
|
2566
|
+
* 用户权限
|
|
2567
|
+
*/
|
|
2568
|
+
UserPrivileges: UpdateUserPrivileges;
|
|
2569
|
+
/**
|
|
2570
|
+
* 用户链接来自的 IP
|
|
2571
|
+
*/
|
|
2572
|
+
WhiteHost?: string;
|
|
2573
|
+
}
|
|
2574
|
+
/**
|
|
2575
|
+
* CreateBackUpSchedule返回参数结构体
|
|
2576
|
+
*/
|
|
2577
|
+
export interface CreateBackUpScheduleResponse {
|
|
2578
|
+
/**
|
|
2579
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2580
|
+
*/
|
|
2581
|
+
RequestId?: string;
|
|
2582
|
+
}
|
|
2583
|
+
/**
|
|
2584
|
+
* ModifyNodeStatus返回参数结构体
|
|
2585
|
+
*/
|
|
2586
|
+
export interface ModifyNodeStatusResponse {
|
|
2587
|
+
/**
|
|
2588
|
+
* 流程相关信息
|
|
2589
|
+
*/
|
|
2590
|
+
FlowId?: number;
|
|
2591
|
+
/**
|
|
2592
|
+
* 错误信息
|
|
2593
|
+
*/
|
|
2594
|
+
ErrorMsg?: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2597
|
+
*/
|
|
2598
|
+
RequestId?: string;
|
|
2599
|
+
}
|
|
2600
|
+
/**
|
|
2601
|
+
* DescribeInstance返回参数结构体
|
|
2602
|
+
*/
|
|
2603
|
+
export interface DescribeInstanceResponse {
|
|
2604
|
+
/**
|
|
2605
|
+
* 实例描述信息
|
|
2606
|
+
*/
|
|
2607
|
+
InstanceInfo?: InstanceInfo;
|
|
2608
|
+
/**
|
|
2609
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2610
|
+
*/
|
|
2611
|
+
RequestId?: string;
|
|
2612
|
+
}
|
|
2613
|
+
/**
|
|
2614
|
+
* DescribeBackUpJob返回参数结构体
|
|
2615
|
+
*/
|
|
2616
|
+
export interface DescribeBackUpJobResponse {
|
|
2617
|
+
/**
|
|
2618
|
+
* 任务列表
|
|
2619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2620
|
+
*/
|
|
2621
|
+
BackUpJobs?: Array<BackUpJobDisplay>;
|
|
2622
|
+
/**
|
|
2623
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2624
|
+
*/
|
|
2625
|
+
RequestId?: string;
|
|
2626
|
+
}
|
|
2627
|
+
/**
|
|
2628
|
+
* FitClsLog返回参数结构体
|
|
2629
|
+
*/
|
|
2630
|
+
export interface FitClsLogResponse {
|
|
2631
|
+
/**
|
|
2632
|
+
* 流程相关信息
|
|
2633
|
+
*/
|
|
2634
|
+
FlowId?: number;
|
|
2635
|
+
/**
|
|
2636
|
+
* 错误信息
|
|
2637
|
+
*/
|
|
2638
|
+
ErrorMsg?: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2641
|
+
*/
|
|
2642
|
+
RequestId?: string;
|
|
2643
|
+
}
|
|
2644
|
+
/**
|
|
2645
|
+
* RestartClusterForNode请求参数结构体
|
|
2646
|
+
*/
|
|
2647
|
+
export interface RestartClusterForNodeRequest {
|
|
2648
|
+
/**
|
|
2649
|
+
* 集群ID,例如cdwch-xxxx
|
|
2650
|
+
*/
|
|
2651
|
+
InstanceId: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* 配置文件名称
|
|
2654
|
+
*/
|
|
2655
|
+
ConfigName: string;
|
|
2656
|
+
/**
|
|
2657
|
+
* 每次重启的批次
|
|
2658
|
+
*/
|
|
2659
|
+
BatchSize?: number;
|
|
2660
|
+
/**
|
|
2661
|
+
* 重启节点
|
|
2662
|
+
*/
|
|
2663
|
+
NodeList?: Array<string>;
|
|
2664
|
+
/**
|
|
2665
|
+
* false表示非滚动重启,true表示滚动重启
|
|
2666
|
+
*/
|
|
2667
|
+
RollingRestart?: boolean;
|
|
2668
|
+
}
|
|
2669
|
+
/**
|
|
2670
|
+
* 备份任务的进度详情
|
|
2671
|
+
*/
|
|
2672
|
+
export interface BackupStatus {
|
|
2673
|
+
/**
|
|
2674
|
+
* 备份任务id
|
|
2675
|
+
*/
|
|
2676
|
+
JobId?: number;
|
|
2677
|
+
/**
|
|
2678
|
+
* 快照名称
|
|
2679
|
+
*/
|
|
2680
|
+
SnapshotName?: string;
|
|
2681
|
+
/**
|
|
2682
|
+
* 库名
|
|
2683
|
+
*/
|
|
2684
|
+
DbName?: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* 状态
|
|
2687
|
+
*/
|
|
2688
|
+
State?: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* 备份对象
|
|
2691
|
+
*/
|
|
2692
|
+
BackupObjects?: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* 创建时间
|
|
2695
|
+
*/
|
|
2696
|
+
CreateTime?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* 快照结束时间
|
|
2699
|
+
*/
|
|
2700
|
+
SnapshotFinishedTime?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* 上传结束时间
|
|
2703
|
+
*/
|
|
2704
|
+
UploadFinishedTime?: string;
|
|
2705
|
+
/**
|
|
2706
|
+
* 结束时间
|
|
2707
|
+
*/
|
|
2708
|
+
FinishedTime?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* 未完成任务
|
|
2711
|
+
*/
|
|
2712
|
+
UnfinishedTasks?: string;
|
|
2713
|
+
/**
|
|
2714
|
+
* 进度
|
|
2715
|
+
*/
|
|
2716
|
+
Progress?: string;
|
|
2717
|
+
/**
|
|
2718
|
+
* 错误信息
|
|
2719
|
+
*/
|
|
2720
|
+
TaskErrMsg?: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* 状态
|
|
2723
|
+
*/
|
|
2724
|
+
Status?: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* 超时信息
|
|
2727
|
+
*/
|
|
2728
|
+
Timeout?: number;
|
|
2729
|
+
/**
|
|
2730
|
+
* 备份实例id
|
|
2731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2732
|
+
*/
|
|
2733
|
+
BackupJobId?: number;
|
|
2734
|
+
/**
|
|
2735
|
+
* 实例对应snapshoit的id
|
|
2736
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2737
|
+
*/
|
|
2738
|
+
TaskId?: number;
|
|
2739
|
+
}
|
|
2740
|
+
/**
|
|
2741
|
+
* 列表页搜索的标记列表
|
|
2742
|
+
*/
|
|
2743
|
+
export interface SearchTags {
|
|
2744
|
+
/**
|
|
2745
|
+
* 标签的键
|
|
2746
|
+
*/
|
|
2747
|
+
TagKey?: string;
|
|
2748
|
+
/**
|
|
2749
|
+
* 标签的值
|
|
2750
|
+
*/
|
|
2751
|
+
TagValue?: string;
|
|
2752
|
+
/**
|
|
2753
|
+
* 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
|
2754
|
+
*/
|
|
2755
|
+
AllValue?: number;
|
|
2756
|
+
}
|
|
2757
|
+
/**
|
|
2758
|
+
* DescribeInstances返回参数结构体
|
|
2759
|
+
*/
|
|
2760
|
+
export interface DescribeInstancesResponse {
|
|
2761
|
+
/**
|
|
2762
|
+
* 实例总数
|
|
2763
|
+
*/
|
|
2764
|
+
TotalCount?: number;
|
|
2765
|
+
/**
|
|
2766
|
+
* 实例数组
|
|
2767
|
+
*/
|
|
2768
|
+
InstancesList?: Array<InstanceInfo>;
|
|
2769
|
+
/**
|
|
2770
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2771
|
+
*/
|
|
2772
|
+
RequestId?: string;
|
|
2773
|
+
}
|
|
2774
|
+
/**
|
|
2775
|
+
* DescribeInstanceUsedSubnets请求参数结构体
|
|
2776
|
+
*/
|
|
2777
|
+
export interface DescribeInstanceUsedSubnetsRequest {
|
|
2778
|
+
/**
|
|
2779
|
+
* 集群id
|
|
2780
|
+
*/
|
|
2781
|
+
InstanceId: string;
|
|
2782
|
+
}
|
|
2783
|
+
/**
|
|
2784
|
+
* 额外参数
|
|
2785
|
+
*/
|
|
2786
|
+
export interface SpecExtra {
|
|
2787
|
+
/**
|
|
2788
|
+
* 要删除的shards
|
|
2789
|
+
* @deprecated
|
|
2790
|
+
*/
|
|
2791
|
+
DelShards?: string;
|
|
2792
|
+
/**
|
|
2793
|
+
* 要删除的节点uip
|
|
2794
|
+
*/
|
|
2795
|
+
DelHosts?: string;
|
|
2796
|
+
}
|
|
2797
|
+
/**
|
|
2798
|
+
* DescribeDatabaseAuditRecords请求参数结构体
|
|
2799
|
+
*/
|
|
2800
|
+
export interface DescribeDatabaseAuditRecordsRequest {
|
|
2801
|
+
/**
|
|
2802
|
+
* 实例ID
|
|
2803
|
+
*/
|
|
2804
|
+
InstanceId: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* 开始时间
|
|
2807
|
+
*/
|
|
2808
|
+
StartTime: string;
|
|
2809
|
+
/**
|
|
2810
|
+
* 结束时间
|
|
2811
|
+
*/
|
|
2812
|
+
EndTime: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* 分页
|
|
2815
|
+
*/
|
|
2816
|
+
PageSize: number;
|
|
2817
|
+
/**
|
|
2818
|
+
* 分页
|
|
2819
|
+
*/
|
|
2820
|
+
PageNum: number;
|
|
2821
|
+
/**
|
|
2822
|
+
* 排序参数
|
|
2823
|
+
*/
|
|
2824
|
+
OrderType?: string;
|
|
2825
|
+
/**
|
|
2826
|
+
* 用户
|
|
2827
|
+
*/
|
|
2828
|
+
User?: string;
|
|
2829
|
+
/**
|
|
2830
|
+
* 数据库
|
|
2831
|
+
*/
|
|
2832
|
+
DbName?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* sql类型
|
|
2835
|
+
*/
|
|
2836
|
+
SqlType?: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* sql语句
|
|
2839
|
+
*/
|
|
2840
|
+
Sql?: string;
|
|
2841
|
+
/**
|
|
2842
|
+
* 用户 (多选)
|
|
2843
|
+
*/
|
|
2844
|
+
Users?: Array<string>;
|
|
2845
|
+
/**
|
|
2846
|
+
* 数据库 (多选)
|
|
2847
|
+
*/
|
|
2848
|
+
DbNames?: Array<string>;
|
|
2849
|
+
/**
|
|
2850
|
+
* sql类型 (多选)
|
|
2851
|
+
*/
|
|
2852
|
+
SqlTypes?: Array<string>;
|
|
2853
|
+
/**
|
|
2854
|
+
* catalog名称(多选)
|
|
684
2855
|
*/
|
|
685
|
-
|
|
2856
|
+
Catalogs?: Array<string>;
|
|
2857
|
+
}
|
|
2858
|
+
/**
|
|
2859
|
+
* doris监控指标关注(取消关注)功能入参
|
|
2860
|
+
*/
|
|
2861
|
+
export interface ModifyMetricFileStructNew {
|
|
686
2862
|
/**
|
|
687
|
-
*
|
|
688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2863
|
+
* 集群类型
|
|
689
2864
|
*/
|
|
690
|
-
|
|
2865
|
+
InstanceType?: string;
|
|
691
2866
|
/**
|
|
692
|
-
*
|
|
693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2867
|
+
* 指标类型
|
|
694
2868
|
*/
|
|
695
|
-
|
|
2869
|
+
MetricType?: string;
|
|
696
2870
|
/**
|
|
697
|
-
*
|
|
698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2871
|
+
* 指标英文名
|
|
699
2872
|
*/
|
|
700
|
-
|
|
2873
|
+
Name?: string;
|
|
701
2874
|
/**
|
|
702
|
-
*
|
|
703
|
-
|
|
2875
|
+
* 1:关注
|
|
2876
|
+
0:取消关注
|
|
704
2877
|
*/
|
|
705
|
-
|
|
2878
|
+
IfAttention?: number;
|
|
2879
|
+
}
|
|
2880
|
+
/**
|
|
2881
|
+
* DescribeBackUpJobDetail返回参数结构体
|
|
2882
|
+
*/
|
|
2883
|
+
export interface DescribeBackUpJobDetailResponse {
|
|
706
2884
|
/**
|
|
707
|
-
*
|
|
2885
|
+
* 备份表详情
|
|
708
2886
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
2887
|
*/
|
|
710
|
-
|
|
2888
|
+
TableContents: Array<BackupTableContent>;
|
|
711
2889
|
/**
|
|
712
|
-
*
|
|
713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2890
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
714
2891
|
*/
|
|
715
|
-
|
|
2892
|
+
RequestId?: string;
|
|
2893
|
+
}
|
|
2894
|
+
/**
|
|
2895
|
+
* DescribeBackUpJobDetail请求参数结构体
|
|
2896
|
+
*/
|
|
2897
|
+
export interface DescribeBackUpJobDetailRequest {
|
|
716
2898
|
/**
|
|
717
|
-
*
|
|
718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2899
|
+
* 集群id
|
|
719
2900
|
*/
|
|
720
|
-
|
|
2901
|
+
InstanceId: string;
|
|
721
2902
|
/**
|
|
722
|
-
*
|
|
723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2903
|
+
* 任务id
|
|
724
2904
|
*/
|
|
725
|
-
|
|
2905
|
+
BackUpJobId: number;
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
* DescribeWorkloadGroup返回参数结构体
|
|
2909
|
+
*/
|
|
2910
|
+
export interface DescribeWorkloadGroupResponse {
|
|
726
2911
|
/**
|
|
727
|
-
*
|
|
728
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2912
|
+
* 资源组信息
|
|
729
2913
|
*/
|
|
730
|
-
|
|
2914
|
+
WorkloadGroups?: Array<WorkloadGroupConfig>;
|
|
731
2915
|
/**
|
|
732
|
-
*
|
|
733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2916
|
+
* 是否开启资源组:开启-open、关闭-close
|
|
734
2917
|
*/
|
|
735
|
-
|
|
2918
|
+
Status?: string;
|
|
736
2919
|
/**
|
|
737
|
-
*
|
|
738
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2920
|
+
* 错误信息
|
|
739
2921
|
*/
|
|
740
|
-
|
|
2922
|
+
ErrorMsg?: string;
|
|
741
2923
|
/**
|
|
742
|
-
*
|
|
743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2924
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
744
2925
|
*/
|
|
745
|
-
|
|
2926
|
+
RequestId?: string;
|
|
2927
|
+
}
|
|
2928
|
+
/**
|
|
2929
|
+
* 用户是否关注监控指标入参
|
|
2930
|
+
*/
|
|
2931
|
+
export interface ModifyMetricFileStruct {
|
|
746
2932
|
/**
|
|
747
|
-
*
|
|
748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2933
|
+
* 唯一id
|
|
749
2934
|
*/
|
|
750
|
-
|
|
2935
|
+
Id: number;
|
|
751
2936
|
/**
|
|
752
|
-
*
|
|
753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2937
|
+
* 是否关注
|
|
754
2938
|
*/
|
|
755
|
-
|
|
2939
|
+
IfAttention?: string;
|
|
2940
|
+
}
|
|
2941
|
+
/**
|
|
2942
|
+
* DescribeInstance请求参数结构体
|
|
2943
|
+
*/
|
|
2944
|
+
export interface DescribeInstanceRequest {
|
|
756
2945
|
/**
|
|
757
|
-
*
|
|
758
|
-
注:这里返回类型实际为map[string]struct类型,并非显示的string类型,可以参考“示例值”进行数据的解析。
|
|
759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2946
|
+
* 集群实例ID
|
|
760
2947
|
*/
|
|
761
|
-
|
|
2948
|
+
InstanceId: string;
|
|
2949
|
+
}
|
|
2950
|
+
/**
|
|
2951
|
+
* DescribeBackUpTaskDetail返回参数结构体
|
|
2952
|
+
*/
|
|
2953
|
+
export interface DescribeBackUpTaskDetailResponse {
|
|
762
2954
|
/**
|
|
763
|
-
*
|
|
2955
|
+
* 备份任务进度详情
|
|
764
2956
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
|
-
* @deprecated
|
|
766
2957
|
*/
|
|
767
|
-
|
|
2958
|
+
BackupStatus: Array<BackupStatus>;
|
|
768
2959
|
/**
|
|
769
|
-
*
|
|
2960
|
+
* 错误信息
|
|
770
2961
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
771
2962
|
*/
|
|
772
|
-
|
|
2963
|
+
ErrorMsg: string;
|
|
773
2964
|
/**
|
|
774
|
-
*
|
|
775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2965
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
776
2966
|
*/
|
|
777
|
-
|
|
2967
|
+
RequestId?: string;
|
|
2968
|
+
}
|
|
2969
|
+
/**
|
|
2970
|
+
* ReduceInstance请求参数结构体
|
|
2971
|
+
*/
|
|
2972
|
+
export interface ReduceInstanceRequest {
|
|
778
2973
|
/**
|
|
779
|
-
*
|
|
780
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2974
|
+
* 集群ID
|
|
781
2975
|
*/
|
|
782
|
-
|
|
2976
|
+
InstanceId: string;
|
|
783
2977
|
/**
|
|
784
|
-
*
|
|
785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2978
|
+
* 节点列表
|
|
786
2979
|
*/
|
|
787
|
-
|
|
2980
|
+
DelHosts: Array<string>;
|
|
788
2981
|
/**
|
|
789
|
-
*
|
|
790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2982
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
791
2983
|
*/
|
|
792
|
-
|
|
2984
|
+
Type: string;
|
|
793
2985
|
/**
|
|
794
|
-
*
|
|
2986
|
+
* 缩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
2987
|
+
*/
|
|
2988
|
+
HaType: number;
|
|
2989
|
+
}
|
|
2990
|
+
/**
|
|
2991
|
+
* DeleteWorkloadGroup返回参数结构体
|
|
2992
|
+
*/
|
|
2993
|
+
export interface DeleteWorkloadGroupResponse {
|
|
2994
|
+
/**
|
|
2995
|
+
* 错误信息
|
|
2996
|
+
*/
|
|
2997
|
+
ErrorMsg?: string;
|
|
2998
|
+
/**
|
|
2999
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3000
|
+
*/
|
|
3001
|
+
RequestId?: string;
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* 资源规格描述信息
|
|
3005
|
+
*/
|
|
3006
|
+
export interface ResourceSpec {
|
|
3007
|
+
/**
|
|
3008
|
+
* 规格名称,例如“SCH1"
|
|
3009
|
+
*/
|
|
3010
|
+
Name?: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* cpu核数
|
|
3013
|
+
*/
|
|
3014
|
+
Cpu?: number;
|
|
3015
|
+
/**
|
|
3016
|
+
* 内存大小,单位G
|
|
3017
|
+
*/
|
|
3018
|
+
Mem?: number;
|
|
3019
|
+
/**
|
|
3020
|
+
* 分类标记,STANDARD/BIGDATA/HIGHIO分别表示标准型/大数据型/高IO
|
|
3021
|
+
*/
|
|
3022
|
+
Type?: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* 系统盘描述信息
|
|
795
3025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
796
3026
|
*/
|
|
797
|
-
|
|
3027
|
+
SystemDisk?: DiskSpec;
|
|
798
3028
|
/**
|
|
799
|
-
*
|
|
3029
|
+
* 数据盘描述信息
|
|
800
3030
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
801
3031
|
*/
|
|
802
|
-
|
|
3032
|
+
DataDisk?: DiskSpec;
|
|
803
3033
|
/**
|
|
804
|
-
*
|
|
3034
|
+
* 最大节点数目限制
|
|
805
3035
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
806
3036
|
*/
|
|
807
|
-
|
|
3037
|
+
MaxNodeSize?: number;
|
|
808
3038
|
/**
|
|
809
|
-
*
|
|
3039
|
+
* 是否可用,false代表售罄
|
|
810
3040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
811
3041
|
*/
|
|
812
|
-
|
|
3042
|
+
Available?: boolean;
|
|
813
3043
|
/**
|
|
814
|
-
*
|
|
3044
|
+
* 规格描述信息
|
|
815
3045
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
816
3046
|
*/
|
|
817
|
-
|
|
3047
|
+
ComputeSpecDesc?: string;
|
|
818
3048
|
/**
|
|
819
|
-
*
|
|
3049
|
+
* cvm库存
|
|
820
3050
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
821
3051
|
*/
|
|
822
|
-
|
|
3052
|
+
InstanceQuota?: number;
|
|
823
3053
|
}
|
|
824
3054
|
/**
|
|
825
|
-
*
|
|
3055
|
+
* 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
|
|
826
3056
|
*/
|
|
827
|
-
export interface
|
|
3057
|
+
export interface ClusterConfigsInfoFromEMR {
|
|
828
3058
|
/**
|
|
829
|
-
*
|
|
3059
|
+
* 配置文件名称
|
|
830
3060
|
*/
|
|
831
|
-
|
|
3061
|
+
FileName?: string;
|
|
832
3062
|
/**
|
|
833
|
-
*
|
|
3063
|
+
* 配置文件对应的相关属性信息
|
|
834
3064
|
*/
|
|
835
|
-
|
|
3065
|
+
FileConf?: string;
|
|
836
3066
|
/**
|
|
837
|
-
*
|
|
3067
|
+
* 配置文件对应的其他属性信息
|
|
838
3068
|
*/
|
|
839
|
-
|
|
840
|
-
}
|
|
841
|
-
/**
|
|
842
|
-
* DescribeInstances请求参数结构体
|
|
843
|
-
*/
|
|
844
|
-
export interface DescribeInstancesRequest {
|
|
3069
|
+
KeyConf?: string;
|
|
845
3070
|
/**
|
|
846
|
-
*
|
|
3071
|
+
* 配置文件的内容,base64编码
|
|
847
3072
|
*/
|
|
848
|
-
|
|
3073
|
+
OriParam?: string;
|
|
849
3074
|
/**
|
|
850
|
-
*
|
|
3075
|
+
* 用于表示当前配置文件是不是有过修改后没有重启,提醒用户需要重启
|
|
851
3076
|
*/
|
|
852
|
-
|
|
3077
|
+
NeedRestart?: number;
|
|
853
3078
|
/**
|
|
854
|
-
*
|
|
3079
|
+
* 配置文件路径
|
|
3080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
855
3081
|
*/
|
|
856
|
-
|
|
3082
|
+
FilePath?: string;
|
|
857
3083
|
/**
|
|
858
|
-
*
|
|
3084
|
+
* 配置文件kv值
|
|
3085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3086
|
+
* @deprecated
|
|
859
3087
|
*/
|
|
860
|
-
|
|
3088
|
+
FileKeyValues?: string;
|
|
861
3089
|
/**
|
|
862
|
-
*
|
|
3090
|
+
* 配置文件kv值
|
|
3091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
3092
|
*/
|
|
864
|
-
|
|
3093
|
+
FileKeyValuesNew?: Array<ConfigKeyValue>;
|
|
865
3094
|
}
|
|
866
3095
|
/**
|
|
867
|
-
*
|
|
3096
|
+
* RestartClusterForConfigs请求参数结构体
|
|
868
3097
|
*/
|
|
869
|
-
export interface
|
|
3098
|
+
export interface RestartClusterForConfigsRequest {
|
|
870
3099
|
/**
|
|
871
|
-
*
|
|
3100
|
+
* 集群ID,例如cdwch-xxxx
|
|
872
3101
|
*/
|
|
873
3102
|
InstanceId: string;
|
|
874
3103
|
/**
|
|
875
|
-
*
|
|
3104
|
+
* 配置文件名称
|
|
876
3105
|
*/
|
|
877
|
-
|
|
3106
|
+
ConfigName: string;
|
|
878
3107
|
/**
|
|
879
|
-
*
|
|
3108
|
+
* grace_restart为优雅滚动重启 不填默认立刻重启
|
|
880
3109
|
*/
|
|
881
|
-
|
|
3110
|
+
OperationType?: string;
|
|
3111
|
+
}
|
|
3112
|
+
/**
|
|
3113
|
+
* 可用区的地域大类描述
|
|
3114
|
+
*/
|
|
3115
|
+
export interface RegionAreaInfo {
|
|
882
3116
|
/**
|
|
883
|
-
*
|
|
3117
|
+
* 大类地域信息,如"south_china", "east_china"等
|
|
884
3118
|
*/
|
|
885
|
-
|
|
3119
|
+
Name: string;
|
|
886
3120
|
/**
|
|
887
|
-
*
|
|
3121
|
+
* 对应Name的描述,例如“华南地区”,“华东地区”等
|
|
888
3122
|
*/
|
|
889
|
-
|
|
3123
|
+
Desc: string;
|
|
890
3124
|
/**
|
|
891
|
-
*
|
|
3125
|
+
* 具体地域列表1
|
|
892
3126
|
*/
|
|
893
|
-
|
|
3127
|
+
Regions: Array<RegionInfo>;
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* DestroyInstance请求参数结构体
|
|
3131
|
+
*/
|
|
3132
|
+
export interface DestroyInstanceRequest {
|
|
894
3133
|
/**
|
|
895
|
-
*
|
|
3134
|
+
* 集群ID
|
|
896
3135
|
*/
|
|
897
|
-
|
|
3136
|
+
InstanceId: string;
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* 地域描述信息
|
|
3140
|
+
*/
|
|
3141
|
+
export interface RegionInfo {
|
|
898
3142
|
/**
|
|
899
|
-
*
|
|
3143
|
+
* 地域名称,例如“ap-guangzhou"
|
|
900
3144
|
*/
|
|
901
|
-
|
|
3145
|
+
Name?: string;
|
|
902
3146
|
/**
|
|
903
|
-
*
|
|
3147
|
+
* 地域描述,例如"广州”
|
|
904
3148
|
*/
|
|
905
|
-
|
|
3149
|
+
Desc?: string;
|
|
906
3150
|
/**
|
|
907
|
-
*
|
|
3151
|
+
* 地域唯一标记
|
|
908
3152
|
*/
|
|
909
|
-
|
|
3153
|
+
RegionId?: number;
|
|
910
3154
|
/**
|
|
911
|
-
*
|
|
3155
|
+
* 地域下所有可用区列表
|
|
3156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
912
3157
|
*/
|
|
913
|
-
|
|
3158
|
+
Zones?: Array<ZoneInfo>;
|
|
914
3159
|
/**
|
|
915
|
-
*
|
|
3160
|
+
* 该地域下集群数目
|
|
916
3161
|
*/
|
|
917
|
-
|
|
3162
|
+
Count?: number;
|
|
3163
|
+
/**
|
|
3164
|
+
* 0代表是国际站 1代表不是
|
|
3165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3166
|
+
*/
|
|
3167
|
+
IsInternationalSite?: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* 桶
|
|
3170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3171
|
+
*/
|
|
3172
|
+
Bucket?: string;
|
|
3173
|
+
}
|
|
3174
|
+
/**
|
|
3175
|
+
* CreateWorkloadGroup返回参数结构体
|
|
3176
|
+
*/
|
|
3177
|
+
export interface CreateWorkloadGroupResponse {
|
|
3178
|
+
/**
|
|
3179
|
+
* 错误信息
|
|
3180
|
+
*/
|
|
3181
|
+
ErrorMsg?: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3184
|
+
*/
|
|
3185
|
+
RequestId?: string;
|
|
3186
|
+
}
|
|
3187
|
+
/**
|
|
3188
|
+
* CreateWorkloadGroup请求参数结构体
|
|
3189
|
+
*/
|
|
3190
|
+
export interface CreateWorkloadGroupRequest {
|
|
918
3191
|
/**
|
|
919
|
-
*
|
|
3192
|
+
* 集群id
|
|
920
3193
|
*/
|
|
921
|
-
|
|
3194
|
+
InstanceId: string;
|
|
922
3195
|
/**
|
|
923
|
-
*
|
|
3196
|
+
* 资源组配置
|
|
924
3197
|
*/
|
|
925
|
-
|
|
3198
|
+
WorkloadGroup?: WorkloadGroupConfig;
|
|
926
3199
|
}
|
|
927
3200
|
/**
|
|
928
|
-
*
|
|
3201
|
+
* DescribeGoodsDetail返回参数结构体
|
|
929
3202
|
*/
|
|
930
|
-
export interface
|
|
3203
|
+
export interface DescribeGoodsDetailResponse {
|
|
931
3204
|
/**
|
|
932
|
-
*
|
|
3205
|
+
* GoodsDetail对象
|
|
933
3206
|
*/
|
|
934
|
-
|
|
3207
|
+
GoodsDetail?: string;
|
|
935
3208
|
/**
|
|
936
|
-
*
|
|
3209
|
+
* GoodsCategoryId 表示操作类型
|
|
937
3210
|
*/
|
|
938
|
-
|
|
3211
|
+
GoodsCategoryId?: number;
|
|
939
3212
|
/**
|
|
940
|
-
*
|
|
3213
|
+
* 子商品码
|
|
941
3214
|
*/
|
|
942
|
-
|
|
3215
|
+
Type?: string;
|
|
943
3216
|
/**
|
|
944
|
-
* 0
|
|
3217
|
+
* 付费模式,0后付费,1预付费
|
|
945
3218
|
*/
|
|
946
|
-
|
|
3219
|
+
PayMode?: number;
|
|
947
3220
|
/**
|
|
948
|
-
*
|
|
3221
|
+
* 地域ID
|
|
949
3222
|
*/
|
|
950
|
-
|
|
951
|
-
}
|
|
952
|
-
/**
|
|
953
|
-
* ResizeDisk返回参数结构体
|
|
954
|
-
*/
|
|
955
|
-
export interface ResizeDiskResponse {
|
|
3223
|
+
RegionId?: number;
|
|
956
3224
|
/**
|
|
957
|
-
*
|
|
3225
|
+
* 可用区ID
|
|
958
3226
|
*/
|
|
959
|
-
|
|
3227
|
+
ZoneId?: number;
|
|
960
3228
|
/**
|
|
961
|
-
*
|
|
3229
|
+
* 资源标识符
|
|
962
3230
|
*/
|
|
963
|
-
|
|
3231
|
+
ResourceId?: string;
|
|
964
3232
|
/**
|
|
965
|
-
*
|
|
3233
|
+
* 商品数目
|
|
966
3234
|
*/
|
|
967
|
-
|
|
3235
|
+
GoodsNum?: number;
|
|
968
3236
|
/**
|
|
969
3237
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
970
3238
|
*/
|
|
971
3239
|
RequestId?: string;
|
|
972
3240
|
}
|
|
973
3241
|
/**
|
|
974
|
-
*
|
|
3242
|
+
* 恢复任务信息
|
|
975
3243
|
*/
|
|
976
|
-
export interface
|
|
3244
|
+
export interface RestoreStatus {
|
|
977
3245
|
/**
|
|
978
|
-
*
|
|
3246
|
+
* 恢复任务id
|
|
979
3247
|
*/
|
|
980
|
-
|
|
3248
|
+
JobId?: number;
|
|
981
3249
|
/**
|
|
982
|
-
*
|
|
3250
|
+
* 恢复任务标签
|
|
983
3251
|
*/
|
|
984
|
-
|
|
3252
|
+
Label?: string;
|
|
985
3253
|
/**
|
|
986
|
-
*
|
|
3254
|
+
* 恢复任务时间戳
|
|
987
3255
|
*/
|
|
988
|
-
|
|
3256
|
+
Timestamp?: string;
|
|
989
3257
|
/**
|
|
990
|
-
*
|
|
3258
|
+
* 恢复任务所在库
|
|
991
3259
|
*/
|
|
992
|
-
|
|
993
|
-
}
|
|
994
|
-
/**
|
|
995
|
-
* 数据库审计
|
|
996
|
-
*/
|
|
997
|
-
export interface DataBaseAuditRecord {
|
|
3260
|
+
DbName?: string;
|
|
998
3261
|
/**
|
|
999
|
-
*
|
|
1000
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3262
|
+
* 恢复任务状态
|
|
1001
3263
|
*/
|
|
1002
|
-
|
|
3264
|
+
State?: string;
|
|
1003
3265
|
/**
|
|
1004
|
-
*
|
|
1005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3266
|
+
* 恢复时是否允许导入
|
|
1006
3267
|
*/
|
|
1007
|
-
|
|
3268
|
+
AllowLoad?: boolean;
|
|
1008
3269
|
/**
|
|
1009
|
-
*
|
|
1010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3270
|
+
* 副本数
|
|
1011
3271
|
*/
|
|
1012
|
-
|
|
3272
|
+
ReplicationNum?: string;
|
|
1013
3273
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3274
|
+
* 副本数
|
|
1016
3275
|
*/
|
|
1017
|
-
|
|
3276
|
+
ReplicaAllocation?: string;
|
|
1018
3277
|
/**
|
|
1019
|
-
*
|
|
1020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3278
|
+
* 恢复对象
|
|
1021
3279
|
*/
|
|
1022
|
-
|
|
3280
|
+
RestoreObjects?: string;
|
|
1023
3281
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3282
|
+
* 创建时间
|
|
1026
3283
|
*/
|
|
1027
|
-
|
|
3284
|
+
CreateTime?: string;
|
|
1028
3285
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3286
|
+
* 元数据准备时间
|
|
1031
3287
|
*/
|
|
1032
|
-
|
|
3288
|
+
MetaPreparedTime?: string;
|
|
1033
3289
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3290
|
+
* 快照结束时间
|
|
1036
3291
|
*/
|
|
1037
|
-
|
|
3292
|
+
SnapshotFinishedTime?: string;
|
|
1038
3293
|
/**
|
|
1039
|
-
*
|
|
1040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3294
|
+
* 下载结束时间
|
|
1041
3295
|
*/
|
|
1042
|
-
|
|
3296
|
+
DownloadFinishedTime?: string;
|
|
1043
3297
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3298
|
+
* 结束时间
|
|
1046
3299
|
*/
|
|
1047
|
-
|
|
3300
|
+
FinishedTime?: string;
|
|
1048
3301
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3302
|
+
* 未完成任务
|
|
1051
3303
|
*/
|
|
1052
|
-
|
|
3304
|
+
UnfinishedTasks?: string;
|
|
1053
3305
|
/**
|
|
1054
|
-
*
|
|
3306
|
+
* 进度
|
|
3307
|
+
*/
|
|
3308
|
+
Progress?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
* 错误信息
|
|
3311
|
+
*/
|
|
3312
|
+
TaskErrMsg?: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* 状态
|
|
3315
|
+
*/
|
|
3316
|
+
Status?: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* 作业超时时间
|
|
3319
|
+
*/
|
|
3320
|
+
Timeout?: number;
|
|
3321
|
+
/**
|
|
3322
|
+
* 是否保持源表中的副本数
|
|
3323
|
+
*/
|
|
3324
|
+
ReserveReplica?: boolean;
|
|
3325
|
+
/**
|
|
3326
|
+
* 是否保持源表中的动态分区
|
|
3327
|
+
*/
|
|
3328
|
+
ReserveDynamicPartitionEnable?: boolean;
|
|
3329
|
+
/**
|
|
3330
|
+
* 备份实例id
|
|
1055
3331
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1056
3332
|
*/
|
|
1057
|
-
|
|
3333
|
+
BackupJobId?: number;
|
|
1058
3334
|
/**
|
|
1059
|
-
*
|
|
3335
|
+
* 实例对应snapshot的id
|
|
1060
3336
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1061
3337
|
*/
|
|
1062
|
-
|
|
3338
|
+
TaskId?: number;
|
|
1063
3339
|
}
|
|
1064
3340
|
/**
|
|
1065
|
-
*
|
|
3341
|
+
* DeleteBackUpData返回参数结构体
|
|
1066
3342
|
*/
|
|
1067
|
-
export interface
|
|
3343
|
+
export interface DeleteBackUpDataResponse {
|
|
1068
3344
|
/**
|
|
1069
|
-
*
|
|
3345
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3346
|
+
*/
|
|
3347
|
+
RequestId?: string;
|
|
3348
|
+
}
|
|
3349
|
+
/**
|
|
3350
|
+
* ModifyInstanceKeyValConfigs请求参数结构体
|
|
3351
|
+
*/
|
|
3352
|
+
export interface ModifyInstanceKeyValConfigsRequest {
|
|
3353
|
+
/**
|
|
3354
|
+
* 实例ID
|
|
1070
3355
|
*/
|
|
1071
3356
|
InstanceId: string;
|
|
1072
3357
|
/**
|
|
1073
|
-
*
|
|
3358
|
+
* 文件名称
|
|
1074
3359
|
*/
|
|
1075
|
-
|
|
3360
|
+
FileName: string;
|
|
1076
3361
|
/**
|
|
1077
|
-
*
|
|
3362
|
+
* 新增配置列表
|
|
1078
3363
|
*/
|
|
1079
|
-
|
|
3364
|
+
AddItems?: Array<InstanceConfigItem>;
|
|
1080
3365
|
/**
|
|
1081
|
-
*
|
|
3366
|
+
* 更新配置列表
|
|
1082
3367
|
*/
|
|
1083
|
-
|
|
3368
|
+
UpdateItems?: Array<InstanceConfigItem>;
|
|
3369
|
+
/**
|
|
3370
|
+
* 删除配置列表
|
|
3371
|
+
*/
|
|
3372
|
+
DelItems?: Array<InstanceConfigItem>;
|
|
3373
|
+
/**
|
|
3374
|
+
* 备注(50字以内)
|
|
3375
|
+
*/
|
|
3376
|
+
Message?: string;
|
|
3377
|
+
/**
|
|
3378
|
+
* 热更新列表
|
|
3379
|
+
*/
|
|
3380
|
+
HotUpdateItems?: Array<InstanceConfigItem>;
|
|
3381
|
+
/**
|
|
3382
|
+
* 删除配置列表
|
|
3383
|
+
*/
|
|
3384
|
+
DeleteItems?: InstanceConfigItem;
|
|
3385
|
+
/**
|
|
3386
|
+
* ip地址
|
|
3387
|
+
*/
|
|
3388
|
+
IPAddress?: string;
|
|
1084
3389
|
}
|
|
1085
3390
|
/**
|
|
1086
|
-
*
|
|
3391
|
+
* 备份实例详情
|
|
1087
3392
|
*/
|
|
1088
|
-
export interface
|
|
3393
|
+
export interface BackUpJobDisplay {
|
|
1089
3394
|
/**
|
|
1090
|
-
*
|
|
3395
|
+
* 备份实例id
|
|
1091
3396
|
*/
|
|
1092
|
-
|
|
3397
|
+
JobId?: number;
|
|
1093
3398
|
/**
|
|
1094
|
-
*
|
|
3399
|
+
* 备份实例名
|
|
1095
3400
|
*/
|
|
1096
|
-
|
|
3401
|
+
Snapshot?: string;
|
|
1097
3402
|
/**
|
|
1098
|
-
*
|
|
3403
|
+
* 备份数据量
|
|
3404
|
+
*/
|
|
3405
|
+
BackUpSize?: number;
|
|
3406
|
+
/**
|
|
3407
|
+
* 备份单副本数据量
|
|
1099
3408
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1100
3409
|
*/
|
|
1101
|
-
|
|
3410
|
+
BackUpSingleSize?: number;
|
|
1102
3411
|
/**
|
|
1103
|
-
*
|
|
3412
|
+
* 实例创建时间
|
|
3413
|
+
*/
|
|
3414
|
+
BackUpTime?: string;
|
|
3415
|
+
/**
|
|
3416
|
+
* 实例过期时间
|
|
3417
|
+
*/
|
|
3418
|
+
ExpireTime?: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* 实例状态
|
|
3421
|
+
*/
|
|
3422
|
+
JobStatus?: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* 0为默认。1时是对远端的doris进行备份,不周期,一次性
|
|
1104
3425
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1105
3426
|
*/
|
|
1106
|
-
|
|
3427
|
+
BackupType?: number;
|
|
1107
3428
|
/**
|
|
1108
|
-
*
|
|
3429
|
+
* 0为默认。1时是立即备份。2时是迁移
|
|
3430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1109
3431
|
*/
|
|
1110
|
-
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* DescribeDatabaseAuditRecords返回参数结构体
|
|
1114
|
-
*/
|
|
1115
|
-
export interface DescribeDatabaseAuditRecordsResponse {
|
|
3432
|
+
BackupTimeType?: number;
|
|
1116
3433
|
/**
|
|
1117
|
-
*
|
|
3434
|
+
* 远端doris的连接信息
|
|
3435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1118
3436
|
*/
|
|
1119
|
-
|
|
3437
|
+
DorisSourceInfo?: DorisSourceInfo;
|
|
1120
3438
|
/**
|
|
1121
|
-
*
|
|
3439
|
+
* 实例状态对应的数值
|
|
3440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1122
3441
|
*/
|
|
1123
|
-
|
|
3442
|
+
JobStatusNum?: number;
|
|
1124
3443
|
/**
|
|
1125
|
-
*
|
|
3444
|
+
* 备份实例中关于cos的信息
|
|
3445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
3446
|
*/
|
|
1127
|
-
|
|
3447
|
+
BackupCosInfo?: BackupCosInfo;
|
|
1128
3448
|
}
|
|
1129
3449
|
/**
|
|
1130
|
-
*
|
|
3450
|
+
* ModifyUserBindWorkloadGroup返回参数结构体
|
|
1131
3451
|
*/
|
|
1132
|
-
export interface
|
|
3452
|
+
export interface ModifyUserBindWorkloadGroupResponse {
|
|
1133
3453
|
/**
|
|
1134
|
-
*
|
|
3454
|
+
* 错误信息
|
|
1135
3455
|
*/
|
|
1136
|
-
|
|
3456
|
+
ErrorMsg?: string;
|
|
1137
3457
|
/**
|
|
1138
3458
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1139
3459
|
*/
|
|
1140
3460
|
RequestId?: string;
|
|
1141
3461
|
}
|
|
1142
3462
|
/**
|
|
1143
|
-
*
|
|
3463
|
+
* RecoverBackUpJob返回参数结构体
|
|
1144
3464
|
*/
|
|
1145
|
-
export interface
|
|
1146
|
-
/**
|
|
1147
|
-
* 集群ID,例如cdwch-xxxx
|
|
1148
|
-
*/
|
|
1149
|
-
InstanceId: string;
|
|
1150
|
-
/**
|
|
1151
|
-
* 配置文件名称
|
|
1152
|
-
*/
|
|
1153
|
-
ConfigName: string;
|
|
1154
|
-
/**
|
|
1155
|
-
* 每次重启的批次
|
|
1156
|
-
*/
|
|
1157
|
-
BatchSize?: number;
|
|
1158
|
-
/**
|
|
1159
|
-
* 重启节点
|
|
1160
|
-
*/
|
|
1161
|
-
NodeList?: Array<string>;
|
|
3465
|
+
export interface RecoverBackUpJobResponse {
|
|
1162
3466
|
/**
|
|
1163
|
-
*
|
|
3467
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1164
3468
|
*/
|
|
1165
|
-
|
|
3469
|
+
RequestId?: string;
|
|
1166
3470
|
}
|
|
1167
3471
|
/**
|
|
1168
3472
|
* ScaleUpInstance请求参数结构体
|
|
@@ -1181,6 +3485,15 @@ export interface ScaleUpInstanceRequest {
|
|
|
1181
3485
|
*/
|
|
1182
3486
|
Type: string;
|
|
1183
3487
|
}
|
|
3488
|
+
/**
|
|
3489
|
+
* DescribeReplicaVersion请求参数结构体
|
|
3490
|
+
*/
|
|
3491
|
+
export interface DescribeReplicaVersionRequest {
|
|
3492
|
+
/**
|
|
3493
|
+
* 实例id
|
|
3494
|
+
*/
|
|
3495
|
+
InstanceId: string;
|
|
3496
|
+
}
|
|
1184
3497
|
/**
|
|
1185
3498
|
* 节点角色描述信息
|
|
1186
3499
|
*/
|
|
@@ -1217,57 +3530,98 @@ export interface NodesSummary {
|
|
|
1217
3530
|
* 挂载云盘信息
|
|
1218
3531
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1219
3532
|
*/
|
|
1220
|
-
AttachCBSSpec?: AttachCBSSpec;
|
|
3533
|
+
AttachCBSSpec?: AttachCBSSpec;
|
|
3534
|
+
/**
|
|
3535
|
+
* 子产品名称
|
|
3536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3537
|
+
*/
|
|
3538
|
+
SubProductType?: string;
|
|
3539
|
+
/**
|
|
3540
|
+
* 规格核数
|
|
3541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3542
|
+
*/
|
|
3543
|
+
SpecCore?: number;
|
|
3544
|
+
/**
|
|
3545
|
+
* 规格内存
|
|
3546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3547
|
+
*/
|
|
3548
|
+
SpecMemory?: number;
|
|
3549
|
+
/**
|
|
3550
|
+
* 磁盘大小
|
|
3551
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3552
|
+
*/
|
|
3553
|
+
DiskCount?: number;
|
|
3554
|
+
/**
|
|
3555
|
+
* 是否加密
|
|
3556
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3557
|
+
*/
|
|
3558
|
+
Encrypt?: number;
|
|
3559
|
+
/**
|
|
3560
|
+
* 最大磁盘
|
|
3561
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3562
|
+
*/
|
|
3563
|
+
MaxDiskSize?: number;
|
|
3564
|
+
}
|
|
3565
|
+
/**
|
|
3566
|
+
* DescribeDatabaseAuditDownload请求参数结构体
|
|
3567
|
+
*/
|
|
3568
|
+
export interface DescribeDatabaseAuditDownloadRequest {
|
|
3569
|
+
/**
|
|
3570
|
+
* 实例ID
|
|
3571
|
+
*/
|
|
3572
|
+
InstanceId: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* 开始时间
|
|
3575
|
+
*/
|
|
3576
|
+
StartTime: string;
|
|
3577
|
+
/**
|
|
3578
|
+
* 结束时间
|
|
3579
|
+
*/
|
|
3580
|
+
EndTime: string;
|
|
3581
|
+
/**
|
|
3582
|
+
* 分页
|
|
3583
|
+
*/
|
|
3584
|
+
PageSize: number;
|
|
3585
|
+
/**
|
|
3586
|
+
* 分页
|
|
3587
|
+
*/
|
|
3588
|
+
PageNum: number;
|
|
1221
3589
|
/**
|
|
1222
|
-
*
|
|
1223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3590
|
+
* 排序参数
|
|
1224
3591
|
*/
|
|
1225
|
-
|
|
3592
|
+
OrderType?: string;
|
|
1226
3593
|
/**
|
|
1227
|
-
*
|
|
1228
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3594
|
+
* 用户
|
|
1229
3595
|
*/
|
|
1230
|
-
|
|
3596
|
+
User?: string;
|
|
1231
3597
|
/**
|
|
1232
|
-
*
|
|
1233
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3598
|
+
* 数据库
|
|
1234
3599
|
*/
|
|
1235
|
-
|
|
3600
|
+
DbName?: string;
|
|
1236
3601
|
/**
|
|
1237
|
-
*
|
|
1238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3602
|
+
* sql类型
|
|
1239
3603
|
*/
|
|
1240
|
-
|
|
3604
|
+
SqlType?: string;
|
|
1241
3605
|
/**
|
|
1242
|
-
*
|
|
1243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3606
|
+
* sql语句
|
|
1244
3607
|
*/
|
|
1245
|
-
|
|
3608
|
+
Sql?: string;
|
|
1246
3609
|
/**
|
|
1247
|
-
*
|
|
1248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3610
|
+
* 用户 多选
|
|
1249
3611
|
*/
|
|
1250
|
-
|
|
1251
|
-
}
|
|
1252
|
-
/**
|
|
1253
|
-
* 网络信息
|
|
1254
|
-
*/
|
|
1255
|
-
export interface NetworkInfo {
|
|
3612
|
+
Users?: Array<string>;
|
|
1256
3613
|
/**
|
|
1257
|
-
*
|
|
1258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3614
|
+
* 数据库 多选
|
|
1259
3615
|
*/
|
|
1260
|
-
|
|
3616
|
+
DbNames?: Array<string>;
|
|
1261
3617
|
/**
|
|
1262
|
-
*
|
|
1263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3618
|
+
* sql类型 多选
|
|
1264
3619
|
*/
|
|
1265
|
-
|
|
3620
|
+
SqlTypes?: Array<string>;
|
|
1266
3621
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3622
|
+
* catalog名称 (多选)
|
|
1269
3623
|
*/
|
|
1270
|
-
|
|
3624
|
+
Catalogs?: Array<string>;
|
|
1271
3625
|
}
|
|
1272
3626
|
/**
|
|
1273
3627
|
* 集群规格
|
|
@@ -1287,255 +3641,235 @@ export interface CreateInstanceSpec {
|
|
|
1287
3641
|
DiskSize: number;
|
|
1288
3642
|
}
|
|
1289
3643
|
/**
|
|
1290
|
-
*
|
|
3644
|
+
* DescribeFrontEnd返回参数结构体
|
|
1291
3645
|
*/
|
|
1292
|
-
export interface
|
|
1293
|
-
/**
|
|
1294
|
-
* 标签的键
|
|
1295
|
-
*/
|
|
1296
|
-
TagKey?: string;
|
|
1297
|
-
/**
|
|
1298
|
-
* 标签的值
|
|
1299
|
-
*/
|
|
1300
|
-
TagValue?: string;
|
|
3646
|
+
export interface DescribeFrontEndResponse {
|
|
1301
3647
|
/**
|
|
1302
|
-
*
|
|
3648
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1303
3649
|
*/
|
|
1304
|
-
|
|
3650
|
+
RequestId?: string;
|
|
1305
3651
|
}
|
|
1306
3652
|
/**
|
|
1307
|
-
*
|
|
3653
|
+
* DescribeGoodsDetail请求参数结构体
|
|
1308
3654
|
*/
|
|
1309
|
-
export interface
|
|
3655
|
+
export interface DescribeGoodsDetailRequest {
|
|
1310
3656
|
/**
|
|
1311
|
-
*
|
|
3657
|
+
* 操作类型,“CREATE"表示创建、”MODIFY"表示变更配置、“RENEW"表示续费
|
|
1312
3658
|
*/
|
|
1313
|
-
|
|
1314
|
-
}
|
|
1315
|
-
/**
|
|
1316
|
-
* 返回配置的文件内容(key-value)
|
|
1317
|
-
*/
|
|
1318
|
-
export interface ConfigKeyValue {
|
|
3659
|
+
Case: string;
|
|
1319
3660
|
/**
|
|
1320
|
-
*
|
|
1321
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3661
|
+
* 可用区,例如"ap-guangzhou-3"表示广州三区等
|
|
1322
3662
|
*/
|
|
1323
|
-
|
|
3663
|
+
Zone?: string;
|
|
1324
3664
|
/**
|
|
1325
|
-
*
|
|
1326
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3665
|
+
* 集群的高可用标记,true表示为高可用集群
|
|
1327
3666
|
*/
|
|
1328
|
-
|
|
3667
|
+
HaFlag?: boolean;
|
|
1329
3668
|
/**
|
|
1330
|
-
*
|
|
1331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3669
|
+
* 高可用类型: 0:非高可用 1:读高可用 2:读写高可用。
|
|
1332
3670
|
*/
|
|
1333
|
-
|
|
3671
|
+
HaType?: number;
|
|
1334
3672
|
/**
|
|
1335
|
-
*
|
|
1336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3673
|
+
* 用户集群的私有网络
|
|
1337
3674
|
*/
|
|
1338
|
-
|
|
3675
|
+
UserVPCId?: string;
|
|
1339
3676
|
/**
|
|
1340
|
-
*
|
|
1341
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3677
|
+
* 用户集群的子网
|
|
1342
3678
|
*/
|
|
1343
|
-
|
|
1344
|
-
}
|
|
1345
|
-
/**
|
|
1346
|
-
* 标签描述
|
|
1347
|
-
*/
|
|
1348
|
-
export interface Tag {
|
|
3679
|
+
UserSubnetId?: string;
|
|
1349
3680
|
/**
|
|
1350
|
-
*
|
|
3681
|
+
* 用户集群的版本,例如“20.7.2.30”等
|
|
1351
3682
|
*/
|
|
1352
|
-
|
|
3683
|
+
ProductVersion?: string;
|
|
1353
3684
|
/**
|
|
1354
|
-
*
|
|
3685
|
+
* 集群ID,创建时为空,其他情况必须存在
|
|
1355
3686
|
*/
|
|
1356
|
-
|
|
1357
|
-
}
|
|
1358
|
-
/**
|
|
1359
|
-
* DescribeInstanceState返回参数结构体
|
|
1360
|
-
*/
|
|
1361
|
-
export interface DescribeInstanceStateResponse {
|
|
3687
|
+
InstanceId?: string;
|
|
1362
3688
|
/**
|
|
1363
|
-
*
|
|
3689
|
+
* 集群资源规格描述
|
|
1364
3690
|
*/
|
|
1365
|
-
|
|
3691
|
+
Resources?: Array<ResourceNodeSpec>;
|
|
1366
3692
|
/**
|
|
1367
|
-
*
|
|
1368
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3693
|
+
* 集群规格修改参数
|
|
1369
3694
|
*/
|
|
1370
|
-
|
|
3695
|
+
ModifySpec?: ResourceNodeSpec;
|
|
1371
3696
|
/**
|
|
1372
|
-
*
|
|
1373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3697
|
+
* 计费信息
|
|
1374
3698
|
*/
|
|
1375
|
-
|
|
3699
|
+
ChargeProperties?: ChargeProperties;
|
|
1376
3700
|
/**
|
|
1377
|
-
*
|
|
1378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3701
|
+
* 创建集群时需要填写InstanceName
|
|
1379
3702
|
*/
|
|
1380
|
-
|
|
3703
|
+
InstanceName?: string;
|
|
1381
3704
|
/**
|
|
1382
|
-
*
|
|
1383
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3705
|
+
* 购买页填写的标签列表
|
|
1384
3706
|
*/
|
|
1385
|
-
|
|
3707
|
+
Tags?: Array<Tag>;
|
|
1386
3708
|
/**
|
|
1387
|
-
*
|
|
1388
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3709
|
+
* CLS日志集ID
|
|
1389
3710
|
*/
|
|
1390
|
-
|
|
3711
|
+
ClsLogSetId?: string;
|
|
1391
3712
|
/**
|
|
1392
|
-
*
|
|
3713
|
+
* 用户子网剩余ip数量
|
|
1393
3714
|
*/
|
|
1394
|
-
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* DescribeDatabaseAuditRecords请求参数结构体
|
|
1398
|
-
*/
|
|
1399
|
-
export interface DescribeDatabaseAuditRecordsRequest {
|
|
3715
|
+
UserSubnetIPNum?: number;
|
|
1400
3716
|
/**
|
|
1401
|
-
*
|
|
3717
|
+
* COS桶名称
|
|
1402
3718
|
*/
|
|
1403
|
-
|
|
3719
|
+
CosBucketName?: string;
|
|
1404
3720
|
/**
|
|
1405
|
-
*
|
|
3721
|
+
* 按量计费转包年包月
|
|
1406
3722
|
*/
|
|
1407
|
-
|
|
3723
|
+
HourToPrepaid?: boolean;
|
|
1408
3724
|
/**
|
|
1409
|
-
*
|
|
3725
|
+
* base64密码
|
|
1410
3726
|
*/
|
|
1411
|
-
|
|
3727
|
+
DorisUserPwd?: string;
|
|
1412
3728
|
/**
|
|
1413
|
-
*
|
|
3729
|
+
* 日志的类型,es或者cls_topic
|
|
1414
3730
|
*/
|
|
1415
|
-
|
|
3731
|
+
LogType?: string;
|
|
1416
3732
|
/**
|
|
1417
|
-
*
|
|
3733
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,表名改为以小写存储;2:不敏感,以小写进行比较
|
|
1418
3734
|
*/
|
|
1419
|
-
|
|
3735
|
+
CaseSensitive?: number;
|
|
1420
3736
|
/**
|
|
1421
|
-
*
|
|
3737
|
+
* true为滚动重启 false为批量重启
|
|
1422
3738
|
*/
|
|
1423
|
-
|
|
3739
|
+
RollingRestart?: boolean;
|
|
1424
3740
|
/**
|
|
1425
|
-
*
|
|
3741
|
+
* 是否为多可用区
|
|
1426
3742
|
*/
|
|
1427
|
-
|
|
3743
|
+
EnableMultiZones?: boolean;
|
|
1428
3744
|
/**
|
|
1429
|
-
*
|
|
3745
|
+
* 用户多可用区的网络信息
|
|
1430
3746
|
*/
|
|
1431
|
-
|
|
3747
|
+
UserMultiZoneInfos?: Array<NetworkInfo>;
|
|
1432
3748
|
/**
|
|
1433
|
-
*
|
|
3749
|
+
* 扩展字段
|
|
1434
3750
|
*/
|
|
1435
|
-
|
|
3751
|
+
Details?: InstanceDetail;
|
|
3752
|
+
}
|
|
3753
|
+
/**
|
|
3754
|
+
* Instance表detail字段
|
|
3755
|
+
*/
|
|
3756
|
+
export interface InstanceDetail {
|
|
1436
3757
|
/**
|
|
1437
|
-
*
|
|
3758
|
+
* 告警策略是否可用
|
|
3759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1438
3760
|
*/
|
|
1439
|
-
|
|
3761
|
+
EnableAlarmStrategy?: boolean;
|
|
3762
|
+
}
|
|
3763
|
+
/**
|
|
3764
|
+
* DescribeSpec请求参数结构体
|
|
3765
|
+
*/
|
|
3766
|
+
export interface DescribeSpecRequest {
|
|
1440
3767
|
/**
|
|
1441
|
-
*
|
|
3768
|
+
* 地域信息,例如"ap-guangzhou-1"
|
|
1442
3769
|
*/
|
|
1443
|
-
|
|
3770
|
+
Zone: string;
|
|
1444
3771
|
/**
|
|
1445
|
-
*
|
|
3772
|
+
* 计费类型,PREPAID 包年包月,POSTPAID_BY_HOUR 按量计费
|
|
1446
3773
|
*/
|
|
1447
|
-
|
|
3774
|
+
PayMode?: string;
|
|
1448
3775
|
/**
|
|
1449
|
-
*
|
|
3776
|
+
* 多可用区
|
|
1450
3777
|
*/
|
|
1451
|
-
|
|
3778
|
+
Zones?: Array<string>;
|
|
1452
3779
|
/**
|
|
1453
|
-
*
|
|
3780
|
+
* 机型名称
|
|
1454
3781
|
*/
|
|
1455
|
-
|
|
3782
|
+
SpecName?: string;
|
|
1456
3783
|
}
|
|
1457
3784
|
/**
|
|
1458
|
-
*
|
|
3785
|
+
* DescribeBackUpTables请求参数结构体
|
|
1459
3786
|
*/
|
|
1460
|
-
export interface
|
|
3787
|
+
export interface DescribeBackUpTablesRequest {
|
|
1461
3788
|
/**
|
|
1462
3789
|
* 集群id
|
|
1463
3790
|
*/
|
|
1464
|
-
|
|
1465
|
-
}
|
|
1466
|
-
/**
|
|
1467
|
-
* DescribeDatabaseAuditDownload返回参数结构体
|
|
1468
|
-
*/
|
|
1469
|
-
export interface DescribeDatabaseAuditDownloadResponse {
|
|
3791
|
+
InstanceId: string;
|
|
1470
3792
|
/**
|
|
1471
|
-
*
|
|
3793
|
+
* 0为默认。1时是对远端的doris进行备份,不周期,一次性。2时为cos恢复,一次性
|
|
1472
3794
|
*/
|
|
1473
|
-
|
|
3795
|
+
BackupType?: number;
|
|
1474
3796
|
/**
|
|
1475
|
-
*
|
|
3797
|
+
* 远端doris集群的连接信息
|
|
1476
3798
|
*/
|
|
1477
|
-
|
|
3799
|
+
DorisSourceInfo?: DorisSourceInfo;
|
|
3800
|
+
/**
|
|
3801
|
+
* cos信息
|
|
3802
|
+
*/
|
|
3803
|
+
CosSourceInfo?: CosSourceInfo;
|
|
1478
3804
|
}
|
|
1479
3805
|
/**
|
|
1480
|
-
*
|
|
3806
|
+
* DescribeInstanceNodesRole请求参数结构体
|
|
1481
3807
|
*/
|
|
1482
|
-
export interface
|
|
3808
|
+
export interface DescribeInstanceNodesRoleRequest {
|
|
1483
3809
|
/**
|
|
1484
|
-
* 实例
|
|
3810
|
+
* 实例id
|
|
1485
3811
|
*/
|
|
1486
3812
|
InstanceId: string;
|
|
1487
3813
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
*/
|
|
1490
|
-
StartTime: string;
|
|
1491
|
-
/**
|
|
1492
|
-
* 结束时间
|
|
1493
|
-
*/
|
|
1494
|
-
EndTime: string;
|
|
1495
|
-
/**
|
|
1496
|
-
* 分页
|
|
3814
|
+
* 过滤ip
|
|
1497
3815
|
*/
|
|
1498
|
-
|
|
3816
|
+
IpFilter?: string;
|
|
3817
|
+
}
|
|
3818
|
+
/**
|
|
3819
|
+
* DescribeDatabaseAuditDownload返回参数结构体
|
|
3820
|
+
*/
|
|
3821
|
+
export interface DescribeDatabaseAuditDownloadResponse {
|
|
1499
3822
|
/**
|
|
1500
|
-
*
|
|
3823
|
+
* 日志的cos地址
|
|
1501
3824
|
*/
|
|
1502
|
-
|
|
3825
|
+
CosUrl?: string;
|
|
1503
3826
|
/**
|
|
1504
|
-
*
|
|
3827
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1505
3828
|
*/
|
|
1506
|
-
|
|
3829
|
+
RequestId?: string;
|
|
3830
|
+
}
|
|
3831
|
+
/**
|
|
3832
|
+
* 节点信息列表
|
|
3833
|
+
*/
|
|
3834
|
+
export interface NodeInfos {
|
|
1507
3835
|
/**
|
|
1508
|
-
*
|
|
3836
|
+
* 节点在doris中明朝n
|
|
1509
3837
|
*/
|
|
1510
|
-
|
|
3838
|
+
NodeName?: string;
|
|
1511
3839
|
/**
|
|
1512
|
-
*
|
|
3840
|
+
* 节点状态
|
|
1513
3841
|
*/
|
|
1514
|
-
|
|
3842
|
+
Status?: number;
|
|
1515
3843
|
/**
|
|
1516
|
-
*
|
|
3844
|
+
* 节点ip
|
|
1517
3845
|
*/
|
|
1518
|
-
|
|
3846
|
+
Ip?: string;
|
|
1519
3847
|
/**
|
|
1520
|
-
*
|
|
3848
|
+
* 节点角色
|
|
1521
3849
|
*/
|
|
1522
|
-
|
|
3850
|
+
NodeRole?: string;
|
|
1523
3851
|
/**
|
|
1524
|
-
*
|
|
3852
|
+
* 组件名
|
|
1525
3853
|
*/
|
|
1526
|
-
|
|
3854
|
+
ComponentName?: string;
|
|
1527
3855
|
/**
|
|
1528
|
-
*
|
|
3856
|
+
* 上一次重启时间
|
|
1529
3857
|
*/
|
|
1530
|
-
|
|
3858
|
+
LastRestartTime?: string;
|
|
3859
|
+
}
|
|
3860
|
+
/**
|
|
3861
|
+
* DescribeReplicaVersion返回参数结构体
|
|
3862
|
+
*/
|
|
3863
|
+
export interface DescribeReplicaVersionResponse {
|
|
1531
3864
|
/**
|
|
1532
|
-
*
|
|
3865
|
+
* 是否支持新语法
|
|
3866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1533
3867
|
*/
|
|
1534
|
-
|
|
3868
|
+
ReplicaFlagItem: VersionReplicaItem;
|
|
1535
3869
|
/**
|
|
1536
|
-
*
|
|
3870
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1537
3871
|
*/
|
|
1538
|
-
|
|
3872
|
+
RequestId?: string;
|
|
1539
3873
|
}
|
|
1540
3874
|
/**
|
|
1541
3875
|
* DescribeInstanceNodesInfo返回参数结构体
|