@alicloud/das20200116 2.1.0 → 2.2.0
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/dist/client.d.ts +1041 -42
- package/dist/client.js +824 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1921 -293
package/src/client.ts
CHANGED
|
@@ -4100,26 +4100,45 @@ export class DescribeInstanceDasProResponse extends $tea.Model {
|
|
|
4100
4100
|
}
|
|
4101
4101
|
}
|
|
4102
4102
|
|
|
4103
|
-
export class
|
|
4103
|
+
export class DescribeSlowLogHistogramAsyncRequest extends $tea.Model {
|
|
4104
|
+
/**
|
|
4105
|
+
* @example
|
|
4106
|
+
* 1662518540764
|
|
4107
|
+
*/
|
|
4108
|
+
endTime?: number;
|
|
4109
|
+
filters?: DescribeSlowLogHistogramAsyncRequestFilters[];
|
|
4104
4110
|
/**
|
|
4105
|
-
* @remarks
|
|
4106
|
-
* The ID of the database instance.
|
|
4107
|
-
*
|
|
4108
|
-
* This parameter is required.
|
|
4109
|
-
*
|
|
4110
4111
|
* @example
|
|
4111
4112
|
* rm-2ze8g2am97624****
|
|
4112
4113
|
*/
|
|
4113
4114
|
instanceId?: string;
|
|
4115
|
+
/**
|
|
4116
|
+
* @example
|
|
4117
|
+
* r-****-db-0
|
|
4118
|
+
*/
|
|
4119
|
+
nodeId?: string;
|
|
4120
|
+
/**
|
|
4121
|
+
* @example
|
|
4122
|
+
* 1596177993000
|
|
4123
|
+
*/
|
|
4124
|
+
startTime?: number;
|
|
4114
4125
|
static names(): { [key: string]: string } {
|
|
4115
4126
|
return {
|
|
4127
|
+
endTime: 'EndTime',
|
|
4128
|
+
filters: 'Filters',
|
|
4116
4129
|
instanceId: 'InstanceId',
|
|
4130
|
+
nodeId: 'NodeId',
|
|
4131
|
+
startTime: 'StartTime',
|
|
4117
4132
|
};
|
|
4118
4133
|
}
|
|
4119
4134
|
|
|
4120
4135
|
static types(): { [key: string]: any } {
|
|
4121
4136
|
return {
|
|
4137
|
+
endTime: 'number',
|
|
4138
|
+
filters: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncRequestFilters },
|
|
4122
4139
|
instanceId: 'string',
|
|
4140
|
+
nodeId: 'string',
|
|
4141
|
+
startTime: 'number',
|
|
4123
4142
|
};
|
|
4124
4143
|
}
|
|
4125
4144
|
|
|
@@ -4128,45 +4147,28 @@ export class DescribeSqlLogConfigRequest extends $tea.Model {
|
|
|
4128
4147
|
}
|
|
4129
4148
|
}
|
|
4130
4149
|
|
|
4131
|
-
export class
|
|
4150
|
+
export class DescribeSlowLogHistogramAsyncResponseBody extends $tea.Model {
|
|
4132
4151
|
/**
|
|
4133
|
-
* @remarks
|
|
4134
|
-
* The response code.
|
|
4135
|
-
*
|
|
4136
4152
|
* @example
|
|
4137
4153
|
* 200
|
|
4138
4154
|
*/
|
|
4139
4155
|
code?: string;
|
|
4140
4156
|
/**
|
|
4141
4157
|
* @remarks
|
|
4142
|
-
*
|
|
4158
|
+
* AsyncResult<Histogram>。
|
|
4143
4159
|
*/
|
|
4144
|
-
data?:
|
|
4160
|
+
data?: DescribeSlowLogHistogramAsyncResponseBodyData;
|
|
4145
4161
|
/**
|
|
4146
|
-
* @remarks
|
|
4147
|
-
* The returned message.
|
|
4148
|
-
*
|
|
4149
|
-
* > If the request was successful, **Successful** is returned. If the request failed, an error message is returned.
|
|
4150
|
-
*
|
|
4151
4162
|
* @example
|
|
4152
4163
|
* Successful
|
|
4153
4164
|
*/
|
|
4154
4165
|
message?: string;
|
|
4155
4166
|
/**
|
|
4156
|
-
* @remarks
|
|
4157
|
-
* The request ID.
|
|
4158
|
-
*
|
|
4159
4167
|
* @example
|
|
4160
|
-
*
|
|
4168
|
+
* B6D17591-B48B-4D31-9CD6-9B9796B2****
|
|
4161
4169
|
*/
|
|
4162
4170
|
requestId?: string;
|
|
4163
4171
|
/**
|
|
4164
|
-
* @remarks
|
|
4165
|
-
* Indicates whether the request was successful. Valid values:
|
|
4166
|
-
*
|
|
4167
|
-
* * **true**
|
|
4168
|
-
* * **false**
|
|
4169
|
-
*
|
|
4170
4172
|
* @example
|
|
4171
4173
|
* true
|
|
4172
4174
|
*/
|
|
@@ -4184,7 +4186,7 @@ export class DescribeSqlLogConfigResponseBody extends $tea.Model {
|
|
|
4184
4186
|
static types(): { [key: string]: any } {
|
|
4185
4187
|
return {
|
|
4186
4188
|
code: 'string',
|
|
4187
|
-
data:
|
|
4189
|
+
data: DescribeSlowLogHistogramAsyncResponseBodyData,
|
|
4188
4190
|
message: 'string',
|
|
4189
4191
|
requestId: 'string',
|
|
4190
4192
|
success: 'string',
|
|
@@ -4196,10 +4198,10 @@ export class DescribeSqlLogConfigResponseBody extends $tea.Model {
|
|
|
4196
4198
|
}
|
|
4197
4199
|
}
|
|
4198
4200
|
|
|
4199
|
-
export class
|
|
4201
|
+
export class DescribeSlowLogHistogramAsyncResponse extends $tea.Model {
|
|
4200
4202
|
headers?: { [key: string]: string };
|
|
4201
4203
|
statusCode?: number;
|
|
4202
|
-
body?:
|
|
4204
|
+
body?: DescribeSlowLogHistogramAsyncResponseBody;
|
|
4203
4205
|
static names(): { [key: string]: string } {
|
|
4204
4206
|
return {
|
|
4205
4207
|
headers: 'headers',
|
|
@@ -4212,7 +4214,7 @@ export class DescribeSqlLogConfigResponse extends $tea.Model {
|
|
|
4212
4214
|
return {
|
|
4213
4215
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4214
4216
|
statusCode: 'number',
|
|
4215
|
-
body:
|
|
4217
|
+
body: DescribeSlowLogHistogramAsyncResponseBody,
|
|
4216
4218
|
};
|
|
4217
4219
|
}
|
|
4218
4220
|
|
|
@@ -4221,99 +4223,87 @@ export class DescribeSqlLogConfigResponse extends $tea.Model {
|
|
|
4221
4223
|
}
|
|
4222
4224
|
}
|
|
4223
4225
|
|
|
4224
|
-
export class
|
|
4226
|
+
export class DescribeSlowLogStatisticRequest extends $tea.Model {
|
|
4225
4227
|
/**
|
|
4226
|
-
* @remarks
|
|
4227
|
-
* The end of the time range to query. This value is a UNIX timestamp. Unit: millisecond.
|
|
4228
|
-
*
|
|
4229
4228
|
* @example
|
|
4230
|
-
*
|
|
4229
|
+
* true
|
|
4231
4230
|
*/
|
|
4232
|
-
|
|
4231
|
+
asc?: boolean;
|
|
4233
4232
|
/**
|
|
4234
|
-
* @
|
|
4235
|
-
*
|
|
4233
|
+
* @example
|
|
4234
|
+
* 1608888296000
|
|
4236
4235
|
*/
|
|
4237
|
-
|
|
4236
|
+
endTime?: number;
|
|
4237
|
+
filters?: DescribeSlowLogStatisticRequestFilters[];
|
|
4238
4238
|
/**
|
|
4239
|
-
* @remarks
|
|
4240
|
-
* The database instance ID.
|
|
4241
|
-
*
|
|
4242
|
-
* This parameter is required.
|
|
4243
|
-
*
|
|
4244
4239
|
* @example
|
|
4245
|
-
*
|
|
4240
|
+
* rm-2ze1jdv45i7l6****
|
|
4246
4241
|
*/
|
|
4247
4242
|
instanceId?: string;
|
|
4248
4243
|
/**
|
|
4249
|
-
* @remarks
|
|
4250
|
-
* The node ID.
|
|
4251
|
-
*
|
|
4252
|
-
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this parameter is valid only for instances of the Cluster Edition. If you do not specify this parameter, the log details of the primary node is queried by default.
|
|
4253
|
-
* * For PolarDB-X 2.0 instances, set this parameter to **polarx_cn** if the node is a compute node, or **polarx_dn** if the node is a data node.
|
|
4254
|
-
*
|
|
4255
4244
|
* @example
|
|
4256
|
-
*
|
|
4245
|
+
* r-x****-db-0
|
|
4257
4246
|
*/
|
|
4258
4247
|
nodeId?: string;
|
|
4259
4248
|
/**
|
|
4260
|
-
* @
|
|
4261
|
-
*
|
|
4262
|
-
|
|
4249
|
+
* @example
|
|
4250
|
+
* count
|
|
4251
|
+
*/
|
|
4252
|
+
orderBy?: string;
|
|
4253
|
+
/**
|
|
4263
4254
|
* @example
|
|
4264
4255
|
* 1
|
|
4265
4256
|
*/
|
|
4266
|
-
|
|
4257
|
+
pageNumber?: number;
|
|
4267
4258
|
/**
|
|
4268
|
-
* @remarks
|
|
4269
|
-
* The number of entries per page. Default value: 10.
|
|
4270
|
-
*
|
|
4271
4259
|
* @example
|
|
4272
|
-
*
|
|
4260
|
+
* 20
|
|
4273
4261
|
*/
|
|
4274
4262
|
pageSize?: number;
|
|
4275
4263
|
/**
|
|
4276
|
-
* @remarks
|
|
4277
|
-
* The role of the node of the PolarDB-X 2.0 instance. Valid values:
|
|
4278
|
-
*
|
|
4279
|
-
* * \\*\\*polarx_cn\\*\\*: compute node
|
|
4280
|
-
* * \\*\\*polarx_dn\\*\\*: data node
|
|
4281
|
-
*
|
|
4282
4264
|
* @example
|
|
4283
|
-
*
|
|
4265
|
+
* 1568269711000
|
|
4284
4266
|
*/
|
|
4285
|
-
|
|
4267
|
+
startTime?: number;
|
|
4286
4268
|
/**
|
|
4287
|
-
* @remarks
|
|
4288
|
-
* The beginning of the time range to query. This value is a UNIX timestamp. Unit: millisecond.
|
|
4289
|
-
*
|
|
4290
4269
|
* @example
|
|
4291
|
-
*
|
|
4270
|
+
* 04ea3310df40c3fa8a6b4854db49f79a
|
|
4292
4271
|
*/
|
|
4293
|
-
|
|
4272
|
+
templateId?: string;
|
|
4273
|
+
/**
|
|
4274
|
+
* @example
|
|
4275
|
+
* SQL
|
|
4276
|
+
*/
|
|
4277
|
+
type?: string;
|
|
4294
4278
|
static names(): { [key: string]: string } {
|
|
4295
4279
|
return {
|
|
4280
|
+
asc: 'Asc',
|
|
4296
4281
|
endTime: 'EndTime',
|
|
4297
4282
|
filters: 'Filters',
|
|
4298
4283
|
instanceId: 'InstanceId',
|
|
4299
4284
|
nodeId: 'NodeId',
|
|
4300
|
-
|
|
4285
|
+
orderBy: 'OrderBy',
|
|
4286
|
+
pageNumber: 'PageNumber',
|
|
4301
4287
|
pageSize: 'PageSize',
|
|
4302
|
-
role: 'Role',
|
|
4303
4288
|
startTime: 'StartTime',
|
|
4289
|
+
templateId: 'TemplateId',
|
|
4290
|
+
type: 'Type',
|
|
4304
4291
|
};
|
|
4305
4292
|
}
|
|
4306
4293
|
|
|
4307
4294
|
static types(): { [key: string]: any } {
|
|
4308
4295
|
return {
|
|
4296
|
+
asc: 'boolean',
|
|
4309
4297
|
endTime: 'number',
|
|
4310
|
-
filters: { 'type': 'array', 'itemType':
|
|
4298
|
+
filters: { 'type': 'array', 'itemType': DescribeSlowLogStatisticRequestFilters },
|
|
4311
4299
|
instanceId: 'string',
|
|
4312
4300
|
nodeId: 'string',
|
|
4313
|
-
|
|
4301
|
+
orderBy: 'string',
|
|
4302
|
+
pageNumber: 'number',
|
|
4314
4303
|
pageSize: 'number',
|
|
4315
|
-
role: 'string',
|
|
4316
4304
|
startTime: 'number',
|
|
4305
|
+
templateId: 'string',
|
|
4306
|
+
type: 'string',
|
|
4317
4307
|
};
|
|
4318
4308
|
}
|
|
4319
4309
|
|
|
@@ -4322,45 +4312,28 @@ export class DescribeSqlLogRecordsRequest extends $tea.Model {
|
|
|
4322
4312
|
}
|
|
4323
4313
|
}
|
|
4324
4314
|
|
|
4325
|
-
export class
|
|
4315
|
+
export class DescribeSlowLogStatisticResponseBody extends $tea.Model {
|
|
4326
4316
|
/**
|
|
4327
|
-
* @remarks
|
|
4328
|
-
* The HTTP status code that is returned.
|
|
4329
|
-
*
|
|
4330
4317
|
* @example
|
|
4331
4318
|
* 200
|
|
4332
4319
|
*/
|
|
4333
4320
|
code?: string;
|
|
4334
4321
|
/**
|
|
4335
4322
|
* @remarks
|
|
4336
|
-
*
|
|
4323
|
+
* AsyncResult<DBLogRecords<SlowLogStat>>
|
|
4337
4324
|
*/
|
|
4338
|
-
data?:
|
|
4325
|
+
data?: DescribeSlowLogStatisticResponseBodyData;
|
|
4339
4326
|
/**
|
|
4340
|
-
* @remarks
|
|
4341
|
-
* The message that is returned.
|
|
4342
|
-
*
|
|
4343
|
-
* > If the request is successful, **Successful** is returned. If the request fails, an error message that contains information such as an error code is returned.
|
|
4344
|
-
*
|
|
4345
4327
|
* @example
|
|
4346
4328
|
* Successful
|
|
4347
4329
|
*/
|
|
4348
4330
|
message?: string;
|
|
4349
4331
|
/**
|
|
4350
|
-
* @remarks
|
|
4351
|
-
* The request ID.
|
|
4352
|
-
*
|
|
4353
4332
|
* @example
|
|
4354
|
-
*
|
|
4333
|
+
* 52D540CF-C517-1F57-BB42-9035F96******
|
|
4355
4334
|
*/
|
|
4356
4335
|
requestId?: string;
|
|
4357
4336
|
/**
|
|
4358
|
-
* @remarks
|
|
4359
|
-
* Indicates whether the request was successful. Valid values:
|
|
4360
|
-
*
|
|
4361
|
-
* * **true**
|
|
4362
|
-
* * **false**
|
|
4363
|
-
*
|
|
4364
4337
|
* @example
|
|
4365
4338
|
* true
|
|
4366
4339
|
*/
|
|
@@ -4378,7 +4351,7 @@ export class DescribeSqlLogRecordsResponseBody extends $tea.Model {
|
|
|
4378
4351
|
static types(): { [key: string]: any } {
|
|
4379
4352
|
return {
|
|
4380
4353
|
code: 'string',
|
|
4381
|
-
data:
|
|
4354
|
+
data: DescribeSlowLogStatisticResponseBodyData,
|
|
4382
4355
|
message: 'string',
|
|
4383
4356
|
requestId: 'string',
|
|
4384
4357
|
success: 'string',
|
|
@@ -4390,10 +4363,10 @@ export class DescribeSqlLogRecordsResponseBody extends $tea.Model {
|
|
|
4390
4363
|
}
|
|
4391
4364
|
}
|
|
4392
4365
|
|
|
4393
|
-
export class
|
|
4366
|
+
export class DescribeSlowLogStatisticResponse extends $tea.Model {
|
|
4394
4367
|
headers?: { [key: string]: string };
|
|
4395
4368
|
statusCode?: number;
|
|
4396
|
-
body?:
|
|
4369
|
+
body?: DescribeSlowLogStatisticResponseBody;
|
|
4397
4370
|
static names(): { [key: string]: string } {
|
|
4398
4371
|
return {
|
|
4399
4372
|
headers: 'headers',
|
|
@@ -4406,7 +4379,7 @@ export class DescribeSqlLogRecordsResponse extends $tea.Model {
|
|
|
4406
4379
|
return {
|
|
4407
4380
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4408
4381
|
statusCode: 'number',
|
|
4409
|
-
body:
|
|
4382
|
+
body: DescribeSlowLogStatisticResponseBody,
|
|
4410
4383
|
};
|
|
4411
4384
|
}
|
|
4412
4385
|
|
|
@@ -4415,7 +4388,7 @@ export class DescribeSqlLogRecordsResponse extends $tea.Model {
|
|
|
4415
4388
|
}
|
|
4416
4389
|
}
|
|
4417
4390
|
|
|
4418
|
-
export class
|
|
4391
|
+
export class DescribeSqlLogConfigRequest extends $tea.Model {
|
|
4419
4392
|
/**
|
|
4420
4393
|
* @remarks
|
|
4421
4394
|
* The ID of the database instance.
|
|
@@ -4423,7 +4396,7 @@ export class DescribeSqlLogStatisticRequest extends $tea.Model {
|
|
|
4423
4396
|
* This parameter is required.
|
|
4424
4397
|
*
|
|
4425
4398
|
* @example
|
|
4426
|
-
* rm-
|
|
4399
|
+
* rm-2ze8g2am97624****
|
|
4427
4400
|
*/
|
|
4428
4401
|
instanceId?: string;
|
|
4429
4402
|
static names(): { [key: string]: string } {
|
|
@@ -4443,7 +4416,7 @@ export class DescribeSqlLogStatisticRequest extends $tea.Model {
|
|
|
4443
4416
|
}
|
|
4444
4417
|
}
|
|
4445
4418
|
|
|
4446
|
-
export class
|
|
4419
|
+
export class DescribeSqlLogConfigResponseBody extends $tea.Model {
|
|
4447
4420
|
/**
|
|
4448
4421
|
* @remarks
|
|
4449
4422
|
* The response code.
|
|
@@ -4454,9 +4427,9 @@ export class DescribeSqlLogStatisticResponseBody extends $tea.Model {
|
|
|
4454
4427
|
code?: string;
|
|
4455
4428
|
/**
|
|
4456
4429
|
* @remarks
|
|
4457
|
-
* The data returned.
|
|
4430
|
+
* The data that is returned.
|
|
4458
4431
|
*/
|
|
4459
|
-
data?:
|
|
4432
|
+
data?: DescribeSqlLogConfigResponseBodyData;
|
|
4460
4433
|
/**
|
|
4461
4434
|
* @remarks
|
|
4462
4435
|
* The returned message.
|
|
@@ -4472,15 +4445,15 @@ export class DescribeSqlLogStatisticResponseBody extends $tea.Model {
|
|
|
4472
4445
|
* The request ID.
|
|
4473
4446
|
*
|
|
4474
4447
|
* @example
|
|
4475
|
-
*
|
|
4448
|
+
* 0A74B755-98B7-59DB-8724-1321B394****
|
|
4476
4449
|
*/
|
|
4477
4450
|
requestId?: string;
|
|
4478
4451
|
/**
|
|
4479
4452
|
* @remarks
|
|
4480
4453
|
* Indicates whether the request was successful. Valid values:
|
|
4481
4454
|
*
|
|
4482
|
-
* * true
|
|
4483
|
-
* * false
|
|
4455
|
+
* * **true**
|
|
4456
|
+
* * **false**
|
|
4484
4457
|
*
|
|
4485
4458
|
* @example
|
|
4486
4459
|
* true
|
|
@@ -4499,7 +4472,7 @@ export class DescribeSqlLogStatisticResponseBody extends $tea.Model {
|
|
|
4499
4472
|
static types(): { [key: string]: any } {
|
|
4500
4473
|
return {
|
|
4501
4474
|
code: 'string',
|
|
4502
|
-
data:
|
|
4475
|
+
data: DescribeSqlLogConfigResponseBodyData,
|
|
4503
4476
|
message: 'string',
|
|
4504
4477
|
requestId: 'string',
|
|
4505
4478
|
success: 'string',
|
|
@@ -4511,10 +4484,10 @@ export class DescribeSqlLogStatisticResponseBody extends $tea.Model {
|
|
|
4511
4484
|
}
|
|
4512
4485
|
}
|
|
4513
4486
|
|
|
4514
|
-
export class
|
|
4487
|
+
export class DescribeSqlLogConfigResponse extends $tea.Model {
|
|
4515
4488
|
headers?: { [key: string]: string };
|
|
4516
4489
|
statusCode?: number;
|
|
4517
|
-
body?:
|
|
4490
|
+
body?: DescribeSqlLogConfigResponseBody;
|
|
4518
4491
|
static names(): { [key: string]: string } {
|
|
4519
4492
|
return {
|
|
4520
4493
|
headers: 'headers',
|
|
@@ -4527,7 +4500,7 @@ export class DescribeSqlLogStatisticResponse extends $tea.Model {
|
|
|
4527
4500
|
return {
|
|
4528
4501
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4529
4502
|
statusCode: 'number',
|
|
4530
|
-
body:
|
|
4503
|
+
body: DescribeSqlLogConfigResponseBody,
|
|
4531
4504
|
};
|
|
4532
4505
|
}
|
|
4533
4506
|
|
|
@@ -4536,15 +4509,41 @@ export class DescribeSqlLogStatisticResponse extends $tea.Model {
|
|
|
4536
4509
|
}
|
|
4537
4510
|
}
|
|
4538
4511
|
|
|
4539
|
-
export class
|
|
4512
|
+
export class DescribeSqlLogRecordsRequest extends $tea.Model {
|
|
4540
4513
|
/**
|
|
4541
4514
|
* @remarks
|
|
4542
|
-
* The
|
|
4515
|
+
* The end of the time range to query. This value is a UNIX timestamp. Unit: millisecond.
|
|
4543
4516
|
*
|
|
4544
4517
|
* @example
|
|
4545
|
-
*
|
|
4518
|
+
* 1608888296000
|
|
4519
|
+
*/
|
|
4520
|
+
endTime?: number;
|
|
4521
|
+
/**
|
|
4522
|
+
* @remarks
|
|
4523
|
+
* The filter conditions.
|
|
4524
|
+
*/
|
|
4525
|
+
filters?: DescribeSqlLogRecordsRequestFilters[];
|
|
4526
|
+
/**
|
|
4527
|
+
* @remarks
|
|
4528
|
+
* The database instance ID.
|
|
4529
|
+
*
|
|
4530
|
+
* This parameter is required.
|
|
4531
|
+
*
|
|
4532
|
+
* @example
|
|
4533
|
+
* pc-2ze8g2am97624****
|
|
4546
4534
|
*/
|
|
4547
4535
|
instanceId?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* @remarks
|
|
4538
|
+
* The node ID.
|
|
4539
|
+
*
|
|
4540
|
+
* * For ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters, this parameter is valid only for instances of the Cluster Edition. If you do not specify this parameter, the log details of the primary node is queried by default.
|
|
4541
|
+
* * For PolarDB-X 2.0 instances, set this parameter to **polarx_cn** if the node is a compute node, or **polarx_dn** if the node is a data node.
|
|
4542
|
+
*
|
|
4543
|
+
* @example
|
|
4544
|
+
* pi-uf6k5f6g3912i****
|
|
4545
|
+
*/
|
|
4546
|
+
nodeId?: string;
|
|
4548
4547
|
/**
|
|
4549
4548
|
* @remarks
|
|
4550
4549
|
* The page number. Pages start from page 1. Default value: 1.
|
|
@@ -4563,27 +4562,46 @@ export class DescribeSqlLogTaskRequest extends $tea.Model {
|
|
|
4563
4562
|
pageSize?: number;
|
|
4564
4563
|
/**
|
|
4565
4564
|
* @remarks
|
|
4566
|
-
* The
|
|
4565
|
+
* The role of the node of the PolarDB-X 2.0 instance. Valid values:
|
|
4566
|
+
*
|
|
4567
|
+
* * \\*\\*polarx_cn\\*\\*: compute node
|
|
4568
|
+
* * \\*\\*polarx_dn\\*\\*: data node
|
|
4567
4569
|
*
|
|
4568
4570
|
* @example
|
|
4569
|
-
*
|
|
4571
|
+
* polarx_cn
|
|
4570
4572
|
*/
|
|
4571
|
-
|
|
4573
|
+
role?: string;
|
|
4574
|
+
/**
|
|
4575
|
+
* @remarks
|
|
4576
|
+
* The beginning of the time range to query. This value is a UNIX timestamp. Unit: millisecond.
|
|
4577
|
+
*
|
|
4578
|
+
* @example
|
|
4579
|
+
* 1596177993000
|
|
4580
|
+
*/
|
|
4581
|
+
startTime?: number;
|
|
4572
4582
|
static names(): { [key: string]: string } {
|
|
4573
4583
|
return {
|
|
4584
|
+
endTime: 'EndTime',
|
|
4585
|
+
filters: 'Filters',
|
|
4574
4586
|
instanceId: 'InstanceId',
|
|
4587
|
+
nodeId: 'NodeId',
|
|
4575
4588
|
pageNo: 'PageNo',
|
|
4576
4589
|
pageSize: 'PageSize',
|
|
4577
|
-
|
|
4590
|
+
role: 'Role',
|
|
4591
|
+
startTime: 'StartTime',
|
|
4578
4592
|
};
|
|
4579
4593
|
}
|
|
4580
4594
|
|
|
4581
4595
|
static types(): { [key: string]: any } {
|
|
4582
4596
|
return {
|
|
4597
|
+
endTime: 'number',
|
|
4598
|
+
filters: { 'type': 'array', 'itemType': DescribeSqlLogRecordsRequestFilters },
|
|
4583
4599
|
instanceId: 'string',
|
|
4600
|
+
nodeId: 'string',
|
|
4584
4601
|
pageNo: 'number',
|
|
4585
4602
|
pageSize: 'number',
|
|
4586
|
-
|
|
4603
|
+
role: 'string',
|
|
4604
|
+
startTime: 'number',
|
|
4587
4605
|
};
|
|
4588
4606
|
}
|
|
4589
4607
|
|
|
@@ -4592,10 +4610,10 @@ export class DescribeSqlLogTaskRequest extends $tea.Model {
|
|
|
4592
4610
|
}
|
|
4593
4611
|
}
|
|
4594
4612
|
|
|
4595
|
-
export class
|
|
4613
|
+
export class DescribeSqlLogRecordsResponseBody extends $tea.Model {
|
|
4596
4614
|
/**
|
|
4597
4615
|
* @remarks
|
|
4598
|
-
* The
|
|
4616
|
+
* The HTTP status code that is returned.
|
|
4599
4617
|
*
|
|
4600
4618
|
* @example
|
|
4601
4619
|
* 200
|
|
@@ -4603,14 +4621,14 @@ export class DescribeSqlLogTaskResponseBody extends $tea.Model {
|
|
|
4603
4621
|
code?: string;
|
|
4604
4622
|
/**
|
|
4605
4623
|
* @remarks
|
|
4606
|
-
* The data returned.
|
|
4624
|
+
* The data that is returned.
|
|
4607
4625
|
*/
|
|
4608
|
-
data?:
|
|
4626
|
+
data?: DescribeSqlLogRecordsResponseBodyData;
|
|
4609
4627
|
/**
|
|
4610
4628
|
* @remarks
|
|
4611
|
-
* The returned
|
|
4629
|
+
* The message that is returned.
|
|
4612
4630
|
*
|
|
4613
|
-
* > If the request
|
|
4631
|
+
* > If the request is successful, **Successful** is returned. If the request fails, an error message that contains information such as an error code is returned.
|
|
4614
4632
|
*
|
|
4615
4633
|
* @example
|
|
4616
4634
|
* Successful
|
|
@@ -4621,7 +4639,7 @@ export class DescribeSqlLogTaskResponseBody extends $tea.Model {
|
|
|
4621
4639
|
* The request ID.
|
|
4622
4640
|
*
|
|
4623
4641
|
* @example
|
|
4624
|
-
*
|
|
4642
|
+
* F43E7FB3-CE67-5FFD-A59C-EFD278BCD7BE
|
|
4625
4643
|
*/
|
|
4626
4644
|
requestId?: string;
|
|
4627
4645
|
/**
|
|
@@ -4648,7 +4666,7 @@ export class DescribeSqlLogTaskResponseBody extends $tea.Model {
|
|
|
4648
4666
|
static types(): { [key: string]: any } {
|
|
4649
4667
|
return {
|
|
4650
4668
|
code: 'string',
|
|
4651
|
-
data:
|
|
4669
|
+
data: DescribeSqlLogRecordsResponseBodyData,
|
|
4652
4670
|
message: 'string',
|
|
4653
4671
|
requestId: 'string',
|
|
4654
4672
|
success: 'string',
|
|
@@ -4660,10 +4678,10 @@ export class DescribeSqlLogTaskResponseBody extends $tea.Model {
|
|
|
4660
4678
|
}
|
|
4661
4679
|
}
|
|
4662
4680
|
|
|
4663
|
-
export class
|
|
4681
|
+
export class DescribeSqlLogRecordsResponse extends $tea.Model {
|
|
4664
4682
|
headers?: { [key: string]: string };
|
|
4665
4683
|
statusCode?: number;
|
|
4666
|
-
body?:
|
|
4684
|
+
body?: DescribeSqlLogRecordsResponseBody;
|
|
4667
4685
|
static names(): { [key: string]: string } {
|
|
4668
4686
|
return {
|
|
4669
4687
|
headers: 'headers',
|
|
@@ -4676,7 +4694,7 @@ export class DescribeSqlLogTaskResponse extends $tea.Model {
|
|
|
4676
4694
|
return {
|
|
4677
4695
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4678
4696
|
statusCode: 'number',
|
|
4679
|
-
body:
|
|
4697
|
+
body: DescribeSqlLogRecordsResponseBody,
|
|
4680
4698
|
};
|
|
4681
4699
|
}
|
|
4682
4700
|
|
|
@@ -4685,38 +4703,136 @@ export class DescribeSqlLogTaskResponse extends $tea.Model {
|
|
|
4685
4703
|
}
|
|
4686
4704
|
}
|
|
4687
4705
|
|
|
4688
|
-
export class
|
|
4706
|
+
export class DescribeSqlLogStatisticRequest extends $tea.Model {
|
|
4689
4707
|
/**
|
|
4690
4708
|
* @remarks
|
|
4691
|
-
* The
|
|
4709
|
+
* The ID of the database instance.
|
|
4710
|
+
*
|
|
4711
|
+
* This parameter is required.
|
|
4692
4712
|
*
|
|
4693
4713
|
* @example
|
|
4694
|
-
*
|
|
4714
|
+
* rm-2ze1jdv45i7l6****
|
|
4695
4715
|
*/
|
|
4696
|
-
|
|
4716
|
+
instanceId?: string;
|
|
4717
|
+
static names(): { [key: string]: string } {
|
|
4718
|
+
return {
|
|
4719
|
+
instanceId: 'InstanceId',
|
|
4720
|
+
};
|
|
4721
|
+
}
|
|
4722
|
+
|
|
4723
|
+
static types(): { [key: string]: any } {
|
|
4724
|
+
return {
|
|
4725
|
+
instanceId: 'string',
|
|
4726
|
+
};
|
|
4727
|
+
}
|
|
4728
|
+
|
|
4729
|
+
constructor(map?: { [key: string]: any }) {
|
|
4730
|
+
super(map);
|
|
4731
|
+
}
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4734
|
+
export class DescribeSqlLogStatisticResponseBody extends $tea.Model {
|
|
4697
4735
|
/**
|
|
4698
4736
|
* @remarks
|
|
4699
|
-
* The
|
|
4737
|
+
* The response code.
|
|
4738
|
+
*
|
|
4739
|
+
* @example
|
|
4740
|
+
* 200
|
|
4700
4741
|
*/
|
|
4701
|
-
|
|
4742
|
+
code?: string;
|
|
4702
4743
|
/**
|
|
4703
4744
|
* @remarks
|
|
4704
|
-
* The
|
|
4745
|
+
* The data returned.
|
|
4746
|
+
*/
|
|
4747
|
+
data?: DescribeSqlLogStatisticResponseBodyData;
|
|
4748
|
+
/**
|
|
4749
|
+
* @remarks
|
|
4750
|
+
* The returned message.
|
|
4751
|
+
*
|
|
4752
|
+
* > If the request was successful, **Successful** is returned. If the request failed, an error message is returned.
|
|
4705
4753
|
*
|
|
4706
4754
|
* @example
|
|
4707
|
-
*
|
|
4755
|
+
* Successful
|
|
4708
4756
|
*/
|
|
4709
|
-
|
|
4757
|
+
message?: string;
|
|
4710
4758
|
/**
|
|
4711
4759
|
* @remarks
|
|
4712
|
-
* The
|
|
4760
|
+
* The request ID.
|
|
4713
4761
|
*
|
|
4714
|
-
*
|
|
4762
|
+
* @example
|
|
4763
|
+
* B6D17591-B48B-4D31-9CD6-9B9796B2****
|
|
4764
|
+
*/
|
|
4765
|
+
requestId?: string;
|
|
4766
|
+
/**
|
|
4767
|
+
* @remarks
|
|
4768
|
+
* Indicates whether the request was successful. Valid values:
|
|
4769
|
+
*
|
|
4770
|
+
* * true
|
|
4771
|
+
* * false
|
|
4715
4772
|
*
|
|
4716
4773
|
* @example
|
|
4717
|
-
*
|
|
4774
|
+
* true
|
|
4718
4775
|
*/
|
|
4719
|
-
|
|
4776
|
+
success?: string;
|
|
4777
|
+
static names(): { [key: string]: string } {
|
|
4778
|
+
return {
|
|
4779
|
+
code: 'Code',
|
|
4780
|
+
data: 'Data',
|
|
4781
|
+
message: 'Message',
|
|
4782
|
+
requestId: 'RequestId',
|
|
4783
|
+
success: 'Success',
|
|
4784
|
+
};
|
|
4785
|
+
}
|
|
4786
|
+
|
|
4787
|
+
static types(): { [key: string]: any } {
|
|
4788
|
+
return {
|
|
4789
|
+
code: 'string',
|
|
4790
|
+
data: DescribeSqlLogStatisticResponseBodyData,
|
|
4791
|
+
message: 'string',
|
|
4792
|
+
requestId: 'string',
|
|
4793
|
+
success: 'string',
|
|
4794
|
+
};
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
constructor(map?: { [key: string]: any }) {
|
|
4798
|
+
super(map);
|
|
4799
|
+
}
|
|
4800
|
+
}
|
|
4801
|
+
|
|
4802
|
+
export class DescribeSqlLogStatisticResponse extends $tea.Model {
|
|
4803
|
+
headers?: { [key: string]: string };
|
|
4804
|
+
statusCode?: number;
|
|
4805
|
+
body?: DescribeSqlLogStatisticResponseBody;
|
|
4806
|
+
static names(): { [key: string]: string } {
|
|
4807
|
+
return {
|
|
4808
|
+
headers: 'headers',
|
|
4809
|
+
statusCode: 'statusCode',
|
|
4810
|
+
body: 'body',
|
|
4811
|
+
};
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
static types(): { [key: string]: any } {
|
|
4815
|
+
return {
|
|
4816
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4817
|
+
statusCode: 'number',
|
|
4818
|
+
body: DescribeSqlLogStatisticResponseBody,
|
|
4819
|
+
};
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
constructor(map?: { [key: string]: any }) {
|
|
4823
|
+
super(map);
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
|
|
4827
|
+
export class DescribeSqlLogTaskRequest extends $tea.Model {
|
|
4828
|
+
/**
|
|
4829
|
+
* @remarks
|
|
4830
|
+
* The ID of the database instance.
|
|
4831
|
+
*
|
|
4832
|
+
* @example
|
|
4833
|
+
* r-bp1nti25tc7bq5****
|
|
4834
|
+
*/
|
|
4835
|
+
instanceId?: string;
|
|
4720
4836
|
/**
|
|
4721
4837
|
* @remarks
|
|
4722
4838
|
* The page number. Pages start from page 1. Default value: 1.
|
|
@@ -4727,7 +4843,7 @@ export class DescribeSqlLogTasksRequest extends $tea.Model {
|
|
|
4727
4843
|
pageNo?: number;
|
|
4728
4844
|
/**
|
|
4729
4845
|
* @remarks
|
|
4730
|
-
* The number of entries per page.
|
|
4846
|
+
* The number of entries per page. Default value: 10.
|
|
4731
4847
|
*
|
|
4732
4848
|
* @example
|
|
4733
4849
|
* 10
|
|
@@ -4735,33 +4851,27 @@ export class DescribeSqlLogTasksRequest extends $tea.Model {
|
|
|
4735
4851
|
pageSize?: number;
|
|
4736
4852
|
/**
|
|
4737
4853
|
* @remarks
|
|
4738
|
-
* The
|
|
4854
|
+
* The task ID.
|
|
4739
4855
|
*
|
|
4740
4856
|
* @example
|
|
4741
|
-
*
|
|
4857
|
+
* a4f5c4494dbd6713185d87a97aa53e8
|
|
4742
4858
|
*/
|
|
4743
|
-
|
|
4859
|
+
taskId?: string;
|
|
4744
4860
|
static names(): { [key: string]: string } {
|
|
4745
4861
|
return {
|
|
4746
|
-
endTime: 'EndTime',
|
|
4747
|
-
filters: 'Filters',
|
|
4748
4862
|
instanceId: 'InstanceId',
|
|
4749
|
-
nodeId: 'NodeId',
|
|
4750
4863
|
pageNo: 'PageNo',
|
|
4751
4864
|
pageSize: 'PageSize',
|
|
4752
|
-
|
|
4865
|
+
taskId: 'TaskId',
|
|
4753
4866
|
};
|
|
4754
4867
|
}
|
|
4755
4868
|
|
|
4756
4869
|
static types(): { [key: string]: any } {
|
|
4757
4870
|
return {
|
|
4758
|
-
endTime: 'number',
|
|
4759
|
-
filters: { 'type': 'array', 'itemType': DescribeSqlLogTasksRequestFilters },
|
|
4760
4871
|
instanceId: 'string',
|
|
4761
|
-
nodeId: 'string',
|
|
4762
4872
|
pageNo: 'number',
|
|
4763
4873
|
pageSize: 'number',
|
|
4764
|
-
|
|
4874
|
+
taskId: 'string',
|
|
4765
4875
|
};
|
|
4766
4876
|
}
|
|
4767
4877
|
|
|
@@ -4770,7 +4880,7 @@ export class DescribeSqlLogTasksRequest extends $tea.Model {
|
|
|
4770
4880
|
}
|
|
4771
4881
|
}
|
|
4772
4882
|
|
|
4773
|
-
export class
|
|
4883
|
+
export class DescribeSqlLogTaskResponseBody extends $tea.Model {
|
|
4774
4884
|
/**
|
|
4775
4885
|
* @remarks
|
|
4776
4886
|
* The response code.
|
|
@@ -4783,7 +4893,7 @@ export class DescribeSqlLogTasksResponseBody extends $tea.Model {
|
|
|
4783
4893
|
* @remarks
|
|
4784
4894
|
* The data returned.
|
|
4785
4895
|
*/
|
|
4786
|
-
data?:
|
|
4896
|
+
data?: DescribeSqlLogTaskResponseBodyData;
|
|
4787
4897
|
/**
|
|
4788
4898
|
* @remarks
|
|
4789
4899
|
* The returned message.
|
|
@@ -4826,7 +4936,7 @@ export class DescribeSqlLogTasksResponseBody extends $tea.Model {
|
|
|
4826
4936
|
static types(): { [key: string]: any } {
|
|
4827
4937
|
return {
|
|
4828
4938
|
code: 'string',
|
|
4829
|
-
data:
|
|
4939
|
+
data: DescribeSqlLogTaskResponseBodyData,
|
|
4830
4940
|
message: 'string',
|
|
4831
4941
|
requestId: 'string',
|
|
4832
4942
|
success: 'string',
|
|
@@ -4838,10 +4948,10 @@ export class DescribeSqlLogTasksResponseBody extends $tea.Model {
|
|
|
4838
4948
|
}
|
|
4839
4949
|
}
|
|
4840
4950
|
|
|
4841
|
-
export class
|
|
4951
|
+
export class DescribeSqlLogTaskResponse extends $tea.Model {
|
|
4842
4952
|
headers?: { [key: string]: string };
|
|
4843
4953
|
statusCode?: number;
|
|
4844
|
-
body?:
|
|
4954
|
+
body?: DescribeSqlLogTaskResponseBody;
|
|
4845
4955
|
static names(): { [key: string]: string } {
|
|
4846
4956
|
return {
|
|
4847
4957
|
headers: 'headers',
|
|
@@ -4854,7 +4964,7 @@ export class DescribeSqlLogTasksResponse extends $tea.Model {
|
|
|
4854
4964
|
return {
|
|
4855
4965
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4856
4966
|
statusCode: 'number',
|
|
4857
|
-
body:
|
|
4967
|
+
body: DescribeSqlLogTaskResponseBody,
|
|
4858
4968
|
};
|
|
4859
4969
|
}
|
|
4860
4970
|
|
|
@@ -4863,78 +4973,83 @@ export class DescribeSqlLogTasksResponse extends $tea.Model {
|
|
|
4863
4973
|
}
|
|
4864
4974
|
}
|
|
4865
4975
|
|
|
4866
|
-
export class
|
|
4976
|
+
export class DescribeSqlLogTasksRequest extends $tea.Model {
|
|
4867
4977
|
/**
|
|
4868
4978
|
* @remarks
|
|
4869
|
-
* The
|
|
4979
|
+
* The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
4870
4980
|
*
|
|
4871
4981
|
* @example
|
|
4872
|
-
*
|
|
4982
|
+
* 1608888296000
|
|
4873
4983
|
*/
|
|
4874
|
-
|
|
4984
|
+
endTime?: number;
|
|
4875
4985
|
/**
|
|
4876
4986
|
* @remarks
|
|
4877
|
-
* The
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
*
|
|
4882
|
-
*
|
|
4883
|
-
* * Only data within the last four days can be queried.
|
|
4884
|
-
*
|
|
4885
|
-
* * The maximum interval between the **start time** and the** end time** is 3 hours.
|
|
4886
|
-
*
|
|
4887
|
-
* This parameter is required.
|
|
4987
|
+
* The filter parameters.
|
|
4988
|
+
*/
|
|
4989
|
+
filters?: DescribeSqlLogTasksRequestFilters[];
|
|
4990
|
+
/**
|
|
4991
|
+
* @remarks
|
|
4992
|
+
* The ID of the database instance.
|
|
4888
4993
|
*
|
|
4889
4994
|
* @example
|
|
4890
|
-
*
|
|
4995
|
+
* r-bp1nti25tc7bq5****
|
|
4891
4996
|
*/
|
|
4892
|
-
|
|
4997
|
+
instanceId?: string;
|
|
4893
4998
|
/**
|
|
4894
4999
|
* @remarks
|
|
4895
|
-
* The
|
|
5000
|
+
* The node ID.
|
|
4896
5001
|
*
|
|
4897
|
-
* This parameter is
|
|
5002
|
+
* > This parameter is available only for instances that are deployed in the cluster architecture. You can specify this parameter to query the tasks of a specific node. If this parameter is not specified, the tasks of the primary node are returned by default.
|
|
4898
5003
|
*
|
|
4899
5004
|
* @example
|
|
4900
|
-
*
|
|
5005
|
+
* pi-bp1o58x3ib7e6z496
|
|
4901
5006
|
*/
|
|
4902
|
-
|
|
5007
|
+
nodeId?: string;
|
|
4903
5008
|
/**
|
|
4904
5009
|
* @remarks
|
|
4905
|
-
* The
|
|
5010
|
+
* The page number. Pages start from page 1. Default value: 1.
|
|
4906
5011
|
*
|
|
4907
5012
|
* @example
|
|
4908
|
-
*
|
|
5013
|
+
* 1
|
|
4909
5014
|
*/
|
|
4910
|
-
|
|
5015
|
+
pageNo?: number;
|
|
4911
5016
|
/**
|
|
4912
5017
|
* @remarks
|
|
4913
|
-
* The
|
|
5018
|
+
* The number of entries per page. Valid values: 1 to 100. Default value: 10.
|
|
4914
5019
|
*
|
|
4915
|
-
*
|
|
5020
|
+
* @example
|
|
5021
|
+
* 10
|
|
5022
|
+
*/
|
|
5023
|
+
pageSize?: number;
|
|
5024
|
+
/**
|
|
5025
|
+
* @remarks
|
|
5026
|
+
* The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
4916
5027
|
*
|
|
4917
5028
|
* @example
|
|
4918
5029
|
* 1596177993000
|
|
4919
5030
|
*/
|
|
4920
|
-
startTime?:
|
|
5031
|
+
startTime?: number;
|
|
4921
5032
|
static names(): { [key: string]: string } {
|
|
4922
5033
|
return {
|
|
4923
|
-
consoleContext: 'ConsoleContext',
|
|
4924
5034
|
endTime: 'EndTime',
|
|
5035
|
+
filters: 'Filters',
|
|
4925
5036
|
instanceId: 'InstanceId',
|
|
4926
5037
|
nodeId: 'NodeId',
|
|
5038
|
+
pageNo: 'PageNo',
|
|
5039
|
+
pageSize: 'PageSize',
|
|
4927
5040
|
startTime: 'StartTime',
|
|
4928
5041
|
};
|
|
4929
5042
|
}
|
|
4930
5043
|
|
|
4931
5044
|
static types(): { [key: string]: any } {
|
|
4932
5045
|
return {
|
|
4933
|
-
|
|
4934
|
-
|
|
5046
|
+
endTime: 'number',
|
|
5047
|
+
filters: { 'type': 'array', 'itemType': DescribeSqlLogTasksRequestFilters },
|
|
4935
5048
|
instanceId: 'string',
|
|
4936
5049
|
nodeId: 'string',
|
|
4937
|
-
|
|
5050
|
+
pageNo: 'number',
|
|
5051
|
+
pageSize: 'number',
|
|
5052
|
+
startTime: 'number',
|
|
4938
5053
|
};
|
|
4939
5054
|
}
|
|
4940
5055
|
|
|
@@ -4943,10 +5058,10 @@ export class DescribeTopBigKeysRequest extends $tea.Model {
|
|
|
4943
5058
|
}
|
|
4944
5059
|
}
|
|
4945
5060
|
|
|
4946
|
-
export class
|
|
5061
|
+
export class DescribeSqlLogTasksResponseBody extends $tea.Model {
|
|
4947
5062
|
/**
|
|
4948
5063
|
* @remarks
|
|
4949
|
-
* The
|
|
5064
|
+
* The response code.
|
|
4950
5065
|
*
|
|
4951
5066
|
* @example
|
|
4952
5067
|
* 200
|
|
@@ -4954,15 +5069,15 @@ export class DescribeTopBigKeysResponseBody extends $tea.Model {
|
|
|
4954
5069
|
code?: string;
|
|
4955
5070
|
/**
|
|
4956
5071
|
* @remarks
|
|
4957
|
-
* The
|
|
4958
|
-
*
|
|
4959
|
-
* > This parameter is left empty If no large keys exist within the specified time range.
|
|
5072
|
+
* The data returned.
|
|
4960
5073
|
*/
|
|
4961
|
-
data?:
|
|
5074
|
+
data?: DescribeSqlLogTasksResponseBodyData;
|
|
4962
5075
|
/**
|
|
4963
5076
|
* @remarks
|
|
4964
5077
|
* The returned message.
|
|
4965
5078
|
*
|
|
5079
|
+
* > If the request was successful, **Successful** is returned. If the request failed, an error message is returned.
|
|
5080
|
+
*
|
|
4966
5081
|
* @example
|
|
4967
5082
|
* Successful
|
|
4968
5083
|
*/
|
|
@@ -4979,8 +5094,8 @@ export class DescribeTopBigKeysResponseBody extends $tea.Model {
|
|
|
4979
5094
|
* @remarks
|
|
4980
5095
|
* Indicates whether the request was successful. Valid values:
|
|
4981
5096
|
*
|
|
4982
|
-
* * **true
|
|
4983
|
-
* * **false
|
|
5097
|
+
* * **true**
|
|
5098
|
+
* * **false**
|
|
4984
5099
|
*
|
|
4985
5100
|
* @example
|
|
4986
5101
|
* true
|
|
@@ -4999,7 +5114,7 @@ export class DescribeTopBigKeysResponseBody extends $tea.Model {
|
|
|
4999
5114
|
static types(): { [key: string]: any } {
|
|
5000
5115
|
return {
|
|
5001
5116
|
code: 'string',
|
|
5002
|
-
data:
|
|
5117
|
+
data: DescribeSqlLogTasksResponseBodyData,
|
|
5003
5118
|
message: 'string',
|
|
5004
5119
|
requestId: 'string',
|
|
5005
5120
|
success: 'string',
|
|
@@ -5011,10 +5126,10 @@ export class DescribeTopBigKeysResponseBody extends $tea.Model {
|
|
|
5011
5126
|
}
|
|
5012
5127
|
}
|
|
5013
5128
|
|
|
5014
|
-
export class
|
|
5129
|
+
export class DescribeSqlLogTasksResponse extends $tea.Model {
|
|
5015
5130
|
headers?: { [key: string]: string };
|
|
5016
5131
|
statusCode?: number;
|
|
5017
|
-
body?:
|
|
5132
|
+
body?: DescribeSqlLogTasksResponseBody;
|
|
5018
5133
|
static names(): { [key: string]: string } {
|
|
5019
5134
|
return {
|
|
5020
5135
|
headers: 'headers',
|
|
@@ -5027,7 +5142,7 @@ export class DescribeTopBigKeysResponse extends $tea.Model {
|
|
|
5027
5142
|
return {
|
|
5028
5143
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5029
5144
|
statusCode: 'number',
|
|
5030
|
-
body:
|
|
5145
|
+
body: DescribeSqlLogTasksResponseBody,
|
|
5031
5146
|
};
|
|
5032
5147
|
}
|
|
5033
5148
|
|
|
@@ -5036,7 +5151,7 @@ export class DescribeTopBigKeysResponse extends $tea.Model {
|
|
|
5036
5151
|
}
|
|
5037
5152
|
}
|
|
5038
5153
|
|
|
5039
|
-
export class
|
|
5154
|
+
export class DescribeTopBigKeysRequest extends $tea.Model {
|
|
5040
5155
|
/**
|
|
5041
5156
|
* @remarks
|
|
5042
5157
|
* The reserved parameter.
|
|
@@ -5078,7 +5193,7 @@ export class DescribeTopHotKeysRequest extends $tea.Model {
|
|
|
5078
5193
|
* The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the ID.
|
|
5079
5194
|
*
|
|
5080
5195
|
* @example
|
|
5081
|
-
* r
|
|
5196
|
+
* r-x****-db-0
|
|
5082
5197
|
*/
|
|
5083
5198
|
nodeId?: string;
|
|
5084
5199
|
/**
|
|
@@ -5116,7 +5231,7 @@ export class DescribeTopHotKeysRequest extends $tea.Model {
|
|
|
5116
5231
|
}
|
|
5117
5232
|
}
|
|
5118
5233
|
|
|
5119
|
-
export class
|
|
5234
|
+
export class DescribeTopBigKeysResponseBody extends $tea.Model {
|
|
5120
5235
|
/**
|
|
5121
5236
|
* @remarks
|
|
5122
5237
|
* The HTTP status code returned.
|
|
@@ -5127,8 +5242,181 @@ export class DescribeTopHotKeysResponseBody extends $tea.Model {
|
|
|
5127
5242
|
code?: string;
|
|
5128
5243
|
/**
|
|
5129
5244
|
* @remarks
|
|
5130
|
-
* The detailed information about the
|
|
5131
|
-
|
|
5245
|
+
* The detailed information about the large keys.
|
|
5246
|
+
*
|
|
5247
|
+
* > This parameter is left empty If no large keys exist within the specified time range.
|
|
5248
|
+
*/
|
|
5249
|
+
data?: DescribeTopBigKeysResponseBodyData;
|
|
5250
|
+
/**
|
|
5251
|
+
* @remarks
|
|
5252
|
+
* The returned message.
|
|
5253
|
+
*
|
|
5254
|
+
* @example
|
|
5255
|
+
* Successful
|
|
5256
|
+
*/
|
|
5257
|
+
message?: string;
|
|
5258
|
+
/**
|
|
5259
|
+
* @remarks
|
|
5260
|
+
* The request ID.
|
|
5261
|
+
*
|
|
5262
|
+
* @example
|
|
5263
|
+
* B6D17591-B48B-4D31-9CD6-9B9796B2****
|
|
5264
|
+
*/
|
|
5265
|
+
requestId?: string;
|
|
5266
|
+
/**
|
|
5267
|
+
* @remarks
|
|
5268
|
+
* Indicates whether the request was successful. Valid values:
|
|
5269
|
+
*
|
|
5270
|
+
* * **true**: The request was successful.
|
|
5271
|
+
* * **false**: The request failed.
|
|
5272
|
+
*
|
|
5273
|
+
* @example
|
|
5274
|
+
* true
|
|
5275
|
+
*/
|
|
5276
|
+
success?: string;
|
|
5277
|
+
static names(): { [key: string]: string } {
|
|
5278
|
+
return {
|
|
5279
|
+
code: 'Code',
|
|
5280
|
+
data: 'Data',
|
|
5281
|
+
message: 'Message',
|
|
5282
|
+
requestId: 'RequestId',
|
|
5283
|
+
success: 'Success',
|
|
5284
|
+
};
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
static types(): { [key: string]: any } {
|
|
5288
|
+
return {
|
|
5289
|
+
code: 'string',
|
|
5290
|
+
data: DescribeTopBigKeysResponseBodyData,
|
|
5291
|
+
message: 'string',
|
|
5292
|
+
requestId: 'string',
|
|
5293
|
+
success: 'string',
|
|
5294
|
+
};
|
|
5295
|
+
}
|
|
5296
|
+
|
|
5297
|
+
constructor(map?: { [key: string]: any }) {
|
|
5298
|
+
super(map);
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
export class DescribeTopBigKeysResponse extends $tea.Model {
|
|
5303
|
+
headers?: { [key: string]: string };
|
|
5304
|
+
statusCode?: number;
|
|
5305
|
+
body?: DescribeTopBigKeysResponseBody;
|
|
5306
|
+
static names(): { [key: string]: string } {
|
|
5307
|
+
return {
|
|
5308
|
+
headers: 'headers',
|
|
5309
|
+
statusCode: 'statusCode',
|
|
5310
|
+
body: 'body',
|
|
5311
|
+
};
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
static types(): { [key: string]: any } {
|
|
5315
|
+
return {
|
|
5316
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5317
|
+
statusCode: 'number',
|
|
5318
|
+
body: DescribeTopBigKeysResponseBody,
|
|
5319
|
+
};
|
|
5320
|
+
}
|
|
5321
|
+
|
|
5322
|
+
constructor(map?: { [key: string]: any }) {
|
|
5323
|
+
super(map);
|
|
5324
|
+
}
|
|
5325
|
+
}
|
|
5326
|
+
|
|
5327
|
+
export class DescribeTopHotKeysRequest extends $tea.Model {
|
|
5328
|
+
/**
|
|
5329
|
+
* @remarks
|
|
5330
|
+
* The reserved parameter.
|
|
5331
|
+
*
|
|
5332
|
+
* @example
|
|
5333
|
+
* None
|
|
5334
|
+
*/
|
|
5335
|
+
consoleContext?: string;
|
|
5336
|
+
/**
|
|
5337
|
+
* @remarks
|
|
5338
|
+
* The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
5339
|
+
*
|
|
5340
|
+
* >
|
|
5341
|
+
*
|
|
5342
|
+
* * The end time must be later than the start time.
|
|
5343
|
+
*
|
|
5344
|
+
* * Only data within the last four days can be queried.
|
|
5345
|
+
*
|
|
5346
|
+
* * The maximum interval between the **start time** and the** end time** is 3 hours.
|
|
5347
|
+
*
|
|
5348
|
+
* This parameter is required.
|
|
5349
|
+
*
|
|
5350
|
+
* @example
|
|
5351
|
+
* 1596177993001
|
|
5352
|
+
*/
|
|
5353
|
+
endTime?: string;
|
|
5354
|
+
/**
|
|
5355
|
+
* @remarks
|
|
5356
|
+
* The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/60933.html) operation to query the ID.
|
|
5357
|
+
*
|
|
5358
|
+
* This parameter is required.
|
|
5359
|
+
*
|
|
5360
|
+
* @example
|
|
5361
|
+
* r-bp18ff4a195d****
|
|
5362
|
+
*/
|
|
5363
|
+
instanceId?: string;
|
|
5364
|
+
/**
|
|
5365
|
+
* @remarks
|
|
5366
|
+
* The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the ID.
|
|
5367
|
+
*
|
|
5368
|
+
* @example
|
|
5369
|
+
* r-****-db-0
|
|
5370
|
+
*/
|
|
5371
|
+
nodeId?: string;
|
|
5372
|
+
/**
|
|
5373
|
+
* @remarks
|
|
5374
|
+
* The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
5375
|
+
*
|
|
5376
|
+
* This parameter is required.
|
|
5377
|
+
*
|
|
5378
|
+
* @example
|
|
5379
|
+
* 1596177993000
|
|
5380
|
+
*/
|
|
5381
|
+
startTime?: string;
|
|
5382
|
+
static names(): { [key: string]: string } {
|
|
5383
|
+
return {
|
|
5384
|
+
consoleContext: 'ConsoleContext',
|
|
5385
|
+
endTime: 'EndTime',
|
|
5386
|
+
instanceId: 'InstanceId',
|
|
5387
|
+
nodeId: 'NodeId',
|
|
5388
|
+
startTime: 'StartTime',
|
|
5389
|
+
};
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
static types(): { [key: string]: any } {
|
|
5393
|
+
return {
|
|
5394
|
+
consoleContext: 'string',
|
|
5395
|
+
endTime: 'string',
|
|
5396
|
+
instanceId: 'string',
|
|
5397
|
+
nodeId: 'string',
|
|
5398
|
+
startTime: 'string',
|
|
5399
|
+
};
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5402
|
+
constructor(map?: { [key: string]: any }) {
|
|
5403
|
+
super(map);
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5407
|
+
export class DescribeTopHotKeysResponseBody extends $tea.Model {
|
|
5408
|
+
/**
|
|
5409
|
+
* @remarks
|
|
5410
|
+
* The HTTP status code returned.
|
|
5411
|
+
*
|
|
5412
|
+
* @example
|
|
5413
|
+
* 200
|
|
5414
|
+
*/
|
|
5415
|
+
code?: string;
|
|
5416
|
+
/**
|
|
5417
|
+
* @remarks
|
|
5418
|
+
* The detailed information about the hot keys.
|
|
5419
|
+
*/
|
|
5132
5420
|
data?: DescribeTopHotKeysResponseBodyData;
|
|
5133
5421
|
/**
|
|
5134
5422
|
* @remarks
|
|
@@ -20732,46 +21020,1263 @@ export class DescribeHotBigKeysResponseBodyDataHotKeys extends $tea.Model {
|
|
|
20732
21020
|
|
|
20733
21021
|
export class DescribeHotBigKeysResponseBodyData extends $tea.Model {
|
|
20734
21022
|
/**
|
|
20735
|
-
* @remarks
|
|
20736
|
-
* The reason why the large key failed to be queried.
|
|
20737
|
-
*
|
|
21023
|
+
* @remarks
|
|
21024
|
+
* The reason why the large key failed to be queried.
|
|
21025
|
+
*
|
|
21026
|
+
* @example
|
|
21027
|
+
* current version doesn\\"t support
|
|
21028
|
+
*/
|
|
21029
|
+
bigKeyMsg?: string;
|
|
21030
|
+
/**
|
|
21031
|
+
* @remarks
|
|
21032
|
+
* The list of large keys.
|
|
21033
|
+
*/
|
|
21034
|
+
bigKeys?: DescribeHotBigKeysResponseBodyDataBigKeys;
|
|
21035
|
+
/**
|
|
21036
|
+
* @remarks
|
|
21037
|
+
* The reason why the hot key failed to be queried.
|
|
21038
|
+
*
|
|
21039
|
+
* @example
|
|
21040
|
+
* current version doesn\\"t support
|
|
21041
|
+
*/
|
|
21042
|
+
hotKeyMsg?: string;
|
|
21043
|
+
/**
|
|
21044
|
+
* @remarks
|
|
21045
|
+
* The list of hot keys.
|
|
21046
|
+
*/
|
|
21047
|
+
hotKeys?: DescribeHotBigKeysResponseBodyDataHotKeys;
|
|
21048
|
+
static names(): { [key: string]: string } {
|
|
21049
|
+
return {
|
|
21050
|
+
bigKeyMsg: 'BigKeyMsg',
|
|
21051
|
+
bigKeys: 'BigKeys',
|
|
21052
|
+
hotKeyMsg: 'HotKeyMsg',
|
|
21053
|
+
hotKeys: 'HotKeys',
|
|
21054
|
+
};
|
|
21055
|
+
}
|
|
21056
|
+
|
|
21057
|
+
static types(): { [key: string]: any } {
|
|
21058
|
+
return {
|
|
21059
|
+
bigKeyMsg: 'string',
|
|
21060
|
+
bigKeys: DescribeHotBigKeysResponseBodyDataBigKeys,
|
|
21061
|
+
hotKeyMsg: 'string',
|
|
21062
|
+
hotKeys: DescribeHotBigKeysResponseBodyDataHotKeys,
|
|
21063
|
+
};
|
|
21064
|
+
}
|
|
21065
|
+
|
|
21066
|
+
constructor(map?: { [key: string]: any }) {
|
|
21067
|
+
super(map);
|
|
21068
|
+
}
|
|
21069
|
+
}
|
|
21070
|
+
|
|
21071
|
+
export class DescribeHotKeysResponseBodyDataHotKey extends $tea.Model {
|
|
21072
|
+
/**
|
|
21073
|
+
* @remarks
|
|
21074
|
+
* The database in which the key is stored.
|
|
21075
|
+
*
|
|
21076
|
+
* @example
|
|
21077
|
+
* 0
|
|
21078
|
+
*/
|
|
21079
|
+
db?: number;
|
|
21080
|
+
/**
|
|
21081
|
+
* @remarks
|
|
21082
|
+
* The frequency at which the key is accessed, which indicates the queries per second (QPS) of the key.
|
|
21083
|
+
*
|
|
21084
|
+
* @example
|
|
21085
|
+
* 5500~6000
|
|
21086
|
+
*/
|
|
21087
|
+
hot?: string;
|
|
21088
|
+
/**
|
|
21089
|
+
* @remarks
|
|
21090
|
+
* The name of the key.
|
|
21091
|
+
*
|
|
21092
|
+
* @example
|
|
21093
|
+
* abc:def:eng
|
|
21094
|
+
*/
|
|
21095
|
+
key?: string;
|
|
21096
|
+
/**
|
|
21097
|
+
* @remarks
|
|
21098
|
+
* The type of the key.
|
|
21099
|
+
*
|
|
21100
|
+
* @example
|
|
21101
|
+
* zset
|
|
21102
|
+
*/
|
|
21103
|
+
keyType?: string;
|
|
21104
|
+
/**
|
|
21105
|
+
* @remarks
|
|
21106
|
+
* The number of elements in the key.
|
|
21107
|
+
*
|
|
21108
|
+
* @example
|
|
21109
|
+
* 2
|
|
21110
|
+
*/
|
|
21111
|
+
size?: number;
|
|
21112
|
+
static names(): { [key: string]: string } {
|
|
21113
|
+
return {
|
|
21114
|
+
db: 'Db',
|
|
21115
|
+
hot: 'Hot',
|
|
21116
|
+
key: 'Key',
|
|
21117
|
+
keyType: 'KeyType',
|
|
21118
|
+
size: 'Size',
|
|
21119
|
+
};
|
|
21120
|
+
}
|
|
21121
|
+
|
|
21122
|
+
static types(): { [key: string]: any } {
|
|
21123
|
+
return {
|
|
21124
|
+
db: 'number',
|
|
21125
|
+
hot: 'string',
|
|
21126
|
+
key: 'string',
|
|
21127
|
+
keyType: 'string',
|
|
21128
|
+
size: 'number',
|
|
21129
|
+
};
|
|
21130
|
+
}
|
|
21131
|
+
|
|
21132
|
+
constructor(map?: { [key: string]: any }) {
|
|
21133
|
+
super(map);
|
|
21134
|
+
}
|
|
21135
|
+
}
|
|
21136
|
+
|
|
21137
|
+
export class DescribeHotKeysResponseBodyData extends $tea.Model {
|
|
21138
|
+
hotKey?: DescribeHotKeysResponseBodyDataHotKey[];
|
|
21139
|
+
static names(): { [key: string]: string } {
|
|
21140
|
+
return {
|
|
21141
|
+
hotKey: 'HotKey',
|
|
21142
|
+
};
|
|
21143
|
+
}
|
|
21144
|
+
|
|
21145
|
+
static types(): { [key: string]: any } {
|
|
21146
|
+
return {
|
|
21147
|
+
hotKey: { 'type': 'array', 'itemType': DescribeHotKeysResponseBodyDataHotKey },
|
|
21148
|
+
};
|
|
21149
|
+
}
|
|
21150
|
+
|
|
21151
|
+
constructor(map?: { [key: string]: any }) {
|
|
21152
|
+
super(map);
|
|
21153
|
+
}
|
|
21154
|
+
}
|
|
21155
|
+
|
|
21156
|
+
export class DescribeSlowLogHistogramAsyncRequestFilters extends $tea.Model {
|
|
21157
|
+
/**
|
|
21158
|
+
* @example
|
|
21159
|
+
* None
|
|
21160
|
+
*/
|
|
21161
|
+
key?: string;
|
|
21162
|
+
/**
|
|
21163
|
+
* @example
|
|
21164
|
+
* None
|
|
21165
|
+
*/
|
|
21166
|
+
value?: string;
|
|
21167
|
+
static names(): { [key: string]: string } {
|
|
21168
|
+
return {
|
|
21169
|
+
key: 'Key',
|
|
21170
|
+
value: 'Value',
|
|
21171
|
+
};
|
|
21172
|
+
}
|
|
21173
|
+
|
|
21174
|
+
static types(): { [key: string]: any } {
|
|
21175
|
+
return {
|
|
21176
|
+
key: 'string',
|
|
21177
|
+
value: 'string',
|
|
21178
|
+
};
|
|
21179
|
+
}
|
|
21180
|
+
|
|
21181
|
+
constructor(map?: { [key: string]: any }) {
|
|
21182
|
+
super(map);
|
|
21183
|
+
}
|
|
21184
|
+
}
|
|
21185
|
+
|
|
21186
|
+
export class DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems extends $tea.Model {
|
|
21187
|
+
count?: number[];
|
|
21188
|
+
/**
|
|
21189
|
+
* @example
|
|
21190
|
+
* 2492
|
|
21191
|
+
*/
|
|
21192
|
+
insId?: string;
|
|
21193
|
+
/**
|
|
21194
|
+
* @example
|
|
21195
|
+
* userAdmin
|
|
21196
|
+
*/
|
|
21197
|
+
insRole?: string;
|
|
21198
|
+
static names(): { [key: string]: string } {
|
|
21199
|
+
return {
|
|
21200
|
+
count: 'Count',
|
|
21201
|
+
insId: 'InsId',
|
|
21202
|
+
insRole: 'InsRole',
|
|
21203
|
+
};
|
|
21204
|
+
}
|
|
21205
|
+
|
|
21206
|
+
static types(): { [key: string]: any } {
|
|
21207
|
+
return {
|
|
21208
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
21209
|
+
insId: 'string',
|
|
21210
|
+
insRole: 'string',
|
|
21211
|
+
};
|
|
21212
|
+
}
|
|
21213
|
+
|
|
21214
|
+
constructor(map?: { [key: string]: any }) {
|
|
21215
|
+
super(map);
|
|
21216
|
+
}
|
|
21217
|
+
}
|
|
21218
|
+
|
|
21219
|
+
export class DescribeSlowLogHistogramAsyncResponseBodyDataDataItem extends $tea.Model {
|
|
21220
|
+
count?: number[];
|
|
21221
|
+
insItems?: DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems[];
|
|
21222
|
+
/**
|
|
21223
|
+
* @example
|
|
21224
|
+
* r-bp1hi0wg57s3n0i3n8-db-0
|
|
21225
|
+
*/
|
|
21226
|
+
nodeId?: string;
|
|
21227
|
+
static names(): { [key: string]: string } {
|
|
21228
|
+
return {
|
|
21229
|
+
count: 'Count',
|
|
21230
|
+
insItems: 'InsItems',
|
|
21231
|
+
nodeId: 'NodeId',
|
|
21232
|
+
};
|
|
21233
|
+
}
|
|
21234
|
+
|
|
21235
|
+
static types(): { [key: string]: any } {
|
|
21236
|
+
return {
|
|
21237
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
21238
|
+
insItems: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncResponseBodyDataDataItemInsItems },
|
|
21239
|
+
nodeId: 'string',
|
|
21240
|
+
};
|
|
21241
|
+
}
|
|
21242
|
+
|
|
21243
|
+
constructor(map?: { [key: string]: any }) {
|
|
21244
|
+
super(map);
|
|
21245
|
+
}
|
|
21246
|
+
}
|
|
21247
|
+
|
|
21248
|
+
export class DescribeSlowLogHistogramAsyncResponseBodyDataData extends $tea.Model {
|
|
21249
|
+
avgCPUTime?: number[];
|
|
21250
|
+
avgDocExamined?: number[];
|
|
21251
|
+
avgIOWrites?: number[];
|
|
21252
|
+
avgKeysExamined?: number[];
|
|
21253
|
+
avgLastRowsCountAffected?: number[];
|
|
21254
|
+
avgLockTime?: number[];
|
|
21255
|
+
avgLogicalIOReads?: number[];
|
|
21256
|
+
avgPhysicalIOReads?: number[];
|
|
21257
|
+
avgReturnNum?: number[];
|
|
21258
|
+
avgRowsCountAffected?: number[];
|
|
21259
|
+
avgRowsExamined?: number[];
|
|
21260
|
+
avgRowsSent?: number[];
|
|
21261
|
+
avgRt?: number[];
|
|
21262
|
+
CPUTime?: number[];
|
|
21263
|
+
count?: number[];
|
|
21264
|
+
docExamined?: number[];
|
|
21265
|
+
IOWrites?: number[];
|
|
21266
|
+
item?: DescribeSlowLogHistogramAsyncResponseBodyDataDataItem[];
|
|
21267
|
+
keysExamined?: number[];
|
|
21268
|
+
lastRowsCountAffected?: number[];
|
|
21269
|
+
lockTime?: number[];
|
|
21270
|
+
logicalIOReads?: number[];
|
|
21271
|
+
maxCPUTime?: number[];
|
|
21272
|
+
maxDocExamined?: number[];
|
|
21273
|
+
maxIOWrites?: number[];
|
|
21274
|
+
maxKeysExamined?: number[];
|
|
21275
|
+
maxLastRowsCountAffected?: number[];
|
|
21276
|
+
maxLockTime?: number[];
|
|
21277
|
+
maxLogicalIOReads?: number[];
|
|
21278
|
+
maxPhysicalIOReads?: number[];
|
|
21279
|
+
maxReturnNum?: number[];
|
|
21280
|
+
maxRowsCountAffected?: number[];
|
|
21281
|
+
maxRowsExamined?: number[];
|
|
21282
|
+
maxRowsSent?: number[];
|
|
21283
|
+
maxRt?: number[];
|
|
21284
|
+
physicalIOReads?: number[];
|
|
21285
|
+
returnNum?: number[];
|
|
21286
|
+
rowsCountAffected?: number[];
|
|
21287
|
+
rowsExamined?: number[];
|
|
21288
|
+
rowsSent?: number[];
|
|
21289
|
+
rt?: number[];
|
|
21290
|
+
/**
|
|
21291
|
+
* @example
|
|
21292
|
+
* 1
|
|
21293
|
+
*/
|
|
21294
|
+
total?: number;
|
|
21295
|
+
ts?: number[];
|
|
21296
|
+
tsEnd?: number[];
|
|
21297
|
+
static names(): { [key: string]: string } {
|
|
21298
|
+
return {
|
|
21299
|
+
avgCPUTime: 'AvgCPUTime',
|
|
21300
|
+
avgDocExamined: 'AvgDocExamined',
|
|
21301
|
+
avgIOWrites: 'AvgIOWrites',
|
|
21302
|
+
avgKeysExamined: 'AvgKeysExamined',
|
|
21303
|
+
avgLastRowsCountAffected: 'AvgLastRowsCountAffected',
|
|
21304
|
+
avgLockTime: 'AvgLockTime',
|
|
21305
|
+
avgLogicalIOReads: 'AvgLogicalIOReads',
|
|
21306
|
+
avgPhysicalIOReads: 'AvgPhysicalIOReads',
|
|
21307
|
+
avgReturnNum: 'AvgReturnNum',
|
|
21308
|
+
avgRowsCountAffected: 'AvgRowsCountAffected',
|
|
21309
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
21310
|
+
avgRowsSent: 'AvgRowsSent',
|
|
21311
|
+
avgRt: 'AvgRt',
|
|
21312
|
+
CPUTime: 'CPUTime',
|
|
21313
|
+
count: 'Count',
|
|
21314
|
+
docExamined: 'DocExamined',
|
|
21315
|
+
IOWrites: 'IOWrites',
|
|
21316
|
+
item: 'Item',
|
|
21317
|
+
keysExamined: 'KeysExamined',
|
|
21318
|
+
lastRowsCountAffected: 'LastRowsCountAffected',
|
|
21319
|
+
lockTime: 'LockTime',
|
|
21320
|
+
logicalIOReads: 'LogicalIOReads',
|
|
21321
|
+
maxCPUTime: 'MaxCPUTime',
|
|
21322
|
+
maxDocExamined: 'MaxDocExamined',
|
|
21323
|
+
maxIOWrites: 'MaxIOWrites',
|
|
21324
|
+
maxKeysExamined: 'MaxKeysExamined',
|
|
21325
|
+
maxLastRowsCountAffected: 'MaxLastRowsCountAffected',
|
|
21326
|
+
maxLockTime: 'MaxLockTime',
|
|
21327
|
+
maxLogicalIOReads: 'MaxLogicalIOReads',
|
|
21328
|
+
maxPhysicalIOReads: 'MaxPhysicalIOReads',
|
|
21329
|
+
maxReturnNum: 'MaxReturnNum',
|
|
21330
|
+
maxRowsCountAffected: 'MaxRowsCountAffected',
|
|
21331
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
21332
|
+
maxRowsSent: 'MaxRowsSent',
|
|
21333
|
+
maxRt: 'MaxRt',
|
|
21334
|
+
physicalIOReads: 'PhysicalIOReads',
|
|
21335
|
+
returnNum: 'ReturnNum',
|
|
21336
|
+
rowsCountAffected: 'RowsCountAffected',
|
|
21337
|
+
rowsExamined: 'RowsExamined',
|
|
21338
|
+
rowsSent: 'RowsSent',
|
|
21339
|
+
rt: 'Rt',
|
|
21340
|
+
total: 'Total',
|
|
21341
|
+
ts: 'Ts',
|
|
21342
|
+
tsEnd: 'TsEnd',
|
|
21343
|
+
};
|
|
21344
|
+
}
|
|
21345
|
+
|
|
21346
|
+
static types(): { [key: string]: any } {
|
|
21347
|
+
return {
|
|
21348
|
+
avgCPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
21349
|
+
avgDocExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21350
|
+
avgIOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
21351
|
+
avgKeysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21352
|
+
avgLastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21353
|
+
avgLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21354
|
+
avgLogicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21355
|
+
avgPhysicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21356
|
+
avgReturnNum: { 'type': 'array', 'itemType': 'number' },
|
|
21357
|
+
avgRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21358
|
+
avgRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21359
|
+
avgRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21360
|
+
avgRt: { 'type': 'array', 'itemType': 'number' },
|
|
21361
|
+
CPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
21362
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
21363
|
+
docExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21364
|
+
IOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
21365
|
+
item: { 'type': 'array', 'itemType': DescribeSlowLogHistogramAsyncResponseBodyDataDataItem },
|
|
21366
|
+
keysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21367
|
+
lastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21368
|
+
lockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21369
|
+
logicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21370
|
+
maxCPUTime: { 'type': 'array', 'itemType': 'number' },
|
|
21371
|
+
maxDocExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21372
|
+
maxIOWrites: { 'type': 'array', 'itemType': 'number' },
|
|
21373
|
+
maxKeysExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21374
|
+
maxLastRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21375
|
+
maxLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21376
|
+
maxLogicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21377
|
+
maxPhysicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21378
|
+
maxReturnNum: { 'type': 'array', 'itemType': 'number' },
|
|
21379
|
+
maxRowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21380
|
+
maxRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21381
|
+
maxRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21382
|
+
maxRt: { 'type': 'array', 'itemType': 'number' },
|
|
21383
|
+
physicalIOReads: { 'type': 'array', 'itemType': 'number' },
|
|
21384
|
+
returnNum: { 'type': 'array', 'itemType': 'number' },
|
|
21385
|
+
rowsCountAffected: { 'type': 'array', 'itemType': 'number' },
|
|
21386
|
+
rowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21387
|
+
rowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21388
|
+
rt: { 'type': 'array', 'itemType': 'number' },
|
|
21389
|
+
total: 'number',
|
|
21390
|
+
ts: { 'type': 'array', 'itemType': 'number' },
|
|
21391
|
+
tsEnd: { 'type': 'array', 'itemType': 'number' },
|
|
21392
|
+
};
|
|
21393
|
+
}
|
|
21394
|
+
|
|
21395
|
+
constructor(map?: { [key: string]: any }) {
|
|
21396
|
+
super(map);
|
|
21397
|
+
}
|
|
21398
|
+
}
|
|
21399
|
+
|
|
21400
|
+
export class DescribeSlowLogHistogramAsyncResponseBodyData extends $tea.Model {
|
|
21401
|
+
data?: DescribeSlowLogHistogramAsyncResponseBodyDataData;
|
|
21402
|
+
/**
|
|
21403
|
+
* @example
|
|
21404
|
+
* 10910
|
|
21405
|
+
*/
|
|
21406
|
+
errorCode?: number;
|
|
21407
|
+
/**
|
|
21408
|
+
* @example
|
|
21409
|
+
* true
|
|
21410
|
+
*/
|
|
21411
|
+
isFinish?: boolean;
|
|
21412
|
+
/**
|
|
21413
|
+
* @example
|
|
21414
|
+
* Successful
|
|
21415
|
+
*/
|
|
21416
|
+
message?: string;
|
|
21417
|
+
requestKey?: string;
|
|
21418
|
+
/**
|
|
21419
|
+
* @example
|
|
21420
|
+
* async__20ee808e72257f16a4fe024057ca****
|
|
21421
|
+
*/
|
|
21422
|
+
resultId?: string;
|
|
21423
|
+
/**
|
|
21424
|
+
* @example
|
|
21425
|
+
* SUCCESS
|
|
21426
|
+
*/
|
|
21427
|
+
state?: string;
|
|
21428
|
+
/**
|
|
21429
|
+
* @example
|
|
21430
|
+
* 1645668213000
|
|
21431
|
+
*/
|
|
21432
|
+
timestamp?: number;
|
|
21433
|
+
static names(): { [key: string]: string } {
|
|
21434
|
+
return {
|
|
21435
|
+
data: 'Data',
|
|
21436
|
+
errorCode: 'ErrorCode',
|
|
21437
|
+
isFinish: 'IsFinish',
|
|
21438
|
+
message: 'Message',
|
|
21439
|
+
requestKey: 'RequestKey',
|
|
21440
|
+
resultId: 'ResultId',
|
|
21441
|
+
state: 'State',
|
|
21442
|
+
timestamp: 'Timestamp',
|
|
21443
|
+
};
|
|
21444
|
+
}
|
|
21445
|
+
|
|
21446
|
+
static types(): { [key: string]: any } {
|
|
21447
|
+
return {
|
|
21448
|
+
data: DescribeSlowLogHistogramAsyncResponseBodyDataData,
|
|
21449
|
+
errorCode: 'number',
|
|
21450
|
+
isFinish: 'boolean',
|
|
21451
|
+
message: 'string',
|
|
21452
|
+
requestKey: 'string',
|
|
21453
|
+
resultId: 'string',
|
|
21454
|
+
state: 'string',
|
|
21455
|
+
timestamp: 'number',
|
|
21456
|
+
};
|
|
21457
|
+
}
|
|
21458
|
+
|
|
21459
|
+
constructor(map?: { [key: string]: any }) {
|
|
21460
|
+
super(map);
|
|
21461
|
+
}
|
|
21462
|
+
}
|
|
21463
|
+
|
|
21464
|
+
export class DescribeSlowLogStatisticRequestFilters extends $tea.Model {
|
|
21465
|
+
/**
|
|
21466
|
+
* @example
|
|
21467
|
+
* KeyWords
|
|
21468
|
+
*/
|
|
21469
|
+
key?: string;
|
|
21470
|
+
/**
|
|
21471
|
+
* @example
|
|
21472
|
+
* select
|
|
21473
|
+
*/
|
|
21474
|
+
value?: string;
|
|
21475
|
+
static names(): { [key: string]: string } {
|
|
21476
|
+
return {
|
|
21477
|
+
key: 'Key',
|
|
21478
|
+
value: 'Value',
|
|
21479
|
+
};
|
|
21480
|
+
}
|
|
21481
|
+
|
|
21482
|
+
static types(): { [key: string]: any } {
|
|
21483
|
+
return {
|
|
21484
|
+
key: 'string',
|
|
21485
|
+
value: 'string',
|
|
21486
|
+
};
|
|
21487
|
+
}
|
|
21488
|
+
|
|
21489
|
+
constructor(map?: { [key: string]: any }) {
|
|
21490
|
+
super(map);
|
|
21491
|
+
}
|
|
21492
|
+
}
|
|
21493
|
+
|
|
21494
|
+
export class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem extends $tea.Model {
|
|
21495
|
+
count?: number[];
|
|
21496
|
+
/**
|
|
21497
|
+
* @example
|
|
21498
|
+
* r-bp1s1m8hwzrm77kfvz-db-0
|
|
21499
|
+
*/
|
|
21500
|
+
nodeId?: string;
|
|
21501
|
+
static names(): { [key: string]: string } {
|
|
21502
|
+
return {
|
|
21503
|
+
count: 'Count',
|
|
21504
|
+
nodeId: 'NodeId',
|
|
21505
|
+
};
|
|
21506
|
+
}
|
|
21507
|
+
|
|
21508
|
+
static types(): { [key: string]: any } {
|
|
21509
|
+
return {
|
|
21510
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
21511
|
+
nodeId: 'string',
|
|
21512
|
+
};
|
|
21513
|
+
}
|
|
21514
|
+
|
|
21515
|
+
constructor(map?: { [key: string]: any }) {
|
|
21516
|
+
super(map);
|
|
21517
|
+
}
|
|
21518
|
+
}
|
|
21519
|
+
|
|
21520
|
+
export class DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram extends $tea.Model {
|
|
21521
|
+
avgLockTime?: number[];
|
|
21522
|
+
avgRowsExamined?: number[];
|
|
21523
|
+
avgRowsSent?: number[];
|
|
21524
|
+
avgRt?: number[];
|
|
21525
|
+
count?: number[];
|
|
21526
|
+
item?: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem[];
|
|
21527
|
+
lockTime?: number[];
|
|
21528
|
+
maxLockTime?: number[];
|
|
21529
|
+
maxRowsExamined?: number[];
|
|
21530
|
+
maxRowsSent?: number[];
|
|
21531
|
+
maxRt?: number[];
|
|
21532
|
+
rowsExamined?: number[];
|
|
21533
|
+
rowsSent?: number[];
|
|
21534
|
+
rt?: number[];
|
|
21535
|
+
/**
|
|
21536
|
+
* @example
|
|
21537
|
+
* 7
|
|
21538
|
+
*/
|
|
21539
|
+
total?: number;
|
|
21540
|
+
ts?: number[];
|
|
21541
|
+
tsEnd?: number[];
|
|
21542
|
+
static names(): { [key: string]: string } {
|
|
21543
|
+
return {
|
|
21544
|
+
avgLockTime: 'AvgLockTime',
|
|
21545
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
21546
|
+
avgRowsSent: 'AvgRowsSent',
|
|
21547
|
+
avgRt: 'AvgRt',
|
|
21548
|
+
count: 'Count',
|
|
21549
|
+
item: 'Item',
|
|
21550
|
+
lockTime: 'LockTime',
|
|
21551
|
+
maxLockTime: 'MaxLockTime',
|
|
21552
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
21553
|
+
maxRowsSent: 'MaxRowsSent',
|
|
21554
|
+
maxRt: 'MaxRt',
|
|
21555
|
+
rowsExamined: 'RowsExamined',
|
|
21556
|
+
rowsSent: 'RowsSent',
|
|
21557
|
+
rt: 'Rt',
|
|
21558
|
+
total: 'Total',
|
|
21559
|
+
ts: 'Ts',
|
|
21560
|
+
tsEnd: 'TsEnd',
|
|
21561
|
+
};
|
|
21562
|
+
}
|
|
21563
|
+
|
|
21564
|
+
static types(): { [key: string]: any } {
|
|
21565
|
+
return {
|
|
21566
|
+
avgLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21567
|
+
avgRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21568
|
+
avgRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21569
|
+
avgRt: { 'type': 'array', 'itemType': 'number' },
|
|
21570
|
+
count: { 'type': 'array', 'itemType': 'number' },
|
|
21571
|
+
item: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogsHistogramItem },
|
|
21572
|
+
lockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21573
|
+
maxLockTime: { 'type': 'array', 'itemType': 'number' },
|
|
21574
|
+
maxRowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21575
|
+
maxRowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21576
|
+
maxRt: { 'type': 'array', 'itemType': 'number' },
|
|
21577
|
+
rowsExamined: { 'type': 'array', 'itemType': 'number' },
|
|
21578
|
+
rowsSent: { 'type': 'array', 'itemType': 'number' },
|
|
21579
|
+
rt: { 'type': 'array', 'itemType': 'number' },
|
|
21580
|
+
total: 'number',
|
|
21581
|
+
ts: { 'type': 'array', 'itemType': 'number' },
|
|
21582
|
+
tsEnd: { 'type': 'array', 'itemType': 'number' },
|
|
21583
|
+
};
|
|
21584
|
+
}
|
|
21585
|
+
|
|
21586
|
+
constructor(map?: { [key: string]: any }) {
|
|
21587
|
+
super(map);
|
|
21588
|
+
}
|
|
21589
|
+
}
|
|
21590
|
+
|
|
21591
|
+
export class DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag extends $tea.Model {
|
|
21592
|
+
comments?: string;
|
|
21593
|
+
/**
|
|
21594
|
+
* @remarks
|
|
21595
|
+
* SQL ID。
|
|
21596
|
+
*
|
|
21597
|
+
* @example
|
|
21598
|
+
* a3931d8c3a9315dd5ed016d71cf*****
|
|
21599
|
+
*/
|
|
21600
|
+
sqlId?: string;
|
|
21601
|
+
/**
|
|
21602
|
+
* @example
|
|
21603
|
+
* DAS_IN_PLAN
|
|
21604
|
+
*/
|
|
21605
|
+
tags?: string;
|
|
21606
|
+
static names(): { [key: string]: string } {
|
|
21607
|
+
return {
|
|
21608
|
+
comments: 'Comments',
|
|
21609
|
+
sqlId: 'SqlId',
|
|
21610
|
+
tags: 'Tags',
|
|
21611
|
+
};
|
|
21612
|
+
}
|
|
21613
|
+
|
|
21614
|
+
static types(): { [key: string]: any } {
|
|
21615
|
+
return {
|
|
21616
|
+
comments: 'string',
|
|
21617
|
+
sqlId: 'string',
|
|
21618
|
+
tags: 'string',
|
|
21619
|
+
};
|
|
21620
|
+
}
|
|
21621
|
+
|
|
21622
|
+
constructor(map?: { [key: string]: any }) {
|
|
21623
|
+
super(map);
|
|
21624
|
+
}
|
|
21625
|
+
}
|
|
21626
|
+
|
|
21627
|
+
export class DescribeSlowLogStatisticResponseBodyDataDataLogsTrend extends $tea.Model {
|
|
21628
|
+
/**
|
|
21629
|
+
* @example
|
|
21630
|
+
* 1723775362
|
|
21631
|
+
*/
|
|
21632
|
+
timestamp?: number;
|
|
21633
|
+
/**
|
|
21634
|
+
* @example
|
|
21635
|
+
* tf-testacc-oos-parameter
|
|
21636
|
+
*/
|
|
21637
|
+
value?: any;
|
|
21638
|
+
static names(): { [key: string]: string } {
|
|
21639
|
+
return {
|
|
21640
|
+
timestamp: 'Timestamp',
|
|
21641
|
+
value: 'Value',
|
|
21642
|
+
};
|
|
21643
|
+
}
|
|
21644
|
+
|
|
21645
|
+
static types(): { [key: string]: any } {
|
|
21646
|
+
return {
|
|
21647
|
+
timestamp: 'number',
|
|
21648
|
+
value: 'any',
|
|
21649
|
+
};
|
|
21650
|
+
}
|
|
21651
|
+
|
|
21652
|
+
constructor(map?: { [key: string]: any }) {
|
|
21653
|
+
super(map);
|
|
21654
|
+
}
|
|
21655
|
+
}
|
|
21656
|
+
|
|
21657
|
+
export class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $tea.Model {
|
|
21658
|
+
/**
|
|
21659
|
+
* @example
|
|
21660
|
+
* edu_admin
|
|
21661
|
+
*/
|
|
21662
|
+
accountName?: string;
|
|
21663
|
+
/**
|
|
21664
|
+
* @example
|
|
21665
|
+
* -
|
|
21666
|
+
*/
|
|
21667
|
+
avgCPUTime?: number;
|
|
21668
|
+
/**
|
|
21669
|
+
* @example
|
|
21670
|
+
* 10000
|
|
21671
|
+
*/
|
|
21672
|
+
avgDocExamined?: number;
|
|
21673
|
+
/**
|
|
21674
|
+
* @example
|
|
21675
|
+
* 1000
|
|
21676
|
+
*/
|
|
21677
|
+
avgIOWrites?: number;
|
|
21678
|
+
/**
|
|
21679
|
+
* @example
|
|
21680
|
+
* 20000
|
|
21681
|
+
*/
|
|
21682
|
+
avgKeysExamined?: number;
|
|
21683
|
+
/**
|
|
21684
|
+
* @example
|
|
21685
|
+
* 1000
|
|
21686
|
+
*/
|
|
21687
|
+
avgLastRowsCountAffected?: number;
|
|
21688
|
+
/**
|
|
21689
|
+
* @example
|
|
21690
|
+
* -
|
|
21691
|
+
*/
|
|
21692
|
+
avgLockTime?: number;
|
|
21693
|
+
/**
|
|
21694
|
+
* @example
|
|
21695
|
+
* 0.0
|
|
21696
|
+
*/
|
|
21697
|
+
avgLockTimeSeconds?: number;
|
|
21698
|
+
/**
|
|
21699
|
+
* @example
|
|
21700
|
+
* 1000
|
|
21701
|
+
*/
|
|
21702
|
+
avgLogicalIOReads?: number;
|
|
21703
|
+
/**
|
|
21704
|
+
* @example
|
|
21705
|
+
* 1000
|
|
21706
|
+
*/
|
|
21707
|
+
avgPhysicalIOReads?: number;
|
|
21708
|
+
/**
|
|
21709
|
+
* @example
|
|
21710
|
+
* -
|
|
21711
|
+
*/
|
|
21712
|
+
avgQueryTime?: number;
|
|
21713
|
+
/**
|
|
21714
|
+
* @example
|
|
21715
|
+
* 6.211
|
|
21716
|
+
*/
|
|
21717
|
+
avgQueryTimeSeconds?: number;
|
|
21718
|
+
/**
|
|
21719
|
+
* @example
|
|
21720
|
+
* 1
|
|
21721
|
+
*/
|
|
21722
|
+
avgReturnNum?: number;
|
|
21723
|
+
/**
|
|
21724
|
+
* @example
|
|
21725
|
+
* 1000
|
|
21726
|
+
*/
|
|
21727
|
+
avgRowsCountAffected?: number;
|
|
21728
|
+
/**
|
|
21729
|
+
* @example
|
|
21730
|
+
* 53421.0
|
|
21731
|
+
*/
|
|
21732
|
+
avgRowsExamined?: number;
|
|
21733
|
+
/**
|
|
21734
|
+
* @example
|
|
21735
|
+
* 2.0
|
|
21736
|
+
*/
|
|
21737
|
+
avgRowsSent?: number;
|
|
21738
|
+
/**
|
|
21739
|
+
* @example
|
|
21740
|
+
* -
|
|
21741
|
+
*/
|
|
21742
|
+
CPUTime?: number;
|
|
21743
|
+
/**
|
|
21744
|
+
* @example
|
|
21745
|
+
* SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.t? DESC
|
|
21746
|
+
*/
|
|
21747
|
+
command?: string;
|
|
21748
|
+
/**
|
|
21749
|
+
* @example
|
|
21750
|
+
* 12
|
|
21751
|
+
*/
|
|
21752
|
+
count?: number;
|
|
21753
|
+
/**
|
|
21754
|
+
* @example
|
|
21755
|
+
* 0.2034
|
|
21756
|
+
*/
|
|
21757
|
+
countRate?: number;
|
|
21758
|
+
/**
|
|
21759
|
+
* @example
|
|
21760
|
+
* member_score
|
|
21761
|
+
*/
|
|
21762
|
+
DBName?: string;
|
|
21763
|
+
/**
|
|
21764
|
+
* @example
|
|
21765
|
+
* work-wechat-api
|
|
21766
|
+
*/
|
|
21767
|
+
database?: string;
|
|
21768
|
+
/**
|
|
21769
|
+
* @example
|
|
21770
|
+
* 0
|
|
21771
|
+
*/
|
|
21772
|
+
dbInstanceName?: string;
|
|
21773
|
+
/**
|
|
21774
|
+
* @example
|
|
21775
|
+
* 2000000
|
|
21776
|
+
*/
|
|
21777
|
+
docExamined?: number;
|
|
21778
|
+
/**
|
|
21779
|
+
* @example
|
|
21780
|
+
* 1
|
|
21781
|
+
*/
|
|
21782
|
+
docsExamined?: number;
|
|
21783
|
+
histogram?: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram;
|
|
21784
|
+
/**
|
|
21785
|
+
* @example
|
|
21786
|
+
* 172.23.142.178
|
|
21787
|
+
*/
|
|
21788
|
+
hostAddress?: string;
|
|
21789
|
+
/**
|
|
21790
|
+
* @example
|
|
21791
|
+
* mongo-abc123456
|
|
21792
|
+
*/
|
|
21793
|
+
hostInsId?: string;
|
|
21794
|
+
/**
|
|
21795
|
+
* @example
|
|
21796
|
+
* 1000
|
|
21797
|
+
*/
|
|
21798
|
+
IOWrites?: number;
|
|
21799
|
+
/**
|
|
21800
|
+
* @example
|
|
21801
|
+
* rm-uf6zix1z2jh1y6fe5
|
|
21802
|
+
*/
|
|
21803
|
+
insName?: string;
|
|
21804
|
+
/**
|
|
21805
|
+
* @example
|
|
21806
|
+
* __system
|
|
21807
|
+
*/
|
|
21808
|
+
insRole?: string;
|
|
21809
|
+
/**
|
|
21810
|
+
* @example
|
|
21811
|
+
* 20000
|
|
21812
|
+
*/
|
|
21813
|
+
keysExamined?: number;
|
|
21814
|
+
/**
|
|
21815
|
+
* @example
|
|
21816
|
+
* 1000
|
|
21817
|
+
*/
|
|
21818
|
+
lastRowsCountAffected?: number;
|
|
21819
|
+
/**
|
|
21820
|
+
* @example
|
|
21821
|
+
* -
|
|
21822
|
+
*/
|
|
21823
|
+
lockTime?: number;
|
|
21824
|
+
/**
|
|
21825
|
+
* @example
|
|
21826
|
+
* 0.0
|
|
21827
|
+
*/
|
|
21828
|
+
lockTimeSeconds?: number;
|
|
21829
|
+
/**
|
|
21830
|
+
* @example
|
|
21831
|
+
* 1000
|
|
21832
|
+
*/
|
|
21833
|
+
logicalIOReads?: number;
|
|
21834
|
+
/**
|
|
21835
|
+
* @example
|
|
21836
|
+
* -
|
|
21837
|
+
*/
|
|
21838
|
+
maxCPUTime?: number;
|
|
21839
|
+
/**
|
|
21840
|
+
* @example
|
|
21841
|
+
* 1000000
|
|
21842
|
+
*/
|
|
21843
|
+
maxDocExamined?: number;
|
|
21844
|
+
/**
|
|
21845
|
+
* @example
|
|
21846
|
+
* 1000
|
|
21847
|
+
*/
|
|
21848
|
+
maxIOWrites?: number;
|
|
21849
|
+
/**
|
|
21850
|
+
* @example
|
|
21851
|
+
* 2000000
|
|
21852
|
+
*/
|
|
21853
|
+
maxKeysExamined?: number;
|
|
21854
|
+
/**
|
|
21855
|
+
* @example
|
|
21856
|
+
* 1000
|
|
21857
|
+
*/
|
|
21858
|
+
maxLastRowsCountAffected?: number;
|
|
21859
|
+
/**
|
|
21860
|
+
* @example
|
|
21861
|
+
* -
|
|
21862
|
+
*/
|
|
21863
|
+
maxLockTime?: number;
|
|
21864
|
+
/**
|
|
21865
|
+
* @example
|
|
21866
|
+
* 0.0
|
|
21867
|
+
*/
|
|
21868
|
+
maxLockTimeSeconds?: number;
|
|
21869
|
+
/**
|
|
21870
|
+
* @example
|
|
21871
|
+
* 1000
|
|
21872
|
+
*/
|
|
21873
|
+
maxLogicalIOReads?: number;
|
|
21874
|
+
/**
|
|
21875
|
+
* @example
|
|
21876
|
+
* 1000
|
|
21877
|
+
*/
|
|
21878
|
+
maxPhysicalIOReads?: number;
|
|
21879
|
+
/**
|
|
21880
|
+
* @example
|
|
21881
|
+
* -
|
|
21882
|
+
*/
|
|
21883
|
+
maxQueryTime?: number;
|
|
21884
|
+
/**
|
|
21885
|
+
* @example
|
|
21886
|
+
* 14.402
|
|
21887
|
+
*/
|
|
21888
|
+
maxQueryTimeSeconds?: number;
|
|
21889
|
+
/**
|
|
21890
|
+
* @example
|
|
21891
|
+
* 1
|
|
21892
|
+
*/
|
|
21893
|
+
maxReturnNum?: number;
|
|
21894
|
+
/**
|
|
21895
|
+
* @example
|
|
21896
|
+
* 1000
|
|
21897
|
+
*/
|
|
21898
|
+
maxRowsCountAffected?: number;
|
|
21899
|
+
/**
|
|
21900
|
+
* @example
|
|
21901
|
+
* 318613
|
|
21902
|
+
*/
|
|
21903
|
+
maxRowsExamined?: number;
|
|
21904
|
+
/**
|
|
21905
|
+
* @example
|
|
21906
|
+
* 256
|
|
21907
|
+
*/
|
|
21908
|
+
maxRowsSent?: number;
|
|
21909
|
+
/**
|
|
21910
|
+
* @example
|
|
21911
|
+
* database.collection
|
|
21912
|
+
*/
|
|
21913
|
+
namespace?: string;
|
|
21914
|
+
/**
|
|
21915
|
+
* @example
|
|
21916
|
+
* DLNode
|
|
21917
|
+
*/
|
|
21918
|
+
nodeType?: string;
|
|
21919
|
+
/**
|
|
21920
|
+
* @example
|
|
21921
|
+
* Insert
|
|
21922
|
+
*/
|
|
21923
|
+
opType?: string;
|
|
21924
|
+
/**
|
|
21925
|
+
* @example
|
|
21926
|
+
* order-1
|
|
21927
|
+
*/
|
|
21928
|
+
originAlias?: string;
|
|
21929
|
+
/**
|
|
21930
|
+
* @example
|
|
21931
|
+
* 1000
|
|
21932
|
+
*/
|
|
21933
|
+
physicalIOReads?: number;
|
|
21934
|
+
/**
|
|
21935
|
+
* @example
|
|
21936
|
+
* SELECT b?.id,b?.t?,b?.id,b?.t? FROM testtb? b? JOIN testtb? b? ON b?.id=b?.id WHERE b?.t? LIKE ? ORDER BY b?.id DESC
|
|
21937
|
+
*/
|
|
21938
|
+
psql?: string;
|
|
21939
|
+
/**
|
|
21940
|
+
* @example
|
|
21941
|
+
* sq-1pzcdMwRb
|
|
21942
|
+
*/
|
|
21943
|
+
queryId?: string;
|
|
21944
|
+
/**
|
|
21945
|
+
* @example
|
|
21946
|
+
* 2024-12-25T03:00:00Z
|
|
21947
|
+
*/
|
|
21948
|
+
queryStartTime?: string;
|
|
21949
|
+
/**
|
|
21950
|
+
* @example
|
|
21951
|
+
* 272.444
|
|
21952
|
+
*/
|
|
21953
|
+
queryTime?: number;
|
|
21954
|
+
/**
|
|
21955
|
+
* @example
|
|
21956
|
+
* 0.1018
|
|
21957
|
+
*/
|
|
21958
|
+
queryTimeRate?: number;
|
|
21959
|
+
/**
|
|
21960
|
+
* @example
|
|
21961
|
+
* 25.472
|
|
21962
|
+
*/
|
|
21963
|
+
queryTimeSeconds?: number;
|
|
21964
|
+
returnItemNumbers?: string;
|
|
21965
|
+
/**
|
|
21966
|
+
* @example
|
|
21967
|
+
* 1
|
|
21968
|
+
*/
|
|
21969
|
+
returnNum?: number;
|
|
21970
|
+
/**
|
|
21971
|
+
* @example
|
|
21972
|
+
* 1000
|
|
21973
|
+
*/
|
|
21974
|
+
rowsCountAffected?: number;
|
|
21975
|
+
/**
|
|
21976
|
+
* @example
|
|
21977
|
+
* 2444081
|
|
21978
|
+
*/
|
|
21979
|
+
rowsExamined?: number;
|
|
21980
|
+
/**
|
|
21981
|
+
* @example
|
|
21982
|
+
* 772
|
|
21983
|
+
*/
|
|
21984
|
+
rowsSent?: number;
|
|
21985
|
+
/**
|
|
21986
|
+
* @example
|
|
21987
|
+
* SELECT \\"Hello, World!\\" FROM DUAL
|
|
21988
|
+
*/
|
|
21989
|
+
SQLText?: string;
|
|
21990
|
+
/**
|
|
21991
|
+
* @example
|
|
21992
|
+
* HTTP
|
|
21993
|
+
*/
|
|
21994
|
+
scheme?: string;
|
|
21995
|
+
/**
|
|
21996
|
+
* @remarks
|
|
21997
|
+
* SQL ID。
|
|
21998
|
+
*
|
|
21999
|
+
* @example
|
|
22000
|
+
* 2dca88762ec6b3812504ab8a4b******
|
|
22001
|
+
*/
|
|
22002
|
+
sqlId?: string;
|
|
22003
|
+
sqlTag?: DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag;
|
|
22004
|
+
/**
|
|
22005
|
+
* @example
|
|
22006
|
+
* LOGIN
|
|
22007
|
+
*/
|
|
22008
|
+
sqlType?: string;
|
|
22009
|
+
/**
|
|
22010
|
+
* @example
|
|
22011
|
+
* r-8vba51c588ba3a94
|
|
22012
|
+
*/
|
|
22013
|
+
subInstanceId?: string;
|
|
22014
|
+
/**
|
|
22015
|
+
* @example
|
|
22016
|
+
* users\\nifconfig\\n
|
|
22017
|
+
*/
|
|
22018
|
+
tableName?: string;
|
|
22019
|
+
/**
|
|
22020
|
+
* @example
|
|
22021
|
+
* 1
|
|
22022
|
+
*/
|
|
22023
|
+
threadId?: string;
|
|
22024
|
+
/**
|
|
22025
|
+
* @example
|
|
22026
|
+
* 1708568930
|
|
22027
|
+
*/
|
|
22028
|
+
timestamp?: number;
|
|
22029
|
+
trend?: DescribeSlowLogStatisticResponseBodyDataDataLogsTrend[];
|
|
22030
|
+
/**
|
|
22031
|
+
* @example
|
|
22032
|
+
* user-1
|
|
22033
|
+
*/
|
|
22034
|
+
user?: string;
|
|
22035
|
+
static names(): { [key: string]: string } {
|
|
22036
|
+
return {
|
|
22037
|
+
accountName: 'AccountName',
|
|
22038
|
+
avgCPUTime: 'AvgCPUTime',
|
|
22039
|
+
avgDocExamined: 'AvgDocExamined',
|
|
22040
|
+
avgIOWrites: 'AvgIOWrites',
|
|
22041
|
+
avgKeysExamined: 'AvgKeysExamined',
|
|
22042
|
+
avgLastRowsCountAffected: 'AvgLastRowsCountAffected',
|
|
22043
|
+
avgLockTime: 'AvgLockTime',
|
|
22044
|
+
avgLockTimeSeconds: 'AvgLockTimeSeconds',
|
|
22045
|
+
avgLogicalIOReads: 'AvgLogicalIOReads',
|
|
22046
|
+
avgPhysicalIOReads: 'AvgPhysicalIOReads',
|
|
22047
|
+
avgQueryTime: 'AvgQueryTime',
|
|
22048
|
+
avgQueryTimeSeconds: 'AvgQueryTimeSeconds',
|
|
22049
|
+
avgReturnNum: 'AvgReturnNum',
|
|
22050
|
+
avgRowsCountAffected: 'AvgRowsCountAffected',
|
|
22051
|
+
avgRowsExamined: 'AvgRowsExamined',
|
|
22052
|
+
avgRowsSent: 'AvgRowsSent',
|
|
22053
|
+
CPUTime: 'CPUTime',
|
|
22054
|
+
command: 'Command',
|
|
22055
|
+
count: 'Count',
|
|
22056
|
+
countRate: 'CountRate',
|
|
22057
|
+
DBName: 'DBName',
|
|
22058
|
+
database: 'Database',
|
|
22059
|
+
dbInstanceName: 'DbInstanceName',
|
|
22060
|
+
docExamined: 'DocExamined',
|
|
22061
|
+
docsExamined: 'DocsExamined',
|
|
22062
|
+
histogram: 'Histogram',
|
|
22063
|
+
hostAddress: 'HostAddress',
|
|
22064
|
+
hostInsId: 'HostInsId',
|
|
22065
|
+
IOWrites: 'IOWrites',
|
|
22066
|
+
insName: 'InsName',
|
|
22067
|
+
insRole: 'InsRole',
|
|
22068
|
+
keysExamined: 'KeysExamined',
|
|
22069
|
+
lastRowsCountAffected: 'LastRowsCountAffected',
|
|
22070
|
+
lockTime: 'LockTime',
|
|
22071
|
+
lockTimeSeconds: 'LockTimeSeconds',
|
|
22072
|
+
logicalIOReads: 'LogicalIOReads',
|
|
22073
|
+
maxCPUTime: 'MaxCPUTime',
|
|
22074
|
+
maxDocExamined: 'MaxDocExamined',
|
|
22075
|
+
maxIOWrites: 'MaxIOWrites',
|
|
22076
|
+
maxKeysExamined: 'MaxKeysExamined',
|
|
22077
|
+
maxLastRowsCountAffected: 'MaxLastRowsCountAffected',
|
|
22078
|
+
maxLockTime: 'MaxLockTime',
|
|
22079
|
+
maxLockTimeSeconds: 'MaxLockTimeSeconds',
|
|
22080
|
+
maxLogicalIOReads: 'MaxLogicalIOReads',
|
|
22081
|
+
maxPhysicalIOReads: 'MaxPhysicalIOReads',
|
|
22082
|
+
maxQueryTime: 'MaxQueryTime',
|
|
22083
|
+
maxQueryTimeSeconds: 'MaxQueryTimeSeconds',
|
|
22084
|
+
maxReturnNum: 'MaxReturnNum',
|
|
22085
|
+
maxRowsCountAffected: 'MaxRowsCountAffected',
|
|
22086
|
+
maxRowsExamined: 'MaxRowsExamined',
|
|
22087
|
+
maxRowsSent: 'MaxRowsSent',
|
|
22088
|
+
namespace: 'Namespace',
|
|
22089
|
+
nodeType: 'NodeType',
|
|
22090
|
+
opType: 'OpType',
|
|
22091
|
+
originAlias: 'OriginAlias',
|
|
22092
|
+
physicalIOReads: 'PhysicalIOReads',
|
|
22093
|
+
psql: 'Psql',
|
|
22094
|
+
queryId: 'QueryId',
|
|
22095
|
+
queryStartTime: 'QueryStartTime',
|
|
22096
|
+
queryTime: 'QueryTime',
|
|
22097
|
+
queryTimeRate: 'QueryTimeRate',
|
|
22098
|
+
queryTimeSeconds: 'QueryTimeSeconds',
|
|
22099
|
+
returnItemNumbers: 'ReturnItemNumbers',
|
|
22100
|
+
returnNum: 'ReturnNum',
|
|
22101
|
+
rowsCountAffected: 'RowsCountAffected',
|
|
22102
|
+
rowsExamined: 'RowsExamined',
|
|
22103
|
+
rowsSent: 'RowsSent',
|
|
22104
|
+
SQLText: 'SQLText',
|
|
22105
|
+
scheme: 'Scheme',
|
|
22106
|
+
sqlId: 'SqlId',
|
|
22107
|
+
sqlTag: 'SqlTag',
|
|
22108
|
+
sqlType: 'SqlType',
|
|
22109
|
+
subInstanceId: 'SubInstanceId',
|
|
22110
|
+
tableName: 'TableName',
|
|
22111
|
+
threadId: 'ThreadId',
|
|
22112
|
+
timestamp: 'Timestamp',
|
|
22113
|
+
trend: 'Trend',
|
|
22114
|
+
user: 'User',
|
|
22115
|
+
};
|
|
22116
|
+
}
|
|
22117
|
+
|
|
22118
|
+
static types(): { [key: string]: any } {
|
|
22119
|
+
return {
|
|
22120
|
+
accountName: 'string',
|
|
22121
|
+
avgCPUTime: 'number',
|
|
22122
|
+
avgDocExamined: 'number',
|
|
22123
|
+
avgIOWrites: 'number',
|
|
22124
|
+
avgKeysExamined: 'number',
|
|
22125
|
+
avgLastRowsCountAffected: 'number',
|
|
22126
|
+
avgLockTime: 'number',
|
|
22127
|
+
avgLockTimeSeconds: 'number',
|
|
22128
|
+
avgLogicalIOReads: 'number',
|
|
22129
|
+
avgPhysicalIOReads: 'number',
|
|
22130
|
+
avgQueryTime: 'number',
|
|
22131
|
+
avgQueryTimeSeconds: 'number',
|
|
22132
|
+
avgReturnNum: 'number',
|
|
22133
|
+
avgRowsCountAffected: 'number',
|
|
22134
|
+
avgRowsExamined: 'number',
|
|
22135
|
+
avgRowsSent: 'number',
|
|
22136
|
+
CPUTime: 'number',
|
|
22137
|
+
command: 'string',
|
|
22138
|
+
count: 'number',
|
|
22139
|
+
countRate: 'number',
|
|
22140
|
+
DBName: 'string',
|
|
22141
|
+
database: 'string',
|
|
22142
|
+
dbInstanceName: 'string',
|
|
22143
|
+
docExamined: 'number',
|
|
22144
|
+
docsExamined: 'number',
|
|
22145
|
+
histogram: DescribeSlowLogStatisticResponseBodyDataDataLogsHistogram,
|
|
22146
|
+
hostAddress: 'string',
|
|
22147
|
+
hostInsId: 'string',
|
|
22148
|
+
IOWrites: 'number',
|
|
22149
|
+
insName: 'string',
|
|
22150
|
+
insRole: 'string',
|
|
22151
|
+
keysExamined: 'number',
|
|
22152
|
+
lastRowsCountAffected: 'number',
|
|
22153
|
+
lockTime: 'number',
|
|
22154
|
+
lockTimeSeconds: 'number',
|
|
22155
|
+
logicalIOReads: 'number',
|
|
22156
|
+
maxCPUTime: 'number',
|
|
22157
|
+
maxDocExamined: 'number',
|
|
22158
|
+
maxIOWrites: 'number',
|
|
22159
|
+
maxKeysExamined: 'number',
|
|
22160
|
+
maxLastRowsCountAffected: 'number',
|
|
22161
|
+
maxLockTime: 'number',
|
|
22162
|
+
maxLockTimeSeconds: 'number',
|
|
22163
|
+
maxLogicalIOReads: 'number',
|
|
22164
|
+
maxPhysicalIOReads: 'number',
|
|
22165
|
+
maxQueryTime: 'number',
|
|
22166
|
+
maxQueryTimeSeconds: 'number',
|
|
22167
|
+
maxReturnNum: 'number',
|
|
22168
|
+
maxRowsCountAffected: 'number',
|
|
22169
|
+
maxRowsExamined: 'number',
|
|
22170
|
+
maxRowsSent: 'number',
|
|
22171
|
+
namespace: 'string',
|
|
22172
|
+
nodeType: 'string',
|
|
22173
|
+
opType: 'string',
|
|
22174
|
+
originAlias: 'string',
|
|
22175
|
+
physicalIOReads: 'number',
|
|
22176
|
+
psql: 'string',
|
|
22177
|
+
queryId: 'string',
|
|
22178
|
+
queryStartTime: 'string',
|
|
22179
|
+
queryTime: 'number',
|
|
22180
|
+
queryTimeRate: 'number',
|
|
22181
|
+
queryTimeSeconds: 'number',
|
|
22182
|
+
returnItemNumbers: 'string',
|
|
22183
|
+
returnNum: 'number',
|
|
22184
|
+
rowsCountAffected: 'number',
|
|
22185
|
+
rowsExamined: 'number',
|
|
22186
|
+
rowsSent: 'number',
|
|
22187
|
+
SQLText: 'string',
|
|
22188
|
+
scheme: 'string',
|
|
22189
|
+
sqlId: 'string',
|
|
22190
|
+
sqlTag: DescribeSlowLogStatisticResponseBodyDataDataLogsSqlTag,
|
|
22191
|
+
sqlType: 'string',
|
|
22192
|
+
subInstanceId: 'string',
|
|
22193
|
+
tableName: 'string',
|
|
22194
|
+
threadId: 'string',
|
|
22195
|
+
timestamp: 'number',
|
|
22196
|
+
trend: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogsTrend },
|
|
22197
|
+
user: 'string',
|
|
22198
|
+
};
|
|
22199
|
+
}
|
|
22200
|
+
|
|
22201
|
+
constructor(map?: { [key: string]: any }) {
|
|
22202
|
+
super(map);
|
|
22203
|
+
}
|
|
22204
|
+
}
|
|
22205
|
+
|
|
22206
|
+
export class DescribeSlowLogStatisticResponseBodyDataData extends $tea.Model {
|
|
22207
|
+
/**
|
|
22208
|
+
* @example
|
|
22209
|
+
* rm-k2ja51w7cnusg5a1x
|
|
22210
|
+
*/
|
|
22211
|
+
dbInstanceId?: number;
|
|
22212
|
+
/**
|
|
22213
|
+
* @example
|
|
22214
|
+
* 0
|
|
22215
|
+
*/
|
|
22216
|
+
dbInstanceName?: string;
|
|
22217
|
+
/**
|
|
20738
22218
|
* @example
|
|
20739
|
-
*
|
|
22219
|
+
* 2024-08-08T02:15:00Z
|
|
20740
22220
|
*/
|
|
20741
|
-
|
|
22221
|
+
endTime?: string;
|
|
20742
22222
|
/**
|
|
20743
|
-
* @
|
|
20744
|
-
*
|
|
22223
|
+
* @example
|
|
22224
|
+
* 10
|
|
20745
22225
|
*/
|
|
20746
|
-
|
|
22226
|
+
itemsNumbers?: number;
|
|
22227
|
+
logs?: DescribeSlowLogStatisticResponseBodyDataDataLogs[];
|
|
20747
22228
|
/**
|
|
20748
|
-
* @remarks
|
|
20749
|
-
* The reason why the hot key failed to be queried.
|
|
20750
|
-
*
|
|
20751
22229
|
* @example
|
|
20752
|
-
*
|
|
22230
|
+
* 10
|
|
20753
22231
|
*/
|
|
20754
|
-
|
|
22232
|
+
maxRecordsPerPage?: number;
|
|
20755
22233
|
/**
|
|
20756
|
-
* @
|
|
20757
|
-
*
|
|
22234
|
+
* @example
|
|
22235
|
+
* pi-wz99g5rn7w1x8h0sf
|
|
20758
22236
|
*/
|
|
20759
|
-
|
|
22237
|
+
nodeId?: string;
|
|
22238
|
+
/**
|
|
22239
|
+
* @example
|
|
22240
|
+
* 1
|
|
22241
|
+
*/
|
|
22242
|
+
pageNumbers?: number;
|
|
22243
|
+
/**
|
|
22244
|
+
* @example
|
|
22245
|
+
* 2024-10-08T02:01:00Z
|
|
22246
|
+
*/
|
|
22247
|
+
startTime?: string;
|
|
22248
|
+
/**
|
|
22249
|
+
* @example
|
|
22250
|
+
* 13
|
|
22251
|
+
*/
|
|
22252
|
+
totalRecords?: number;
|
|
20760
22253
|
static names(): { [key: string]: string } {
|
|
20761
22254
|
return {
|
|
20762
|
-
|
|
20763
|
-
|
|
20764
|
-
|
|
20765
|
-
|
|
22255
|
+
dbInstanceId: 'DbInstanceId',
|
|
22256
|
+
dbInstanceName: 'DbInstanceName',
|
|
22257
|
+
endTime: 'EndTime',
|
|
22258
|
+
itemsNumbers: 'ItemsNumbers',
|
|
22259
|
+
logs: 'Logs',
|
|
22260
|
+
maxRecordsPerPage: 'MaxRecordsPerPage',
|
|
22261
|
+
nodeId: 'NodeId',
|
|
22262
|
+
pageNumbers: 'PageNumbers',
|
|
22263
|
+
startTime: 'StartTime',
|
|
22264
|
+
totalRecords: 'TotalRecords',
|
|
20766
22265
|
};
|
|
20767
22266
|
}
|
|
20768
22267
|
|
|
20769
22268
|
static types(): { [key: string]: any } {
|
|
20770
22269
|
return {
|
|
20771
|
-
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
|
|
22270
|
+
dbInstanceId: 'number',
|
|
22271
|
+
dbInstanceName: 'string',
|
|
22272
|
+
endTime: 'string',
|
|
22273
|
+
itemsNumbers: 'number',
|
|
22274
|
+
logs: { 'type': 'array', 'itemType': DescribeSlowLogStatisticResponseBodyDataDataLogs },
|
|
22275
|
+
maxRecordsPerPage: 'number',
|
|
22276
|
+
nodeId: 'string',
|
|
22277
|
+
pageNumbers: 'number',
|
|
22278
|
+
startTime: 'string',
|
|
22279
|
+
totalRecords: 'number',
|
|
20775
22280
|
};
|
|
20776
22281
|
}
|
|
20777
22282
|
|
|
@@ -20780,83 +22285,66 @@ export class DescribeHotBigKeysResponseBodyData extends $tea.Model {
|
|
|
20780
22285
|
}
|
|
20781
22286
|
}
|
|
20782
22287
|
|
|
20783
|
-
export class
|
|
22288
|
+
export class DescribeSlowLogStatisticResponseBodyData extends $tea.Model {
|
|
22289
|
+
data?: DescribeSlowLogStatisticResponseBodyDataData;
|
|
20784
22290
|
/**
|
|
20785
|
-
* @remarks
|
|
20786
|
-
* The database in which the key is stored.
|
|
20787
|
-
*
|
|
20788
22291
|
* @example
|
|
20789
|
-
*
|
|
22292
|
+
* 10910
|
|
20790
22293
|
*/
|
|
20791
|
-
|
|
22294
|
+
errorCode?: number;
|
|
20792
22295
|
/**
|
|
20793
|
-
* @remarks
|
|
20794
|
-
* The frequency at which the key is accessed, which indicates the queries per second (QPS) of the key.
|
|
20795
|
-
*
|
|
20796
22296
|
* @example
|
|
20797
|
-
*
|
|
22297
|
+
* true
|
|
20798
22298
|
*/
|
|
20799
|
-
|
|
22299
|
+
isFinish?: boolean;
|
|
20800
22300
|
/**
|
|
20801
|
-
* @remarks
|
|
20802
|
-
* The name of the key.
|
|
20803
|
-
*
|
|
20804
22301
|
* @example
|
|
20805
|
-
*
|
|
22302
|
+
* Successful
|
|
20806
22303
|
*/
|
|
20807
|
-
|
|
22304
|
+
message?: string;
|
|
20808
22305
|
/**
|
|
20809
|
-
* @remarks
|
|
20810
|
-
* The type of the key.
|
|
20811
|
-
*
|
|
20812
22306
|
* @example
|
|
20813
|
-
*
|
|
22307
|
+
* 123456789
|
|
20814
22308
|
*/
|
|
20815
|
-
|
|
22309
|
+
requestKey?: string;
|
|
20816
22310
|
/**
|
|
20817
|
-
* @remarks
|
|
20818
|
-
* The number of elements in the key.
|
|
20819
|
-
*
|
|
20820
22311
|
* @example
|
|
20821
|
-
*
|
|
22312
|
+
* async__665ee69612f1627c7fd9f3c85075****
|
|
20822
22313
|
*/
|
|
20823
|
-
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
|
-
|
|
20832
|
-
|
|
20833
|
-
|
|
20834
|
-
static types(): { [key: string]: any } {
|
|
20835
|
-
return {
|
|
20836
|
-
db: 'number',
|
|
20837
|
-
hot: 'string',
|
|
20838
|
-
key: 'string',
|
|
20839
|
-
keyType: 'string',
|
|
20840
|
-
size: 'number',
|
|
20841
|
-
};
|
|
20842
|
-
}
|
|
20843
|
-
|
|
20844
|
-
constructor(map?: { [key: string]: any }) {
|
|
20845
|
-
super(map);
|
|
20846
|
-
}
|
|
20847
|
-
}
|
|
20848
|
-
|
|
20849
|
-
export class DescribeHotKeysResponseBodyData extends $tea.Model {
|
|
20850
|
-
hotKey?: DescribeHotKeysResponseBodyDataHotKey[];
|
|
22314
|
+
resultId?: string;
|
|
22315
|
+
/**
|
|
22316
|
+
* @example
|
|
22317
|
+
* SUCCESS
|
|
22318
|
+
*/
|
|
22319
|
+
state?: string;
|
|
22320
|
+
/**
|
|
22321
|
+
* @example
|
|
22322
|
+
* 1735104224250
|
|
22323
|
+
*/
|
|
22324
|
+
timestamp?: number;
|
|
20851
22325
|
static names(): { [key: string]: string } {
|
|
20852
22326
|
return {
|
|
20853
|
-
|
|
22327
|
+
data: 'Data',
|
|
22328
|
+
errorCode: 'ErrorCode',
|
|
22329
|
+
isFinish: 'IsFinish',
|
|
22330
|
+
message: 'Message',
|
|
22331
|
+
requestKey: 'RequestKey',
|
|
22332
|
+
resultId: 'ResultId',
|
|
22333
|
+
state: 'State',
|
|
22334
|
+
timestamp: 'Timestamp',
|
|
20854
22335
|
};
|
|
20855
22336
|
}
|
|
20856
22337
|
|
|
20857
22338
|
static types(): { [key: string]: any } {
|
|
20858
22339
|
return {
|
|
20859
|
-
|
|
22340
|
+
data: DescribeSlowLogStatisticResponseBodyDataData,
|
|
22341
|
+
errorCode: 'number',
|
|
22342
|
+
isFinish: 'boolean',
|
|
22343
|
+
message: 'string',
|
|
22344
|
+
requestKey: 'string',
|
|
22345
|
+
resultId: 'string',
|
|
22346
|
+
state: 'string',
|
|
22347
|
+
timestamp: 'number',
|
|
20860
22348
|
};
|
|
20861
22349
|
}
|
|
20862
22350
|
|
|
@@ -36222,6 +37710,146 @@ export default class Client extends OpenApi {
|
|
|
36222
37710
|
return await this.describeInstanceDasProWithOptions(request, runtime);
|
|
36223
37711
|
}
|
|
36224
37712
|
|
|
37713
|
+
/**
|
|
37714
|
+
* DescribeSlowLogHistogramAsync
|
|
37715
|
+
*
|
|
37716
|
+
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
37717
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37718
|
+
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
37719
|
+
*/
|
|
37720
|
+
async describeSlowLogHistogramAsyncWithOptions(request: DescribeSlowLogHistogramAsyncRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogHistogramAsyncResponse> {
|
|
37721
|
+
Util.validateModel(request);
|
|
37722
|
+
let body : {[key: string ]: any} = { };
|
|
37723
|
+
if (!Util.isUnset(request.endTime)) {
|
|
37724
|
+
body["EndTime"] = request.endTime;
|
|
37725
|
+
}
|
|
37726
|
+
|
|
37727
|
+
if (!Util.isUnset(request.filters)) {
|
|
37728
|
+
body["Filters"] = request.filters;
|
|
37729
|
+
}
|
|
37730
|
+
|
|
37731
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
37732
|
+
body["InstanceId"] = request.instanceId;
|
|
37733
|
+
}
|
|
37734
|
+
|
|
37735
|
+
if (!Util.isUnset(request.nodeId)) {
|
|
37736
|
+
body["NodeId"] = request.nodeId;
|
|
37737
|
+
}
|
|
37738
|
+
|
|
37739
|
+
if (!Util.isUnset(request.startTime)) {
|
|
37740
|
+
body["StartTime"] = request.startTime;
|
|
37741
|
+
}
|
|
37742
|
+
|
|
37743
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37744
|
+
body: OpenApiUtil.parseToMap(body),
|
|
37745
|
+
});
|
|
37746
|
+
let params = new $OpenApi.Params({
|
|
37747
|
+
action: "DescribeSlowLogHistogramAsync",
|
|
37748
|
+
version: "2020-01-16",
|
|
37749
|
+
protocol: "HTTPS",
|
|
37750
|
+
pathname: "/",
|
|
37751
|
+
method: "POST",
|
|
37752
|
+
authType: "AK",
|
|
37753
|
+
style: "RPC",
|
|
37754
|
+
reqBodyType: "formData",
|
|
37755
|
+
bodyType: "json",
|
|
37756
|
+
});
|
|
37757
|
+
return $tea.cast<DescribeSlowLogHistogramAsyncResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogHistogramAsyncResponse({}));
|
|
37758
|
+
}
|
|
37759
|
+
|
|
37760
|
+
/**
|
|
37761
|
+
* DescribeSlowLogHistogramAsync
|
|
37762
|
+
*
|
|
37763
|
+
* @param request - DescribeSlowLogHistogramAsyncRequest
|
|
37764
|
+
* @returns DescribeSlowLogHistogramAsyncResponse
|
|
37765
|
+
*/
|
|
37766
|
+
async describeSlowLogHistogramAsync(request: DescribeSlowLogHistogramAsyncRequest): Promise<DescribeSlowLogHistogramAsyncResponse> {
|
|
37767
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37768
|
+
return await this.describeSlowLogHistogramAsyncWithOptions(request, runtime);
|
|
37769
|
+
}
|
|
37770
|
+
|
|
37771
|
+
/**
|
|
37772
|
+
* 慢日志统计信息
|
|
37773
|
+
*
|
|
37774
|
+
* @param request - DescribeSlowLogStatisticRequest
|
|
37775
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37776
|
+
* @returns DescribeSlowLogStatisticResponse
|
|
37777
|
+
*/
|
|
37778
|
+
async describeSlowLogStatisticWithOptions(request: DescribeSlowLogStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogStatisticResponse> {
|
|
37779
|
+
Util.validateModel(request);
|
|
37780
|
+
let body : {[key: string ]: any} = { };
|
|
37781
|
+
if (!Util.isUnset(request.asc)) {
|
|
37782
|
+
body["Asc"] = request.asc;
|
|
37783
|
+
}
|
|
37784
|
+
|
|
37785
|
+
if (!Util.isUnset(request.endTime)) {
|
|
37786
|
+
body["EndTime"] = request.endTime;
|
|
37787
|
+
}
|
|
37788
|
+
|
|
37789
|
+
if (!Util.isUnset(request.filters)) {
|
|
37790
|
+
body["Filters"] = request.filters;
|
|
37791
|
+
}
|
|
37792
|
+
|
|
37793
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
37794
|
+
body["InstanceId"] = request.instanceId;
|
|
37795
|
+
}
|
|
37796
|
+
|
|
37797
|
+
if (!Util.isUnset(request.nodeId)) {
|
|
37798
|
+
body["NodeId"] = request.nodeId;
|
|
37799
|
+
}
|
|
37800
|
+
|
|
37801
|
+
if (!Util.isUnset(request.orderBy)) {
|
|
37802
|
+
body["OrderBy"] = request.orderBy;
|
|
37803
|
+
}
|
|
37804
|
+
|
|
37805
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
37806
|
+
body["PageNumber"] = request.pageNumber;
|
|
37807
|
+
}
|
|
37808
|
+
|
|
37809
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
37810
|
+
body["PageSize"] = request.pageSize;
|
|
37811
|
+
}
|
|
37812
|
+
|
|
37813
|
+
if (!Util.isUnset(request.startTime)) {
|
|
37814
|
+
body["StartTime"] = request.startTime;
|
|
37815
|
+
}
|
|
37816
|
+
|
|
37817
|
+
if (!Util.isUnset(request.templateId)) {
|
|
37818
|
+
body["TemplateId"] = request.templateId;
|
|
37819
|
+
}
|
|
37820
|
+
|
|
37821
|
+
if (!Util.isUnset(request.type)) {
|
|
37822
|
+
body["Type"] = request.type;
|
|
37823
|
+
}
|
|
37824
|
+
|
|
37825
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37826
|
+
body: OpenApiUtil.parseToMap(body),
|
|
37827
|
+
});
|
|
37828
|
+
let params = new $OpenApi.Params({
|
|
37829
|
+
action: "DescribeSlowLogStatistic",
|
|
37830
|
+
version: "2020-01-16",
|
|
37831
|
+
protocol: "HTTPS",
|
|
37832
|
+
pathname: "/",
|
|
37833
|
+
method: "POST",
|
|
37834
|
+
authType: "AK",
|
|
37835
|
+
style: "RPC",
|
|
37836
|
+
reqBodyType: "formData",
|
|
37837
|
+
bodyType: "json",
|
|
37838
|
+
});
|
|
37839
|
+
return $tea.cast<DescribeSlowLogStatisticResponse>(await this.callApi(params, req, runtime), new DescribeSlowLogStatisticResponse({}));
|
|
37840
|
+
}
|
|
37841
|
+
|
|
37842
|
+
/**
|
|
37843
|
+
* 慢日志统计信息
|
|
37844
|
+
*
|
|
37845
|
+
* @param request - DescribeSlowLogStatisticRequest
|
|
37846
|
+
* @returns DescribeSlowLogStatisticResponse
|
|
37847
|
+
*/
|
|
37848
|
+
async describeSlowLogStatistic(request: DescribeSlowLogStatisticRequest): Promise<DescribeSlowLogStatisticResponse> {
|
|
37849
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37850
|
+
return await this.describeSlowLogStatisticWithOptions(request, runtime);
|
|
37851
|
+
}
|
|
37852
|
+
|
|
36225
37853
|
/**
|
|
36226
37854
|
* Queries the configurations of Database Autonomy Service (DAS) Enterprise Edition that is enabled for a database instance.
|
|
36227
37855
|
*
|