@alicloud/dms20250414 4.3.1 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +26 -26
- package/dist/client.js +41 -26
- package/dist/client.js.map +1 -1
- package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
- package/dist/models/AddAgenticDataSourceRequest.js +2 -0
- package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
- package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +8 -5
- package/dist/models/CreateDataAgentSkillMetaRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +6 -6
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
- package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
- package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
- package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
- package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
- package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
- package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
- package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
- package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +9 -12
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +13 -20
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +7 -8
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -1
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +18 -16
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
- package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
- package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +36 -28
- package/dist/models/UpdateAgenticDataSourceRequest.js +2 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +19 -11
- package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -26
- package/src/models/AddAgenticDataSourceRequest.ts +18 -27
- package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
- package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
- package/src/models/CreateDataAgentSkillMetaRequest.ts +8 -5
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +7 -7
- package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
- package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
- package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
- package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
- package/src/models/GetAgenticDatabaseRequest.ts +1 -1
- package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
- package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
- package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
- package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
- package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +9 -12
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +13 -20
- package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +7 -8
- package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +18 -16
- package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
- package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
- package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
- package/src/models/UpdateAgenticDataSourceRequest.ts +38 -28
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +21 -11
- package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
- package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The workspace configuration items.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* {sql_config:null}
|
|
9
|
+
*/
|
|
10
|
+
config?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The creation time of the session (UNIX timestamp in seconds).
|
|
6
14
|
*
|
|
7
15
|
* @example
|
|
8
16
|
* 1765960516
|
|
@@ -10,7 +18,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
10
18
|
createTime?: string;
|
|
11
19
|
/**
|
|
12
20
|
* @remarks
|
|
13
|
-
* The
|
|
21
|
+
* The UID of the workspace creator.
|
|
14
22
|
*
|
|
15
23
|
* @example
|
|
16
24
|
* 20282*****7591
|
|
@@ -18,7 +26,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
18
26
|
creator?: string;
|
|
19
27
|
/**
|
|
20
28
|
* @remarks
|
|
21
|
-
* The description of the
|
|
29
|
+
* The description of the table.
|
|
22
30
|
*
|
|
23
31
|
* @example
|
|
24
32
|
* space for test new
|
|
@@ -26,7 +34,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
26
34
|
description?: string;
|
|
27
35
|
/**
|
|
28
36
|
* @remarks
|
|
29
|
-
* Indicates whether session sharing
|
|
37
|
+
* Indicates whether session sharing within the workspace is supported.
|
|
30
38
|
*
|
|
31
39
|
* @example
|
|
32
40
|
* true
|
|
@@ -34,7 +42,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
34
42
|
isSessionShareEnabled?: boolean;
|
|
35
43
|
/**
|
|
36
44
|
* @remarks
|
|
37
|
-
* The time
|
|
45
|
+
* The last modification time of the workspace (UNIX timestamp in seconds).
|
|
38
46
|
*
|
|
39
47
|
* @example
|
|
40
48
|
* 1765962516
|
|
@@ -42,7 +50,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
42
50
|
modifyTime?: string;
|
|
43
51
|
/**
|
|
44
52
|
* @remarks
|
|
45
|
-
* The
|
|
53
|
+
* The name of the removed user role.
|
|
46
54
|
*
|
|
47
55
|
* @example
|
|
48
56
|
* active
|
|
@@ -58,7 +66,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
58
66
|
totalMember?: string;
|
|
59
67
|
/**
|
|
60
68
|
* @remarks
|
|
61
|
-
* The ID
|
|
69
|
+
* The workspace ID.
|
|
62
70
|
*
|
|
63
71
|
* @example
|
|
64
72
|
* 20923*****7291
|
|
@@ -94,12 +102,12 @@ export declare class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Mode
|
|
|
94
102
|
export declare class UpdateDataAgentSpaceInfoResponseBody extends $dara.Model {
|
|
95
103
|
/**
|
|
96
104
|
* @remarks
|
|
97
|
-
* The
|
|
105
|
+
* The response struct.
|
|
98
106
|
*/
|
|
99
107
|
data?: UpdateDataAgentSpaceInfoResponseBodyData;
|
|
100
108
|
/**
|
|
101
109
|
* @remarks
|
|
102
|
-
* The error code returned
|
|
110
|
+
* The error code returned when a request exception occurs.
|
|
103
111
|
*
|
|
104
112
|
* @example
|
|
105
113
|
* DMS-DA-40114
|
|
@@ -107,7 +115,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBody extends $dara.Model {
|
|
|
107
115
|
errorCode?: string;
|
|
108
116
|
/**
|
|
109
117
|
* @remarks
|
|
110
|
-
* The error message returned
|
|
118
|
+
* The error message returned when the call fails.
|
|
111
119
|
*
|
|
112
120
|
* @example
|
|
113
121
|
* Specified parameter is not valid.
|
|
@@ -123,7 +131,7 @@ export declare class UpdateDataAgentSpaceInfoResponseBody extends $dara.Model {
|
|
|
123
131
|
requestId?: string;
|
|
124
132
|
/**
|
|
125
133
|
* @remarks
|
|
126
|
-
* Indicates whether the request
|
|
134
|
+
* Indicates whether the request is successful.
|
|
127
135
|
*
|
|
128
136
|
* @example
|
|
129
137
|
* true
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
config: 'Config',
|
|
42
43
|
createTime: 'CreateTime',
|
|
43
44
|
creator: 'Creator',
|
|
44
45
|
description: 'Description',
|
|
@@ -53,6 +54,7 @@ class UpdateDataAgentSpaceInfoResponseBodyData extends $dara.Model {
|
|
|
53
54
|
}
|
|
54
55
|
static types() {
|
|
55
56
|
return {
|
|
57
|
+
config: 'string',
|
|
56
58
|
createTime: 'string',
|
|
57
59
|
creator: 'string',
|
|
58
60
|
description: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateDataAgentSpaceInfoResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateDataAgentSpaceInfoResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateDataAgentSpaceInfoResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateDataAgentSpaceInfoResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAyFvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,qBAAqB,EAAE,uBAAuB;YAC9C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,qBAAqB,EAAE,SAAS;YAChC,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhID,4FAgIC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAsCnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,wCAAwC;YAC9C,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,oFAoEC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -30,7 +30,7 @@ export default class Client extends OpenApi {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Creates a data source
|
|
33
|
+
* Creates a data source that can be accessed by the Agent data gateway.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
|
|
@@ -42,6 +42,10 @@ export default class Client extends OpenApi {
|
|
|
42
42
|
async addAgenticDataSourceWithOptions(request: $_model.AddAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAgenticDataSourceResponse> {
|
|
43
43
|
request.validate();
|
|
44
44
|
let query = { };
|
|
45
|
+
if (!$dara.isNull(request.adbSparkResourceGroup)) {
|
|
46
|
+
query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
|
|
47
|
+
}
|
|
48
|
+
|
|
45
49
|
if (!$dara.isNull(request.alias)) {
|
|
46
50
|
query["Alias"] = request.alias;
|
|
47
51
|
}
|
|
@@ -152,7 +156,7 @@ export default class Client extends OpenApi {
|
|
|
152
156
|
}
|
|
153
157
|
|
|
154
158
|
/**
|
|
155
|
-
* Creates a data source
|
|
159
|
+
* Creates a data source that can be accessed by the Agent data gateway.
|
|
156
160
|
*
|
|
157
161
|
* @remarks
|
|
158
162
|
* Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
|
|
@@ -1282,7 +1286,7 @@ export default class Client extends OpenApi {
|
|
|
1282
1286
|
}
|
|
1283
1287
|
|
|
1284
1288
|
/**
|
|
1285
|
-
* Creates a DataAgent workspace.
|
|
1289
|
+
* Creates a DataAgent collaborative workspace.
|
|
1286
1290
|
*
|
|
1287
1291
|
* @param request - CreateDataAgentWorkspaceRequest
|
|
1288
1292
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1291,6 +1295,10 @@ export default class Client extends OpenApi {
|
|
|
1291
1295
|
async createDataAgentWorkspaceWithOptions(request: $_model.CreateDataAgentWorkspaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentWorkspaceResponse> {
|
|
1292
1296
|
request.validate();
|
|
1293
1297
|
let query = { };
|
|
1298
|
+
if (!$dara.isNull(request.config)) {
|
|
1299
|
+
query["Config"] = request.config;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1294
1302
|
if (!$dara.isNull(request.DMSUnit)) {
|
|
1295
1303
|
query["DMSUnit"] = request.DMSUnit;
|
|
1296
1304
|
}
|
|
@@ -1325,7 +1333,7 @@ export default class Client extends OpenApi {
|
|
|
1325
1333
|
}
|
|
1326
1334
|
|
|
1327
1335
|
/**
|
|
1328
|
-
* Creates a DataAgent workspace.
|
|
1336
|
+
* Creates a DataAgent collaborative workspace.
|
|
1329
1337
|
*
|
|
1330
1338
|
* @param request - CreateDataAgentWorkspaceRequest
|
|
1331
1339
|
* @returns CreateDataAgentWorkspaceResponse
|
|
@@ -1409,7 +1417,7 @@ export default class Client extends OpenApi {
|
|
|
1409
1417
|
* Deletes a data source and its associated metadata catalog.
|
|
1410
1418
|
*
|
|
1411
1419
|
* @remarks
|
|
1412
|
-
* After deletion, the data source
|
|
1420
|
+
* After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
|
|
1413
1421
|
*
|
|
1414
1422
|
* @param request - DeleteAgenticDataSourceRequest
|
|
1415
1423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1443,7 +1451,7 @@ export default class Client extends OpenApi {
|
|
|
1443
1451
|
* Deletes a data source and its associated metadata catalog.
|
|
1444
1452
|
*
|
|
1445
1453
|
* @remarks
|
|
1446
|
-
* After deletion, the data source
|
|
1454
|
+
* After deletion, the data source can no longer establish connections and cannot be recovered by calling the enable API operation.
|
|
1447
1455
|
*
|
|
1448
1456
|
* @param request - DeleteAgenticDataSourceRequest
|
|
1449
1457
|
* @returns DeleteAgenticDataSourceResponse
|
|
@@ -2820,7 +2828,7 @@ export default class Client extends OpenApi {
|
|
|
2820
2828
|
}
|
|
2821
2829
|
|
|
2822
2830
|
/**
|
|
2823
|
-
* Queries the details of a data source by
|
|
2831
|
+
* Queries the details of a data source by UUID.
|
|
2824
2832
|
*
|
|
2825
2833
|
* @remarks
|
|
2826
2834
|
* Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
|
|
@@ -2854,7 +2862,7 @@ export default class Client extends OpenApi {
|
|
|
2854
2862
|
}
|
|
2855
2863
|
|
|
2856
2864
|
/**
|
|
2857
|
-
* Queries the details of a data source by
|
|
2865
|
+
* Queries the details of a data source by UUID.
|
|
2858
2866
|
*
|
|
2859
2867
|
* @remarks
|
|
2860
2868
|
* Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
|
|
@@ -3458,7 +3466,7 @@ export default class Client extends OpenApi {
|
|
|
3458
3466
|
}
|
|
3459
3467
|
|
|
3460
3468
|
/**
|
|
3461
|
-
*
|
|
3469
|
+
* Retrieves the details of a collaborative workspace.
|
|
3462
3470
|
*
|
|
3463
3471
|
* @param request - GetDataAgentWorkspaceInfoRequest
|
|
3464
3472
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3493,7 +3501,7 @@ export default class Client extends OpenApi {
|
|
|
3493
3501
|
}
|
|
3494
3502
|
|
|
3495
3503
|
/**
|
|
3496
|
-
*
|
|
3504
|
+
* Retrieves the details of a collaborative workspace.
|
|
3497
3505
|
*
|
|
3498
3506
|
* @param request - GetDataAgentWorkspaceInfoRequest
|
|
3499
3507
|
* @returns GetDataAgentWorkspaceInfoResponse
|
|
@@ -3504,7 +3512,7 @@ export default class Client extends OpenApi {
|
|
|
3504
3512
|
}
|
|
3505
3513
|
|
|
3506
3514
|
/**
|
|
3507
|
-
* Queries the
|
|
3515
|
+
* Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
|
|
3508
3516
|
*
|
|
3509
3517
|
* @param request - GetListMcpServerToolsResultRequest
|
|
3510
3518
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3543,7 +3551,7 @@ export default class Client extends OpenApi {
|
|
|
3543
3551
|
}
|
|
3544
3552
|
|
|
3545
3553
|
/**
|
|
3546
|
-
* Queries the
|
|
3554
|
+
* Queries the connectivity and tool list results of an MCP server based on the session ID returned when the detection was started.
|
|
3547
3555
|
*
|
|
3548
3556
|
* @param request - GetListMcpServerToolsResultRequest
|
|
3549
3557
|
* @returns GetListMcpServerToolsResultResponse
|
|
@@ -4334,7 +4342,7 @@ export default class Client extends OpenApi {
|
|
|
4334
4342
|
}
|
|
4335
4343
|
|
|
4336
4344
|
/**
|
|
4337
|
-
* Queries the SQL execution history within the current tenant
|
|
4345
|
+
* Queries the SQL execution history within the current tenant, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4338
4346
|
*
|
|
4339
4347
|
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
4340
4348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4409,7 +4417,7 @@ export default class Client extends OpenApi {
|
|
|
4409
4417
|
}
|
|
4410
4418
|
|
|
4411
4419
|
/**
|
|
4412
|
-
* Queries the SQL execution history within the current tenant
|
|
4420
|
+
* Queries the SQL execution history within the current tenant, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4413
4421
|
*
|
|
4414
4422
|
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
4415
4423
|
* @returns ListAgenticGlobalSqlExecutionHistoriesResponse
|
|
@@ -4420,12 +4428,12 @@ export default class Client extends OpenApi {
|
|
|
4420
4428
|
}
|
|
4421
4429
|
|
|
4422
4430
|
/**
|
|
4423
|
-
* Queries the user security policy of the current Alibaba Cloud account by
|
|
4431
|
+
* Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
|
|
4424
4432
|
*
|
|
4425
4433
|
* @remarks
|
|
4426
4434
|
* This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
|
|
4427
|
-
* - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned
|
|
4428
|
-
* - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of
|
|
4435
|
+
* - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned, and they are not filtered by PolicyStatus or IncludeArchived.
|
|
4436
|
+
* - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of entries in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
|
|
4429
4437
|
* - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
|
|
4430
4438
|
* - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
|
|
4431
4439
|
*
|
|
@@ -4470,12 +4478,12 @@ export default class Client extends OpenApi {
|
|
|
4470
4478
|
}
|
|
4471
4479
|
|
|
4472
4480
|
/**
|
|
4473
|
-
* Queries the user security policy of the current Alibaba Cloud account by
|
|
4481
|
+
* Queries the user security policy of the current Alibaba Cloud account by using paging and returns the enabled system default security policy.
|
|
4474
4482
|
*
|
|
4475
4483
|
* @remarks
|
|
4476
4484
|
* This operation returns the enabled system default policies and the user policies of the current Alibaba Cloud account.
|
|
4477
|
-
* - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned
|
|
4478
|
-
* - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of
|
|
4485
|
+
* - System default policies are placed at the beginning of the list. Only policies in the ON (enabled) state are returned, and they are not filtered by PolicyStatus or IncludeArchived.
|
|
4486
|
+
* - Page and Size are used to paginate user policies. Each call also returns up to Size enabled system default policies. Therefore, the number of entries in Data may be greater than Size, and the same system default policies may be repeatedly returned during pagination.
|
|
4479
4487
|
* - TotalCount is the sum of the number of all enabled system default policies and the number of user policies that meet the filter conditions.
|
|
4480
4488
|
* - You can use Readonly to distinguish between the two types of policies: true indicates a system default policy, and false indicates a user policy.
|
|
4481
4489
|
*
|
|
@@ -4488,7 +4496,7 @@ export default class Client extends OpenApi {
|
|
|
4488
4496
|
}
|
|
4489
4497
|
|
|
4490
4498
|
/**
|
|
4491
|
-
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY
|
|
4499
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4492
4500
|
*
|
|
4493
4501
|
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
4494
4502
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4563,7 +4571,7 @@ export default class Client extends OpenApi {
|
|
|
4563
4571
|
}
|
|
4564
4572
|
|
|
4565
4573
|
/**
|
|
4566
|
-
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY
|
|
4574
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only includes AGENT_QUERY and WORKFLOW_QUERY.
|
|
4567
4575
|
*
|
|
4568
4576
|
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
4569
4577
|
* @returns ListAgenticSqlExecutionHistoriesResponse
|
|
@@ -7410,6 +7418,10 @@ export default class Client extends OpenApi {
|
|
|
7410
7418
|
async testAgenticDataSourceConnectionWithOptions(request: $_model.TestAgenticDataSourceConnectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TestAgenticDataSourceConnectionResponse> {
|
|
7411
7419
|
request.validate();
|
|
7412
7420
|
let query = { };
|
|
7421
|
+
if (!$dara.isNull(request.adbSparkResourceGroup)) {
|
|
7422
|
+
query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
|
|
7423
|
+
}
|
|
7424
|
+
|
|
7413
7425
|
if (!$dara.isNull(request.alias)) {
|
|
7414
7426
|
query["Alias"] = request.alias;
|
|
7415
7427
|
}
|
|
@@ -7533,7 +7545,7 @@ export default class Client extends OpenApi {
|
|
|
7533
7545
|
* Updates the connection, authentication, or display information of an existing data source.
|
|
7534
7546
|
*
|
|
7535
7547
|
* @remarks
|
|
7536
|
-
* Only the parameters passed in the current request are modified.
|
|
7548
|
+
* Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
|
|
7537
7549
|
*
|
|
7538
7550
|
* @param request - UpdateAgenticDataSourceRequest
|
|
7539
7551
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7542,6 +7554,10 @@ export default class Client extends OpenApi {
|
|
|
7542
7554
|
async updateAgenticDataSourceWithOptions(request: $_model.UpdateAgenticDataSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAgenticDataSourceResponse> {
|
|
7543
7555
|
request.validate();
|
|
7544
7556
|
let query = { };
|
|
7557
|
+
if (!$dara.isNull(request.adbSparkResourceGroup)) {
|
|
7558
|
+
query["AdbSparkResourceGroup"] = request.adbSparkResourceGroup;
|
|
7559
|
+
}
|
|
7560
|
+
|
|
7545
7561
|
if (!$dara.isNull(request.alias)) {
|
|
7546
7562
|
query["Alias"] = request.alias;
|
|
7547
7563
|
}
|
|
@@ -7643,7 +7659,7 @@ export default class Client extends OpenApi {
|
|
|
7643
7659
|
* Updates the connection, authentication, or display information of an existing data source.
|
|
7644
7660
|
*
|
|
7645
7661
|
* @remarks
|
|
7646
|
-
* Only the parameters passed in the current request are modified.
|
|
7662
|
+
* Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
|
|
7647
7663
|
*
|
|
7648
7664
|
* @param request - UpdateAgenticDataSourceRequest
|
|
7649
7665
|
* @returns UpdateAgenticDataSourceResponse
|
|
@@ -7918,7 +7934,7 @@ export default class Client extends OpenApi {
|
|
|
7918
7934
|
}
|
|
7919
7935
|
|
|
7920
7936
|
/**
|
|
7921
|
-
* Updates
|
|
7937
|
+
* Updates the information of a workspace.
|
|
7922
7938
|
*
|
|
7923
7939
|
* @param request - UpdateDataAgentSpaceInfoRequest
|
|
7924
7940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7927,6 +7943,10 @@ export default class Client extends OpenApi {
|
|
|
7927
7943
|
async updateDataAgentSpaceInfoWithOptions(request: $_model.UpdateDataAgentSpaceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDataAgentSpaceInfoResponse> {
|
|
7928
7944
|
request.validate();
|
|
7929
7945
|
let query = { };
|
|
7946
|
+
if (!$dara.isNull(request.config)) {
|
|
7947
|
+
query["Config"] = request.config;
|
|
7948
|
+
}
|
|
7949
|
+
|
|
7930
7950
|
if (!$dara.isNull(request.DMSUnit)) {
|
|
7931
7951
|
query["DMSUnit"] = request.DMSUnit;
|
|
7932
7952
|
}
|
|
@@ -7965,7 +7985,7 @@ export default class Client extends OpenApi {
|
|
|
7965
7985
|
}
|
|
7966
7986
|
|
|
7967
7987
|
/**
|
|
7968
|
-
* Updates
|
|
7988
|
+
* Updates the information of a workspace.
|
|
7969
7989
|
*
|
|
7970
7990
|
* @param request - UpdateDataAgentSpaceInfoRequest
|
|
7971
7991
|
* @returns UpdateDataAgentSpaceInfoResponse
|
|
@@ -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
|
|
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,
|
|
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
|
|
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',
|