@alicloud/rdsai20250507 3.6.1 → 3.6.2
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 +52 -52
- package/dist/client.js +61 -52
- package/dist/client.js.map +1 -1
- package/dist/models/ChatMessagesRequest.d.ts +2 -2
- package/dist/models/ChatMessagesResponseBody.d.ts +2 -2
- package/dist/models/ChatMessagesShrinkRequest.d.ts +2 -2
- package/dist/models/CreateInspectionTaskRequest.d.ts +18 -42
- package/dist/models/CreateInspectionTaskRequest.js +2 -0
- package/dist/models/CreateInspectionTaskRequest.js.map +1 -1
- package/dist/models/CreateInspectionTaskResponseBody.d.ts +4 -4
- package/dist/models/CreateSandboxTemplateRequest.d.ts +19 -0
- package/dist/models/CreateSandboxTemplateRequest.js.map +1 -1
- package/dist/models/CreateSandboxTemplateResponseBody.d.ts +6 -0
- package/dist/models/CreateSandboxTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateScheduledTaskRequest.d.ts +18 -38
- package/dist/models/CreateScheduledTaskRequest.js +2 -0
- package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
- package/dist/models/CreateScheduledTaskResponseBody.d.ts +4 -4
- package/dist/models/DeleteSandboxTemplateRequest.d.ts +7 -0
- package/dist/models/DeleteSandboxTemplateRequest.js.map +1 -1
- package/dist/models/DeleteSandboxTemplateResponseBody.d.ts +6 -0
- package/dist/models/DeleteSandboxTemplateResponseBody.js.map +1 -1
- package/dist/models/DescribeCommonSandboxTemplatesRequest.d.ts +8 -0
- package/dist/models/DescribeCommonSandboxTemplatesRequest.js.map +1 -1
- package/dist/models/DescribeCommonSandboxTemplatesResponseBody.d.ts +28 -0
- package/dist/models/DescribeCommonSandboxTemplatesResponseBody.js.map +1 -1
- package/dist/models/GetInspectionReportRequest.d.ts +2 -2
- package/dist/models/GetInspectionReportResponseBody.d.ts +26 -25
- package/dist/models/GetInspectionReportResponseBody.js +4 -0
- package/dist/models/GetInspectionReportResponseBody.js.map +1 -1
- package/dist/models/GetScheduledReportsRequest.d.ts +5 -5
- package/dist/models/GetScheduledReportsResponseBody.d.ts +11 -15
- package/dist/models/GetScheduledReportsResponseBody.js.map +1 -1
- package/dist/models/GetStandAloneReportsRequest.d.ts +4 -4
- package/dist/models/GetStandAloneReportsResponseBody.d.ts +13 -15
- package/dist/models/GetStandAloneReportsResponseBody.js +4 -0
- package/dist/models/GetStandAloneReportsResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksRequest.d.ts +3 -3
- package/dist/models/ListScheduledTasksResponseBody.d.ts +25 -32
- package/dist/models/ListScheduledTasksResponseBody.js +4 -0
- package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
- package/dist/models/ModifyAppInstanceRequest.d.ts +19 -0
- package/dist/models/ModifyAppInstanceRequest.js.map +1 -1
- package/dist/models/ModifyAppInstanceResponseBody.d.ts +16 -0
- package/dist/models/ModifyAppInstanceResponseBody.js.map +1 -1
- package/dist/models/ModifyAppInstanceShrinkRequest.d.ts +13 -0
- package/dist/models/ModifyAppInstanceShrinkRequest.js.map +1 -1
- package/dist/models/ModifySandboxTemplateRequest.d.ts +16 -0
- package/dist/models/ModifySandboxTemplateRequest.js.map +1 -1
- package/dist/models/ModifySandboxTemplateResponseBody.d.ts +6 -0
- package/dist/models/ModifySandboxTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyScheduledTaskRequest.d.ts +16 -24
- package/dist/models/ModifyScheduledTaskRequest.js +2 -0
- package/dist/models/ModifyScheduledTaskRequest.js.map +1 -1
- package/dist/models/ModifyScheduledTaskResponseBody.d.ts +2 -2
- package/dist/models/ResetInstanceKeysRequest.d.ts +4 -0
- package/dist/models/ResetInstanceKeysRequest.js.map +1 -1
- package/dist/models/ResetInstanceKeysResponseBody.d.ts +6 -0
- package/dist/models/ResetInstanceKeysResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +64 -52
- package/src/models/ChatMessagesRequest.ts +2 -2
- package/src/models/ChatMessagesResponseBody.ts +2 -2
- package/src/models/ChatMessagesShrinkRequest.ts +2 -2
- package/src/models/CreateInspectionTaskRequest.ts +20 -42
- package/src/models/CreateInspectionTaskResponseBody.ts +4 -4
- package/src/models/CreateSandboxTemplateRequest.ts +19 -0
- package/src/models/CreateSandboxTemplateResponseBody.ts +6 -0
- package/src/models/CreateScheduledTaskRequest.ts +20 -38
- package/src/models/CreateScheduledTaskResponseBody.ts +4 -4
- package/src/models/DeleteSandboxTemplateRequest.ts +7 -0
- package/src/models/DeleteSandboxTemplateResponseBody.ts +6 -0
- package/src/models/DescribeCommonSandboxTemplatesRequest.ts +8 -0
- package/src/models/DescribeCommonSandboxTemplatesResponseBody.ts +28 -0
- package/src/models/GetInspectionReportRequest.ts +2 -2
- package/src/models/GetInspectionReportResponseBody.ts +30 -25
- package/src/models/GetScheduledReportsRequest.ts +5 -5
- package/src/models/GetScheduledReportsResponseBody.ts +11 -15
- package/src/models/GetStandAloneReportsRequest.ts +4 -4
- package/src/models/GetStandAloneReportsResponseBody.ts +17 -15
- package/src/models/ListScheduledTasksRequest.ts +3 -3
- package/src/models/ListScheduledTasksResponseBody.ts +29 -32
- package/src/models/ModifyAppInstanceRequest.ts +19 -0
- package/src/models/ModifyAppInstanceResponseBody.ts +16 -0
- package/src/models/ModifyAppInstanceShrinkRequest.ts +13 -0
- package/src/models/ModifySandboxTemplateRequest.ts +16 -0
- package/src/models/ModifySandboxTemplateResponseBody.ts +6 -0
- package/src/models/ModifyScheduledTaskRequest.ts +18 -24
- package/src/models/ModifyScheduledTaskResponseBody.ts +2 -2
- package/src/models/ResetInstanceKeysRequest.ts +4 -0
- package/src/models/ResetInstanceKeysResponseBody.ts +6 -0
|
@@ -8,30 +8,21 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
8
8
|
* The description of the scheduled inspection task.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Scheduled RDS instance inspection task
|
|
12
12
|
*/
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The inspection frequency.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* - Thursday: Thursday
|
|
27
|
-
*
|
|
28
|
-
* - Friday: Friday
|
|
29
|
-
*
|
|
30
|
-
* - Saturday: Saturday
|
|
31
|
-
*
|
|
32
|
-
* - Sunday: Sunday
|
|
33
|
-
*
|
|
34
|
-
* ### Note: DAILY overrides weekly values. For example, if you enter DAILY,Monday, the system uses DAILY as the inspection frequency.
|
|
16
|
+
* The inspection frequency. Separate multiple values with commas (,). Default value: DAILY. Valid values:
|
|
17
|
+
* * DAILY: every day.
|
|
18
|
+
* * Monday: Monday.
|
|
19
|
+
* * Tuesday: Tuesday.
|
|
20
|
+
* * Wednesday: Wednesday.
|
|
21
|
+
* * Thursday: Thursday.
|
|
22
|
+
* * Friday: Friday.
|
|
23
|
+
* * Saturday: Saturday.
|
|
24
|
+
* * Sunday: Sunday.
|
|
25
|
+
* ### Note: DAILY overrides weekly values. For example, if you specify DAILY,Monday, the system uses DAILY as the inspection frequency.
|
|
35
26
|
*
|
|
36
27
|
* @example
|
|
37
28
|
* Monday
|
|
@@ -40,7 +31,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
40
31
|
inspectionItems?: string;
|
|
41
32
|
/**
|
|
42
33
|
* @remarks
|
|
43
|
-
* The
|
|
34
|
+
* The list of associated instance IDs. Separate multiple IDs with commas (,).
|
|
44
35
|
*
|
|
45
36
|
* @example
|
|
46
37
|
* rm-2ze6mk259v322****,rm-2zef3b65430j0****
|
|
@@ -48,48 +39,37 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
48
39
|
instanceIds?: string;
|
|
49
40
|
/**
|
|
50
41
|
* @remarks
|
|
51
|
-
* The name of the scheduled inspection task. The
|
|
42
|
+
* The name of the scheduled inspection task. The name can be up to 64 characters in length.
|
|
52
43
|
*
|
|
53
44
|
* This parameter is required.
|
|
54
45
|
*
|
|
55
46
|
* @example
|
|
56
|
-
* RDS
|
|
47
|
+
* RDS Inspection
|
|
57
48
|
*/
|
|
58
49
|
name?: string;
|
|
59
|
-
/**
|
|
60
|
-
* @remarks
|
|
61
|
-
* The ID of the region.
|
|
62
|
-
*/
|
|
63
50
|
regionId?: string;
|
|
64
51
|
/**
|
|
65
52
|
* @remarks
|
|
66
|
-
* The report language.
|
|
53
|
+
* The report language. Default value: zh-CN. Valid values: zh-CN, zh-TW, ja-JP, and en-US.
|
|
67
54
|
*
|
|
68
55
|
* @example
|
|
69
56
|
* zh-CN
|
|
70
57
|
*/
|
|
71
58
|
reportLanguage?: string;
|
|
72
|
-
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The ID of the region where the report is stored.
|
|
75
|
-
*/
|
|
76
59
|
reportRegionId?: string;
|
|
77
|
-
/**
|
|
78
|
-
* @remarks
|
|
79
|
-
* The type of the report.
|
|
80
|
-
*/
|
|
81
60
|
reportType?: string;
|
|
82
61
|
/**
|
|
83
62
|
* @remarks
|
|
84
|
-
* The
|
|
63
|
+
* The time to run the inspection task. Format: HH:mm:ssZ (UTC). Default value: 02:00:00Z.
|
|
85
64
|
*
|
|
86
65
|
* @example
|
|
87
66
|
* 02:00:00Z
|
|
88
67
|
*/
|
|
89
68
|
startTime?: string;
|
|
69
|
+
templateId?: string;
|
|
90
70
|
/**
|
|
91
71
|
* @remarks
|
|
92
|
-
* The time range
|
|
72
|
+
* The time range for the inspection. Default value: the last 24 hours. Valid values: 1 to 168 (up to 7 days).
|
|
93
73
|
*
|
|
94
74
|
* @example
|
|
95
75
|
* 24
|
|
@@ -107,6 +87,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
107
87
|
reportRegionId: 'ReportRegionId',
|
|
108
88
|
reportType: 'ReportType',
|
|
109
89
|
startTime: 'StartTime',
|
|
90
|
+
templateId: 'TemplateId',
|
|
110
91
|
timeRange: 'TimeRange',
|
|
111
92
|
};
|
|
112
93
|
}
|
|
@@ -123,6 +104,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
123
104
|
reportRegionId: 'string',
|
|
124
105
|
reportType: 'string',
|
|
125
106
|
startTime: 'string',
|
|
107
|
+
templateId: 'string',
|
|
126
108
|
timeRange: 'string',
|
|
127
109
|
};
|
|
128
110
|
}
|
|
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateScheduledTaskResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The returned message.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Scheduled inspection task created successfully
|
|
12
12
|
*/
|
|
13
13
|
message?: string;
|
|
14
14
|
/**
|
|
@@ -21,7 +21,7 @@ export class CreateScheduledTaskResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID of the scheduled inspection
|
|
24
|
+
* The ID of the scheduled inspection configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 847268a4-196f-416b-aa12-bfe0c115****
|
|
@@ -29,7 +29,7 @@ export class CreateScheduledTaskResponseBody extends $dara.Model {
|
|
|
29
29
|
scheduledId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* The request result.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* true
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteSandboxTemplateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The instance ID of the AI application.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -12,12 +14,17 @@ export class DeleteSandboxTemplateRequest extends $dara.Model {
|
|
|
12
14
|
*/
|
|
13
15
|
instanceName?: string;
|
|
14
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The region ID.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* cn-beijing
|
|
17
22
|
*/
|
|
18
23
|
regionId?: string;
|
|
19
24
|
/**
|
|
20
25
|
* @remarks
|
|
26
|
+
* The sandbox template ID.
|
|
27
|
+
*
|
|
21
28
|
* This parameter is required.
|
|
22
29
|
*
|
|
23
30
|
* @example
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteSandboxTemplateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The instance ID of the AI application.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* ra-supabase-8moov5lxba****
|
|
9
12
|
*/
|
|
10
13
|
instanceName?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Id of the request
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
14
20
|
*/
|
|
@@ -4,17 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeCommonSandboxTemplatesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* A reserved parameter. You do not need to specify this parameter.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* None
|
|
9
12
|
*/
|
|
10
13
|
maxResults?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The token that indicates the position from which the query starts. Set this parameter to empty to start from the beginning.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* AAAAAc3HCuYhJi/wvpk4xOr0VLYz/NvD85HpgBeRBCusEIeVQ0dHZH9jr+NP3X9Jx0iSoql55b9nd4PIDm252/a0f+U=
|
|
14
20
|
*/
|
|
15
21
|
nextToken?: string;
|
|
16
22
|
/**
|
|
17
23
|
* @remarks
|
|
24
|
+
* The region ID.
|
|
25
|
+
*
|
|
18
26
|
* This parameter is required.
|
|
19
27
|
*
|
|
20
28
|
* @example
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeCommonSandboxTemplatesResponseBodyTemplates extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The default number of CPUs for sandboxes created by using this template.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1
|
|
9
12
|
*/
|
|
10
13
|
defaultCpu?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The default memory size for sandboxes created by using this template. The unit ends with Gi.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 1Gi
|
|
14
20
|
*/
|
|
15
21
|
defaultMemory?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The default number of prewarmed sandboxes.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 1
|
|
19
28
|
*/
|
|
20
29
|
defaultReplicas?: number;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The description of the sandbox template.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* Execute user-provided Python code in the sandbox environment. Runs any Python script the user provides and returns the output.
|
|
24
36
|
*/
|
|
25
37
|
description?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The name of the sandbox template.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* desktop
|
|
29
44
|
*/
|
|
@@ -59,20 +74,33 @@ export class DescribeCommonSandboxTemplatesResponseBodyTemplates extends $dara.M
|
|
|
59
74
|
|
|
60
75
|
export class DescribeCommonSandboxTemplatesResponseBody extends $dara.Model {
|
|
61
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* A reserved parameter. You do not need to specify this parameter.
|
|
79
|
+
*
|
|
62
80
|
* @example
|
|
63
81
|
* None
|
|
64
82
|
*/
|
|
65
83
|
maxResults?: number;
|
|
66
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The token that indicates the position from which the query starts. Set this parameter to empty to start from the beginning.
|
|
87
|
+
*
|
|
67
88
|
* @example
|
|
68
89
|
* AAAAAc3HCuYhJi/wvpk4xOr0VLYz/NvD85HpgBeRBCusEIeVQ0dHZH9jr+NP3X9Jx0iSoql55b9nd4PIDm252/a0f+U=
|
|
69
90
|
*/
|
|
70
91
|
nextToken?: string;
|
|
71
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* Id of the request
|
|
95
|
+
*
|
|
72
96
|
* @example
|
|
73
97
|
* FE9C65D7-930F-57A5-A207-8C396329241C
|
|
74
98
|
*/
|
|
75
99
|
requestId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The sandbox templates.
|
|
103
|
+
*/
|
|
76
104
|
templates?: DescribeCommonSandboxTemplatesResponseBodyTemplates[];
|
|
77
105
|
static names(): { [key: string]: string } {
|
|
78
106
|
return {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetInspectionReportRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance ID for the inspection. If this parameter is not specified, the entire report is returned. If this parameter is specified, only the content for the specified instance is returned.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* rm-2zep6e5u6l2yu****
|
|
@@ -14,7 +14,7 @@ export class GetInspectionReportRequest extends $dara.Model {
|
|
|
14
14
|
reportType?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The
|
|
17
|
+
* The inspection report ID.
|
|
18
18
|
*
|
|
19
19
|
* This parameter is required.
|
|
20
20
|
*
|
|
@@ -45,12 +45,12 @@ export class GetInspectionReportResponseBodyDataDataItemsData extends $dara.Mode
|
|
|
45
45
|
export class GetInspectionReportResponseBodyDataDataItems extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The request result.
|
|
49
49
|
*/
|
|
50
50
|
data?: GetInspectionReportResponseBodyDataDataItemsData[];
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The level
|
|
53
|
+
* The alert level.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* Normal
|
|
@@ -58,15 +58,15 @@ export class GetInspectionReportResponseBodyDataDataItems extends $dara.Model {
|
|
|
58
58
|
level?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The
|
|
61
|
+
* The result message.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
|
-
*
|
|
64
|
+
* Instance running status is normal
|
|
65
65
|
*/
|
|
66
66
|
message?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The name
|
|
69
|
+
* The category name.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* instance_runningstatus
|
|
@@ -113,7 +113,7 @@ export class GetInspectionReportResponseBodyDataData extends $dara.Model {
|
|
|
113
113
|
group?: string;
|
|
114
114
|
/**
|
|
115
115
|
* @remarks
|
|
116
|
-
* The
|
|
116
|
+
* The attached resource names.
|
|
117
117
|
*/
|
|
118
118
|
items?: GetInspectionReportResponseBodyDataDataItems[];
|
|
119
119
|
static names(): { [key: string]: string } {
|
|
@@ -145,7 +145,7 @@ export class GetInspectionReportResponseBodyDataData extends $dara.Model {
|
|
|
145
145
|
export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model {
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
|
-
* The number of
|
|
148
|
+
* The number of error items.
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* 2
|
|
@@ -153,7 +153,7 @@ export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model
|
|
|
153
153
|
error?: number;
|
|
154
154
|
/**
|
|
155
155
|
* @remarks
|
|
156
|
-
* The number of
|
|
156
|
+
* The number of failed items.
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
159
|
* 3
|
|
@@ -161,7 +161,7 @@ export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model
|
|
|
161
161
|
failed?: number;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The number of normal
|
|
164
|
+
* The number of normal items.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* 10
|
|
@@ -169,7 +169,7 @@ export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model
|
|
|
169
169
|
normal?: number;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The number of
|
|
172
|
+
* The number of warning items.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
175
|
* 1
|
|
@@ -205,12 +205,12 @@ export class GetInspectionReportResponseBodyDataLevelSummary extends $dara.Model
|
|
|
205
205
|
export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
* The
|
|
208
|
+
* The request result.
|
|
209
209
|
*/
|
|
210
210
|
data?: GetInspectionReportResponseBodyDataData[];
|
|
211
211
|
/**
|
|
212
212
|
* @remarks
|
|
213
|
-
* The end time
|
|
213
|
+
* The inspection end time in the format of YYYY-MM-DDTHH:mm:ssZ.
|
|
214
214
|
*
|
|
215
215
|
* @example
|
|
216
216
|
* 2026-01-31T02:05:04Z
|
|
@@ -226,10 +226,10 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
226
226
|
engineType?: string;
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
|
-
* The description
|
|
229
|
+
* The instance description.
|
|
230
230
|
*
|
|
231
231
|
* @example
|
|
232
|
-
*
|
|
232
|
+
* Test instance
|
|
233
233
|
*/
|
|
234
234
|
instanceDesc?: string;
|
|
235
235
|
/**
|
|
@@ -242,23 +242,22 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
242
242
|
instanceId?: string;
|
|
243
243
|
/**
|
|
244
244
|
* @remarks
|
|
245
|
-
* The
|
|
245
|
+
* The level summary.
|
|
246
246
|
*/
|
|
247
247
|
levelSummary?: GetInspectionReportResponseBodyDataLevelSummary;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
* The
|
|
251
|
-
*
|
|
252
|
-
* *
|
|
253
|
-
* * If the InstanceId parameter is specified, the content related to the instance is returned in the MarkdownText field.
|
|
250
|
+
* The Markdown text.
|
|
251
|
+
* * If the InstanceId parameter is not specified: the reports for all instances in the inspection report are returned, but the MarkdownText field is empty ("").
|
|
252
|
+
* * If the InstanceId parameter is specified: the report for the specified instance is returned, and the MarkdownText field contains the specific content.
|
|
254
253
|
*
|
|
255
254
|
* @example
|
|
256
|
-
* # RDS
|
|
255
|
+
* # RDS Instance Inspection Report\\n\\n**Instance ID**: `rm-2zep6e5u6l2yu****`\\n\\n**Engine Type**: MySQL\\n\\n**Region**: cn-beijing\\n\\n**Time Range (UTC)**: 2026-02-04T03:31:00Z ~ 2026-02-05T03:31:00Z\\n\\n> This inspection includes **60** checks, of which 1 warning, 57 normal, and 2 failed to retrieve data.……
|
|
257
256
|
*/
|
|
258
257
|
markdownText?: string;
|
|
259
258
|
/**
|
|
260
259
|
* @remarks
|
|
261
|
-
* The region
|
|
260
|
+
* The region information.
|
|
262
261
|
*
|
|
263
262
|
* @example
|
|
264
263
|
* cn-beijing
|
|
@@ -266,7 +265,7 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
266
265
|
region?: string;
|
|
267
266
|
/**
|
|
268
267
|
* @remarks
|
|
269
|
-
* The start time
|
|
268
|
+
* The inspection start time in the format of YYYY-MM-DDTHH:mm:ssZ.
|
|
270
269
|
*
|
|
271
270
|
* @example
|
|
272
271
|
* 2025-11-06T16:00:00Z
|
|
@@ -318,15 +317,15 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
318
317
|
export class GetInspectionReportResponseBody extends $dara.Model {
|
|
319
318
|
/**
|
|
320
319
|
* @remarks
|
|
321
|
-
* The details
|
|
320
|
+
* The result details.
|
|
322
321
|
*/
|
|
323
322
|
data?: GetInspectionReportResponseBodyData[];
|
|
324
323
|
/**
|
|
325
324
|
* @remarks
|
|
326
|
-
* The
|
|
325
|
+
* The Markdown text.
|
|
327
326
|
*
|
|
328
327
|
* @example
|
|
329
|
-
* # RDS
|
|
328
|
+
* # RDS Batch Inspection Summary Report\\n\\n> This batch inspection checked **1** instance; found **1** instance with warnings (1 warning item in total)……
|
|
330
329
|
*/
|
|
331
330
|
markdownText?: string;
|
|
332
331
|
/**
|
|
@@ -345,12 +344,16 @@ export class GetInspectionReportResponseBody extends $dara.Model {
|
|
|
345
344
|
* 9d246af2-a0cd-4f69-857d-3785048f****
|
|
346
345
|
*/
|
|
347
346
|
taskId?: string;
|
|
347
|
+
templateId?: string;
|
|
348
|
+
templateName?: string;
|
|
348
349
|
static names(): { [key: string]: string } {
|
|
349
350
|
return {
|
|
350
351
|
data: 'Data',
|
|
351
352
|
markdownText: 'MarkdownText',
|
|
352
353
|
requestId: 'RequestId',
|
|
353
354
|
taskId: 'TaskId',
|
|
355
|
+
templateId: 'TemplateId',
|
|
356
|
+
templateName: 'TemplateName',
|
|
354
357
|
};
|
|
355
358
|
}
|
|
356
359
|
|
|
@@ -360,6 +363,8 @@ export class GetInspectionReportResponseBody extends $dara.Model {
|
|
|
360
363
|
markdownText: 'string',
|
|
361
364
|
requestId: 'string',
|
|
362
365
|
taskId: 'string',
|
|
366
|
+
templateId: 'string',
|
|
367
|
+
templateName: 'string',
|
|
363
368
|
};
|
|
364
369
|
}
|
|
365
370
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetScheduledReportsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The end time
|
|
8
|
+
* The end time for filtering (format: YYYY-MM-DDTHH:mm:ssZ). If not specified, no end time filter is applied.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2026-01-25T02:02:00Z
|
|
@@ -13,7 +13,7 @@ export class GetScheduledReportsRequest extends $dara.Model {
|
|
|
13
13
|
endTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The page number.
|
|
16
|
+
* The page number. Default value: 1.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|
|
@@ -21,7 +21,7 @@ export class GetScheduledReportsRequest extends $dara.Model {
|
|
|
21
21
|
pageNumber?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The number of entries per page.
|
|
24
|
+
* The number of entries per page. Default value: 20. Maximum value: 100.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 10
|
|
@@ -29,7 +29,7 @@ export class GetScheduledReportsRequest extends $dara.Model {
|
|
|
29
29
|
pageSize?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The inspection task ID.
|
|
33
33
|
*
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|
|
@@ -39,7 +39,7 @@ export class GetScheduledReportsRequest extends $dara.Model {
|
|
|
39
39
|
scheduledId?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The start time
|
|
42
|
+
* The start time for filtering (format: YYYY-MM-DDTHH:mm:ssZ). If not specified, no start time filter is applied.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* 2026-01-25T01:02:00Z
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time
|
|
8
|
+
* The creation time.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2025-01-01T22:59:59Z
|
|
@@ -13,23 +13,19 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
13
13
|
createdTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The inspection end time
|
|
16
|
+
* The inspection end time (format: YYYY-MM-DDTHH:mm:ssZ).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2025-01-01T23:59:59Z
|
|
20
20
|
*/
|
|
21
21
|
endTime?: string;
|
|
22
22
|
inspectionItems?: string;
|
|
23
|
-
/**
|
|
24
|
-
* @remarks
|
|
25
|
-
* The region ID.
|
|
26
|
-
*/
|
|
27
23
|
regionId?: string;
|
|
28
24
|
reportLanguage?: string;
|
|
29
25
|
reportType?: string;
|
|
30
26
|
/**
|
|
31
27
|
* @remarks
|
|
32
|
-
* The inspection start time
|
|
28
|
+
* The inspection start time (format: YYYY-MM-DDTHH:mm:ssZ).
|
|
33
29
|
*
|
|
34
30
|
* @example
|
|
35
31
|
* 2025-01-01T00:00:00Z
|
|
@@ -37,7 +33,7 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
37
33
|
startTime?: string;
|
|
38
34
|
/**
|
|
39
35
|
* @remarks
|
|
40
|
-
* The status
|
|
36
|
+
* The status.
|
|
41
37
|
*
|
|
42
38
|
* @example
|
|
43
39
|
* success
|
|
@@ -45,7 +41,7 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
45
41
|
status?: string;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
* The
|
|
44
|
+
* The inspection report ID.
|
|
49
45
|
*
|
|
50
46
|
* @example
|
|
51
47
|
* 65f0053b-f933-49f5-bf65-4e4593e1****
|
|
@@ -94,12 +90,12 @@ export class GetScheduledReportsResponseBody extends $dara.Model {
|
|
|
94
90
|
* The response message.
|
|
95
91
|
*
|
|
96
92
|
* @example
|
|
97
|
-
*
|
|
93
|
+
* Successfully retrieved the inspection report list
|
|
98
94
|
*/
|
|
99
95
|
message?: string;
|
|
100
96
|
/**
|
|
101
97
|
* @remarks
|
|
102
|
-
* The page number.
|
|
98
|
+
* The page number. Default value: 1.
|
|
103
99
|
*
|
|
104
100
|
* @example
|
|
105
101
|
* 1
|
|
@@ -107,7 +103,7 @@ export class GetScheduledReportsResponseBody extends $dara.Model {
|
|
|
107
103
|
pageNumber?: number;
|
|
108
104
|
/**
|
|
109
105
|
* @remarks
|
|
110
|
-
* The number of
|
|
106
|
+
* The number of records per page.
|
|
111
107
|
*
|
|
112
108
|
* @example
|
|
113
109
|
* 10
|
|
@@ -115,7 +111,7 @@ export class GetScheduledReportsResponseBody extends $dara.Model {
|
|
|
115
111
|
pageSize?: number;
|
|
116
112
|
/**
|
|
117
113
|
* @remarks
|
|
118
|
-
*
|
|
114
|
+
* The report details.
|
|
119
115
|
*/
|
|
120
116
|
reports?: GetScheduledReportsResponseBodyReports[];
|
|
121
117
|
/**
|
|
@@ -128,7 +124,7 @@ export class GetScheduledReportsResponseBody extends $dara.Model {
|
|
|
128
124
|
requestId?: string;
|
|
129
125
|
/**
|
|
130
126
|
* @remarks
|
|
131
|
-
*
|
|
127
|
+
* The request result.
|
|
132
128
|
*
|
|
133
129
|
* @example
|
|
134
130
|
* true
|
|
@@ -136,7 +132,7 @@ export class GetScheduledReportsResponseBody extends $dara.Model {
|
|
|
136
132
|
success?: boolean;
|
|
137
133
|
/**
|
|
138
134
|
* @remarks
|
|
139
|
-
* The total number of
|
|
135
|
+
* The total number of records.
|
|
140
136
|
*
|
|
141
137
|
* @example
|
|
142
138
|
* 20
|