@alicloud/dms20250414 4.3.1 → 4.3.3
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 +26 -26
- package/dist/client.js +41 -26
- package/dist/client.js.map +1 -1
- package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
- package/dist/models/AddAgenticDataSourceRequest.js +2 -0
- package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
- package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +8 -5
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +6 -6
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
- package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
- package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
- package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
- package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
- package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
- package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
- package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
- package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +9 -12
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +13 -20
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +7 -8
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +18 -16
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
- package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
- package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +36 -28
- package/dist/models/UpdateAgenticDataSourceRequest.js +2 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +19 -11
- package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -26
- package/src/models/AddAgenticDataSourceRequest.ts +18 -27
- package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
- package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
- package/src/models/CreateDataAgentSkillMetaRequest.ts +8 -5
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +7 -7
- package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
- package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
- package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
- package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
- package/src/models/GetAgenticDatabaseRequest.ts +1 -1
- package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
- package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
- package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
- package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
- package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +9 -12
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +13 -20
- package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +7 -8
- package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +18 -16
- package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
- package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
- package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
- package/src/models/UpdateAgenticDataSourceRequest.ts +38 -28
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -11
- package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
- package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the ADB MySQL Spark resource group. This field is returned only for data sources whose DbType is ADB_MYSQL_SPARK and is independent of the Schema (database name).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* resourceGroup1
|
|
12
|
+
*/
|
|
13
|
+
adbSparkResourceGroup?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The display name of the data source.
|
|
@@ -13,7 +21,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
13
21
|
alias?: string;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
|
-
* The logon username for the data source. This
|
|
24
|
+
* The logon username for the data source. This field is empty if username authentication is not used.
|
|
17
25
|
*
|
|
18
26
|
* @example
|
|
19
27
|
* db_user
|
|
@@ -21,7 +29,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
21
29
|
authAccount?: string;
|
|
22
30
|
/**
|
|
23
31
|
* @remarks
|
|
24
|
-
* The masked value of the password or token. The actual
|
|
32
|
+
* The masked value of the password or token. The actual content is not returned.
|
|
25
33
|
*
|
|
26
34
|
* @example
|
|
27
35
|
* P@ss****
|
|
@@ -30,10 +38,10 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
30
38
|
/**
|
|
31
39
|
* @remarks
|
|
32
40
|
* The authentication method. Valid values:
|
|
33
|
-
* - -1:
|
|
34
|
-
* - 0:
|
|
35
|
-
* - 1:
|
|
36
|
-
* - 2:
|
|
41
|
+
* - -1: No authentication required.
|
|
42
|
+
* - 0: Username and password.
|
|
43
|
+
* - 1: Password only.
|
|
44
|
+
* - 2: Password-free.
|
|
37
45
|
*
|
|
38
46
|
* @example
|
|
39
47
|
* 0
|
|
@@ -58,8 +66,8 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
58
66
|
/**
|
|
59
67
|
* @remarks
|
|
60
68
|
* The method used to register the data source. Valid values:
|
|
61
|
-
* - INSTANCE_ID:
|
|
62
|
-
* - HOST_PORT:
|
|
69
|
+
* - INSTANCE_ID: Select an existing cloud instance.
|
|
70
|
+
* - HOST_PORT: Register by endpoint and port.
|
|
63
71
|
*
|
|
64
72
|
* @example
|
|
65
73
|
* HOST_PORT
|
|
@@ -115,7 +123,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
115
123
|
host?: string;
|
|
116
124
|
/**
|
|
117
125
|
* @remarks
|
|
118
|
-
* The ID of the cloud resource instance. This
|
|
126
|
+
* The ID of the cloud resource instance. This field may be empty for data sources registered by endpoint.
|
|
119
127
|
*
|
|
120
128
|
* @example
|
|
121
129
|
* rm-bp1234567890
|
|
@@ -124,11 +132,11 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
124
132
|
/**
|
|
125
133
|
* @remarks
|
|
126
134
|
* The source of the data source. Valid values:
|
|
127
|
-
* - RDS: ApsaraDB instance
|
|
128
|
-
* - PUBLIC_OWN:
|
|
129
|
-
* - ECS_OWN:
|
|
130
|
-
* - GATEWAY:
|
|
131
|
-
* - VPC_IDC:
|
|
135
|
+
* - RDS: ApsaraDB instance.
|
|
136
|
+
* - PUBLIC_OWN: Self-managed database on the Internet.
|
|
137
|
+
* - ECS_OWN: Self-managed database on an ECS instance.
|
|
138
|
+
* - GATEWAY: Connected through Database Gateway.
|
|
139
|
+
* - VPC_IDC: Connected through a VPC or IDC.
|
|
132
140
|
*
|
|
133
141
|
* @example
|
|
134
142
|
* RDS
|
|
@@ -136,7 +144,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
136
144
|
instanceSource?: string;
|
|
137
145
|
/**
|
|
138
146
|
* @remarks
|
|
139
|
-
* The name of the KMS-managed credential. This
|
|
147
|
+
* The name of the KMS-managed credential. This field is empty if KMS is not used and is considered sensitive information.
|
|
140
148
|
*
|
|
141
149
|
* @example
|
|
142
150
|
* datasource-secret
|
|
@@ -144,7 +152,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
144
152
|
kmsSecret?: string;
|
|
145
153
|
/**
|
|
146
154
|
* @remarks
|
|
147
|
-
* The ID of the data access security policy currently in use. This
|
|
155
|
+
* The ID of the data access security policy currently in use. This field is empty if no policy is configured.
|
|
148
156
|
*
|
|
149
157
|
* @example
|
|
150
158
|
* sp-usr-example
|
|
@@ -176,7 +184,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
176
184
|
resourceAccountId?: string;
|
|
177
185
|
/**
|
|
178
186
|
* @remarks
|
|
179
|
-
* The ARN of the RAM role used to access the data source. This
|
|
187
|
+
* The ARN of the Alibaba Cloud RAM role used to access the data source. This field is empty if role-based authorization is not used.
|
|
180
188
|
*
|
|
181
189
|
* @example
|
|
182
190
|
* acs:ram::123456789012****:role/DataSourceRole
|
|
@@ -184,7 +192,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
184
192
|
roleArn?: string;
|
|
185
193
|
/**
|
|
186
194
|
* @remarks
|
|
187
|
-
* The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this
|
|
195
|
+
* The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this field is usually empty.
|
|
188
196
|
*
|
|
189
197
|
* @example
|
|
190
198
|
* postgres
|
|
@@ -192,7 +200,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
192
200
|
schema?: string;
|
|
193
201
|
/**
|
|
194
202
|
* @remarks
|
|
195
|
-
* The name of the Snowflake role. This
|
|
203
|
+
* The name of the Snowflake role. This field takes effect only when DbType is SNOWFLAKE.
|
|
196
204
|
*
|
|
197
205
|
* @example
|
|
198
206
|
* WAREHOUSE
|
|
@@ -200,7 +208,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
200
208
|
snowflakeRole?: string;
|
|
201
209
|
/**
|
|
202
210
|
* @remarks
|
|
203
|
-
* The name of the Snowflake compute warehouse. This
|
|
211
|
+
* The name of the Snowflake compute warehouse. This field takes effect only when DbType is SNOWFLAKE.
|
|
204
212
|
*
|
|
205
213
|
* @example
|
|
206
214
|
* ROLE
|
|
@@ -209,9 +217,9 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
209
217
|
/**
|
|
210
218
|
* @remarks
|
|
211
219
|
* The status of the data source. Valid values:
|
|
212
|
-
* - 0:
|
|
213
|
-
* - -1:
|
|
214
|
-
* - -2:
|
|
220
|
+
* - 0: Normal.
|
|
221
|
+
* - -1: Deleted.
|
|
222
|
+
* - -2: Disabled.
|
|
215
223
|
*
|
|
216
224
|
* @example
|
|
217
225
|
* 0
|
|
@@ -220,8 +228,8 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
220
228
|
/**
|
|
221
229
|
* @remarks
|
|
222
230
|
* Specifies whether to use the cloud instance name as the data source name. Valid values:
|
|
223
|
-
* - 1:
|
|
224
|
-
* - 0:
|
|
231
|
+
* - 1: Yes.
|
|
232
|
+
* - 0: No.
|
|
225
233
|
*
|
|
226
234
|
* @example
|
|
227
235
|
* 0
|
|
@@ -230,9 +238,9 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
230
238
|
/**
|
|
231
239
|
* @remarks
|
|
232
240
|
* The SSL settings. Valid values:
|
|
233
|
-
* - 1:
|
|
234
|
-
* - 0:
|
|
235
|
-
* - -1:
|
|
241
|
+
* - 1: Enabled.
|
|
242
|
+
* - 0: Disabled.
|
|
243
|
+
* - -1: Use default settings.
|
|
236
244
|
*
|
|
237
245
|
* @example
|
|
238
246
|
* 1
|
|
@@ -240,7 +248,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
240
248
|
useSsl?: number;
|
|
241
249
|
/**
|
|
242
250
|
* @remarks
|
|
243
|
-
* The ID of the destination vSwitch used when accessing MaxCompute. This
|
|
251
|
+
* The ID of the destination vSwitch used when accessing MaxCompute. This field is empty in other scenarios.
|
|
244
252
|
*
|
|
245
253
|
* @example
|
|
246
254
|
* vsw-bp1234567890
|
|
@@ -248,7 +256,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
248
256
|
vSwitchId?: string;
|
|
249
257
|
/**
|
|
250
258
|
* @remarks
|
|
251
|
-
* The ID of the destination VPC used when accessing MaxCompute. This
|
|
259
|
+
* The ID of the destination VPC used when accessing MaxCompute. This field is empty in other scenarios.
|
|
252
260
|
*
|
|
253
261
|
* @example
|
|
254
262
|
* vpc-bp1234567890
|
|
@@ -256,7 +264,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
256
264
|
vpcId?: string;
|
|
257
265
|
/**
|
|
258
266
|
* @remarks
|
|
259
|
-
* The ID of the destination zone used when accessing MaxCompute. This
|
|
267
|
+
* The ID of the destination zone used when accessing MaxCompute. This field is empty in other scenarios.
|
|
260
268
|
*
|
|
261
269
|
* @example
|
|
262
270
|
* cn-hangzhou-h
|
|
@@ -264,6 +272,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
264
272
|
zoneId?: string;
|
|
265
273
|
static names(): { [key: string]: string } {
|
|
266
274
|
return {
|
|
275
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
267
276
|
alias: 'Alias',
|
|
268
277
|
authAccount: 'AuthAccount',
|
|
269
278
|
authPassword: 'AuthPassword',
|
|
@@ -299,6 +308,7 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
299
308
|
|
|
300
309
|
static types(): { [key: string]: any } {
|
|
301
310
|
return {
|
|
311
|
+
adbSparkResourceGroup: 'string',
|
|
302
312
|
alias: 'string',
|
|
303
313
|
authAccount: 'string',
|
|
304
314
|
authPassword: 'string',
|
|
@@ -344,12 +354,12 @@ export class GetAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
344
354
|
export class GetAgenticDataSourceResponseBody extends $dara.Model {
|
|
345
355
|
/**
|
|
346
356
|
* @remarks
|
|
347
|
-
* The data source details. This
|
|
357
|
+
* The data source details. This field is empty if the data source does not exist.
|
|
348
358
|
*/
|
|
349
359
|
data?: GetAgenticDataSourceResponseBodyData;
|
|
350
360
|
/**
|
|
351
361
|
* @remarks
|
|
352
|
-
* The error code returned when the call fails. This
|
|
362
|
+
* The error code returned when the call fails. This field is empty when the call succeeds.
|
|
353
363
|
*
|
|
354
364
|
* @example
|
|
355
365
|
* InvalidParameter
|
|
@@ -357,7 +367,7 @@ export class GetAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
357
367
|
errorCode?: string;
|
|
358
368
|
/**
|
|
359
369
|
* @remarks
|
|
360
|
-
* The error message returned when the call fails. This
|
|
370
|
+
* The error message returned when the call fails. This field is empty when the call succeeds.
|
|
361
371
|
*
|
|
362
372
|
* @example
|
|
363
373
|
* The parameter is invalid
|
|
@@ -365,7 +375,7 @@ export class GetAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
365
375
|
errorMessage?: string;
|
|
366
376
|
/**
|
|
367
377
|
* @remarks
|
|
368
|
-
* The ID
|
|
378
|
+
* The request ID, which is used to locate the call.
|
|
369
379
|
*
|
|
370
380
|
* @example
|
|
371
381
|
* request-1234567890
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetAgenticDatabaseRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The UUID of the database. You can obtain
|
|
8
|
+
* The UUID of the database. You can obtain the UUID by calling ListAgenticDatabase or SearchAgenticDatabase.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -11,7 +11,7 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
11
11
|
data?: AgenticDatabase;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The error code returned when an exception occurs.
|
|
14
|
+
* The error code returned when an exception occurs during the request.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* UnknownError
|
|
@@ -19,7 +19,7 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
19
19
|
errorCode?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The error message returned when the call fails.
|
|
22
|
+
* The error message returned when the API call fails.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* UnknownError
|
|
@@ -27,7 +27,7 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
27
27
|
errorMessage?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The request
|
|
30
|
+
* The ID of the request.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 67E910F2-4B62-5B0C-ACA3-7547695C****
|
|
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The configuration items of the workspace.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {sql_config:null}
|
|
12
|
+
*/
|
|
13
|
+
config?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The creation time of the session. The value is a UNIX timestamp in seconds.
|
|
9
17
|
*
|
|
10
18
|
* @example
|
|
11
19
|
* 1765960516
|
|
@@ -21,7 +29,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
|
21
29
|
creator?: string;
|
|
22
30
|
/**
|
|
23
31
|
* @remarks
|
|
24
|
-
* Indicates whether sessions
|
|
32
|
+
* Indicates whether sessions in the workspace are shared.
|
|
25
33
|
*
|
|
26
34
|
* @example
|
|
27
35
|
* true
|
|
@@ -61,7 +69,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
|
61
69
|
type?: string;
|
|
62
70
|
/**
|
|
63
71
|
* @remarks
|
|
64
|
-
* The description of the workspace.
|
|
72
|
+
* The description of the collaborative workspace.
|
|
65
73
|
*
|
|
66
74
|
* @example
|
|
67
75
|
* space for test
|
|
@@ -69,7 +77,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
|
69
77
|
workspaceDesc?: string;
|
|
70
78
|
/**
|
|
71
79
|
* @remarks
|
|
72
|
-
* The ID of the workspace.
|
|
80
|
+
* The ID of the collaborative workspace.
|
|
73
81
|
*
|
|
74
82
|
* @example
|
|
75
83
|
* 20923*****7291
|
|
@@ -93,6 +101,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
|
93
101
|
workspaceStatus?: string;
|
|
94
102
|
static names(): { [key: string]: string } {
|
|
95
103
|
return {
|
|
104
|
+
config: 'Config',
|
|
96
105
|
createTime: 'CreateTime',
|
|
97
106
|
creator: 'Creator',
|
|
98
107
|
isSessionShareEnabled: 'IsSessionShareEnabled',
|
|
@@ -109,6 +118,7 @@ export class GetDataAgentWorkspaceInfoResponseBodyData extends $dara.Model {
|
|
|
109
118
|
|
|
110
119
|
static types(): { [key: string]: any } {
|
|
111
120
|
return {
|
|
121
|
+
config: 'string',
|
|
112
122
|
createTime: 'string',
|
|
113
123
|
creator: 'string',
|
|
114
124
|
isSessionShareEnabled: 'boolean',
|
|
@@ -156,7 +166,7 @@ export class GetDataAgentWorkspaceInfoResponseBody extends $dara.Model {
|
|
|
156
166
|
errorMessage?: string;
|
|
157
167
|
/**
|
|
158
168
|
* @remarks
|
|
159
|
-
* The ID
|
|
169
|
+
* The request ID.
|
|
160
170
|
*
|
|
161
171
|
* @example
|
|
162
172
|
* E0D2-*****-A63B6
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetListMcpServerToolsResultRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The DMS unit identifier. This
|
|
8
|
+
* The DMS unit identifier. This is typically the same as the DMSUnit used in the request to start tool detection.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cn-hangzhou
|
|
@@ -13,7 +13,7 @@ export class GetListMcpServerToolsResultRequest extends $dara.Model {
|
|
|
13
13
|
DMSUnit?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The MCP
|
|
16
|
+
* The MCP server ID used when starting the detection. It must match the detection record corresponding to SessionId.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 44lg***z65
|
|
@@ -21,7 +21,7 @@ export class GetListMcpServerToolsResultRequest extends $dara.Model {
|
|
|
21
21
|
mcpServerUuid?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The temporary session ID returned by StartListMcpServerTools
|
|
24
|
+
* The temporary session ID returned by StartListMcpServerTools, which is used to locate this connectivity detection task.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 1vwe***6wr
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetListMcpServerToolsResultResponseBodyDataTools extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description of the MCP tool
|
|
8
|
+
* The description of the MCP tool.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* query user information by user ID
|
|
@@ -13,7 +13,7 @@ export class GetListMcpServerToolsResultResponseBodyDataTools extends $dara.Mode
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The JSON
|
|
16
|
+
* The JSON schema string for the input parameters of the tool.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* {"type":"object","properties":{"userId":{"type":"string"}}}
|
|
@@ -21,7 +21,7 @@ export class GetListMcpServerToolsResultResponseBodyDataTools extends $dara.Mode
|
|
|
21
21
|
inputSchema?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The MCP tool
|
|
24
|
+
* The name of the MCP tool.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* query_user
|
|
@@ -55,7 +55,7 @@ export class GetListMcpServerToolsResultResponseBodyDataTools extends $dara.Mode
|
|
|
55
55
|
export class GetListMcpServerToolsResultResponseBodyData extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* Indicates whether the MCP
|
|
58
|
+
* Indicates whether the MCP server is accessible. The value is true only when State is success.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* true
|
|
@@ -63,12 +63,7 @@ export class GetListMcpServerToolsResultResponseBodyData extends $dara.Model {
|
|
|
63
63
|
accessible?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The detection status. Valid values:
|
|
67
|
-
* - pending: The detection is in progress.
|
|
68
|
-
* - success: The detection succeeded.
|
|
69
|
-
* - failed: The detection failed or timed out.
|
|
70
|
-
*
|
|
71
|
-
* The top-level Success field can be true in all three business states.
|
|
66
|
+
* The detection status. Valid values: pending: The detection is in progress. success: The detection succeeded. failed: The detection failed or timed out. The top-level Success field can be true in all three business statuses.
|
|
72
67
|
*
|
|
73
68
|
* @example
|
|
74
69
|
* success
|
|
@@ -110,12 +105,12 @@ export class GetListMcpServerToolsResultResponseBodyData extends $dara.Model {
|
|
|
110
105
|
export class GetListMcpServerToolsResultResponseBody extends $dara.Model {
|
|
111
106
|
/**
|
|
112
107
|
* @remarks
|
|
113
|
-
* The
|
|
108
|
+
* The connectivity detection results of the MCP server. The business status is indicated by State.
|
|
114
109
|
*/
|
|
115
110
|
data?: GetListMcpServerToolsResultResponseBodyData;
|
|
116
111
|
/**
|
|
117
112
|
* @remarks
|
|
118
|
-
* The
|
|
113
|
+
* The error code. The value is success if the request succeeds, or the corresponding error code if the request fails.
|
|
119
114
|
*
|
|
120
115
|
* @example
|
|
121
116
|
* success
|
|
@@ -123,7 +118,7 @@ export class GetListMcpServerToolsResultResponseBody extends $dara.Model {
|
|
|
123
118
|
errorCode?: string;
|
|
124
119
|
/**
|
|
125
120
|
* @remarks
|
|
126
|
-
* The error message returned when
|
|
121
|
+
* The error message returned when the request fails at the system level.
|
|
127
122
|
*
|
|
128
123
|
* @example
|
|
129
124
|
* no mcp connect test record for session
|
|
@@ -131,7 +126,7 @@ export class GetListMcpServerToolsResultResponseBody extends $dara.Model {
|
|
|
131
126
|
errorMessage?: string;
|
|
132
127
|
/**
|
|
133
128
|
* @remarks
|
|
134
|
-
* The request ID, which is used to locate
|
|
129
|
+
* The request ID, which is used to locate the call.
|
|
135
130
|
*
|
|
136
131
|
* @example
|
|
137
132
|
* 550***544
|
|
@@ -139,7 +134,7 @@ export class GetListMcpServerToolsResultResponseBody extends $dara.Model {
|
|
|
139
134
|
requestId?: string;
|
|
140
135
|
/**
|
|
141
136
|
* @remarks
|
|
142
|
-
* Indicates whether the request was successful.
|
|
137
|
+
* Indicates whether the request was successful. A value of true indicates success. A value of false indicates failure.
|
|
143
138
|
*
|
|
144
139
|
* @example
|
|
145
140
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the executor. User IDs start with usr_, and agent IDs start with agt_. If you do not specify this parameter, all records within the current tenant are queried. If you specify a user ID, the records of the user and their agents are included. If you specify an agent ID, only the records of the agent are matched. The executor must belong to the current tenant.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -13,7 +13,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
13
13
|
actorId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the
|
|
16
|
+
* The name of the executor for exact match.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* demo-user
|
|
@@ -21,7 +21,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the
|
|
24
|
+
* The type of the executor for exact match. Valid values: HUMAN and AGENT.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -29,7 +29,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
29
29
|
actorType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The Catalog UUID for exact match. You can obtain this value by calling ListAgenticCatalog or SearchAgenticCatalog.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* mc-HZ-OfjcNc2z***
|
|
@@ -37,7 +37,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
37
37
|
catalogUuid?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The Database UUID for exact match. You can obtain this value by calling ListAgenticDatabase or SearchAgenticDatabase.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* md-HZ-fp9K7r***
|
|
@@ -45,7 +45,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
45
45
|
databaseUuid?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The end time of the query.
|
|
48
|
+
* The end time of the query. Format: yyyy-MM-dd HH:mm:ss. Default value: the current time. If the format cannot be parsed or the end time is earlier than the start time, the request fails.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2026-06-01 00:00:00
|
|
@@ -61,10 +61,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
61
61
|
page?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The execution scenario for exact match. Valid values:
|
|
65
|
-
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
66
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously executed through a workflow.
|
|
67
|
-
* If you do not specify this parameter, both scenarios are queried.
|
|
64
|
+
* The execution scenario for exact match. Valid values: AGENT_QUERY (the agent directly executes the SQL statement) and WORKFLOW_QUERY (the SQL statement is asynchronously executed through a workflow). If you do not specify this parameter, both scenarios are queried.
|
|
68
65
|
*
|
|
69
66
|
* @example
|
|
70
67
|
* AGENT_QUERY
|
|
@@ -80,7 +77,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
80
77
|
size?: number;
|
|
81
78
|
/**
|
|
82
79
|
* @remarks
|
|
83
|
-
* The keyword for fuzzy match
|
|
80
|
+
* The keyword for fuzzy match against the original SQL statement.
|
|
84
81
|
*
|
|
85
82
|
* @example
|
|
86
83
|
* SELECT
|
|
@@ -96,7 +93,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesRequest extends $dara.Model {
|
|
|
96
93
|
sqlType?: string;
|
|
97
94
|
/**
|
|
98
95
|
* @remarks
|
|
99
|
-
* The start time of the query.
|
|
96
|
+
* The start time of the query. Format: yyyy-MM-dd HH:mm:ss. Default value: the last 7 days. If the specified time is earlier than 730 days ago or the format cannot be parsed, the query starts from 730 days ago.
|
|
100
97
|
*
|
|
101
98
|
* @example
|
|
102
99
|
* 2026-01-01 00:00:00
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the executor. User IDs start with usr_, and agent IDs start with agt_.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* usr_10001
|
|
@@ -13,7 +13,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
13
13
|
actorId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The name of the
|
|
16
|
+
* The name of the executor.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* demo-user
|
|
@@ -21,7 +21,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
21
21
|
actorName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The type of the
|
|
24
|
+
* The type of the executor. Valid values: HUMAN (user) and AGENT (agent).
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* HUMAN
|
|
@@ -45,7 +45,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
45
45
|
agentOwnerId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The Catalog UUID to which the current execution belongs.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* mc-HZ-OfjcNc2z***
|
|
@@ -53,7 +53,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
53
53
|
catalogUuid?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The IP address of the client that initiates the execution, excluding the port. This parameter is empty in workflow scenarios or when
|
|
56
|
+
* The IP address of the client that initiates the execution, excluding the port. This parameter is empty in workflow scenarios or when not recorded.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 203.0.113.10
|
|
@@ -77,7 +77,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
77
77
|
databaseSearchName?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The Database UUID to which the current execution belongs.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* md-HZ-fp9K7r***
|
|
@@ -85,7 +85,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
85
85
|
databaseUuid?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The error message
|
|
88
|
+
* The error message when the execution fails.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* syntax error
|
|
@@ -93,7 +93,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
93
93
|
error?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The
|
|
96
|
+
* The actually executed SQL statement.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* SELECT 1
|
|
@@ -101,10 +101,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
101
101
|
executedSql?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The execution status. Valid values:
|
|
105
|
-
* - SUCCESS: The execution is successful.
|
|
106
|
-
* - FAILED: The execution fails.
|
|
107
|
-
* - BLOCKED: The execution is blocked or not actually executed.
|
|
104
|
+
* The execution status. Valid values: SUCCESS, FAILED, and BLOCKED (intercepted or not actually executed).
|
|
108
105
|
*
|
|
109
106
|
* @example
|
|
110
107
|
* SUCCESS
|
|
@@ -120,7 +117,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
120
117
|
originalSql?: string;
|
|
121
118
|
/**
|
|
122
119
|
* @remarks
|
|
123
|
-
* The query ID of the execution.
|
|
120
|
+
* The query ID of the current execution.
|
|
124
121
|
*
|
|
125
122
|
* @example
|
|
126
123
|
* trace-10001
|
|
@@ -136,9 +133,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
136
133
|
returnedRows?: number;
|
|
137
134
|
/**
|
|
138
135
|
* @remarks
|
|
139
|
-
* The execution scenario. Valid values:
|
|
140
|
-
* - AGENT_QUERY: The agent directly executes the SQL statement.
|
|
141
|
-
* - WORKFLOW_QUERY: The SQL statement is asynchronously executed through a workflow.
|
|
136
|
+
* The execution scenario. Valid values: AGENT_QUERY (the agent directly executes the SQL statement) and WORKFLOW_QUERY (the SQL statement is asynchronously executed through a workflow).
|
|
142
137
|
*
|
|
143
138
|
* @example
|
|
144
139
|
* AGENT_QUERY
|
|
@@ -154,7 +149,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBodyData extends $dar
|
|
|
154
149
|
sqlType?: string;
|
|
155
150
|
/**
|
|
156
151
|
* @remarks
|
|
157
|
-
* The start time
|
|
152
|
+
* The execution start time. Format: yyyy-MM-dd HH:mm:ss.
|
|
158
153
|
*
|
|
159
154
|
* @example
|
|
160
155
|
* 2026-01-01 00:00:00
|
|
@@ -259,9 +254,7 @@ export class ListAgenticGlobalSqlExecutionHistoriesResponseBody extends $dara.Mo
|
|
|
259
254
|
requestId?: string;
|
|
260
255
|
/**
|
|
261
256
|
* @remarks
|
|
262
|
-
* Indicates whether the request is successful. Valid values:
|
|
263
|
-
* - true: The request is successful.
|
|
264
|
-
* - false: The request fails.
|
|
257
|
+
* Indicates whether the request is successful. Valid values: true and false.
|
|
265
258
|
*/
|
|
266
259
|
success?: boolean;
|
|
267
260
|
/**
|