@alicloud/rdsai20250507 3.8.0 → 3.8.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 +18 -26
- package/dist/client.js +38 -34
- package/dist/client.js.map +1 -1
- package/dist/models/ChatMessagesResponseBody.d.ts +2 -2
- package/dist/models/CreateApiKeyRequest.d.ts +9 -3
- package/dist/models/CreateApiKeyRequest.js +4 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -1
- package/dist/models/CreateApiKeyResponseBody.d.ts +13 -8
- package/dist/models/CreateApiKeyResponseBody.js +2 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateInspectionTaskRequest.d.ts +2 -2
- package/dist/models/CreateScheduledTaskRequest.d.ts +12 -12
- package/dist/models/DeleteApiKeyRequest.d.ts +1 -1
- package/dist/models/DeleteApiKeyResponseBody.d.ts +2 -2
- package/dist/models/DeleteScheduledTaskResponseBody.d.ts +2 -2
- package/dist/models/GetInspectionReportRequest.d.ts +1 -1
- package/dist/models/GetInspectionReportResponseBody.d.ts +2 -2
- package/dist/models/GetScheduledInstancesRequest.d.ts +2 -2
- package/dist/models/GetScheduledInstancesResponseBody.d.ts +9 -9
- package/dist/models/GetStandAloneReportsRequest.d.ts +2 -2
- package/dist/models/GetStandAloneReportsResponseBody.d.ts +2 -2
- package/dist/models/ListApiKeysResponseBody.d.ts +17 -9
- package/dist/models/ListApiKeysResponseBody.js +2 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksResponseBody.d.ts +1 -1
- package/dist/models/ModifyScheduledTaskRequest.d.ts +3 -1
- package/dist/models/ModifyScheduledTaskRequest.js.map +1 -1
- package/dist/models/RenameApiKeyRequest.d.ts +5 -3
- package/dist/models/RenameApiKeyRequest.js +4 -0
- package/dist/models/RenameApiKeyRequest.js.map +1 -1
- package/dist/models/RenameApiKeyResponseBody.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +42 -34
- package/src/models/ChatMessagesResponseBody.ts +2 -2
- package/src/models/CreateApiKeyRequest.ts +13 -3
- package/src/models/CreateApiKeyResponseBody.ts +15 -8
- package/src/models/CreateInspectionTaskRequest.ts +2 -2
- package/src/models/CreateScheduledTaskRequest.ts +12 -12
- package/src/models/DeleteApiKeyRequest.ts +1 -1
- package/src/models/DeleteApiKeyResponseBody.ts +2 -2
- package/src/models/DeleteScheduledTaskResponseBody.ts +2 -2
- package/src/models/GetInspectionReportRequest.ts +1 -1
- package/src/models/GetInspectionReportResponseBody.ts +2 -2
- package/src/models/GetScheduledInstancesRequest.ts +2 -2
- package/src/models/GetScheduledInstancesResponseBody.ts +9 -9
- package/src/models/GetStandAloneReportsRequest.ts +2 -2
- package/src/models/GetStandAloneReportsResponseBody.ts +2 -2
- package/src/models/ListApiKeysResponseBody.ts +19 -9
- package/src/models/ListScheduledTasksResponseBody.ts +1 -1
- package/src/models/ModifyScheduledTaskRequest.ts +3 -1
- package/src/models/RenameApiKeyRequest.ts +9 -3
- package/src/models/RenameApiKeyResponseBody.ts +2 -2
|
@@ -10,7 +10,7 @@ export declare class RenameApiKeyResponseBody extends $dara.Model {
|
|
|
10
10
|
message?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Id of the request
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* FE9C65D7-930F-57A5-A207-8C396329241C
|
|
@@ -18,7 +18,7 @@ export declare class RenameApiKeyResponseBody extends $dara.Model {
|
|
|
18
18
|
requestId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
21
|
+
* The request result.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* true
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -15,18 +15,18 @@ export default class Client extends OpenApi {
|
|
|
15
15
|
this._endpointMap = {
|
|
16
16
|
'cn-wulanchabu': "rdsai.aliyuncs.com",
|
|
17
17
|
'cn-shenzhen': "rdsai.aliyuncs.com",
|
|
18
|
+
'cn-beijing': "rdsai.aliyuncs.com",
|
|
19
|
+
'ap-northeast-1': "rdsai.ap-northeast-1.aliyuncs.com",
|
|
20
|
+
'cn-chengdu': "rdsai.cn-chengdu.aliyuncs.com",
|
|
18
21
|
'cn-shanghai': "rdsai.aliyuncs.com",
|
|
19
|
-
'cn-hongkong': "rdsai.cn-hongkong.aliyuncs.com",
|
|
20
|
-
'cn-hangzhou': "rdsai.aliyuncs.com",
|
|
21
22
|
'cn-guangzhou': "rdsai.aliyuncs.com",
|
|
22
|
-
'cn-
|
|
23
|
-
'cn-beijing': "rdsai.aliyuncs.com",
|
|
24
|
-
'ap-southeast-5': "rdsai.ap-southeast-5.aliyuncs.com",
|
|
25
|
-
'ap-southeast-3': "rdsai.ap-southeast-3.aliyuncs.com",
|
|
23
|
+
'cn-hongkong': "rdsai.cn-hongkong.aliyuncs.com",
|
|
26
24
|
'ap-southeast-1': "rdsai.ap-southeast-1.aliyuncs.com",
|
|
27
|
-
'ap-
|
|
28
|
-
'
|
|
25
|
+
'ap-southeast-3': "rdsai.ap-southeast-3.aliyuncs.com",
|
|
26
|
+
'ap-southeast-5': "rdsai.ap-southeast-5.aliyuncs.com",
|
|
27
|
+
'cn-hangzhou': "rdsai.aliyuncs.com",
|
|
29
28
|
'us-west-1': "rdsai.us-west-1.aliyuncs.com",
|
|
29
|
+
'eu-central-1': "rdsai.eu-central-1.aliyuncs.com",
|
|
30
30
|
};
|
|
31
31
|
this.checkConfig(config);
|
|
32
32
|
this._endpoint = this.getEndpoint("rdsai", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -272,6 +272,14 @@ export default class Client extends OpenApi {
|
|
|
272
272
|
query["Quantity"] = request.quantity;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
276
|
+
query["RoleArn"] = request.roleArn;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (!$dara.isNull(request.roleName)) {
|
|
280
|
+
query["RoleName"] = request.roleName;
|
|
281
|
+
}
|
|
282
|
+
|
|
275
283
|
if (!$dara.isNull(request.tokenQuota)) {
|
|
276
284
|
query["TokenQuota"] = request.tokenQuota;
|
|
277
285
|
}
|
|
@@ -904,8 +912,8 @@ export default class Client extends OpenApi {
|
|
|
904
912
|
* @remarks
|
|
905
913
|
* ### Applicable engine
|
|
906
914
|
* RDS PostgreSQL
|
|
907
|
-
* ### Related
|
|
908
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
915
|
+
* ### Related documentation
|
|
916
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
909
917
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
910
918
|
*
|
|
911
919
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -986,8 +994,8 @@ export default class Client extends OpenApi {
|
|
|
986
994
|
* @remarks
|
|
987
995
|
* ### Applicable engine
|
|
988
996
|
* RDS PostgreSQL
|
|
989
|
-
* ### Related
|
|
990
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
997
|
+
* ### Related documentation
|
|
998
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
991
999
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
992
1000
|
*
|
|
993
1001
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -1067,7 +1075,7 @@ export default class Client extends OpenApi {
|
|
|
1067
1075
|
*
|
|
1068
1076
|
* @remarks
|
|
1069
1077
|
* ### Applicable engine
|
|
1070
|
-
* [RDS AI Assistant
|
|
1078
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1071
1079
|
*
|
|
1072
1080
|
* @param request - DeleteApiKeyRequest
|
|
1073
1081
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1106,7 +1114,7 @@ export default class Client extends OpenApi {
|
|
|
1106
1114
|
*
|
|
1107
1115
|
* @remarks
|
|
1108
1116
|
* ### Applicable engine
|
|
1109
|
-
* [RDS AI Assistant
|
|
1117
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1110
1118
|
*
|
|
1111
1119
|
* @param request - DeleteApiKeyRequest
|
|
1112
1120
|
* @returns DeleteApiKeyResponse
|
|
@@ -2998,7 +3006,7 @@ export default class Client extends OpenApi {
|
|
|
2998
3006
|
}
|
|
2999
3007
|
|
|
3000
3008
|
/**
|
|
3001
|
-
* Queries the
|
|
3009
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
3002
3010
|
*
|
|
3003
3011
|
* @param request - GetScheduledInstancesRequest
|
|
3004
3012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3037,7 +3045,7 @@ export default class Client extends OpenApi {
|
|
|
3037
3045
|
}
|
|
3038
3046
|
|
|
3039
3047
|
/**
|
|
3040
|
-
* Queries the
|
|
3048
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
3041
3049
|
*
|
|
3042
3050
|
* @param request - GetScheduledInstancesRequest
|
|
3043
3051
|
* @returns GetScheduledInstancesResponse
|
|
@@ -3048,7 +3056,7 @@ export default class Client extends OpenApi {
|
|
|
3048
3056
|
}
|
|
3049
3057
|
|
|
3050
3058
|
/**
|
|
3051
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
3059
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
3052
3060
|
*
|
|
3053
3061
|
* @param request - GetScheduledReportsRequest
|
|
3054
3062
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3095,7 +3103,7 @@ export default class Client extends OpenApi {
|
|
|
3095
3103
|
}
|
|
3096
3104
|
|
|
3097
3105
|
/**
|
|
3098
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
3106
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
3099
3107
|
*
|
|
3100
3108
|
* @param request - GetScheduledReportsRequest
|
|
3101
3109
|
* @returns GetScheduledReportsResponse
|
|
@@ -3387,11 +3395,7 @@ export default class Client extends OpenApi {
|
|
|
3387
3395
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
3388
3396
|
*
|
|
3389
3397
|
* @remarks
|
|
3390
|
-
*
|
|
3391
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
3392
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
3393
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
3394
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
3398
|
+
* 列出上下文数据库工作空间
|
|
3395
3399
|
*
|
|
3396
3400
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
3397
3401
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3437,11 +3441,7 @@ export default class Client extends OpenApi {
|
|
|
3437
3441
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
3438
3442
|
*
|
|
3439
3443
|
* @remarks
|
|
3440
|
-
*
|
|
3441
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
3442
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
3443
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
3444
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
3444
|
+
* 列出上下文数据库工作空间
|
|
3445
3445
|
*
|
|
3446
3446
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
3447
3447
|
* @returns ListContextDatabaseWorkspacesResponse
|
|
@@ -4551,11 +4551,11 @@ export default class Client extends OpenApi {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
|
|
4553
4553
|
/**
|
|
4554
|
-
* Renames
|
|
4554
|
+
* Renames a custom API key.
|
|
4555
4555
|
*
|
|
4556
4556
|
* @remarks
|
|
4557
|
-
* ### Applicable
|
|
4558
|
-
* [RDS AI Assistant
|
|
4557
|
+
* ### Applicable engine
|
|
4558
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
4559
4559
|
*
|
|
4560
4560
|
* @param request - RenameApiKeyRequest
|
|
4561
4561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4576,6 +4576,14 @@ export default class Client extends OpenApi {
|
|
|
4576
4576
|
query["KeyName"] = request.keyName;
|
|
4577
4577
|
}
|
|
4578
4578
|
|
|
4579
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
4580
|
+
query["RoleArn"] = request.roleArn;
|
|
4581
|
+
}
|
|
4582
|
+
|
|
4583
|
+
if (!$dara.isNull(request.roleName)) {
|
|
4584
|
+
query["RoleName"] = request.roleName;
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4579
4587
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4580
4588
|
query: OpenApiUtil.query(query),
|
|
4581
4589
|
});
|
|
@@ -4594,11 +4602,11 @@ export default class Client extends OpenApi {
|
|
|
4594
4602
|
}
|
|
4595
4603
|
|
|
4596
4604
|
/**
|
|
4597
|
-
* Renames
|
|
4605
|
+
* Renames a custom API key.
|
|
4598
4606
|
*
|
|
4599
4607
|
* @remarks
|
|
4600
|
-
* ### Applicable
|
|
4601
|
-
* [RDS AI Assistant
|
|
4608
|
+
* ### Applicable engine
|
|
4609
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
4602
4610
|
*
|
|
4603
4611
|
* @param request - RenameApiKeyRequest
|
|
4604
4612
|
* @returns RenameApiKeyResponse
|
|
@@ -8,7 +8,7 @@ export class ChatMessagesResponseBody extends $dara.Model {
|
|
|
8
8
|
* The answer content.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
* The disk usage of instance rm-bp14as9914vd3**** is 23%, and expansion is not needed at this time. If you need to view the detailed configuration
|
|
11
|
+
* The disk usage of instance rm-bp14as9914vd3**** is 23%, and expansion is not needed at this time. If you need to view the detailed configuration or performance monitoring of a specific instance, or perform other operations, please let me know your specific requirements!
|
|
12
12
|
*/
|
|
13
13
|
answer?: string;
|
|
14
14
|
/**
|
|
@@ -56,7 +56,7 @@ export class ChatMessagesResponseBody extends $dara.Model {
|
|
|
56
56
|
* The query mode.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* Will be deprecated in the future.
|
|
59
|
+
* Will be deprecated in the future. Ignore this field
|
|
60
60
|
*/
|
|
61
61
|
mode?: string;
|
|
62
62
|
/**
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateApiKeyRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The daily quota of the API key.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1000000000
|
|
9
12
|
*/
|
|
@@ -18,7 +21,7 @@ export class CreateApiKeyRequest extends $dara.Model {
|
|
|
18
21
|
instanceId?: string;
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
|
-
* The
|
|
24
|
+
* The API key name.
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
27
|
* api-*****
|
|
@@ -34,7 +37,8 @@ export class CreateApiKeyRequest extends $dara.Model {
|
|
|
34
37
|
limitRate?: number;
|
|
35
38
|
/**
|
|
36
39
|
* @remarks
|
|
37
|
-
* The quota
|
|
40
|
+
* The quota allocation method. Valid values:
|
|
41
|
+
*
|
|
38
42
|
* - ratio: by percentage.
|
|
39
43
|
* - fixed: by fixed value.
|
|
40
44
|
* - auto: automatic allocation.
|
|
@@ -51,9 +55,11 @@ export class CreateApiKeyRequest extends $dara.Model {
|
|
|
51
55
|
* 1
|
|
52
56
|
*/
|
|
53
57
|
quantity?: number;
|
|
58
|
+
roleArn?: string;
|
|
59
|
+
roleName?: string;
|
|
54
60
|
/**
|
|
55
61
|
* @remarks
|
|
56
|
-
* The quota for the current key.
|
|
62
|
+
* The quota limit for the current key.
|
|
57
63
|
*
|
|
58
64
|
* @example
|
|
59
65
|
* 100000
|
|
@@ -67,6 +73,8 @@ export class CreateApiKeyRequest extends $dara.Model {
|
|
|
67
73
|
limitRate: 'LimitRate',
|
|
68
74
|
limitType: 'LimitType',
|
|
69
75
|
quantity: 'Quantity',
|
|
76
|
+
roleArn: 'RoleArn',
|
|
77
|
+
roleName: 'RoleName',
|
|
70
78
|
tokenQuota: 'TokenQuota',
|
|
71
79
|
};
|
|
72
80
|
}
|
|
@@ -79,6 +87,8 @@ export class CreateApiKeyRequest extends $dara.Model {
|
|
|
79
87
|
limitRate: 'number',
|
|
80
88
|
limitType: 'string',
|
|
81
89
|
quantity: 'number',
|
|
90
|
+
roleArn: 'string',
|
|
91
|
+
roleName: 'string',
|
|
82
92
|
tokenQuota: 'number',
|
|
83
93
|
};
|
|
84
94
|
}
|
|
@@ -11,10 +11,14 @@ export class CreateApiKeyResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
11
11
|
* sk-rds-*****
|
|
12
12
|
*/
|
|
13
13
|
apiKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The daily quota of the API key.
|
|
17
|
+
*/
|
|
14
18
|
dailyTokenQuota?: number;
|
|
15
19
|
/**
|
|
16
20
|
* @remarks
|
|
17
|
-
* The
|
|
21
|
+
* The API key name.
|
|
18
22
|
*
|
|
19
23
|
* @example
|
|
20
24
|
* api-*****
|
|
@@ -30,21 +34,22 @@ export class CreateApiKeyResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
30
34
|
limitRate?: number;
|
|
31
35
|
/**
|
|
32
36
|
* @remarks
|
|
33
|
-
* The quota
|
|
37
|
+
* The quota allocation method. Valid values:
|
|
34
38
|
*
|
|
35
|
-
* - **fixed**:
|
|
39
|
+
* - **fixed**: By fixed value.
|
|
36
40
|
*
|
|
37
|
-
* - **ratio**:
|
|
41
|
+
* - **ratio**: By percentage.
|
|
38
42
|
*
|
|
39
|
-
* - **auto**:
|
|
43
|
+
* - **auto**: Automatic allocation.
|
|
40
44
|
*
|
|
41
45
|
* @example
|
|
42
46
|
* fixed
|
|
43
47
|
*/
|
|
44
48
|
limitType?: string;
|
|
49
|
+
roleArn?: string;
|
|
45
50
|
/**
|
|
46
51
|
* @remarks
|
|
47
|
-
* The quota for the current key.
|
|
52
|
+
* The quota limit for the current key.
|
|
48
53
|
*
|
|
49
54
|
* @example
|
|
50
55
|
* 100000
|
|
@@ -57,6 +62,7 @@ export class CreateApiKeyResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
57
62
|
keyName: 'KeyName',
|
|
58
63
|
limitRate: 'LimitRate',
|
|
59
64
|
limitType: 'LimitType',
|
|
65
|
+
roleArn: 'RoleArn',
|
|
60
66
|
tokenQuota: 'TokenQuota',
|
|
61
67
|
};
|
|
62
68
|
}
|
|
@@ -68,6 +74,7 @@ export class CreateApiKeyResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
68
74
|
keyName: 'string',
|
|
69
75
|
limitRate: 'number',
|
|
70
76
|
limitType: 'string',
|
|
77
|
+
roleArn: 'string',
|
|
71
78
|
tokenQuota: 'number',
|
|
72
79
|
};
|
|
73
80
|
}
|
|
@@ -134,12 +141,12 @@ export class CreateApiKeyResponseBodyData extends $dara.Model {
|
|
|
134
141
|
export class CreateApiKeyResponseBody extends $dara.Model {
|
|
135
142
|
/**
|
|
136
143
|
* @remarks
|
|
137
|
-
* The
|
|
144
|
+
* The response data.
|
|
138
145
|
*/
|
|
139
146
|
data?: CreateApiKeyResponseBodyData;
|
|
140
147
|
/**
|
|
141
148
|
* @remarks
|
|
142
|
-
* The
|
|
149
|
+
* The response message.
|
|
143
150
|
*
|
|
144
151
|
* @example
|
|
145
152
|
* success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateInspectionTaskRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The end time of the inspection range. Format: YYYY-MM-DDTHH:mm:ssZ (UTC). Default value: the
|
|
8
|
+
* The end time of the inspection range. Format: YYYY-MM-DDTHH:mm:ssZ (UTC). Default value: the end time of the last 24 hours.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2026-01-30T02:10:48Z
|
|
@@ -46,7 +46,7 @@ export class CreateInspectionTaskRequest extends $dara.Model {
|
|
|
46
46
|
reportType?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The start time of the inspection range. Format: YYYY-MM-DDTHH:mm:ssZ (UTC). Default value:
|
|
49
|
+
* The start time of the inspection range. Format: YYYY-MM-DDTHH:mm:ssZ (UTC). Default value: the start time of the last 24 hours.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* 2025-12-28T16:00:00Z
|
|
@@ -14,15 +14,15 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
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
|
|
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.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* Monday
|
|
@@ -50,7 +50,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
50
50
|
regionId?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The report
|
|
53
|
+
* The language of the report. Default value: zh-CN. Valid values: zh-CN, zh-TW, ja-JP, and en-US.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* zh-CN
|
|
@@ -60,7 +60,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
60
60
|
reportType?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The time
|
|
63
|
+
* The time at which the inspection task is executed. Format: HH:mm:ssZ (UTC). Default value: 02:00:00Z.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* 02:00:00Z
|
|
@@ -69,7 +69,7 @@ export class CreateScheduledTaskRequest extends $dara.Model {
|
|
|
69
69
|
templateId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The time range for the inspection. Default value: the last 24 hours. Valid values: 1 to 168 (up to 7 days).
|
|
72
|
+
* The time range for the inspection. Default value: 24 (the last 24 hours). Valid values: 1 to 168 (up to 7 days).
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* 24
|
|
@@ -13,7 +13,7 @@ export class DeleteApiKeyResponseBody extends $dara.Model {
|
|
|
13
13
|
message?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Id of the request
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
@@ -21,7 +21,7 @@ export class DeleteApiKeyResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The request result.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* true
|
|
@@ -8,7 +8,7 @@ export class DeleteScheduledTaskResponseBody extends $dara.Model {
|
|
|
8
8
|
* The response message.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* Scheduled task deleted successfully
|
|
12
12
|
*/
|
|
13
13
|
message?: string;
|
|
14
14
|
/**
|
|
@@ -21,7 +21,7 @@ export class DeleteScheduledTaskResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The request result.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* true
|
|
@@ -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 instance ID
|
|
8
|
+
* The instance ID. 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****
|
|
@@ -248,11 +248,11 @@ export class GetInspectionReportResponseBodyData extends $dara.Model {
|
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
250
|
* The Markdown text.
|
|
251
|
-
* * If the InstanceId parameter is not specified: the reports for all instances
|
|
251
|
+
* * If the InstanceId parameter is not specified: the reports for all instances under this inspection report are returned, but the MarkdownText field is empty ("").
|
|
252
252
|
* * If the InstanceId parameter is specified: the report for the specified instance is returned, and the MarkdownText field contains the specific content.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
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**
|
|
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** check items, of which 1 warning, 57 normal, and 2 failed to retrieve data.……
|
|
256
256
|
*/
|
|
257
257
|
markdownText?: string;
|
|
258
258
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetScheduledInstancesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The page number.
|
|
8
|
+
* The page number. Default value: 1.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -13,7 +13,7 @@ export class GetScheduledInstancesRequest extends $dara.Model {
|
|
|
13
13
|
pageNumber?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of
|
|
16
|
+
* The number of entries per page. Default value: 20. Maximum value: 100.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 20
|
|
@@ -16,7 +16,7 @@ export class GetScheduledInstancesResponseBodyInstances extends $dara.Model {
|
|
|
16
16
|
* The instance description.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* Inspection test instance
|
|
20
20
|
*/
|
|
21
21
|
instanceDesc?: string;
|
|
22
22
|
/**
|
|
@@ -29,7 +29,7 @@ export class GetScheduledInstancesResponseBodyInstances extends $dara.Model {
|
|
|
29
29
|
instanceId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The region
|
|
32
|
+
* The region where the instance resides.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* cn-hangzhou
|
|
@@ -37,7 +37,7 @@ export class GetScheduledInstancesResponseBodyInstances extends $dara.Model {
|
|
|
37
37
|
region?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The status
|
|
40
|
+
* The instance status.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* Running
|
|
@@ -75,7 +75,7 @@ export class GetScheduledInstancesResponseBodyInstances extends $dara.Model {
|
|
|
75
75
|
export class GetScheduledInstancesResponseBody extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The list of instances
|
|
78
|
+
* The list of instances.
|
|
79
79
|
*/
|
|
80
80
|
instances?: GetScheduledInstancesResponseBodyInstances[];
|
|
81
81
|
/**
|
|
@@ -83,12 +83,12 @@ export class GetScheduledInstancesResponseBody extends $dara.Model {
|
|
|
83
83
|
* The response message.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
|
-
*
|
|
86
|
+
* Successfully retrieved the list of inspection instance IDs
|
|
87
87
|
*/
|
|
88
88
|
message?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The page number.
|
|
91
|
+
* The page number. Default value: 1.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 1
|
|
@@ -96,7 +96,7 @@ export class GetScheduledInstancesResponseBody extends $dara.Model {
|
|
|
96
96
|
pageNumber?: number;
|
|
97
97
|
/**
|
|
98
98
|
* @remarks
|
|
99
|
-
* The number of
|
|
99
|
+
* The number of entries per page. Default value: 20. Maximum value: 100.
|
|
100
100
|
*
|
|
101
101
|
* @example
|
|
102
102
|
* 10
|
|
@@ -112,7 +112,7 @@ export class GetScheduledInstancesResponseBody extends $dara.Model {
|
|
|
112
112
|
requestId?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
*
|
|
115
|
+
* The request result.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* true
|
|
@@ -120,7 +120,7 @@ export class GetScheduledInstancesResponseBody extends $dara.Model {
|
|
|
120
120
|
success?: boolean;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The total number of records
|
|
123
|
+
* The total number of records.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* 20
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetStandAloneReportsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The end time
|
|
8
|
+
* The end time filter in the format of YYYY-MM-DDTHH:mm:ssZ. If this parameter is not specified, no end time filter is applied.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2026-01-19T02:20:20Z
|
|
@@ -30,7 +30,7 @@ export class GetStandAloneReportsRequest extends $dara.Model {
|
|
|
30
30
|
reportType?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The start time
|
|
33
|
+
* The start time filter in the format of YYYY-MM-DDTHH:mm:ssZ. If this parameter is not specified, no start time filter is applied.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 2025-03-11T02:09:00Z
|
|
@@ -13,7 +13,7 @@ export class GetStandAloneReportsResponseBodyReports extends $dara.Model {
|
|
|
13
13
|
createdTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The inspection end time
|
|
16
|
+
* The inspection end time in the format of YYYY-MM-DDTHH:mm:ssZ.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 2026-01-23T08:20:31Z
|
|
@@ -25,7 +25,7 @@ export class GetStandAloneReportsResponseBodyReports extends $dara.Model {
|
|
|
25
25
|
reportType?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The inspection start time
|
|
28
|
+
* The inspection start time in the format of YYYY-MM-DDTHH:mm:ssZ.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* 2026-01-23T08:00:31Z
|