@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
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The creation time of the workspace. The value is a timestamp in milliseconds.
8
+ * The workspace configuration items.
9
+ *
10
+ * @example
11
+ * {sql_config:null}
12
+ */
13
+ config?: string;
14
+ /**
15
+ * @remarks
16
+ * The time when the workspace was created. The value is a timestamp in milliseconds.
9
17
  *
10
18
  * @example
11
19
  * 1765960516000
@@ -45,7 +53,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
45
53
  description?: string;
46
54
  /**
47
55
  * @remarks
48
- * Indicates whether session sharing is enabled for the workspace.
56
+ * Indicates whether workspace sessions are shared.
49
57
  *
50
58
  * @example
51
59
  * true
@@ -53,7 +61,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
53
61
  isSessionShareEnabled?: boolean;
54
62
  /**
55
63
  * @remarks
56
- * The last modification time of the workspace. The value is a timestamp in milliseconds.
64
+ * The time when the workspace was last modified. The value is a timestamp in milliseconds.
57
65
  *
58
66
  * @example
59
67
  * 1765961516000
@@ -61,7 +69,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
61
69
  modifyTime?: number;
62
70
  /**
63
71
  * @remarks
64
- * The role name of the user in the workspace.
72
+ * The name of the user\\"s role in the workspace.
65
73
  *
66
74
  * @example
67
75
  * admin
@@ -125,6 +133,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
125
133
  workspaceStatus?: string;
126
134
  static names(): { [key: string]: string } {
127
135
  return {
136
+ config: 'Config',
128
137
  createTime: 'CreateTime',
129
138
  creator: 'Creator',
130
139
  creatorName: 'CreatorName',
@@ -145,6 +154,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
145
154
 
146
155
  static types(): { [key: string]: any } {
147
156
  return {
157
+ config: 'string',
148
158
  createTime: 'number',
149
159
  creator: 'string',
150
160
  creatorName: 'string',
@@ -266,7 +276,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
266
276
  errorMessage?: string;
267
277
  /**
268
278
  * @remarks
269
- * The maximum number of results per page.
279
+ * The page size.
270
280
  *
271
281
  * @example
272
282
  * nu use
@@ -282,7 +292,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
282
292
  nextToken?: string;
283
293
  /**
284
294
  * @remarks
285
- * The request ID.
295
+ * The ID of the request.
286
296
  *
287
297
  * @example
288
298
  * E0D2-*****-A63B6
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The alias. You can leave this parameter empty when testing a connection. This parameter does not create or modify a data source.
8
+ * The name of the AnalyticDB for MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. You must specify a resource group when connecting to this type of data source. This parameter is independent of Schema (database name) and they cannot replace each other.
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
14
+ /**
15
+ * @remarks
16
+ * The alias. You can leave this parameter empty when testing a connection. This operation does not create or modify a data source.
9
17
  *
10
18
  * @example
11
19
  * demo_mysql
@@ -29,7 +37,11 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
29
37
  authPassword?: string;
30
38
  /**
31
39
  * @remarks
32
- * The authentication type. This parameter is optional. Valid values: -1 (no authentication required), 0 (username and password), 1 (password only), and 2 (password-free).
40
+ * The authentication type. This parameter is optional. Valid values:
41
+ * - -1: No authentication required.
42
+ * - 0: Username and password.
43
+ * - 1: Password only.
44
+ * - 2: Password-free.
33
45
  *
34
46
  * @example
35
47
  * 0
@@ -37,7 +49,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
37
49
  authType?: number;
38
50
  /**
39
51
  * @remarks
40
- * The catalog name. You can leave this parameter empty when testing a connection. This parameter does not create a metadata catalog.
52
+ * The catalog name. You can leave this parameter empty when testing a connection. This operation does not create a metadata catalog.
41
53
  *
42
54
  * @example
43
55
  * demo_catalog
@@ -45,7 +57,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
45
57
  catalogName?: string;
46
58
  /**
47
59
  * @remarks
48
- * The UUID of the data source. This parameter is required when testing an existing data source. If no new password is passed, the saved password is reused. Leave this parameter empty when testing a new data source.
60
+ * The UUID of the data source. Specify this parameter when testing an existing data source. If no new password is passed, the saved password is reused. Leave this parameter empty when testing a new data source.
49
61
  *
50
62
  * @example
51
63
  * cn-hangzhou_a1b2c3d4e5f6
@@ -53,7 +65,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
53
65
  dataSourceUuid?: string;
54
66
  /**
55
67
  * @remarks
56
- * The type of the data source. Use uppercase letters. Do not pass numbers. Valid values: MYSQL, POSTGRESQL, ORACLE, SQLSERVER, MARIADB, POLARDB, POLARDB_POSTGRESQL, POLARDB_ORACLE, OCEANBASEX, DRDS, ADB_MYSQL, ADB_POSTGRESQL, CLICKHOUSE, SELECTDB, STARROCKS, HOLOGRES, MAXCOMPUTE, ES_REST, and TRINO.
68
+ * The type of the data source. Use uppercase letters for the identifier. Do not pass numbers. Valid values: MYSQL, POSTGRESQL, ORACLE, SQLSERVER, MARIADB, POLARDB, POLARDB_POSTGRESQL, POLARDB_ORACLE, OCEANBASEX, DRDS, ADB_MYSQL, ADB_POSTGRESQL, CLICKHOUSE, SELECTDB, STARROCKS, HOLOGRES, MAXCOMPUTE, ES_REST, and TRINO.
57
69
  *
58
70
  * This parameter is required.
59
71
  *
@@ -71,7 +83,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
71
83
  envType?: string;
72
84
  /**
73
85
  * @remarks
74
- * The domain name or IP address of the database. Do not include the protocol, path, or port. This parameter is optional. You can leave this parameter empty when you select an existing cloud instance and the endpoint is automatically populated.
86
+ * The domain name or IP address of the database. Do not include the protocol, path, or port. This parameter is optional. You can leave this parameter empty if you select an existing cloud instance and the address is automatically populated.
75
87
  *
76
88
  * @example
77
89
  * mysql.example.com
@@ -79,7 +91,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
79
91
  host?: string;
80
92
  /**
81
93
  * @remarks
82
- * The ID of the cloud resource instance. This parameter is required when you select an existing cloud instance. You can leave this parameter empty when you enter a connection endpoint.
94
+ * The ID of the cloud resource instance. Specify this parameter when you select an existing cloud instance. You can leave this parameter empty when you enter an endpoint.
83
95
  *
84
96
  * @example
85
97
  * rm-bp1234567890
@@ -89,10 +101,10 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
89
101
  * @remarks
90
102
  * The source of the data source. Valid values:
91
103
  * - RDS: ApsaraDB instance.
92
- * - PUBLIC_OWN: self-managed database connected over the Internet.
93
- * - ECS_OWN: self-managed database hosted on an ECS instance.
94
- * - GATEWAY: database connected through Database Gateway.
95
- * - VPC_IDC: database connected over a VPC or data center.
104
+ * - PUBLIC_OWN: Self-managed database connected over the Internet.
105
+ * - ECS_OWN: Self-managed database hosted on an ECS instance.
106
+ * - GATEWAY: Database connected through Database Gateway.
107
+ * - VPC_IDC: Database connected through a VPC or data center.
96
108
  *
97
109
  * This parameter is required.
98
110
  *
@@ -102,7 +114,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
102
114
  instanceSource?: string;
103
115
  /**
104
116
  * @remarks
105
- * The name of the KMS secret. This parameter is required when you use KMS to manage database credentials. Leave this parameter empty in other scenarios.
117
+ * The name of the credential managed by Key Management Service (KMS). Specify this parameter when you use KMS to manage database credentials. Leave this parameter empty in other scenarios.
106
118
  *
107
119
  * @example
108
120
  * datasource-secret
@@ -110,7 +122,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
110
122
  kmsSecret?: string;
111
123
  /**
112
124
  * @remarks
113
- * The service port of the database. This parameter is optional. You can leave this parameter empty when you select an existing cloud instance and the port is automatically populated.
125
+ * The service port of the database. This parameter is optional. You can leave this parameter empty if you select an existing cloud instance and the port is automatically populated.
114
126
  *
115
127
  * @example
116
128
  * 3306
@@ -118,7 +130,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
118
130
  port?: number;
119
131
  /**
120
132
  * @remarks
121
- * The complete ARN of the RAM role. This parameter is required when you use an Alibaba Cloud RAM role to access the data source. Leave this parameter empty in other scenarios.
133
+ * The complete ARN of the Resource Access Management (RAM) role. Specify this parameter when you use an Alibaba Cloud RAM role to access the data source. Leave this parameter empty in other scenarios.
122
134
  *
123
135
  * @example
124
136
  * acs:ram::123456789012****:role/DataSourceRole
@@ -126,7 +138,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
126
138
  roleArn?: string;
127
139
  /**
128
140
  * @remarks
129
- * The schema name. This parameter is optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, enter the database name. For ORACLE, enter the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, enter the SID. For MAXCOMPUTE, enter the project name. Leave this parameter empty for other types.
141
+ * The schema name. This parameter is optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. Leave this parameter empty for other types.
130
142
  *
131
143
  * @example
132
144
  * postgres
@@ -150,7 +162,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
150
162
  snowflakeWarehouse?: string;
151
163
  /**
152
164
  * @remarks
153
- * Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This parameter does not modify the data source name.
165
+ * Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This operation does not modify the data source name.
154
166
  *
155
167
  * @example
156
168
  * 0
@@ -161,7 +173,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
161
173
  * Specifies whether to enable SSL. Valid values:
162
174
  * - 1: Enable.
163
175
  * - 0: Disable.
164
- * - -1: Use the default setting.
176
+ * - -1: Use default settings.
165
177
  * SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS. Leave this parameter empty for other types.
166
178
  *
167
179
  * @example
@@ -170,7 +182,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
170
182
  useSsl?: number;
171
183
  /**
172
184
  * @remarks
173
- * The ID of the vSwitch. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
185
+ * The ID of the vSwitch. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
174
186
  *
175
187
  * @example
176
188
  * vsw-bp1234567890
@@ -178,7 +190,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
178
190
  vSwitchId?: string;
179
191
  /**
180
192
  * @remarks
181
- * The ID of the VPC. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
193
+ * The ID of the VPC. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
182
194
  *
183
195
  * @example
184
196
  * vpc-bp1234567890
@@ -186,7 +198,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
186
198
  vpcId?: string;
187
199
  /**
188
200
  * @remarks
189
- * The zone ID. This parameter is required when you access MaxCompute over a VPC. Leave this parameter empty in other scenarios.
201
+ * The ID of the zone. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
190
202
  *
191
203
  * @example
192
204
  * cn-hangzhou-h
@@ -194,6 +206,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
194
206
  zoneId?: string;
195
207
  static names(): { [key: string]: string } {
196
208
  return {
209
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
197
210
  alias: 'Alias',
198
211
  authAccount: 'AuthAccount',
199
212
  authPassword: 'AuthPassword',
@@ -221,6 +234,7 @@ export class TestAgenticDataSourceConnectionRequest extends $dara.Model {
221
234
 
222
235
  static types(): { [key: string]: any } {
223
236
  return {
237
+ adbSparkResourceGroup: 'string',
224
238
  alias: 'string',
225
239
  authAccount: 'string',
226
240
  authPassword: 'string',
@@ -8,12 +8,12 @@ export class TestAgenticDataSourceConnectionResponseBodyData extends $dara.Model
8
8
  * The description of the connection test result. This parameter is usually empty when the connection is successful, and returns the cause when the connection fails.
9
9
  *
10
10
  * @example
11
- * Connection timed out. Check the connection endpoint
11
+ * Connection timed out. Check the endpoint.
12
12
  */
13
13
  message?: string;
14
14
  /**
15
15
  * @remarks
16
- * Indicates whether the data source is connected.
16
+ * Indicates whether the data source is connected successfully.
17
17
  */
18
18
  success?: boolean;
19
19
  static names(): { [key: string]: string } {
@@ -63,7 +63,7 @@ export class TestAgenticDataSourceConnectionResponseBody extends $dara.Model {
63
63
  errorMessage?: string;
64
64
  /**
65
65
  * @remarks
66
- * The request ID, which is used to locate the current call.
66
+ * The ID of the request.
67
67
  *
68
68
  * @example
69
69
  * request-1234567890
@@ -71,7 +71,7 @@ export class TestAgenticDataSourceConnectionResponseBody extends $dara.Model {
71
71
  requestId?: string;
72
72
  /**
73
73
  * @remarks
74
- * Indicates whether the current call is successful.
74
+ * Indicates whether the call is successful.
75
75
  */
76
76
  success?: boolean;
77
77
  static names(): { [key: string]: string } {
@@ -5,7 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAgenticDataSourceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The new display name of the data source. If you do not specify this parameter, the alias is not updated.
8
+ * The name of the AnalyticDB for MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. If this parameter is not specified, the original resource group is retained. This parameter is independent of Schema (database name) and they cannot replace each other.
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
14
+ /**
15
+ * @remarks
16
+ * The new display name of the data source. If this parameter is not specified, the value is not updated.
9
17
  *
10
18
  * @example
11
19
  * demo_mysql
@@ -13,7 +21,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
13
21
  alias?: string;
14
22
  /**
15
23
  * @remarks
16
- * The new logon username. If you do not specify this parameter, the authentication account is not updated.
24
+ * The new logon username. If this parameter is not specified, the value is not updated.
17
25
  *
18
26
  * @example
19
27
  * db_user
@@ -21,7 +29,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
21
29
  authAccount?: string;
22
30
  /**
23
31
  * @remarks
24
- * The new logon password. If you do not specify this parameter, the authentication password is not updated. This is sensitive information. Do not record or disclose it.
32
+ * The new logon password. If this parameter is not specified, the value is not updated. This is sensitive information. Do not record or disclose it.
25
33
  *
26
34
  * @example
27
35
  * P@ss****
@@ -29,12 +37,12 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
29
37
  authPassword?: string;
30
38
  /**
31
39
  * @remarks
32
- * Optional. Valid values:
33
- * - -1: No authentication required.
34
- * - 0: Username and password.
35
- * - 1: Password only.
36
- * - 2: Password-free.
37
- * If you do not specify this parameter, the authentication type is not updated.
40
+ * Optional. The authentication type. Valid values:
41
+ * - -1: no authentication required
42
+ * - 0: username and password
43
+ * - 1: password only
44
+ * - 2: password-free
45
+ * If this parameter is not specified, the value is not updated.
38
46
  *
39
47
  * @example
40
48
  * 0
@@ -42,7 +50,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
42
50
  authType?: number;
43
51
  /**
44
52
  * @remarks
45
- * The new name of the metadata catalog. If you do not specify this parameter, the catalog name is not updated. 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.
53
+ * The new name of the metadata catalog. If this parameter is not specified, the value is not updated. 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.
46
54
  *
47
55
  * @example
48
56
  * demo_catalog
@@ -51,9 +59,9 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
51
59
  /**
52
60
  * @remarks
53
61
  * The registration method. Valid values:
54
- * - INSTANCE_ID: Select an existing cloud instance.
55
- * - HOST_PORT: Register by endpoint and port.
56
- * If you do not specify this parameter, the creation mode is not updated.
62
+ * - INSTANCE_ID: select an existing cloud instance
63
+ * - HOST_PORT: register by endpoint and port
64
+ * If this parameter is not specified, the value is not updated.
57
65
  *
58
66
  * @example
59
67
  * HOST_PORT
@@ -79,7 +87,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
79
87
  dbType?: string;
80
88
  /**
81
89
  * @remarks
82
- * The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If you do not specify this parameter, the environment type is not updated.
90
+ * The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If this parameter is not specified, the value is not updated.
83
91
  *
84
92
  * @example
85
93
  * product
@@ -87,7 +95,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
87
95
  envType?: string;
88
96
  /**
89
97
  * @remarks
90
- * Optional. The new domain name or IP address of the database. Do not include the protocol, path, or port. If you do not specify this parameter, the host is not updated.
98
+ * Optional. The new domain name or IP address of the database. It cannot contain the protocol, path, or port. If this parameter is not specified, the value is not updated.
91
99
  *
92
100
  * @example
93
101
  * mysql.example.com
@@ -95,7 +103,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
95
103
  host?: string;
96
104
  /**
97
105
  * @remarks
98
- * The new ID of the cloud resource instance. If you do not specify this parameter, the instance resource ID is not updated.
106
+ * The new ID of the cloud resource instance. If this parameter is not specified, the value is not updated.
99
107
  *
100
108
  * @example
101
109
  * rm-bp1234567890
@@ -103,7 +111,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
103
111
  instanceResourceId?: string;
104
112
  /**
105
113
  * @remarks
106
- * The new name of the KMS-managed credential. If you do not specify this parameter, the KMS secret is not updated.
114
+ * The new name of the KMS-managed credential. If this parameter is not specified, the value is not updated.
107
115
  *
108
116
  * @example
109
117
  * datasource-secret
@@ -111,7 +119,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
111
119
  kmsSecret?: string;
112
120
  /**
113
121
  * @remarks
114
- * Optional. The new ID of the data access security policy. If you do not specify this parameter, the policy ID is not updated.
122
+ * Optional. The new ID of the data access security policy. If this parameter is not specified, the value is not updated.
115
123
  *
116
124
  * @example
117
125
  * sp-usr-example
@@ -119,7 +127,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
119
127
  policyId?: string;
120
128
  /**
121
129
  * @remarks
122
- * Optional. The new service port of the database. If you do not specify this parameter, the service port is not updated.
130
+ * Optional. The new service port of the database. If this parameter is not specified, the value is not updated.
123
131
  *
124
132
  * @example
125
133
  * 3306
@@ -127,7 +135,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
127
135
  port?: number;
128
136
  /**
129
137
  * @remarks
130
- * The new ARN of the Alibaba Cloud RAM role. If you do not specify this parameter, the role ARN is not updated.
138
+ * The new ARN of the Alibaba Cloud RAM role. If this parameter is not specified, the value is not updated.
131
139
  *
132
140
  * @example
133
141
  * acs:ram::123456789012****:role/DataSourceRole
@@ -135,7 +143,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
135
143
  roleArn?: string;
136
144
  /**
137
145
  * @remarks
138
- * Optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. For other types, leave this parameter empty. If you do not specify this parameter, the schema is not updated.
146
+ * Optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. For other types, do not specify this parameter. If this parameter is not specified, the value is not updated.
139
147
  *
140
148
  * @example
141
149
  * postgres
@@ -160,9 +168,9 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
160
168
  /**
161
169
  * @remarks
162
170
  * Specifies whether to use the cloud instance name as the data source name. Valid values:
163
- * - 1: Yes.
164
- * - 0: No.
165
- * If you do not specify this parameter, the sync alias setting is not updated.
171
+ * - 1: yes
172
+ * - 0: no
173
+ * If this parameter is not specified, the value is not updated.
166
174
  *
167
175
  * @example
168
176
  * 0
@@ -171,10 +179,10 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
171
179
  /**
172
180
  * @remarks
173
181
  * The new SSL setting. Valid values:
174
- * - 1: Enable.
175
- * - 0: Disable.
176
- * - -1: Use default settings.
177
- * If you do not specify this parameter, the SSL setting is not updated. SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS.
182
+ * - 1: enable
183
+ * - 0: disable
184
+ * - -1: use default settings
185
+ * If this parameter is not specified, the value is not updated. SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS.
178
186
  *
179
187
  * @example
180
188
  * 1
@@ -182,6 +190,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
182
190
  useSsl?: number;
183
191
  static names(): { [key: string]: string } {
184
192
  return {
193
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
185
194
  alias: 'Alias',
186
195
  authAccount: 'AuthAccount',
187
196
  authPassword: 'AuthPassword',
@@ -207,6 +216,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
207
216
 
208
217
  static types(): { [key: string]: any } {
209
218
  return {
219
+ adbSparkResourceGroup: 'string',
210
220
  alias: 'string',
211
221
  authAccount: 'string',
212
222
  authPassword: 'string',
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateAgenticDataSourceResponseBodyData 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 UpdateAgenticDataSourceResponseBodyData 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
@@ -21,7 +29,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
21
29
  authAccount?: string;
22
30
  /**
23
31
  * @remarks
24
- * The masked value of the password or token. The actual value is not returned.
32
+ * The masked value of the password or token. The actual content is not returned.
25
33
  *
26
34
  * @example
27
35
  * P@ss****
@@ -91,7 +99,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
91
99
  gmtCreate?: string;
92
100
  /**
93
101
  * @remarks
94
- * The time when the data source was last updated. The format is yyyy-MM-dd HH:mm:ss.
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 UpdateAgenticDataSourceResponseBodyData 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
@@ -128,7 +136,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
128
136
  instanceSource?: string;
129
137
  /**
130
138
  * @remarks
131
- * The name of the KMS-managed credential. This parameter is empty if KMS is not used. This is sensitive information.
139
+ * The name of the KMS managed credential. This field is empty if KMS is not used and is considered sensitive information.
132
140
  *
133
141
  * @example
134
142
  * datasource-secret
@@ -136,7 +144,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
136
144
  kmsSecret?: string;
137
145
  /**
138
146
  * @remarks
139
- * The ID of the data access security policy in use. This parameter is empty if no policy is configured.
147
+ * The ID of the data access security policy currently in use. This field is empty if no policy is set.
140
148
  *
141
149
  * @example
142
150
  * sp-usr-example
@@ -168,7 +176,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
168
176
  resourceAccountId?: string;
169
177
  /**
170
178
  * @remarks
171
- * The ARN of the RAM role used to access the data source. This parameter is empty if role authorization is not used.
179
+ * The ARN of the Alibaba Cloud RAM role used to access the data source. This field is empty if role authorization is not used.
172
180
  *
173
181
  * @example
174
182
  * acs:ram::123456789012****:role/DataSourceRole
@@ -176,7 +184,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
176
184
  roleArn?: string;
177
185
  /**
178
186
  * @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.
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 field is usually empty.
180
188
  *
181
189
  * @example
182
190
  * postgres
@@ -216,6 +224,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
216
224
  useSsl?: number;
217
225
  static names(): { [key: string]: string } {
218
226
  return {
227
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
219
228
  alias: 'Alias',
220
229
  authAccount: 'AuthAccount',
221
230
  authPassword: 'AuthPassword',
@@ -245,6 +254,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
245
254
 
246
255
  static types(): { [key: string]: any } {
247
256
  return {
257
+ adbSparkResourceGroup: 'string',
248
258
  alias: 'string',
249
259
  authAccount: 'string',
250
260
  authPassword: 'string',
@@ -289,7 +299,7 @@ export class UpdateAgenticDataSourceResponseBody extends $dara.Model {
289
299
  data?: UpdateAgenticDataSourceResponseBodyData;
290
300
  /**
291
301
  * @remarks
292
- * The error code returned if the call fails. This parameter is empty if the call is successful.
302
+ * The error code returned when the call fails. This field is empty when the call succeeds.
293
303
  *
294
304
  * @example
295
305
  * InvalidParameter
@@ -297,7 +307,7 @@ export class UpdateAgenticDataSourceResponseBody extends $dara.Model {
297
307
  errorCode?: string;
298
308
  /**
299
309
  * @remarks
300
- * The error message returned if the call fails. This parameter is empty if the call is successful.
310
+ * The error message returned when the call fails. This field is empty when the call succeeds.
301
311
  *
302
312
  * @example
303
313
  * The parameter is invalid
@@ -313,7 +323,7 @@ export class UpdateAgenticDataSourceResponseBody extends $dara.Model {
313
323
  requestId?: string;
314
324
  /**
315
325
  * @remarks
316
- * Indicates whether the call is successful.
326
+ * Indicates whether the call was successful.
317
327
  */
318
328
  success?: boolean;
319
329
  static names(): { [key: string]: string } {
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The workspace configuration items.
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 UpdateDataAgentSpaceInfoRequest extends $dara.Model {
13
21
  DMSUnit?: string;
14
22
  /**
15
23
  * @remarks
16
- * Specifies whether to enable session sharing for the workspace. Valid values: true and false.
24
+ * Specifies whether to enable the session sharing feature for the workspace.
17
25
  *
18
26
  * @example
19
27
  * true
@@ -21,7 +29,7 @@ export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
21
29
  isSessionShareEnabled?: boolean;
22
30
  /**
23
31
  * @remarks
24
- * The new description for the workspace.
32
+ * The new description of the workspace.
25
33
  *
26
34
  * @example
27
35
  * space for test new
@@ -29,7 +37,7 @@ export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
29
37
  workspaceDesc?: string;
30
38
  /**
31
39
  * @remarks
32
- * The ID of the workspace.
40
+ * The workspace ID.
33
41
  *
34
42
  * @example
35
43
  * 20923*****7291
@@ -37,7 +45,7 @@ export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
37
45
  workspaceId?: string;
38
46
  /**
39
47
  * @remarks
40
- * The new name for the workspace.
48
+ * The new name of the workspace.
41
49
  *
42
50
  * @example
43
51
  * yunqitest_v2
@@ -45,6 +53,7 @@ export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
45
53
  workspaceName?: string;
46
54
  static names(): { [key: string]: string } {
47
55
  return {
56
+ config: 'Config',
48
57
  DMSUnit: 'DMSUnit',
49
58
  isSessionShareEnabled: 'IsSessionShareEnabled',
50
59
  workspaceDesc: 'WorkspaceDesc',
@@ -55,6 +64,7 @@ export class UpdateDataAgentSpaceInfoRequest extends $dara.Model {
55
64
 
56
65
  static types(): { [key: string]: any } {
57
66
  return {
67
+ config: 'string',
58
68
  DMSUnit: 'string',
59
69
  isSessionShareEnabled: 'boolean',
60
70
  workspaceDesc: 'string',