@alicloud/dms20250414 4.6.0 → 5.0.1
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 +24 -39
- package/dist/client.js +42 -91
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/AgenticCatalog.d.ts +16 -10
- package/dist/models/AgenticCatalog.js.map +1 -1
- package/dist/models/AgenticDatabase.d.ts +109 -0
- package/dist/models/AgenticDatabase.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/AgenticTableEngineMeta.d.ts +84 -0
- package/dist/models/AgenticTableEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableIndex.d.ts +49 -0
- package/dist/models/AgenticTableIndex.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +4 -4
- package/dist/models/CreateAirflowRequest.d.ts +31 -10
- package/dist/models/CreateAirflowRequest.js +6 -0
- package/dist/models/CreateAirflowRequest.js.map +1 -1
- package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
- package/dist/models/CreateAirflowResponseBody.js +6 -0
- package/dist/models/CreateAirflowResponseBody.js.map +1 -1
- package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
- package/dist/models/CreateAirflowShrinkRequest.js +6 -0
- package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +53 -38
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +33 -18
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
- package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
- package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DataAgentApplication.d.ts +124 -2
- package/dist/models/DataAgentApplication.js +45 -1
- package/dist/models/DataAgentApplication.js.map +1 -1
- package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
- package/dist/models/{BatchCreateDataLakePartitionsShrinkRequest.js → DataAgentApplicationAgreement.js} +13 -19
- package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +47 -32
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +6 -6
- package/dist/models/GetAirflowRequest.d.ts +2 -2
- package/dist/models/GetAirflowResponseBody.d.ts +37 -17
- package/dist/models/GetAirflowResponseBody.js +6 -0
- package/dist/models/GetAirflowResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
- package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +1 -1
- package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
- package/dist/models/ListAgenticDatabaseRequest.d.ts +9 -9
- package/dist/models/ListAgenticDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ListAirflowsRequest.d.ts +5 -5
- package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
- package/dist/models/ListAirflowsResponseBody.js +6 -0
- package/dist/models/ListAirflowsResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentResponseBody.d.ts +51 -37
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
- package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ModifyCustomAgentRequest.d.ts +55 -40
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +32 -17
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
- package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
- package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
- package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
- package/dist/models/SearchAgenticDatabaseRequest.d.ts +3 -3
- package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +5 -5
- package/dist/models/SendChatMessageRequest.d.ts +2 -2
- package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
- package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
- package/dist/models/UpdateAirflowRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowRequest.js +6 -0
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
- package/dist/models/UpdateAirflowResponseBody.js +6 -0
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
- package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -4
- package/dist/models/model.js +20 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +48 -102
- package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/AgenticCatalog.ts +16 -10
- package/src/models/AgenticDatabase.ts +109 -0
- package/src/models/AgenticTableBaseInfo.ts +60 -0
- package/src/models/AgenticTableEngineMeta.ts +84 -0
- package/src/models/AgenticTableIndex.ts +49 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +4 -4
- package/src/models/CreateAirflowRequest.ts +37 -10
- package/src/models/CreateAirflowResponseBody.ts +42 -15
- package/src/models/CreateAirflowShrinkRequest.ts +37 -10
- package/src/models/CreateCustomAgentRequest.ts +55 -38
- package/src/models/CreateCustomAgentResponseBody.ts +35 -18
- package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
- package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
- package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/DataAgentApplication.ts +159 -2
- package/src/models/DataAgentApplicationAgreement.ts +74 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
- package/src/models/DescribeCustomAgentResponseBody.ts +49 -32
- package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
- package/src/models/FileUploadCallbackRequest.ts +2 -2
- package/src/models/GetAgenticDatabaseResponseBody.ts +6 -6
- package/src/models/GetAirflowRequest.ts +2 -2
- package/src/models/GetAirflowResponseBody.ts +43 -17
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
- package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +1 -1
- package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
- package/src/models/ListAgenticDatabaseRequest.ts +9 -9
- package/src/models/ListAgenticDatabaseResponseBody.ts +2 -2
- package/src/models/ListAirflowsRequest.ts +5 -5
- package/src/models/ListAirflowsResponseBody.ts +49 -23
- package/src/models/ListCustomAgentRequest.ts +2 -2
- package/src/models/ListCustomAgentResponseBody.ts +53 -37
- package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
- package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
- package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
- package/src/models/ModifyCustomAgentRequest.ts +57 -40
- package/src/models/ModifyCustomAgentResponseBody.ts +34 -17
- package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
- package/src/models/RedeployAirflowResponseBody.ts +1 -1
- package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
- package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
- package/src/models/SearchAgenticDatabaseRequest.ts +3 -3
- package/src/models/SearchAgenticDatabaseResponseBody.ts +5 -5
- package/src/models/SendChatMessageRequest.ts +2 -2
- package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
- package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
- package/src/models/UpdateAirflowRequest.ts +32 -5
- package/src/models/UpdateAirflowResponseBody.ts +34 -7
- package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
- package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
- package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
- package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
- package/src/models/model.ts +2 -4
- package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +0 -88
- package/dist/models/BatchCreateDataLakePartitionsRequest.js +0 -76
- package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +0 -19
- package/dist/models/BatchCreateDataLakePartitionsResponse.js +0 -69
- package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +0 -54
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +0 -70
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +0 -87
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +0 -1
- package/src/models/BatchCreateDataLakePartitionsRequest.ts +0 -118
- package/src/models/BatchCreateDataLakePartitionsResponse.ts +0 -40
- package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +0 -78
- package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +0 -114
|
@@ -4,20 +4,129 @@ import { AgenticDatabaseEngineMeta } from "./AgenticDatabaseEngineMeta";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class AgenticDatabase extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The name of the catalog to which the database belongs.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* prod_mysql_order
|
|
13
|
+
*/
|
|
7
14
|
catalogName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The type of the catalog to which the database belongs. Valid values:
|
|
18
|
+
*
|
|
19
|
+
* - **JDBC**: relational database catalog.
|
|
20
|
+
* - **DataLake**: data lake catalog.
|
|
21
|
+
* - **Dataset**: knowledge base catalog.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* JDBC
|
|
25
|
+
*/
|
|
8
26
|
catalogType?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The UUID of the catalog to which the database belongs.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* mc-HZ-OfjcNc2z***
|
|
33
|
+
*/
|
|
9
34
|
catalogUuid?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The business attributes of the database, returned as key-value pairs. Currently, this may include **ENV_TYPE**, which indicates the environment type of the database.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* {"ENV_TYPE":"dev"}
|
|
41
|
+
*/
|
|
10
42
|
databaseBizAttrs?: { [key: string]: any };
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The unique identifier of the database.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* md-HZ-fp9K7r***
|
|
49
|
+
*/
|
|
11
50
|
databaseUuid?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The database type inherited from the catalog to which the database belongs. The value is the uppercase name of the database type, such as MYSQL.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* MYSQL
|
|
57
|
+
*/
|
|
12
58
|
dbType?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The description of the database.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Order database
|
|
65
|
+
*/
|
|
13
66
|
description?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The metadata of the database engine. This parameter is returned only for databases under JDBC catalogs.
|
|
70
|
+
*/
|
|
14
71
|
engineMeta?: AgenticDatabaseEngineMeta;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The name of the database. For databases that distinguish schemas, such as PostgreSQL, this is the schema name.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* order_db
|
|
78
|
+
*/
|
|
15
79
|
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The extended properties of the database, returned as key-value pairs. This parameter is returned only for databases under DataLake catalogs.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* {}
|
|
86
|
+
*/
|
|
16
87
|
properties?: { [key: string]: any };
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The fully qualified name of the database. For databases that distinguish schemas, such as PostgreSQL, the format is database name.schema name.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* order_db
|
|
94
|
+
*/
|
|
17
95
|
qualifiedName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The region ID of the database.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* cn-hangzhou
|
|
102
|
+
*/
|
|
18
103
|
regionId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The search name of the database. SearchAgenticDatabase matches search keywords based on this name.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* order_db
|
|
110
|
+
*/
|
|
19
111
|
searchName?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The status of the database. Valid values:
|
|
115
|
+
*
|
|
116
|
+
* - **0**: normal.
|
|
117
|
+
* - **-1**: deleted.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* 0
|
|
121
|
+
*/
|
|
20
122
|
state?: number;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The storage location. This parameter is returned only for databases under DataLake catalogs.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* oss://examplebucket/datalake/order_db/
|
|
129
|
+
*/
|
|
21
130
|
storageLocation?: string;
|
|
22
131
|
static names(): { [key: string]: string } {
|
|
23
132
|
return {
|
|
@@ -4,13 +4,73 @@ import { AgenticTableEngineMeta } from "./AgenticTableEngineMeta";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class AgenticTableBaseInfo extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The type of the catalog to which the table belongs. Valid values:
|
|
10
|
+
* - **JDBC**: relational database catalog
|
|
11
|
+
* - **DataLake**: data lake catalog
|
|
12
|
+
* - **Dataset**: knowledge base catalog
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* JDBC
|
|
16
|
+
*/
|
|
7
17
|
catalogType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The fully qualified name of the database to which the table belongs.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* order_db
|
|
24
|
+
*/
|
|
8
25
|
databaseQualifiedName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The UUID of the database to which the table belongs.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* md-HZ-fp9K7r***
|
|
32
|
+
*/
|
|
9
33
|
databaseUuid?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The description of the table.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* Order table
|
|
40
|
+
*/
|
|
10
41
|
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The engine metadata of the table.
|
|
45
|
+
*/
|
|
11
46
|
engineMeta?: AgenticTableEngineMeta;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The table name.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* orders
|
|
53
|
+
*/
|
|
12
54
|
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The fully qualified name of the table. You can use this name as the TableQualifiedName parameter for GetAgenticTableColumn and GetAgenticTableIndex. For SQL Server, the format is schema name.table name.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* orders
|
|
61
|
+
*/
|
|
13
62
|
qualifiedName?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The table type. Valid values:
|
|
66
|
+
* - **NORMAL**: regular table
|
|
67
|
+
* - **VIEW**: view
|
|
68
|
+
* - **FOREIGN**: foreign table
|
|
69
|
+
* - **SYNONYM**: synonym, supported only for Oracle data sources
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* NORMAL
|
|
73
|
+
*/
|
|
14
74
|
tableType?: string;
|
|
15
75
|
static names(): { [key: string]: string } {
|
|
16
76
|
return {
|
|
@@ -3,17 +3,101 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AgenticTableEngineMeta extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The checksum of the table metadata.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 9f86d081884c7d65****
|
|
12
|
+
*/
|
|
6
13
|
checksum?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The time when the table was created. The format is yyyy-MM-dd HH:mm:ss.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2025-01-01 10:00:00
|
|
20
|
+
*/
|
|
7
21
|
createTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The data size of the table. Unit: bytes.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 786432
|
|
28
|
+
*/
|
|
8
29
|
dataBytes?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The character set encoding of the table.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* utf8mb4
|
|
36
|
+
*/
|
|
9
37
|
encoding?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The storage engine of the table.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* InnoDB
|
|
44
|
+
*/
|
|
10
45
|
engine?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The full checksum of the table metadata.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 2c26b46b68ffc68f****
|
|
52
|
+
*/
|
|
11
53
|
fullChecksum?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The index size of the table. Unit: bytes.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 262144
|
|
60
|
+
*/
|
|
12
61
|
indexBytes?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The time when the last DDL operation was executed on the table. The format is yyyy-MM-dd HH:mm:ss.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 2025-01-02 10:00:00
|
|
68
|
+
*/
|
|
13
69
|
lastDdlTime?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The number of rows in the table.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 10000
|
|
76
|
+
*/
|
|
14
77
|
numRows?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The reference information of the table.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* order_db.orders_view
|
|
84
|
+
*/
|
|
15
85
|
refInfo?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The storage capacity of the table. Unit: MB.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 16
|
|
92
|
+
*/
|
|
16
93
|
storageCapacity?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The name of the schema to which the table belongs.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* public
|
|
100
|
+
*/
|
|
17
101
|
tableSchemaName?: string;
|
|
18
102
|
static names(): { [key: string]: string } {
|
|
19
103
|
return {
|
|
@@ -3,12 +3,61 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AgenticTableIndex extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of fields included in the index. Fields with a specified prefix length include a length expression, such as name(10).
|
|
9
|
+
*/
|
|
6
10
|
columnNames?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The index description.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Index on user_id
|
|
17
|
+
*/
|
|
7
18
|
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The index name.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* idx_user_id
|
|
25
|
+
*/
|
|
8
26
|
indexName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The index type. Valid values:
|
|
30
|
+
*
|
|
31
|
+
* - **Primary**: primary key index
|
|
32
|
+
* - **Unique**: unique index
|
|
33
|
+
* - **Normal**: normal index
|
|
34
|
+
* - **FullText**: full-text index
|
|
35
|
+
* - **Spatial**: spatial index
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* Normal
|
|
39
|
+
*/
|
|
9
40
|
indexType?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* Specifies whether the index is a primary key index.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* false
|
|
47
|
+
*/
|
|
10
48
|
primary?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The list of actual field names referenced by the index, with prefix length expressions removed from ColumnNames.
|
|
52
|
+
*/
|
|
11
53
|
realColumnNames?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specifies whether the index is a unique index.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* false
|
|
60
|
+
*/
|
|
12
61
|
unique?: boolean;
|
|
13
62
|
static names(): { [key: string]: string } {
|
|
14
63
|
return {
|
|
@@ -8,15 +8,15 @@ export class CreateAgenticSqlExecuteCredentialResponseBodyData extends $dara.Mod
|
|
|
8
8
|
* The AccessKey of the credential.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* 0AHZ****
|
|
12
12
|
*/
|
|
13
13
|
accessKey?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The AccessKey secret of the credential. This value is returned only once when the credential is created. Keep it secure.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* 4nG8R****
|
|
20
20
|
*/
|
|
21
21
|
accessSecret?: string;
|
|
22
22
|
/**
|
|
@@ -126,7 +126,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBody extends $dara.Model {
|
|
|
126
126
|
errorMessage?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The ID
|
|
129
|
+
* The request ID.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* 34E01EDD-6A16-4CF0-9541-C644D1BE01AA
|
|
@@ -42,7 +42,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
42
42
|
clientToken?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The
|
|
45
|
+
* The directory scanned by Airflow for DAGs.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* default/dags
|
|
@@ -63,17 +63,38 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
63
63
|
description?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* Specifies whether to enable
|
|
66
|
+
* Specifies whether to enable data lineage. For Airflow 2.x, this feature is always disabled, and the lineage specification and number of replicas are ignored.
|
|
67
|
+
*/
|
|
68
|
+
enableLineage?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* Specifies whether to enable elasticity for workers.
|
|
67
72
|
*/
|
|
68
73
|
enableServerless?: boolean;
|
|
69
74
|
/**
|
|
70
75
|
* @remarks
|
|
71
|
-
* The timeout period for
|
|
76
|
+
* The timeout period for a worker to gracefully shut down.
|
|
72
77
|
*
|
|
73
78
|
* @example
|
|
74
79
|
* 60
|
|
75
80
|
*/
|
|
76
81
|
gracefulShutdownTimeout?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The number of replicas for the lineage service. The default value is 1 when enabled. If omitted during an update, the original value is retained.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* 1
|
|
88
|
+
*/
|
|
89
|
+
lineageReplicas?: number;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The specification of the lineage service. It uses the same tier as the Airflow instance specification.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* SMALL
|
|
96
|
+
*/
|
|
97
|
+
lineageSpec?: string;
|
|
77
98
|
/**
|
|
78
99
|
* @remarks
|
|
79
100
|
* The name of the OSS bucket.
|
|
@@ -96,7 +117,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
96
117
|
ossPath?: string;
|
|
97
118
|
/**
|
|
98
119
|
* @remarks
|
|
99
|
-
* The
|
|
120
|
+
* The directory scanned by the Airflow instance for plugins.
|
|
100
121
|
*
|
|
101
122
|
* @example
|
|
102
123
|
* default/plugins
|
|
@@ -104,7 +125,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
104
125
|
pluginsDir?: string;
|
|
105
126
|
/**
|
|
106
127
|
* @remarks
|
|
107
|
-
* The path
|
|
128
|
+
* The path to the installation package.
|
|
108
129
|
*
|
|
109
130
|
* @example
|
|
110
131
|
* default/requirements.txt
|
|
@@ -122,7 +143,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
122
143
|
securityGroupId?: string;
|
|
123
144
|
/**
|
|
124
145
|
* @remarks
|
|
125
|
-
* The startup script
|
|
146
|
+
* The startup script for the Airflow container.
|
|
126
147
|
*
|
|
127
148
|
* @example
|
|
128
149
|
* default/startup.sh
|
|
@@ -140,7 +161,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
140
161
|
vSwitchId?: string;
|
|
141
162
|
/**
|
|
142
163
|
* @remarks
|
|
143
|
-
* VPC ID
|
|
164
|
+
* The VPC ID.
|
|
144
165
|
*
|
|
145
166
|
* This parameter is required.
|
|
146
167
|
*
|
|
@@ -150,7 +171,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
150
171
|
vpcId?: string;
|
|
151
172
|
/**
|
|
152
173
|
* @remarks
|
|
153
|
-
* The number of
|
|
174
|
+
* The number of worker node extensions.
|
|
154
175
|
*
|
|
155
176
|
* This parameter is required.
|
|
156
177
|
*
|
|
@@ -160,7 +181,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
160
181
|
workerServerlessReplicas?: number;
|
|
161
182
|
/**
|
|
162
183
|
* @remarks
|
|
163
|
-
* The
|
|
184
|
+
* The DMS workspace ID.
|
|
164
185
|
*
|
|
165
186
|
* This parameter is required.
|
|
166
187
|
*
|
|
@@ -170,7 +191,7 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
170
191
|
workspaceId?: string;
|
|
171
192
|
/**
|
|
172
193
|
* @remarks
|
|
173
|
-
* The zone ID
|
|
194
|
+
* The zone ID in the region.
|
|
174
195
|
*
|
|
175
196
|
* @example
|
|
176
197
|
* cn-hangzhou-h
|
|
@@ -185,8 +206,11 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
185
206
|
dagsDir: 'DagsDir',
|
|
186
207
|
dataMountInfoList: 'DataMountInfoList',
|
|
187
208
|
description: 'Description',
|
|
209
|
+
enableLineage: 'EnableLineage',
|
|
188
210
|
enableServerless: 'EnableServerless',
|
|
189
211
|
gracefulShutdownTimeout: 'GracefulShutdownTimeout',
|
|
212
|
+
lineageReplicas: 'LineageReplicas',
|
|
213
|
+
lineageSpec: 'LineageSpec',
|
|
190
214
|
ossBucketName: 'OssBucketName',
|
|
191
215
|
ossPath: 'OssPath',
|
|
192
216
|
pluginsDir: 'PluginsDir',
|
|
@@ -210,8 +234,11 @@ export class CreateAirflowRequest extends $dara.Model {
|
|
|
210
234
|
dagsDir: 'string',
|
|
211
235
|
dataMountInfoList: { 'type': 'array', 'itemType': DataMountInfo },
|
|
212
236
|
description: 'string',
|
|
237
|
+
enableLineage: 'boolean',
|
|
213
238
|
enableServerless: 'boolean',
|
|
214
239
|
gracefulShutdownTimeout: 'number',
|
|
240
|
+
lineageReplicas: 'number',
|
|
241
|
+
lineageSpec: 'string',
|
|
215
242
|
ossBucketName: 'string',
|
|
216
243
|
ossPath: 'string',
|
|
217
244
|
pluginsDir: 'string',
|
|
@@ -6,7 +6,7 @@ import { DataMountInfo } from "./DataMountInfo";
|
|
|
6
6
|
export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The instance ID
|
|
9
|
+
* The instance ID.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* af-****
|
|
@@ -46,7 +46,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
46
46
|
appType?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The custom Airflow
|
|
49
|
+
* The custom Airflow configurations.
|
|
50
50
|
*/
|
|
51
51
|
customAirflowCfg?: string[];
|
|
52
52
|
/**
|
|
@@ -64,7 +64,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
64
64
|
dataMountInfoList?: DataMountInfo[];
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The error log
|
|
67
|
+
* The error log message.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* vpc not found
|
|
@@ -72,7 +72,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
72
72
|
deployErrorMsg?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The description of
|
|
75
|
+
* The description of Airflow.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* order scheduler
|
|
@@ -80,7 +80,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
80
80
|
description?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* Specifies whether
|
|
83
|
+
* Specifies whether data lineage is enabled.
|
|
84
|
+
*/
|
|
85
|
+
enableLineage?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* Specifies whether to enable elasticity for workers.
|
|
84
89
|
*/
|
|
85
90
|
enableServerless?: boolean;
|
|
86
91
|
/**
|
|
@@ -93,12 +98,28 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
93
98
|
gmtCreated?: string;
|
|
94
99
|
/**
|
|
95
100
|
* @remarks
|
|
96
|
-
* The timeout period for
|
|
101
|
+
* The timeout period for a worker to gracefully shut down.
|
|
97
102
|
*
|
|
98
103
|
* @example
|
|
99
104
|
* 60
|
|
100
105
|
*/
|
|
101
106
|
gracefulShutdownTimeout?: number;
|
|
107
|
+
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The number of replicas for the lineage service. The default value is 1 when enabled. If omitted during an update, the original value is retained.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* 1
|
|
113
|
+
*/
|
|
114
|
+
lineageReplicas?: number;
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The specification of the lineage service. It uses the same tier as the Airflow instance specification.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* SMALL
|
|
121
|
+
*/
|
|
122
|
+
lineageSpec?: string;
|
|
102
123
|
/**
|
|
103
124
|
* @remarks
|
|
104
125
|
* The name of the OSS bucket.
|
|
@@ -125,7 +146,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
125
146
|
pluginsDir?: string;
|
|
126
147
|
/**
|
|
127
148
|
* @remarks
|
|
128
|
-
* The path of the installable
|
|
149
|
+
* The path of the installable packages.
|
|
129
150
|
*
|
|
130
151
|
* @example
|
|
131
152
|
* default/requirements.txt
|
|
@@ -141,7 +162,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
141
162
|
securityGroupId?: string;
|
|
142
163
|
/**
|
|
143
164
|
* @remarks
|
|
144
|
-
* The file loaded when the Airflow instance starts
|
|
165
|
+
* The file loaded when the Airflow instance starts, which can be used to set environment variables.
|
|
145
166
|
*
|
|
146
167
|
* @example
|
|
147
168
|
* default/startup.sh
|
|
@@ -149,7 +170,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
149
170
|
startupFile?: string;
|
|
150
171
|
/**
|
|
151
172
|
* @remarks
|
|
152
|
-
* The instance status
|
|
173
|
+
* The instance status.
|
|
153
174
|
*
|
|
154
175
|
* @example
|
|
155
176
|
* DEPLOYING
|
|
@@ -165,7 +186,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
165
186
|
vSwitchId?: string;
|
|
166
187
|
/**
|
|
167
188
|
* @remarks
|
|
168
|
-
* VPC ID
|
|
189
|
+
* The VPC ID.
|
|
169
190
|
*
|
|
170
191
|
* @example
|
|
171
192
|
* vpc-uf63r6coyiw9o5gf****
|
|
@@ -207,9 +228,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
207
228
|
dataMountInfoList: 'DataMountInfoList',
|
|
208
229
|
deployErrorMsg: 'DeployErrorMsg',
|
|
209
230
|
description: 'Description',
|
|
231
|
+
enableLineage: 'EnableLineage',
|
|
210
232
|
enableServerless: 'EnableServerless',
|
|
211
233
|
gmtCreated: 'GmtCreated',
|
|
212
234
|
gracefulShutdownTimeout: 'GracefulShutdownTimeout',
|
|
235
|
+
lineageReplicas: 'LineageReplicas',
|
|
236
|
+
lineageSpec: 'LineageSpec',
|
|
213
237
|
ossBucketName: 'OssBucketName',
|
|
214
238
|
ossPath: 'OssPath',
|
|
215
239
|
pluginsDir: 'PluginsDir',
|
|
@@ -237,9 +261,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
237
261
|
dataMountInfoList: { 'type': 'array', 'itemType': DataMountInfo },
|
|
238
262
|
deployErrorMsg: 'string',
|
|
239
263
|
description: 'string',
|
|
264
|
+
enableLineage: 'boolean',
|
|
240
265
|
enableServerless: 'boolean',
|
|
241
266
|
gmtCreated: 'string',
|
|
242
267
|
gracefulShutdownTimeout: 'number',
|
|
268
|
+
lineageReplicas: 'number',
|
|
269
|
+
lineageSpec: 'string',
|
|
243
270
|
ossBucketName: 'string',
|
|
244
271
|
ossPath: 'string',
|
|
245
272
|
pluginsDir: 'string',
|
|
@@ -273,7 +300,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
|
|
|
273
300
|
export class CreateAirflowResponseBody extends $dara.Model {
|
|
274
301
|
/**
|
|
275
302
|
* @remarks
|
|
276
|
-
* The
|
|
303
|
+
* The access denial details.
|
|
277
304
|
*
|
|
278
305
|
* @example
|
|
279
306
|
* NOT_FOUND
|
|
@@ -297,7 +324,7 @@ export class CreateAirflowResponseBody extends $dara.Model {
|
|
|
297
324
|
httpStatusCode?: number;
|
|
298
325
|
/**
|
|
299
326
|
* @remarks
|
|
300
|
-
* The log
|
|
327
|
+
* The log message.
|
|
301
328
|
*
|
|
302
329
|
* @example
|
|
303
330
|
* Successful
|
|
@@ -318,10 +345,10 @@ export class CreateAirflowResponseBody extends $dara.Model {
|
|
|
318
345
|
root?: CreateAirflowResponseBodyRoot;
|
|
319
346
|
/**
|
|
320
347
|
* @remarks
|
|
321
|
-
* Indicates whether the request
|
|
348
|
+
* Indicates whether the request is successful. Valid values:
|
|
322
349
|
*
|
|
323
|
-
* - **true**: The request
|
|
324
|
-
* - **false**: The request
|
|
350
|
+
* - **true**: The request is successful.
|
|
351
|
+
* - **false**: The request fails.
|
|
325
352
|
*
|
|
326
353
|
* @example
|
|
327
354
|
* true
|