@alicloud/polardb20170801 7.12.2 → 8.0.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 (195) hide show
  1. package/dist/client.d.ts +125 -20
  2. package/dist/client.js +435 -42
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +49 -0
  5. package/dist/models/AddPolarOssauthorizedAccountRequest.js +64 -0
  6. package/dist/models/AddPolarOssauthorizedAccountRequest.js.map +1 -0
  7. package/dist/models/AddPolarOssauthorizedAccountResponse.d.ts +19 -0
  8. package/dist/models/AddPolarOssauthorizedAccountResponse.js +69 -0
  9. package/dist/models/AddPolarOssauthorizedAccountResponse.js.map +1 -0
  10. package/dist/models/AddPolarOssauthorizedAccountResponseBody.d.ts +45 -0
  11. package/dist/models/AddPolarOssauthorizedAccountResponseBody.js +64 -0
  12. package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -0
  13. package/dist/models/CreateAgenticDbtenantApiKeyRequest.d.ts +13 -1
  14. package/dist/models/CreateAgenticDbtenantApiKeyRequest.js.map +1 -1
  15. package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.d.ts +21 -0
  16. package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.js.map +1 -1
  17. package/dist/models/CreateAidbclusterApiKeyRequest.d.ts +5 -2
  18. package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -1
  19. package/dist/models/CreateAidbclusterApiKeyResponseBody.d.ts +1 -1
  20. package/dist/models/CreateAidbclusterRequest.d.ts +32 -34
  21. package/dist/models/CreateAidbclusterRequest.js.map +1 -1
  22. package/dist/models/CreateAidbclusterResponseBody.d.ts +1 -1
  23. package/dist/models/CreateAidbclusterTaskRequest.d.ts +2 -2
  24. package/dist/models/CreateKnowledgeBaseRequest.d.ts +73 -0
  25. package/dist/models/CreateKnowledgeBaseRequest.js +68 -0
  26. package/dist/models/CreateKnowledgeBaseRequest.js.map +1 -0
  27. package/dist/models/CreateKnowledgeBaseResponse.d.ts +19 -0
  28. package/dist/models/CreateKnowledgeBaseResponse.js +69 -0
  29. package/dist/models/CreateKnowledgeBaseResponse.js.map +1 -0
  30. package/dist/models/CreateKnowledgeBaseResponseBody.d.ts +29 -0
  31. package/dist/models/CreateKnowledgeBaseResponseBody.js +60 -0
  32. package/dist/models/CreateKnowledgeBaseResponseBody.js.map +1 -0
  33. package/dist/models/CreateKnowledgeSpaceRequest.d.ts +186 -0
  34. package/dist/models/CreateKnowledgeSpaceRequest.js +92 -0
  35. package/dist/models/CreateKnowledgeSpaceRequest.js.map +1 -0
  36. package/dist/models/CreateKnowledgeSpaceResponse.d.ts +19 -0
  37. package/dist/models/CreateKnowledgeSpaceResponse.js +69 -0
  38. package/dist/models/CreateKnowledgeSpaceResponse.js.map +1 -0
  39. package/dist/models/CreateKnowledgeSpaceResponseBody.d.ts +45 -0
  40. package/dist/models/CreateKnowledgeSpaceResponseBody.js +64 -0
  41. package/dist/models/CreateKnowledgeSpaceResponseBody.js.map +1 -0
  42. package/dist/models/CreateModelApiRequest.d.ts +30 -20
  43. package/dist/models/CreateModelApiRequest.js +2 -0
  44. package/dist/models/CreateModelApiRequest.js.map +1 -1
  45. package/dist/models/CreateModelApiResponseBody.d.ts +2 -2
  46. package/dist/models/DeleteAgenticDbcomputeClusterRequest.d.ts +29 -1
  47. package/dist/models/DeleteAgenticDbcomputeClusterRequest.js +6 -0
  48. package/dist/models/DeleteAgenticDbcomputeClusterRequest.js.map +1 -1
  49. package/dist/models/DeleteAgenticDbcomputeClusterResponseBody.d.ts +3 -0
  50. package/dist/models/DeleteAgenticDbcomputeClusterResponseBody.js.map +1 -1
  51. package/dist/models/DeleteAidbclusterApiKeyRequest.d.ts +4 -1
  52. package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -1
  53. package/dist/models/DeleteAidbclusterRequest.d.ts +4 -1
  54. package/dist/models/DeleteAidbclusterRequest.js.map +1 -1
  55. package/dist/models/DeleteAidbclusterResponseBody.d.ts +2 -2
  56. package/dist/models/DeleteKnowledgeBaseRequest.d.ts +33 -0
  57. package/dist/models/DeleteKnowledgeBaseRequest.js +60 -0
  58. package/dist/models/DeleteKnowledgeBaseRequest.js.map +1 -0
  59. package/dist/models/DeleteKnowledgeBaseResponse.d.ts +19 -0
  60. package/dist/models/DeleteKnowledgeBaseResponse.js +69 -0
  61. package/dist/models/DeleteKnowledgeBaseResponse.js.map +1 -0
  62. package/dist/models/DeleteKnowledgeBaseResponseBody.d.ts +29 -0
  63. package/dist/models/DeleteKnowledgeBaseResponseBody.js +60 -0
  64. package/dist/models/DeleteKnowledgeBaseResponseBody.js.map +1 -0
  65. package/dist/models/DeletePolarOssauthorizedAccountRequest.d.ts +49 -0
  66. package/dist/models/DeletePolarOssauthorizedAccountRequest.js +64 -0
  67. package/dist/models/DeletePolarOssauthorizedAccountRequest.js.map +1 -0
  68. package/dist/models/DeletePolarOssauthorizedAccountResponse.d.ts +19 -0
  69. package/dist/models/DeletePolarOssauthorizedAccountResponse.js +69 -0
  70. package/dist/models/DeletePolarOssauthorizedAccountResponse.js.map +1 -0
  71. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.d.ts +45 -0
  72. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js +64 -0
  73. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -0
  74. package/dist/models/DescribeAgenticDbbranchEndpointsRequest.d.ts +10 -0
  75. package/dist/models/DescribeAgenticDbbranchEndpointsRequest.js.map +1 -1
  76. package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.d.ts +80 -0
  77. package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.js +31 -1
  78. package/dist/models/DescribeAgenticDbbranchEndpointsResponseBody.js.map +1 -1
  79. package/dist/models/DescribeAgenticDbprojectsRequest.d.ts +19 -0
  80. package/dist/models/DescribeAgenticDbprojectsRequest.js.map +1 -1
  81. package/dist/models/DescribeAgenticDbprojectsResponseBody.d.ts +40 -0
  82. package/dist/models/DescribeAgenticDbprojectsResponseBody.js.map +1 -1
  83. package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +3 -0
  84. package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -1
  85. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +47 -53
  86. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  87. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  88. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +8 -8
  89. package/dist/models/DescribeAidbclustersRequest.d.ts +23 -37
  90. package/dist/models/DescribeAidbclustersRequest.js.map +1 -1
  91. package/dist/models/DescribeAidbclustersResponseBody.d.ts +3 -7
  92. package/dist/models/DescribeAidbclustersResponseBody.js.map +1 -1
  93. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -4
  94. package/dist/models/DescribeApplicationPerformanceRequest.js +2 -2
  95. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  96. package/dist/models/DescribeApplicationPerformanceShrinkRequest.d.ts +2 -2
  97. package/dist/models/DescribeApplicationPerformanceShrinkRequest.js +2 -2
  98. package/dist/models/DescribeApplicationPerformanceShrinkRequest.js.map +1 -1
  99. package/dist/models/DescribeDbclusterAttributeRequest.d.ts +1 -1
  100. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +69 -150
  101. package/dist/models/DescribeDbclusterAttributeResponseBody.js +2 -0
  102. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  103. package/dist/models/DescribeDbclusterTderesponseBody.d.ts +19 -26
  104. package/dist/models/DescribeDbclusterTderesponseBody.js.map +1 -1
  105. package/dist/models/DescribeKnowledgeBaseAttributeRequest.d.ts +33 -0
  106. package/dist/models/DescribeKnowledgeBaseAttributeRequest.js +60 -0
  107. package/dist/models/DescribeKnowledgeBaseAttributeRequest.js.map +1 -0
  108. package/dist/models/DescribeKnowledgeBaseAttributeResponse.d.ts +19 -0
  109. package/dist/models/DescribeKnowledgeBaseAttributeResponse.js +69 -0
  110. package/dist/models/DescribeKnowledgeBaseAttributeResponse.js.map +1 -0
  111. package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.d.ts +124 -0
  112. package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.js +82 -0
  113. package/dist/models/DescribeKnowledgeBaseAttributeResponseBody.js.map +1 -0
  114. package/dist/models/DescribeKnowledgeBasesRequest.d.ts +63 -0
  115. package/dist/models/DescribeKnowledgeBasesRequest.js +68 -0
  116. package/dist/models/DescribeKnowledgeBasesRequest.js.map +1 -0
  117. package/dist/models/DescribeKnowledgeBasesResponse.d.ts +19 -0
  118. package/dist/models/DescribeKnowledgeBasesResponse.js +69 -0
  119. package/dist/models/DescribeKnowledgeBasesResponse.js.map +1 -0
  120. package/dist/models/DescribeKnowledgeBasesResponseBody.d.ts +136 -0
  121. package/dist/models/DescribeKnowledgeBasesResponseBody.js +104 -0
  122. package/dist/models/DescribeKnowledgeBasesResponseBody.js.map +1 -0
  123. package/dist/models/DescribeModelApisRequest.d.ts +15 -23
  124. package/dist/models/DescribeModelApisRequest.js.map +1 -1
  125. package/dist/models/DescribeModelApisResponseBody.d.ts +19 -24
  126. package/dist/models/DescribeModelApisResponseBody.js +2 -0
  127. package/dist/models/DescribeModelApisResponseBody.js.map +1 -1
  128. package/dist/models/InstallPolarClawPluginRequest.d.ts +2 -4
  129. package/dist/models/InstallPolarClawPluginRequest.js.map +1 -1
  130. package/dist/models/InstallPolarClawPluginResponseBody.d.ts +4 -4
  131. package/dist/models/ModifyModelApiRequest.d.ts +27 -17
  132. package/dist/models/ModifyModelApiRequest.js +2 -0
  133. package/dist/models/ModifyModelApiRequest.js.map +1 -1
  134. package/dist/models/ModifyModelApiResponseBody.d.ts +1 -1
  135. package/dist/models/model.d.ts +23 -0
  136. package/dist/models/model.js +85 -38
  137. package/dist/models/model.js.map +1 -1
  138. package/package.json +1 -1
  139. package/src/client.ts +497 -43
  140. package/src/models/AddPolarOssauthorizedAccountRequest.ts +68 -0
  141. package/src/models/AddPolarOssauthorizedAccountResponse.ts +40 -0
  142. package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +64 -0
  143. package/src/models/CreateAgenticDbtenantApiKeyRequest.ts +13 -1
  144. package/src/models/CreateAgenticDbtenantApiKeyResponseBody.ts +21 -0
  145. package/src/models/CreateAidbclusterApiKeyRequest.ts +5 -2
  146. package/src/models/CreateAidbclusterApiKeyResponseBody.ts +1 -1
  147. package/src/models/CreateAidbclusterRequest.ts +33 -35
  148. package/src/models/CreateAidbclusterResponseBody.ts +1 -1
  149. package/src/models/CreateAidbclusterTaskRequest.ts +2 -2
  150. package/src/models/CreateKnowledgeBaseRequest.ts +96 -0
  151. package/src/models/CreateKnowledgeBaseResponse.ts +40 -0
  152. package/src/models/CreateKnowledgeBaseResponseBody.ts +44 -0
  153. package/src/models/CreateKnowledgeSpaceRequest.ts +233 -0
  154. package/src/models/CreateKnowledgeSpaceResponse.ts +40 -0
  155. package/src/models/CreateKnowledgeSpaceResponseBody.ts +64 -0
  156. package/src/models/CreateModelApiRequest.ts +32 -20
  157. package/src/models/CreateModelApiResponseBody.ts +2 -2
  158. package/src/models/DeleteAgenticDbcomputeClusterRequest.ts +35 -1
  159. package/src/models/DeleteAgenticDbcomputeClusterResponseBody.ts +3 -0
  160. package/src/models/DeleteAidbclusterApiKeyRequest.ts +4 -1
  161. package/src/models/DeleteAidbclusterRequest.ts +4 -1
  162. package/src/models/DeleteAidbclusterResponseBody.ts +2 -2
  163. package/src/models/DeleteKnowledgeBaseRequest.ts +48 -0
  164. package/src/models/DeleteKnowledgeBaseResponse.ts +40 -0
  165. package/src/models/DeleteKnowledgeBaseResponseBody.ts +44 -0
  166. package/src/models/DeletePolarOssauthorizedAccountRequest.ts +68 -0
  167. package/src/models/DeletePolarOssauthorizedAccountResponse.ts +40 -0
  168. package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +64 -0
  169. package/src/models/DescribeAgenticDbbranchEndpointsRequest.ts +10 -0
  170. package/src/models/DescribeAgenticDbbranchEndpointsResponseBody.ts +101 -0
  171. package/src/models/DescribeAgenticDbprojectsRequest.ts +19 -0
  172. package/src/models/DescribeAgenticDbprojectsResponseBody.ts +40 -0
  173. package/src/models/DescribeAidbclusterApiKeysRequest.ts +3 -0
  174. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +49 -53
  175. package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +8 -8
  176. package/src/models/DescribeAidbclustersRequest.ts +25 -39
  177. package/src/models/DescribeAidbclustersResponseBody.ts +3 -7
  178. package/src/models/DescribeApplicationPerformanceRequest.ts +4 -4
  179. package/src/models/DescribeApplicationPerformanceShrinkRequest.ts +4 -4
  180. package/src/models/DescribeDbclusterAttributeRequest.ts +1 -1
  181. package/src/models/DescribeDbclusterAttributeResponseBody.ts +73 -152
  182. package/src/models/DescribeDbclusterTderesponseBody.ts +19 -26
  183. package/src/models/DescribeKnowledgeBaseAttributeRequest.ts +48 -0
  184. package/src/models/DescribeKnowledgeBaseAttributeResponse.ts +40 -0
  185. package/src/models/DescribeKnowledgeBaseAttributeResponseBody.ts +161 -0
  186. package/src/models/DescribeKnowledgeBasesRequest.ts +86 -0
  187. package/src/models/DescribeKnowledgeBasesResponse.ts +40 -0
  188. package/src/models/DescribeKnowledgeBasesResponseBody.ts +186 -0
  189. package/src/models/DescribeModelApisRequest.ts +15 -23
  190. package/src/models/DescribeModelApisResponseBody.ts +21 -24
  191. package/src/models/InstallPolarClawPluginRequest.ts +2 -4
  192. package/src/models/InstallPolarClawPluginResponseBody.ts +4 -4
  193. package/src/models/ModifyModelApiRequest.ts +29 -17
  194. package/src/models/ModifyModelApiResponseBody.ts +1 -1
  195. package/src/models/model.ts +23 -0
@@ -0,0 +1,68 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddPolarOSSAuthorizedAccountRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The list of authorized accounts to add, separated by commas. You can pass in UIDs and RAM role ARNs in mixed parameter notation.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 1234567890,acs:ram::123456:role/myrole
14
+ */
15
+ authorizedUserIds?: string;
16
+ /**
17
+ * @remarks
18
+ * The ID of the PolarDB cluster.
19
+ *
20
+ * @example
21
+ * pc-xxxxxxxxxxxxxxxxx
22
+ */
23
+ DBClusterId?: string;
24
+ /**
25
+ * @remarks
26
+ * The cold storage instance ID.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * pfs-xxxxxxxxxxxxxxxxx
32
+ */
33
+ pfsInstanceId?: string;
34
+ /**
35
+ * @remarks
36
+ * The region ID.
37
+ *
38
+ * @example
39
+ * cn-beijing
40
+ */
41
+ regionId?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ authorizedUserIds: 'AuthorizedUserIds',
45
+ DBClusterId: 'DBClusterId',
46
+ pfsInstanceId: 'PfsInstanceId',
47
+ regionId: 'RegionId',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ authorizedUserIds: 'string',
54
+ DBClusterId: 'string',
55
+ pfsInstanceId: 'string',
56
+ regionId: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ super.validate();
62
+ }
63
+
64
+ constructor(map?: { [key: string]: any }) {
65
+ super(map);
66
+ }
67
+ }
68
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AddPolarOSSAuthorizedAccountResponseBody } from "./AddPolarOssauthorizedAccountResponseBody";
4
+
5
+
6
+ export class AddPolarOSSAuthorizedAccountResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AddPolarOSSAuthorizedAccountResponseBody;
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: AddPolarOSSAuthorizedAccountResponseBody,
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,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddPolarOSSAuthorizedAccountResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The updated list of RAM role ARNs, separated by commas.
9
+ *
10
+ * @example
11
+ * arn:sts::123456:assumed-role/myrole/*
12
+ */
13
+ authorizedUserArnIds?: string;
14
+ /**
15
+ * @remarks
16
+ * The updated list of UIDs, separated by commas.
17
+ *
18
+ * @example
19
+ * 1234567890,9876543210
20
+ */
21
+ authorizedUserIds?: string;
22
+ /**
23
+ * @remarks
24
+ * The cold storage instance ID.
25
+ *
26
+ * @example
27
+ * pfs-xxxxxxxxxxxxxxxxx
28
+ */
29
+ pfsInstanceId?: string;
30
+ /**
31
+ * @remarks
32
+ * The request ID.
33
+ *
34
+ * @example
35
+ * F45FFACC-xxx
36
+ */
37
+ requestId?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ authorizedUserArnIds: 'AuthorizedUserArnIds',
41
+ authorizedUserIds: 'AuthorizedUserIds',
42
+ pfsInstanceId: 'PfsInstanceId',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ authorizedUserArnIds: 'string',
50
+ authorizedUserIds: 'string',
51
+ pfsInstanceId: 'string',
52
+ requestId: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The AgenticDB cluster ID.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,17 +14,25 @@ export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
12
14
  */
13
15
  DBClusterId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The description of the API key usage.
19
+ *
15
20
  * @example
16
- * MCP Server专用Key
21
+ * Dedicated key for MCP Server
17
22
  */
18
23
  description?: string;
19
24
  /**
25
+ * @remarks
26
+ * The expiration time in ISO 8601 format. If this parameter is not specified, the API key never expires.
27
+ *
20
28
  * @example
21
29
  * 2027-01-01T00:00:00Z
22
30
  */
23
31
  expireTime?: string;
24
32
  /**
25
33
  * @remarks
34
+ * The region ID.
35
+ *
26
36
  * This parameter is required.
27
37
  *
28
38
  * @example
@@ -31,6 +41,8 @@ export class CreateAgenticDBTenantApiKeyRequest extends $dara.Model {
31
41
  regionId?: string;
32
42
  /**
33
43
  * @remarks
44
+ * The tenant name. The name must be unique within the cluster and contain 2 to 64 characters.
45
+ *
34
46
  * This parameter is required.
35
47
  *
36
48
  * @example
@@ -4,36 +4,57 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateAgenticDBTenantApiKeyResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The plaintext of the API key. This value is returned only in this response.
9
+ *
7
10
  * @example
8
11
  * pagc_key_xxxx.yyyy
9
12
  */
10
13
  apiKey?: string;
11
14
  /**
15
+ * @remarks
16
+ * The resource ID of the API key.
17
+ *
12
18
  * @example
13
19
  * ak-xxxxxxxxxxxx
14
20
  */
15
21
  apiKeyId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The time when the API key was created.
25
+ *
17
26
  * @example
18
27
  * 2026-06-10T08:00:00Z
19
28
  */
20
29
  createTime?: string;
21
30
  /**
31
+ * @remarks
32
+ * The expiration time of the API key. This value is empty if the API key never expires.
33
+ *
22
34
  * @example
23
35
  * 2027-01-01T00:00:00Z
24
36
  */
25
37
  expireTime?: string;
26
38
  /**
39
+ * @remarks
40
+ * The request ID.
41
+ *
27
42
  * @example
28
43
  * F45FFACC-1B2C-3D4E-5F6A-7B8C9D0E1F2A
29
44
  */
30
45
  requestId?: string;
31
46
  /**
47
+ * @remarks
48
+ * The tenant ID.
49
+ *
32
50
  * @example
33
51
  * t-aaaa111122223333
34
52
  */
35
53
  tenantId?: string;
36
54
  /**
55
+ * @remarks
56
+ * The tenant name.
57
+ *
37
58
  * @example
38
59
  * my-tenant
39
60
  */
@@ -12,6 +12,9 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
12
12
  */
13
13
  description?: string;
14
14
  /**
15
+ * @remarks
16
+ * The model space ID.
17
+ *
15
18
  * @example
16
19
  * pms-xxx
17
20
  */
@@ -19,8 +22,8 @@ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
19
22
  /**
20
23
  * @remarks
21
24
  * The region ID.
22
- * > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the regions of all clusters under the specified account.
23
- * > * If you leave this parameter empty, scheduled tasks across all regions under the current account are queried.
25
+ * > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the region information of all clusters under the specified account.
26
+ * > * If this parameter is left empty, scheduled tasks in all regions under the current account are queried by default.
24
27
  *
25
28
  * This parameter is required.
26
29
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateAIDBClusterApiKeyResponseBodyApiKey extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The API key of the model service.
8
+ * The API key for model serving.
9
9
  *
10
10
  * @example
11
11
  * xxx
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateAIDBClusterRequestTimeSlices extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The start time of the billing interval. The time is in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
8
+ * The start time of the task. The time is in the `YYYY-MM-DDThh:mm:ssZ` format (UTC).
9
9
  *
10
10
  * @example
11
11
  * 1758729600
@@ -13,7 +13,7 @@ export class CreateAIDBClusterRequestTimeSlices extends $dara.Model {
13
13
  beginTime?: number;
14
14
  /**
15
15
  * @remarks
16
- * The end time of the billing interval, which must be later than the start time. The time is in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
16
+ * The end time of the query. The end time must be later than the start time. The time is in the `YYYY-MM-DDThh:mmZ` format (UTC).
17
17
  *
18
18
  * @example
19
19
  * 1758733200
@@ -56,8 +56,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
56
56
  * Specifies whether to enable auto-renewal. Valid values:
57
57
  *
58
58
  * - **true**: Auto-renewal is enabled.
59
- *
60
- * - **false**: Auto-renewal is disabled.
59
+ * - **false**: Auto-renewal is not enabled.
61
60
  *
62
61
  * Default value: **false**.
63
62
  *
@@ -69,25 +68,26 @@ export class CreateAIDBClusterRequest extends $dara.Model {
69
68
  autoRenew?: string;
70
69
  /**
71
70
  * @remarks
72
- * Specifies whether to automatically use a coupon. Valid values:
71
+ * Specifies whether to automatically use coupons. Valid values:
72
+ * * true (default): Use coupons.
73
+ * * false: Do not use coupons.
73
74
  *
74
75
  * @example
75
76
  * false
76
77
  */
77
78
  autoUseCoupon?: boolean;
78
- /**
79
- * @remarks
80
- * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
81
- */
82
79
  clientToken?: string;
83
80
  /**
81
+ * @remarks
82
+ * Specifies whether to create a public endpoint.
83
+ *
84
84
  * @example
85
85
  * ON
86
86
  */
87
87
  createPublicEndpoint?: string;
88
88
  /**
89
89
  * @remarks
90
- * The description of the cluster. You can use the description to perform a fuzzy search.
90
+ * The cluster description. Fuzzy match is supported.
91
91
  *
92
92
  * @example
93
93
  * test
@@ -95,7 +95,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
95
95
  DBClusterDescription?: string;
96
96
  /**
97
97
  * @remarks
98
- * The ID of the PolarDB cluster that the application depends on.
98
+ * The instance ID of the PolarDB instance on which the application depends.
99
99
  *
100
100
  * @example
101
101
  * pc-******************
@@ -103,7 +103,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
103
103
  DBClusterId?: string;
104
104
  /**
105
105
  * @remarks
106
- * The node specification.
106
+ * The node specifications.
107
107
  *
108
108
  * @example
109
109
  * polar.pg.g4.6xlarge.gu4
@@ -127,7 +127,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
127
127
  inferenceEngine?: string;
128
128
  /**
129
129
  * @remarks
130
- * The Container Service for Kubernetes (ACK) cluster ID.
130
+ * The ACK cluster ID.
131
131
  *
132
132
  * @example
133
133
  * xxxxxxxxxxxxxxxxxxxxxxx
@@ -143,7 +143,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
143
143
  kubeConfig?: string;
144
144
  /**
145
145
  * @remarks
146
- * The management mode of the Kubernetes cluster.
146
+ * The Kubernetes cluster management mode.
147
147
  *
148
148
  * @example
149
149
  * self_k8s
@@ -151,7 +151,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
151
151
  kubeManagement?: string;
152
152
  /**
153
153
  * @remarks
154
- * The type of the Kubernetes deployment.
154
+ * aideploy
155
155
  *
156
156
  * @example
157
157
  * aideploy
@@ -174,11 +174,17 @@ export class CreateAIDBClusterRequest extends $dara.Model {
174
174
  */
175
175
  managementMode?: string;
176
176
  /**
177
+ * @remarks
178
+ * The model name.
179
+ *
177
180
  * @example
178
181
  * Qwen3-30B-A3B
179
182
  */
180
183
  modelName?: string;
181
184
  /**
185
+ * @remarks
186
+ * The model operator space.
187
+ *
182
188
  * @example
183
189
  * pms-xxx
184
190
  */
@@ -195,10 +201,9 @@ export class CreateAIDBClusterRequest extends $dara.Model {
195
201
  password?: string;
196
202
  /**
197
203
  * @remarks
198
- * The billing method. Valid values:
204
+ * The billing method. Valid values:
199
205
  *
200
206
  * - **Postpaid**: pay-as-you-go.
201
- *
202
207
  * - **Prepaid**: subscription.
203
208
  *
204
209
  * This parameter is required.
@@ -209,11 +214,10 @@ export class CreateAIDBClusterRequest extends $dara.Model {
209
214
  payType?: string;
210
215
  /**
211
216
  * @remarks
212
- * The unit of the subscription duration. This parameter is required if **PayType** is set to **Prepaid**. Valid values:
213
- *
214
- * - **Year**
217
+ * This parameter is required to pass parameter when **PayType** is set to **Prepaid**. Specifies the unit of the upfront payment duration for the subscription cluster.
215
218
  *
216
- * - **Month**
219
+ * - **Year**: The subscription duration is measured in years.
220
+ * - **Month**: The subscription duration is measured in months.
217
221
  *
218
222
  * @example
219
223
  * 5
@@ -221,11 +225,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
221
225
  period?: string;
222
226
  /**
223
227
  * @remarks
224
- * The coupon code. If you do not specify this parameter, the default coupon is used.
225
- *
226
- * - true (default): Use a coupon.
227
- *
228
- * - false: Do not use a coupon.
228
+ * The coupon code. If this parameter is not specified, the default coupon is used.
229
229
  *
230
230
  * @example
231
231
  * 727xxxxxx934
@@ -253,7 +253,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
253
253
  securityGroupId?: string;
254
254
  /**
255
255
  * @remarks
256
- * The storage space. Unit: GB.
256
+ * The storage space.
257
257
  *
258
258
  * @example
259
259
  * 1024
@@ -269,16 +269,14 @@ export class CreateAIDBClusterRequest extends $dara.Model {
269
269
  storageType?: string;
270
270
  /**
271
271
  * @remarks
272
- * The billing intervals for the pay-as-you-go cluster.
272
+ * The pay-as-you-go time intervals.
273
273
  */
274
274
  timeSlices?: CreateAIDBClusterRequestTimeSlices[];
275
275
  /**
276
276
  * @remarks
277
- * The subscription duration. This parameter is required if **PayType** is set to **Prepaid**.
278
- *
279
- * - If **Period** is set to **Month**, the value of **UsedTime** must be an integer from `[1-9]`.
280
- *
281
- * - If **Period** is set to **Year**, the value of **UsedTime** must be an integer from `[1-3]`.
277
+ * This parameter is required when **PayType** is set to **Prepaid**.
278
+ * - If **Period** is set to **Month**, the valid values of **UsedTime** are integers in the range of `[1-9]`.
279
+ * - If **Period** is set to **Year**, the valid values of **UsedTime** are integers in the range of `[1-3]`.
282
280
  *
283
281
  * @example
284
282
  * 1
@@ -286,7 +284,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
286
284
  usedTime?: string;
287
285
  /**
288
286
  * @remarks
289
- * The virtual private cloud (VPC) ID.
287
+ * The VPC ID.
290
288
  *
291
289
  * This parameter is required.
292
290
  *
@@ -306,7 +304,7 @@ export class CreateAIDBClusterRequest extends $dara.Model {
306
304
  vSwitchId?: string;
307
305
  /**
308
306
  * @remarks
309
- * The availability zone ID.
307
+ * The zone ID.
310
308
  *
311
309
  * @example
312
310
  * cn-beijing-i
@@ -21,7 +21,7 @@ export class CreateAIDBClusterResponseBody extends $dara.Model {
21
21
  orderId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The request ID.
24
+ * Id of the request
25
25
  *
26
26
  * @example
27
27
  * CDB3258F-B5DE-43C4-8935-CBA0CA******
@@ -104,7 +104,7 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
104
104
  resourceOwnerId?: number;
105
105
  /**
106
106
  * @remarks
107
- * The running parameters in JSON string format.
107
+ * The running parameters in a JSON string.
108
108
  *
109
109
  * This parameter is required.
110
110
  *
@@ -122,7 +122,7 @@ export class CreateAIDBClusterTaskRequest extends $dara.Model {
122
122
  securityGroupId?: string;
123
123
  /**
124
124
  * @remarks
125
- * The description of the model service.
125
+ * The model service description.
126
126
  *
127
127
  * @example
128
128
  * xxxx
@@ -0,0 +1,96 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateKnowledgeBaseRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The description of the knowledge base.
9
+ *
10
+ * @example
11
+ * testkbDesc
12
+ */
13
+ description?: string;
14
+ /**
15
+ * @remarks
16
+ * The type of the knowledge base: PERSONAL or PUBLIC.
17
+ *
18
+ * @example
19
+ * PUBLIC
20
+ */
21
+ knowledgeBaseType?: string;
22
+ /**
23
+ * @remarks
24
+ * The unique identifier of the knowledge space.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * pks-xxxxxx
30
+ */
31
+ knowledgeSpaceId?: string;
32
+ /**
33
+ * @remarks
34
+ * The name of the knowledge base.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * testkb
40
+ */
41
+ name?: string;
42
+ /**
43
+ * @remarks
44
+ * The region ID.
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * cn-beijing
50
+ */
51
+ regionId?: string;
52
+ /**
53
+ * @remarks
54
+ * The search mode. Valid values:
55
+ *
56
+ * * balanced (default): balanced mode
57
+ * * precise: precise mode
58
+ * * semantic: semantic mode
59
+ * * knn: KNN mode
60
+ * * rrf: reciprocal rank fusion
61
+ *
62
+ * @example
63
+ * balanced
64
+ */
65
+ searchMode?: string;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ description: 'Description',
69
+ knowledgeBaseType: 'KnowledgeBaseType',
70
+ knowledgeSpaceId: 'KnowledgeSpaceId',
71
+ name: 'Name',
72
+ regionId: 'RegionId',
73
+ searchMode: 'SearchMode',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ description: 'string',
80
+ knowledgeBaseType: 'string',
81
+ knowledgeSpaceId: 'string',
82
+ name: 'string',
83
+ regionId: 'string',
84
+ searchMode: 'string',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ super.validate();
90
+ }
91
+
92
+ constructor(map?: { [key: string]: any }) {
93
+ super(map);
94
+ }
95
+ }
96
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateKnowledgeBaseResponseBody } from "./CreateKnowledgeBaseResponseBody";
4
+
5
+
6
+ export class CreateKnowledgeBaseResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateKnowledgeBaseResponseBody;
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: CreateKnowledgeBaseResponseBody,
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
+