@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.
Files changed (82) hide show
  1. package/dist/client.d.ts +22 -22
  2. package/dist/client.js +37 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
  5. package/dist/models/AddAgenticDataSourceRequest.js +2 -0
  6. package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
  7. package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
  8. package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
  9. package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
  10. package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
  11. package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
  12. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
  13. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
  14. package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
  15. package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
  16. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
  17. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  18. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  19. package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
  20. package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
  21. package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
  22. package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
  23. package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
  24. package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
  25. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
  26. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
  27. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
  28. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  29. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  30. package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
  31. package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
  32. package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
  33. package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
  34. package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
  35. package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
  36. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  37. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
  38. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  39. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  40. package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
  41. package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
  42. package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
  43. package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
  44. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +36 -28
  45. package/dist/models/UpdateAgenticDataSourceRequest.js +2 -0
  46. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  47. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +19 -11
  48. package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
  49. package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
  50. package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
  51. package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
  52. package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
  53. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
  54. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
  55. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client.ts +42 -22
  58. package/src/models/AddAgenticDataSourceRequest.ts +18 -27
  59. package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
  60. package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
  61. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
  62. package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
  63. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
  64. package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
  65. package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
  66. package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
  67. package/src/models/GetAgenticDatabaseRequest.ts +1 -1
  68. package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
  69. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
  70. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
  71. package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
  72. package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
  73. package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
  74. package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
  75. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  76. package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
  77. package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
  78. package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
  79. package/src/models/UpdateAgenticDataSourceRequest.ts +38 -28
  80. package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -11
  81. package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
  82. 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 AddAgenticDataSourceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the ADB MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. You must specify a resource group for this connection type. This parameter is independent of Schema (database name) and they cannot replace each other.
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The display name of the data source. If you do not specify this parameter, the server generates a name.
@@ -13,7 +21,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
13
21
  alias?: string;
14
22
  /**
15
23
  * @remarks
16
- * The logon username. You can leave this parameter empty for authentication methods that do not require a username.
24
+ * The logon username. You can leave this parameter empty if the authentication method does not require a username.
17
25
  *
18
26
  * @example
19
27
  * db_user
@@ -29,11 +37,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
29
37
  authPassword?: string;
30
38
  /**
31
39
  * @remarks
32
- * Optional. The authentication type. Valid values:
33
- * - -1: No authentication required.
34
- * - 0: Username and password.
35
- * - 1: Password only.
36
- * - 2: Password-free.
40
+ * Optional. The authentication type. Valid values: -1: no authentication required, 0: username and password, 1: password only, and 2: password-free.
37
41
  *
38
42
  * @example
39
43
  * 0
@@ -41,7 +45,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
41
45
  authType?: number;
42
46
  /**
43
47
  * @remarks
44
- * The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a Chinese character, a letter, or an underscore, and can contain digits and hyphens. It cannot contain only digits.
48
+ * The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a letter, Chinese character, or underscore, and can contain digits and hyphens. It cannot contain only digits.
45
49
  *
46
50
  * @example
47
51
  * demo_catalog
@@ -49,10 +53,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
49
53
  catalogName?: string;
50
54
  /**
51
55
  * @remarks
52
- * The entry method. Valid values:
53
- * - INSTANCE_ID: Select an existing cloud instance.
54
- * - HOST_PORT: Enter the endpoint and port.
55
- * If you do not specify this parameter, HOST_PORT is used.
56
+ * The entry method. Valid values: INSTANCE_ID: select an existing cloud instance, and HOST_PORT: enter an endpoint and port. If you do not specify this parameter, HOST_PORT is used.
56
57
  *
57
58
  * @example
58
59
  * HOST_PORT
@@ -94,12 +95,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
94
95
  instanceResourceId?: string;
95
96
  /**
96
97
  * @remarks
97
- * The source of the data source. Valid values:
98
- * - RDS: An ApsaraDB instance.
99
- * - PUBLIC_OWN: A self-managed database on the Internet.
100
- * - ECS_OWN: A self-managed database on an ECS instance.
101
- * - GATEWAY: A database accessed through Database Gateway.
102
- * - VPC_IDC: A database accessed through a VPC or data center.
98
+ * The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
103
99
  *
104
100
  * This parameter is required.
105
101
  *
@@ -117,7 +113,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
117
113
  kmsSecret?: string;
118
114
  /**
119
115
  * @remarks
120
- * Optional. The ID of the data access security policy. This policy is used to control the access and protection rules for the data source.
116
+ * Optional. The ID of the data access security policy. This policy is used to control access and protection rules for the data source.
121
117
  *
122
118
  * @example
123
119
  * sp-usr-example
@@ -165,10 +161,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
165
161
  snowflakeWarehouse?: string;
166
162
  /**
167
163
  * @remarks
168
- * Specifies whether to use the cloud instance name as the data source name. Valid values:
169
- * - 1: Yes.
170
- * - 0: No.
171
- * This parameter takes effect only when you select a cloud database instance.
164
+ * Specifies whether to use the cloud instance name as the data source name. Valid values: 1: yes, and 0: no. This parameter takes effect only when you select a cloud database instance.
172
165
  *
173
166
  * @example
174
167
  * 0
@@ -176,11 +169,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
176
169
  syncAlias?: number;
177
170
  /**
178
171
  * @remarks
179
- * Specifies whether to use SSL. Valid values:
180
- * - 1: Enable.
181
- * - 0: Disable.
182
- * - -1: Use the default setting.
183
- * Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
172
+ * Specifies whether to use SSL. Valid values: 1: enabled, 0: disabled, and -1: default settings. Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
184
173
  *
185
174
  * @example
186
175
  * 1
@@ -212,6 +201,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
212
201
  zoneId?: string;
213
202
  static names(): { [key: string]: string } {
214
203
  return {
204
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
215
205
  alias: 'Alias',
216
206
  authAccount: 'AuthAccount',
217
207
  authPassword: 'AuthPassword',
@@ -240,6 +230,7 @@ export class AddAgenticDataSourceRequest extends $dara.Model {
240
230
 
241
231
  static types(): { [key: string]: any } {
242
232
  return {
233
+ adbSparkResourceGroup: 'string',
243
234
  alias: 'string',
244
235
  authAccount: 'string',
245
236
  authPassword: 'string',
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AddAgenticDataSourceResponseBodyData 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. It 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 AddAgenticDataSourceResponseBodyData extends $dara.Model {
13
21
  alias?: string;
14
22
  /**
15
23
  * @remarks
16
- * The logon username for the data source. This parameter is empty if username authentication is not used.
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
@@ -83,7 +91,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
83
91
  envType?: string;
84
92
  /**
85
93
  * @remarks
86
- * The time when the data source was created. The time is in the yyyy-MM-dd HH:mm:ss format.
94
+ * The time when the data source was created. The format is yyyy-MM-dd HH:mm:ss.
87
95
  *
88
96
  * @example
89
97
  * 2026-10-13 14:30:00
@@ -91,7 +99,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
91
99
  gmtCreate?: string;
92
100
  /**
93
101
  * @remarks
94
- * The time when the data source was last modified. The time is in the yyyy-MM-dd HH:mm:ss format.
102
+ * The time when the data source was last modified. The format is yyyy-MM-dd HH:mm:ss.
95
103
  *
96
104
  * @example
97
105
  * 2026-10-13 14:35:00
@@ -107,7 +115,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
107
115
  host?: string;
108
116
  /**
109
117
  * @remarks
110
- * The ID of the cloud resource instance. This parameter may be empty for data sources registered by endpoint.
118
+ * The ID of the cloud resource instance. This field may be empty for data sources registered by endpoint.
111
119
  *
112
120
  * @example
113
121
  * rm-bp1234567890
@@ -115,12 +123,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
115
123
  instanceResourceId?: string;
116
124
  /**
117
125
  * @remarks
118
- * The source of the data source. Valid values:
119
- * - RDS: An ApsaraDB instance.
120
- * - PUBLIC_OWN: A self-managed database on the Internet.
121
- * - ECS_OWN: A self-managed database on an ECS instance.
122
- * - GATEWAY: A database accessed through Database Gateway.
123
- * - VPC_IDC: A database accessed through a VPC or data center.
126
+ * The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
124
127
  *
125
128
  * @example
126
129
  * RDS
@@ -128,7 +131,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
128
131
  instanceSource?: string;
129
132
  /**
130
133
  * @remarks
131
- * The name of the KMS-managed credential. This parameter is empty if KMS is not used. This is sensitive information.
134
+ * The name of the Key Management Service (KMS) managed credential. This field is empty if KMS is not used and is considered sensitive information.
132
135
  *
133
136
  * @example
134
137
  * datasource-secret
@@ -136,7 +139,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
136
139
  kmsSecret?: string;
137
140
  /**
138
141
  * @remarks
139
- * The ID of the data access security policy in use. This parameter is empty if no policy is configured.
142
+ * The ID of the data access security policy currently in use. This field is empty if no policy is configured.
140
143
  *
141
144
  * @example
142
145
  * sp-usr-example
@@ -152,7 +155,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
152
155
  port?: number;
153
156
  /**
154
157
  * @remarks
155
- * The region where the data source resides.
158
+ * The region where the data source is located.
156
159
  *
157
160
  * @example
158
161
  * cn-hangzhou
@@ -168,7 +171,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
168
171
  resourceAccountId?: string;
169
172
  /**
170
173
  * @remarks
171
- * The ARN of the RAM role used to access the data source. This parameter is empty if role authorization is not used.
174
+ * The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role used to access the data source. This field is empty if role-based authorization is not used.
172
175
  *
173
176
  * @example
174
177
  * acs:ram::123456789012****:role/DataSourceRole
@@ -176,7 +179,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
176
179
  roleArn?: string;
177
180
  /**
178
181
  * @remarks
179
- * 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 parameter is usually empty.
182
+ * 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.
180
183
  *
181
184
  * @example
182
185
  * postgres
@@ -195,7 +198,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
195
198
  state?: number;
196
199
  /**
197
200
  * @remarks
198
- * Indicates whether the cloud instance name is used as the data source name. Valid values:
201
+ * Specifies whether to use the cloud instance name as the data source name. Valid values:
199
202
  * - 1: yes
200
203
  * - 0: no
201
204
  *
@@ -216,6 +219,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
216
219
  useSsl?: number;
217
220
  static names(): { [key: string]: string } {
218
221
  return {
222
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
219
223
  alias: 'Alias',
220
224
  authAccount: 'AuthAccount',
221
225
  authPassword: 'AuthPassword',
@@ -245,6 +249,7 @@ export class AddAgenticDataSourceResponseBodyData extends $dara.Model {
245
249
 
246
250
  static types(): { [key: string]: any } {
247
251
  return {
252
+ adbSparkResourceGroup: 'string',
248
253
  alias: 'string',
249
254
  authAccount: 'string',
250
255
  authPassword: 'string',
@@ -289,7 +294,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
289
294
  data?: AddAgenticDataSourceResponseBodyData;
290
295
  /**
291
296
  * @remarks
292
- * The error code returned when the call fails. This parameter is empty if the call is successful.
297
+ * The error code returned when the call fails. This field is empty when the call is successful.
293
298
  *
294
299
  * @example
295
300
  * InvalidParameter
@@ -297,7 +302,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
297
302
  errorCode?: string;
298
303
  /**
299
304
  * @remarks
300
- * The error message returned when the call fails. This parameter is empty if the call is successful.
305
+ * The error message returned when the call fails. This field is empty when the call is successful.
301
306
  *
302
307
  * @example
303
308
  * The parameter is invalid
@@ -305,7 +310,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
305
310
  errorMessage?: string;
306
311
  /**
307
312
  * @remarks
308
- * The request ID, which is used to trace the call.
313
+ * The ID of the request.
309
314
  *
310
315
  * @example
311
316
  * request-1234567890
@@ -313,7 +318,7 @@ export class AddAgenticDataSourceResponseBody extends $dara.Model {
313
318
  requestId?: string;
314
319
  /**
315
320
  * @remarks
316
- * Indicates whether the call was successful.
321
+ * Indicates whether the call is successful.
317
322
  */
318
323
  success?: boolean;
319
324
  static names(): { [key: string]: string } {
@@ -3,9 +3,37 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AgenticDatabaseEngineMeta extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The catalog name in the database engine.
9
+ *
10
+ * @example
11
+ * def
12
+ */
6
13
  catalogName?: string;
14
+ /**
15
+ * @remarks
16
+ * The character set encoding of the database.
17
+ *
18
+ * @example
19
+ * utf8mb4
20
+ */
7
21
  encoding?: string;
22
+ /**
23
+ * @remarks
24
+ * The schema name.
25
+ *
26
+ * @example
27
+ * public
28
+ */
8
29
  schemaName?: string;
30
+ /**
31
+ * @remarks
32
+ * The storage capacity of the database, in MB.
33
+ *
34
+ * @example
35
+ * 1024
36
+ */
9
37
  storageCapacity?: number;
10
38
  static names(): { [key: string]: string } {
11
39
  return {
@@ -13,7 +13,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBodyData extends $dara.Mod
13
13
  accessKey?: string;
14
14
  /**
15
15
  * @remarks
16
- * The AccessKey secret of the credential. This value is returned only once when the credential is created. Keep it secure.
16
+ * The AccessSecret of the credential. This value is returned only once when the credential is created. Keep it secure.
17
17
  *
18
18
  * @example
19
19
  * xxxxxxxx
@@ -126,7 +126,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBody extends $dara.Model {
126
126
  errorMessage?: string;
127
127
  /**
128
128
  * @remarks
129
- * The request ID.
129
+ * The ID of the request.
130
130
  *
131
131
  * @example
132
132
  * 34E01EDD-6A16-4CF0-9541-C644D1BE01AA
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDataAgentWorkspaceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The workspace configurations.
9
+ *
10
+ * @example
11
+ * {sql_config:null}
12
+ */
13
+ config?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The current DMS unit.
@@ -13,7 +21,7 @@ export class CreateDataAgentWorkspaceRequest extends $dara.Model {
13
21
  DMSUnit?: string;
14
22
  /**
15
23
  * @remarks
16
- * Specifies whether session sharing is enabled within the workspace.
24
+ * Specifies whether sessions within the workspace are shared.
17
25
  *
18
26
  * @example
19
27
  * true
@@ -21,7 +29,7 @@ export class CreateDataAgentWorkspaceRequest extends $dara.Model {
21
29
  isSessionShareEnabled?: boolean;
22
30
  /**
23
31
  * @remarks
24
- * The description of the workspace.
32
+ * The description of the collaborative workspace.
25
33
  *
26
34
  * @example
27
35
  * Space for test
@@ -29,7 +37,7 @@ export class CreateDataAgentWorkspaceRequest extends $dara.Model {
29
37
  workspaceDesc?: string;
30
38
  /**
31
39
  * @remarks
32
- * The name of the workspace.
40
+ * The name of the collaborative workspace.
33
41
  *
34
42
  * @example
35
43
  * workspaceTest
@@ -37,6 +45,7 @@ export class CreateDataAgentWorkspaceRequest extends $dara.Model {
37
45
  workspaceName?: string;
38
46
  static names(): { [key: string]: string } {
39
47
  return {
48
+ config: 'Config',
40
49
  DMSUnit: 'DMSUnit',
41
50
  isSessionShareEnabled: 'IsSessionShareEnabled',
42
51
  workspaceDesc: 'WorkspaceDesc',
@@ -46,6 +55,7 @@ export class CreateDataAgentWorkspaceRequest extends $dara.Model {
46
55
 
47
56
  static types(): { [key: string]: any } {
48
57
  return {
58
+ config: 'string',
49
59
  DMSUnit: 'string',
50
60
  isSessionShareEnabled: 'boolean',
51
61
  workspaceDesc: 'string',
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The creation time of the workspace. This value is a UNIX timestamp in seconds.
8
+ * The workspace configurations.
9
+ *
10
+ * @example
11
+ * {sql_config:null}
12
+ */
13
+ config?: string;
14
+ /**
15
+ * @remarks
16
+ * The creation time of the workspace. The value is a UNIX timestamp in seconds.
9
17
  *
10
18
  * @example
11
19
  * 1765960516
@@ -21,7 +29,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
21
29
  creator?: string;
22
30
  /**
23
31
  * @remarks
24
- * Indicates whether session sharing is enabled within the workspace.
32
+ * Indicates whether session sharing within the workspace is supported.
25
33
  *
26
34
  * @example
27
35
  * true
@@ -29,7 +37,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
29
37
  isSessionShareEnabled?: boolean;
30
38
  /**
31
39
  * @remarks
32
- * The most recent modification time of the workspace. This value is a UNIX timestamp in seconds.
40
+ * The last modification time of the workspace. The value is a UNIX timestamp in seconds.
33
41
  *
34
42
  * @example
35
43
  * 1765961516
@@ -37,7 +45,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
37
45
  modifyTime?: number;
38
46
  /**
39
47
  * @remarks
40
- * The role name of the user in the workspace.
48
+ * The name of the user\\"s role in the workspace.
41
49
  *
42
50
  * @example
43
51
  * owner
@@ -45,7 +53,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
45
53
  roleName?: string;
46
54
  /**
47
55
  * @remarks
48
- * The total number of members in the workspace.
56
+ * The number of members in the workspace.
49
57
  *
50
58
  * @example
51
59
  * 11
@@ -54,9 +62,8 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
54
62
  /**
55
63
  * @remarks
56
64
  * The workspace type. Valid values:
57
- *
58
- * - personal: personal workspace.
59
- * - common/null: multi-user collaborative workspace.
65
+ * - personal: Personal workspace.
66
+ * - common or null: Multi-user collaborative workspace.
60
67
  *
61
68
  * @example
62
69
  * personal/common
@@ -96,6 +103,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
96
103
  workspaceStatus?: string;
97
104
  static names(): { [key: string]: string } {
98
105
  return {
106
+ config: 'Config',
99
107
  createTime: 'CreateTime',
100
108
  creator: 'Creator',
101
109
  isSessionShareEnabled: 'IsSessionShareEnabled',
@@ -112,6 +120,7 @@ export class CreateDataAgentWorkspaceResponseBodyData extends $dara.Model {
112
120
 
113
121
  static types(): { [key: string]: any } {
114
122
  return {
123
+ config: 'string',
115
124
  createTime: 'number',
116
125
  creator: 'string',
117
126
  isSessionShareEnabled: 'boolean',
@@ -167,7 +176,7 @@ export class CreateDataAgentWorkspaceResponseBody extends $dara.Model {
167
176
  requestId?: string;
168
177
  /**
169
178
  * @remarks
170
- * Indicates whether the request was successful.
179
+ * Indicates whether the request is successful.
171
180
  *
172
181
  * @example
173
182
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteAgenticDataSourceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The UUID of the data source to delete. Ensure that no workloads are using the data source before deletion.
8
+ * The UUID of the data source to delete. Ensure that the data source is no longer in use before deletion.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteAgenticDataSourceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Indicates whether the deletion was successful.
8
+ * Indicates whether the deletion is successful.
9
9
  */
10
10
  data?: boolean;
11
11
  /**
12
12
  * @remarks
13
- * The error code returned when the call fails. This field is empty when the call succeeds.
13
+ * The error code returned if the call fails. This parameter is empty if the call succeeds.
14
14
  *
15
15
  * @example
16
16
  * InvalidParameter
@@ -18,7 +18,7 @@ export class DeleteAgenticDataSourceResponseBody extends $dara.Model {
18
18
  errorCode?: string;
19
19
  /**
20
20
  * @remarks
21
- * The error message returned when the call fails. This field is empty when the call succeeds.
21
+ * The error message returned if the call fails. This parameter is empty if the call succeeds.
22
22
  *
23
23
  * @example
24
24
  * The parameter is invalid
@@ -26,7 +26,7 @@ export class DeleteAgenticDataSourceResponseBody extends $dara.Model {
26
26
  errorMessage?: string;
27
27
  /**
28
28
  * @remarks
29
- * The ID of the request. You can use this ID to trace the call.
29
+ * The request ID used to trace the call.
30
30
  *
31
31
  * @example
32
32
  * request-1234567890
@@ -34,7 +34,7 @@ export class DeleteAgenticDataSourceResponseBody extends $dara.Model {
34
34
  requestId?: string;
35
35
  /**
36
36
  * @remarks
37
- * Indicates whether the call was successful.
37
+ * Indicates whether the call is successful.
38
38
  */
39
39
  success?: boolean;
40
40
  static names(): { [key: string]: string } {