@alicloud/dms20250414 4.3.2 → 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 +22 -22
- package/dist/client.js +37 -22
- 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/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/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- 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 +42 -22
- 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/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/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- 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,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to include archived policies in the query scope
|
|
8
|
+
* Specifies whether to include archived policies in the user policy query scope. Valid values:
|
|
9
9
|
* - true: Includes archived policies.
|
|
10
10
|
* - false: Does not include archived policies.
|
|
11
|
-
* Default value: false. When
|
|
11
|
+
* Default value: false. When you query archived policies, do not specify PolicyStatus. If you specify ON or OFF, only user policies in the corresponding state are returned. This parameter does not affect system default policies.
|
|
12
12
|
*/
|
|
13
13
|
includeArchived?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The page number
|
|
16
|
+
* The page number for querying user policies. Pages start from 1. Default value: 1. Only user policies are paginated. System default policies are returned separately in each call.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1
|
|
@@ -21,7 +21,10 @@ export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
|
21
21
|
page?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The filter condition for the user policy status. Valid values:
|
|
24
|
+
* The filter condition for the user policy status. Valid values:
|
|
25
|
+
* - ON: The policy is enabled.
|
|
26
|
+
* - OFF: The policy is disabled.
|
|
27
|
+
* If this parameter is not specified or contains only whitespace characters, policies are not filtered by status. You cannot specify ARCHIVED. To query archived user policies, do not specify this parameter and set IncludeArchived to true. This parameter does not affect system default policies.
|
|
25
28
|
*
|
|
26
29
|
* @example
|
|
27
30
|
* ON
|
|
@@ -29,7 +32,7 @@ export class ListAgenticSecurityPoliciesRequest extends $dara.Model {
|
|
|
29
32
|
policyStatus?: string;
|
|
30
33
|
/**
|
|
31
34
|
* @remarks
|
|
32
|
-
* The number of user policies to query on each page. Valid values: 1 to 100. Default value: 20. In addition, each call returns up to Size enabled system default policies. Therefore, the number of
|
|
35
|
+
* The number of user policies to query on each page. Valid values: 1 to 100. Default value: 20. In addition, each call returns up to Size enabled system default policies. Therefore, the number of returned Data entries may be greater than Size.
|
|
33
36
|
*
|
|
34
37
|
* @example
|
|
35
38
|
* 20
|
|
@@ -13,7 +13,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
13
13
|
aliyunAccountUid?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the system default policy inherited by the user policy. This
|
|
16
|
+
* The ID of the system default policy inherited by the user policy. This parameter is empty when no inheritance relationship is configured. This value is not returned for system default policies.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* sp-sys-default
|
|
@@ -21,7 +21,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
21
21
|
basePolicyId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The description of the security policy. The description of a system default policy is returned in the language of the
|
|
24
|
+
* The description of the security policy. The description of a system default policy is returned in the language of the call context.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* Read-only access policy for analytics
|
|
@@ -29,7 +29,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
29
29
|
description?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
32
|
+
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 2026-10-13 14:30:00
|
|
@@ -37,7 +37,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
37
37
|
gmtCreate?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
40
|
+
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 2026-10-13 14:35:00
|
|
@@ -45,7 +45,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
45
45
|
gmtModified?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The business ID of the security policy.
|
|
48
|
+
* The business ID of the security policy. The ID of a system default policy starts with sp-sys-, and the ID of a user policy starts with sp-usr-.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* sp-sys-default
|
|
@@ -53,7 +53,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
53
53
|
policyId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The policy name. The name of a system default policy is returned in the language of the call context.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* team-readonly-policy
|
|
@@ -62,9 +62,9 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
64
|
* The current state of the security policy. Valid values:
|
|
65
|
-
* - ON:
|
|
66
|
-
* - OFF:
|
|
67
|
-
* - ARCHIVED:
|
|
65
|
+
* - ON: The policy is enabled.
|
|
66
|
+
* - OFF: The policy is disabled.
|
|
67
|
+
* - ARCHIVED: The policy is archived.
|
|
68
68
|
* All system default policies returned by this operation are in the ON state.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
@@ -73,7 +73,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
73
73
|
policyStatus?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
*
|
|
76
|
+
* Indicates whether the policy is read-only. Valid values:
|
|
77
77
|
* - true: The policy is a system default policy.
|
|
78
78
|
* - false: The policy is a user policy of the current account.
|
|
79
79
|
*/
|
|
@@ -88,7 +88,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
88
88
|
tags?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The identifier of the operator
|
|
91
|
+
* The identifier of the operator who last modified the policy. For user policies, the operator ID is recorded first. If no operator ID is available, the UID of the current Alibaba Cloud account is recorded.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* system
|
|
@@ -138,7 +138,7 @@ export class ListAgenticSecurityPoliciesResponseBodyData extends $dara.Model {
|
|
|
138
138
|
export class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The list of security policies returned by
|
|
141
|
+
* The list of security policies returned by the current query. Enabled system default policies are placed at the beginning, followed by the user policies on the current page. You can use Readonly to distinguish between the two types of policies.
|
|
142
142
|
*/
|
|
143
143
|
data?: ListAgenticSecurityPoliciesResponseBodyData[];
|
|
144
144
|
/**
|
|
@@ -159,7 +159,7 @@ export class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
|
|
|
159
159
|
errorMessage?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The request ID, which is used to locate and trace
|
|
162
|
+
* The request ID, which is used to locate and trace the call.
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
* request-1234567890
|
|
@@ -21,7 +21,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
21
21
|
DMSUnit?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The page size.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* no use
|
|
@@ -63,7 +63,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
63
63
|
pageNumber?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The number of
|
|
66
|
+
* The number of records per page.
|
|
67
67
|
*
|
|
68
68
|
* This parameter is required.
|
|
69
69
|
*
|
|
@@ -81,7 +81,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
81
81
|
workspaceName?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The workspace type
|
|
84
|
+
* The workspace type.
|
|
85
85
|
*
|
|
86
86
|
* This parameter is required.
|
|
87
87
|
*
|