@alicloud/dms20250414 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +22 -22
- package/dist/client.js +37 -22
- 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/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/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- 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 +42 -22
- 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/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/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- 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
|
@@ -10,7 +10,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
10
10
|
aliyunAccountUid?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID of the system default policy inherited by the user policy. This
|
|
13
|
+
* The ID of the system default policy inherited by the user policy. This parameter is empty when no inheritance relationship is configured. This value is not returned for system default policies.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* sp-sys-default
|
|
@@ -18,7 +18,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
18
18
|
basePolicyId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The description of the security policy. The description of a system default policy is returned in the language of the
|
|
21
|
+
* The description of the security policy. The description of a system default policy is returned in the language of the call context.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* Read-only access policy for analytics
|
|
@@ -26,7 +26,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
26
26
|
description?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
29
|
+
* The time when the security policy was created. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 2026-10-13 14:30:00
|
|
@@ -34,7 +34,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
34
34
|
gmtCreate?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not
|
|
37
|
+
* The time when the security policy was last modified. The time is in the yyyy-MM-dd HH:mm:ss format and does not include a time zone offset.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 2026-10-13 14:35:00
|
|
@@ -42,7 +42,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
42
42
|
gmtModified?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The business ID of the security policy.
|
|
45
|
+
* The business ID of the security policy. The ID of a system default policy starts with sp-sys-, and the ID of a user policy starts with sp-usr-.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* sp-sys-default
|
|
@@ -50,7 +50,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
50
50
|
policyId?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The
|
|
53
|
+
* The policy name. The name of a system default policy is returned in the language of the call context.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* team-readonly-policy
|
|
@@ -59,9 +59,9 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
61
|
* The current state of the security policy. Valid values:
|
|
62
|
-
* - ON:
|
|
63
|
-
* - OFF:
|
|
64
|
-
* - ARCHIVED:
|
|
62
|
+
* - ON: The policy is enabled.
|
|
63
|
+
* - OFF: The policy is disabled.
|
|
64
|
+
* - ARCHIVED: The policy is archived.
|
|
65
65
|
* All system default policies returned by this operation are in the ON state.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -70,7 +70,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
70
70
|
policyStatus?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
*
|
|
73
|
+
* Indicates whether the policy is read-only. Valid values:
|
|
74
74
|
* - true: The policy is a system default policy.
|
|
75
75
|
* - false: The policy is a user policy of the current account.
|
|
76
76
|
*/
|
|
@@ -85,7 +85,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
85
85
|
tags?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The identifier of the operator
|
|
88
|
+
* The identifier of the operator who last modified the policy. For user policies, the operator ID is recorded first. If no operator ID is available, the UID of the current Alibaba Cloud account is recorded.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* system
|
|
@@ -105,7 +105,7 @@ export declare class ListAgenticSecurityPoliciesResponseBodyData extends $dara.M
|
|
|
105
105
|
export declare class ListAgenticSecurityPoliciesResponseBody extends $dara.Model {
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The list of security policies returned by
|
|
108
|
+
* The list of security policies returned by the current query. Enabled system default policies are placed at the beginning, followed by the user policies on the current page. You can use Readonly to distinguish between the two types of policies.
|
|
109
109
|
*/
|
|
110
110
|
data?: ListAgenticSecurityPoliciesResponseBodyData[];
|
|
111
111
|
/**
|
|
@@ -126,7 +126,7 @@ export declare class ListAgenticSecurityPoliciesResponseBody extends $dara.Model
|
|
|
126
126
|
errorMessage?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The request ID, which is used to locate and trace
|
|
129
|
+
* The request ID, which is used to locate and trace the call.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* request-1234567890
|
|
@@ -18,7 +18,7 @@ export declare class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
18
18
|
DMSUnit?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The page size.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* no use
|
|
@@ -60,7 +60,7 @@ export declare class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
60
60
|
pageNumber?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The number of
|
|
63
|
+
* The number of records per page.
|
|
64
64
|
*
|
|
65
65
|
* This parameter is required.
|
|
66
66
|
*
|
|
@@ -78,7 +78,7 @@ export declare class ListDataAgentWorkspaceRequest extends $dara.Model {
|
|
|
78
78
|
workspaceName?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The workspace type
|
|
81
|
+
* The workspace type.
|
|
82
82
|
*
|
|
83
83
|
* This parameter is required.
|
|
84
84
|
*
|
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListDataAgentWorkspaceResponseBodyDataContent 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 time when the workspace was created. The value is a timestamp in milliseconds.
|
|
6
14
|
*
|
|
7
15
|
* @example
|
|
8
16
|
* 1765960516000
|
|
@@ -42,7 +50,7 @@ export declare class ListDataAgentWorkspaceResponseBodyDataContent extends $dara
|
|
|
42
50
|
description?: string;
|
|
43
51
|
/**
|
|
44
52
|
* @remarks
|
|
45
|
-
* Indicates whether
|
|
53
|
+
* Indicates whether workspace sessions are shared.
|
|
46
54
|
*
|
|
47
55
|
* @example
|
|
48
56
|
* true
|
|
@@ -50,7 +58,7 @@ export declare class ListDataAgentWorkspaceResponseBodyDataContent extends $dara
|
|
|
50
58
|
isSessionShareEnabled?: boolean;
|
|
51
59
|
/**
|
|
52
60
|
* @remarks
|
|
53
|
-
* The
|
|
61
|
+
* The time when the workspace was last modified. The value is a timestamp in milliseconds.
|
|
54
62
|
*
|
|
55
63
|
* @example
|
|
56
64
|
* 1765961516000
|
|
@@ -58,7 +66,7 @@ export declare class ListDataAgentWorkspaceResponseBodyDataContent extends $dara
|
|
|
58
66
|
modifyTime?: number;
|
|
59
67
|
/**
|
|
60
68
|
* @remarks
|
|
61
|
-
* The
|
|
69
|
+
* The name of the user\\"s role in the workspace.
|
|
62
70
|
*
|
|
63
71
|
* @example
|
|
64
72
|
* admin
|
|
@@ -204,7 +212,7 @@ export declare class ListDataAgentWorkspaceResponseBody extends $dara.Model {
|
|
|
204
212
|
errorMessage?: string;
|
|
205
213
|
/**
|
|
206
214
|
* @remarks
|
|
207
|
-
* The
|
|
215
|
+
* The page size.
|
|
208
216
|
*
|
|
209
217
|
* @example
|
|
210
218
|
* nu use
|
|
@@ -220,7 +228,7 @@ export declare class ListDataAgentWorkspaceResponseBody extends $dara.Model {
|
|
|
220
228
|
nextToken?: string;
|
|
221
229
|
/**
|
|
222
230
|
* @remarks
|
|
223
|
-
* The request
|
|
231
|
+
* The ID of the request.
|
|
224
232
|
*
|
|
225
233
|
* @example
|
|
226
234
|
* E0D2-*****-A63B6
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
config: 'Config',
|
|
42
43
|
createTime: 'CreateTime',
|
|
43
44
|
creator: 'Creator',
|
|
44
45
|
creatorName: 'CreatorName',
|
|
@@ -58,6 +59,7 @@ class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
|
|
|
58
59
|
}
|
|
59
60
|
static types() {
|
|
60
61
|
return {
|
|
62
|
+
config: 'string',
|
|
61
63
|
createTime: 'number',
|
|
62
64
|
creator: 'string',
|
|
63
65
|
creatorName: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListDataAgentWorkspaceResponseBody.js","sourceRoot":"","sources":["../../src/models/ListDataAgentWorkspaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListDataAgentWorkspaceResponseBody.js","sourceRoot":"","sources":["../../src/models/ListDataAgentWorkspaceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAiI5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,O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QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxFD,gFAwFC"}
|
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* resourceGroup1
|
|
9
|
+
*/
|
|
10
|
+
adbSparkResourceGroup?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The alias. You can leave this parameter empty when testing a connection. This operation does not create or modify a data source.
|
|
6
14
|
*
|
|
7
15
|
* @example
|
|
8
16
|
* demo_mysql
|
|
@@ -26,7 +34,11 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
26
34
|
authPassword?: string;
|
|
27
35
|
/**
|
|
28
36
|
* @remarks
|
|
29
|
-
* The authentication type. This parameter is optional. Valid values:
|
|
37
|
+
* The authentication type. This parameter is optional. Valid values:
|
|
38
|
+
* - -1: No authentication required.
|
|
39
|
+
* - 0: Username and password.
|
|
40
|
+
* - 1: Password only.
|
|
41
|
+
* - 2: Password-free.
|
|
30
42
|
*
|
|
31
43
|
* @example
|
|
32
44
|
* 0
|
|
@@ -34,7 +46,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
34
46
|
authType?: number;
|
|
35
47
|
/**
|
|
36
48
|
* @remarks
|
|
37
|
-
* The catalog name. You can leave this parameter empty when testing a connection. This
|
|
49
|
+
* The catalog name. You can leave this parameter empty when testing a connection. This operation does not create a metadata catalog.
|
|
38
50
|
*
|
|
39
51
|
* @example
|
|
40
52
|
* demo_catalog
|
|
@@ -42,7 +54,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
42
54
|
catalogName?: string;
|
|
43
55
|
/**
|
|
44
56
|
* @remarks
|
|
45
|
-
* The UUID of the data source.
|
|
57
|
+
* 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.
|
|
46
58
|
*
|
|
47
59
|
* @example
|
|
48
60
|
* cn-hangzhou_a1b2c3d4e5f6
|
|
@@ -50,7 +62,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
50
62
|
dataSourceUuid?: string;
|
|
51
63
|
/**
|
|
52
64
|
* @remarks
|
|
53
|
-
* 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.
|
|
65
|
+
* 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.
|
|
54
66
|
*
|
|
55
67
|
* This parameter is required.
|
|
56
68
|
*
|
|
@@ -68,7 +80,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
68
80
|
envType?: string;
|
|
69
81
|
/**
|
|
70
82
|
* @remarks
|
|
71
|
-
* 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
|
|
83
|
+
* 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.
|
|
72
84
|
*
|
|
73
85
|
* @example
|
|
74
86
|
* mysql.example.com
|
|
@@ -76,7 +88,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
76
88
|
host?: string;
|
|
77
89
|
/**
|
|
78
90
|
* @remarks
|
|
79
|
-
* The ID of the cloud resource instance.
|
|
91
|
+
* 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.
|
|
80
92
|
*
|
|
81
93
|
* @example
|
|
82
94
|
* rm-bp1234567890
|
|
@@ -86,10 +98,10 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
86
98
|
* @remarks
|
|
87
99
|
* The source of the data source. Valid values:
|
|
88
100
|
* - RDS: ApsaraDB instance.
|
|
89
|
-
* - PUBLIC_OWN:
|
|
90
|
-
* - ECS_OWN:
|
|
91
|
-
* - GATEWAY:
|
|
92
|
-
* - VPC_IDC:
|
|
101
|
+
* - PUBLIC_OWN: Self-managed database connected over the Internet.
|
|
102
|
+
* - ECS_OWN: Self-managed database hosted on an ECS instance.
|
|
103
|
+
* - GATEWAY: Database connected through Database Gateway.
|
|
104
|
+
* - VPC_IDC: Database connected through a VPC or data center.
|
|
93
105
|
*
|
|
94
106
|
* This parameter is required.
|
|
95
107
|
*
|
|
@@ -99,7 +111,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
99
111
|
instanceSource?: string;
|
|
100
112
|
/**
|
|
101
113
|
* @remarks
|
|
102
|
-
* The name of the KMS
|
|
114
|
+
* 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.
|
|
103
115
|
*
|
|
104
116
|
* @example
|
|
105
117
|
* datasource-secret
|
|
@@ -107,7 +119,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
107
119
|
kmsSecret?: string;
|
|
108
120
|
/**
|
|
109
121
|
* @remarks
|
|
110
|
-
* The service port of the database. This parameter is optional. You can leave this parameter empty
|
|
122
|
+
* 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.
|
|
111
123
|
*
|
|
112
124
|
* @example
|
|
113
125
|
* 3306
|
|
@@ -115,7 +127,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
115
127
|
port?: number;
|
|
116
128
|
/**
|
|
117
129
|
* @remarks
|
|
118
|
-
* The complete ARN of the RAM role.
|
|
130
|
+
* 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.
|
|
119
131
|
*
|
|
120
132
|
* @example
|
|
121
133
|
* acs:ram::123456789012****:role/DataSourceRole
|
|
@@ -123,7 +135,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
123
135
|
roleArn?: string;
|
|
124
136
|
/**
|
|
125
137
|
* @remarks
|
|
126
|
-
* The schema name. This parameter is optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL,
|
|
138
|
+
* 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.
|
|
127
139
|
*
|
|
128
140
|
* @example
|
|
129
141
|
* postgres
|
|
@@ -147,7 +159,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
147
159
|
snowflakeWarehouse?: string;
|
|
148
160
|
/**
|
|
149
161
|
* @remarks
|
|
150
|
-
* Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This
|
|
162
|
+
* Specifies whether to synchronize the alias. This parameter is optional when testing a connection. This operation does not modify the data source name.
|
|
151
163
|
*
|
|
152
164
|
* @example
|
|
153
165
|
* 0
|
|
@@ -158,7 +170,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
158
170
|
* Specifies whether to enable SSL. Valid values:
|
|
159
171
|
* - 1: Enable.
|
|
160
172
|
* - 0: Disable.
|
|
161
|
-
* - -1: Use
|
|
173
|
+
* - -1: Use default settings.
|
|
162
174
|
* SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS. Leave this parameter empty for other types.
|
|
163
175
|
*
|
|
164
176
|
* @example
|
|
@@ -167,7 +179,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
167
179
|
useSsl?: number;
|
|
168
180
|
/**
|
|
169
181
|
* @remarks
|
|
170
|
-
* The ID of the vSwitch.
|
|
182
|
+
* The ID of the vSwitch. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
171
183
|
*
|
|
172
184
|
* @example
|
|
173
185
|
* vsw-bp1234567890
|
|
@@ -175,7 +187,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
175
187
|
vSwitchId?: string;
|
|
176
188
|
/**
|
|
177
189
|
* @remarks
|
|
178
|
-
* The ID of the VPC.
|
|
190
|
+
* The ID of the VPC. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
179
191
|
*
|
|
180
192
|
* @example
|
|
181
193
|
* vpc-bp1234567890
|
|
@@ -183,7 +195,7 @@ export declare class TestAgenticDataSourceConnectionRequest extends $dara.Model
|
|
|
183
195
|
vpcId?: string;
|
|
184
196
|
/**
|
|
185
197
|
* @remarks
|
|
186
|
-
* The zone
|
|
198
|
+
* The ID of the zone. Specify this parameter when you access MaxCompute through a VPC. Leave this parameter empty in other scenarios.
|
|
187
199
|
*
|
|
188
200
|
* @example
|
|
189
201
|
* cn-hangzhou-h
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
42
43
|
alias: 'Alias',
|
|
43
44
|
authAccount: 'AuthAccount',
|
|
44
45
|
authPassword: 'AuthPassword',
|
|
@@ -65,6 +66,7 @@ class TestAgenticDataSourceConnectionRequest extends $dara.Model {
|
|
|
65
66
|
}
|
|
66
67
|
static types() {
|
|
67
68
|
return {
|
|
69
|
+
adbSparkResourceGroup: 'string',
|
|
68
70
|
alias: 'string',
|
|
69
71
|
authAccount: 'string',
|
|
70
72
|
authPassword: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestAgenticDataSourceConnectionRequest.js","sourceRoot":"","sources":["../../src/models/TestAgenticDataSourceConnectionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"TestAgenticDataSourceConnectionRequest.js","sourceRoot":"","sources":["../../src/models/TestAgenticDataSourceConnectionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IA0MrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,cAAc,EAAE,QAAQ;YACxB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,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;AAzQD,wFAyQC"}
|
|
@@ -5,12 +5,12 @@ export declare class TestAgenticDataSourceConnectionResponseBodyData extends $da
|
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
|
-
* Connection timed out. Check the
|
|
8
|
+
* Connection timed out. Check the endpoint.
|
|
9
9
|
*/
|
|
10
10
|
message?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Indicates whether the data source is connected.
|
|
13
|
+
* Indicates whether the data source is connected successfully.
|
|
14
14
|
*/
|
|
15
15
|
success?: boolean;
|
|
16
16
|
static names(): {
|
|
@@ -48,7 +48,7 @@ export declare class TestAgenticDataSourceConnectionResponseBody extends $dara.M
|
|
|
48
48
|
errorMessage?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The
|
|
51
|
+
* The ID of the request.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* request-1234567890
|
|
@@ -56,7 +56,7 @@ export declare class TestAgenticDataSourceConnectionResponseBody extends $dara.M
|
|
|
56
56
|
requestId?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* Indicates whether the
|
|
59
|
+
* Indicates whether the call is successful.
|
|
60
60
|
*/
|
|
61
61
|
success?: boolean;
|
|
62
62
|
static names(): {
|
|
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The name of the AnalyticDB for MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. If this parameter is not specified, the original resource group is retained. This parameter is independent of Schema (database name) and they cannot replace each other.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* resourceGroup1
|
|
9
|
+
*/
|
|
10
|
+
adbSparkResourceGroup?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The new display name of the data source. If this parameter is not specified, the value is not updated.
|
|
6
14
|
*
|
|
7
15
|
* @example
|
|
8
16
|
* demo_mysql
|
|
@@ -10,7 +18,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
10
18
|
alias?: string;
|
|
11
19
|
/**
|
|
12
20
|
* @remarks
|
|
13
|
-
* The new logon username. If
|
|
21
|
+
* The new logon username. If this parameter is not specified, the value is not updated.
|
|
14
22
|
*
|
|
15
23
|
* @example
|
|
16
24
|
* db_user
|
|
@@ -18,7 +26,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
18
26
|
authAccount?: string;
|
|
19
27
|
/**
|
|
20
28
|
* @remarks
|
|
21
|
-
* The new logon password. If
|
|
29
|
+
* The new logon password. If this parameter is not specified, the value is not updated. This is sensitive information. Do not record or disclose it.
|
|
22
30
|
*
|
|
23
31
|
* @example
|
|
24
32
|
* P@ss****
|
|
@@ -26,12 +34,12 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
26
34
|
authPassword?: string;
|
|
27
35
|
/**
|
|
28
36
|
* @remarks
|
|
29
|
-
* Optional. Valid values:
|
|
30
|
-
* - -1:
|
|
31
|
-
* - 0:
|
|
32
|
-
* - 1:
|
|
33
|
-
* - 2:
|
|
34
|
-
* If
|
|
37
|
+
* Optional. The authentication type. Valid values:
|
|
38
|
+
* - -1: no authentication required
|
|
39
|
+
* - 0: username and password
|
|
40
|
+
* - 1: password only
|
|
41
|
+
* - 2: password-free
|
|
42
|
+
* If this parameter is not specified, the value is not updated.
|
|
35
43
|
*
|
|
36
44
|
* @example
|
|
37
45
|
* 0
|
|
@@ -39,7 +47,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
39
47
|
authType?: number;
|
|
40
48
|
/**
|
|
41
49
|
* @remarks
|
|
42
|
-
* The new name of the metadata catalog. If
|
|
50
|
+
* The new name of the metadata catalog. If this parameter is not specified, the value is not updated. The name can be up to 128 characters in length. It must start with a Chinese character, a letter, or an underscore, and can contain digits and hyphens. It cannot contain only digits.
|
|
43
51
|
*
|
|
44
52
|
* @example
|
|
45
53
|
* demo_catalog
|
|
@@ -48,9 +56,9 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
48
56
|
/**
|
|
49
57
|
* @remarks
|
|
50
58
|
* The registration method. Valid values:
|
|
51
|
-
* - INSTANCE_ID:
|
|
52
|
-
* - HOST_PORT:
|
|
53
|
-
* If
|
|
59
|
+
* - INSTANCE_ID: select an existing cloud instance
|
|
60
|
+
* - HOST_PORT: register by endpoint and port
|
|
61
|
+
* If this parameter is not specified, the value is not updated.
|
|
54
62
|
*
|
|
55
63
|
* @example
|
|
56
64
|
* HOST_PORT
|
|
@@ -76,7 +84,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
76
84
|
dbType?: string;
|
|
77
85
|
/**
|
|
78
86
|
* @remarks
|
|
79
|
-
* The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If
|
|
87
|
+
* The environment type. Valid values: product, pre, dev, test, sit, uat, pet, and stag. If this parameter is not specified, the value is not updated.
|
|
80
88
|
*
|
|
81
89
|
* @example
|
|
82
90
|
* product
|
|
@@ -84,7 +92,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
84
92
|
envType?: string;
|
|
85
93
|
/**
|
|
86
94
|
* @remarks
|
|
87
|
-
* Optional. The new domain name or IP address of the database.
|
|
95
|
+
* Optional. The new domain name or IP address of the database. It cannot contain the protocol, path, or port. If this parameter is not specified, the value is not updated.
|
|
88
96
|
*
|
|
89
97
|
* @example
|
|
90
98
|
* mysql.example.com
|
|
@@ -92,7 +100,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
92
100
|
host?: string;
|
|
93
101
|
/**
|
|
94
102
|
* @remarks
|
|
95
|
-
* The new ID of the cloud resource instance. If
|
|
103
|
+
* The new ID of the cloud resource instance. If this parameter is not specified, the value is not updated.
|
|
96
104
|
*
|
|
97
105
|
* @example
|
|
98
106
|
* rm-bp1234567890
|
|
@@ -100,7 +108,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
100
108
|
instanceResourceId?: string;
|
|
101
109
|
/**
|
|
102
110
|
* @remarks
|
|
103
|
-
* The new name of the KMS-managed credential. If
|
|
111
|
+
* The new name of the KMS-managed credential. If this parameter is not specified, the value is not updated.
|
|
104
112
|
*
|
|
105
113
|
* @example
|
|
106
114
|
* datasource-secret
|
|
@@ -108,7 +116,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
108
116
|
kmsSecret?: string;
|
|
109
117
|
/**
|
|
110
118
|
* @remarks
|
|
111
|
-
* Optional. The new ID of the data access security policy. If
|
|
119
|
+
* Optional. The new ID of the data access security policy. If this parameter is not specified, the value is not updated.
|
|
112
120
|
*
|
|
113
121
|
* @example
|
|
114
122
|
* sp-usr-example
|
|
@@ -116,7 +124,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
116
124
|
policyId?: string;
|
|
117
125
|
/**
|
|
118
126
|
* @remarks
|
|
119
|
-
* Optional. The new service port of the database. If
|
|
127
|
+
* Optional. The new service port of the database. If this parameter is not specified, the value is not updated.
|
|
120
128
|
*
|
|
121
129
|
* @example
|
|
122
130
|
* 3306
|
|
@@ -124,7 +132,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
124
132
|
port?: number;
|
|
125
133
|
/**
|
|
126
134
|
* @remarks
|
|
127
|
-
* The new ARN of the Alibaba Cloud RAM role. If
|
|
135
|
+
* The new ARN of the Alibaba Cloud RAM role. If this parameter is not specified, the value is not updated.
|
|
128
136
|
*
|
|
129
137
|
* @example
|
|
130
138
|
* acs:ram::123456789012****:role/DataSourceRole
|
|
@@ -132,7 +140,7 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
132
140
|
roleArn?: string;
|
|
133
141
|
/**
|
|
134
142
|
* @remarks
|
|
135
|
-
* 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,
|
|
143
|
+
* Optional. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, specify the database name. For ORACLE, specify the SID or service name, and prefix the service name with a forward slash (/). For POLARDB_ORACLE, specify the SID. For MAXCOMPUTE, specify the project name. For other types, do not specify this parameter. If this parameter is not specified, the value is not updated.
|
|
136
144
|
*
|
|
137
145
|
* @example
|
|
138
146
|
* postgres
|
|
@@ -157,9 +165,9 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
157
165
|
/**
|
|
158
166
|
* @remarks
|
|
159
167
|
* Specifies whether to use the cloud instance name as the data source name. Valid values:
|
|
160
|
-
* - 1:
|
|
161
|
-
* - 0:
|
|
162
|
-
* If
|
|
168
|
+
* - 1: yes
|
|
169
|
+
* - 0: no
|
|
170
|
+
* If this parameter is not specified, the value is not updated.
|
|
163
171
|
*
|
|
164
172
|
* @example
|
|
165
173
|
* 0
|
|
@@ -168,10 +176,10 @@ export declare class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
168
176
|
/**
|
|
169
177
|
* @remarks
|
|
170
178
|
* The new SSL setting. Valid values:
|
|
171
|
-
* - 1:
|
|
172
|
-
* - 0:
|
|
173
|
-
* - -1:
|
|
174
|
-
* If
|
|
179
|
+
* - 1: enable
|
|
180
|
+
* - 0: disable
|
|
181
|
+
* - -1: use default settings
|
|
182
|
+
* If this parameter is not specified, the value is not updated. SSL is supported only for ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS.
|
|
175
183
|
*
|
|
176
184
|
* @example
|
|
177
185
|
* 1
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
42
43
|
alias: 'Alias',
|
|
43
44
|
authAccount: 'AuthAccount',
|
|
44
45
|
authPassword: 'AuthPassword',
|
|
@@ -63,6 +64,7 @@ class UpdateAgenticDataSourceRequest extends $dara.Model {
|
|
|
63
64
|
}
|
|
64
65
|
static types() {
|
|
65
66
|
return {
|
|
67
|
+
adbSparkResourceGroup: 'string',
|
|
66
68
|
alias: 'string',
|
|
67
69
|
authAccount: 'string',
|
|
68
70
|
authPassword: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/UpdateAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/UpdateAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA0L7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UA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