@alicloud/adb20211201 5.1.4 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +117 -12
- package/dist/client.js +324 -12
- package/dist/client.js.map +1 -1
- package/dist/models/AddKnowledgeTagsRequest.d.ts +41 -0
- package/dist/models/AddKnowledgeTagsRequest.js +62 -0
- package/dist/models/AddKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/AddKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/AddKnowledgeTagsResponse.js +69 -0
- package/dist/models/AddKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/AddKnowledgeTagsResponseBody.d.ts +121 -0
- package/dist/models/AddKnowledgeTagsResponseBody.js +118 -0
- package/dist/models/AddKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserRequest.d.ts +43 -0
- package/dist/models/AddKnowledgeUploadUserRequest.js +62 -0
- package/dist/models/AddKnowledgeUploadUserRequest.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserResponse.d.ts +19 -0
- package/dist/models/AddKnowledgeUploadUserResponse.js +69 -0
- package/dist/models/AddKnowledgeUploadUserResponse.js.map +1 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.d.ts +106 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.js +114 -0
- package/dist/models/AddKnowledgeUploadUserResponseBody.js.map +1 -0
- package/dist/models/DeleteKnowledgeFileRequest.d.ts +33 -0
- package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
- package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
- package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
- package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
- package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
- package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
- package/dist/models/DescribeDbresourceGroupRequest.d.ts +1 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +17 -15
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/GetKnowledgeRecallRequest.d.ts +19 -3
- package/dist/models/GetKnowledgeRecallRequest.js +4 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
- package/dist/models/ListKnowledgeTagsRequest.js +60 -0
- package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/ListKnowledgeTagsResponse.js +69 -0
- package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
- package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
- package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
- package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
- package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
- package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
- package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
- package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
- package/dist/models/ModifyAccountDescriptionRequest.d.ts +10 -11
- package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +5 -5
- package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
- package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
- package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
- package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
- package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
- package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
- package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
- package/dist/models/RemoveKnowledgeUploadUserRequest.d.ts +43 -0
- package/dist/models/RemoveKnowledgeUploadUserRequest.js +62 -0
- package/dist/models/RemoveKnowledgeUploadUserRequest.js.map +1 -0
- package/dist/models/RemoveKnowledgeUploadUserResponse.d.ts +19 -0
- package/dist/models/RemoveKnowledgeUploadUserResponse.js +69 -0
- package/dist/models/RemoveKnowledgeUploadUserResponse.js.map +1 -0
- package/dist/models/RemoveKnowledgeUploadUserResponseBody.d.ts +72 -0
- package/dist/models/RemoveKnowledgeUploadUserResponseBody.js +88 -0
- package/dist/models/RemoveKnowledgeUploadUserResponseBody.js.map +1 -0
- package/dist/models/ResetAccountPasswordRequest.d.ts +13 -15
- package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +85 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +358 -12
- package/src/models/AddKnowledgeTagsRequest.ts +58 -0
- package/src/models/AddKnowledgeTagsResponse.ts +40 -0
- package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
- package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
- package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
- package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
- package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
- package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
- package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
- package/src/models/DescribeDbresourceGroupRequest.ts +1 -1
- package/src/models/DescribeDbresourceGroupResponseBody.ts +17 -15
- package/src/models/GetKnowledgeRecallRequest.ts +23 -3
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
- package/src/models/ListKnowledgeTagsRequest.ts +48 -0
- package/src/models/ListKnowledgeTagsResponse.ts +40 -0
- package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
- package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
- package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
- package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
- package/src/models/ModifyAccountDescriptionRequest.ts +10 -11
- package/src/models/ModifyMaterializedViewRecommendRequest.ts +5 -5
- package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
- package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
- package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
- package/src/models/RemoveKnowledgeUploadUserRequest.ts +60 -0
- package/src/models/RemoveKnowledgeUploadUserResponse.ts +40 -0
- package/src/models/RemoveKnowledgeUploadUserResponseBody.ts +106 -0
- package/src/models/ResetAccountPasswordRequest.ts +13 -15
- package/src/models/model.ts +31 -0
|
@@ -13,7 +13,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
13
13
|
authNodeNum?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The node specifications of authentication nodes.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 8ACU
|
|
@@ -29,7 +29,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
29
29
|
insertNodeNum?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The node specifications of write nodes.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 8ACU
|
|
@@ -53,7 +53,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
53
53
|
selectNodeNum?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The node specifications of query nodes.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 8ACU
|
|
@@ -85,7 +85,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
85
85
|
storageNodeNum?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The
|
|
88
|
+
* The node specifications of storage nodes.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 8ACU
|
|
@@ -135,7 +135,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
135
135
|
export class DescribeDBResourceGroupResponseBodyGroupsInfoGpuElasticPlanRules extends $dara.Model {
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The end time in
|
|
138
|
+
* The end time in cron expression format. The interval must be at least 1 hour.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* 0 0 3 * * ?
|
|
@@ -143,7 +143,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoGpuElasticPlanRules ex
|
|
|
143
143
|
endCronExpression?: string;
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The start time in
|
|
146
|
+
* The start time in cron expression format. The interval must be at least 1 hour.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* 0 0 2 * * ?
|
|
@@ -369,7 +369,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups
|
|
|
369
369
|
allocateUnit?: string;
|
|
370
370
|
/**
|
|
371
371
|
* @remarks
|
|
372
|
-
* The Ray worker group
|
|
372
|
+
* The name of the Ray worker group.
|
|
373
373
|
*
|
|
374
374
|
* @example
|
|
375
375
|
* g01
|
|
@@ -461,9 +461,9 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
|
|
|
461
461
|
* @remarks
|
|
462
462
|
* The Ray cluster type. Valid values:
|
|
463
463
|
*
|
|
464
|
-
* - BASIC: basic type, non-high-availability
|
|
464
|
+
* - BASIC: basic type, non-high-availability.
|
|
465
465
|
*
|
|
466
|
-
* - HIGH_AVAILABILITY: high-availability type
|
|
466
|
+
* - HIGH_AVAILABILITY: high-availability type.
|
|
467
467
|
*
|
|
468
468
|
* @example
|
|
469
469
|
* BASIC
|
|
@@ -719,7 +719,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
719
719
|
elasticMinComputeResource?: string;
|
|
720
720
|
/**
|
|
721
721
|
* @remarks
|
|
722
|
-
* Indicates whether the spot instance feature is enabled for the resource group.
|
|
722
|
+
* Indicates whether the spot instance feature is enabled for the resource group. After the spot instance feature is enabled, the unit price of resources is reduced, but the resources may be released. Valid values:
|
|
723
723
|
* - **True**: The spot instance feature is enabled.
|
|
724
724
|
* - **False**: The spot instance feature is disabled.
|
|
725
725
|
*
|
|
@@ -760,7 +760,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
760
760
|
* The resource group type. Valid values:
|
|
761
761
|
* - **Interactive**
|
|
762
762
|
* - **Job**
|
|
763
|
-
* > For more information about resource groups
|
|
763
|
+
* > For more information about resource groups of the Data Lakehouse Edition, see [Resource group introduction (Data Lakehouse Edition)](https://help.aliyun.com/document_detail/428610.html).
|
|
764
764
|
*
|
|
765
765
|
* @example
|
|
766
766
|
* Job
|
|
@@ -873,12 +873,14 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
873
873
|
/**
|
|
874
874
|
* @remarks
|
|
875
875
|
* The resource group status. Valid values:
|
|
876
|
-
* - **
|
|
877
|
-
* - **
|
|
878
|
-
* - **
|
|
876
|
+
* - **Pending**: being created.
|
|
877
|
+
* - **Running**: running.
|
|
878
|
+
* - **Scaling**: being scaled.
|
|
879
|
+
* - **Deleting**: being deleted.
|
|
880
|
+
* - **Deleted**: deleted.
|
|
879
881
|
*
|
|
880
882
|
* @example
|
|
881
|
-
*
|
|
883
|
+
* Running
|
|
882
884
|
*/
|
|
883
885
|
status?: string;
|
|
884
886
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the ADB MySQL cluster.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -13,6 +13,14 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
13
13
|
* am-bp19aaaaaa****
|
|
14
14
|
*/
|
|
15
15
|
DBClusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The file path prefix. Only files that match the specified path prefix are recalled.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* oss://bucketName/path/prefix/
|
|
22
|
+
*/
|
|
23
|
+
path?: string;
|
|
16
24
|
/**
|
|
17
25
|
* @remarks
|
|
18
26
|
* The question for knowledge base recall.
|
|
@@ -25,7 +33,15 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
25
33
|
question?: string;
|
|
26
34
|
/**
|
|
27
35
|
* @remarks
|
|
28
|
-
* The
|
|
36
|
+
* The list of tags in JSON format.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* { "tag_key1": ["tag_key1_value1", "tag_key1_value2"], "tag_key2": ["tag_key2_value"] }
|
|
40
|
+
*/
|
|
41
|
+
tags?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The top K associated files to recall.
|
|
29
45
|
*
|
|
30
46
|
* @example
|
|
31
47
|
* 5
|
|
@@ -33,7 +49,7 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
33
49
|
topk?: number;
|
|
34
50
|
/**
|
|
35
51
|
* @remarks
|
|
36
|
-
* The username. Only files that
|
|
52
|
+
* The username. Only files that the specified user has permission to access are recalled.
|
|
37
53
|
*
|
|
38
54
|
* @example
|
|
39
55
|
* user_name1
|
|
@@ -42,7 +58,9 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
42
58
|
static names(): { [key: string]: string } {
|
|
43
59
|
return {
|
|
44
60
|
DBClusterId: 'DBClusterId',
|
|
61
|
+
path: 'Path',
|
|
45
62
|
question: 'Question',
|
|
63
|
+
tags: 'Tags',
|
|
46
64
|
topk: 'Topk',
|
|
47
65
|
user: 'User',
|
|
48
66
|
};
|
|
@@ -51,7 +69,9 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
51
69
|
static types(): { [key: string]: any } {
|
|
52
70
|
return {
|
|
53
71
|
DBClusterId: 'string',
|
|
72
|
+
path: 'string',
|
|
54
73
|
question: 'string',
|
|
74
|
+
tags: 'string',
|
|
55
75
|
topk: 'number',
|
|
56
76
|
user: 'string',
|
|
57
77
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeTagsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the AnalyticDB for MySQL instance.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* am-bp19aaaaaa****
|
|
14
|
+
*/
|
|
15
|
+
DBClusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The location of the knowledge base document.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* oss://bucket/doc.pdf
|
|
24
|
+
*/
|
|
25
|
+
fileLocation?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
DBClusterId: 'DBClusterId',
|
|
29
|
+
fileLocation: 'FileLocation',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
DBClusterId: 'string',
|
|
36
|
+
fileLocation: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKnowledgeTagsResponseBody } from "./ListKnowledgeTagsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKnowledgeTagsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListKnowledgeTagsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListKnowledgeTagsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeTagsResponseBodyDataTags extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* key_name
|
|
12
|
+
*/
|
|
13
|
+
tagKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test_value
|
|
20
|
+
*/
|
|
21
|
+
tagValue?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
tagKey: 'TagKey',
|
|
25
|
+
tagValue: 'TagValue',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
tagKey: 'string',
|
|
32
|
+
tagValue: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ListKnowledgeTagsResponseBodyData extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The location of the knowledge base file.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* oss://bucket/doc.pdf
|
|
52
|
+
*/
|
|
53
|
+
fileLocation?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The prompt message.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* Successful
|
|
60
|
+
*/
|
|
61
|
+
message?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Indicates whether the request was successful. Valid values:
|
|
65
|
+
*
|
|
66
|
+
* - **true**: The request was successful.
|
|
67
|
+
* - **false**: The request failed.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* true
|
|
71
|
+
*/
|
|
72
|
+
success?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The list details.
|
|
76
|
+
*/
|
|
77
|
+
tags?: ListKnowledgeTagsResponseBodyDataTags[];
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
fileLocation: 'FileLocation',
|
|
81
|
+
message: 'Message',
|
|
82
|
+
success: 'Success',
|
|
83
|
+
tags: 'Tags',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static types(): { [key: string]: any } {
|
|
88
|
+
return {
|
|
89
|
+
fileLocation: 'string',
|
|
90
|
+
message: 'string',
|
|
91
|
+
success: 'boolean',
|
|
92
|
+
tags: { 'type': 'array', 'itemType': ListKnowledgeTagsResponseBodyDataTags },
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
if(Array.isArray(this.tags)) {
|
|
98
|
+
$dara.Model.validateArray(this.tags);
|
|
99
|
+
}
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class ListKnowledgeTagsResponseBody extends $dara.Model {
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The returned data.
|
|
112
|
+
*/
|
|
113
|
+
data?: ListKnowledgeTagsResponseBodyData;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* Id of the request
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
120
|
+
*/
|
|
121
|
+
requestId?: string;
|
|
122
|
+
static names(): { [key: string]: string } {
|
|
123
|
+
return {
|
|
124
|
+
data: 'Data',
|
|
125
|
+
requestId: 'RequestId',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static types(): { [key: string]: any } {
|
|
130
|
+
return {
|
|
131
|
+
data: ListKnowledgeTagsResponseBodyData,
|
|
132
|
+
requestId: 'string',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
validate() {
|
|
137
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
138
|
+
(this.data as any).validate();
|
|
139
|
+
}
|
|
140
|
+
super.validate();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
constructor(map?: { [key: string]: any }) {
|
|
144
|
+
super(map);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeUploadUserRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ADB instance ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* am-bp19aaaaaa****
|
|
14
|
+
*/
|
|
15
|
+
DBClusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The location of the knowledge base document.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* oss://bucket/doc.pdf
|
|
24
|
+
*/
|
|
25
|
+
fileLocation?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
DBClusterId: 'DBClusterId',
|
|
29
|
+
fileLocation: 'FileLocation',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
DBClusterId: 'string',
|
|
36
|
+
fileLocation: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListKnowledgeUploadUserResponseBody } from "./ListKnowledgeUploadUserResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListKnowledgeUploadUserResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListKnowledgeUploadUserResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListKnowledgeUploadUserResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListKnowledgeUploadUserResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The location of the knowledge base file.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* oss://bucket/doc.pdf
|
|
12
|
+
*/
|
|
13
|
+
fileLocation?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The prompt message.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* Successful
|
|
20
|
+
*/
|
|
21
|
+
message?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Indicates whether the request was successful. Valid values:
|
|
25
|
+
*
|
|
26
|
+
* - **true**: The request was successful.
|
|
27
|
+
* - **false**: The request failed.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* true
|
|
31
|
+
*/
|
|
32
|
+
success?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The list of authorized users.
|
|
36
|
+
*/
|
|
37
|
+
users?: string[];
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
fileLocation: 'FileLocation',
|
|
41
|
+
message: 'Message',
|
|
42
|
+
success: 'Success',
|
|
43
|
+
users: 'Users',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
fileLocation: 'string',
|
|
50
|
+
message: 'string',
|
|
51
|
+
success: 'boolean',
|
|
52
|
+
users: { 'type': 'array', 'itemType': 'string' },
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
if(Array.isArray(this.users)) {
|
|
58
|
+
$dara.Model.validateArray(this.users);
|
|
59
|
+
}
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class ListKnowledgeUploadUserResponseBody extends $dara.Model {
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The returned data.
|
|
72
|
+
*/
|
|
73
|
+
data?: ListKnowledgeUploadUserResponseBodyData;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Id of the request
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
80
|
+
*/
|
|
81
|
+
requestId?: string;
|
|
82
|
+
static names(): { [key: string]: string } {
|
|
83
|
+
return {
|
|
84
|
+
data: 'Data',
|
|
85
|
+
requestId: 'RequestId',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
static types(): { [key: string]: any } {
|
|
90
|
+
return {
|
|
91
|
+
data: ListKnowledgeUploadUserResponseBodyData,
|
|
92
|
+
requestId: 'string',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
validate() {
|
|
97
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
98
|
+
(this.data as any).validate();
|
|
99
|
+
}
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description of the
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* * The description must be 2 to 256 characters in length.
|
|
8
|
+
* The description of the account.
|
|
9
|
+
* - The description cannot start with `http://` or `https://`.
|
|
10
|
+
* - The description must be 2 to 256 characters in length.
|
|
12
11
|
*
|
|
13
12
|
* This parameter is required.
|
|
14
13
|
*
|
|
@@ -18,9 +17,8 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
18
17
|
accountDescription?: string;
|
|
19
18
|
/**
|
|
20
19
|
* @remarks
|
|
21
|
-
* The
|
|
22
|
-
*
|
|
23
|
-
* > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
|
|
20
|
+
* The database account.
|
|
21
|
+
* > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the database account information of a specified cluster, including the database account.
|
|
24
22
|
*
|
|
25
23
|
* This parameter is required.
|
|
26
24
|
*
|
|
@@ -30,7 +28,8 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
30
28
|
accountName?: string;
|
|
31
29
|
/**
|
|
32
30
|
* @remarks
|
|
33
|
-
* The ID of the
|
|
31
|
+
* <props="china">The ID of the cluster. The cluster can be an Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
32
|
+
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
34
33
|
*
|
|
35
34
|
* This parameter is required.
|
|
36
35
|
*
|
|
@@ -40,10 +39,10 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
40
39
|
DBClusterId?: string;
|
|
41
40
|
/**
|
|
42
41
|
* @remarks
|
|
43
|
-
* The database engine
|
|
42
|
+
* The database engine. Valid values:
|
|
44
43
|
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
44
|
+
* - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
|
|
45
|
+
* - **Clickhouse**: the wide table engine.
|
|
47
46
|
*
|
|
48
47
|
* @example
|
|
49
48
|
* Clickhouse
|