@alicloud/polardb20170801 8.2.0 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/client.d.ts +48 -52
  2. package/dist/client.js +75 -52
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnswerKnowledgeBaseRequest.d.ts +31 -1
  5. package/dist/models/AnswerKnowledgeBaseRequest.js.map +1 -1
  6. package/dist/models/AnswerKnowledgeBaseResponseBody.d.ts +9 -0
  7. package/dist/models/AnswerKnowledgeBaseResponseBody.js.map +1 -1
  8. package/dist/models/CreateKbsyncLinkRequest.d.ts +3 -0
  9. package/dist/models/CreateKbsyncLinkRequest.js +6 -0
  10. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  11. package/dist/models/CreateStoragePlanRequest.d.ts +18 -9
  12. package/dist/models/CreateStoragePlanRequest.js.map +1 -1
  13. package/dist/models/DeleteDbclusterEndpointRequest.d.ts +4 -1
  14. package/dist/models/DeleteDbclusterEndpointRequest.js.map +1 -1
  15. package/dist/models/DeleteKnowledgeBaseFileRequest.d.ts +6 -0
  16. package/dist/models/DeleteKnowledgeBaseFileRequest.js.map +1 -1
  17. package/dist/models/DeleteKnowledgeBaseFileResponseBody.d.ts +3 -0
  18. package/dist/models/DeleteKnowledgeBaseFileResponseBody.js.map +1 -1
  19. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +3 -0
  20. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  21. package/dist/models/DescribeDbclusterSslrequest.d.ts +4 -1
  22. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  23. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +1 -1
  24. package/dist/models/DescribeDbclusterVersionRequest.d.ts +4 -6
  25. package/dist/models/DescribeDbclusterVersionRequest.js.map +1 -1
  26. package/dist/models/DescribeDbclusterVersionResponseBody.d.ts +56 -80
  27. package/dist/models/DescribeDbclusterVersionResponseBody.js.map +1 -1
  28. package/dist/models/DescribeKnowledgeBaseAnswerRequest.d.ts +6 -0
  29. package/dist/models/DescribeKnowledgeBaseAnswerRequest.js.map +1 -1
  30. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +70 -3
  31. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
  32. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.d.ts +12 -0
  33. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.js.map +1 -1
  34. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +33 -0
  35. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
  36. package/dist/models/DescribeKnowledgeBaseFilesRequest.d.ts +23 -1
  37. package/dist/models/DescribeKnowledgeBaseFilesRequest.js.map +1 -1
  38. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.d.ts +117 -2
  39. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.d.ts +4 -0
  41. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.js.map +1 -1
  42. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.d.ts +113 -0
  43. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.js.map +1 -1
  44. package/dist/models/DisableDbclusterServerlessRequest.d.ts +12 -0
  45. package/dist/models/DisableDbclusterServerlessRequest.js.map +1 -1
  46. package/dist/models/EnableDbclusterServerlessRequest.d.ts +12 -0
  47. package/dist/models/EnableDbclusterServerlessRequest.js.map +1 -1
  48. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +11 -8
  49. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  50. package/dist/models/ModifyDbclusterArchRequest.d.ts +16 -9
  51. package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
  52. package/dist/models/ModifyDbclusterParametersRequest.d.ts +23 -27
  53. package/dist/models/ModifyDbclusterParametersRequest.js.map +1 -1
  54. package/dist/models/ModifyDbclusterSslrequest.d.ts +18 -9
  55. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  56. package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +22 -35
  57. package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
  58. package/dist/models/ModifyDbclusterStoragePerformanceResponseBody.d.ts +1 -1
  59. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +16 -1
  60. package/dist/models/RetrievalKnowledgeBaseRequest.js.map +1 -1
  61. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +42 -3
  62. package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
  63. package/dist/models/RetryKnowledgeBaseFilesRequest.d.ts +6 -0
  64. package/dist/models/RetryKnowledgeBaseFilesRequest.js.map +1 -1
  65. package/dist/models/RetryKnowledgeBaseFilesResponseBody.d.ts +31 -0
  66. package/dist/models/RetryKnowledgeBaseFilesResponseBody.js.map +1 -1
  67. package/dist/models/TempModifyDbnodeRequest.d.ts +20 -13
  68. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  69. package/dist/models/TransformDbclusterPayTypeRequest.d.ts +19 -10
  70. package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
  71. package/dist/models/TransformDbclusterPayTypeResponseBody.d.ts +2 -3
  72. package/dist/models/TransformDbclusterPayTypeResponseBody.js.map +1 -1
  73. package/dist/models/TriggerKnowledgeBaseSyncRequest.d.ts +7 -0
  74. package/dist/models/TriggerKnowledgeBaseSyncRequest.js.map +1 -1
  75. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.d.ts +3 -0
  76. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.js.map +1 -1
  77. package/dist/models/UpdateKbsyncLinkRequest.d.ts +6 -0
  78. package/dist/models/UpdateKbsyncLinkRequest.js +12 -0
  79. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  80. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.d.ts +57 -0
  81. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.js.map +1 -1
  82. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.d.ts +3 -0
  83. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.js.map +1 -1
  84. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.d.ts +13 -0
  85. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.js.map +1 -1
  86. package/dist/models/UpdateKnowledgeBaseRequest.d.ts +19 -0
  87. package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
  88. package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +6 -0
  89. package/dist/models/UpdateKnowledgeBaseResponseBody.js.map +1 -1
  90. package/dist/models/UpdateKnowledgeSpaceRequest.d.ts +65 -0
  91. package/dist/models/UpdateKnowledgeSpaceRequest.js.map +1 -1
  92. package/dist/models/UpdateKnowledgeSpaceResponseBody.d.ts +9 -0
  93. package/dist/models/UpdateKnowledgeSpaceResponseBody.js.map +1 -1
  94. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.d.ts +20 -0
  95. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.js.map +1 -1
  96. package/package.json +1 -1
  97. package/src/client.ts +84 -52
  98. package/src/models/AnswerKnowledgeBaseRequest.ts +31 -1
  99. package/src/models/AnswerKnowledgeBaseResponseBody.ts +9 -0
  100. package/src/models/CreateKbsyncLinkRequest.ts +9 -0
  101. package/src/models/CreateStoragePlanRequest.ts +18 -9
  102. package/src/models/DeleteDbclusterEndpointRequest.ts +4 -1
  103. package/src/models/DeleteKnowledgeBaseFileRequest.ts +6 -0
  104. package/src/models/DeleteKnowledgeBaseFileResponseBody.ts +3 -0
  105. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +3 -0
  106. package/src/models/DescribeDbclusterSslrequest.ts +4 -1
  107. package/src/models/DescribeDbclusterSslresponseBody.ts +1 -1
  108. package/src/models/DescribeDbclusterVersionRequest.ts +4 -6
  109. package/src/models/DescribeDbclusterVersionResponseBody.ts +56 -80
  110. package/src/models/DescribeKnowledgeBaseAnswerRequest.ts +6 -0
  111. package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +70 -3
  112. package/src/models/DescribeKnowledgeBaseFileShardsRequest.ts +12 -0
  113. package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +33 -0
  114. package/src/models/DescribeKnowledgeBaseFilesRequest.ts +23 -1
  115. package/src/models/DescribeKnowledgeBaseFilesResponseBody.ts +117 -2
  116. package/src/models/DescribeKnowledgeSpaceAttributeRequest.ts +4 -0
  117. package/src/models/DescribeKnowledgeSpaceAttributeResponseBody.ts +113 -0
  118. package/src/models/DisableDbclusterServerlessRequest.ts +12 -0
  119. package/src/models/EnableDbclusterServerlessRequest.ts +12 -0
  120. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +11 -8
  121. package/src/models/ModifyDbclusterArchRequest.ts +16 -9
  122. package/src/models/ModifyDbclusterParametersRequest.ts +24 -28
  123. package/src/models/ModifyDbclusterSslrequest.ts +18 -9
  124. package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +22 -35
  125. package/src/models/ModifyDbclusterStoragePerformanceResponseBody.ts +1 -1
  126. package/src/models/RetrievalKnowledgeBaseRequest.ts +16 -1
  127. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +42 -3
  128. package/src/models/RetryKnowledgeBaseFilesRequest.ts +6 -0
  129. package/src/models/RetryKnowledgeBaseFilesResponseBody.ts +31 -0
  130. package/src/models/TempModifyDbnodeRequest.ts +20 -13
  131. package/src/models/TransformDbclusterPayTypeRequest.ts +19 -10
  132. package/src/models/TransformDbclusterPayTypeResponseBody.ts +2 -3
  133. package/src/models/TriggerKnowledgeBaseSyncRequest.ts +7 -0
  134. package/src/models/TriggerKnowledgeBaseSyncResponseBody.ts +3 -0
  135. package/src/models/UpdateKbsyncLinkRequest.ts +18 -0
  136. package/src/models/UpdateKnowledgeBaseFileShardingStrategyRequest.ts +57 -0
  137. package/src/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.ts +3 -0
  138. package/src/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.ts +13 -0
  139. package/src/models/UpdateKnowledgeBaseRequest.ts +19 -0
  140. package/src/models/UpdateKnowledgeBaseResponseBody.ts +6 -0
  141. package/src/models/UpdateKnowledgeSpaceRequest.ts +65 -0
  142. package/src/models/UpdateKnowledgeSpaceResponseBody.ts +9 -0
  143. package/src/models/UpdateKnowledgeSpaceShrinkRequest.ts +20 -0
@@ -3,10 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateStoragePlanRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to automatically use coupons. Valid values:
9
+ * * true (default): Uses coupons.
10
+ * * false: Does not use coupons.
11
+ */
6
12
  autoUseCoupon?: boolean;
7
13
  /**
8
14
  * @remarks
9
- * A client token to ensure the idempotence of the request. Generate this token on your client. The token must be unique across different requests. It is case-sensitive and can contain up to 64 ASCII characters.
15
+ * The client token that is used to ensure the idempotency 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 is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length.
10
16
  *
11
17
  * @example
12
18
  * 6000170000591aed949d0f5********************
@@ -16,11 +22,11 @@ export class CreateStoragePlanRequest extends $dara.Model {
16
22
  ownerId?: number;
17
23
  /**
18
24
  * @remarks
19
- * The unit of the subscription duration for the storage plan. Valid values:
25
+ * The unit of the storage plan duration. Valid values:
20
26
  *
21
- * - **Month**
27
+ * - **Month**: month.
22
28
  *
23
- * - **Year**
29
+ * - **Year**: year.
24
30
  *
25
31
  * This parameter is required.
26
32
  *
@@ -29,6 +35,9 @@ export class CreateStoragePlanRequest extends $dara.Model {
29
35
  */
30
36
  period?: string;
31
37
  /**
38
+ * @remarks
39
+ * The coupon code. If this parameter is not specified, the default coupon is used.
40
+ *
32
41
  * @example
33
42
  * 727xxxxxx934
34
43
  */
@@ -37,7 +46,7 @@ export class CreateStoragePlanRequest extends $dara.Model {
37
46
  resourceOwnerId?: number;
38
47
  /**
39
48
  * @remarks
40
- * The capacity of the storage plan, in GB. Valid values: 50, 100, 200, 300, 500, 1,000, 2,000, 3,000, 5,000, 10,000, 15,000, 20,000, 25,000, 30,000, 50,000, 100,000, and 200,000.
49
+ * The capacity of the storage plan. Unit: GB. Valid values: 50, 100, 200, 300, 500, 1000, 2000, 3000, 5000, 10000, 15000, 20000, 25000, 30000, 50000, 100000, and 200000.
41
50
  *
42
51
  * This parameter is required.
43
52
  *
@@ -49,9 +58,9 @@ export class CreateStoragePlanRequest extends $dara.Model {
49
58
  * @remarks
50
59
  * The type of the storage plan. Valid values:
51
60
  *
52
- * - **Mainland**: For use in the Chinese mainland.
61
+ * - **Mainland**: general-purpose, applicable in the Chinese mainland.
53
62
  *
54
- * - **Overseas**: For use in China (Hong Kong) and regions outside China.
63
+ * - **Overseas**: general-purpose, applicable in Hong Kong (China) and outside China.
55
64
  *
56
65
  * This parameter is required.
57
66
  *
@@ -61,11 +70,11 @@ export class CreateStoragePlanRequest extends $dara.Model {
61
70
  storageType?: string;
62
71
  /**
63
72
  * @remarks
64
- * The subscription duration of the storage plan.
73
+ * The duration of the storage plan.
65
74
  *
66
75
  * - If **Period** is set to **Month**, the value ranges from 1 to 9.
67
76
  *
68
- * - If **Period** is set to **Year**, the valid values are 1, 2, 3, and 5.
77
+ * - If **Period** is set to **Year**, valid values are 1, 2, 3, and 5.
69
78
  *
70
79
  * This parameter is required.
71
80
  *
@@ -15,7 +15,7 @@ export class DeleteDBClusterEndpointRequest extends $dara.Model {
15
15
  DBClusterId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The ID of the custom cluster endpoint.
18
+ * The custom cluster endpoint ID.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -26,6 +26,9 @@ export class DeleteDBClusterEndpointRequest extends $dara.Model {
26
26
  ownerAccount?: string;
27
27
  ownerId?: number;
28
28
  /**
29
+ * @remarks
30
+ * The PolarFs instance ID.
31
+ *
29
32
  * @example
30
33
  * pfs-test*****
31
34
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteKnowledgeBaseFileRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The file ID. To delete multiple files at a time, separate the file IDs with commas (,). A maximum of 500 file IDs are supported.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DeleteKnowledgeBaseFileRequest extends $dara.Model {
13
15
  fileId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The unique ID of the knowledge base.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -21,6 +25,8 @@ export class DeleteKnowledgeBaseFileRequest extends $dara.Model {
21
25
  knowledgeBaseId?: string;
22
26
  /**
23
27
  * @remarks
28
+ * The region ID.
29
+ *
24
30
  * This parameter is required.
25
31
  *
26
32
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteKnowledgeBaseFileResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
7
10
  * @example
8
11
  * 6BD9CDE4-5E7B-4BF3-9BB8-83C73E******
9
12
  */
@@ -16,6 +16,9 @@ export class DescribeDBClusterAccessWhitelistRequest extends $dara.Model {
16
16
  ownerAccount?: string;
17
17
  ownerId?: number;
18
18
  /**
19
+ * @remarks
20
+ * The PFS instance ID.
21
+ *
19
22
  * @example
20
23
  * pfs-xxx
21
24
  */
@@ -6,7 +6,7 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The cluster ID.
9
- * >You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters under your account, including the cluster ID.
9
+ * >You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters under your account, including cluster IDs.
10
10
  *
11
11
  * This parameter is required.
12
12
  *
@@ -17,6 +17,9 @@ export class DescribeDBClusterSSLRequest extends $dara.Model {
17
17
  ownerAccount?: string;
18
18
  ownerId?: number;
19
19
  /**
20
+ * @remarks
21
+ * The PFS instance ID.
22
+ *
20
23
  * @example
21
24
  * pfs-xxx
22
25
  */
@@ -19,7 +19,7 @@ export class DescribeDBClusterSSLResponseBodyItems extends $dara.Model {
19
19
  *
20
20
  * - **Disable**: Disabled.
21
21
  *
22
- * > This parameter is supported only when the database engine is PostgreSQL-compatible or Oracle-syntax-compatible.
22
+ * > This parameter is supported only when the database engine is PostgreSQL-compatible or Oracle syntax-compatible.
23
23
  *
24
24
  * @example
25
25
  * Enable
@@ -6,8 +6,7 @@ export class DescribeDBClusterVersionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The cluster ID.
9
- *
10
- * > Call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to view details of all clusters in your account, such as cluster IDs.
9
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters within your account, such as the cluster ID.
11
10
  *
12
11
  * This parameter is required.
13
12
  *
@@ -17,11 +16,10 @@ export class DescribeDBClusterVersionRequest extends $dara.Model {
17
16
  DBClusterId?: string;
18
17
  /**
19
18
  * @remarks
20
- * Specifies whether to return information about the latest version or a list of upgradable versions. Valid values:
21
- *
22
- * - LATEST_VERSION: Queries information about the latest version.
19
+ * Specifies whether to return the latest version information or the list of available upgrade versions. Valid values:
23
20
  *
24
- * - AVAILABLE_VERSION: Queries a list of upgradable versions.
21
+ * - LATEST_VERSION: queries the latest version information.
22
+ * - AVAILABLE_VERSION: queries the list of available upgrade versions.
25
23
  *
26
24
  * @example
27
25
  * LATEST_VERSION
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The release notes of the version.
8
+ * The release notes for the version.
9
9
  *
10
10
  * @example
11
11
  * ReleaseNote
@@ -14,14 +14,10 @@ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $
14
14
  /**
15
15
  * @remarks
16
16
  * The release status of the database version. Valid values:
17
- *
18
- * - **Stable**: The current version is stable.
19
- *
20
- * - **Old**: The current version is outdated. Do not upgrade to this version.
21
- *
22
- * - **HighRisk**: The current version has critical bugs. Do not upgrade to this version.
23
- *
24
- * - **Beta**: The current version is a beta version.
17
+ * * **Stable**: The current version is stable.
18
+ * * **Old**: The current version is outdated. Upgrading to this version is not recommended.
19
+ * * **HighRisk**: The current version has critical bugs. Upgrading to this version is not recommended.
20
+ * * **Beta**: The current version is a beta version.
25
21
  *
26
22
  * @example
27
23
  * Stable
@@ -29,7 +25,7 @@ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $
29
25
  releaseType?: string;
30
26
  /**
31
27
  * @remarks
32
- * The revision version code of the database engine. You can use this code to specify the target version for an upgrade.
28
+ * The revision version code of the database engine, which is used to specify the target version for the upgrade.
33
29
  *
34
30
  * @example
35
31
  * 20230707
@@ -37,7 +33,7 @@ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $
37
33
  revisionVersionCode?: string;
38
34
  /**
39
35
  * @remarks
40
- * The revision version of the database engine.
36
+ * The revision version number of the database engine.
41
37
  *
42
38
  * @example
43
39
  * 8.0.1.1.35.1
@@ -73,7 +69,7 @@ export class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $
73
69
  export class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extends $dara.Model {
74
70
  /**
75
71
  * @remarks
76
- * The release notes of the version.
72
+ * The release notes for the version.
77
73
  *
78
74
  * @example
79
75
  * ReleaseNote
@@ -82,10 +78,8 @@ export class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extend
82
78
  /**
83
79
  * @remarks
84
80
  * The release type. Valid values:
85
- *
86
- * - **LTS**: long-term support version.
87
- *
88
- * - **BETA**: preview version.
81
+ * * **LTS**: Long-term support version.
82
+ * * **BETA**: Preview version.
89
83
  *
90
84
  * @example
91
85
  * LTS
@@ -93,7 +87,7 @@ export class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extend
93
87
  releaseType?: string;
94
88
  /**
95
89
  * @remarks
96
- * The revision version code of the database proxy engine. You can use this code to specify the target version for an upgrade.
90
+ * The revision version code of the PolarProxy engine, which is used to specify the target version for the upgrade.
97
91
  *
98
92
  * @example
99
93
  * 20230707
@@ -101,7 +95,7 @@ export class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extend
101
95
  revisionVersionCode?: string;
102
96
  /**
103
97
  * @remarks
104
- * The revision version of the database proxy engine.
98
+ * The revision version number of the PolarProxy engine.
105
99
  *
106
100
  * @example
107
101
  * 2.8.24
@@ -144,13 +138,16 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
144
138
  */
145
139
  DBClusterId?: string;
146
140
  /**
141
+ * @remarks
142
+ * The latest stable version of PolarDB for PostgreSQL.
143
+ *
147
144
  * @example
148
145
  * 2.0.16.13.14.0
149
146
  */
150
147
  DBLatestStableVersion?: string;
151
148
  /**
152
149
  * @remarks
153
- * The latest version of the database kernel.
150
+ * The latest version of the database kernel engine.
154
151
  *
155
152
  * @example
156
153
  * 8.0.1.1.16
@@ -158,17 +155,13 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
158
155
  DBLatestVersion?: string;
159
156
  /**
160
157
  * @remarks
161
- * The minor version of the database engine.
162
- *
163
- * - If `DBVersion` is **8.0**, valid values are:
158
+ * The minor version number of the database engine.
159
+ * * If `DBVersion` is **8.0**, valid values:
160
+ * * **8.0.2**
161
+ * * **8.0.1**
162
+ * * If `DBVersion` is **5.7**, the value is **5.7.28**.
164
163
  *
165
- * - **8.0.2**
166
- *
167
- * - **8.0.1**
168
- *
169
- * - If `DBVersion` is **5.7**, the value is **5.7.28**.
170
- *
171
- * - If `DBVersion` is **5.6**, the value is **5.6.16**.
164
+ * * If `DBVersion` is **5.6**, the value is **5.6.16**.
172
165
  *
173
166
  * @example
174
167
  * 8.0.1
@@ -176,9 +169,8 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
176
169
  DBMinorVersion?: string;
177
170
  /**
178
171
  * @remarks
179
- * The revision version of the database engine.
180
- *
181
- * > For a PolarDB for MySQL 5.6 cluster, this parameter is returned only when the release date of the revision version is later than 20200831. Otherwise, this parameter is empty. For more information about the kernel version of a PolarDB for MySQL cluster, see [Kernel release notes](https://help.aliyun.com/document_detail/423884.html).
172
+ * The Milvus version number of the database engine.
173
+ * > For PolarDB for MySQL 5.6 clusters, only the `Milvus version` information with a release date later than August 31, 2020 is returned. Otherwise, this parameter is empty. For more information about the minor engine versions of PolarDB for MySQL clusters, see [Release notes](https://help.aliyun.com/document_detail/423884.html).
182
174
  *
183
175
  * @example
184
176
  * 8.0.1.1.7
@@ -186,18 +178,15 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
186
178
  DBRevisionVersion?: string;
187
179
  /**
188
180
  * @remarks
189
- * A list of upgradable versions.
181
+ * The list of available upgrade version information.
190
182
  */
191
183
  DBRevisionVersionList?: DescribeDBClusterVersionResponseBodyDBRevisionVersionList[];
192
184
  /**
193
185
  * @remarks
194
- * The major version of the database engine. Valid values:
195
- *
196
- * - **8.0**
197
- *
198
- * - **5.7**
199
- *
200
- * - **5.6**
186
+ * The major version number of the database engine. Valid values:
187
+ * * **8.0**
188
+ * * **5.7**
189
+ * * **5.6**
201
190
  *
202
191
  * @example
203
192
  * 8.0
@@ -205,34 +194,31 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
205
194
  DBVersion?: string;
206
195
  /**
207
196
  * @remarks
208
- * The status of the current minor version of the database. Valid values:
209
- *
210
- * - **Stable**: The current version is stable.
211
- *
212
- * - **Old**: The current version is outdated. Upgrade to the latest version.
213
- *
214
- * - **HighRisk**: The current version has critical bugs. Upgrade to the latest version immediately.
215
- *
216
- * - **Beta**: The current version is a beta version.
217
- *
218
- * > For more information about how to upgrade the minor version of a database, see [Upgrade versions](https://help.aliyun.com/document_detail/158572.html).
197
+ * The status of the current database minor version. Valid values:
198
+ * * **Stable**: The current version is stable.
199
+ * * **Old**: The current version is outdated. Upgrade to the latest version.
200
+ * * **HighRisk**: The current version has critical bugs. Upgrade to the latest version immediately.
201
+ * * **Beta**: The current version is a beta version.
202
+ * >For more information about how to upgrade the database minor version, see [Version upgrade](https://help.aliyun.com/document_detail/158572.html).
219
203
  *
220
204
  * @example
221
205
  * Stable
222
206
  */
223
207
  DBVersionStatus?: string;
224
208
  /**
209
+ * @remarks
210
+ * Indicates whether the current version is the latest stable version of PolarDB for PostgreSQL.
211
+ *
225
212
  * @example
226
213
  * true
227
214
  */
228
215
  isLatestStableVersion?: string;
229
216
  /**
230
217
  * @remarks
231
- * Indicates whether the current database kernel version is the latest version. Valid values:
232
- *
233
- * - **true**
218
+ * Indicates whether the current database kernel DPI engine version is the latest database engine version. Valid values:
234
219
  *
235
- * - **false**
220
+ * - **true**
221
+ * - **false**
236
222
  *
237
223
  * @example
238
224
  * true
@@ -240,11 +226,9 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
240
226
  isLatestVersion?: string;
241
227
  /**
242
228
  * @remarks
243
- * Indicates whether the current database proxy version is the latest version. Valid values:
244
- *
245
- * - **true**
246
- *
247
- * - **false**
229
+ * Indicates whether the current PolarProxy version is the latest version. Valid values:
230
+ * * **true**
231
+ * * **false**
248
232
  *
249
233
  * @example
250
234
  * true
@@ -252,7 +236,7 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
252
236
  isProxyLatestVersion?: string;
253
237
  /**
254
238
  * @remarks
255
- * The latest version of the database proxy.
239
+ * The latest version of PolarProxy.
256
240
  *
257
241
  * @example
258
242
  * 2.4.17
@@ -260,7 +244,7 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
260
244
  proxyLatestVersion?: string;
261
245
  /**
262
246
  * @remarks
263
- * The version of the database proxy.
247
+ * The version of PolarProxy.
264
248
  *
265
249
  * @example
266
250
  * 2.4.15
@@ -268,30 +252,22 @@ export class DescribeDBClusterVersionResponseBody extends $dara.Model {
268
252
  proxyRevisionVersion?: string;
269
253
  /**
270
254
  * @remarks
271
- * A list of upgradable proxy versions.
255
+ * The release status of the PolarProxy version. Valid values:
272
256
  *
273
257
  * - **Stable**: The current version is stable.
274
- *
275
- * - **Old**: This version is outdated and not recommended for upgrades.
276
- *
277
- * - **HighRisk**: This version has critical bugs and is not recommended for upgrades.
278
- *
279
- * - **Beta**: This is a beta version.
258
+ * - **Old**: The current version is outdated. Upgrading to this version is not recommended.
259
+ * - **HighRisk**: The current version has critical bugs. Upgrading to this version is not recommended.
260
+ * - **Beta**: The current version is a beta version.
280
261
  */
281
262
  proxyRevisionVersionList?: DescribeDBClusterVersionResponseBodyProxyRevisionVersionList[];
282
263
  /**
283
264
  * @remarks
284
- * The status of the database proxy version. Valid values:
285
- *
286
- * - **Stable**: The current version is stable.
287
- *
288
- * - **Old**: The current version is outdated. Upgrade to the latest version.
289
- *
290
- * - **HighRisk**: The current version has critical bugs. Upgrade to the latest version immediately.
291
- *
292
- * - **Beta**: The current version is a beta version.
293
- *
294
- * > For more information about how to upgrade the database proxy version, see [Upgrade versions](https://help.aliyun.com/document_detail/158572.html).
265
+ * The version status of PolarProxy. Valid values:
266
+ * * **Stable**: The current version is stable.
267
+ * * **Old**: The current version is outdated. Upgrade to the latest version.
268
+ * * **HighRisk**: The current version has critical bugs. Upgrade to the latest version immediately.
269
+ * * **Beta**: The current version is a beta version.
270
+ * >For more information about how to upgrade the PolarProxy version, see [Version upgrade](https://help.aliyun.com/document_detail/158572.html).
295
271
  *
296
272
  * @example
297
273
  * Stable
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeKnowledgeBaseAnswerRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The unique ID of the knowledge base.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DescribeKnowledgeBaseAnswerRequest extends $dara.Model {
13
15
  knowledgeBaseId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The unique ID of the Q&A task.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -21,6 +25,8 @@ export class DescribeKnowledgeBaseAnswerRequest extends $dara.Model {
21
25
  queryId?: string;
22
26
  /**
23
27
  * @remarks
28
+ * The region ID.
29
+ *
24
30
  * This parameter is required.
25
31
  *
26
32
  * @example
@@ -4,47 +4,78 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeKnowledgeBaseAnswerResponseBodySources extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The chunk metadata.
9
+ *
7
10
  * @example
8
11
  * {}
9
12
  */
10
13
  chunkMetadata?: { [key: string]: any };
11
14
  /**
15
+ * @remarks
16
+ * The file ID.
17
+ *
12
18
  * @example
13
19
  * 91b97b71-xxxx-xxxx-xxxx-33c6a6341cdc
14
20
  */
15
21
  fileId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The file name.
25
+ *
17
26
  * @example
18
- * 财报.pdf
27
+ * financial_report.pdf
19
28
  */
20
29
  fileName?: string;
21
30
  /**
31
+ * @remarks
32
+ * The unique ID of the knowledge base.
33
+ *
22
34
  * @example
23
35
  * pkb-xxxxx
24
36
  */
25
37
  knowledgeBaseId?: string;
26
38
  /**
39
+ * @remarks
40
+ * The document metadata.
41
+ *
27
42
  * @example
28
43
  * {}
29
44
  */
30
45
  metadata?: { [key: string]: any };
46
+ /**
47
+ * @remarks
48
+ * The list of page numbers to which the shard belongs.
49
+ */
31
50
  pageNumbers?: number[];
32
51
  /**
52
+ * @remarks
53
+ * The shard content.
54
+ *
33
55
  * @example
34
- * 财报
56
+ * financial_report
35
57
  */
36
58
  shardContent?: string;
37
59
  /**
60
+ * @remarks
61
+ * The shard ID.
62
+ *
38
63
  * @example
39
64
  * 8
40
65
  */
41
66
  shardIndex?: number;
42
67
  /**
68
+ * @remarks
69
+ * The similarity score.
70
+ *
43
71
  * @example
44
72
  * 0.75
45
73
  */
46
74
  similarityScore?: number;
47
75
  /**
76
+ * @remarks
77
+ * The source ID.
78
+ *
48
79
  * @example
49
80
  * 1
50
81
  */
@@ -99,52 +130,88 @@ export class DescribeKnowledgeBaseAnswerResponseBodySources extends $dara.Model
99
130
 
100
131
  export class DescribeKnowledgeBaseAnswerResponseBody extends $dara.Model {
101
132
  /**
133
+ * @remarks
134
+ * Agent ID
135
+ *
102
136
  * @example
103
137
  * ******
104
138
  */
105
139
  agentId?: string;
106
140
  /**
141
+ * @remarks
142
+ * The answer content.
143
+ *
107
144
  * @example
108
- * 财报的内容总结如下:******
145
+ * The financial report is summarized as follows: ******
109
146
  */
110
147
  answer?: string;
111
148
  /**
149
+ * @remarks
150
+ * The cumulative number of tokens generated by the completion.
151
+ *
112
152
  * @example
113
153
  * 3935
114
154
  */
115
155
  completionTokens?: number;
116
156
  /**
157
+ * @remarks
158
+ * The error message.
159
+ *
117
160
  * @example
118
161
  * Space not found: pks-xxxx
119
162
  */
120
163
  errorMessage?: string;
121
164
  /**
165
+ * @remarks
166
+ * The error type.
167
+ *
122
168
  * @example
123
169
  * not_found
124
170
  */
125
171
  errorType?: string;
126
172
  /**
173
+ * @remarks
174
+ * The large language model ID.
175
+ *
127
176
  * @example
128
177
  * OO1A6p8B******_xPUC
129
178
  */
130
179
  LLMModelId?: string;
131
180
  /**
181
+ * @remarks
182
+ * The cumulative number of tokens consumed by the prompt.
183
+ *
132
184
  * @example
133
185
  * 2459
134
186
  */
135
187
  promptTokens?: number;
136
188
  /**
189
+ * @remarks
190
+ * The unique ID of the Q&A task.
191
+ *
137
192
  * @example
138
193
  * R3BGbnBqcXN******.2a5a23c9-******-179970533d30
139
194
  */
140
195
  queryId?: string;
141
196
  /**
197
+ * @remarks
198
+ * Id of the request
199
+ *
142
200
  * @example
143
201
  * CDB3258F-B5DE-43C4-8935-CBA0CA******
144
202
  */
145
203
  requestId?: string;
204
+ /**
205
+ * @remarks
206
+ * The list of reference sources for the answer.
207
+ */
146
208
  sources?: DescribeKnowledgeBaseAnswerResponseBodySources[];
147
209
  /**
210
+ * @remarks
211
+ * The status of the Q&A task. Valid values:
212
+ * - RUNNING: In progress.
213
+ * - COMPLETED: Completed.
214
+ *
148
215
  * @example
149
216
  * COMPLETED
150
217
  */