@alicloud/adb20211201 5.1.3 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/client.d.ts +128 -38
  2. package/dist/client.js +347 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddKnowledgeTagsRequest.d.ts +41 -0
  5. package/dist/models/AddKnowledgeTagsRequest.js +62 -0
  6. package/dist/models/AddKnowledgeTagsRequest.js.map +1 -0
  7. package/dist/models/AddKnowledgeTagsResponse.d.ts +19 -0
  8. package/dist/models/AddKnowledgeTagsResponse.js +69 -0
  9. package/dist/models/AddKnowledgeTagsResponse.js.map +1 -0
  10. package/dist/models/AddKnowledgeTagsResponseBody.d.ts +121 -0
  11. package/dist/models/AddKnowledgeTagsResponseBody.js +118 -0
  12. package/dist/models/AddKnowledgeTagsResponseBody.js.map +1 -0
  13. package/dist/models/AddKnowledgeUploadUserRequest.d.ts +43 -0
  14. package/dist/models/AddKnowledgeUploadUserRequest.js +62 -0
  15. package/dist/models/AddKnowledgeUploadUserRequest.js.map +1 -0
  16. package/dist/models/AddKnowledgeUploadUserResponse.d.ts +19 -0
  17. package/dist/models/AddKnowledgeUploadUserResponse.js +69 -0
  18. package/dist/models/AddKnowledgeUploadUserResponse.js.map +1 -0
  19. package/dist/models/AddKnowledgeUploadUserResponseBody.d.ts +106 -0
  20. package/dist/models/AddKnowledgeUploadUserResponseBody.js +114 -0
  21. package/dist/models/AddKnowledgeUploadUserResponseBody.js.map +1 -0
  22. package/dist/models/CreateAccountRequest.d.ts +8 -4
  23. package/dist/models/CreateAccountRequest.js +14 -0
  24. package/dist/models/CreateAccountRequest.js.map +1 -1
  25. package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
  26. package/dist/models/CreateAccountShrinkRequest.js +8 -0
  27. package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
  28. package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
  29. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
  30. package/dist/models/DeleteAccountRequest.d.ts +7 -6
  31. package/dist/models/DeleteAccountRequest.js +2 -0
  32. package/dist/models/DeleteAccountRequest.js.map +1 -1
  33. package/dist/models/DeleteKnowledgeFileRequest.d.ts +33 -0
  34. package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
  35. package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
  36. package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
  37. package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
  38. package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
  39. package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
  40. package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
  41. package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
  42. package/dist/models/DescribeAccountsRequest.d.ts +7 -4
  43. package/dist/models/DescribeAccountsRequest.js +2 -0
  44. package/dist/models/DescribeAccountsRequest.js.map +1 -1
  45. package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
  46. package/dist/models/DescribeAccountsResponseBody.js +84 -1
  47. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
  49. package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
  50. package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
  51. package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
  52. package/dist/models/GetTableResponseBody.d.ts +1 -1
  53. package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
  54. package/dist/models/ListKnowledgeTagsRequest.js +60 -0
  55. package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
  56. package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
  57. package/dist/models/ListKnowledgeTagsResponse.js +69 -0
  58. package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
  59. package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
  60. package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
  61. package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
  62. package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
  63. package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
  64. package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
  65. package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
  66. package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
  67. package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
  68. package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
  69. package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
  70. package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
  71. package/dist/models/ModifyAccountDescriptionRequest.d.ts +11 -11
  72. package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
  73. package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
  74. package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
  75. package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
  76. package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
  77. package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
  78. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
  79. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
  80. package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
  81. package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
  82. package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
  83. package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
  84. package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
  85. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  86. package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
  87. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
  88. package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
  89. package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
  90. package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
  91. package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
  92. package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
  93. package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
  94. package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
  95. package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
  96. package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
  97. package/dist/models/ResetAccountPasswordRequest.d.ts +14 -15
  98. package/dist/models/ResetAccountPasswordRequest.js +2 -0
  99. package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
  100. package/dist/models/model.d.ts +30 -0
  101. package/dist/models/model.js +88 -28
  102. package/dist/models/model.js.map +1 -1
  103. package/package.json +1 -1
  104. package/src/client.ts +390 -38
  105. package/src/models/AddKnowledgeTagsRequest.ts +58 -0
  106. package/src/models/AddKnowledgeTagsResponse.ts +40 -0
  107. package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
  108. package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
  109. package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
  110. package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
  111. package/src/models/CreateAccountRequest.ts +22 -4
  112. package/src/models/CreateAccountShrinkRequest.ts +16 -4
  113. package/src/models/CreateDbresourceGroupRequest.ts +27 -27
  114. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
  115. package/src/models/DeleteAccountRequest.ts +9 -6
  116. package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
  117. package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
  118. package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
  119. package/src/models/DescribeAccountsRequest.ts +9 -4
  120. package/src/models/DescribeAccountsResponseBody.ts +99 -0
  121. package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
  122. package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
  123. package/src/models/GetTableResponseBody.ts +1 -1
  124. package/src/models/ListKnowledgeTagsRequest.ts +48 -0
  125. package/src/models/ListKnowledgeTagsResponse.ts +40 -0
  126. package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
  127. package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
  128. package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
  129. package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
  130. package/src/models/ModifyAccountDescriptionRequest.ts +13 -11
  131. package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
  132. package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
  133. package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
  134. package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
  135. package/src/models/ModifyBackupPolicyRequest.ts +21 -25
  136. package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
  137. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
  138. package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
  139. package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
  140. package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
  141. package/src/models/ResetAccountPasswordRequest.ts +16 -15
  142. package/src/models/model.ts +30 -0
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeDBClusterPerformanceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * <props="china">The ID of an enterprise edition, basic edition, or Data Lakehouse Edition cluster.
9
- * <props="intl">The ID of a Data Lakehouse Edition cluster.
10
- *
11
- * > You can call the [DescribeDBClusters](~~~612397~~~) operation to query the IDs of all clusters in a specific region.
8
+ * <props="china">The ID of the cluster in Enterprise Edition, Basic Edition, or Data Lakehouse Edition.
9
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
10
+ * >You can call the [DescribeDBClusters](~~~612397~~~) operation to query the IDs of all clusters in a specified region.
12
11
  *
13
12
  * This parameter is required.
14
13
  *
@@ -18,9 +17,9 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
18
17
  DBClusterId?: string;
19
18
  /**
20
19
  * @remarks
21
- * The end of the time range. The time is in UTC and must be in the *yyyy-MM-ddTHH:mmZ* format.
20
+ * The end time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
22
21
  *
23
- * > The end time must be later than the start time. The time range cannot exceed two days.
22
+ * > The end time must be later than the start time, and the interval between the start time and end time cannot exceed two days.
24
23
  *
25
24
  * @example
26
25
  * 2022-03-11T15:01Z
@@ -28,7 +27,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
28
27
  endTime?: string;
29
28
  /**
30
29
  * @remarks
31
- * The key of the performance metric. Separate multiple keys with commas (,). For a list of supported metrics, see [metric overview](https://help.aliyun.com/document_detail/2863211.html).
30
+ * The name of the performance metric (metric key) to query. Separate multiple values with commas (,). For more information about supported metrics, see [Monitoring metrics overview](https://help.aliyun.com/document_detail/2863211.html).
32
31
  *
33
32
  * @example
34
33
  * AnalyticDB_CPU_Usage_Percentage
@@ -37,8 +36,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
37
36
  /**
38
37
  * @remarks
39
38
  * The region ID.
40
- *
41
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612393.html) operation to query the regions and availability zones supported by AnalyticDB for MySQL, including the region IDs.
39
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612393.html) operation to query the regions and zones supported by AnalyticDB for MySQL, including region IDs.
42
40
  *
43
41
  * This parameter is required.
44
42
  *
@@ -48,7 +46,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
48
46
  regionId?: string;
49
47
  /**
50
48
  * @remarks
51
- * The name of the resource pool.
49
+ * The resource group.
52
50
  *
53
51
  * @example
54
52
  * user_default
@@ -56,7 +54,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
56
54
  resourcePools?: string;
57
55
  /**
58
56
  * @remarks
59
- * The start of the time range. The time is in UTC and must be in the *yyyy-MM-ddTHH:mmZ* format.
57
+ * The start time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
60
58
  *
61
59
  * @example
62
60
  * 2022-03-10T23:56Z
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the performance metric. This parameter is the Value Name of the monitoring metric. For more information, see [Overview of Monitoring Items](https://help.aliyun.com/document_detail/2863211.html).
8
+ * The name of the performance metric (monitoring metric value name). For more information, see [Monitoring metrics overview](https://help.aliyun.com/document_detail/2863211.html).
9
9
  *
10
10
  * @example
11
11
  * AnalyticDB_Storage_CPU_Avg_Usage_Percentage
@@ -13,7 +13,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
13
13
  name?: string;
14
14
  /**
15
15
  * @remarks
16
- * A JSON string that contains the tags for the metric series.
16
+ * The tag value.
17
17
  *
18
18
  * @example
19
19
  * {instance_name: "am-***"}
@@ -21,7 +21,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
21
21
  tags?: string;
22
22
  /**
23
23
  * @remarks
24
- * A key for internal internationalization (i18n). You can safely ignore this parameter.
24
+ * The key used for internationalization translation. You can ignore this parameter in most cases.
25
25
  *
26
26
  * @example
27
27
  * AnalyticDB_RP_WaitTime
@@ -29,7 +29,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
29
29
  translateKey?: string;
30
30
  /**
31
31
  * @remarks
32
- * An array of data points for the time series.
32
+ * The performance values at different points in time.
33
33
  */
34
34
  values?: string[];
35
35
  static names(): { [key: string]: string } {
@@ -73,7 +73,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformances extends $dara.
73
73
  key?: string;
74
74
  /**
75
75
  * @remarks
76
- * The time series data for the metric.
76
+ * The list of performance data.
77
77
  */
78
78
  series?: DescribeDBClusterPerformanceResponseBodyPerformancesSeries[];
79
79
  /**
@@ -116,8 +116,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
116
116
  /**
117
117
  * @remarks
118
118
  * The cluster ID.
119
- *
120
- * > Call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all clusters in a specific region.
119
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all clusters in a specified region.
121
120
  *
122
121
  * @example
123
122
  * amv-bp1hx5n1o8f61****
@@ -125,7 +124,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
125
124
  DBClusterId?: string;
126
125
  /**
127
126
  * @remarks
128
- * The end time of the query. The time is in UTC and uses the *yyyy-MM-ddTHH:mmZ* format.
127
+ * The end time of the query. The time is in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
129
128
  *
130
129
  * @example
131
130
  * 2022-03-11T15:01Z
@@ -133,7 +132,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
133
132
  endTime?: string;
134
133
  /**
135
134
  * @remarks
136
- * The cluster performance metrics.
135
+ * The list of cluster performance metrics.
137
136
  */
138
137
  performances?: DescribeDBClusterPerformanceResponseBodyPerformances[];
139
138
  /**
@@ -146,7 +145,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
146
145
  requestId?: string;
147
146
  /**
148
147
  * @remarks
149
- * The start time of the query. The time is in UTC and uses the *yyyy-MM-ddTHH:mmZ* format.
148
+ * The start time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
150
149
  *
151
150
  * @example
152
151
  * 2022-03-10T23:56Z
@@ -38,7 +38,7 @@ export class GetTableResponseBody extends $dara.Model {
38
38
  success?: boolean;
39
39
  /**
40
40
  * @remarks
41
- * The table details.
41
+ * The detailed table information.
42
42
  */
43
43
  table?: TableModel;
44
44
  static names(): { [key: string]: string } {
@@ -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 database account.
9
- *
10
- * * The description cannot start with `http://` or `https://`.
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 name of the database account.
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 AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
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,21 +39,23 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
40
39
  DBClusterId?: string;
41
40
  /**
42
41
  * @remarks
43
- * The database engine of the cluster. Valid values:
42
+ * The database engine. Valid values:
44
43
  *
45
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
46
- * * **Clickhouse**: the wide table engine.
44
+ * - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
45
+ * - **Clickhouse**: the wide table engine.
47
46
  *
48
47
  * @example
49
48
  * Clickhouse
50
49
  */
51
50
  engine?: string;
51
+ resourceGroupName?: string;
52
52
  static names(): { [key: string]: string } {
53
53
  return {
54
54
  accountDescription: 'AccountDescription',
55
55
  accountName: 'AccountName',
56
56
  DBClusterId: 'DBClusterId',
57
57
  engine: 'Engine',
58
+ resourceGroupName: 'ResourceGroupName',
58
59
  };
59
60
  }
60
61
 
@@ -64,6 +65,7 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
64
65
  accountName: 'string',
65
66
  DBClusterId: 'string',
66
67
  engine: 'string',
68
+ resourceGroupName: 'string',
67
69
  };
68
70
  }
69
71