@alicloud/dms20250414 4.3.2 → 4.4.0

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 (112) hide show
  1. package/dist/client.d.ts +43 -22
  2. package/dist/client.js +98 -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/CreateCustomAgentRequest.d.ts +53 -43
  14. package/dist/models/CreateCustomAgentRequest.js +2 -0
  15. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
  17. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
  18. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  19. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  20. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
  21. package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
  22. package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
  23. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
  24. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  25. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  26. package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
  27. package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
  28. package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
  29. package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
  30. package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
  31. package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
  32. package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
  33. package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
  34. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
  35. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
  36. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
  37. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
  38. package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
  39. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  40. package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
  41. package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
  42. package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
  43. package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
  44. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
  45. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
  46. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
  47. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  48. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  49. package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
  50. package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
  51. package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
  52. package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
  53. package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
  54. package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
  55. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  56. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
  57. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  58. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  59. package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
  60. package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
  61. package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
  62. package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
  63. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +50 -18
  64. package/dist/models/UpdateAgenticDataSourceRequest.js +8 -0
  65. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  66. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +22 -14
  67. package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
  68. package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
  69. package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
  70. package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
  71. package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
  72. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
  73. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
  74. package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
  75. package/dist/models/model.d.ts +10 -0
  76. package/dist/models/model.js +38 -18
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +2 -1
  79. package/src/client.ts +110 -22
  80. package/src/models/AddAgenticDataSourceRequest.ts +18 -27
  81. package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
  82. package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
  83. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
  84. package/src/models/CreateCustomAgentRequest.ts +55 -43
  85. package/src/models/CreateCustomAgentResponseBody.ts +23 -23
  86. package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
  87. package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
  88. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
  89. package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
  90. package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
  91. package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
  92. package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
  93. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
  94. package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
  95. package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
  96. package/src/models/GetAgenticDatabaseRequest.ts +1 -1
  97. package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
  98. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
  99. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
  100. package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
  101. package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
  102. package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
  103. package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
  104. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  105. package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
  106. package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
  107. package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
  108. package/src/models/UpdateAgenticDataSourceRequest.ts +58 -18
  109. package/src/models/UpdateAgenticDataSourceResponseBody.ts +24 -14
  110. package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
  111. package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
  112. package/src/models/model.ts +10 -0
@@ -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 you do not specify this parameter, the original resource group is retained. This parameter is independent of Schema (database name) and they cannot be used interchangeably.
9
+ *
10
+ * @example
11
+ * resourceGroup1
12
+ */
13
+ adbSparkResourceGroup?: string;
14
+ /**
15
+ * @remarks
16
+ * The new display name of the data source. If you do not specify this parameter, 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 you do not specify this parameter, 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 you do not specify this parameter, 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:
40
+ * Optional. The authentication type. Valid values:
33
41
  * - -1: No authentication required.
34
42
  * - 0: Username and password.
35
43
  * - 1: Password only.
36
44
  * - 2: Password-free.
37
- * If you do not specify this parameter, the authentication type is not updated.
45
+ * If you do not specify this parameter, 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 you do not specify this parameter, 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
@@ -53,7 +61,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
53
61
  * The registration method. Valid values:
54
62
  * - INSTANCE_ID: Select an existing cloud instance.
55
63
  * - HOST_PORT: Register by endpoint and port.
56
- * If you do not specify this parameter, the creation mode is not updated.
64
+ * If you do not specify this parameter, 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 you do not specify this parameter, 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. Do not include the protocol, path, or port. If you do not specify this parameter, 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 cloud resource instance ID. If you do not specify this parameter, 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 you do not specify this parameter, 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 you do not specify this parameter, 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 you do not specify this parameter, 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 Alibaba Cloud RAM role ARN. If you do not specify this parameter, 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, leave this parameter empty. If you do not specify this parameter, the value is not updated.
139
147
  *
140
148
  * @example
141
149
  * postgres
@@ -162,7 +170,7 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
162
170
  * Specifies whether to use the cloud instance name as the data source name. Valid values:
163
171
  * - 1: Yes.
164
172
  * - 0: No.
165
- * If you do not specify this parameter, the sync alias setting is not updated.
173
+ * If you do not specify this parameter, the value is not updated.
166
174
  *
167
175
  * @example
168
176
  * 0
@@ -173,15 +181,40 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
173
181
  * The new SSL setting. Valid values:
174
182
  * - 1: Enable.
175
183
  * - 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.
184
+ * - -1: Use the default setting.
185
+ * If you do not specify this parameter, 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
181
189
  */
182
190
  useSsl?: number;
191
+ /**
192
+ * @remarks
193
+ * The ID of the vSwitch used to access the data source over a VPC NAT link. Optional. If you do not specify this parameter, the original value is retained.
194
+ *
195
+ * @example
196
+ * vsw-23dscddcffvf3****
197
+ */
198
+ vSwitchId?: string;
199
+ /**
200
+ * @remarks
201
+ * The ID of the VPC used to access the data source over a VPC NAT link. This parameter is used to supplement the missing VPC information in the instance details. Optional. If you do not specify this parameter, the original value is retained.
202
+ *
203
+ * @example
204
+ * vpc-25cdvfeq58pl****
205
+ */
206
+ vpcId?: string;
207
+ /**
208
+ * @remarks
209
+ * The ID of the zone used to access the data source over a VPC NAT link. Optional. If you do not specify this parameter, the original value is retained.
210
+ *
211
+ * @example
212
+ * cn-hangzhou-d
213
+ */
214
+ zoneId?: string;
183
215
  static names(): { [key: string]: string } {
184
216
  return {
217
+ adbSparkResourceGroup: 'AdbSparkResourceGroup',
185
218
  alias: 'Alias',
186
219
  authAccount: 'AuthAccount',
187
220
  authPassword: 'AuthPassword',
@@ -202,11 +235,15 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
202
235
  snowflakeWarehouse: 'SnowflakeWarehouse',
203
236
  syncAlias: 'SyncAlias',
204
237
  useSsl: 'UseSsl',
238
+ vSwitchId: 'VSwitchId',
239
+ vpcId: 'VpcId',
240
+ zoneId: 'ZoneId',
205
241
  };
206
242
  }
207
243
 
208
244
  static types(): { [key: string]: any } {
209
245
  return {
246
+ adbSparkResourceGroup: 'string',
210
247
  alias: 'string',
211
248
  authAccount: 'string',
212
249
  authPassword: 'string',
@@ -227,6 +264,9 @@ export class UpdateAgenticDataSourceRequest extends $dara.Model {
227
264
  snowflakeWarehouse: 'string',
228
265
  syncAlias: 'number',
229
266
  useSsl: 'number',
267
+ vSwitchId: 'string',
268
+ vpcId: 'string',
269
+ zoneId: 'string',
230
270
  };
231
271
  }
232
272
 
@@ -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 parameter is returned only for data source details where 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.
@@ -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****
@@ -67,7 +75,7 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
67
75
  dataSourceUuid?: string;
68
76
  /**
69
77
  * @remarks
70
- * The type of the data source. 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.
78
+ * The data source type. 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.
71
79
  *
72
80
  * @example
73
81
  * MYSQL
@@ -117,10 +125,10 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
117
125
  * @remarks
118
126
  * The source of the data source. Valid values:
119
127
  * - RDS: ApsaraDB instance
120
- * - PUBLIC_OWN: self-managed database on the Internet
121
- * - ECS_OWN: self-managed database on an ECS instance
122
- * - GATEWAY: connected through Database Gateway
123
- * - VPC_IDC: connected through a VPC or IDC
128
+ * - PUBLIC_OWN: self-managed database connected over the Internet
129
+ * - ECS_OWN: self-managed database hosted on an ECS instance
130
+ * - GATEWAY: database connected through Database Gateway
131
+ * - VPC_IDC: database connected through a VPC or data center
124
132
  *
125
133
  * @example
126
134
  * RDS
@@ -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 parameter 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 RAM role used to access the data source. This parameter is empty if role-based authorization is not used.
172
180
  *
173
181
  * @example
174
182
  * acs:ram::123456789012****:role/DataSourceRole
@@ -206,9 +214,9 @@ export class UpdateAgenticDataSourceResponseBodyData extends $dara.Model {
206
214
  /**
207
215
  * @remarks
208
216
  * The SSL settings. Valid values:
209
- * - 1: enabled
210
- * - 0: disabled
211
- * - -1: default settings
217
+ * - 1: enable
218
+ * - 0: disable
219
+ * - -1: use default settings
212
220
  *
213
221
  * @example
214
222
  * 1
@@ -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 parameter is empty when the call is successful.
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 parameter is empty when the call is successful.
301
311
  *
302
312
  * @example
303
313
  * The parameter is invalid
@@ -305,7 +315,7 @@ export class UpdateAgenticDataSourceResponseBody extends $dara.Model {
305
315
  errorMessage?: string;
306
316
  /**
307
317
  * @remarks
308
- * The ID of the request.
318
+ * The request ID used to trace the call.
309
319
  *
310
320
  * @example
311
321
  * request-1234567890