tencentcloud-sdk-nodejs-cdwdoris 4.0.903 → 4.0.908
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 +48 -48
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +336 -95
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +1895 -808
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +101 -25
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +150 -36
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +1829 -793
|
@@ -1,208 +1,294 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* DescribeInstanceUsedSubnets返回参数结构体
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface DescribeInstanceUsedSubnetsResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 集群使用的vpc信息
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
VpcId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 集群使用的subnet信息
|
|
12
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13
|
+
*/
|
|
14
|
+
UsedSubnets?: Array<string>;
|
|
5
15
|
/**
|
|
6
16
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7
17
|
*/
|
|
8
18
|
RequestId?: string;
|
|
9
19
|
}
|
|
10
20
|
/**
|
|
11
|
-
*
|
|
21
|
+
* DescribeInstanceNodes返回参数结构体
|
|
12
22
|
*/
|
|
13
|
-
export interface
|
|
14
|
-
/**
|
|
15
|
-
* 流程ID
|
|
16
|
-
*/
|
|
17
|
-
FlowId?: string;
|
|
23
|
+
export interface DescribeInstanceNodesResponse {
|
|
18
24
|
/**
|
|
19
|
-
*
|
|
25
|
+
* 总数
|
|
20
26
|
*/
|
|
21
|
-
|
|
27
|
+
TotalCount?: number;
|
|
22
28
|
/**
|
|
23
|
-
*
|
|
29
|
+
* 实例节点总数
|
|
30
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24
31
|
*/
|
|
25
|
-
|
|
32
|
+
InstanceNodesList?: Array<InstanceNode>;
|
|
26
33
|
/**
|
|
27
34
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28
35
|
*/
|
|
29
36
|
RequestId?: string;
|
|
30
37
|
}
|
|
31
38
|
/**
|
|
32
|
-
*
|
|
39
|
+
* DescribeInstanceState请求参数结构体
|
|
33
40
|
*/
|
|
34
|
-
export interface
|
|
41
|
+
export interface DescribeInstanceStateRequest {
|
|
35
42
|
/**
|
|
36
|
-
*
|
|
43
|
+
* 集群实例名称
|
|
37
44
|
*/
|
|
38
45
|
InstanceId: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* DescribeClusterConfigs返回参数结构体
|
|
49
|
+
*/
|
|
50
|
+
export interface DescribeClusterConfigsResponse {
|
|
39
51
|
/**
|
|
40
|
-
*
|
|
52
|
+
* 返回实例的配置文件相关的信息
|
|
41
53
|
*/
|
|
42
|
-
|
|
54
|
+
ClusterConfList?: Array<ClusterConfigsInfoFromEMR>;
|
|
43
55
|
/**
|
|
44
|
-
*
|
|
56
|
+
* 返回当前内核版本 如果不存在则返回空字符串
|
|
45
57
|
*/
|
|
46
|
-
|
|
58
|
+
BuildVersion?: string;
|
|
47
59
|
/**
|
|
48
|
-
*
|
|
60
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
49
61
|
*/
|
|
50
|
-
|
|
62
|
+
RequestId?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* ScaleOutInstance返回参数结构体
|
|
66
|
+
*/
|
|
67
|
+
export interface ScaleOutInstanceResponse {
|
|
51
68
|
/**
|
|
52
|
-
*
|
|
69
|
+
* 流程ID
|
|
53
70
|
*/
|
|
54
|
-
|
|
71
|
+
FlowId?: string;
|
|
55
72
|
/**
|
|
56
|
-
*
|
|
73
|
+
* 集群ID
|
|
57
74
|
*/
|
|
58
|
-
|
|
75
|
+
InstanceId?: string;
|
|
59
76
|
/**
|
|
60
|
-
*
|
|
77
|
+
* 错误信息
|
|
61
78
|
*/
|
|
62
|
-
|
|
79
|
+
ErrorMsg?: string;
|
|
63
80
|
/**
|
|
64
|
-
*
|
|
81
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
65
82
|
*/
|
|
66
|
-
|
|
83
|
+
RequestId?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* ModifyUserPrivilegesV3返回参数结构体
|
|
87
|
+
*/
|
|
88
|
+
export interface ModifyUserPrivilegesV3Response {
|
|
67
89
|
/**
|
|
68
|
-
*
|
|
90
|
+
* 错误信息,为空就是没有错误
|
|
91
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
69
92
|
*/
|
|
70
|
-
|
|
93
|
+
ErrorMsg?: string;
|
|
71
94
|
/**
|
|
72
|
-
*
|
|
95
|
+
* 集群id
|
|
73
96
|
*/
|
|
74
|
-
|
|
97
|
+
InstanceId?: string;
|
|
75
98
|
/**
|
|
76
|
-
*
|
|
99
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
77
100
|
*/
|
|
78
|
-
|
|
101
|
+
RequestId?: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* DescribeFederationToken请求参数结构体
|
|
105
|
+
*/
|
|
106
|
+
export declare type DescribeFederationTokenRequest = null;
|
|
107
|
+
/**
|
|
108
|
+
* ModifyWorkloadGroupStatus返回参数结构体
|
|
109
|
+
*/
|
|
110
|
+
export interface ModifyWorkloadGroupStatusResponse {
|
|
79
111
|
/**
|
|
80
|
-
*
|
|
112
|
+
* 错误信息
|
|
81
113
|
*/
|
|
82
|
-
|
|
114
|
+
ErrorMsg?: string;
|
|
115
|
+
/**
|
|
116
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
117
|
+
*/
|
|
118
|
+
RequestId?: string;
|
|
83
119
|
}
|
|
84
120
|
/**
|
|
85
|
-
*
|
|
121
|
+
* KV配置
|
|
86
122
|
*/
|
|
87
|
-
export interface
|
|
123
|
+
export interface InstanceConfigItem {
|
|
88
124
|
/**
|
|
89
|
-
*
|
|
125
|
+
* key
|
|
90
126
|
*/
|
|
91
|
-
|
|
127
|
+
ConfKey: string;
|
|
92
128
|
/**
|
|
93
|
-
*
|
|
129
|
+
* value
|
|
94
130
|
*/
|
|
95
|
-
|
|
131
|
+
ConfValue: string;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* ModifyWorkloadGroup请求参数结构体
|
|
135
|
+
*/
|
|
136
|
+
export interface ModifyWorkloadGroupRequest {
|
|
96
137
|
/**
|
|
97
|
-
*
|
|
138
|
+
* 集群id
|
|
98
139
|
*/
|
|
99
|
-
|
|
140
|
+
InstanceId: string;
|
|
141
|
+
/**
|
|
142
|
+
* 修改的资源组信息
|
|
143
|
+
*/
|
|
144
|
+
WorkloadGroup?: WorkloadGroupConfig;
|
|
100
145
|
}
|
|
101
146
|
/**
|
|
102
|
-
*
|
|
147
|
+
* 集群内节点的规格描述
|
|
103
148
|
*/
|
|
104
|
-
export interface
|
|
149
|
+
export interface ResourceNodeSpec {
|
|
105
150
|
/**
|
|
106
|
-
*
|
|
107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
151
|
+
* 节点类型,“DATA"数据节点,”COMMON" zookeeper节点
|
|
108
152
|
*/
|
|
109
|
-
|
|
153
|
+
Type: string;
|
|
110
154
|
/**
|
|
111
|
-
*
|
|
155
|
+
* 节点规格名称,例如 “SCH1","SCH2”等
|
|
156
|
+
*/
|
|
157
|
+
SpecName: string;
|
|
158
|
+
/**
|
|
159
|
+
* 节点数目
|
|
160
|
+
*/
|
|
161
|
+
Count: number;
|
|
162
|
+
/**
|
|
163
|
+
* 磁盘规格描述
|
|
112
164
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
113
165
|
*/
|
|
114
|
-
|
|
166
|
+
DiskSpec?: ResourceNodeDiskSpec;
|
|
115
167
|
/**
|
|
116
|
-
*
|
|
168
|
+
* 云盘是否加密,0不加密/1加密 默认为0
|
|
117
169
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
118
170
|
*/
|
|
119
|
-
|
|
171
|
+
Encrypt?: number;
|
|
120
172
|
/**
|
|
121
|
-
*
|
|
173
|
+
* 额外信息
|
|
122
174
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
123
175
|
*/
|
|
124
|
-
|
|
176
|
+
Extra?: SpecExtra;
|
|
125
177
|
/**
|
|
126
|
-
*
|
|
178
|
+
* 挂载云盘信息
|
|
127
179
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
128
180
|
*/
|
|
129
|
-
|
|
181
|
+
AttachCBSSpec?: ResourceNodeDiskSpec;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* 用户绑定资源组信息
|
|
185
|
+
*/
|
|
186
|
+
export interface UserWorkloadGroup {
|
|
130
187
|
/**
|
|
131
|
-
*
|
|
188
|
+
* test
|
|
132
189
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
133
190
|
*/
|
|
134
|
-
|
|
191
|
+
UserName?: string;
|
|
135
192
|
/**
|
|
136
|
-
*
|
|
193
|
+
* normal
|
|
137
194
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
138
195
|
*/
|
|
139
|
-
|
|
196
|
+
WorkloadGroupName?: string;
|
|
140
197
|
}
|
|
141
198
|
/**
|
|
142
|
-
*
|
|
199
|
+
* ModifyInstance请求参数结构体
|
|
143
200
|
*/
|
|
144
|
-
export interface
|
|
201
|
+
export interface ModifyInstanceRequest {
|
|
145
202
|
/**
|
|
146
|
-
*
|
|
203
|
+
* 实例Id
|
|
147
204
|
*/
|
|
148
|
-
|
|
205
|
+
InstanceId: string;
|
|
149
206
|
/**
|
|
150
|
-
*
|
|
207
|
+
* 新修改的实例名称
|
|
151
208
|
*/
|
|
152
|
-
|
|
209
|
+
InstanceName: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* DeleteWorkloadGroup请求参数结构体
|
|
213
|
+
*/
|
|
214
|
+
export interface DeleteWorkloadGroupRequest {
|
|
153
215
|
/**
|
|
154
|
-
*
|
|
216
|
+
* 集群id
|
|
155
217
|
*/
|
|
156
|
-
|
|
218
|
+
InstanceId: string;
|
|
219
|
+
/**
|
|
220
|
+
* 需要删除的资源组名称
|
|
221
|
+
*/
|
|
222
|
+
WorkloadGroupName?: string;
|
|
157
223
|
}
|
|
158
224
|
/**
|
|
159
|
-
*
|
|
225
|
+
* 资源组相关配置
|
|
160
226
|
*/
|
|
161
|
-
export interface
|
|
227
|
+
export interface WorkloadGroupConfig {
|
|
162
228
|
/**
|
|
163
|
-
*
|
|
229
|
+
* 资源组名称
|
|
230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
164
231
|
*/
|
|
165
|
-
|
|
232
|
+
WorkloadGroupName?: string;
|
|
166
233
|
/**
|
|
167
|
-
*
|
|
234
|
+
* CPU权重
|
|
168
235
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
169
236
|
*/
|
|
170
|
-
|
|
237
|
+
CpuShare?: number;
|
|
171
238
|
/**
|
|
172
|
-
*
|
|
239
|
+
* 内存限制,所有资源组的内存限制值之和应该小于等于100
|
|
240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
173
241
|
*/
|
|
174
|
-
|
|
242
|
+
MemoryLimit?: number;
|
|
243
|
+
/**
|
|
244
|
+
* 是否允许超配分配
|
|
245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
246
|
+
*/
|
|
247
|
+
EnableMemoryOverCommit?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* cpu硬限制
|
|
250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
251
|
+
*/
|
|
252
|
+
CpuHardLimit?: string;
|
|
175
253
|
}
|
|
176
254
|
/**
|
|
177
|
-
*
|
|
255
|
+
* 集群内节点的规格磁盘规格描述
|
|
178
256
|
*/
|
|
179
|
-
export interface
|
|
257
|
+
export interface ResourceNodeDiskSpec {
|
|
180
258
|
/**
|
|
181
|
-
*
|
|
259
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
182
260
|
*/
|
|
183
|
-
|
|
261
|
+
DiskType?: string;
|
|
262
|
+
/**
|
|
263
|
+
* 磁盘容量,单位G
|
|
264
|
+
*/
|
|
265
|
+
DiskSize?: number;
|
|
266
|
+
/**
|
|
267
|
+
* 磁盘总数
|
|
268
|
+
*/
|
|
269
|
+
DiskCount?: number;
|
|
184
270
|
}
|
|
185
271
|
/**
|
|
186
|
-
*
|
|
272
|
+
* DescribeInstances返回参数结构体
|
|
187
273
|
*/
|
|
188
|
-
export interface
|
|
274
|
+
export interface DescribeInstancesResponse {
|
|
189
275
|
/**
|
|
190
|
-
*
|
|
276
|
+
* 实例总数
|
|
191
277
|
*/
|
|
192
|
-
|
|
278
|
+
TotalCount?: number;
|
|
193
279
|
/**
|
|
194
|
-
*
|
|
280
|
+
* 实例数组
|
|
195
281
|
*/
|
|
196
|
-
|
|
282
|
+
InstancesList?: Array<InstanceInfo>;
|
|
197
283
|
/**
|
|
198
284
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
199
285
|
*/
|
|
200
286
|
RequestId?: string;
|
|
201
287
|
}
|
|
202
288
|
/**
|
|
203
|
-
*
|
|
289
|
+
* ReduceInstance返回参数结构体
|
|
204
290
|
*/
|
|
205
|
-
export interface
|
|
291
|
+
export interface ReduceInstanceResponse {
|
|
206
292
|
/**
|
|
207
293
|
* 流程ID
|
|
208
294
|
*/
|
|
@@ -221,254 +307,234 @@ export interface ScaleOutInstanceResponse {
|
|
|
221
307
|
RequestId?: string;
|
|
222
308
|
}
|
|
223
309
|
/**
|
|
224
|
-
*
|
|
310
|
+
* 检查doris内核是否支持新语法。
|
|
225
311
|
*/
|
|
226
|
-
export interface
|
|
312
|
+
export interface VersionReplicaItem {
|
|
227
313
|
/**
|
|
228
|
-
*
|
|
314
|
+
* 版本描述
|
|
315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
229
316
|
*/
|
|
230
|
-
|
|
317
|
+
ReplicaFlag: number;
|
|
231
318
|
/**
|
|
232
|
-
*
|
|
319
|
+
* 错误信息
|
|
320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
233
321
|
*/
|
|
234
|
-
|
|
322
|
+
ErrorMsg: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* CreateInstanceNew请求参数结构体
|
|
326
|
+
*/
|
|
327
|
+
export interface CreateInstanceNewRequest {
|
|
235
328
|
/**
|
|
236
|
-
*
|
|
329
|
+
* 可用区
|
|
237
330
|
*/
|
|
238
|
-
|
|
331
|
+
Zone: string;
|
|
239
332
|
/**
|
|
240
|
-
*
|
|
333
|
+
* FE规格
|
|
241
334
|
*/
|
|
242
|
-
|
|
335
|
+
FeSpec: CreateInstanceSpec;
|
|
243
336
|
/**
|
|
244
|
-
*
|
|
337
|
+
* BE规格
|
|
245
338
|
*/
|
|
246
|
-
|
|
339
|
+
BeSpec: CreateInstanceSpec;
|
|
247
340
|
/**
|
|
248
|
-
*
|
|
341
|
+
* 是否高可用
|
|
249
342
|
*/
|
|
250
|
-
|
|
343
|
+
HaFlag: boolean;
|
|
251
344
|
/**
|
|
252
|
-
*
|
|
345
|
+
* 用户VPCID
|
|
253
346
|
*/
|
|
254
|
-
|
|
347
|
+
UserVPCId: string;
|
|
255
348
|
/**
|
|
256
|
-
*
|
|
349
|
+
* 用户子网ID
|
|
257
350
|
*/
|
|
258
|
-
|
|
351
|
+
UserSubnetId: string;
|
|
259
352
|
/**
|
|
260
|
-
*
|
|
353
|
+
* 产品版本号
|
|
261
354
|
*/
|
|
262
|
-
|
|
355
|
+
ProductVersion: string;
|
|
263
356
|
/**
|
|
264
|
-
*
|
|
357
|
+
* 付费类型
|
|
265
358
|
*/
|
|
266
|
-
|
|
359
|
+
ChargeProperties: ChargeProperties;
|
|
267
360
|
/**
|
|
268
|
-
*
|
|
269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
361
|
+
* 实例名字
|
|
270
362
|
*/
|
|
271
|
-
|
|
363
|
+
InstanceName: string;
|
|
272
364
|
/**
|
|
273
|
-
*
|
|
274
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
* 数据库密码
|
|
275
366
|
*/
|
|
276
|
-
|
|
367
|
+
DorisUserPwd: string;
|
|
277
368
|
/**
|
|
278
|
-
*
|
|
279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
369
|
+
* 标签列表
|
|
280
370
|
*/
|
|
281
|
-
|
|
371
|
+
Tags?: Array<Tag>;
|
|
282
372
|
/**
|
|
283
|
-
*
|
|
284
|
-
|
|
373
|
+
* 高可用类型:
|
|
374
|
+
0:非高可用(只有1个FE,FeSpec.CreateInstanceSpec.Count=1),
|
|
375
|
+
1:读高可用(至少需部署3个FE,FeSpec.CreateInstanceSpec.Count>=3,且为奇数),
|
|
376
|
+
2:读写高可用(至少需部署5个FE,FeSpec.CreateInstanceSpec.Count>=5,且为奇数)。
|
|
285
377
|
*/
|
|
286
|
-
|
|
378
|
+
HaType?: number;
|
|
287
379
|
/**
|
|
288
|
-
*
|
|
289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
380
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
|
|
290
381
|
*/
|
|
291
|
-
|
|
382
|
+
CaseSensitive?: number;
|
|
383
|
+
/**
|
|
384
|
+
* 是否开启多可用区
|
|
385
|
+
*/
|
|
386
|
+
EnableMultiZones?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* 开启多可用区后,用户的所有可用区和子网信息
|
|
389
|
+
*/
|
|
390
|
+
UserMultiZoneInfos?: NetworkInfo;
|
|
292
391
|
}
|
|
293
392
|
/**
|
|
294
|
-
*
|
|
393
|
+
* ScaleOutInstance请求参数结构体
|
|
295
394
|
*/
|
|
296
|
-
export interface
|
|
395
|
+
export interface ScaleOutInstanceRequest {
|
|
297
396
|
/**
|
|
298
|
-
*
|
|
397
|
+
* 集群ID
|
|
299
398
|
*/
|
|
300
399
|
InstanceId: string;
|
|
301
400
|
/**
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
NodeRole?: string;
|
|
305
|
-
/**
|
|
306
|
-
* 分页参数,第一页为0,第二页为10
|
|
401
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
307
402
|
*/
|
|
308
|
-
|
|
403
|
+
Type: string;
|
|
309
404
|
/**
|
|
310
|
-
*
|
|
405
|
+
* 节点数量
|
|
311
406
|
*/
|
|
312
|
-
|
|
407
|
+
NodeCount: number;
|
|
313
408
|
/**
|
|
314
|
-
*
|
|
409
|
+
* 扩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
315
410
|
*/
|
|
316
|
-
|
|
411
|
+
HaType?: number;
|
|
317
412
|
}
|
|
318
413
|
/**
|
|
319
|
-
*
|
|
414
|
+
* 更新用户权限结构体
|
|
320
415
|
*/
|
|
321
|
-
export interface
|
|
322
|
-
/**
|
|
323
|
-
* 实例Id
|
|
324
|
-
*/
|
|
325
|
-
InstanceId: string;
|
|
416
|
+
export interface UpdateUserPrivileges {
|
|
326
417
|
/**
|
|
327
|
-
*
|
|
418
|
+
* 是否设置catalog权限
|
|
328
419
|
*/
|
|
329
|
-
|
|
420
|
+
IsSetGlobalCatalog?: boolean;
|
|
330
421
|
}
|
|
331
422
|
/**
|
|
332
|
-
*
|
|
423
|
+
* 网络信息
|
|
333
424
|
*/
|
|
334
|
-
export interface
|
|
335
|
-
/**
|
|
336
|
-
* 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
|
|
337
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
338
|
-
*/
|
|
339
|
-
ChargeType?: string;
|
|
340
|
-
/**
|
|
341
|
-
* 是否自动续费,1表示自动续费开启
|
|
342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
343
|
-
*/
|
|
344
|
-
RenewFlag?: number;
|
|
425
|
+
export interface NetworkInfo {
|
|
345
426
|
/**
|
|
346
|
-
*
|
|
427
|
+
* 可用区
|
|
347
428
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
348
429
|
*/
|
|
349
|
-
|
|
430
|
+
Zone?: string;
|
|
350
431
|
/**
|
|
351
|
-
*
|
|
432
|
+
* 子网id
|
|
352
433
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
353
434
|
*/
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
/**
|
|
357
|
-
* Instance表detail字段
|
|
358
|
-
*/
|
|
359
|
-
export interface InstanceDetail {
|
|
435
|
+
SubnetId?: string;
|
|
360
436
|
/**
|
|
361
|
-
*
|
|
437
|
+
* 当前子网可用ip数
|
|
362
438
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
439
|
*/
|
|
364
|
-
|
|
440
|
+
SubnetIpNum?: number;
|
|
365
441
|
}
|
|
366
442
|
/**
|
|
367
|
-
*
|
|
443
|
+
* 可用区描述信息
|
|
368
444
|
*/
|
|
369
|
-
export interface
|
|
370
|
-
/**
|
|
371
|
-
* 配置文件名称
|
|
372
|
-
*/
|
|
373
|
-
FileName?: string;
|
|
445
|
+
export interface ZoneInfo {
|
|
374
446
|
/**
|
|
375
|
-
*
|
|
447
|
+
* 可用区名称,例如"ap-guangzhou-1"
|
|
376
448
|
*/
|
|
377
|
-
|
|
449
|
+
Name?: string;
|
|
378
450
|
/**
|
|
379
|
-
*
|
|
451
|
+
* 可用区描述信息,例如“广州一区”
|
|
380
452
|
*/
|
|
381
|
-
|
|
453
|
+
Desc?: string;
|
|
382
454
|
/**
|
|
383
|
-
*
|
|
455
|
+
* 可用区唯一标记
|
|
384
456
|
*/
|
|
385
|
-
|
|
457
|
+
ZoneId?: number;
|
|
386
458
|
/**
|
|
387
|
-
*
|
|
459
|
+
* Encryptid
|
|
460
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
388
461
|
*/
|
|
389
|
-
|
|
462
|
+
Encrypt?: number;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* DescribeRestoreTaskDetail返回参数结构体
|
|
466
|
+
*/
|
|
467
|
+
export interface DescribeRestoreTaskDetailResponse {
|
|
390
468
|
/**
|
|
391
|
-
*
|
|
469
|
+
* 恢复任务进度详情
|
|
392
470
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
393
471
|
*/
|
|
394
|
-
|
|
472
|
+
RestoreStatus: Array<RestoreStatus>;
|
|
395
473
|
/**
|
|
396
|
-
*
|
|
474
|
+
* 错误信息
|
|
397
475
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
398
|
-
* @deprecated
|
|
399
476
|
*/
|
|
400
|
-
|
|
477
|
+
ErrorMsg: string;
|
|
401
478
|
/**
|
|
402
|
-
*
|
|
403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
404
480
|
*/
|
|
405
|
-
|
|
481
|
+
RequestId?: string;
|
|
406
482
|
}
|
|
407
483
|
/**
|
|
408
|
-
*
|
|
484
|
+
* 返回配置的文件内容(key-value)
|
|
409
485
|
*/
|
|
410
|
-
export interface
|
|
411
|
-
/**
|
|
412
|
-
* IP地址
|
|
413
|
-
*/
|
|
414
|
-
Ip?: string;
|
|
415
|
-
/**
|
|
416
|
-
* 机型,如 S1
|
|
417
|
-
*/
|
|
418
|
-
Spec?: string;
|
|
419
|
-
/**
|
|
420
|
-
* cpu核数
|
|
421
|
-
*/
|
|
422
|
-
Core?: number;
|
|
423
|
-
/**
|
|
424
|
-
* 内存大小
|
|
425
|
-
*/
|
|
426
|
-
Memory?: number;
|
|
427
|
-
/**
|
|
428
|
-
* 磁盘类型
|
|
429
|
-
*/
|
|
430
|
-
DiskType?: string;
|
|
431
|
-
/**
|
|
432
|
-
* 磁盘大小
|
|
433
|
-
*/
|
|
434
|
-
DiskSize?: number;
|
|
486
|
+
export interface ConfigKeyValue {
|
|
435
487
|
/**
|
|
436
|
-
*
|
|
488
|
+
* key
|
|
489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
437
490
|
*/
|
|
438
|
-
|
|
491
|
+
KeyName?: string;
|
|
439
492
|
/**
|
|
440
|
-
*
|
|
493
|
+
* 值
|
|
441
494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
495
|
*/
|
|
443
|
-
|
|
496
|
+
Value?: string;
|
|
444
497
|
/**
|
|
445
|
-
*
|
|
498
|
+
* 备注
|
|
446
499
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
500
|
*/
|
|
448
|
-
|
|
501
|
+
Message?: string;
|
|
449
502
|
/**
|
|
450
|
-
*
|
|
503
|
+
* 1-只读,2-可修改但不可删除,3-可删除
|
|
451
504
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
505
|
*/
|
|
453
|
-
|
|
506
|
+
Display?: number;
|
|
454
507
|
/**
|
|
455
|
-
*
|
|
508
|
+
* 0不支持 1支持热更新
|
|
456
509
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
457
510
|
*/
|
|
458
|
-
|
|
511
|
+
SupportHotUpdate?: number;
|
|
459
512
|
}
|
|
460
513
|
/**
|
|
461
|
-
*
|
|
514
|
+
* 标签描述
|
|
462
515
|
*/
|
|
463
|
-
export interface
|
|
516
|
+
export interface Tag {
|
|
464
517
|
/**
|
|
465
|
-
*
|
|
518
|
+
* 标签的键
|
|
466
519
|
*/
|
|
467
|
-
|
|
520
|
+
TagKey: string;
|
|
521
|
+
/**
|
|
522
|
+
* 标签的值
|
|
523
|
+
*/
|
|
524
|
+
TagValue: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* ResizeDisk返回参数结构体
|
|
528
|
+
*/
|
|
529
|
+
export interface ResizeDiskResponse {
|
|
468
530
|
/**
|
|
469
531
|
* 实例ID
|
|
470
532
|
*/
|
|
471
533
|
InstanceId?: string;
|
|
534
|
+
/**
|
|
535
|
+
* 流程ID
|
|
536
|
+
*/
|
|
537
|
+
FlowId?: string;
|
|
472
538
|
/**
|
|
473
539
|
* 错误信息
|
|
474
540
|
*/
|
|
@@ -479,389 +545,1570 @@ export interface CreateInstanceNewResponse {
|
|
|
479
545
|
RequestId?: string;
|
|
480
546
|
}
|
|
481
547
|
/**
|
|
482
|
-
*
|
|
548
|
+
* ModifyInstance返回参数结构体
|
|
483
549
|
*/
|
|
484
|
-
export interface
|
|
485
|
-
/**
|
|
486
|
-
* cos地址
|
|
487
|
-
*/
|
|
488
|
-
CosUrl?: string;
|
|
550
|
+
export interface ModifyInstanceResponse {
|
|
489
551
|
/**
|
|
490
552
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
491
553
|
*/
|
|
492
554
|
RequestId?: string;
|
|
493
555
|
}
|
|
494
556
|
/**
|
|
495
|
-
*
|
|
557
|
+
* DescribeSlowQueryRecordsDownload请求参数结构体
|
|
496
558
|
*/
|
|
497
|
-
export interface
|
|
559
|
+
export interface DescribeSlowQueryRecordsDownloadRequest {
|
|
498
560
|
/**
|
|
499
|
-
*
|
|
561
|
+
* 实例ID
|
|
500
562
|
*/
|
|
501
563
|
InstanceId: string;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* CreateInstanceNew请求参数结构体
|
|
505
|
-
*/
|
|
506
|
-
export interface CreateInstanceNewRequest {
|
|
507
564
|
/**
|
|
508
|
-
*
|
|
565
|
+
* 慢查询时间
|
|
509
566
|
*/
|
|
510
|
-
|
|
567
|
+
QueryDurationMs: number;
|
|
511
568
|
/**
|
|
512
|
-
*
|
|
569
|
+
* 开始时间
|
|
513
570
|
*/
|
|
514
|
-
|
|
571
|
+
StartTime: string;
|
|
515
572
|
/**
|
|
516
|
-
*
|
|
573
|
+
* 结束时间
|
|
517
574
|
*/
|
|
518
|
-
|
|
575
|
+
EndTime: string;
|
|
519
576
|
/**
|
|
520
|
-
*
|
|
577
|
+
* 排序参数
|
|
521
578
|
*/
|
|
522
|
-
|
|
579
|
+
DurationMs?: string;
|
|
523
580
|
/**
|
|
524
|
-
*
|
|
581
|
+
* 查询sql
|
|
525
582
|
*/
|
|
526
|
-
|
|
583
|
+
Sql?: string;
|
|
527
584
|
/**
|
|
528
|
-
*
|
|
585
|
+
* 排序参数
|
|
529
586
|
*/
|
|
530
|
-
|
|
587
|
+
ReadRows?: string;
|
|
531
588
|
/**
|
|
532
|
-
*
|
|
589
|
+
* 排序参数
|
|
533
590
|
*/
|
|
534
|
-
|
|
591
|
+
ResultBytes?: string;
|
|
535
592
|
/**
|
|
536
|
-
*
|
|
593
|
+
* 排序参数
|
|
537
594
|
*/
|
|
538
|
-
|
|
595
|
+
MemoryUsage?: string;
|
|
539
596
|
/**
|
|
540
|
-
*
|
|
597
|
+
* IsQuery条件
|
|
541
598
|
*/
|
|
542
|
-
|
|
599
|
+
IsQuery?: number;
|
|
543
600
|
/**
|
|
544
|
-
*
|
|
601
|
+
* 数据库名称
|
|
545
602
|
*/
|
|
546
|
-
|
|
603
|
+
DbName?: Array<string>;
|
|
547
604
|
/**
|
|
548
|
-
*
|
|
605
|
+
* catalog名称
|
|
549
606
|
*/
|
|
550
|
-
|
|
607
|
+
CatalogName?: Array<string>;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* ModifyUserBindWorkloadGroup请求参数结构体
|
|
611
|
+
*/
|
|
612
|
+
export interface ModifyUserBindWorkloadGroupRequest {
|
|
551
613
|
/**
|
|
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,且为奇数)。
|
|
614
|
+
* 集群id
|
|
556
615
|
*/
|
|
557
|
-
|
|
616
|
+
InstanceId: string;
|
|
558
617
|
/**
|
|
559
|
-
*
|
|
618
|
+
* 需要绑定资源组的用户信息,如果一个账户拥有多个主机信息,需要将这些信息都传入
|
|
560
619
|
*/
|
|
561
|
-
|
|
620
|
+
BindUsers?: Array<BindUser>;
|
|
562
621
|
/**
|
|
563
|
-
*
|
|
622
|
+
* 修改前绑定的资源组名称
|
|
564
623
|
*/
|
|
565
|
-
|
|
624
|
+
OldWorkloadGroupName?: string;
|
|
566
625
|
/**
|
|
567
|
-
*
|
|
626
|
+
* 修改后绑定的资源组名称
|
|
568
627
|
*/
|
|
569
|
-
|
|
628
|
+
NewWorkloadGroupName?: string;
|
|
570
629
|
}
|
|
571
630
|
/**
|
|
572
|
-
*
|
|
631
|
+
* DescribeRegionZone请求参数结构体
|
|
573
632
|
*/
|
|
574
|
-
export interface
|
|
633
|
+
export interface DescribeRegionZoneRequest {
|
|
575
634
|
/**
|
|
576
|
-
*
|
|
577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
635
|
+
* 服务
|
|
578
636
|
*/
|
|
579
|
-
|
|
637
|
+
Service?: string;
|
|
580
638
|
/**
|
|
581
|
-
*
|
|
582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
639
|
+
* 是否是国际站
|
|
583
640
|
*/
|
|
584
|
-
|
|
641
|
+
IsInternationalSite?: boolean;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* NodeInfo
|
|
645
|
+
*/
|
|
646
|
+
export interface NodeInfo {
|
|
585
647
|
/**
|
|
586
|
-
*
|
|
587
|
-
Init 创建中; Serving 运行中;
|
|
588
|
-
Deleted已销毁;Deleting 销毁中;
|
|
589
|
-
Modify 集群变更中;
|
|
648
|
+
* 用户IP
|
|
590
649
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
591
650
|
*/
|
|
592
|
-
|
|
651
|
+
Ip?: string;
|
|
593
652
|
/**
|
|
594
|
-
*
|
|
653
|
+
* 节点状态
|
|
595
654
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
596
655
|
*/
|
|
597
|
-
|
|
656
|
+
Status?: number;
|
|
598
657
|
/**
|
|
599
|
-
*
|
|
658
|
+
* 节点角色名
|
|
600
659
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
601
660
|
*/
|
|
602
|
-
|
|
661
|
+
NodeName?: string;
|
|
603
662
|
/**
|
|
604
|
-
*
|
|
663
|
+
* 组件名
|
|
605
664
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
606
665
|
*/
|
|
607
|
-
|
|
666
|
+
ComponentName?: string;
|
|
608
667
|
/**
|
|
609
|
-
*
|
|
668
|
+
* 节点角色
|
|
610
669
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
611
670
|
*/
|
|
612
|
-
|
|
671
|
+
NodeRole?: string;
|
|
613
672
|
/**
|
|
614
|
-
*
|
|
673
|
+
* 节点上次重启的时间
|
|
615
674
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
616
675
|
*/
|
|
617
|
-
|
|
676
|
+
LastRestartTime?: string;
|
|
618
677
|
/**
|
|
619
|
-
*
|
|
678
|
+
* 节点所在可用区
|
|
620
679
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
621
680
|
*/
|
|
622
|
-
|
|
681
|
+
Zone?: string;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* RestartClusterForNode返回参数结构体
|
|
685
|
+
*/
|
|
686
|
+
export interface RestartClusterForNodeResponse {
|
|
623
687
|
/**
|
|
624
|
-
*
|
|
625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
688
|
+
* 流程相关信息
|
|
626
689
|
*/
|
|
627
|
-
|
|
690
|
+
FlowId?: number;
|
|
628
691
|
/**
|
|
629
|
-
*
|
|
630
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
692
|
+
* 错误信息
|
|
631
693
|
*/
|
|
632
|
-
|
|
694
|
+
ErrorMsg?: string;
|
|
633
695
|
/**
|
|
634
|
-
*
|
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
696
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
636
697
|
*/
|
|
637
|
-
|
|
698
|
+
RequestId?: string;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* DescribeInstanceNodes请求参数结构体
|
|
702
|
+
*/
|
|
703
|
+
export interface DescribeInstanceNodesRequest {
|
|
638
704
|
/**
|
|
639
|
-
*
|
|
640
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
705
|
+
* 集群实例ID
|
|
641
706
|
*/
|
|
642
|
-
|
|
707
|
+
InstanceId: string;
|
|
643
708
|
/**
|
|
644
|
-
*
|
|
645
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
* 集群角色类型,默认为 "data"数据节点
|
|
646
710
|
*/
|
|
647
|
-
|
|
711
|
+
NodeRole?: string;
|
|
648
712
|
/**
|
|
649
|
-
*
|
|
650
|
-
0:非高可用
|
|
651
|
-
1:读高可用
|
|
652
|
-
2:读写高可用。
|
|
653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
713
|
+
* 分页参数,第一页为0,第二页为10
|
|
654
714
|
*/
|
|
655
|
-
|
|
715
|
+
Offset?: number;
|
|
656
716
|
/**
|
|
657
|
-
*
|
|
658
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
717
|
+
* 分页参数,分页步长,默认为10
|
|
659
718
|
*/
|
|
660
|
-
|
|
719
|
+
Limit?: number;
|
|
661
720
|
/**
|
|
662
|
-
*
|
|
663
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
721
|
+
* 展现策略,All时显示所有
|
|
664
722
|
*/
|
|
665
|
-
|
|
723
|
+
DisplayPolicy?: string;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* 集群计费相关信息
|
|
727
|
+
*/
|
|
728
|
+
export interface ChargeProperties {
|
|
666
729
|
/**
|
|
667
|
-
*
|
|
730
|
+
* 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
|
|
668
731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
669
732
|
*/
|
|
670
|
-
|
|
733
|
+
ChargeType?: string;
|
|
671
734
|
/**
|
|
672
|
-
*
|
|
735
|
+
* 是否自动续费,1表示自动续费开启
|
|
673
736
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
674
737
|
*/
|
|
675
|
-
|
|
738
|
+
RenewFlag?: number;
|
|
676
739
|
/**
|
|
677
|
-
*
|
|
740
|
+
* 计费时间长度
|
|
678
741
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
742
|
*/
|
|
680
|
-
|
|
743
|
+
TimeSpan?: number;
|
|
681
744
|
/**
|
|
682
|
-
*
|
|
745
|
+
* 计费时间单位,“m”表示月等
|
|
683
746
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
684
747
|
*/
|
|
685
|
-
|
|
748
|
+
TimeUnit?: string;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* DescribeWorkloadGroup请求参数结构体
|
|
752
|
+
*/
|
|
753
|
+
export interface DescribeWorkloadGroupRequest {
|
|
686
754
|
/**
|
|
687
|
-
*
|
|
688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
+
* 集群id
|
|
689
756
|
*/
|
|
690
|
-
|
|
757
|
+
InstanceId: string;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* DestroyInstance返回参数结构体
|
|
761
|
+
*/
|
|
762
|
+
export interface DestroyInstanceResponse {
|
|
691
763
|
/**
|
|
692
|
-
*
|
|
693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
764
|
+
* 流程ID
|
|
694
765
|
*/
|
|
695
|
-
|
|
766
|
+
FlowId?: string;
|
|
696
767
|
/**
|
|
697
|
-
*
|
|
698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
768
|
+
* 集群ID
|
|
699
769
|
*/
|
|
700
|
-
|
|
770
|
+
InstanceId?: string;
|
|
701
771
|
/**
|
|
702
|
-
*
|
|
703
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
772
|
+
* 错误信息
|
|
704
773
|
*/
|
|
705
|
-
|
|
774
|
+
ErrorMsg?: string;
|
|
706
775
|
/**
|
|
707
|
-
*
|
|
708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
776
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
709
777
|
*/
|
|
710
|
-
|
|
778
|
+
RequestId?: string;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* DescribeSqlApis请求参数结构体
|
|
782
|
+
*/
|
|
783
|
+
export interface DescribeSqlApisRequest {
|
|
711
784
|
/**
|
|
712
|
-
*
|
|
713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
785
|
+
* 用户链接来自的 IP
|
|
714
786
|
*/
|
|
715
|
-
|
|
787
|
+
WhiteHost?: string;
|
|
716
788
|
/**
|
|
717
|
-
*
|
|
718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
789
|
+
* catalog名称
|
|
719
790
|
*/
|
|
720
|
-
|
|
791
|
+
Catalog?: string;
|
|
721
792
|
/**
|
|
722
|
-
*
|
|
723
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
793
|
+
* catalog集合
|
|
724
794
|
*/
|
|
725
|
-
|
|
795
|
+
Catalogs?: Array<string>;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* ModifySecurityGroups请求参数结构体
|
|
799
|
+
*/
|
|
800
|
+
export interface ModifySecurityGroupsRequest {
|
|
726
801
|
/**
|
|
727
|
-
*
|
|
728
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
802
|
+
* 集群id
|
|
729
803
|
*/
|
|
730
|
-
|
|
804
|
+
InstanceId: string;
|
|
731
805
|
/**
|
|
732
|
-
*
|
|
733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
806
|
+
* 修改前的安全组信息
|
|
734
807
|
*/
|
|
735
|
-
|
|
808
|
+
OldSecurityGroupIds?: Array<string>;
|
|
736
809
|
/**
|
|
737
|
-
*
|
|
738
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
810
|
+
* 修改后的安全组信息
|
|
739
811
|
*/
|
|
740
|
-
|
|
812
|
+
ModifySecurityGroupIds?: Array<string>;
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* ModifyUserPrivilegesV3请求参数结构体
|
|
816
|
+
*/
|
|
817
|
+
export interface ModifyUserPrivilegesV3Request {
|
|
741
818
|
/**
|
|
742
|
-
*
|
|
819
|
+
* 集群id
|
|
820
|
+
*/
|
|
821
|
+
InstanceId: string;
|
|
822
|
+
/**
|
|
823
|
+
* 用户名
|
|
824
|
+
*/
|
|
825
|
+
UserName: string;
|
|
826
|
+
/**
|
|
827
|
+
* 用户权限
|
|
828
|
+
*/
|
|
829
|
+
UserPrivileges: UpdateUserPrivileges;
|
|
830
|
+
/**
|
|
831
|
+
* 用户链接来自的 IP
|
|
832
|
+
*/
|
|
833
|
+
WhiteHost?: string;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* 集群内节点的规格磁盘规格描述
|
|
837
|
+
*/
|
|
838
|
+
export interface AttachCBSSpec {
|
|
839
|
+
/**
|
|
840
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
841
|
+
*/
|
|
842
|
+
DiskType?: string;
|
|
843
|
+
/**
|
|
844
|
+
* 磁盘容量,单位G
|
|
845
|
+
*/
|
|
846
|
+
DiskSize?: number;
|
|
847
|
+
/**
|
|
848
|
+
* 磁盘总数
|
|
849
|
+
*/
|
|
850
|
+
DiskCount?: number;
|
|
851
|
+
/**
|
|
852
|
+
* 描述
|
|
853
|
+
*/
|
|
854
|
+
DiskDesc?: string;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* 数据库审计
|
|
858
|
+
*/
|
|
859
|
+
export interface DataBaseAuditRecord {
|
|
860
|
+
/**
|
|
861
|
+
* 查询用户
|
|
743
862
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
744
863
|
*/
|
|
745
|
-
|
|
864
|
+
OsUser?: string;
|
|
746
865
|
/**
|
|
747
|
-
*
|
|
866
|
+
* 查询ID
|
|
748
867
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
749
868
|
*/
|
|
750
|
-
|
|
869
|
+
InitialQueryId?: string;
|
|
751
870
|
/**
|
|
752
|
-
*
|
|
871
|
+
* SQL语句
|
|
753
872
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
754
873
|
*/
|
|
755
|
-
|
|
874
|
+
Sql?: string;
|
|
756
875
|
/**
|
|
757
|
-
*
|
|
758
|
-
注:这里返回类型实际为map[string]struct类型,并非显示的string类型,可以参考“示例值”进行数据的解析。
|
|
876
|
+
* 开始时间
|
|
759
877
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
878
|
*/
|
|
761
|
-
|
|
879
|
+
QueryStartTime?: string;
|
|
880
|
+
/**
|
|
881
|
+
* 执行耗时
|
|
882
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
883
|
+
*/
|
|
884
|
+
DurationMs?: number;
|
|
885
|
+
/**
|
|
886
|
+
* 读取行数
|
|
887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
888
|
+
*/
|
|
889
|
+
ReadRows?: number;
|
|
890
|
+
/**
|
|
891
|
+
* 读取字节数
|
|
892
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
893
|
+
*/
|
|
894
|
+
ResultRows?: number;
|
|
895
|
+
/**
|
|
896
|
+
* 结果字节数
|
|
897
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
898
|
+
*/
|
|
899
|
+
ResultBytes?: number;
|
|
900
|
+
/**
|
|
901
|
+
* 内存
|
|
902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
903
|
+
*/
|
|
904
|
+
MemoryUsage?: number;
|
|
905
|
+
/**
|
|
906
|
+
* 初始查询IP
|
|
907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
908
|
+
*/
|
|
909
|
+
InitialAddress?: string;
|
|
910
|
+
/**
|
|
911
|
+
* 数据库
|
|
912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
913
|
+
*/
|
|
914
|
+
DbName?: string;
|
|
915
|
+
/**
|
|
916
|
+
* sql类型
|
|
917
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
918
|
+
*/
|
|
919
|
+
SqlType?: string;
|
|
920
|
+
/**
|
|
921
|
+
* catalog名称
|
|
922
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
923
|
+
*/
|
|
924
|
+
Catalog?: string;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* DescribeSlowQueryRecords返回参数结构体
|
|
928
|
+
*/
|
|
929
|
+
export interface DescribeSlowQueryRecordsResponse {
|
|
930
|
+
/**
|
|
931
|
+
* 总数
|
|
932
|
+
*/
|
|
933
|
+
TotalCount?: number;
|
|
934
|
+
/**
|
|
935
|
+
* 记录列表
|
|
936
|
+
*/
|
|
937
|
+
SlowQueryRecords?: Array<SlowQueryRecord>;
|
|
938
|
+
/**
|
|
939
|
+
* 所有数据库名
|
|
940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
941
|
+
*/
|
|
942
|
+
DBNameList?: Array<string>;
|
|
943
|
+
/**
|
|
944
|
+
* 所有catalog名
|
|
945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
946
|
+
*/
|
|
947
|
+
CatalogNameList?: Array<string>;
|
|
948
|
+
/**
|
|
949
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
950
|
+
*/
|
|
951
|
+
RequestId?: string;
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* 资源组绑定的用户信息,需要username和host信息进行授权
|
|
955
|
+
*/
|
|
956
|
+
export interface BindUser {
|
|
957
|
+
/**
|
|
958
|
+
* 用户名
|
|
959
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
960
|
+
*/
|
|
961
|
+
UserName?: string;
|
|
962
|
+
/**
|
|
963
|
+
* 主机信息
|
|
964
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
965
|
+
*/
|
|
966
|
+
Host?: string;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* DescribeRegionZone返回参数结构体
|
|
970
|
+
*/
|
|
971
|
+
export interface DescribeRegionZoneResponse {
|
|
972
|
+
/**
|
|
973
|
+
* 地域列表
|
|
974
|
+
*/
|
|
975
|
+
Items?: Array<RegionAreaInfo>;
|
|
976
|
+
/**
|
|
977
|
+
* 内核版本列表
|
|
978
|
+
*/
|
|
979
|
+
Versions?: Array<string>;
|
|
980
|
+
/**
|
|
981
|
+
* 网络规则
|
|
982
|
+
*/
|
|
983
|
+
VpcRule?: string;
|
|
984
|
+
/**
|
|
985
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
986
|
+
*/
|
|
987
|
+
RequestId?: string;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* DescribeInstanceState返回参数结构体
|
|
991
|
+
*/
|
|
992
|
+
export interface DescribeInstanceStateResponse {
|
|
993
|
+
/**
|
|
994
|
+
* 集群状态,例如:Serving
|
|
995
|
+
*/
|
|
996
|
+
InstanceState?: string;
|
|
997
|
+
/**
|
|
998
|
+
* 集群操作创建时间
|
|
999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1000
|
+
*/
|
|
1001
|
+
FlowCreateTime?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* 集群操作名称
|
|
1004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
|
+
*/
|
|
1006
|
+
FlowName?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* 集群操作进度
|
|
1009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
|
+
*/
|
|
1011
|
+
FlowProgress?: number;
|
|
1012
|
+
/**
|
|
1013
|
+
* 集群状态描述,例如:运行中
|
|
1014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1015
|
+
*/
|
|
1016
|
+
InstanceStateDesc?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* 集群流程错误信息,例如:“创建失败,资源不足”
|
|
1019
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
|
+
*/
|
|
1021
|
+
FlowMsg?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1024
|
+
*/
|
|
1025
|
+
RequestId?: string;
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* DescribeInstanceNodesInfo请求参数结构体
|
|
1029
|
+
*/
|
|
1030
|
+
export interface DescribeInstanceNodesInfoRequest {
|
|
1031
|
+
/**
|
|
1032
|
+
* 集群id
|
|
1033
|
+
*/
|
|
1034
|
+
InstanceID: string;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* DescribeDatabaseAuditDownload请求参数结构体
|
|
1038
|
+
*/
|
|
1039
|
+
export interface DescribeDatabaseAuditDownloadRequest {
|
|
1040
|
+
/**
|
|
1041
|
+
* 实例ID
|
|
1042
|
+
*/
|
|
1043
|
+
InstanceId: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* 开始时间
|
|
1046
|
+
*/
|
|
1047
|
+
StartTime: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* 结束时间
|
|
1050
|
+
*/
|
|
1051
|
+
EndTime: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* 分页
|
|
1054
|
+
*/
|
|
1055
|
+
PageSize: number;
|
|
1056
|
+
/**
|
|
1057
|
+
* 分页
|
|
1058
|
+
*/
|
|
1059
|
+
PageNum: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* 排序参数
|
|
1062
|
+
*/
|
|
1063
|
+
OrderType?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* 用户
|
|
1066
|
+
*/
|
|
1067
|
+
User?: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* 数据库
|
|
1070
|
+
*/
|
|
1071
|
+
DbName?: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* sql类型
|
|
1074
|
+
*/
|
|
1075
|
+
SqlType?: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* sql语句
|
|
1078
|
+
*/
|
|
1079
|
+
Sql?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* 用户 多选
|
|
1082
|
+
*/
|
|
1083
|
+
Users?: Array<string>;
|
|
1084
|
+
/**
|
|
1085
|
+
* 数据库 多选
|
|
1086
|
+
*/
|
|
1087
|
+
DbNames?: Array<string>;
|
|
1088
|
+
/**
|
|
1089
|
+
* sql类型 多选
|
|
1090
|
+
*/
|
|
1091
|
+
SqlTypes?: Array<string>;
|
|
1092
|
+
/**
|
|
1093
|
+
* catalog名称 (多选)
|
|
1094
|
+
*/
|
|
1095
|
+
Catalogs?: Array<string>;
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* DescribeGoodsDetail请求参数结构体
|
|
1099
|
+
*/
|
|
1100
|
+
export interface DescribeGoodsDetailRequest {
|
|
1101
|
+
/**
|
|
1102
|
+
* 操作类型,“CREATE"表示创建、”MODIFY"表示变更配置、“RENEW"表示续费
|
|
1103
|
+
*/
|
|
1104
|
+
Case: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* 可用区,例如"ap-guangzhou-3"表示广州三区等
|
|
1107
|
+
*/
|
|
1108
|
+
Zone?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* 集群的高可用标记,true表示为高可用集群
|
|
1111
|
+
*/
|
|
1112
|
+
HaFlag?: boolean;
|
|
1113
|
+
/**
|
|
1114
|
+
* 高可用类型: 0:非高可用 1:读高可用 2:读写高可用。
|
|
1115
|
+
*/
|
|
1116
|
+
HaType?: number;
|
|
1117
|
+
/**
|
|
1118
|
+
* 用户集群的私有网络
|
|
1119
|
+
*/
|
|
1120
|
+
UserVPCId?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* 用户集群的子网
|
|
1123
|
+
*/
|
|
1124
|
+
UserSubnetId?: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* 用户集群的版本,例如“20.7.2.30”等
|
|
1127
|
+
*/
|
|
1128
|
+
ProductVersion?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* 集群ID,创建时为空,其他情况必须存在
|
|
1131
|
+
*/
|
|
1132
|
+
InstanceId?: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* 集群资源规格描述
|
|
1135
|
+
*/
|
|
1136
|
+
Resources?: Array<ResourceNodeSpec>;
|
|
1137
|
+
/**
|
|
1138
|
+
* 集群规格修改参数
|
|
1139
|
+
*/
|
|
1140
|
+
ModifySpec?: ResourceNodeSpec;
|
|
1141
|
+
/**
|
|
1142
|
+
* 计费信息
|
|
1143
|
+
*/
|
|
1144
|
+
ChargeProperties?: ChargeProperties;
|
|
1145
|
+
/**
|
|
1146
|
+
* 创建集群时需要填写InstanceName
|
|
1147
|
+
*/
|
|
1148
|
+
InstanceName?: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* 购买页填写的标签列表
|
|
1151
|
+
*/
|
|
1152
|
+
Tags?: Array<Tag>;
|
|
1153
|
+
/**
|
|
1154
|
+
* CLS日志集ID
|
|
1155
|
+
*/
|
|
1156
|
+
ClsLogSetId?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* 用户子网剩余ip数量
|
|
1159
|
+
*/
|
|
1160
|
+
UserSubnetIPNum?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* COS桶名称
|
|
1163
|
+
*/
|
|
1164
|
+
CosBucketName?: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* 按量计费转包年包月
|
|
1167
|
+
*/
|
|
1168
|
+
HourToPrepaid?: boolean;
|
|
1169
|
+
/**
|
|
1170
|
+
* base64密码
|
|
1171
|
+
*/
|
|
1172
|
+
DorisUserPwd?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* 日志的类型,es或者cls_topic
|
|
1175
|
+
*/
|
|
1176
|
+
LogType?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,表名改为以小写存储;2:不敏感,以小写进行比较
|
|
1179
|
+
*/
|
|
1180
|
+
CaseSensitive?: number;
|
|
1181
|
+
/**
|
|
1182
|
+
* true为滚动重启 false为批量重启
|
|
1183
|
+
*/
|
|
1184
|
+
RollingRestart?: boolean;
|
|
1185
|
+
/**
|
|
1186
|
+
* 是否为多可用区
|
|
1187
|
+
*/
|
|
1188
|
+
EnableMultiZones?: boolean;
|
|
1189
|
+
/**
|
|
1190
|
+
* 用户多可用区的网络信息
|
|
1191
|
+
*/
|
|
1192
|
+
UserMultiZoneInfos?: Array<NetworkInfo>;
|
|
1193
|
+
/**
|
|
1194
|
+
* 扩展字段
|
|
1195
|
+
*/
|
|
1196
|
+
Details?: InstanceDetail;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* ResizeDisk请求参数结构体
|
|
1200
|
+
*/
|
|
1201
|
+
export interface ResizeDiskRequest {
|
|
1202
|
+
/**
|
|
1203
|
+
* 集群ID
|
|
1204
|
+
*/
|
|
1205
|
+
InstanceId: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
1208
|
+
*/
|
|
1209
|
+
Type: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* 云盘大小
|
|
1212
|
+
*/
|
|
1213
|
+
DiskSize: number;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* ModifyWorkloadGroupStatus请求参数结构体
|
|
1217
|
+
*/
|
|
1218
|
+
export interface ModifyWorkloadGroupStatusRequest {
|
|
1219
|
+
/**
|
|
1220
|
+
* 集群id
|
|
1221
|
+
*/
|
|
1222
|
+
InstanceId: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* 是否开启资源组:open-开启、close-关闭
|
|
1225
|
+
*/
|
|
1226
|
+
OperationType?: string;
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* DescribeSqlApis返回参数结构体
|
|
1230
|
+
*/
|
|
1231
|
+
export interface DescribeSqlApisResponse {
|
|
1232
|
+
/**
|
|
1233
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1234
|
+
*/
|
|
1235
|
+
RequestId?: string;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* 慢查询记录
|
|
1239
|
+
*/
|
|
1240
|
+
export interface SlowQueryRecord {
|
|
1241
|
+
/**
|
|
1242
|
+
* 查询用户
|
|
1243
|
+
*/
|
|
1244
|
+
OsUser?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* 查询ID
|
|
1247
|
+
*/
|
|
1248
|
+
InitialQueryId?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* SQL语句
|
|
1251
|
+
*/
|
|
1252
|
+
Sql?: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* 开始时间
|
|
1255
|
+
*/
|
|
1256
|
+
QueryStartTime?: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* 执行耗时
|
|
1259
|
+
*/
|
|
1260
|
+
DurationMs?: number;
|
|
1261
|
+
/**
|
|
1262
|
+
* 读取行数
|
|
1263
|
+
*/
|
|
1264
|
+
ReadRows?: number;
|
|
1265
|
+
/**
|
|
1266
|
+
* 读取字节数
|
|
1267
|
+
*/
|
|
1268
|
+
ResultRows?: number;
|
|
1269
|
+
/**
|
|
1270
|
+
* 结果字节数
|
|
1271
|
+
*/
|
|
1272
|
+
ResultBytes?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* 内存
|
|
1275
|
+
*/
|
|
1276
|
+
MemoryUsage?: number;
|
|
1277
|
+
/**
|
|
1278
|
+
* 初始查询IP
|
|
1279
|
+
*/
|
|
1280
|
+
InitialAddress?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* 数据库名
|
|
1283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1284
|
+
*/
|
|
1285
|
+
DbName?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* 是否是查询,0:否,1:查询语句
|
|
1288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1289
|
+
*/
|
|
1290
|
+
IsQuery?: number;
|
|
1291
|
+
/**
|
|
1292
|
+
* ResultBytes的MB格式
|
|
1293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1294
|
+
*/
|
|
1295
|
+
ResultBytesMB?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* MemoryUsage的MB表示
|
|
1298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1299
|
+
*/
|
|
1300
|
+
MemoryUsageMB?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* DurationMs的秒表示
|
|
1303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1304
|
+
*/
|
|
1305
|
+
DurationSec?: number;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* DescribeSlowQueryRecordsDownload返回参数结构体
|
|
1309
|
+
*/
|
|
1310
|
+
export interface DescribeSlowQueryRecordsDownloadResponse {
|
|
1311
|
+
/**
|
|
1312
|
+
* cos地址
|
|
1313
|
+
*/
|
|
1314
|
+
CosUrl?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1317
|
+
*/
|
|
1318
|
+
RequestId?: string;
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* ModifyInstanceKeyValConfigs返回参数结构体
|
|
1322
|
+
*/
|
|
1323
|
+
export interface ModifyInstanceKeyValConfigsResponse {
|
|
1324
|
+
/**
|
|
1325
|
+
* 错误信息
|
|
1326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1327
|
+
*/
|
|
1328
|
+
ErrorMsg?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* ID
|
|
1331
|
+
*/
|
|
1332
|
+
FlowId?: number;
|
|
1333
|
+
/**
|
|
1334
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1335
|
+
*/
|
|
1336
|
+
RequestId?: string;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* DescribeDatabaseAuditRecords返回参数结构体
|
|
1340
|
+
*/
|
|
1341
|
+
export interface DescribeDatabaseAuditRecordsResponse {
|
|
1342
|
+
/**
|
|
1343
|
+
* 总数
|
|
1344
|
+
*/
|
|
1345
|
+
TotalCount?: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* 记录列表
|
|
1348
|
+
*/
|
|
1349
|
+
SlowQueryRecords?: DataBaseAuditRecord;
|
|
1350
|
+
/**
|
|
1351
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1352
|
+
*/
|
|
1353
|
+
RequestId?: string;
|
|
1354
|
+
}
|
|
1355
|
+
/**
|
|
1356
|
+
* 实例节点描述信息
|
|
1357
|
+
*/
|
|
1358
|
+
export interface InstanceNode {
|
|
1359
|
+
/**
|
|
1360
|
+
* IP地址
|
|
1361
|
+
*/
|
|
1362
|
+
Ip?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* 机型,如 S1
|
|
1365
|
+
*/
|
|
1366
|
+
Spec?: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* cpu核数
|
|
1369
|
+
*/
|
|
1370
|
+
Core?: number;
|
|
1371
|
+
/**
|
|
1372
|
+
* 内存大小
|
|
1373
|
+
*/
|
|
1374
|
+
Memory?: number;
|
|
1375
|
+
/**
|
|
1376
|
+
* 磁盘类型
|
|
1377
|
+
*/
|
|
1378
|
+
DiskType?: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* 磁盘大小
|
|
1381
|
+
*/
|
|
1382
|
+
DiskSize?: number;
|
|
1383
|
+
/**
|
|
1384
|
+
* 所属clickhouse cluster名称
|
|
1385
|
+
*/
|
|
1386
|
+
Role?: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* 状态
|
|
1389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1390
|
+
*/
|
|
1391
|
+
Status?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* rip
|
|
1394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1395
|
+
*/
|
|
1396
|
+
Rip?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* FE节点角色
|
|
1399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1400
|
+
*/
|
|
1401
|
+
FeRole?: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* UUID
|
|
1404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1405
|
+
*/
|
|
1406
|
+
UUID?: string;
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* 实例描述信息
|
|
1410
|
+
*/
|
|
1411
|
+
export interface InstanceInfo {
|
|
1412
|
+
/**
|
|
1413
|
+
* 集群实例ID, "cdw-xxxx" 字符串类型
|
|
1414
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1415
|
+
*/
|
|
1416
|
+
InstanceId?: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* 集群实例名称
|
|
1419
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1420
|
+
*/
|
|
1421
|
+
InstanceName?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* 状态,
|
|
1424
|
+
Init 创建中; Serving 运行中;
|
|
1425
|
+
Deleted已销毁;Deleting 销毁中;
|
|
1426
|
+
Modify 集群变更中;
|
|
1427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1428
|
+
*/
|
|
1429
|
+
Status?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* 版本
|
|
1432
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1433
|
+
*/
|
|
1434
|
+
Version?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* 地域, ap-guangzhou
|
|
1437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1438
|
+
*/
|
|
1439
|
+
Region?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* 可用区, ap-guangzhou-3
|
|
1442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1443
|
+
*/
|
|
1444
|
+
Zone?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* 私有网络名称
|
|
1447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1448
|
+
*/
|
|
1449
|
+
VpcId?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* 子网名称
|
|
1452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1453
|
+
*/
|
|
1454
|
+
SubnetId?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* 付费类型,"hour", "prepay"
|
|
1457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1458
|
+
*/
|
|
1459
|
+
PayMode?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* 创建时间
|
|
1462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1463
|
+
*/
|
|
1464
|
+
CreateTime?: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* 过期时间
|
|
1467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1468
|
+
*/
|
|
1469
|
+
ExpireTime?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* 数据节点描述信息
|
|
1472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1473
|
+
*/
|
|
1474
|
+
MasterSummary?: NodesSummary;
|
|
1475
|
+
/**
|
|
1476
|
+
* zookeeper节点描述信息
|
|
1477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1478
|
+
*/
|
|
1479
|
+
CoreSummary?: NodesSummary;
|
|
1480
|
+
/**
|
|
1481
|
+
* 高可用,“true" "false"
|
|
1482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1483
|
+
*/
|
|
1484
|
+
HA?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* 高可用类型:
|
|
1487
|
+
0:非高可用
|
|
1488
|
+
1:读高可用
|
|
1489
|
+
2:读写高可用。
|
|
1490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1491
|
+
*/
|
|
1492
|
+
HaType?: number;
|
|
1493
|
+
/**
|
|
1494
|
+
* 访问地址,例如 "10.0.0.1:9000"
|
|
1495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1496
|
+
*/
|
|
1497
|
+
AccessInfo?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* 记录ID,数值型
|
|
1500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1501
|
+
*/
|
|
1502
|
+
Id?: number;
|
|
1503
|
+
/**
|
|
1504
|
+
* regionId, 表示地域
|
|
1505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1506
|
+
*/
|
|
1507
|
+
RegionId?: number;
|
|
1508
|
+
/**
|
|
1509
|
+
* 可用区说明,例如 "广州二区"
|
|
1510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1511
|
+
*/
|
|
1512
|
+
ZoneDesc?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* 错误流程说明信息
|
|
1515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1516
|
+
*/
|
|
1517
|
+
FlowMsg?: string;
|
|
1518
|
+
/**
|
|
1519
|
+
* 状态描述,例如“运行中”等
|
|
1520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1521
|
+
*/
|
|
1522
|
+
StatusDesc?: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* 自动续费标记
|
|
1525
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1526
|
+
*/
|
|
1527
|
+
RenewFlag?: boolean;
|
|
1528
|
+
/**
|
|
1529
|
+
* 标签列表
|
|
1530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1531
|
+
*/
|
|
1532
|
+
Tags?: Array<Tag>;
|
|
1533
|
+
/**
|
|
1534
|
+
* 监控信息
|
|
1535
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1536
|
+
*/
|
|
1537
|
+
Monitor?: string;
|
|
1538
|
+
/**
|
|
1539
|
+
* 是否开通日志
|
|
1540
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1541
|
+
*/
|
|
1542
|
+
HasClsTopic?: boolean;
|
|
1543
|
+
/**
|
|
1544
|
+
* 日志主题ID
|
|
1545
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1546
|
+
*/
|
|
1547
|
+
ClsTopicId?: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* 日志集ID
|
|
1550
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1551
|
+
*/
|
|
1552
|
+
ClsLogSetId?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* 是否支持xml配置管理
|
|
1555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1556
|
+
*/
|
|
1557
|
+
EnableXMLConfig?: number;
|
|
1558
|
+
/**
|
|
1559
|
+
* 区域
|
|
1560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1561
|
+
*/
|
|
1562
|
+
RegionDesc?: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* 弹性网卡地址
|
|
1565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1566
|
+
*/
|
|
1567
|
+
Eip?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* 冷热分层系数
|
|
1570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1571
|
+
*/
|
|
1572
|
+
CosMoveFactor?: number;
|
|
1573
|
+
/**
|
|
1574
|
+
* external/local/yunti
|
|
1575
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1576
|
+
*/
|
|
1577
|
+
Kind?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* cos桶
|
|
1580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1581
|
+
*/
|
|
1582
|
+
CosBucketName?: string;
|
|
1583
|
+
/**
|
|
1584
|
+
* cbs
|
|
1585
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1586
|
+
*/
|
|
1587
|
+
CanAttachCbs?: boolean;
|
|
1588
|
+
/**
|
|
1589
|
+
* 小版本
|
|
1590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1591
|
+
*/
|
|
1592
|
+
BuildVersion?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* 组件信息
|
|
1595
|
+
注:这里返回类型实际为map[string]struct类型,并非显示的string类型,可以参考“示例值”进行数据的解析。
|
|
1596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1597
|
+
*/
|
|
1598
|
+
Components?: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* 判断审计日志表是否有catalog字段
|
|
1601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1602
|
+
* @deprecated
|
|
1603
|
+
*/
|
|
1604
|
+
IfExistCatalog?: number;
|
|
1605
|
+
/**
|
|
1606
|
+
* 页面特性,用于前端屏蔽一些页面入口
|
|
1607
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1608
|
+
*/
|
|
1609
|
+
Characteristic?: Array<string>;
|
|
1610
|
+
/**
|
|
1611
|
+
* 超时时间 单位s
|
|
1612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1613
|
+
*/
|
|
1614
|
+
RestartTimeout?: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* 内核优雅重启超时时间,如果为-1说明未设置
|
|
1617
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1618
|
+
*/
|
|
1619
|
+
GraceShutdownWaitSeconds?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* 表名大小写是否敏感,0:敏感;1:不敏感,以小写进行比较;2:不敏感,表名改为以小写存储
|
|
1622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1623
|
+
*/
|
|
1624
|
+
CaseSensitive?: number;
|
|
1625
|
+
/**
|
|
1626
|
+
* 用户是否可以绑定安全组
|
|
1627
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1628
|
+
*/
|
|
1629
|
+
IsWhiteSGs?: boolean;
|
|
1630
|
+
/**
|
|
1631
|
+
* 已绑定的安全组信息
|
|
1632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1633
|
+
*/
|
|
1634
|
+
BindSGs?: Array<string>;
|
|
1635
|
+
/**
|
|
1636
|
+
* 是否为多可用区
|
|
1637
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1638
|
+
*/
|
|
1639
|
+
EnableMultiZones?: boolean;
|
|
1640
|
+
/**
|
|
1641
|
+
* 用户可用区和子网信息
|
|
1642
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1643
|
+
*/
|
|
1644
|
+
UserNetworkInfos?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* 是否启用冷热分层。0:未开启 1:已开启
|
|
1647
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1648
|
+
*/
|
|
1649
|
+
EnableCoolDown?: number;
|
|
1650
|
+
/**
|
|
1651
|
+
* 冷热分层使用COS桶
|
|
1652
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1653
|
+
*/
|
|
1654
|
+
CoolDownBucket?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* 实例扩展信息
|
|
1657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1658
|
+
*/
|
|
1659
|
+
Details?: InstanceDetail;
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* DescribeUserBindWorkloadGroup请求参数结构体
|
|
1663
|
+
*/
|
|
1664
|
+
export interface DescribeUserBindWorkloadGroupRequest {
|
|
1665
|
+
/**
|
|
1666
|
+
* 集群id
|
|
1667
|
+
*/
|
|
1668
|
+
InstanceId?: string;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* DescribeInstances请求参数结构体
|
|
1672
|
+
*/
|
|
1673
|
+
export interface DescribeInstancesRequest {
|
|
1674
|
+
/**
|
|
1675
|
+
* 搜索的集群id名称
|
|
1676
|
+
*/
|
|
1677
|
+
SearchInstanceId?: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* 搜索的集群name
|
|
1680
|
+
*/
|
|
1681
|
+
SearchInstanceName?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* 分页参数,第一页为0,第二页为10
|
|
1684
|
+
*/
|
|
1685
|
+
Offset?: number;
|
|
1686
|
+
/**
|
|
1687
|
+
* 分页参数,分页步长,默认为10
|
|
1688
|
+
*/
|
|
1689
|
+
Limit?: number;
|
|
1690
|
+
/**
|
|
1691
|
+
* 搜索标签列表
|
|
1692
|
+
*/
|
|
1693
|
+
SearchTags?: Array<SearchTags>;
|
|
1694
|
+
}
|
|
1695
|
+
/**
|
|
1696
|
+
* CreateWorkloadGroup返回参数结构体
|
|
1697
|
+
*/
|
|
1698
|
+
export interface CreateWorkloadGroupResponse {
|
|
1699
|
+
/**
|
|
1700
|
+
* 错误信息
|
|
1701
|
+
*/
|
|
1702
|
+
ErrorMsg?: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1705
|
+
*/
|
|
1706
|
+
RequestId?: string;
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1709
|
+
* DescribeClusterConfigs请求参数结构体
|
|
1710
|
+
*/
|
|
1711
|
+
export interface DescribeClusterConfigsRequest {
|
|
1712
|
+
/**
|
|
1713
|
+
* 集群实例ID
|
|
1714
|
+
*/
|
|
1715
|
+
InstanceId: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* 0 公有云查询;1青鹅查询,青鹅查询显示所有需要展示的
|
|
1718
|
+
*/
|
|
1719
|
+
ConfigType?: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* 模糊搜索关键字文件
|
|
1722
|
+
*/
|
|
1723
|
+
FileName?: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* 0集群维度 1节点维度
|
|
1726
|
+
*/
|
|
1727
|
+
ClusterConfigType?: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* eth0的ip地址
|
|
1730
|
+
*/
|
|
1731
|
+
IPAddress?: string;
|
|
1732
|
+
}
|
|
1733
|
+
/**
|
|
1734
|
+
* CreateInstanceNew返回参数结构体
|
|
1735
|
+
*/
|
|
1736
|
+
export interface CreateInstanceNewResponse {
|
|
1737
|
+
/**
|
|
1738
|
+
* 流程ID
|
|
1739
|
+
*/
|
|
1740
|
+
FlowId?: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* 实例ID
|
|
1743
|
+
*/
|
|
1744
|
+
InstanceId?: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* 错误信息
|
|
1747
|
+
*/
|
|
1748
|
+
ErrorMsg?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1751
|
+
*/
|
|
1752
|
+
RequestId?: string;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* ModifyWorkloadGroup返回参数结构体
|
|
1756
|
+
*/
|
|
1757
|
+
export interface ModifyWorkloadGroupResponse {
|
|
1758
|
+
/**
|
|
1759
|
+
* 错误信息
|
|
1760
|
+
*/
|
|
1761
|
+
ErrorMsg?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1764
|
+
*/
|
|
1765
|
+
RequestId?: string;
|
|
1766
|
+
}
|
|
1767
|
+
/**
|
|
1768
|
+
* DescribeRestoreTaskDetail请求参数结构体
|
|
1769
|
+
*/
|
|
1770
|
+
export interface DescribeRestoreTaskDetailRequest {
|
|
1771
|
+
/**
|
|
1772
|
+
* 集群id
|
|
1773
|
+
*/
|
|
1774
|
+
InstanceId: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 任务id
|
|
1777
|
+
*/
|
|
1778
|
+
BackUpJobId: number;
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* DescribeInstance返回参数结构体
|
|
1782
|
+
*/
|
|
1783
|
+
export interface DescribeInstanceResponse {
|
|
1784
|
+
/**
|
|
1785
|
+
* 实例描述信息
|
|
1786
|
+
*/
|
|
1787
|
+
InstanceInfo?: InstanceInfo;
|
|
1788
|
+
/**
|
|
1789
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1790
|
+
*/
|
|
1791
|
+
RequestId?: string;
|
|
1792
|
+
}
|
|
1793
|
+
/**
|
|
1794
|
+
* FitClsLog请求参数结构体
|
|
1795
|
+
*/
|
|
1796
|
+
export interface FitClsLogRequest {
|
|
1797
|
+
/**
|
|
1798
|
+
* 集群ID,例如cdwch-xxxx
|
|
1799
|
+
*/
|
|
1800
|
+
InstanceId: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* cls日志集ID
|
|
1803
|
+
*/
|
|
1804
|
+
ClsLogSetId: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* 日志的类型,es还是cls_topic
|
|
1807
|
+
*/
|
|
1808
|
+
LogType?: string;
|
|
1809
|
+
}
|
|
1810
|
+
/**
|
|
1811
|
+
* FitClsLog返回参数结构体
|
|
1812
|
+
*/
|
|
1813
|
+
export interface FitClsLogResponse {
|
|
1814
|
+
/**
|
|
1815
|
+
* 流程相关信息
|
|
1816
|
+
*/
|
|
1817
|
+
FlowId?: number;
|
|
1818
|
+
/**
|
|
1819
|
+
* 错误信息
|
|
1820
|
+
*/
|
|
1821
|
+
ErrorMsg?: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1824
|
+
*/
|
|
1825
|
+
RequestId?: string;
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* RestartClusterForNode请求参数结构体
|
|
1829
|
+
*/
|
|
1830
|
+
export interface RestartClusterForNodeRequest {
|
|
1831
|
+
/**
|
|
1832
|
+
* 集群ID,例如cdwch-xxxx
|
|
1833
|
+
*/
|
|
1834
|
+
InstanceId: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* 配置文件名称
|
|
1837
|
+
*/
|
|
1838
|
+
ConfigName: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* 每次重启的批次
|
|
1841
|
+
*/
|
|
1842
|
+
BatchSize?: number;
|
|
1843
|
+
/**
|
|
1844
|
+
* 重启节点
|
|
1845
|
+
*/
|
|
1846
|
+
NodeList?: Array<string>;
|
|
1847
|
+
/**
|
|
1848
|
+
* false表示非滚动重启,true表示滚动重启
|
|
1849
|
+
*/
|
|
1850
|
+
RollingRestart?: boolean;
|
|
1851
|
+
}
|
|
1852
|
+
/**
|
|
1853
|
+
* 列表页搜索的标记列表
|
|
1854
|
+
*/
|
|
1855
|
+
export interface SearchTags {
|
|
1856
|
+
/**
|
|
1857
|
+
* 标签的键
|
|
1858
|
+
*/
|
|
1859
|
+
TagKey?: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* 标签的值
|
|
1862
|
+
*/
|
|
1863
|
+
TagValue?: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
|
1866
|
+
*/
|
|
1867
|
+
AllValue?: number;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* DescribeFederationToken返回参数结构体
|
|
1871
|
+
*/
|
|
1872
|
+
export interface DescribeFederationTokenResponse {
|
|
1873
|
+
/**
|
|
1874
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1875
|
+
*/
|
|
1876
|
+
RequestId?: string;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* DescribeInstanceUsedSubnets请求参数结构体
|
|
1880
|
+
*/
|
|
1881
|
+
export interface DescribeInstanceUsedSubnetsRequest {
|
|
1882
|
+
/**
|
|
1883
|
+
* 集群id
|
|
1884
|
+
*/
|
|
1885
|
+
InstanceId: string;
|
|
1886
|
+
}
|
|
1887
|
+
/**
|
|
1888
|
+
* 额外参数
|
|
1889
|
+
*/
|
|
1890
|
+
export interface SpecExtra {
|
|
1891
|
+
/**
|
|
1892
|
+
* 要删除的shards
|
|
1893
|
+
* @deprecated
|
|
1894
|
+
*/
|
|
1895
|
+
DelShards?: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* 要删除的节点uip
|
|
1898
|
+
*/
|
|
1899
|
+
DelHosts?: string;
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* DescribeDatabaseAuditRecords请求参数结构体
|
|
1903
|
+
*/
|
|
1904
|
+
export interface DescribeDatabaseAuditRecordsRequest {
|
|
1905
|
+
/**
|
|
1906
|
+
* 实例ID
|
|
1907
|
+
*/
|
|
1908
|
+
InstanceId: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* 开始时间
|
|
1911
|
+
*/
|
|
1912
|
+
StartTime: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* 结束时间
|
|
1915
|
+
*/
|
|
1916
|
+
EndTime: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* 分页
|
|
1919
|
+
*/
|
|
1920
|
+
PageSize: number;
|
|
1921
|
+
/**
|
|
1922
|
+
* 分页
|
|
1923
|
+
*/
|
|
1924
|
+
PageNum: number;
|
|
1925
|
+
/**
|
|
1926
|
+
* 排序参数
|
|
1927
|
+
*/
|
|
1928
|
+
OrderType?: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* 用户
|
|
1931
|
+
*/
|
|
1932
|
+
User?: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* 数据库
|
|
1935
|
+
*/
|
|
1936
|
+
DbName?: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* sql类型
|
|
1939
|
+
*/
|
|
1940
|
+
SqlType?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* sql语句
|
|
1943
|
+
*/
|
|
1944
|
+
Sql?: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 用户 (多选)
|
|
1947
|
+
*/
|
|
1948
|
+
Users?: Array<string>;
|
|
1949
|
+
/**
|
|
1950
|
+
* 数据库 (多选)
|
|
1951
|
+
*/
|
|
1952
|
+
DbNames?: Array<string>;
|
|
1953
|
+
/**
|
|
1954
|
+
* sql类型 (多选)
|
|
1955
|
+
*/
|
|
1956
|
+
SqlTypes?: Array<string>;
|
|
1957
|
+
/**
|
|
1958
|
+
* catalog名称(多选)
|
|
1959
|
+
*/
|
|
1960
|
+
Catalogs?: Array<string>;
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* DescribeWorkloadGroup返回参数结构体
|
|
1964
|
+
*/
|
|
1965
|
+
export interface DescribeWorkloadGroupResponse {
|
|
1966
|
+
/**
|
|
1967
|
+
* 资源组信息
|
|
1968
|
+
*/
|
|
1969
|
+
WorkloadGroups?: Array<WorkloadGroupConfig>;
|
|
1970
|
+
/**
|
|
1971
|
+
* 是否开启资源组:开启-open、关闭-close
|
|
1972
|
+
*/
|
|
1973
|
+
Status?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* 错误信息
|
|
1976
|
+
*/
|
|
1977
|
+
ErrorMsg?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1980
|
+
*/
|
|
1981
|
+
RequestId?: string;
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* ModifySecurityGroups返回参数结构体
|
|
1985
|
+
*/
|
|
1986
|
+
export interface ModifySecurityGroupsResponse {
|
|
762
1987
|
/**
|
|
763
|
-
*
|
|
1988
|
+
* 错误信息
|
|
764
1989
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
765
|
-
* @deprecated
|
|
766
1990
|
*/
|
|
767
|
-
|
|
1991
|
+
ErrorMsg?: string;
|
|
768
1992
|
/**
|
|
769
|
-
*
|
|
770
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1993
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
771
1994
|
*/
|
|
772
|
-
|
|
1995
|
+
RequestId?: string;
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* DeleteWorkloadGroup返回参数结构体
|
|
1999
|
+
*/
|
|
2000
|
+
export interface DeleteWorkloadGroupResponse {
|
|
773
2001
|
/**
|
|
774
|
-
*
|
|
775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2002
|
+
* 错误信息
|
|
776
2003
|
*/
|
|
777
|
-
|
|
2004
|
+
ErrorMsg?: string;
|
|
778
2005
|
/**
|
|
779
|
-
*
|
|
780
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2006
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
781
2007
|
*/
|
|
782
|
-
|
|
2008
|
+
RequestId?: string;
|
|
2009
|
+
}
|
|
2010
|
+
/**
|
|
2011
|
+
* 用于返回XML格式的配置文件和内容以及其他配置文件有关的信息
|
|
2012
|
+
*/
|
|
2013
|
+
export interface ClusterConfigsInfoFromEMR {
|
|
783
2014
|
/**
|
|
784
|
-
*
|
|
785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2015
|
+
* 配置文件名称
|
|
786
2016
|
*/
|
|
787
|
-
|
|
2017
|
+
FileName?: string;
|
|
788
2018
|
/**
|
|
789
|
-
*
|
|
790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2019
|
+
* 配置文件对应的相关属性信息
|
|
791
2020
|
*/
|
|
792
|
-
|
|
2021
|
+
FileConf?: string;
|
|
793
2022
|
/**
|
|
794
|
-
*
|
|
795
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2023
|
+
* 配置文件对应的其他属性信息
|
|
796
2024
|
*/
|
|
797
|
-
|
|
2025
|
+
KeyConf?: string;
|
|
798
2026
|
/**
|
|
799
|
-
*
|
|
800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2027
|
+
* 配置文件的内容,base64编码
|
|
801
2028
|
*/
|
|
802
|
-
|
|
2029
|
+
OriParam?: string;
|
|
803
2030
|
/**
|
|
804
|
-
*
|
|
805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2031
|
+
* 用于表示当前配置文件是不是有过修改后没有重启,提醒用户需要重启
|
|
806
2032
|
*/
|
|
807
|
-
|
|
2033
|
+
NeedRestart?: number;
|
|
808
2034
|
/**
|
|
809
|
-
*
|
|
2035
|
+
* 配置文件路径
|
|
810
2036
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
811
2037
|
*/
|
|
812
|
-
|
|
2038
|
+
FilePath?: string;
|
|
813
2039
|
/**
|
|
814
|
-
*
|
|
2040
|
+
* 配置文件kv值
|
|
815
2041
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2042
|
+
* @deprecated
|
|
816
2043
|
*/
|
|
817
|
-
|
|
2044
|
+
FileKeyValues?: string;
|
|
818
2045
|
/**
|
|
819
|
-
*
|
|
2046
|
+
* 配置文件kv值
|
|
820
2047
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
821
2048
|
*/
|
|
822
|
-
|
|
2049
|
+
FileKeyValuesNew?: Array<ConfigKeyValue>;
|
|
823
2050
|
}
|
|
824
2051
|
/**
|
|
825
|
-
*
|
|
2052
|
+
* 可用区的地域大类描述
|
|
826
2053
|
*/
|
|
827
|
-
export interface
|
|
2054
|
+
export interface RegionAreaInfo {
|
|
828
2055
|
/**
|
|
829
|
-
*
|
|
2056
|
+
* 大类地域信息,如"south_china", "east_china"等
|
|
830
2057
|
*/
|
|
831
|
-
|
|
2058
|
+
Name: string;
|
|
832
2059
|
/**
|
|
833
|
-
*
|
|
2060
|
+
* 对应Name的描述,例如“华南地区”,“华东地区”等
|
|
834
2061
|
*/
|
|
835
|
-
|
|
2062
|
+
Desc: string;
|
|
836
2063
|
/**
|
|
837
|
-
*
|
|
2064
|
+
* 具体地域列表1
|
|
838
2065
|
*/
|
|
839
|
-
|
|
2066
|
+
Regions: Array<RegionInfo>;
|
|
840
2067
|
}
|
|
841
2068
|
/**
|
|
842
|
-
*
|
|
2069
|
+
* DestroyInstance请求参数结构体
|
|
843
2070
|
*/
|
|
844
|
-
export interface
|
|
2071
|
+
export interface DestroyInstanceRequest {
|
|
845
2072
|
/**
|
|
846
|
-
*
|
|
2073
|
+
* 集群ID
|
|
847
2074
|
*/
|
|
848
|
-
|
|
2075
|
+
InstanceId: string;
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* 地域描述信息
|
|
2079
|
+
*/
|
|
2080
|
+
export interface RegionInfo {
|
|
849
2081
|
/**
|
|
850
|
-
*
|
|
2082
|
+
* 地域名称,例如“ap-guangzhou"
|
|
851
2083
|
*/
|
|
852
|
-
|
|
2084
|
+
Name?: string;
|
|
853
2085
|
/**
|
|
854
|
-
*
|
|
2086
|
+
* 地域描述,例如"广州”
|
|
855
2087
|
*/
|
|
856
|
-
|
|
2088
|
+
Desc?: string;
|
|
857
2089
|
/**
|
|
858
|
-
*
|
|
2090
|
+
* 地域唯一标记
|
|
859
2091
|
*/
|
|
860
|
-
|
|
2092
|
+
RegionId?: number;
|
|
861
2093
|
/**
|
|
862
|
-
*
|
|
2094
|
+
* 地域下所有可用区列表
|
|
2095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
2096
|
*/
|
|
864
|
-
|
|
2097
|
+
Zones?: Array<ZoneInfo>;
|
|
2098
|
+
/**
|
|
2099
|
+
* 该地域下集群数目
|
|
2100
|
+
*/
|
|
2101
|
+
Count?: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* 0代表是国际站 1代表不是
|
|
2104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2105
|
+
*/
|
|
2106
|
+
IsInternationalSite?: number;
|
|
2107
|
+
/**
|
|
2108
|
+
* 桶
|
|
2109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2110
|
+
*/
|
|
2111
|
+
Bucket?: string;
|
|
865
2112
|
}
|
|
866
2113
|
/**
|
|
867
2114
|
* DescribeSlowQueryRecords请求参数结构体
|
|
@@ -925,244 +2172,211 @@ export interface DescribeSlowQueryRecordsRequest {
|
|
|
925
2172
|
MemoryUsage?: string;
|
|
926
2173
|
}
|
|
927
2174
|
/**
|
|
928
|
-
*
|
|
2175
|
+
* CreateWorkloadGroup请求参数结构体
|
|
929
2176
|
*/
|
|
930
|
-
export interface
|
|
2177
|
+
export interface CreateWorkloadGroupRequest {
|
|
931
2178
|
/**
|
|
932
|
-
*
|
|
2179
|
+
* 集群id
|
|
933
2180
|
*/
|
|
934
2181
|
InstanceId: string;
|
|
935
2182
|
/**
|
|
936
|
-
*
|
|
937
|
-
*/
|
|
938
|
-
ConfigType?: number;
|
|
939
|
-
/**
|
|
940
|
-
* 模糊搜索关键字文件
|
|
941
|
-
*/
|
|
942
|
-
FileName?: string;
|
|
943
|
-
/**
|
|
944
|
-
* 0集群维度 1节点维度
|
|
945
|
-
*/
|
|
946
|
-
ClusterConfigType?: number;
|
|
947
|
-
/**
|
|
948
|
-
* eth0的ip地址
|
|
2183
|
+
* 资源组配置
|
|
949
2184
|
*/
|
|
950
|
-
|
|
2185
|
+
WorkloadGroup?: WorkloadGroupConfig;
|
|
951
2186
|
}
|
|
952
2187
|
/**
|
|
953
|
-
*
|
|
2188
|
+
* DescribeGoodsDetail返回参数结构体
|
|
954
2189
|
*/
|
|
955
|
-
export interface
|
|
2190
|
+
export interface DescribeGoodsDetailResponse {
|
|
956
2191
|
/**
|
|
957
|
-
*
|
|
2192
|
+
* GoodsDetail对象
|
|
958
2193
|
*/
|
|
959
|
-
|
|
2194
|
+
GoodsDetail?: string;
|
|
960
2195
|
/**
|
|
961
|
-
*
|
|
2196
|
+
* GoodsCategoryId 表示操作类型
|
|
962
2197
|
*/
|
|
963
|
-
|
|
2198
|
+
GoodsCategoryId?: number;
|
|
964
2199
|
/**
|
|
965
|
-
*
|
|
2200
|
+
* 子商品码
|
|
966
2201
|
*/
|
|
967
|
-
|
|
2202
|
+
Type?: string;
|
|
968
2203
|
/**
|
|
969
|
-
*
|
|
2204
|
+
* 付费模式,0后付费,1预付费
|
|
970
2205
|
*/
|
|
971
|
-
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* 集群内节点的规格磁盘规格描述
|
|
975
|
-
*/
|
|
976
|
-
export interface AttachCBSSpec {
|
|
2206
|
+
PayMode?: number;
|
|
977
2207
|
/**
|
|
978
|
-
*
|
|
2208
|
+
* 地域ID
|
|
979
2209
|
*/
|
|
980
|
-
|
|
2210
|
+
RegionId?: number;
|
|
981
2211
|
/**
|
|
982
|
-
*
|
|
2212
|
+
* 可用区ID
|
|
983
2213
|
*/
|
|
984
|
-
|
|
2214
|
+
ZoneId?: number;
|
|
985
2215
|
/**
|
|
986
|
-
*
|
|
2216
|
+
* 资源标识符
|
|
987
2217
|
*/
|
|
988
|
-
|
|
2218
|
+
ResourceId?: string;
|
|
989
2219
|
/**
|
|
990
|
-
*
|
|
2220
|
+
* 商品数目
|
|
991
2221
|
*/
|
|
992
|
-
|
|
2222
|
+
GoodsNum?: number;
|
|
2223
|
+
/**
|
|
2224
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2225
|
+
*/
|
|
2226
|
+
RequestId?: string;
|
|
993
2227
|
}
|
|
994
2228
|
/**
|
|
995
|
-
*
|
|
2229
|
+
* 恢复任务信息
|
|
996
2230
|
*/
|
|
997
|
-
export interface
|
|
2231
|
+
export interface RestoreStatus {
|
|
998
2232
|
/**
|
|
999
|
-
*
|
|
1000
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2233
|
+
* 恢复任务id
|
|
1001
2234
|
*/
|
|
1002
|
-
|
|
2235
|
+
JobId?: number;
|
|
1003
2236
|
/**
|
|
1004
|
-
*
|
|
1005
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2237
|
+
* 恢复任务标签
|
|
1006
2238
|
*/
|
|
1007
|
-
|
|
2239
|
+
Label?: string;
|
|
1008
2240
|
/**
|
|
1009
|
-
*
|
|
1010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2241
|
+
* 恢复任务时间戳
|
|
1011
2242
|
*/
|
|
1012
|
-
|
|
2243
|
+
Timestamp?: string;
|
|
1013
2244
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2245
|
+
* 恢复任务所在库
|
|
1016
2246
|
*/
|
|
1017
|
-
|
|
2247
|
+
DbName?: string;
|
|
1018
2248
|
/**
|
|
1019
|
-
*
|
|
1020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2249
|
+
* 恢复任务状态
|
|
1021
2250
|
*/
|
|
1022
|
-
|
|
2251
|
+
State?: string;
|
|
1023
2252
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2253
|
+
* 恢复时是否允许导入
|
|
1026
2254
|
*/
|
|
1027
|
-
|
|
2255
|
+
AllowLoad?: boolean;
|
|
1028
2256
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2257
|
+
* 副本数
|
|
1031
2258
|
*/
|
|
1032
|
-
|
|
2259
|
+
ReplicationNum?: string;
|
|
1033
2260
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2261
|
+
* 副本数
|
|
1036
2262
|
*/
|
|
1037
|
-
|
|
2263
|
+
ReplicaAllocation?: string;
|
|
1038
2264
|
/**
|
|
1039
|
-
*
|
|
1040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2265
|
+
* 恢复对象
|
|
1041
2266
|
*/
|
|
1042
|
-
|
|
2267
|
+
RestoreObjects?: string;
|
|
1043
2268
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2269
|
+
* 创建时间
|
|
1046
2270
|
*/
|
|
1047
|
-
|
|
2271
|
+
CreateTime?: string;
|
|
1048
2272
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2273
|
+
* 元数据准备时间
|
|
1051
2274
|
*/
|
|
1052
|
-
|
|
2275
|
+
MetaPreparedTime?: string;
|
|
1053
2276
|
/**
|
|
1054
|
-
*
|
|
1055
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2277
|
+
* 快照结束时间
|
|
1056
2278
|
*/
|
|
1057
|
-
|
|
2279
|
+
SnapshotFinishedTime?: string;
|
|
1058
2280
|
/**
|
|
1059
|
-
*
|
|
1060
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2281
|
+
* 下载结束时间
|
|
1061
2282
|
*/
|
|
1062
|
-
|
|
1063
|
-
}
|
|
1064
|
-
/**
|
|
1065
|
-
* ScaleOutInstance请求参数结构体
|
|
1066
|
-
*/
|
|
1067
|
-
export interface ScaleOutInstanceRequest {
|
|
2283
|
+
DownloadFinishedTime?: string;
|
|
1068
2284
|
/**
|
|
1069
|
-
*
|
|
2285
|
+
* 结束时间
|
|
1070
2286
|
*/
|
|
1071
|
-
|
|
2287
|
+
FinishedTime?: string;
|
|
1072
2288
|
/**
|
|
1073
|
-
*
|
|
2289
|
+
* 未完成任务
|
|
1074
2290
|
*/
|
|
1075
|
-
|
|
2291
|
+
UnfinishedTasks?: string;
|
|
1076
2292
|
/**
|
|
1077
|
-
*
|
|
2293
|
+
* 进度
|
|
1078
2294
|
*/
|
|
1079
|
-
|
|
2295
|
+
Progress?: string;
|
|
1080
2296
|
/**
|
|
1081
|
-
*
|
|
2297
|
+
* 错误信息
|
|
1082
2298
|
*/
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* DescribeSlowQueryRecords返回参数结构体
|
|
1087
|
-
*/
|
|
1088
|
-
export interface DescribeSlowQueryRecordsResponse {
|
|
2299
|
+
TaskErrMsg?: string;
|
|
1089
2300
|
/**
|
|
1090
|
-
*
|
|
2301
|
+
* 状态
|
|
1091
2302
|
*/
|
|
1092
|
-
|
|
2303
|
+
Status?: string;
|
|
1093
2304
|
/**
|
|
1094
|
-
*
|
|
2305
|
+
* 作业超时时间
|
|
1095
2306
|
*/
|
|
1096
|
-
|
|
2307
|
+
Timeout?: number;
|
|
1097
2308
|
/**
|
|
1098
|
-
*
|
|
1099
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2309
|
+
* 是否保持源表中的副本数
|
|
1100
2310
|
*/
|
|
1101
|
-
|
|
2311
|
+
ReserveReplica?: boolean;
|
|
1102
2312
|
/**
|
|
1103
|
-
*
|
|
2313
|
+
* 是否保持源表中的动态分区
|
|
2314
|
+
*/
|
|
2315
|
+
ReserveDynamicPartitionEnable?: boolean;
|
|
2316
|
+
/**
|
|
2317
|
+
* 备份实例id
|
|
1104
2318
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1105
2319
|
*/
|
|
1106
|
-
|
|
2320
|
+
BackupJobId?: number;
|
|
1107
2321
|
/**
|
|
1108
|
-
*
|
|
2322
|
+
* 实例对应snapshot的id
|
|
2323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1109
2324
|
*/
|
|
1110
|
-
|
|
2325
|
+
TaskId?: number;
|
|
1111
2326
|
}
|
|
1112
2327
|
/**
|
|
1113
|
-
*
|
|
2328
|
+
* ModifyInstanceKeyValConfigs请求参数结构体
|
|
1114
2329
|
*/
|
|
1115
|
-
export interface
|
|
2330
|
+
export interface ModifyInstanceKeyValConfigsRequest {
|
|
1116
2331
|
/**
|
|
1117
|
-
*
|
|
2332
|
+
* 实例ID
|
|
1118
2333
|
*/
|
|
1119
|
-
|
|
2334
|
+
InstanceId: string;
|
|
1120
2335
|
/**
|
|
1121
|
-
*
|
|
2336
|
+
* 文件名称
|
|
1122
2337
|
*/
|
|
1123
|
-
|
|
2338
|
+
FileName: string;
|
|
1124
2339
|
/**
|
|
1125
|
-
*
|
|
2340
|
+
* 新增配置列表
|
|
1126
2341
|
*/
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* DescribeInstance返回参数结构体
|
|
1131
|
-
*/
|
|
1132
|
-
export interface DescribeInstanceResponse {
|
|
2342
|
+
AddItems?: Array<InstanceConfigItem>;
|
|
1133
2343
|
/**
|
|
1134
|
-
*
|
|
2344
|
+
* 更新配置列表
|
|
1135
2345
|
*/
|
|
1136
|
-
|
|
2346
|
+
UpdateItems?: Array<InstanceConfigItem>;
|
|
1137
2347
|
/**
|
|
1138
|
-
*
|
|
2348
|
+
* 删除配置列表
|
|
1139
2349
|
*/
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
export interface RestartClusterForNodeRequest {
|
|
2350
|
+
DelItems?: Array<InstanceConfigItem>;
|
|
2351
|
+
/**
|
|
2352
|
+
* 备注(50字以内)
|
|
2353
|
+
*/
|
|
2354
|
+
Message?: string;
|
|
1146
2355
|
/**
|
|
1147
|
-
*
|
|
2356
|
+
* 热更新列表
|
|
1148
2357
|
*/
|
|
1149
|
-
|
|
2358
|
+
HotUpdateItems?: Array<InstanceConfigItem>;
|
|
1150
2359
|
/**
|
|
1151
|
-
*
|
|
2360
|
+
* 删除配置列表
|
|
1152
2361
|
*/
|
|
1153
|
-
|
|
2362
|
+
DeleteItems?: InstanceConfigItem;
|
|
1154
2363
|
/**
|
|
1155
|
-
*
|
|
2364
|
+
* ip地址
|
|
1156
2365
|
*/
|
|
1157
|
-
|
|
2366
|
+
IPAddress?: string;
|
|
2367
|
+
}
|
|
2368
|
+
/**
|
|
2369
|
+
* ModifyUserBindWorkloadGroup返回参数结构体
|
|
2370
|
+
*/
|
|
2371
|
+
export interface ModifyUserBindWorkloadGroupResponse {
|
|
1158
2372
|
/**
|
|
1159
|
-
*
|
|
2373
|
+
* 错误信息
|
|
1160
2374
|
*/
|
|
1161
|
-
|
|
2375
|
+
ErrorMsg?: string;
|
|
1162
2376
|
/**
|
|
1163
|
-
*
|
|
2377
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1164
2378
|
*/
|
|
1165
|
-
|
|
2379
|
+
RequestId?: string;
|
|
1166
2380
|
}
|
|
1167
2381
|
/**
|
|
1168
2382
|
* ScaleUpInstance请求参数结构体
|
|
@@ -1181,6 +2395,15 @@ export interface ScaleUpInstanceRequest {
|
|
|
1181
2395
|
*/
|
|
1182
2396
|
Type: string;
|
|
1183
2397
|
}
|
|
2398
|
+
/**
|
|
2399
|
+
* DescribeReplicaVersion请求参数结构体
|
|
2400
|
+
*/
|
|
2401
|
+
export interface DescribeReplicaVersionRequest {
|
|
2402
|
+
/**
|
|
2403
|
+
* 实例id
|
|
2404
|
+
*/
|
|
2405
|
+
InstanceId: string;
|
|
2406
|
+
}
|
|
1184
2407
|
/**
|
|
1185
2408
|
* 节点角色描述信息
|
|
1186
2409
|
*/
|
|
@@ -1250,24 +2473,21 @@ export interface NodesSummary {
|
|
|
1250
2473
|
MaxDiskSize?: number;
|
|
1251
2474
|
}
|
|
1252
2475
|
/**
|
|
1253
|
-
*
|
|
2476
|
+
* DescribeUserBindWorkloadGroup返回参数结构体
|
|
1254
2477
|
*/
|
|
1255
|
-
export interface
|
|
2478
|
+
export interface DescribeUserBindWorkloadGroupResponse {
|
|
1256
2479
|
/**
|
|
1257
|
-
*
|
|
1258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2480
|
+
* 用户绑定资源组信息
|
|
1259
2481
|
*/
|
|
1260
|
-
|
|
2482
|
+
UserBindInfos?: Array<UserWorkloadGroup>;
|
|
1261
2483
|
/**
|
|
1262
|
-
*
|
|
1263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2484
|
+
* 错误信息
|
|
1264
2485
|
*/
|
|
1265
|
-
|
|
2486
|
+
ErrorMsg?: string;
|
|
1266
2487
|
/**
|
|
1267
|
-
*
|
|
1268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2488
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1269
2489
|
*/
|
|
1270
|
-
|
|
2490
|
+
RequestId?: string;
|
|
1271
2491
|
}
|
|
1272
2492
|
/**
|
|
1273
2493
|
* 集群规格
|
|
@@ -1286,23 +2506,6 @@ export interface CreateInstanceSpec {
|
|
|
1286
2506
|
*/
|
|
1287
2507
|
DiskSize: number;
|
|
1288
2508
|
}
|
|
1289
|
-
/**
|
|
1290
|
-
* 列表页搜索的标记列表
|
|
1291
|
-
*/
|
|
1292
|
-
export interface SearchTags {
|
|
1293
|
-
/**
|
|
1294
|
-
* 标签的键
|
|
1295
|
-
*/
|
|
1296
|
-
TagKey?: string;
|
|
1297
|
-
/**
|
|
1298
|
-
* 标签的值
|
|
1299
|
-
*/
|
|
1300
|
-
TagValue?: string;
|
|
1301
|
-
/**
|
|
1302
|
-
* 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
|
1303
|
-
*/
|
|
1304
|
-
AllValue?: number;
|
|
1305
|
-
}
|
|
1306
2509
|
/**
|
|
1307
2510
|
* DescribeInstance请求参数结构体
|
|
1308
2511
|
*/
|
|
@@ -1313,155 +2516,35 @@ export interface DescribeInstanceRequest {
|
|
|
1313
2516
|
InstanceId: string;
|
|
1314
2517
|
}
|
|
1315
2518
|
/**
|
|
1316
|
-
*
|
|
1317
|
-
*/
|
|
1318
|
-
export interface ConfigKeyValue {
|
|
1319
|
-
/**
|
|
1320
|
-
* key
|
|
1321
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1322
|
-
*/
|
|
1323
|
-
KeyName?: string;
|
|
1324
|
-
/**
|
|
1325
|
-
* 值
|
|
1326
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1327
|
-
*/
|
|
1328
|
-
Value?: string;
|
|
1329
|
-
/**
|
|
1330
|
-
* 备注
|
|
1331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1332
|
-
*/
|
|
1333
|
-
Message?: string;
|
|
1334
|
-
/**
|
|
1335
|
-
* 1-只读,2-可修改但不可删除,3-可删除
|
|
1336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1337
|
-
*/
|
|
1338
|
-
Display?: number;
|
|
1339
|
-
/**
|
|
1340
|
-
* 0不支持 1支持热更新
|
|
1341
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1342
|
-
*/
|
|
1343
|
-
SupportHotUpdate?: number;
|
|
1344
|
-
}
|
|
1345
|
-
/**
|
|
1346
|
-
* 标签描述
|
|
1347
|
-
*/
|
|
1348
|
-
export interface Tag {
|
|
1349
|
-
/**
|
|
1350
|
-
* 标签的键
|
|
1351
|
-
*/
|
|
1352
|
-
TagKey: string;
|
|
1353
|
-
/**
|
|
1354
|
-
* 标签的值
|
|
1355
|
-
*/
|
|
1356
|
-
TagValue: string;
|
|
1357
|
-
}
|
|
1358
|
-
/**
|
|
1359
|
-
* DescribeInstanceState返回参数结构体
|
|
1360
|
-
*/
|
|
1361
|
-
export interface DescribeInstanceStateResponse {
|
|
1362
|
-
/**
|
|
1363
|
-
* 集群状态,例如:Serving
|
|
1364
|
-
*/
|
|
1365
|
-
InstanceState?: string;
|
|
1366
|
-
/**
|
|
1367
|
-
* 集群操作创建时间
|
|
1368
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1369
|
-
*/
|
|
1370
|
-
FlowCreateTime?: string;
|
|
1371
|
-
/**
|
|
1372
|
-
* 集群操作名称
|
|
1373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1374
|
-
*/
|
|
1375
|
-
FlowName?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* 集群操作进度
|
|
1378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1379
|
-
*/
|
|
1380
|
-
FlowProgress?: number;
|
|
1381
|
-
/**
|
|
1382
|
-
* 集群状态描述,例如:运行中
|
|
1383
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1384
|
-
*/
|
|
1385
|
-
InstanceStateDesc?: string;
|
|
1386
|
-
/**
|
|
1387
|
-
* 集群流程错误信息,例如:“创建失败,资源不足”
|
|
1388
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1389
|
-
*/
|
|
1390
|
-
FlowMsg?: string;
|
|
1391
|
-
/**
|
|
1392
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1393
|
-
*/
|
|
1394
|
-
RequestId?: string;
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* DescribeDatabaseAuditRecords请求参数结构体
|
|
2519
|
+
* ReduceInstance请求参数结构体
|
|
1398
2520
|
*/
|
|
1399
|
-
export interface
|
|
2521
|
+
export interface ReduceInstanceRequest {
|
|
1400
2522
|
/**
|
|
1401
|
-
*
|
|
2523
|
+
* 集群ID
|
|
1402
2524
|
*/
|
|
1403
2525
|
InstanceId: string;
|
|
1404
2526
|
/**
|
|
1405
|
-
*
|
|
1406
|
-
*/
|
|
1407
|
-
StartTime: string;
|
|
1408
|
-
/**
|
|
1409
|
-
* 结束时间
|
|
1410
|
-
*/
|
|
1411
|
-
EndTime: string;
|
|
1412
|
-
/**
|
|
1413
|
-
* 分页
|
|
1414
|
-
*/
|
|
1415
|
-
PageSize: number;
|
|
1416
|
-
/**
|
|
1417
|
-
* 分页
|
|
1418
|
-
*/
|
|
1419
|
-
PageNum: number;
|
|
1420
|
-
/**
|
|
1421
|
-
* 排序参数
|
|
1422
|
-
*/
|
|
1423
|
-
OrderType?: string;
|
|
1424
|
-
/**
|
|
1425
|
-
* 用户
|
|
1426
|
-
*/
|
|
1427
|
-
User?: string;
|
|
1428
|
-
/**
|
|
1429
|
-
* 数据库
|
|
1430
|
-
*/
|
|
1431
|
-
DbName?: string;
|
|
1432
|
-
/**
|
|
1433
|
-
* sql类型
|
|
1434
|
-
*/
|
|
1435
|
-
SqlType?: string;
|
|
1436
|
-
/**
|
|
1437
|
-
* sql语句
|
|
1438
|
-
*/
|
|
1439
|
-
Sql?: string;
|
|
1440
|
-
/**
|
|
1441
|
-
* 用户 (多选)
|
|
1442
|
-
*/
|
|
1443
|
-
Users?: Array<string>;
|
|
1444
|
-
/**
|
|
1445
|
-
* 数据库 (多选)
|
|
2527
|
+
* 节点列表
|
|
1446
2528
|
*/
|
|
1447
|
-
|
|
2529
|
+
DelHosts: Array<string>;
|
|
1448
2530
|
/**
|
|
1449
|
-
*
|
|
2531
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
1450
2532
|
*/
|
|
1451
|
-
|
|
2533
|
+
Type: string;
|
|
1452
2534
|
/**
|
|
1453
|
-
*
|
|
2535
|
+
* 缩容后集群高可用类型:0:非高可用,1:读高可用,2:读写高可用。
|
|
1454
2536
|
*/
|
|
1455
|
-
|
|
2537
|
+
HaType: number;
|
|
1456
2538
|
}
|
|
1457
2539
|
/**
|
|
1458
|
-
*
|
|
2540
|
+
* Instance表detail字段
|
|
1459
2541
|
*/
|
|
1460
|
-
export interface
|
|
2542
|
+
export interface InstanceDetail {
|
|
1461
2543
|
/**
|
|
1462
|
-
*
|
|
2544
|
+
* 告警策略是否可用
|
|
2545
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1463
2546
|
*/
|
|
1464
|
-
|
|
2547
|
+
EnableAlarmStrategy?: boolean;
|
|
1465
2548
|
}
|
|
1466
2549
|
/**
|
|
1467
2550
|
* DescribeDatabaseAuditDownload返回参数结构体
|
|
@@ -1477,65 +2560,18 @@ export interface DescribeDatabaseAuditDownloadResponse {
|
|
|
1477
2560
|
RequestId?: string;
|
|
1478
2561
|
}
|
|
1479
2562
|
/**
|
|
1480
|
-
*
|
|
2563
|
+
* DescribeReplicaVersion返回参数结构体
|
|
1481
2564
|
*/
|
|
1482
|
-
export interface
|
|
1483
|
-
/**
|
|
1484
|
-
* 实例ID
|
|
1485
|
-
*/
|
|
1486
|
-
InstanceId: string;
|
|
1487
|
-
/**
|
|
1488
|
-
* 开始时间
|
|
1489
|
-
*/
|
|
1490
|
-
StartTime: string;
|
|
1491
|
-
/**
|
|
1492
|
-
* 结束时间
|
|
1493
|
-
*/
|
|
1494
|
-
EndTime: string;
|
|
1495
|
-
/**
|
|
1496
|
-
* 分页
|
|
1497
|
-
*/
|
|
1498
|
-
PageSize: number;
|
|
1499
|
-
/**
|
|
1500
|
-
* 分页
|
|
1501
|
-
*/
|
|
1502
|
-
PageNum: number;
|
|
1503
|
-
/**
|
|
1504
|
-
* 排序参数
|
|
1505
|
-
*/
|
|
1506
|
-
OrderType?: string;
|
|
1507
|
-
/**
|
|
1508
|
-
* 用户
|
|
1509
|
-
*/
|
|
1510
|
-
User?: string;
|
|
1511
|
-
/**
|
|
1512
|
-
* 数据库
|
|
1513
|
-
*/
|
|
1514
|
-
DbName?: string;
|
|
1515
|
-
/**
|
|
1516
|
-
* sql类型
|
|
1517
|
-
*/
|
|
1518
|
-
SqlType?: string;
|
|
1519
|
-
/**
|
|
1520
|
-
* sql语句
|
|
1521
|
-
*/
|
|
1522
|
-
Sql?: string;
|
|
1523
|
-
/**
|
|
1524
|
-
* 用户 多选
|
|
1525
|
-
*/
|
|
1526
|
-
Users?: Array<string>;
|
|
1527
|
-
/**
|
|
1528
|
-
* 数据库 多选
|
|
1529
|
-
*/
|
|
1530
|
-
DbNames?: Array<string>;
|
|
2565
|
+
export interface DescribeReplicaVersionResponse {
|
|
1531
2566
|
/**
|
|
1532
|
-
*
|
|
2567
|
+
* 是否支持新语法
|
|
2568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1533
2569
|
*/
|
|
1534
|
-
|
|
2570
|
+
ReplicaFlagItem: VersionReplicaItem;
|
|
1535
2571
|
/**
|
|
1536
|
-
*
|
|
2572
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1537
2573
|
*/
|
|
1538
|
-
|
|
2574
|
+
RequestId?: string;
|
|
1539
2575
|
}
|
|
1540
2576
|
/**
|
|
1541
2577
|
* DescribeInstanceNodesInfo返回参数结构体
|