@alicloud/rdsai20250507 2.3.0 → 2.3.1
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 +28 -28
- package/dist/client.js +37 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateInspectionTaskRequest.d.ts +27 -0
- package/dist/models/CreateInspectionTaskRequest.js +2 -0
- package/dist/models/CreateInspectionTaskRequest.js.map +1 -1
- package/dist/models/CreateInspectionTaskResponseBody.d.ts +17 -0
- package/dist/models/CreateInspectionTaskResponseBody.js.map +1 -1
- package/dist/models/CreateScheduledTaskRequest.d.ts +28 -0
- package/dist/models/CreateScheduledTaskRequest.js +2 -0
- package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
- package/dist/models/CreateScheduledTaskResponseBody.d.ts +13 -0
- package/dist/models/CreateScheduledTaskResponseBody.js.map +1 -1
- package/dist/models/CreateSkillRequest.d.ts +10 -0
- package/dist/models/CreateSkillRequest.js.map +1 -1
- package/dist/models/CreateSkillResponseBody.d.ts +27 -0
- package/dist/models/CreateSkillResponseBody.js.map +1 -1
- package/dist/models/CreateSkillShrinkRequest.d.ts +10 -0
- package/dist/models/CreateSkillShrinkRequest.js.map +1 -1
- package/dist/models/DeleteScheduledTaskRequest.d.ts +2 -0
- package/dist/models/DeleteScheduledTaskRequest.js.map +1 -1
- package/dist/models/DeleteScheduledTaskResponseBody.d.ts +13 -0
- package/dist/models/DeleteScheduledTaskResponseBody.js.map +1 -1
- package/dist/models/DeleteSkillRequest.d.ts +2 -0
- package/dist/models/DeleteSkillRequest.js.map +1 -1
- package/dist/models/DeleteSkillResponseBody.d.ts +6 -0
- package/dist/models/DeleteSkillResponseBody.js.map +1 -1
- package/dist/models/GetInspectionReportRequest.d.ts +5 -0
- package/dist/models/GetInspectionReportRequest.js.map +1 -1
- package/dist/models/GetInspectionReportResponseBody.d.ts +87 -0
- package/dist/models/GetInspectionReportResponseBody.js.map +1 -1
- package/dist/models/GetScheduledInstancesRequest.d.ts +8 -0
- package/dist/models/GetScheduledInstancesRequest.js.map +1 -1
- package/dist/models/GetScheduledInstancesResponseBody.d.ts +39 -0
- package/dist/models/GetScheduledInstancesResponseBody.js.map +1 -1
- package/dist/models/GetScheduledReportsRequest.d.ts +14 -0
- package/dist/models/GetScheduledReportsRequest.js.map +1 -1
- package/dist/models/GetScheduledReportsResponseBody.d.ts +39 -0
- package/dist/models/GetScheduledReportsResponseBody.js +2 -0
- package/dist/models/GetScheduledReportsResponseBody.js.map +1 -1
- package/dist/models/GetSkillRequest.d.ts +10 -0
- package/dist/models/GetSkillRequest.js.map +1 -1
- package/dist/models/GetSkillResponseBody.d.ts +30 -0
- package/dist/models/GetSkillResponseBody.js.map +1 -1
- package/dist/models/GetStandAloneReportsRequest.d.ts +12 -0
- package/dist/models/GetStandAloneReportsRequest.js.map +1 -1
- package/dist/models/GetStandAloneReportsResponseBody.d.ts +39 -0
- package/dist/models/GetStandAloneReportsResponseBody.js +2 -0
- package/dist/models/GetStandAloneReportsResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksRequest.d.ts +9 -0
- package/dist/models/ListScheduledTasksRequest.js.map +1 -1
- package/dist/models/ListScheduledTasksResponseBody.d.ts +62 -0
- package/dist/models/ListScheduledTasksResponseBody.js +2 -0
- package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
- package/dist/models/ListSkillRequest.d.ts +14 -0
- package/dist/models/ListSkillRequest.js.map +1 -1
- package/dist/models/ListSkillResponseBody.d.ts +43 -0
- package/dist/models/ListSkillResponseBody.js.map +1 -1
- package/dist/models/ModifyScheduledTaskRequest.d.ts +34 -0
- package/dist/models/ModifyScheduledTaskRequest.js +2 -0
- package/dist/models/ModifyScheduledTaskRequest.js.map +1 -1
- package/dist/models/ModifyScheduledTaskResponseBody.d.ts +10 -0
- package/dist/models/ModifyScheduledTaskResponseBody.js.map +1 -1
- package/dist/models/UpdateSkillRequest.d.ts +17 -0
- package/dist/models/UpdateSkillRequest.js.map +1 -1
- package/dist/models/UpdateSkillResponseBody.d.ts +27 -0
- package/dist/models/UpdateSkillResponseBody.js.map +1 -1
- package/dist/models/UpdateSkillShrinkRequest.d.ts +17 -0
- package/dist/models/UpdateSkillShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -28
- package/src/models/CreateInspectionTaskRequest.ts +29 -0
- package/src/models/CreateInspectionTaskResponseBody.ts +17 -0
- package/src/models/CreateScheduledTaskRequest.ts +30 -0
- package/src/models/CreateScheduledTaskResponseBody.ts +13 -0
- package/src/models/CreateSkillRequest.ts +10 -0
- package/src/models/CreateSkillResponseBody.ts +27 -0
- package/src/models/CreateSkillShrinkRequest.ts +10 -0
- package/src/models/DeleteScheduledTaskRequest.ts +2 -0
- package/src/models/DeleteScheduledTaskResponseBody.ts +13 -0
- package/src/models/DeleteSkillRequest.ts +2 -0
- package/src/models/DeleteSkillResponseBody.ts +6 -0
- package/src/models/GetInspectionReportRequest.ts +5 -0
- package/src/models/GetInspectionReportResponseBody.ts +87 -0
- package/src/models/GetScheduledInstancesRequest.ts +8 -0
- package/src/models/GetScheduledInstancesResponseBody.ts +39 -0
- package/src/models/GetScheduledReportsRequest.ts +14 -0
- package/src/models/GetScheduledReportsResponseBody.ts +41 -0
- package/src/models/GetSkillRequest.ts +10 -0
- package/src/models/GetSkillResponseBody.ts +30 -0
- package/src/models/GetStandAloneReportsRequest.ts +12 -0
- package/src/models/GetStandAloneReportsResponseBody.ts +41 -0
- package/src/models/ListScheduledTasksRequest.ts +9 -0
- package/src/models/ListScheduledTasksResponseBody.ts +64 -0
- package/src/models/ListSkillRequest.ts +14 -0
- package/src/models/ListSkillResponseBody.ts +43 -0
- package/src/models/ModifyScheduledTaskRequest.ts +36 -0
- package/src/models/ModifyScheduledTaskResponseBody.ts +10 -0
- package/src/models/UpdateSkillRequest.ts +17 -0
- package/src/models/UpdateSkillResponseBody.ts +27 -0
- package/src/models/UpdateSkillShrinkRequest.ts +17 -0
|
@@ -4,24 +4,51 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateInspectionTaskRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The end time of the inspection task. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. By default, the time range of the task is the latest 24 hours.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2026-01-30T02:10:48Z
|
|
9
12
|
*/
|
|
10
13
|
endTime?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The inspection items. Separates multiple items with commas (,). If this parameter is empty or not specified, all inspection items are executed.
|
|
17
|
+
*
|
|
18
|
+
* ### [](#)Valid values:
|
|
19
|
+
*
|
|
20
|
+
* * instance_info
|
|
21
|
+
* * resource_usage
|
|
22
|
+
* * connection_session_management
|
|
23
|
+
* * performance_metrics
|
|
24
|
+
* * slow_query_analysis
|
|
25
|
+
* * error_log_analysis
|
|
26
|
+
* * lock_wait_deadlock_analysis
|
|
27
|
+
* * backup_recovery_analysis
|
|
28
|
+
* * high_availability_disaster_recovery_analysis
|
|
29
|
+
* * security_configuration_analysis
|
|
30
|
+
* * storage_engine_analysis
|
|
31
|
+
* * schema_object_analysis
|
|
32
|
+
*
|
|
12
33
|
* @example
|
|
13
34
|
* instance_info, resource_usage
|
|
14
35
|
*/
|
|
15
36
|
inspectionItems?: string;
|
|
16
37
|
/**
|
|
17
38
|
* @remarks
|
|
39
|
+
* The instances covered by the task. Separates multiple instance IDs with commas (,).
|
|
40
|
+
*
|
|
18
41
|
* This parameter is required.
|
|
19
42
|
*
|
|
20
43
|
* @example
|
|
21
44
|
* rm-2ze6mk259v322****,rm-2zef3b65430j0****
|
|
22
45
|
*/
|
|
23
46
|
instanceIds?: string;
|
|
47
|
+
reportLanguage?: string;
|
|
24
48
|
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The start time of the inspection task. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. By default, the time range of the task is the latest 24 hours.
|
|
51
|
+
*
|
|
25
52
|
* @example
|
|
26
53
|
* 2025-12-28T16:00:00Z
|
|
27
54
|
*/
|
|
@@ -31,6 +58,7 @@ export class CreateInspectionTaskRequest extends $dara.Model {
|
|
|
31
58
|
endTime: 'EndTime',
|
|
32
59
|
inspectionItems: 'InspectionItems',
|
|
33
60
|
instanceIds: 'InstanceIds',
|
|
61
|
+
reportLanguage: 'ReportLanguage',
|
|
34
62
|
startTime: 'StartTime',
|
|
35
63
|
};
|
|
36
64
|
}
|
|
@@ -40,6 +68,7 @@ export class CreateInspectionTaskRequest extends $dara.Model {
|
|
|
40
68
|
endTime: 'string',
|
|
41
69
|
inspectionItems: 'string',
|
|
42
70
|
instanceIds: 'string',
|
|
71
|
+
reportLanguage: 'string',
|
|
43
72
|
startTime: 'string',
|
|
44
73
|
};
|
|
45
74
|
}
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateInspectionTaskResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the inspection task.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 9adf8567-b619-4d37-8ff2-01d38a76****
|
|
9
12
|
*/
|
|
@@ -30,14 +33,28 @@ export class CreateInspectionTaskResponseBodyData extends $dara.Model {
|
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
export class CreateInspectionTaskResponseBody extends $dara.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Indicates whether the result is returned.
|
|
39
|
+
*/
|
|
33
40
|
data?: CreateInspectionTaskResponseBodyData;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The returned message.
|
|
44
|
+
*/
|
|
34
45
|
message?: string;
|
|
35
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The request ID.
|
|
49
|
+
*
|
|
36
50
|
* @example
|
|
37
51
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
38
52
|
*/
|
|
39
53
|
requestId?: string;
|
|
40
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Indicates whether the request was successful.
|
|
57
|
+
*
|
|
41
58
|
* @example
|
|
42
59
|
* true
|
|
43
60
|
*/
|
|
@@ -3,14 +3,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateScheduledTaskRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The description of the scheduled inspection task.
|
|
9
|
+
*/
|
|
6
10
|
description?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The new inspection frequency. Separate multiple values with commas (,). Default value: DAILY. Valid values:
|
|
14
|
+
*
|
|
15
|
+
* * DAILY
|
|
16
|
+
* * Monday
|
|
17
|
+
* * Tuesday
|
|
18
|
+
* * Wednesday
|
|
19
|
+
* * Thursday
|
|
20
|
+
* * Friday
|
|
21
|
+
* * Saturday \\*Sunday
|
|
22
|
+
*
|
|
23
|
+
* ### [](#daily--dailymonday--daily-)Note: DAILY takes precedence over other values. For example, if you enter DAILY,Monday, the backend uses DAILY as the inspection frequency.
|
|
24
|
+
*
|
|
8
25
|
* @example
|
|
9
26
|
* Monday
|
|
10
27
|
*/
|
|
11
28
|
frequency?: string;
|
|
12
29
|
/**
|
|
13
30
|
* @remarks
|
|
31
|
+
* The IDs of the related instances. Separate multiple IDs with commas (,).
|
|
32
|
+
*
|
|
14
33
|
* This parameter is required.
|
|
15
34
|
*
|
|
16
35
|
* @example
|
|
@@ -19,15 +38,24 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
19
38
|
instanceIds?: string;
|
|
20
39
|
/**
|
|
21
40
|
* @remarks
|
|
41
|
+
* The name of the scheduled inspection task. The name cannot exceed 64 characters in length.
|
|
42
|
+
*
|
|
22
43
|
* This parameter is required.
|
|
23
44
|
*/
|
|
24
45
|
name?: string;
|
|
46
|
+
reportLanguage?: string;
|
|
25
47
|
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The time when the inspection task is executed. Specify the time in the ISO 8601 standard in the HH:mm:ssZ format. The time must be in UTC. Default value: 02:00 AM.
|
|
50
|
+
*
|
|
26
51
|
* @example
|
|
27
52
|
* 02:00:00Z
|
|
28
53
|
*/
|
|
29
54
|
startTime?: string;
|
|
30
55
|
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The inspection time range. The default value is the latest 24 hours. Valid values: 1 to 168. The maximum value is 7 days.
|
|
58
|
+
*
|
|
31
59
|
* @example
|
|
32
60
|
* 24
|
|
33
61
|
*/
|
|
@@ -38,6 +66,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
38
66
|
frequency: 'Frequency',
|
|
39
67
|
instanceIds: 'InstanceIds',
|
|
40
68
|
name: 'Name',
|
|
69
|
+
reportLanguage: 'ReportLanguage',
|
|
41
70
|
startTime: 'StartTime',
|
|
42
71
|
timeRange: 'TimeRange',
|
|
43
72
|
};
|
|
@@ -49,6 +78,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
49
78
|
frequency: 'string',
|
|
50
79
|
instanceIds: 'string',
|
|
51
80
|
name: 'string',
|
|
81
|
+
reportLanguage: 'string',
|
|
52
82
|
startTime: 'string',
|
|
53
83
|
timeRange: 'string',
|
|
54
84
|
};
|
|
@@ -3,18 +3,31 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateScheduledTaskResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The returned message.
|
|
9
|
+
*/
|
|
6
10
|
message?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The request ID.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* D984FD38-6C2D-55DF-B0D7-8BCAC2E1F8C2
|
|
10
17
|
*/
|
|
11
18
|
requestId?: string;
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The ID of the scheduled inspection configuration.
|
|
22
|
+
*
|
|
13
23
|
* @example
|
|
14
24
|
* 847268a4-196f-416b-aa12-bfe0c115****
|
|
15
25
|
*/
|
|
16
26
|
scheduledId?: string;
|
|
17
27
|
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The returned results.
|
|
30
|
+
*
|
|
18
31
|
* @example
|
|
19
32
|
* true
|
|
20
33
|
*/
|
|
@@ -3,19 +3,29 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateSkillRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the skill.
|
|
9
|
+
*/
|
|
6
10
|
content?: { [key: string]: any };
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
13
|
+
* The list of database engines.
|
|
14
|
+
*
|
|
9
15
|
* This parameter is required.
|
|
10
16
|
*/
|
|
11
17
|
dbtypes?: string[];
|
|
12
18
|
/**
|
|
13
19
|
* @remarks
|
|
20
|
+
* The description of the skill. It can be up to 1000 characters in length.
|
|
21
|
+
*
|
|
14
22
|
* This parameter is required.
|
|
15
23
|
*/
|
|
16
24
|
description?: string;
|
|
17
25
|
/**
|
|
18
26
|
* @remarks
|
|
27
|
+
* The name of the skill, which can contain only lowercase letters, numbers, and hyphens.
|
|
28
|
+
*
|
|
19
29
|
* This parameter is required.
|
|
20
30
|
*
|
|
21
31
|
* @example
|
|
@@ -3,30 +3,57 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateSkillResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The database engine-specific content.
|
|
9
|
+
*/
|
|
6
10
|
content?: { [key: string]: any };
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The creation time of the skill.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* 2026-02-04T21:14:45Z
|
|
10
17
|
*/
|
|
11
18
|
createdAt?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The list of database engines.
|
|
22
|
+
*/
|
|
12
23
|
dbtypes?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The description of the skill.
|
|
27
|
+
*/
|
|
13
28
|
description?: string;
|
|
14
29
|
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The unique identifier of the skill.
|
|
32
|
+
*
|
|
15
33
|
* @example
|
|
16
34
|
* 82cf3d62-0add-47bd-869f-877131f7****
|
|
17
35
|
*/
|
|
18
36
|
id?: string;
|
|
19
37
|
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The name of the skill.
|
|
40
|
+
*
|
|
20
41
|
* @example
|
|
21
42
|
* query-optimization
|
|
22
43
|
*/
|
|
23
44
|
name?: string;
|
|
24
45
|
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The request ID.
|
|
48
|
+
*
|
|
25
49
|
* @example
|
|
26
50
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
27
51
|
*/
|
|
28
52
|
requestId?: string;
|
|
29
53
|
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The type of the skill.
|
|
56
|
+
*
|
|
30
57
|
* @example
|
|
31
58
|
* user
|
|
32
59
|
*/
|
|
@@ -3,19 +3,29 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateSkillShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The content of the skill.
|
|
9
|
+
*/
|
|
6
10
|
contentShrink?: string;
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
13
|
+
* The list of database engines.
|
|
14
|
+
*
|
|
9
15
|
* This parameter is required.
|
|
10
16
|
*/
|
|
11
17
|
dbtypesShrink?: string;
|
|
12
18
|
/**
|
|
13
19
|
* @remarks
|
|
20
|
+
* The description of the skill. It can be up to 1000 characters in length.
|
|
21
|
+
*
|
|
14
22
|
* This parameter is required.
|
|
15
23
|
*/
|
|
16
24
|
description?: string;
|
|
17
25
|
/**
|
|
18
26
|
* @remarks
|
|
27
|
+
* The name of the skill, which can contain only lowercase letters, numbers, and hyphens.
|
|
28
|
+
*
|
|
19
29
|
* This parameter is required.
|
|
20
30
|
*
|
|
21
31
|
* @example
|
|
@@ -3,13 +3,26 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DeleteScheduledTaskResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The response message.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* The scheduled task is deleted.
|
|
12
|
+
*/
|
|
6
13
|
message?: string;
|
|
7
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The request ID.
|
|
17
|
+
*
|
|
8
18
|
* @example
|
|
9
19
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
10
20
|
*/
|
|
11
21
|
requestId?: string;
|
|
12
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Indicates whether the request was successful.
|
|
25
|
+
*
|
|
13
26
|
* @example
|
|
14
27
|
* true
|
|
15
28
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteSkillResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
9
12
|
*/
|
|
10
13
|
requestId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The returned results.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* success
|
|
14
20
|
*/
|
|
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetInspectionReportRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The inspected instance. If you do not specify this parameter, the complete report is returned. If you specify this parameter, only the content related to the instance is returned.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* rm-2zep6e5u6l2yu****
|
|
9
12
|
*/
|
|
10
13
|
instanceId?: string;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
16
|
+
* The ID of the inspection report.
|
|
17
|
+
*
|
|
13
18
|
* This parameter is required.
|
|
14
19
|
*
|
|
15
20
|
* @example
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetInspectionReportResponseBodyDataDataItemsData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* DBInstanceStatus
|
|
9
12
|
*/
|
|
10
13
|
key?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* Running
|
|
14
20
|
*/
|
|
@@ -37,14 +43,28 @@ export class GetInspectionReportResponseBodyDataDataItemsData extends $dara.Mode
|
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
export class GetInspectionReportResponseBodyDataDataItems extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The returned results.
|
|
49
|
+
*/
|
|
40
50
|
data?: GetInspectionReportResponseBodyDataDataItemsData[];
|
|
41
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The level of the alert.
|
|
54
|
+
*
|
|
42
55
|
* @example
|
|
43
56
|
* Normal
|
|
44
57
|
*/
|
|
45
58
|
level?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The response message.
|
|
62
|
+
*/
|
|
46
63
|
message?: string;
|
|
47
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The name of the category.
|
|
67
|
+
*
|
|
48
68
|
* @example
|
|
49
69
|
* instance_runningstatus
|
|
50
70
|
*/
|
|
@@ -81,10 +101,17 @@ export class GetInspectionReportResponseBodyDataDataItems extends $dara.Model {
|
|
|
81
101
|
|
|
82
102
|
export class GetInspectionReportResponseBodyDataData extends $dara.Model {
|
|
83
103
|
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The group ID.
|
|
106
|
+
*
|
|
84
107
|
* @example
|
|
85
108
|
* instance_info
|
|
86
109
|
*/
|
|
87
110
|
group?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The items in the result.
|
|
114
|
+
*/
|
|
88
115
|
items?: GetInspectionReportResponseBodyDataDataItems[];
|
|
89
116
|
static names(): { [key: string]: string } {
|
|
90
117
|
return {
|
|
@@ -114,21 +141,33 @@ export class GetInspectionReportResponseBodyDataData extends $dara.Model {
|
|
|
114
141
|
|
|
115
142
|
export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model {
|
|
116
143
|
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The number of errors in the report.
|
|
146
|
+
*
|
|
117
147
|
* @example
|
|
118
148
|
* 2
|
|
119
149
|
*/
|
|
120
150
|
error?: number;
|
|
121
151
|
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The number of failures in the report.
|
|
154
|
+
*
|
|
122
155
|
* @example
|
|
123
156
|
* 3
|
|
124
157
|
*/
|
|
125
158
|
failed?: number;
|
|
126
159
|
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The number of normal records in the report.
|
|
162
|
+
*
|
|
127
163
|
* @example
|
|
128
164
|
* 10
|
|
129
165
|
*/
|
|
130
166
|
normal?: number;
|
|
131
167
|
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The number of warnings in the report.
|
|
170
|
+
*
|
|
132
171
|
* @example
|
|
133
172
|
* 1
|
|
134
173
|
*/
|
|
@@ -161,31 +200,65 @@ export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model
|
|
|
161
200
|
}
|
|
162
201
|
|
|
163
202
|
export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
203
|
+
/**
|
|
204
|
+
* @remarks
|
|
205
|
+
* The returned results.
|
|
206
|
+
*/
|
|
164
207
|
data?: GetInspectionReportResponseBodyDataData[];
|
|
165
208
|
/**
|
|
209
|
+
* @remarks
|
|
210
|
+
* The end time of the inspection. Specify the time in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
211
|
+
*
|
|
166
212
|
* @example
|
|
167
213
|
* 2026-01-31T02:05:04Z
|
|
168
214
|
*/
|
|
169
215
|
endTime?: string;
|
|
170
216
|
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The engine type.
|
|
219
|
+
*
|
|
171
220
|
* @example
|
|
172
221
|
* MySQL
|
|
173
222
|
*/
|
|
174
223
|
engineType?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The description of the instance.
|
|
227
|
+
*/
|
|
175
228
|
instanceDesc?: string;
|
|
176
229
|
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* The instance ID.
|
|
232
|
+
*
|
|
177
233
|
* @example
|
|
178
234
|
* rm-2zep6e5u6l2yu****
|
|
179
235
|
*/
|
|
180
236
|
instanceId?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* The hierarchical summary of the report.
|
|
240
|
+
*/
|
|
181
241
|
levelSummary?: GetInspectionReportResponseBodyDataLevelSummary;
|
|
242
|
+
/**
|
|
243
|
+
* @remarks
|
|
244
|
+
* The report text in the markdown format.
|
|
245
|
+
*
|
|
246
|
+
* * If the InstanceId parameter is not specified, all content of the inspection report is returned. However, the MarkdownText field is empty.
|
|
247
|
+
* * If the InstanceId parameter is specified, the content related to the instance is returned in the MarkdownText field.
|
|
248
|
+
*/
|
|
182
249
|
markdownText?: string;
|
|
183
250
|
/**
|
|
251
|
+
* @remarks
|
|
252
|
+
* The region where the instance resides.
|
|
253
|
+
*
|
|
184
254
|
* @example
|
|
185
255
|
* cn-beijing
|
|
186
256
|
*/
|
|
187
257
|
region?: string;
|
|
188
258
|
/**
|
|
259
|
+
* @remarks
|
|
260
|
+
* The start time of the inspection task. Specify the time in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
261
|
+
*
|
|
189
262
|
* @example
|
|
190
263
|
* 2025-11-06T16:00:00Z
|
|
191
264
|
*/
|
|
@@ -234,14 +307,28 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
234
307
|
}
|
|
235
308
|
|
|
236
309
|
export class GetInspectionReportResponseBody extends $dara.Model {
|
|
310
|
+
/**
|
|
311
|
+
* @remarks
|
|
312
|
+
* The details of the result.
|
|
313
|
+
*/
|
|
237
314
|
data?: GetInspectionReportResponseBodyData[];
|
|
315
|
+
/**
|
|
316
|
+
* @remarks
|
|
317
|
+
* The report text in the markdown format.
|
|
318
|
+
*/
|
|
238
319
|
markdownText?: string;
|
|
239
320
|
/**
|
|
321
|
+
* @remarks
|
|
322
|
+
* The request ID.
|
|
323
|
+
*
|
|
240
324
|
* @example
|
|
241
325
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
242
326
|
*/
|
|
243
327
|
requestId?: string;
|
|
244
328
|
/**
|
|
329
|
+
* @remarks
|
|
330
|
+
* The inspection report ID.
|
|
331
|
+
*
|
|
245
332
|
* @example
|
|
246
333
|
* 9d246af2-a0cd-4f69-857d-3785048f****
|
|
247
334
|
*/
|
|
@@ -4,17 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetScheduledInstancesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The page number. Pages start from 1. Default value: 1.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1
|
|
9
12
|
*/
|
|
10
13
|
pageNumber?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The number of records on each page. Default value: 20. Maximum value: 100.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 20
|
|
14
20
|
*/
|
|
15
21
|
pageSize?: number;
|
|
16
22
|
/**
|
|
17
23
|
* @remarks
|
|
24
|
+
* The ID of the scheduled inspection configuration.
|
|
25
|
+
*
|
|
18
26
|
* This parameter is required.
|
|
19
27
|
*
|
|
20
28
|
* @example
|