tencentcloud-sdk-nodejs-dbbrain 4.0.431 → 4.0.434
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/CHANGELOG.md +251 -1
- package/SERVICE_CHANGELOG.md +162 -62
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/services/dbbrain/index.ts +6 -9
- package/src/services/dbbrain/v20191016/dbbrain_client.ts +329 -252
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +1702 -1786
- package/src/services/dbbrain/v20191016/index.ts +3 -3
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +541 -419
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +2460 -2579
- package/src/services/dbbrain/v20210527/index.ts +3 -3
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +784 -784
- package/tencentcloud/services/dbbrain/v20191016/index.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1109 -1109
- package/tencentcloud/services/dbbrain/v20210527/index.js +1 -1
|
@@ -19,2421 +19,2337 @@
|
|
|
19
19
|
* 库空间时序数据
|
|
20
20
|
*/
|
|
21
21
|
export interface SchemaSpaceTimeSeries {
|
|
22
|
+
/**
|
|
23
|
+
* 库名
|
|
24
|
+
*/
|
|
25
|
+
TableSchema: string
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 单位时间间隔内的空间指标数据。
|
|
30
|
-
*/
|
|
31
|
-
SeriesData: MonitorMetricSeriesData;
|
|
27
|
+
/**
|
|
28
|
+
* 单位时间间隔内的空间指标数据。
|
|
29
|
+
*/
|
|
30
|
+
SeriesData: MonitorMetricSeriesData
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* DescribeSlowLogUserHostStats请求参数结构体
|
|
36
35
|
*/
|
|
37
36
|
export interface DescribeSlowLogUserHostStatsRequest {
|
|
37
|
+
/**
|
|
38
|
+
* 实例ID。
|
|
39
|
+
*/
|
|
40
|
+
InstanceId: string
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
56
|
-
*/
|
|
57
|
-
Product?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 查询范围的开始时间,时间格式如:2019-09-10 12:13:14。
|
|
44
|
+
*/
|
|
45
|
+
StartTime: string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 查询范围的结束时间,时间格式如:2019-09-10 12:13:14。
|
|
49
|
+
*/
|
|
50
|
+
EndTime: string
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
54
|
+
*/
|
|
55
|
+
Product?: string
|
|
58
56
|
}
|
|
59
57
|
|
|
60
58
|
/**
|
|
61
59
|
* DescribeSlowLogTimeSeriesStats请求参数结构体
|
|
62
60
|
*/
|
|
63
61
|
export interface DescribeSlowLogTimeSeriesStatsRequest {
|
|
62
|
+
/**
|
|
63
|
+
* 实例 ID 。
|
|
64
|
+
*/
|
|
65
|
+
InstanceId: string
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
82
|
-
*/
|
|
83
|
-
Product?: string;
|
|
67
|
+
/**
|
|
68
|
+
* 开始时间,如“2019-09-10 12:13:14”。
|
|
69
|
+
*/
|
|
70
|
+
StartTime: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 结束时间,如“2019-09-10 12:13:14”,结束时间与开始时间的间隔最大可为7天。
|
|
74
|
+
*/
|
|
75
|
+
EndTime: string
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
79
|
+
*/
|
|
80
|
+
Product?: string
|
|
84
81
|
}
|
|
85
82
|
|
|
86
83
|
/**
|
|
87
84
|
* DescribeTopSpaceSchemas返回参数结构体
|
|
88
85
|
*/
|
|
89
86
|
export interface DescribeTopSpaceSchemasResponse {
|
|
87
|
+
/**
|
|
88
|
+
* 返回的Top库空间统计信息列表。
|
|
89
|
+
*/
|
|
90
|
+
TopSpaceSchemas: Array<SchemaSpaceData>
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
103
|
-
*/
|
|
104
|
-
RequestId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 采集库空间数据的时间戳(秒)。
|
|
94
|
+
*/
|
|
95
|
+
Timestamp: number
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
99
|
+
*/
|
|
100
|
+
RequestId?: string
|
|
105
101
|
}
|
|
106
102
|
|
|
107
103
|
/**
|
|
108
104
|
* 单位时间间隔内的慢日志统计
|
|
109
105
|
*/
|
|
110
106
|
export interface TimeSlice {
|
|
107
|
+
/**
|
|
108
|
+
* 总数
|
|
109
|
+
*/
|
|
110
|
+
Count: number
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* 统计开始时间
|
|
119
|
-
*/
|
|
120
|
-
Timestamp: number;
|
|
112
|
+
/**
|
|
113
|
+
* 统计开始时间
|
|
114
|
+
*/
|
|
115
|
+
Timestamp: number
|
|
121
116
|
}
|
|
122
117
|
|
|
123
118
|
/**
|
|
124
119
|
* 获取健康得分返回的详情。
|
|
125
120
|
*/
|
|
126
121
|
export interface HealthScoreInfo {
|
|
122
|
+
/**
|
|
123
|
+
* 异常详情。
|
|
124
|
+
*/
|
|
125
|
+
IssueTypes: Array<IssueTypeInfo>
|
|
127
126
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* 健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
|
|
145
|
-
*/
|
|
146
|
-
HealthLevel: string;
|
|
127
|
+
/**
|
|
128
|
+
* 异常事件总数。
|
|
129
|
+
*/
|
|
130
|
+
EventsTotalCount: number
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 健康得分。
|
|
134
|
+
*/
|
|
135
|
+
HealthScore: number
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 健康等级, 如:"HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"。
|
|
139
|
+
*/
|
|
140
|
+
HealthLevel: string
|
|
147
141
|
}
|
|
148
142
|
|
|
149
143
|
/**
|
|
150
144
|
* DescribeTopSpaceTableTimeSeries返回参数结构体
|
|
151
145
|
*/
|
|
152
146
|
export interface DescribeTopSpaceTableTimeSeriesResponse {
|
|
147
|
+
/**
|
|
148
|
+
* 返回的Top表空间统计信息的时序数据列表。
|
|
149
|
+
*/
|
|
150
|
+
TopSpaceTableTimeSeries: Array<TableSpaceTimeSeries>
|
|
153
151
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
161
|
-
*/
|
|
162
|
-
RequestId?: string;
|
|
152
|
+
/**
|
|
153
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
154
|
+
*/
|
|
155
|
+
RequestId?: string
|
|
163
156
|
}
|
|
164
157
|
|
|
165
158
|
/**
|
|
166
159
|
* CreateSchedulerMailProfile请求参数结构体
|
|
167
160
|
*/
|
|
168
161
|
export interface CreateSchedulerMailProfileRequest {
|
|
162
|
+
/**
|
|
163
|
+
* 取值范围1-7,分别代表周一至周日。
|
|
164
|
+
*/
|
|
165
|
+
WeekConfiguration: Array<number>
|
|
169
166
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
192
|
-
*/
|
|
193
|
-
Product: string;
|
|
167
|
+
/**
|
|
168
|
+
* 邮件配置内容。
|
|
169
|
+
*/
|
|
170
|
+
ProfileInfo: ProfileInfo
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* 配置名称,需要保持唯一性,定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"schduler_cdb-test"。
|
|
174
|
+
*/
|
|
175
|
+
ProfileName: string
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* 配置订阅的实例ID。
|
|
179
|
+
*/
|
|
180
|
+
BindInstanceId: string
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
184
|
+
*/
|
|
185
|
+
Product: string
|
|
194
186
|
}
|
|
195
187
|
|
|
196
188
|
/**
|
|
197
189
|
* 联系人contact描述。
|
|
198
190
|
*/
|
|
199
191
|
export interface ContactItem {
|
|
192
|
+
/**
|
|
193
|
+
* 联系人id。
|
|
194
|
+
*/
|
|
195
|
+
Id: number
|
|
200
196
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* 联系人绑定的邮箱。
|
|
213
|
-
*/
|
|
214
|
-
Mail: string;
|
|
197
|
+
/**
|
|
198
|
+
* 联系人姓名。
|
|
199
|
+
*/
|
|
200
|
+
Name: string
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* 联系人绑定的邮箱。
|
|
204
|
+
*/
|
|
205
|
+
Mail: string
|
|
215
206
|
}
|
|
216
207
|
|
|
217
208
|
/**
|
|
218
209
|
* DescribeHealthScore返回参数结构体
|
|
219
210
|
*/
|
|
220
211
|
export interface DescribeHealthScoreResponse {
|
|
212
|
+
/**
|
|
213
|
+
* 健康得分以及异常扣分项。
|
|
214
|
+
*/
|
|
215
|
+
Data: HealthScoreInfo
|
|
221
216
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
229
|
-
*/
|
|
230
|
-
RequestId?: string;
|
|
217
|
+
/**
|
|
218
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
219
|
+
*/
|
|
220
|
+
RequestId?: string
|
|
231
221
|
}
|
|
232
222
|
|
|
233
223
|
/**
|
|
234
224
|
* DescribeDBDiagHistory返回参数结构体
|
|
235
225
|
*/
|
|
236
226
|
export interface DescribeDBDiagHistoryResponse {
|
|
227
|
+
/**
|
|
228
|
+
* 事件描述。
|
|
229
|
+
*/
|
|
230
|
+
Events?: Array<DiagHistoryEventItem>
|
|
237
231
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
245
|
-
*/
|
|
246
|
-
RequestId?: string;
|
|
232
|
+
/**
|
|
233
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
234
|
+
*/
|
|
235
|
+
RequestId?: string
|
|
247
236
|
}
|
|
248
237
|
|
|
249
238
|
/**
|
|
250
239
|
* 诊断扣分项。
|
|
251
240
|
*/
|
|
252
241
|
export interface ScoreItem {
|
|
242
|
+
/**
|
|
243
|
+
* 异常诊断项名称。
|
|
244
|
+
*/
|
|
245
|
+
DiagItem: string
|
|
253
246
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* 扣分分数。
|
|
276
|
-
*/
|
|
277
|
-
ScoreLost: number;
|
|
247
|
+
/**
|
|
248
|
+
* 诊断项分类,取值包括:可用性、可维护性、性能及可靠性。
|
|
249
|
+
*/
|
|
250
|
+
IssueType: string
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* 健康等级,取值包括:信息、提示、告警、严重、致命。
|
|
254
|
+
*/
|
|
255
|
+
TopSeverity: string
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* 该异常诊断项出现次数。
|
|
259
|
+
*/
|
|
260
|
+
Count: number
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* 扣分分数。
|
|
264
|
+
*/
|
|
265
|
+
ScoreLost: number
|
|
278
266
|
}
|
|
279
267
|
|
|
280
268
|
/**
|
|
281
269
|
* DescribeDiagDBInstances请求参数结构体
|
|
282
270
|
*/
|
|
283
271
|
export interface DescribeDiagDBInstancesRequest {
|
|
272
|
+
/**
|
|
273
|
+
* 是否是DBbrain支持的实例,固定传 true。
|
|
274
|
+
*/
|
|
275
|
+
IsSupported: boolean
|
|
284
276
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* 根据地域条件查询。
|
|
317
|
-
*/
|
|
318
|
-
Regions?: Array<string>;
|
|
277
|
+
/**
|
|
278
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
279
|
+
*/
|
|
280
|
+
Product: string
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 分页参数,偏移量。
|
|
284
|
+
*/
|
|
285
|
+
Offset: number
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* 分页参数,分页值。
|
|
289
|
+
*/
|
|
290
|
+
Limit: number
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* 根据实例名称条件查询。
|
|
294
|
+
*/
|
|
295
|
+
InstanceNames?: Array<string>
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* 根据实例ID条件查询。
|
|
299
|
+
*/
|
|
300
|
+
InstanceIds?: Array<string>
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* 根据地域条件查询。
|
|
304
|
+
*/
|
|
305
|
+
Regions?: Array<string>
|
|
319
306
|
}
|
|
320
307
|
|
|
321
308
|
/**
|
|
322
309
|
* DescribeDBSpaceStatus请求参数结构体
|
|
323
310
|
*/
|
|
324
311
|
export interface DescribeDBSpaceStatusRequest {
|
|
312
|
+
/**
|
|
313
|
+
* 实例 ID 。
|
|
314
|
+
*/
|
|
315
|
+
InstanceId: string
|
|
325
316
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
338
|
-
*/
|
|
339
|
-
Product?: string;
|
|
317
|
+
/**
|
|
318
|
+
* 时间段天数,截止日期为当日,默认为7天。
|
|
319
|
+
*/
|
|
320
|
+
RangeDays?: number
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
324
|
+
*/
|
|
325
|
+
Product?: string
|
|
340
326
|
}
|
|
341
327
|
|
|
342
328
|
/**
|
|
343
329
|
* DescribeAllUserContact返回参数结构体
|
|
344
330
|
*/
|
|
345
331
|
export interface DescribeAllUserContactResponse {
|
|
332
|
+
/**
|
|
333
|
+
* 联系人的总数量。
|
|
334
|
+
*/
|
|
335
|
+
TotalCount: number
|
|
346
336
|
|
|
347
|
-
|
|
348
|
-
* 联系人的总数量。
|
|
349
|
-
*/
|
|
350
|
-
TotalCount: number;
|
|
351
|
-
|
|
352
|
-
/**
|
|
337
|
+
/**
|
|
353
338
|
* 联系人的信息。
|
|
354
339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
340
|
*/
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
341
|
+
Contacts: Array<ContactItem>
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
345
|
+
*/
|
|
346
|
+
RequestId?: string
|
|
362
347
|
}
|
|
363
348
|
|
|
364
349
|
/**
|
|
365
350
|
* DescribeUserSqlAdvice返回参数结构体
|
|
366
351
|
*/
|
|
367
352
|
export interface DescribeUserSqlAdviceResponse {
|
|
353
|
+
/**
|
|
354
|
+
* SQL优化建议,可解析为JSON数组。
|
|
355
|
+
*/
|
|
356
|
+
Advices: string
|
|
368
357
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
406
|
-
*/
|
|
407
|
-
RequestId?: string;
|
|
358
|
+
/**
|
|
359
|
+
* SQL优化建议备注,可解析为String数组。
|
|
360
|
+
*/
|
|
361
|
+
Comments: string
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* SQL语句。
|
|
365
|
+
*/
|
|
366
|
+
SqlText: string
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* 库名。
|
|
370
|
+
*/
|
|
371
|
+
Schema: string
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 相关表的DDL信息,可解析为JSON数组。
|
|
375
|
+
*/
|
|
376
|
+
Tables: string
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* SQL执行计划,可解析为JSON。
|
|
380
|
+
*/
|
|
381
|
+
SqlPlan: string
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* SQL优化后的成本节约详情,可解析为JSON。
|
|
385
|
+
*/
|
|
386
|
+
Cost: string
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
390
|
+
*/
|
|
391
|
+
RequestId?: string
|
|
408
392
|
}
|
|
409
393
|
|
|
410
394
|
/**
|
|
411
395
|
* DescribeTopSpaceSchemas请求参数结构体
|
|
412
396
|
*/
|
|
413
397
|
export interface DescribeTopSpaceSchemasRequest {
|
|
398
|
+
/**
|
|
399
|
+
* 实例 ID 。
|
|
400
|
+
*/
|
|
401
|
+
InstanceId: string
|
|
414
402
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
432
|
-
*/
|
|
433
|
-
Product?: string;
|
|
403
|
+
/**
|
|
404
|
+
* 返回的Top库数量,最大值为100,默认为20。
|
|
405
|
+
*/
|
|
406
|
+
Limit?: number
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* 筛选Top库所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
|
|
410
|
+
*/
|
|
411
|
+
SortBy?: string
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
415
|
+
*/
|
|
416
|
+
Product?: string
|
|
434
417
|
}
|
|
435
418
|
|
|
436
419
|
/**
|
|
437
420
|
* ModifyDiagDBInstanceConf请求参数结构体
|
|
438
421
|
*/
|
|
439
422
|
export interface ModifyDiagDBInstanceConfRequest {
|
|
423
|
+
/**
|
|
424
|
+
* 巡检开关。
|
|
425
|
+
*/
|
|
426
|
+
InstanceConfs: InstanceConfs
|
|
440
427
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* 指定更改巡检状态的实例ID。
|
|
458
|
-
*/
|
|
459
|
-
InstanceIds?: Array<string>;
|
|
428
|
+
/**
|
|
429
|
+
* 生效实例地域,取值为"All",代表全地域。
|
|
430
|
+
*/
|
|
431
|
+
Regions: string
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
|
|
435
|
+
*/
|
|
436
|
+
Product: string
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* 指定更改巡检状态的实例ID。
|
|
440
|
+
*/
|
|
441
|
+
InstanceIds?: Array<string>
|
|
460
442
|
}
|
|
461
443
|
|
|
462
444
|
/**
|
|
463
445
|
* 监控数据
|
|
464
446
|
*/
|
|
465
447
|
export interface MonitorMetric {
|
|
448
|
+
/**
|
|
449
|
+
* 指标名称。
|
|
450
|
+
*/
|
|
451
|
+
Metric: string
|
|
466
452
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
* 指标单位。
|
|
474
|
-
*/
|
|
475
|
-
Unit: string;
|
|
476
|
-
|
|
477
|
-
/**
|
|
453
|
+
/**
|
|
454
|
+
* 指标单位。
|
|
455
|
+
*/
|
|
456
|
+
Unit: string
|
|
457
|
+
|
|
458
|
+
/**
|
|
478
459
|
* 指标值。
|
|
479
460
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
461
|
*/
|
|
481
|
-
|
|
462
|
+
Values: Array<number>
|
|
482
463
|
}
|
|
483
464
|
|
|
484
465
|
/**
|
|
485
466
|
* CreateDBDiagReportTask请求参数结构体
|
|
486
467
|
*/
|
|
487
468
|
export interface CreateDBDiagReportTaskRequest {
|
|
469
|
+
/**
|
|
470
|
+
* 实例ID。
|
|
471
|
+
*/
|
|
472
|
+
InstanceId: string
|
|
488
473
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
|
521
|
-
*/
|
|
522
|
-
Product?: string;
|
|
474
|
+
/**
|
|
475
|
+
* 开始时间,如“2020-11-08T14:00:00+08:00”。
|
|
476
|
+
*/
|
|
477
|
+
StartTime: string
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* 结束时间,如“2020-11-09T14:00:00+08:00”。
|
|
481
|
+
*/
|
|
482
|
+
EndTime: string
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* 是否发送邮件: 0 - 否,1 - 是。
|
|
486
|
+
*/
|
|
487
|
+
SendMailFlag: number
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* 接收邮件的联系人ID数组。
|
|
491
|
+
*/
|
|
492
|
+
ContactPerson?: Array<number>
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 接收邮件的联系组ID数组。
|
|
496
|
+
*/
|
|
497
|
+
ContactGroup?: Array<number>
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
|
501
|
+
*/
|
|
502
|
+
Product?: string
|
|
523
503
|
}
|
|
524
504
|
|
|
525
505
|
/**
|
|
526
506
|
* 监控数据(浮点型)
|
|
527
507
|
*/
|
|
528
508
|
export interface MonitorFloatMetric {
|
|
509
|
+
/**
|
|
510
|
+
* 指标名称。
|
|
511
|
+
*/
|
|
512
|
+
Metric: string
|
|
529
513
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
* 指标单位。
|
|
537
|
-
*/
|
|
538
|
-
Unit: string;
|
|
539
|
-
|
|
540
|
-
/**
|
|
514
|
+
/**
|
|
515
|
+
* 指标单位。
|
|
516
|
+
*/
|
|
517
|
+
Unit: string
|
|
518
|
+
|
|
519
|
+
/**
|
|
541
520
|
* 指标值。
|
|
542
521
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
543
522
|
*/
|
|
544
|
-
|
|
523
|
+
Values: Array<number>
|
|
545
524
|
}
|
|
546
525
|
|
|
547
526
|
/**
|
|
548
527
|
* DescribeSecurityAuditLogDownloadUrls请求参数结构体
|
|
549
528
|
*/
|
|
550
529
|
export interface DescribeSecurityAuditLogDownloadUrlsRequest {
|
|
530
|
+
/**
|
|
531
|
+
* 安全审计组Id。
|
|
532
|
+
*/
|
|
533
|
+
SecAuditGroupId: string
|
|
551
534
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL。
|
|
564
|
-
*/
|
|
565
|
-
Product: string;
|
|
535
|
+
/**
|
|
536
|
+
* 异步任务Id。
|
|
537
|
+
*/
|
|
538
|
+
AsyncRequestId: number
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL。
|
|
542
|
+
*/
|
|
543
|
+
Product: string
|
|
566
544
|
}
|
|
567
545
|
|
|
568
546
|
/**
|
|
569
547
|
* DescribeSecurityAuditLogExportTasks请求参数结构体
|
|
570
548
|
*/
|
|
571
549
|
export interface DescribeSecurityAuditLogExportTasksRequest {
|
|
550
|
+
/**
|
|
551
|
+
* 安全审计组Id。
|
|
552
|
+
*/
|
|
553
|
+
SecAuditGroupId: string
|
|
572
554
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* 返回数量,默认20。
|
|
595
|
-
*/
|
|
596
|
-
Limit?: number;
|
|
555
|
+
/**
|
|
556
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL。
|
|
557
|
+
*/
|
|
558
|
+
Product: string
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* 日志导出任务Id列表。
|
|
562
|
+
*/
|
|
563
|
+
AsyncRequestIds?: Array<number>
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* 偏移量,默认0。
|
|
567
|
+
*/
|
|
568
|
+
Offset?: number
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* 返回数量,默认20。
|
|
572
|
+
*/
|
|
573
|
+
Limit?: number
|
|
597
574
|
}
|
|
598
575
|
|
|
599
576
|
/**
|
|
600
577
|
* AddUserContact请求参数结构体
|
|
601
578
|
*/
|
|
602
579
|
export interface AddUserContactRequest {
|
|
580
|
+
/**
|
|
581
|
+
* 联系人姓名,大小写字母+数字+下划线,最小 2 位最大 60 位的长度, 不能以"_"开头,且联系人名保持唯一。
|
|
582
|
+
*/
|
|
583
|
+
Name: string
|
|
603
584
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* 服务产品类型,固定值:"mysql"。
|
|
616
|
-
*/
|
|
617
|
-
Product: string;
|
|
585
|
+
/**
|
|
586
|
+
* 邮箱地址,大小写字母、数字及下划线组成, 不能以"_"开头。
|
|
587
|
+
*/
|
|
588
|
+
ContactInfo: string
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* 服务产品类型,固定值:"mysql"。
|
|
592
|
+
*/
|
|
593
|
+
Product: string
|
|
618
594
|
}
|
|
619
595
|
|
|
620
596
|
/**
|
|
621
597
|
* DescribeAllUserGroup返回参数结构体
|
|
622
598
|
*/
|
|
623
599
|
export interface DescribeAllUserGroupResponse {
|
|
600
|
+
/**
|
|
601
|
+
* 组总数。
|
|
602
|
+
*/
|
|
603
|
+
TotalCount: number
|
|
624
604
|
|
|
625
|
-
|
|
626
|
-
* 组总数。
|
|
627
|
-
*/
|
|
628
|
-
TotalCount: number;
|
|
629
|
-
|
|
630
|
-
/**
|
|
605
|
+
/**
|
|
631
606
|
* 组信息。
|
|
632
607
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
633
608
|
*/
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
609
|
+
Groups: Array<GroupItem>
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
613
|
+
*/
|
|
614
|
+
RequestId?: string
|
|
640
615
|
}
|
|
641
616
|
|
|
642
617
|
/**
|
|
643
618
|
* 实例基础信息。
|
|
644
619
|
*/
|
|
645
620
|
export interface InstanceBasicInfo {
|
|
621
|
+
/**
|
|
622
|
+
* 实例ID。
|
|
623
|
+
*/
|
|
624
|
+
InstanceId: string
|
|
646
625
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* 实例引擎版本。
|
|
674
|
-
*/
|
|
675
|
-
EngineVersion: string;
|
|
626
|
+
/**
|
|
627
|
+
* 实例名称。
|
|
628
|
+
*/
|
|
629
|
+
InstanceName: string
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* 实例内网IP。
|
|
633
|
+
*/
|
|
634
|
+
Vip: string
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* 实例内网Port。
|
|
638
|
+
*/
|
|
639
|
+
Vport: number
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* 实例产品。
|
|
643
|
+
*/
|
|
644
|
+
Product: string
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* 实例引擎版本。
|
|
648
|
+
*/
|
|
649
|
+
EngineVersion: string
|
|
676
650
|
}
|
|
677
651
|
|
|
678
652
|
/**
|
|
679
653
|
* SchemaItem数组
|
|
680
654
|
*/
|
|
681
655
|
export interface SchemaItem {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
Schema: string;
|
|
656
|
+
/**
|
|
657
|
+
* 数据库名称
|
|
658
|
+
*/
|
|
659
|
+
Schema: string
|
|
687
660
|
}
|
|
688
661
|
|
|
689
662
|
/**
|
|
690
663
|
* CreateMailProfile返回参数结构体
|
|
691
664
|
*/
|
|
692
665
|
export interface CreateMailProfileResponse {
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
RequestId?: string;
|
|
666
|
+
/**
|
|
667
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
668
|
+
*/
|
|
669
|
+
RequestId?: string
|
|
698
670
|
}
|
|
699
671
|
|
|
700
672
|
/**
|
|
701
673
|
* DescribeTopSpaceTables请求参数结构体
|
|
702
674
|
*/
|
|
703
675
|
export interface DescribeTopSpaceTablesRequest {
|
|
676
|
+
/**
|
|
677
|
+
* 实例 ID 。
|
|
678
|
+
*/
|
|
679
|
+
InstanceId: string
|
|
704
680
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
/**
|
|
721
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
722
|
-
*/
|
|
723
|
-
Product?: string;
|
|
681
|
+
/**
|
|
682
|
+
* 返回的Top表数量,最大值为100,默认为20。
|
|
683
|
+
*/
|
|
684
|
+
Limit?: number
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* 筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
|
|
688
|
+
*/
|
|
689
|
+
SortBy?: string
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
693
|
+
*/
|
|
694
|
+
Product?: string
|
|
724
695
|
}
|
|
725
696
|
|
|
726
697
|
/**
|
|
727
698
|
* 用户配置的信息
|
|
728
699
|
*/
|
|
729
700
|
export interface ProfileInfo {
|
|
701
|
+
/**
|
|
702
|
+
* 语言, 如"zh"。
|
|
703
|
+
*/
|
|
704
|
+
Language: string
|
|
730
705
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
/**
|
|
737
|
-
* 邮件模板的内容。
|
|
738
|
-
*/
|
|
739
|
-
MailConfiguration: MailConfiguration;
|
|
706
|
+
/**
|
|
707
|
+
* 邮件模板的内容。
|
|
708
|
+
*/
|
|
709
|
+
MailConfiguration: MailConfiguration
|
|
740
710
|
}
|
|
741
711
|
|
|
742
712
|
/**
|
|
743
713
|
* DescribeAllUserContact请求参数结构体
|
|
744
714
|
*/
|
|
745
715
|
export interface DescribeAllUserContactRequest {
|
|
716
|
+
/**
|
|
717
|
+
* 服务产品类型,固定值:mysql。
|
|
718
|
+
*/
|
|
719
|
+
Product: string
|
|
746
720
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* 联系人名数组,支持模糊搜索。
|
|
754
|
-
*/
|
|
755
|
-
Names?: Array<string>;
|
|
721
|
+
/**
|
|
722
|
+
* 联系人名数组,支持模糊搜索。
|
|
723
|
+
*/
|
|
724
|
+
Names?: Array<string>
|
|
756
725
|
}
|
|
757
726
|
|
|
758
727
|
/**
|
|
759
728
|
* DescribeDBDiagEvent请求参数结构体
|
|
760
729
|
*/
|
|
761
730
|
export interface DescribeDBDiagEventRequest {
|
|
731
|
+
/**
|
|
732
|
+
* 实例 ID 。
|
|
733
|
+
*/
|
|
734
|
+
InstanceId: string
|
|
762
735
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
775
|
-
*/
|
|
776
|
-
Product?: string;
|
|
736
|
+
/**
|
|
737
|
+
* 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
|
738
|
+
*/
|
|
739
|
+
EventId?: number
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
743
|
+
*/
|
|
744
|
+
Product?: string
|
|
777
745
|
}
|
|
778
746
|
|
|
779
747
|
/**
|
|
780
748
|
* CreateSecurityAuditLogExportTask请求参数结构体
|
|
781
749
|
*/
|
|
782
750
|
export interface CreateSecurityAuditLogExportTaskRequest {
|
|
751
|
+
/**
|
|
752
|
+
* 安全审计组Id。
|
|
753
|
+
*/
|
|
754
|
+
SecAuditGroupId: string
|
|
783
755
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* 日志风险等级列表,支持值包括:0 无风险;1 低风险;2 中风险;3 高风险。
|
|
806
|
-
*/
|
|
807
|
-
DangerLevels?: Array<number>;
|
|
756
|
+
/**
|
|
757
|
+
* 导出日志开始时间,例如2020-12-28 00:00:00。
|
|
758
|
+
*/
|
|
759
|
+
StartTime: string
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* 导出日志结束时间,例如2020-12-28 01:00:00。
|
|
763
|
+
*/
|
|
764
|
+
EndTime: string
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL。
|
|
768
|
+
*/
|
|
769
|
+
Product: string
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* 日志风险等级列表,支持值包括:0 无风险;1 低风险;2 中风险;3 高风险。
|
|
773
|
+
*/
|
|
774
|
+
DangerLevels?: Array<number>
|
|
808
775
|
}
|
|
809
776
|
|
|
810
777
|
/**
|
|
811
778
|
* DescribeDBSpaceStatus返回参数结构体
|
|
812
779
|
*/
|
|
813
780
|
export interface DescribeDBSpaceStatusResponse {
|
|
781
|
+
/**
|
|
782
|
+
* 磁盘增长量(MB)。
|
|
783
|
+
*/
|
|
784
|
+
Growth?: number
|
|
814
785
|
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
837
|
-
*/
|
|
838
|
-
RequestId?: string;
|
|
786
|
+
/**
|
|
787
|
+
* 磁盘剩余(MB)。
|
|
788
|
+
*/
|
|
789
|
+
Remain?: number
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* 磁盘总量(MB)。
|
|
793
|
+
*/
|
|
794
|
+
Total?: number
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* 预计可用天数。
|
|
798
|
+
*/
|
|
799
|
+
AvailableDays?: number
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
803
|
+
*/
|
|
804
|
+
RequestId?: string
|
|
839
805
|
}
|
|
840
806
|
|
|
841
807
|
/**
|
|
842
808
|
* 实例诊断历史事件
|
|
843
809
|
*/
|
|
844
810
|
export interface DiagHistoryEventItem {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
/**
|
|
811
|
+
/**
|
|
812
|
+
* 诊断类型。
|
|
813
|
+
*/
|
|
814
|
+
DiagType: string
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* 结束时间。
|
|
818
|
+
*/
|
|
819
|
+
EndTime: string
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* 开始时间。
|
|
823
|
+
*/
|
|
824
|
+
StartTime: string
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* 事件 ID 。
|
|
828
|
+
*/
|
|
829
|
+
EventId: number
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
|
833
|
+
*/
|
|
834
|
+
Severity: number
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* 概要。
|
|
838
|
+
*/
|
|
839
|
+
Outline: string
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* 诊断项。
|
|
843
|
+
*/
|
|
844
|
+
DiagItem: string
|
|
845
|
+
|
|
846
|
+
/**
|
|
882
847
|
* 实例 ID 。
|
|
883
848
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
849
|
*/
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
850
|
+
InstanceId: string
|
|
851
|
+
|
|
852
|
+
/**
|
|
888
853
|
* 保留字段
|
|
889
854
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
890
855
|
*/
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
856
|
+
Metric: string
|
|
857
|
+
|
|
858
|
+
/**
|
|
894
859
|
* 地域
|
|
895
860
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
896
861
|
*/
|
|
897
|
-
|
|
862
|
+
Region: string
|
|
898
863
|
}
|
|
899
864
|
|
|
900
865
|
/**
|
|
901
866
|
* DescribeDBDiagEvent返回参数结构体
|
|
902
867
|
*/
|
|
903
868
|
export interface DescribeDBDiagEventResponse {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
/**
|
|
869
|
+
/**
|
|
870
|
+
* 诊断项。
|
|
871
|
+
*/
|
|
872
|
+
DiagItem: string
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* 诊断类型。
|
|
876
|
+
*/
|
|
877
|
+
DiagType: string
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* 事件 ID 。
|
|
881
|
+
*/
|
|
882
|
+
EventId: number
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* 事件详情。
|
|
886
|
+
*/
|
|
887
|
+
Explanation: string
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* 概要。
|
|
891
|
+
*/
|
|
892
|
+
Outline: string
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* 诊断出的问题。
|
|
896
|
+
*/
|
|
897
|
+
Problem: string
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
|
901
|
+
*/
|
|
902
|
+
Severity: number
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* 开始时间
|
|
906
|
+
*/
|
|
907
|
+
StartTime: string
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* 建议。
|
|
911
|
+
*/
|
|
912
|
+
Suggestions: string
|
|
913
|
+
|
|
914
|
+
/**
|
|
951
915
|
* 保留字段。
|
|
952
916
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
953
917
|
*/
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
918
|
+
Metric: string
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* 结束时间。
|
|
922
|
+
*/
|
|
923
|
+
EndTime: string
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
927
|
+
*/
|
|
928
|
+
RequestId?: string
|
|
965
929
|
}
|
|
966
930
|
|
|
967
931
|
/**
|
|
968
932
|
* DescribeDBDiagHistory请求参数结构体
|
|
969
933
|
*/
|
|
970
934
|
export interface DescribeDBDiagHistoryRequest {
|
|
935
|
+
/**
|
|
936
|
+
* 实例 ID 。
|
|
937
|
+
*/
|
|
938
|
+
InstanceId: string
|
|
971
939
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
989
|
-
*/
|
|
990
|
-
Product?: string;
|
|
940
|
+
/**
|
|
941
|
+
* 开始时间,如“2019-09-10 12:13:14”。
|
|
942
|
+
*/
|
|
943
|
+
StartTime: string
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* 结束时间,如“2019-09-11 12:13:14”,结束时间与开始时间的间隔最大可为2天。
|
|
947
|
+
*/
|
|
948
|
+
EndTime: string
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
952
|
+
*/
|
|
953
|
+
Product?: string
|
|
991
954
|
}
|
|
992
955
|
|
|
993
956
|
/**
|
|
994
957
|
* 库表空间时序数据
|
|
995
958
|
*/
|
|
996
959
|
export interface TableSpaceTimeSeries {
|
|
960
|
+
/**
|
|
961
|
+
* 表名。
|
|
962
|
+
*/
|
|
963
|
+
TableName: string
|
|
997
964
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* 单位时间间隔内的空间指标数据。
|
|
1015
|
-
*/
|
|
1016
|
-
SeriesData: MonitorFloatMetricSeriesData;
|
|
965
|
+
/**
|
|
966
|
+
* 库名。
|
|
967
|
+
*/
|
|
968
|
+
TableSchema: string
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* 库表的存储引擎。
|
|
972
|
+
*/
|
|
973
|
+
Engine: string
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* 单位时间间隔内的空间指标数据。
|
|
977
|
+
*/
|
|
978
|
+
SeriesData: MonitorFloatMetricSeriesData
|
|
1017
979
|
}
|
|
1018
980
|
|
|
1019
981
|
/**
|
|
1020
982
|
* 描述组信息。
|
|
1021
983
|
*/
|
|
1022
984
|
export interface GroupItem {
|
|
985
|
+
/**
|
|
986
|
+
* 组id。
|
|
987
|
+
*/
|
|
988
|
+
Id: number
|
|
1023
989
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* 组成员数量。
|
|
1036
|
-
*/
|
|
1037
|
-
MemberCount: number;
|
|
990
|
+
/**
|
|
991
|
+
* 组名称。
|
|
992
|
+
*/
|
|
993
|
+
Name: string
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* 组成员数量。
|
|
997
|
+
*/
|
|
998
|
+
MemberCount: number
|
|
1038
999
|
}
|
|
1039
1000
|
|
|
1040
1001
|
/**
|
|
1041
1002
|
* 查询实例列表,返回实例的相关信息的对象。
|
|
1042
1003
|
*/
|
|
1043
1004
|
export interface InstanceInfo {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
AuditRunningStatus: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* 实例ID。
|
|
1007
|
+
*/
|
|
1008
|
+
InstanceId: string
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* 实例名称。
|
|
1012
|
+
*/
|
|
1013
|
+
InstanceName: string
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* 实例所属地域。
|
|
1017
|
+
*/
|
|
1018
|
+
Region: string
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* 健康得分。
|
|
1022
|
+
*/
|
|
1023
|
+
HealthScore: number
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* 所属产品。
|
|
1027
|
+
*/
|
|
1028
|
+
Product: string
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* 异常事件数量。
|
|
1032
|
+
*/
|
|
1033
|
+
EventCount: number
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* 实例类型:1:MASTER;2:DR,3:RO,4:SDR。
|
|
1037
|
+
*/
|
|
1038
|
+
InstanceType: number
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* 核心数。
|
|
1042
|
+
*/
|
|
1043
|
+
Cpu: number
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* 内存,单位MB。
|
|
1047
|
+
*/
|
|
1048
|
+
Memory: number
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* 硬盘存储,单位GB。
|
|
1052
|
+
*/
|
|
1053
|
+
Volume: number
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* 数据库版本。
|
|
1057
|
+
*/
|
|
1058
|
+
EngineVersion: string
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* 内网地址。
|
|
1062
|
+
*/
|
|
1063
|
+
Vip: string
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* 内网端口。
|
|
1067
|
+
*/
|
|
1068
|
+
Vport: number
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* 接入来源。
|
|
1072
|
+
*/
|
|
1073
|
+
Source: string
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* 分组ID。
|
|
1077
|
+
*/
|
|
1078
|
+
GroupId: string
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* 分组组名。
|
|
1082
|
+
*/
|
|
1083
|
+
GroupName: string
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* 实例状态:0:发货中;1:运行正常;4:销毁中;5:隔离中。
|
|
1087
|
+
*/
|
|
1088
|
+
Status: number
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* 子网统一ID。
|
|
1092
|
+
*/
|
|
1093
|
+
UniqSubnetId: string
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* cdb类型。
|
|
1097
|
+
*/
|
|
1098
|
+
DeployMode: string
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* cdb实例初始化标志:0:未初始化;1:已初始化。
|
|
1102
|
+
*/
|
|
1103
|
+
InitFlag: number
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* 任务状态。
|
|
1107
|
+
*/
|
|
1108
|
+
TaskStatus: number
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* 私有网络统一ID。
|
|
1112
|
+
*/
|
|
1113
|
+
UniqVpcId: string
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* 实例巡检/概览的状态。
|
|
1117
|
+
*/
|
|
1118
|
+
InstanceConf: InstanceConfs
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* 资源到期时间。
|
|
1122
|
+
*/
|
|
1123
|
+
DeadlineTime: string
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* 是否是DBbrain支持的实例。
|
|
1127
|
+
*/
|
|
1128
|
+
IsSupported: boolean
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* 实例安全审计日志开启状态:ON: 安全审计开启;OFF: 未开启安全审计。
|
|
1132
|
+
*/
|
|
1133
|
+
SecAuditStatus: string
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* 实例审计日志开启状态,ALL_AUDIT: 开启全审计;RULE_AUDIT: 开启规则审计;UNBOUND: 未开启审计。
|
|
1137
|
+
*/
|
|
1138
|
+
AuditPolicyStatus: string
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
|
|
1142
|
+
*/
|
|
1143
|
+
AuditRunningStatus: string
|
|
1184
1144
|
}
|
|
1185
1145
|
|
|
1186
1146
|
/**
|
|
1187
1147
|
* DescribeSlowLogUserHostStats返回参数结构体
|
|
1188
1148
|
*/
|
|
1189
1149
|
export interface DescribeSlowLogUserHostStatsResponse {
|
|
1150
|
+
/**
|
|
1151
|
+
* 来源地址数目。
|
|
1152
|
+
*/
|
|
1153
|
+
TotalCount: number
|
|
1190
1154
|
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1203
|
-
*/
|
|
1204
|
-
RequestId?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* 各来源地址的慢日志占比详情列表。
|
|
1157
|
+
*/
|
|
1158
|
+
Items: Array<SlowLogHost>
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1162
|
+
*/
|
|
1163
|
+
RequestId?: string
|
|
1205
1164
|
}
|
|
1206
1165
|
|
|
1207
1166
|
/**
|
|
1208
1167
|
* DescribeDBDiagReportTasks返回参数结构体
|
|
1209
1168
|
*/
|
|
1210
1169
|
export interface DescribeDBDiagReportTasksResponse {
|
|
1170
|
+
/**
|
|
1171
|
+
* 任务总数目。
|
|
1172
|
+
*/
|
|
1173
|
+
TotalCount: number
|
|
1211
1174
|
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1224
|
-
*/
|
|
1225
|
-
RequestId?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 任务列表。
|
|
1177
|
+
*/
|
|
1178
|
+
Tasks: Array<HealthReportTask>
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1182
|
+
*/
|
|
1183
|
+
RequestId?: string
|
|
1226
1184
|
}
|
|
1227
1185
|
|
|
1228
1186
|
/**
|
|
1229
1187
|
* AddUserContact返回参数结构体
|
|
1230
1188
|
*/
|
|
1231
1189
|
export interface AddUserContactResponse {
|
|
1190
|
+
/**
|
|
1191
|
+
* 添加成功的联系人id。
|
|
1192
|
+
*/
|
|
1193
|
+
Id: number
|
|
1232
1194
|
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1240
|
-
*/
|
|
1241
|
-
RequestId?: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1197
|
+
*/
|
|
1198
|
+
RequestId?: string
|
|
1242
1199
|
}
|
|
1243
1200
|
|
|
1244
1201
|
/**
|
|
1245
1202
|
* 健康报告任务详情。
|
|
1246
1203
|
*/
|
|
1247
1204
|
export interface HealthReportTask {
|
|
1205
|
+
/**
|
|
1206
|
+
* 异步任务请求 ID。
|
|
1207
|
+
*/
|
|
1208
|
+
AsyncRequestId: number
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 定时生成;"MANUAL" - 手动触发。
|
|
1212
|
+
*/
|
|
1213
|
+
Source: string
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* 任务完成进度,单位%。
|
|
1217
|
+
*/
|
|
1218
|
+
Progress: number
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* 任务创建时间。
|
|
1222
|
+
*/
|
|
1223
|
+
CreateTime: string
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* 任务开始执行时间。
|
|
1227
|
+
*/
|
|
1228
|
+
StartTime: string
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* 任务完成执行时间。
|
|
1232
|
+
*/
|
|
1233
|
+
EndTime: string
|
|
1248
1234
|
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
/**
|
|
1260
|
-
* 任务完成进度,单位%。
|
|
1261
|
-
*/
|
|
1262
|
-
Progress: number;
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* 任务创建时间。
|
|
1266
|
-
*/
|
|
1267
|
-
CreateTime: string;
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* 任务开始执行时间。
|
|
1271
|
-
*/
|
|
1272
|
-
StartTime: string;
|
|
1273
|
-
|
|
1274
|
-
/**
|
|
1275
|
-
* 任务完成执行时间。
|
|
1276
|
-
*/
|
|
1277
|
-
EndTime: string;
|
|
1278
|
-
|
|
1279
|
-
/**
|
|
1280
|
-
* 任务所属实例的基础信息。
|
|
1281
|
-
*/
|
|
1282
|
-
InstanceInfo: InstanceBasicInfo;
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* 健康报告中的健康信息。
|
|
1286
|
-
*/
|
|
1287
|
-
HealthStatus: HealthStatus;
|
|
1235
|
+
/**
|
|
1236
|
+
* 任务所属实例的基础信息。
|
|
1237
|
+
*/
|
|
1238
|
+
InstanceInfo: InstanceBasicInfo
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* 健康报告中的健康信息。
|
|
1242
|
+
*/
|
|
1243
|
+
HealthStatus: HealthStatus
|
|
1288
1244
|
}
|
|
1289
1245
|
|
|
1290
1246
|
/**
|
|
1291
1247
|
* DescribeDBDiagReportTasks请求参数结构体
|
|
1292
1248
|
*/
|
|
1293
1249
|
export interface DescribeDBDiagReportTasksRequest {
|
|
1250
|
+
/**
|
|
1251
|
+
* 第一个任务的开始时间,用于范围查询,时间格式如:2019-09-10 12:13:14。
|
|
1252
|
+
*/
|
|
1253
|
+
StartTime?: string
|
|
1294
1254
|
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1337
|
-
*/
|
|
1338
|
-
Product?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* 最后一个任务的开始时间,用于范围查询,时间格式如:2019-09-10 12:13:14。
|
|
1257
|
+
*/
|
|
1258
|
+
EndTime?: string
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* 实例ID数组,用于筛选指定实例的任务列表。
|
|
1262
|
+
*/
|
|
1263
|
+
InstanceIds?: Array<string>
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 定时生成;"MANUAL" - 手动触发。
|
|
1267
|
+
*/
|
|
1268
|
+
Sources?: Array<string>
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* 报告的健康等级,支持的取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK" - 危险;"HIGH_RISK" - 高危。
|
|
1272
|
+
*/
|
|
1273
|
+
HealthLevels?: string
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* 任务的状态,支持的取值包括:"created" - 新建;"chosen" - 待执行; "running" - 执行中;"failed" - 失败;"finished" - 已完成。
|
|
1277
|
+
*/
|
|
1278
|
+
TaskStatuses?: string
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* 偏移量,默认0。
|
|
1282
|
+
*/
|
|
1283
|
+
Offset?: number
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* 返回数量,默认20。
|
|
1287
|
+
*/
|
|
1288
|
+
Limit?: number
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
1292
|
+
*/
|
|
1293
|
+
Product?: string
|
|
1339
1294
|
}
|
|
1340
1295
|
|
|
1341
1296
|
/**
|
|
1342
1297
|
* CreateDBDiagReportTask返回参数结构体
|
|
1343
1298
|
*/
|
|
1344
1299
|
export interface CreateDBDiagReportTaskResponse {
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1300
|
+
/**
|
|
1347
1301
|
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
1348
1302
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1349
1303
|
*/
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1304
|
+
AsyncRequestId?: number
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1308
|
+
*/
|
|
1309
|
+
RequestId?: string
|
|
1356
1310
|
}
|
|
1357
1311
|
|
|
1358
1312
|
/**
|
|
1359
1313
|
* 单位时间间隔内的监控指标数据
|
|
1360
1314
|
*/
|
|
1361
1315
|
export interface MonitorMetricSeriesData {
|
|
1316
|
+
/**
|
|
1317
|
+
* 监控指标。
|
|
1318
|
+
*/
|
|
1319
|
+
Series: Array<MonitorMetric>
|
|
1362
1320
|
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* 监控指标对应的时间戳。
|
|
1370
|
-
*/
|
|
1371
|
-
Timestamp: Array<number>;
|
|
1321
|
+
/**
|
|
1322
|
+
* 监控指标对应的时间戳。
|
|
1323
|
+
*/
|
|
1324
|
+
Timestamp: Array<number>
|
|
1372
1325
|
}
|
|
1373
1326
|
|
|
1374
1327
|
/**
|
|
1375
1328
|
* ModifyDiagDBInstanceConf返回参数结构体
|
|
1376
1329
|
*/
|
|
1377
1330
|
export interface ModifyDiagDBInstanceConfResponse {
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
RequestId?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1333
|
+
*/
|
|
1334
|
+
RequestId?: string
|
|
1383
1335
|
}
|
|
1384
1336
|
|
|
1385
1337
|
/**
|
|
1386
1338
|
* CreateDBDiagReportUrl返回参数结构体
|
|
1387
1339
|
*/
|
|
1388
1340
|
export interface CreateDBDiagReportUrlResponse {
|
|
1341
|
+
/**
|
|
1342
|
+
* 健康报告浏览地址。
|
|
1343
|
+
*/
|
|
1344
|
+
ReportUrl: string
|
|
1389
1345
|
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1402
|
-
*/
|
|
1403
|
-
RequestId?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* 健康报告浏览地址到期时间戳(秒)。
|
|
1348
|
+
*/
|
|
1349
|
+
ExpireTime: number
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1353
|
+
*/
|
|
1354
|
+
RequestId?: string
|
|
1404
1355
|
}
|
|
1405
1356
|
|
|
1406
1357
|
/**
|
|
1407
1358
|
* 扣分详情。
|
|
1408
1359
|
*/
|
|
1409
1360
|
export interface ScoreDetail {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1361
|
+
/**
|
|
1362
|
+
* 扣分项分类,取值包括:可用性、可维护性、性能及可靠性。
|
|
1363
|
+
*/
|
|
1364
|
+
IssueType: string
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* 扣分总分。
|
|
1368
|
+
*/
|
|
1369
|
+
ScoreLost: number
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* 扣分总分上限。
|
|
1373
|
+
*/
|
|
1374
|
+
ScoreLostMax: number
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1427
1377
|
* 扣分项列表。
|
|
1428
1378
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1429
1379
|
*/
|
|
1430
|
-
|
|
1380
|
+
Items: Array<ScoreItem>
|
|
1431
1381
|
}
|
|
1432
1382
|
|
|
1433
1383
|
/**
|
|
1434
1384
|
* DescribeTopSpaceSchemaTimeSeries返回参数结构体
|
|
1435
1385
|
*/
|
|
1436
1386
|
export interface DescribeTopSpaceSchemaTimeSeriesResponse {
|
|
1387
|
+
/**
|
|
1388
|
+
* 返回的Top库空间统计信息的时序数据列表。
|
|
1389
|
+
*/
|
|
1390
|
+
TopSpaceSchemaTimeSeries: Array<SchemaSpaceTimeSeries>
|
|
1437
1391
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1445
|
-
*/
|
|
1446
|
-
RequestId?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1394
|
+
*/
|
|
1395
|
+
RequestId?: string
|
|
1447
1396
|
}
|
|
1448
1397
|
|
|
1449
1398
|
/**
|
|
1450
1399
|
* DeleteSecurityAuditLogExportTasks请求参数结构体
|
|
1451
1400
|
*/
|
|
1452
1401
|
export interface DeleteSecurityAuditLogExportTasksRequest {
|
|
1402
|
+
/**
|
|
1403
|
+
* 安全审计组Id。
|
|
1404
|
+
*/
|
|
1405
|
+
SecAuditGroupId: string
|
|
1453
1406
|
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* 服务产品类型,支持值: "mysql" - 云数据库 MySQL。
|
|
1466
|
-
*/
|
|
1467
|
-
Product: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* 日志导出任务Id列表,接口会忽略不存在或已删除的任务Id。
|
|
1409
|
+
*/
|
|
1410
|
+
AsyncRequestIds: Array<number>
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* 服务产品类型,支持值: "mysql" - 云数据库 MySQL。
|
|
1414
|
+
*/
|
|
1415
|
+
Product: string
|
|
1468
1416
|
}
|
|
1469
1417
|
|
|
1470
1418
|
/**
|
|
1471
1419
|
* CreateSchedulerMailProfile返回参数结构体
|
|
1472
1420
|
*/
|
|
1473
1421
|
export interface CreateSchedulerMailProfileResponse {
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
RequestId?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1424
|
+
*/
|
|
1425
|
+
RequestId?: string
|
|
1479
1426
|
}
|
|
1480
1427
|
|
|
1481
1428
|
/**
|
|
1482
1429
|
* 慢日志TopSql
|
|
1483
1430
|
*/
|
|
1484
1431
|
export interface SlowLogTopSqlItem {
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
RowsExaminedAvg: number;
|
|
1432
|
+
/**
|
|
1433
|
+
* sql总锁等待时间
|
|
1434
|
+
*/
|
|
1435
|
+
LockTime: number
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* 最大锁等待时间
|
|
1439
|
+
*/
|
|
1440
|
+
LockTimeMax: number
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* 最小锁等待时间
|
|
1444
|
+
*/
|
|
1445
|
+
LockTimeMin: number
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* 总扫描行数
|
|
1449
|
+
*/
|
|
1450
|
+
RowsExamined: number
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* 最大扫描行数
|
|
1454
|
+
*/
|
|
1455
|
+
RowsExaminedMax: number
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* 最小扫描行数
|
|
1459
|
+
*/
|
|
1460
|
+
RowsExaminedMin: number
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* 总耗时
|
|
1464
|
+
*/
|
|
1465
|
+
QueryTime: number
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* 最大执行时间
|
|
1469
|
+
*/
|
|
1470
|
+
QueryTimeMax: number
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* 最小执行时间
|
|
1474
|
+
*/
|
|
1475
|
+
QueryTimeMin: number
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* 总返回行数
|
|
1479
|
+
*/
|
|
1480
|
+
RowsSent: number
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* 最大返回行数
|
|
1484
|
+
*/
|
|
1485
|
+
RowsSentMax: number
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* 最小返回行数
|
|
1489
|
+
*/
|
|
1490
|
+
RowsSentMin: number
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* 执行次数
|
|
1494
|
+
*/
|
|
1495
|
+
ExecTimes: number
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* sql模板
|
|
1499
|
+
*/
|
|
1500
|
+
SqlTemplate: string
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* 带参数SQL(随机)
|
|
1504
|
+
*/
|
|
1505
|
+
SqlText: string
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* 数据库名
|
|
1509
|
+
*/
|
|
1510
|
+
Schema: string
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* 总耗时占比
|
|
1514
|
+
*/
|
|
1515
|
+
QueryTimeRatio: number
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* sql总锁等待时间占比
|
|
1519
|
+
*/
|
|
1520
|
+
LockTimeRatio: number
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* 总扫描行数占比
|
|
1524
|
+
*/
|
|
1525
|
+
RowsExaminedRatio: number
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* 总返回行数占比
|
|
1529
|
+
*/
|
|
1530
|
+
RowsSentRatio: number
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* 平均执行时间
|
|
1534
|
+
*/
|
|
1535
|
+
QueryTimeAvg: number
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* 平均返回行数
|
|
1539
|
+
*/
|
|
1540
|
+
RowsSentAvg: number
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* 平均锁等待时间
|
|
1544
|
+
*/
|
|
1545
|
+
LockTimeAvg: number
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* 平均扫描行数
|
|
1549
|
+
*/
|
|
1550
|
+
RowsExaminedAvg: number
|
|
1605
1551
|
}
|
|
1606
1552
|
|
|
1607
1553
|
/**
|
|
1608
1554
|
* 慢日志来源地址详情。
|
|
1609
1555
|
*/
|
|
1610
1556
|
export interface SlowLogHost {
|
|
1557
|
+
/**
|
|
1558
|
+
* 来源地址。
|
|
1559
|
+
*/
|
|
1560
|
+
UserHost: string
|
|
1611
1561
|
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* 该来源地址的慢日志数目。
|
|
1624
|
-
*/
|
|
1625
|
-
Count: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* 该来源地址的慢日志数目占总数目的比例,单位%。
|
|
1564
|
+
*/
|
|
1565
|
+
Ratio: number
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* 该来源地址的慢日志数目。
|
|
1569
|
+
*/
|
|
1570
|
+
Count: number
|
|
1626
1571
|
}
|
|
1627
1572
|
|
|
1628
1573
|
/**
|
|
1629
1574
|
* DescribeSlowLogTopSqls返回参数结构体
|
|
1630
1575
|
*/
|
|
1631
1576
|
export interface DescribeSlowLogTopSqlsResponse {
|
|
1577
|
+
/**
|
|
1578
|
+
* 符合条件的记录总数。
|
|
1579
|
+
*/
|
|
1580
|
+
TotalCount?: number
|
|
1632
1581
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1645
|
-
*/
|
|
1646
|
-
RequestId?: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* 慢日志 top sql 列表
|
|
1584
|
+
*/
|
|
1585
|
+
Rows?: Array<SlowLogTopSqlItem>
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1589
|
+
*/
|
|
1590
|
+
RequestId?: string
|
|
1647
1591
|
}
|
|
1648
1592
|
|
|
1649
1593
|
/**
|
|
1650
1594
|
* 安全审计日志导出任务信息
|
|
1651
1595
|
*/
|
|
1652
1596
|
export interface SecLogExportTaskInfo {
|
|
1597
|
+
/**
|
|
1598
|
+
* 异步任务Id。
|
|
1599
|
+
*/
|
|
1600
|
+
AsyncRequestId: number
|
|
1653
1601
|
|
|
1654
|
-
|
|
1655
|
-
* 异步任务Id。
|
|
1656
|
-
*/
|
|
1657
|
-
AsyncRequestId: number;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1602
|
+
/**
|
|
1660
1603
|
* 任务开始时间。
|
|
1661
1604
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1662
1605
|
*/
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1606
|
+
StartTime: string
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1666
1609
|
* 任务结束时间。
|
|
1667
1610
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1668
1611
|
*/
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1612
|
+
EndTime: string
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* 任务创建时间。
|
|
1616
|
+
*/
|
|
1617
|
+
CreateTime: string
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* 任务状态。
|
|
1621
|
+
*/
|
|
1622
|
+
Status: string
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* 任务执行进度。
|
|
1626
|
+
*/
|
|
1627
|
+
Progress: number
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1687
1630
|
* 导出日志开始时间。
|
|
1688
1631
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1689
1632
|
*/
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1633
|
+
LogStartTime: string
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1693
1636
|
* 导出日志结束时间。
|
|
1694
1637
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1695
1638
|
*/
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1639
|
+
LogEndTime: string
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1699
1642
|
* 日志文件总大小,单位KB。
|
|
1700
1643
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1701
1644
|
*/
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1645
|
+
TotalSize: number
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1705
1648
|
* 风险等级列表。0 无风险;1 低风险;2 中风险;3 高风险。
|
|
1706
1649
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1707
1650
|
*/
|
|
1708
|
-
|
|
1651
|
+
DangerLevels: Array<number>
|
|
1709
1652
|
}
|
|
1710
1653
|
|
|
1711
1654
|
/**
|
|
1712
1655
|
* CreateMailProfile请求参数结构体
|
|
1713
1656
|
*/
|
|
1714
1657
|
export interface CreateMailProfileRequest {
|
|
1658
|
+
/**
|
|
1659
|
+
* 邮件配置内容。
|
|
1660
|
+
*/
|
|
1661
|
+
ProfileInfo: ProfileInfo
|
|
1715
1662
|
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* 配置绑定的实例ID,当配置级别为"Instance"时需要传入且只能为一个实例;当配置级别为“User”时,此参数不填。
|
|
1743
|
-
*/
|
|
1744
|
-
BindInstanceIds?: Array<string>;
|
|
1663
|
+
/**
|
|
1664
|
+
* 配置级别,支持值包括:"User" - 用户级别,"Instance" - 实例级别,其中数据库巡检邮件配置为用户级别,定期生成邮件配置为实例级别。
|
|
1665
|
+
*/
|
|
1666
|
+
ProfileLevel: string
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* 配置名称,需要保持唯一性,数据库巡检邮件配置名称自拟;定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"schduler_cdb-test"。
|
|
1670
|
+
*/
|
|
1671
|
+
ProfileName: string
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* 配置类型,支持值包括:"dbScan_mail_configuration" - 数据库巡检邮件配置,"scheduler_mail_configuration" - 定期生成邮件配置。
|
|
1675
|
+
*/
|
|
1676
|
+
ProfileType: string
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
|
|
1680
|
+
*/
|
|
1681
|
+
Product: string
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* 配置绑定的实例ID,当配置级别为"Instance"时需要传入且只能为一个实例;当配置级别为“User”时,此参数不填。
|
|
1685
|
+
*/
|
|
1686
|
+
BindInstanceIds?: Array<string>
|
|
1745
1687
|
}
|
|
1746
1688
|
|
|
1747
1689
|
/**
|
|
1748
1690
|
* DescribeTopSpaceSchemaTimeSeries请求参数结构体
|
|
1749
1691
|
*/
|
|
1750
1692
|
export interface DescribeTopSpaceSchemaTimeSeriesRequest {
|
|
1693
|
+
/**
|
|
1694
|
+
* 实例ID。
|
|
1695
|
+
*/
|
|
1696
|
+
InstanceId: string
|
|
1751
1697
|
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1779
|
-
*/
|
|
1780
|
-
Product?: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* 返回的Top库数量,最大值为100,默认为20。
|
|
1700
|
+
*/
|
|
1701
|
+
Limit?: number
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* 筛选Top库所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
|
|
1705
|
+
*/
|
|
1706
|
+
SortBy?: string
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* 开始日期,如“2021-01-01”,最早为当日的前第29天,默认为截止日期的前第6天。
|
|
1710
|
+
*/
|
|
1711
|
+
StartDate?: string
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* 截止日期,如“2021-01-01”,最早为当日的前第29天,默认为当日。
|
|
1715
|
+
*/
|
|
1716
|
+
EndDate?: string
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1720
|
+
*/
|
|
1721
|
+
Product?: string
|
|
1781
1722
|
}
|
|
1782
1723
|
|
|
1783
1724
|
/**
|
|
1784
1725
|
* 单位时间间隔内的监控指标数据(浮点型)
|
|
1785
1726
|
*/
|
|
1786
1727
|
export interface MonitorFloatMetricSeriesData {
|
|
1728
|
+
/**
|
|
1729
|
+
* 监控指标。
|
|
1730
|
+
*/
|
|
1731
|
+
Series: Array<MonitorFloatMetric>
|
|
1787
1732
|
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
/**
|
|
1794
|
-
* 监控指标对应的时间戳。
|
|
1795
|
-
*/
|
|
1796
|
-
Timestamp: Array<number>;
|
|
1733
|
+
/**
|
|
1734
|
+
* 监控指标对应的时间戳。
|
|
1735
|
+
*/
|
|
1736
|
+
Timestamp: Array<number>
|
|
1797
1737
|
}
|
|
1798
1738
|
|
|
1799
1739
|
/**
|
|
1800
1740
|
* 邮件发送配置
|
|
1801
1741
|
*/
|
|
1802
1742
|
export interface MailConfiguration {
|
|
1743
|
+
/**
|
|
1744
|
+
* 是否开启邮件发送: 0, 否; 1, 是。
|
|
1745
|
+
*/
|
|
1746
|
+
SendMail: number
|
|
1803
1747
|
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* 联系组id, 联系人/联系组不能都为空。
|
|
1826
|
-
*/
|
|
1827
|
-
ContactGroup?: Array<number>;
|
|
1748
|
+
/**
|
|
1749
|
+
* 地域配置, 如["ap-guangzhou", "ap-shanghai"]。巡检的邮件发送模版,配置需要发送巡检邮件的地域;订阅的邮件发送模版,配置当前订阅实例的所属地域。
|
|
1750
|
+
*/
|
|
1751
|
+
Region: Array<string>
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* 发送指定的健康等级的报告, 如["HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK"]。
|
|
1755
|
+
*/
|
|
1756
|
+
HealthStatus: Array<string>
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* 联系人id, 联系人/联系组不能都为空。
|
|
1760
|
+
*/
|
|
1761
|
+
ContactPerson?: Array<number>
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* 联系组id, 联系人/联系组不能都为空。
|
|
1765
|
+
*/
|
|
1766
|
+
ContactGroup?: Array<number>
|
|
1828
1767
|
}
|
|
1829
1768
|
|
|
1830
1769
|
/**
|
|
1831
1770
|
* DescribeTopSpaceTableTimeSeries请求参数结构体
|
|
1832
1771
|
*/
|
|
1833
1772
|
export interface DescribeTopSpaceTableTimeSeriesRequest {
|
|
1773
|
+
/**
|
|
1774
|
+
* 实例 ID 。
|
|
1775
|
+
*/
|
|
1776
|
+
InstanceId: string
|
|
1834
1777
|
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1862
|
-
*/
|
|
1863
|
-
Product?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* 返回的Top表数量,最大值为100,默认为20。
|
|
1780
|
+
*/
|
|
1781
|
+
Limit?: number
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* 筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize,默认为 PhysicalFileSize。
|
|
1785
|
+
*/
|
|
1786
|
+
SortBy?: string
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* 开始日期,如“2021-01-01”,最早为当日的前第29天,默认为截止日期的前第6天。
|
|
1790
|
+
*/
|
|
1791
|
+
StartDate?: string
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* 截止日期,如“2021-01-01”,最早为当日的前第29天,默认为当日。
|
|
1795
|
+
*/
|
|
1796
|
+
EndDate?: string
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1800
|
+
*/
|
|
1801
|
+
Product?: string
|
|
1864
1802
|
}
|
|
1865
1803
|
|
|
1866
1804
|
/**
|
|
1867
1805
|
* DescribeSlowLogTopSqls请求参数结构体
|
|
1868
1806
|
*/
|
|
1869
1807
|
export interface DescribeSlowLogTopSqlsRequest {
|
|
1808
|
+
/**
|
|
1809
|
+
* 实例 ID 。
|
|
1810
|
+
*/
|
|
1811
|
+
InstanceId: string
|
|
1870
1812
|
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
/**
|
|
1912
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1913
|
-
*/
|
|
1914
|
-
Product?: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* 开始时间,如“2019-09-10 12:13:14”。
|
|
1815
|
+
*/
|
|
1816
|
+
StartTime: string
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。
|
|
1820
|
+
*/
|
|
1821
|
+
EndTime: string
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。
|
|
1825
|
+
*/
|
|
1826
|
+
SortBy?: string
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* 排序方式,支持ASC(升序)以及DESC(降序)。
|
|
1830
|
+
*/
|
|
1831
|
+
OrderBy?: string
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* 返回数量,默认为20,最大值为100。
|
|
1835
|
+
*/
|
|
1836
|
+
Limit?: number
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* 偏移量,默认为0。
|
|
1840
|
+
*/
|
|
1841
|
+
Offset?: number
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* 数据库名称数组。
|
|
1845
|
+
*/
|
|
1846
|
+
SchemaList?: Array<SchemaItem>
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
|
1850
|
+
*/
|
|
1851
|
+
Product?: string
|
|
1915
1852
|
}
|
|
1916
1853
|
|
|
1917
1854
|
/**
|
|
1918
1855
|
* DescribeMailProfile返回参数结构体
|
|
1919
1856
|
*/
|
|
1920
1857
|
export interface DescribeMailProfileResponse {
|
|
1921
|
-
|
|
1922
|
-
/**
|
|
1858
|
+
/**
|
|
1923
1859
|
* 邮件配置详情。
|
|
1924
1860
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1925
1861
|
*/
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1862
|
+
ProfileList: Array<UserProfile>
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1929
1865
|
* 邮件模版总数。
|
|
1930
1866
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1931
1867
|
*/
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1868
|
+
TotalCount: number
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1872
|
+
*/
|
|
1873
|
+
RequestId?: string
|
|
1938
1874
|
}
|
|
1939
1875
|
|
|
1940
1876
|
/**
|
|
1941
1877
|
* 库表空间统计数据。
|
|
1942
1878
|
*/
|
|
1943
1879
|
export interface TableSpaceData {
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
PhysicalFileSize: number;
|
|
1880
|
+
/**
|
|
1881
|
+
* 表名。
|
|
1882
|
+
*/
|
|
1883
|
+
TableName: string
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* 库名。
|
|
1887
|
+
*/
|
|
1888
|
+
TableSchema: string
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* 库表的存储引擎。
|
|
1892
|
+
*/
|
|
1893
|
+
Engine: string
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* 数据空间(MB)。
|
|
1897
|
+
*/
|
|
1898
|
+
DataLength: number
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* 索引空间(MB)。
|
|
1902
|
+
*/
|
|
1903
|
+
IndexLength: number
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* 碎片空间(MB)。
|
|
1907
|
+
*/
|
|
1908
|
+
DataFree: number
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* 总使用空间(MB)。
|
|
1912
|
+
*/
|
|
1913
|
+
TotalLength: number
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* 碎片率(%)。
|
|
1917
|
+
*/
|
|
1918
|
+
FragRatio: number
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* 行数。
|
|
1922
|
+
*/
|
|
1923
|
+
TableRows: number
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* 表对应的独立物理文件大小(MB)。
|
|
1927
|
+
*/
|
|
1928
|
+
PhysicalFileSize: number
|
|
1994
1929
|
}
|
|
1995
1930
|
|
|
1996
1931
|
/**
|
|
1997
1932
|
* DescribeSecurityAuditLogDownloadUrls返回参数结构体
|
|
1998
1933
|
*/
|
|
1999
1934
|
export interface DescribeSecurityAuditLogDownloadUrlsResponse {
|
|
1935
|
+
/**
|
|
1936
|
+
* 导出结果的COS链接列表。当结果集很大时,可能会切分为多个url下载。
|
|
1937
|
+
*/
|
|
1938
|
+
Urls: Array<string>
|
|
2000
1939
|
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2008
|
-
*/
|
|
2009
|
-
RequestId?: string;
|
|
1940
|
+
/**
|
|
1941
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1942
|
+
*/
|
|
1943
|
+
RequestId?: string
|
|
2010
1944
|
}
|
|
2011
1945
|
|
|
2012
1946
|
/**
|
|
2013
1947
|
* 异常事件信息。
|
|
2014
1948
|
*/
|
|
2015
1949
|
export interface EventInfo {
|
|
1950
|
+
/**
|
|
1951
|
+
* 事件 ID 。
|
|
1952
|
+
*/
|
|
1953
|
+
EventId: number
|
|
2016
1954
|
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
/**
|
|
2058
|
-
* 告警数目。
|
|
2059
|
-
*/
|
|
2060
|
-
Count: number;
|
|
1955
|
+
/**
|
|
1956
|
+
* 诊断类型。
|
|
1957
|
+
*/
|
|
1958
|
+
DiagType: string
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* 开始时间。
|
|
1962
|
+
*/
|
|
1963
|
+
StartTime: string
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* 结束时间。
|
|
1967
|
+
*/
|
|
1968
|
+
EndTime: string
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* 概要。
|
|
1972
|
+
*/
|
|
1973
|
+
Outline: string
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
|
1977
|
+
*/
|
|
1978
|
+
Severity: number
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* 扣分。
|
|
1982
|
+
*/
|
|
1983
|
+
ScoreLost: number
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* 保留字段。
|
|
1987
|
+
*/
|
|
1988
|
+
Metric: string
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* 告警数目。
|
|
1992
|
+
*/
|
|
1993
|
+
Count: number
|
|
2061
1994
|
}
|
|
2062
1995
|
|
|
2063
1996
|
/**
|
|
2064
1997
|
* DescribeMailProfile请求参数结构体
|
|
2065
1998
|
*/
|
|
2066
1999
|
export interface DescribeMailProfileRequest {
|
|
2000
|
+
/**
|
|
2001
|
+
* 配置类型,支持值包括:"dbScan_mail_configuration" - 数据库巡检邮件配置,"scheduler_mail_configuration" - 定期生成邮件配置。
|
|
2002
|
+
*/
|
|
2003
|
+
ProfileType: string
|
|
2067
2004
|
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* 根据邮件配置名称查询,定期发送的邮件配置名称遵循:"scheduler_"+{instanceId}的规则。
|
|
2090
|
-
*/
|
|
2091
|
-
ProfileName?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2007
|
+
*/
|
|
2008
|
+
Product: string
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* 分页偏移量。
|
|
2012
|
+
*/
|
|
2013
|
+
Offset: number
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* 分页单位,最大支持50。
|
|
2017
|
+
*/
|
|
2018
|
+
Limit: number
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* 根据邮件配置名称查询,定期发送的邮件配置名称遵循:"scheduler_"+{instanceId}的规则。
|
|
2022
|
+
*/
|
|
2023
|
+
ProfileName?: string
|
|
2092
2024
|
}
|
|
2093
2025
|
|
|
2094
2026
|
/**
|
|
2095
2027
|
* DescribeHealthScore请求参数结构体
|
|
2096
2028
|
*/
|
|
2097
2029
|
export interface DescribeHealthScoreRequest {
|
|
2030
|
+
/**
|
|
2031
|
+
* 需要获取健康得分的实例ID。
|
|
2032
|
+
*/
|
|
2033
|
+
InstanceId: string
|
|
2098
2034
|
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2111
|
-
*/
|
|
2112
|
-
Product: string;
|
|
2035
|
+
/**
|
|
2036
|
+
* 获取健康得分的时间。
|
|
2037
|
+
*/
|
|
2038
|
+
Time: string
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2042
|
+
*/
|
|
2043
|
+
Product: string
|
|
2113
2044
|
}
|
|
2114
2045
|
|
|
2115
2046
|
/**
|
|
2116
2047
|
* DeleteSecurityAuditLogExportTasks返回参数结构体
|
|
2117
2048
|
*/
|
|
2118
2049
|
export interface DeleteSecurityAuditLogExportTasksResponse {
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
RequestId?: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2052
|
+
*/
|
|
2053
|
+
RequestId?: string
|
|
2124
2054
|
}
|
|
2125
2055
|
|
|
2126
2056
|
/**
|
|
2127
2057
|
* 指标信息。
|
|
2128
2058
|
*/
|
|
2129
2059
|
export interface IssueTypeInfo {
|
|
2060
|
+
/**
|
|
2061
|
+
* 指标分类:AVAILABILITY:可用性,MAINTAINABILITY:可维护性,PERFORMANCE,性能,RELIABILITY可靠性。
|
|
2062
|
+
*/
|
|
2063
|
+
IssueType: string
|
|
2130
2064
|
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
/**
|
|
2142
|
-
* 异常事件总数。
|
|
2143
|
-
*/
|
|
2144
|
-
TotalCount: number;
|
|
2065
|
+
/**
|
|
2066
|
+
* 异常事件。
|
|
2067
|
+
*/
|
|
2068
|
+
Events: Array<EventInfo>
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* 异常事件总数。
|
|
2072
|
+
*/
|
|
2073
|
+
TotalCount: number
|
|
2145
2074
|
}
|
|
2146
2075
|
|
|
2147
2076
|
/**
|
|
2148
2077
|
* 实例配置。
|
|
2149
2078
|
*/
|
|
2150
2079
|
export interface InstanceConfs {
|
|
2080
|
+
/**
|
|
2081
|
+
* 数据库巡检开关, Yes/No。
|
|
2082
|
+
*/
|
|
2083
|
+
DailyInspection?: string
|
|
2151
2084
|
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
/**
|
|
2158
|
-
* 实例概览开关,Yes/No。
|
|
2159
|
-
*/
|
|
2160
|
-
OverviewDisplay?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* 实例概览开关,Yes/No。
|
|
2087
|
+
*/
|
|
2088
|
+
OverviewDisplay?: string
|
|
2161
2089
|
}
|
|
2162
2090
|
|
|
2163
2091
|
/**
|
|
2164
2092
|
* DescribeDiagDBInstances返回参数结构体
|
|
2165
2093
|
*/
|
|
2166
2094
|
export interface DescribeDiagDBInstancesResponse {
|
|
2095
|
+
/**
|
|
2096
|
+
* 实例总数。
|
|
2097
|
+
*/
|
|
2098
|
+
TotalCount: number
|
|
2167
2099
|
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
/**
|
|
2184
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2185
|
-
*/
|
|
2186
|
-
RequestId?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* 全实例巡检状态:0:开启全实例巡检;1:未开启全实例巡检。
|
|
2102
|
+
*/
|
|
2103
|
+
DbScanStatus: number
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* 实例相关信息。
|
|
2107
|
+
*/
|
|
2108
|
+
Items: Array<InstanceInfo>
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2112
|
+
*/
|
|
2113
|
+
RequestId?: string
|
|
2187
2114
|
}
|
|
2188
2115
|
|
|
2189
2116
|
/**
|
|
2190
2117
|
* 实例健康详情。
|
|
2191
2118
|
*/
|
|
2192
2119
|
export interface HealthStatus {
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
/**
|
|
2120
|
+
/**
|
|
2121
|
+
* 健康分数,满分100。
|
|
2122
|
+
*/
|
|
2123
|
+
HealthScore: number
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* 健康等级,取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK"- 危险;"HIGH_RISK" - 高危。
|
|
2127
|
+
*/
|
|
2128
|
+
HealthLevel: string
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* 总扣分分数。
|
|
2132
|
+
*/
|
|
2133
|
+
ScoreLost: number
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2210
2136
|
* 扣分详情。
|
|
2211
2137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2212
2138
|
*/
|
|
2213
|
-
|
|
2139
|
+
ScoreDetails: Array<ScoreDetail>
|
|
2214
2140
|
}
|
|
2215
2141
|
|
|
2216
2142
|
/**
|
|
2217
2143
|
* DescribeUserSqlAdvice请求参数结构体
|
|
2218
2144
|
*/
|
|
2219
2145
|
export interface DescribeUserSqlAdviceRequest {
|
|
2146
|
+
/**
|
|
2147
|
+
* 实例ID。
|
|
2148
|
+
*/
|
|
2149
|
+
InstanceId: string
|
|
2220
2150
|
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
/**
|
|
2232
|
-
* 库名。
|
|
2233
|
-
*/
|
|
2234
|
-
Schema?: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* SQL语句。
|
|
2153
|
+
*/
|
|
2154
|
+
SqlText: string
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* 库名。
|
|
2158
|
+
*/
|
|
2159
|
+
Schema?: string
|
|
2235
2160
|
}
|
|
2236
2161
|
|
|
2237
2162
|
/**
|
|
2238
2163
|
* DescribeAllUserGroup请求参数结构体
|
|
2239
2164
|
*/
|
|
2240
2165
|
export interface DescribeAllUserGroupRequest {
|
|
2166
|
+
/**
|
|
2167
|
+
* 服务产品类型,固定值:mysql。
|
|
2168
|
+
*/
|
|
2169
|
+
Product: string
|
|
2241
2170
|
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
* 联系组名称数组,支持模糊搜索。
|
|
2249
|
-
*/
|
|
2250
|
-
Names?: Array<string>;
|
|
2171
|
+
/**
|
|
2172
|
+
* 联系组名称数组,支持模糊搜索。
|
|
2173
|
+
*/
|
|
2174
|
+
Names?: Array<string>
|
|
2251
2175
|
}
|
|
2252
2176
|
|
|
2253
2177
|
/**
|
|
2254
2178
|
* CreateDBDiagReportUrl请求参数结构体
|
|
2255
2179
|
*/
|
|
2256
2180
|
export interface CreateDBDiagReportUrlRequest {
|
|
2181
|
+
/**
|
|
2182
|
+
* 实例ID。
|
|
2183
|
+
*/
|
|
2184
|
+
InstanceId: string
|
|
2257
2185
|
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
/**
|
|
2269
|
-
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2270
|
-
*/
|
|
2271
|
-
Product?: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
|
2188
|
+
*/
|
|
2189
|
+
AsyncRequestId: number
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
2193
|
+
*/
|
|
2194
|
+
Product?: string
|
|
2272
2195
|
}
|
|
2273
2196
|
|
|
2274
2197
|
/**
|
|
2275
2198
|
* DescribeSlowLogTimeSeriesStats返回参数结构体
|
|
2276
2199
|
*/
|
|
2277
2200
|
export interface DescribeSlowLogTimeSeriesStatsResponse {
|
|
2201
|
+
/**
|
|
2202
|
+
* 柱间单位时间间隔,单位为秒。
|
|
2203
|
+
*/
|
|
2204
|
+
Period?: number
|
|
2278
2205
|
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
/**
|
|
2295
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2296
|
-
*/
|
|
2297
|
-
RequestId?: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* 单位时间间隔内慢日志数量统计。
|
|
2208
|
+
*/
|
|
2209
|
+
TimeSeries?: Array<TimeSlice>
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* 单位时间间隔内的实例 cpu 利用率监控数据。
|
|
2213
|
+
*/
|
|
2214
|
+
SeriesData?: MonitorMetricSeriesData
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2218
|
+
*/
|
|
2219
|
+
RequestId?: string
|
|
2298
2220
|
}
|
|
2299
2221
|
|
|
2300
2222
|
/**
|
|
2301
2223
|
* DescribeSecurityAuditLogExportTasks返回参数结构体
|
|
2302
2224
|
*/
|
|
2303
2225
|
export interface DescribeSecurityAuditLogExportTasksResponse {
|
|
2226
|
+
/**
|
|
2227
|
+
* 安全审计日志导出任务列表。
|
|
2228
|
+
*/
|
|
2229
|
+
Tasks: Array<SecLogExportTaskInfo>
|
|
2304
2230
|
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
/**
|
|
2316
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2317
|
-
*/
|
|
2318
|
-
RequestId?: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* 安全审计日志导出任务总数。
|
|
2233
|
+
*/
|
|
2234
|
+
TotalCount: number
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2238
|
+
*/
|
|
2239
|
+
RequestId?: string
|
|
2319
2240
|
}
|
|
2320
2241
|
|
|
2321
2242
|
/**
|
|
2322
2243
|
* CreateSecurityAuditLogExportTask返回参数结构体
|
|
2323
2244
|
*/
|
|
2324
2245
|
export interface CreateSecurityAuditLogExportTaskResponse {
|
|
2246
|
+
/**
|
|
2247
|
+
* 日志导出任务Id。
|
|
2248
|
+
*/
|
|
2249
|
+
AsyncRequestId: number
|
|
2325
2250
|
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2333
|
-
*/
|
|
2334
|
-
RequestId?: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2253
|
+
*/
|
|
2254
|
+
RequestId?: string
|
|
2335
2255
|
}
|
|
2336
2256
|
|
|
2337
2257
|
/**
|
|
2338
2258
|
* 用户配置的相关信息,包括邮件配置。
|
|
2339
2259
|
*/
|
|
2340
2260
|
export interface UserProfile {
|
|
2341
|
-
|
|
2342
|
-
/**
|
|
2261
|
+
/**
|
|
2343
2262
|
* 配置的id。
|
|
2344
2263
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2345
2264
|
*/
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2265
|
+
ProfileId: string
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2349
2268
|
* 配置类型。
|
|
2350
2269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2351
2270
|
*/
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2271
|
+
ProfileType: string
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2355
2274
|
* 配置级别,"User"或"Instance"。
|
|
2356
2275
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2357
2276
|
*/
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2277
|
+
ProfileLevel: string
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2361
2280
|
* 配置名称。
|
|
2362
2281
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2363
2282
|
*/
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2283
|
+
ProfileName: string
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* 配置详情。
|
|
2287
|
+
*/
|
|
2288
|
+
ProfileInfo: ProfileInfo
|
|
2370
2289
|
}
|
|
2371
2290
|
|
|
2372
2291
|
/**
|
|
2373
2292
|
* 库空间统计数据。
|
|
2374
2293
|
*/
|
|
2375
2294
|
export interface SchemaSpaceData {
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
/**
|
|
2295
|
+
/**
|
|
2296
|
+
* 库名。
|
|
2297
|
+
*/
|
|
2298
|
+
TableSchema: string
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* 数据空间(MB)。
|
|
2302
|
+
*/
|
|
2303
|
+
DataLength: number
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* 索引空间(MB)。
|
|
2307
|
+
*/
|
|
2308
|
+
IndexLength: number
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* 碎片空间(MB)。
|
|
2312
|
+
*/
|
|
2313
|
+
DataFree: number
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* 总使用空间(MB)。
|
|
2317
|
+
*/
|
|
2318
|
+
TotalLength: number
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* 碎片率(%)。
|
|
2322
|
+
*/
|
|
2323
|
+
FragRatio: number
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* 行数。
|
|
2327
|
+
*/
|
|
2328
|
+
TableRows: number
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2413
2331
|
* 库中所有表对应的独立物理文件大小加和(MB)。
|
|
2414
2332
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2415
2333
|
*/
|
|
2416
|
-
|
|
2334
|
+
PhysicalFileSize: number
|
|
2417
2335
|
}
|
|
2418
2336
|
|
|
2419
2337
|
/**
|
|
2420
2338
|
* DescribeTopSpaceTables返回参数结构体
|
|
2421
2339
|
*/
|
|
2422
2340
|
export interface DescribeTopSpaceTablesResponse {
|
|
2341
|
+
/**
|
|
2342
|
+
* 返回的Top表空间统计信息列表。
|
|
2343
|
+
*/
|
|
2344
|
+
TopSpaceTables: Array<TableSpaceData>
|
|
2423
2345
|
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
/**
|
|
2430
|
-
* 采集表空间数据的时间戳(秒)。
|
|
2431
|
-
*/
|
|
2432
|
-
Timestamp: number;
|
|
2433
|
-
|
|
2434
|
-
/**
|
|
2435
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2436
|
-
*/
|
|
2437
|
-
RequestId?: string;
|
|
2438
|
-
}
|
|
2346
|
+
/**
|
|
2347
|
+
* 采集表空间数据的时间戳(秒)。
|
|
2348
|
+
*/
|
|
2349
|
+
Timestamp: number
|
|
2439
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2353
|
+
*/
|
|
2354
|
+
RequestId?: string
|
|
2355
|
+
}
|