@alicloud/polardb20170801 8.2.0 → 8.2.2

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 (163) hide show
  1. package/dist/client.d.ts +56 -60
  2. package/dist/client.js +83 -82
  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 +47 -0
  9. package/dist/models/CreateKbsyncLinkRequest.js +6 -0
  10. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  11. package/dist/models/CreateKbsyncLinkResponseBody.d.ts +36 -0
  12. package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
  13. package/dist/models/CreateStoragePlanRequest.d.ts +18 -9
  14. package/dist/models/CreateStoragePlanRequest.js.map +1 -1
  15. package/dist/models/DeleteDbclusterEndpointRequest.d.ts +4 -1
  16. package/dist/models/DeleteDbclusterEndpointRequest.js.map +1 -1
  17. package/dist/models/DeleteKbsyncLinkRequest.d.ts +6 -0
  18. package/dist/models/DeleteKbsyncLinkRequest.js.map +1 -1
  19. package/dist/models/DeleteKbsyncLinkResponseBody.d.ts +3 -0
  20. package/dist/models/DeleteKbsyncLinkResponseBody.js.map +1 -1
  21. package/dist/models/DeleteKnowledgeBaseFileRequest.d.ts +6 -0
  22. package/dist/models/DeleteKnowledgeBaseFileRequest.js.map +1 -1
  23. package/dist/models/DeleteKnowledgeBaseFileResponseBody.d.ts +3 -0
  24. package/dist/models/DeleteKnowledgeBaseFileResponseBody.js.map +1 -1
  25. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +3 -0
  26. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  27. package/dist/models/DescribeDbclusterSslrequest.d.ts +4 -1
  28. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  29. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +1 -1
  30. package/dist/models/DescribeDbclusterVersionRequest.d.ts +4 -6
  31. package/dist/models/DescribeDbclusterVersionRequest.js.map +1 -1
  32. package/dist/models/DescribeDbclusterVersionResponseBody.d.ts +56 -80
  33. package/dist/models/DescribeDbclusterVersionResponseBody.js.map +1 -1
  34. package/dist/models/DescribeKbsyncLinksRequest.d.ts +7 -0
  35. package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
  36. package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +38 -0
  37. package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
  38. package/dist/models/DescribeKnowledgeBaseAnswerRequest.d.ts +6 -0
  39. package/dist/models/DescribeKnowledgeBaseAnswerRequest.js.map +1 -1
  40. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +70 -3
  41. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
  42. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.d.ts +12 -0
  43. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.js.map +1 -1
  44. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +33 -0
  45. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
  46. package/dist/models/DescribeKnowledgeBaseFilesRequest.d.ts +23 -1
  47. package/dist/models/DescribeKnowledgeBaseFilesRequest.js.map +1 -1
  48. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.d.ts +117 -2
  49. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.js.map +1 -1
  50. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.d.ts +4 -0
  51. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.js.map +1 -1
  52. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.d.ts +113 -0
  53. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.js.map +1 -1
  54. package/dist/models/DisableDbclusterServerlessRequest.d.ts +12 -0
  55. package/dist/models/DisableDbclusterServerlessRequest.js.map +1 -1
  56. package/dist/models/EnableDbclusterServerlessRequest.d.ts +12 -0
  57. package/dist/models/EnableDbclusterServerlessRequest.js.map +1 -1
  58. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +11 -8
  59. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  60. package/dist/models/ModifyDbclusterArchRequest.d.ts +16 -9
  61. package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
  62. package/dist/models/ModifyDbclusterParametersRequest.d.ts +23 -27
  63. package/dist/models/ModifyDbclusterParametersRequest.js.map +1 -1
  64. package/dist/models/ModifyDbclusterSslrequest.d.ts +18 -9
  65. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  66. package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +22 -35
  67. package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
  68. package/dist/models/ModifyDbclusterStoragePerformanceResponseBody.d.ts +1 -1
  69. package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +2 -2
  70. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +16 -1
  71. package/dist/models/RetrievalKnowledgeBaseRequest.js.map +1 -1
  72. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +42 -3
  73. package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
  74. package/dist/models/RetryKnowledgeBaseFilesRequest.d.ts +6 -0
  75. package/dist/models/RetryKnowledgeBaseFilesRequest.js.map +1 -1
  76. package/dist/models/RetryKnowledgeBaseFilesResponseBody.d.ts +31 -0
  77. package/dist/models/RetryKnowledgeBaseFilesResponseBody.js.map +1 -1
  78. package/dist/models/TempModifyDbnodeRequest.d.ts +20 -13
  79. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  80. package/dist/models/TransformDbclusterPayTypeRequest.d.ts +19 -10
  81. package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
  82. package/dist/models/TransformDbclusterPayTypeResponseBody.d.ts +2 -3
  83. package/dist/models/TransformDbclusterPayTypeResponseBody.js.map +1 -1
  84. package/dist/models/TriggerKnowledgeBaseSyncRequest.d.ts +7 -0
  85. package/dist/models/TriggerKnowledgeBaseSyncRequest.js.map +1 -1
  86. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.d.ts +3 -0
  87. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.js.map +1 -1
  88. package/dist/models/UpdateKbsyncLinkRequest.d.ts +57 -0
  89. package/dist/models/UpdateKbsyncLinkRequest.js +12 -0
  90. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  91. package/dist/models/UpdateKbsyncLinkResponseBody.d.ts +10 -0
  92. package/dist/models/UpdateKbsyncLinkResponseBody.js.map +1 -1
  93. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.d.ts +57 -0
  94. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.js.map +1 -1
  95. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.d.ts +3 -0
  96. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.js.map +1 -1
  97. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.d.ts +13 -0
  98. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.js.map +1 -1
  99. package/dist/models/UpdateKnowledgeBaseRequest.d.ts +19 -0
  100. package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
  101. package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +6 -0
  102. package/dist/models/UpdateKnowledgeBaseResponseBody.js.map +1 -1
  103. package/dist/models/UpdateKnowledgeSpaceRequest.d.ts +65 -0
  104. package/dist/models/UpdateKnowledgeSpaceRequest.js.map +1 -1
  105. package/dist/models/UpdateKnowledgeSpaceResponseBody.d.ts +9 -0
  106. package/dist/models/UpdateKnowledgeSpaceResponseBody.js.map +1 -1
  107. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.d.ts +20 -0
  108. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +92 -82
  111. package/src/models/AnswerKnowledgeBaseRequest.ts +31 -1
  112. package/src/models/AnswerKnowledgeBaseResponseBody.ts +9 -0
  113. package/src/models/CreateKbsyncLinkRequest.ts +53 -0
  114. package/src/models/CreateKbsyncLinkResponseBody.ts +36 -0
  115. package/src/models/CreateStoragePlanRequest.ts +18 -9
  116. package/src/models/DeleteDbclusterEndpointRequest.ts +4 -1
  117. package/src/models/DeleteKbsyncLinkRequest.ts +6 -0
  118. package/src/models/DeleteKbsyncLinkResponseBody.ts +3 -0
  119. package/src/models/DeleteKnowledgeBaseFileRequest.ts +6 -0
  120. package/src/models/DeleteKnowledgeBaseFileResponseBody.ts +3 -0
  121. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +3 -0
  122. package/src/models/DescribeDbclusterSslrequest.ts +4 -1
  123. package/src/models/DescribeDbclusterSslresponseBody.ts +1 -1
  124. package/src/models/DescribeDbclusterVersionRequest.ts +4 -6
  125. package/src/models/DescribeDbclusterVersionResponseBody.ts +56 -80
  126. package/src/models/DescribeKbsyncLinksRequest.ts +7 -0
  127. package/src/models/DescribeKbsyncLinksResponseBody.ts +38 -0
  128. package/src/models/DescribeKnowledgeBaseAnswerRequest.ts +6 -0
  129. package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +70 -3
  130. package/src/models/DescribeKnowledgeBaseFileShardsRequest.ts +12 -0
  131. package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +33 -0
  132. package/src/models/DescribeKnowledgeBaseFilesRequest.ts +23 -1
  133. package/src/models/DescribeKnowledgeBaseFilesResponseBody.ts +117 -2
  134. package/src/models/DescribeKnowledgeSpaceAttributeRequest.ts +4 -0
  135. package/src/models/DescribeKnowledgeSpaceAttributeResponseBody.ts +113 -0
  136. package/src/models/DisableDbclusterServerlessRequest.ts +12 -0
  137. package/src/models/EnableDbclusterServerlessRequest.ts +12 -0
  138. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +11 -8
  139. package/src/models/ModifyDbclusterArchRequest.ts +16 -9
  140. package/src/models/ModifyDbclusterParametersRequest.ts +24 -28
  141. package/src/models/ModifyDbclusterSslrequest.ts +18 -9
  142. package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +22 -35
  143. package/src/models/ModifyDbclusterStoragePerformanceResponseBody.ts +1 -1
  144. package/src/models/ModifyPolarFsMappingAuthRequest.ts +2 -2
  145. package/src/models/RetrievalKnowledgeBaseRequest.ts +16 -1
  146. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +42 -3
  147. package/src/models/RetryKnowledgeBaseFilesRequest.ts +6 -0
  148. package/src/models/RetryKnowledgeBaseFilesResponseBody.ts +31 -0
  149. package/src/models/TempModifyDbnodeRequest.ts +20 -13
  150. package/src/models/TransformDbclusterPayTypeRequest.ts +19 -10
  151. package/src/models/TransformDbclusterPayTypeResponseBody.ts +2 -3
  152. package/src/models/TriggerKnowledgeBaseSyncRequest.ts +7 -0
  153. package/src/models/TriggerKnowledgeBaseSyncResponseBody.ts +3 -0
  154. package/src/models/UpdateKbsyncLinkRequest.ts +69 -0
  155. package/src/models/UpdateKbsyncLinkResponseBody.ts +10 -0
  156. package/src/models/UpdateKnowledgeBaseFileShardingStrategyRequest.ts +57 -0
  157. package/src/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.ts +3 -0
  158. package/src/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.ts +13 -0
  159. package/src/models/UpdateKnowledgeBaseRequest.ts +19 -0
  160. package/src/models/UpdateKnowledgeBaseResponseBody.ts +6 -0
  161. package/src/models/UpdateKnowledgeSpaceRequest.ts +65 -0
  162. package/src/models/UpdateKnowledgeSpaceResponseBody.ts +9 -0
  163. package/src/models/UpdateKnowledgeSpaceShrinkRequest.ts +20 -0
@@ -3,16 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ModifyDBClusterStoragePerformanceRequest 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
- * Specifies if the I/O performance burst feature is enabled for an ESSD AutoPL disk. Valid values:
15
+ * Specifies whether to enable I/O performance burst for the ESSD AutoPL cloud disk. Valid values:
10
16
  *
11
- * - **true**: Enabled
17
+ * - **true**: enabled.
18
+ * - **false**: disabled (default).
12
19
  *
13
- * - **false**: Disabled (Default)
14
- *
15
- * > This parameter applies only when StorageType is set to ESSDAUTOPL.
20
+ * > This parameter is supported only when StorageType is set to ESSDAUTOPL.
16
21
  *
17
22
  * @example
18
23
  * false
@@ -20,7 +25,7 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
20
25
  burstingEnabled?: string;
21
26
  /**
22
27
  * @remarks
23
- * A client-generated token that ensures request idempotence. The token must be unique for each request. It is case-sensitive and can be up to 64 ASCII characters long.
28
+ * 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 is case-sensitive and can contain only ASCII characters. The token can be up to 64 characters in length.
24
29
  *
25
30
  * @example
26
31
  * 6000170000591aed949d0f******************
@@ -38,38 +43,27 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
38
43
  DBClusterId?: string;
39
44
  /**
40
45
  * @remarks
41
- * The modification type. Valid values:
42
- *
43
- * - **Upgrade**: Upgrades the storage performance.
44
- *
45
- * - **Downgrade**: Downgrades the storage performance.
46
+ * The type of the specification change. Valid values:
47
+ * * **Upgrade**: upgrades the specifications.
48
+ * * **Downgrade**: downgrades the specifications.
46
49
  *
47
50
  * @example
48
51
  * Upgrade
49
52
  */
50
53
  modifyType?: string;
51
54
  /**
55
+ * @remarks
56
+ * The coupon code. If this parameter is not specified, the default coupon is used.
57
+ *
52
58
  * @example
53
59
  * 727xxxxxx934
54
60
  */
55
61
  promotionCode?: string;
56
62
  /**
57
63
  * @remarks
58
- * <props="china">
59
- *
60
- * Valid values: 0 to min{50,000, 1000 \\* capacity - baseline performance}.
61
- *
62
- *
63
- *
64
- * <props="china">
65
- *
66
- * Baseline performance = min{1,800 + 50 \\* capacity, 50,000}.
67
- *
68
- *
69
- *
70
- * <props="china">
71
- *
72
- * > This parameter applies only when StorageType is set to ESSDAUTOPL.
64
+ * <p id="p_wyg_t4a_glm" props="china" icmsditafragmentmagic=1>The provisioned read/write IOPS of the ESSD AutoPL cloud disk. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}.</p>
65
+ * <p id="p_6de_jxy_k2g" props="china" icmsditafragmentmagic=1>Baseline performance = min{1,800 + 50 × Capacity, 50000}.</p>
66
+ * <note id="note_7kj_j0o_rgs" props="china" icmsditafragmentmagic=1>This parameter is supported only when StorageType is set to ESSDAUTOPL.</note>
73
67
  *
74
68
  * @example
75
69
  * 2500
@@ -78,22 +72,15 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
78
72
  resourceOwnerId?: number;
79
73
  /**
80
74
  * @remarks
81
- * The target storage type. Valid values for Enterprise Edition:
82
- *
75
+ * The target storage type. Valid values for PolarDB Enterprise Edition:
83
76
  * - **PSL5**
84
- *
85
77
  * - **PSL4**
86
78
  *
87
- * Valid values for Standard Edition:
88
- *
79
+ * Valid values for PolarDB for MySQL Standard Edition:
89
80
  * - **ESSDPL0**
90
- *
91
81
  * - **ESSDPL1**
92
- *
93
82
  * - **ESSDPL2**
94
- *
95
83
  * - **ESSDPL3**
96
- *
97
84
  * - **ESSDAUTOPL**
98
85
  *
99
86
  * @example
@@ -13,7 +13,7 @@ export class ModifyDBClusterStoragePerformanceResponseBody extends $dara.Model {
13
13
  DBClusterId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the order.
16
+ * The order ID.
17
17
  *
18
18
  * @example
19
19
  * 2035629******
@@ -15,7 +15,7 @@ export class ModifyPolarFsMappingAuthRequest extends $dara.Model {
15
15
  bucket?: string;
16
16
  /**
17
17
  * @remarks
18
- * The AccessKey ID for the storage bucket.
18
+ * The AccessKey ID of the storage bucket.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class ModifyPolarFsMappingAuthRequest extends $dara.Model {
25
25
  bucketAccessKeyId?: string;
26
26
  /**
27
27
  * @remarks
28
- * The AccessKey secret for the storage bucket.
28
+ * The AccessKey secret of the storage bucket.
29
29
  *
30
30
  * This parameter is required.
31
31
  *
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RetrievalKnowledgeBaseRequest 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,14 +15,18 @@ export class RetrievalKnowledgeBaseRequest extends $dara.Model {
13
15
  knowledgeBaseId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * The query text.
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
19
- * 财报
23
+ * Financial report
20
24
  */
21
25
  queryText?: string;
22
26
  /**
23
27
  * @remarks
28
+ * The region ID.
29
+ *
24
30
  * This parameter is required.
25
31
  *
26
32
  * @example
@@ -28,16 +34,25 @@ export class RetrievalKnowledgeBaseRequest extends $dara.Model {
28
34
  */
29
35
  regionId?: string;
30
36
  /**
37
+ * @remarks
38
+ * Specifies whether to enable reranking. Default value: true.
39
+ *
31
40
  * @example
32
41
  * true
33
42
  */
34
43
  rerankEnabled?: boolean;
35
44
  /**
45
+ * @remarks
46
+ * The similarity score threshold.
47
+ *
36
48
  * @example
37
49
  * 0.7
38
50
  */
39
51
  scoreThreshold?: number;
40
52
  /**
53
+ * @remarks
54
+ * The number of results to return.
55
+ *
41
56
  * @example
42
57
  * 5
43
58
  */
@@ -4,33 +4,59 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The unique ID of the file.
9
+ *
7
10
  * @example
8
11
  * 91b97b71-xxxx-xxxx-xxxx-33c6a6341cdc
9
12
  */
10
13
  fileId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The file name.
17
+ *
12
18
  * @example
13
- * 2024财报.pdf
19
+ * 2024FinancialReport.pdf
14
20
  */
15
21
  fileName?: string;
22
+ /**
23
+ * @remarks
24
+ * The chain of section headings to which the shard belongs.
25
+ */
16
26
  headings?: string[];
17
27
  /**
28
+ * @remarks
29
+ * The metadata.
30
+ *
18
31
  * @example
19
32
  * {}
20
33
  */
21
34
  metadata?: string;
35
+ /**
36
+ * @remarks
37
+ * The list of page numbers to which the shard belongs.
38
+ */
22
39
  pageNumbers?: number[];
23
40
  /**
41
+ * @remarks
42
+ * The text content of the shard.
43
+ *
24
44
  * @example
25
- * 财报
45
+ * Financial report
26
46
  */
27
47
  shardContent?: string;
28
48
  /**
49
+ * @remarks
50
+ * The shard index.
51
+ *
29
52
  * @example
30
53
  * 1
31
54
  */
32
55
  shardIndex?: number;
33
56
  /**
57
+ * @remarks
58
+ * The similarity score.
59
+ *
34
60
  * @example
35
61
  * 0.8
36
62
  */
@@ -78,20 +104,33 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
78
104
 
79
105
  export class RetrievalKnowledgeBaseResponseBody extends $dara.Model {
80
106
  /**
107
+ * @remarks
108
+ * The query text.
109
+ *
81
110
  * @example
82
- * 财报
111
+ * Financial report
83
112
  */
84
113
  queryText?: string;
85
114
  /**
115
+ * @remarks
116
+ * Id of the request
117
+ *
86
118
  * @example
87
119
  * CD35F3-F3-44CA-AFFF-BAF869******
88
120
  */
89
121
  requestId?: string;
90
122
  /**
123
+ * @remarks
124
+ * The number of results.
125
+ *
91
126
  * @example
92
127
  * 5
93
128
  */
94
129
  resultCount?: number;
130
+ /**
131
+ * @remarks
132
+ * The search results.
133
+ */
95
134
  results?: RetrievalKnowledgeBaseResponseBodyResults[];
96
135
  static names(): { [key: string]: string } {
97
136
  return {
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RetryKnowledgeBaseFilesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The IDs of the files to retry. Separate multiple IDs with commas (,). A maximum of 30 IDs can be specified.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class RetryKnowledgeBaseFilesRequest extends $dara.Model {
13
15
  fileIds?: 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 RetryKnowledgeBaseFilesRequest 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,21 +4,36 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class RetryKnowledgeBaseFilesResponseBodyItems extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The error code.
9
+ *
7
10
  * @example
8
11
  * AclProjectionNotFound
9
12
  */
10
13
  errorCode?: string;
11
14
  /**
15
+ * @remarks
16
+ * The failure reason.
17
+ *
12
18
  * @example
13
19
  * No active ACL projection exists for the IM document
14
20
  */
15
21
  errorMessage?: string;
16
22
  /**
23
+ * @remarks
24
+ * The file ID.
25
+ *
17
26
  * @example
18
27
  * 91b97b71-xxxx-xxxx-xxxx-33c6a6341cdc
19
28
  */
20
29
  fileId?: string;
21
30
  /**
31
+ * @remarks
32
+ * The request result. Valid values:
33
+ *
34
+ * - **true**: The request was successful.
35
+ * - **false**: The request failed.
36
+ *
22
37
  * @example
23
38
  * false
24
39
  */
@@ -52,22 +67,38 @@ export class RetryKnowledgeBaseFilesResponseBodyItems extends $dara.Model {
52
67
 
53
68
  export class RetryKnowledgeBaseFilesResponseBody extends $dara.Model {
54
69
  /**
70
+ * @remarks
71
+ * The number of failed retries.
72
+ *
55
73
  * @example
56
74
  * 0
57
75
  */
58
76
  failedCount?: number;
77
+ /**
78
+ * @remarks
79
+ * The list of retry results.
80
+ */
59
81
  items?: RetryKnowledgeBaseFilesResponseBodyItems[];
60
82
  /**
83
+ * @remarks
84
+ * Id of the request
85
+ *
61
86
  * @example
62
87
  * CED079B7-A408-41A1-BFF1-EC608E******
63
88
  */
64
89
  requestId?: string;
65
90
  /**
91
+ * @remarks
92
+ * The number of successful retries.
93
+ *
66
94
  * @example
67
95
  * 1
68
96
  */
69
97
  succeededCount?: number;
70
98
  /**
99
+ * @remarks
100
+ * The total number of records.
101
+ *
71
102
  * @example
72
103
  * 1
73
104
  */
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TempModifyDBNodeRequestDBNode extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The specifications of the node to upgrade or add.
8
+ * The specifications of the node to be upgraded or added.
9
9
  *
10
- * > - When you add a node, the node specifications must be the same as the specifications of the existing nodes.
11
- * >
12
- * > - For more information about the specifications of existing cluster nodes, see [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html).
10
+ * > - When you add a node, the node specifications must be the same as those of the existing nodes.
11
+ * > - For the specifications of existing cluster nodes, see [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html).
13
12
  *
14
13
  * @example
15
14
  * polar.mysql.x4.medium
@@ -17,7 +16,7 @@ export class TempModifyDBNodeRequestDBNode extends $dara.Model {
17
16
  targetClass?: string;
18
17
  /**
19
18
  * @remarks
20
- * The zone for the new node. The zone must be the same as the zone of the existing nodes.
19
+ * The zone of the node to be added. The zone must be the same as that of the existing nodes.
21
20
  *
22
21
  * @example
23
22
  * cn-hangzhou-i
@@ -47,10 +46,16 @@ export class TempModifyDBNodeRequestDBNode extends $dara.Model {
47
46
  }
48
47
 
49
48
  export class TempModifyDBNodeRequest extends $dara.Model {
49
+ /**
50
+ * @remarks
51
+ * Specifies whether to automatically use coupons. Valid values:
52
+ * * true (default): Uses coupons.
53
+ * * false: Does not use coupons.
54
+ */
50
55
  autoUseCoupon?: boolean;
51
56
  /**
52
57
  * @remarks
53
- * A client token to ensure the idempotence of the request. Generate a unique token for each request. The token is case-sensitive and can be up to 64 ASCII characters in length.
58
+ * 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.
54
59
  *
55
60
  * @example
56
61
  * 6000170000591aed949d0f5********************
@@ -68,14 +73,14 @@ export class TempModifyDBNodeRequest extends $dara.Model {
68
73
  DBClusterId?: string;
69
74
  /**
70
75
  * @remarks
71
- * The information about the nodes to upgrade or add.
76
+ * The information about the node to be upgraded or added.
72
77
  *
73
78
  * This parameter is required.
74
79
  */
75
80
  DBNode?: TempModifyDBNodeRequestDBNode[];
76
81
  /**
77
82
  * @remarks
78
- * The modification type. The value is fixed to **TempUpgrade**.
83
+ * The change type. The value is fixed as **TempUpgrade**.
79
84
  *
80
85
  * This parameter is required.
81
86
  *
@@ -87,9 +92,8 @@ export class TempModifyDBNodeRequest extends $dara.Model {
87
92
  * @remarks
88
93
  * The operation type. Valid values:
89
94
  *
90
- * - **Modify**: temporary upgrade
91
- *
92
- * - **Add**: temporarily add a node
95
+ * - **Modify**: temporarily upgrades specifications.
96
+ * - **Add**: temporarily adds nodes.
93
97
  *
94
98
  * This parameter is required.
95
99
  *
@@ -100,6 +104,9 @@ export class TempModifyDBNodeRequest extends $dara.Model {
100
104
  ownerAccount?: string;
101
105
  ownerId?: number;
102
106
  /**
107
+ * @remarks
108
+ * The coupon code. If this parameter is not specified, the default coupon is used.
109
+ *
103
110
  * @example
104
111
  * 727xxxxxx934
105
112
  */
@@ -108,9 +115,9 @@ export class TempModifyDBNodeRequest extends $dara.Model {
108
115
  resourceOwnerId?: number;
109
116
  /**
110
117
  * @remarks
111
- * The time to revert the temporary upgrade. The format is YYYY-MM-DD hh:mm:ss.
118
+ * The restore time for the temporary upgrade. Specify the time in the YYYY-MM-DD hh:mm:ss format.
112
119
  *
113
- * > The revert time must be at least 1 hour later than the current time. It must also be at least 1 day before the cluster expires.
120
+ * > The restore time cannot be earlier than 1 hour after the current time or later than 1 day before the cluster expiration time.
114
121
  *
115
122
  * This parameter is required.
116
123
  *
@@ -3,10 +3,16 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class TransformDBClusterPayTypeRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to automatically use coupons. Valid values:
9
+ * * true (default): Use coupons.
10
+ * * false: Do not use coupons.
11
+ */
6
12
  autoUseCoupon?: boolean;
7
13
  /**
8
14
  * @remarks
9
- * A client token to ensure the idempotence of the request. The client generates the token, but you must make sure that the token is unique among different requests. The token is case-sensitive and can be up to 64 ASCII characters in length.
15
+ * The client token that is used to ensure the idempotence of the request. The value of this parameter is generated by the client and must be unique among different requests. The token is case-sensitive and cannot exceed 64 ASCII characters in length.
10
16
  *
11
17
  * @example
12
18
  * 6000170000591aed949d0f5********************
@@ -14,7 +20,7 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
14
20
  clientToken?: string;
15
21
  /**
16
22
  * @remarks
17
- * The ID of the PolarDB cluster.
23
+ * The PolarDB cluster ID.
18
24
  *
19
25
  * This parameter is required.
20
26
  *
@@ -40,19 +46,22 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
40
46
  payType?: string;
41
47
  /**
42
48
  * @remarks
43
- * The unit of the subscription duration. Valid values:
49
+ * The subscription type of the subscription instance. Valid values:
44
50
  *
45
- * - **Year**
51
+ * - **Year**: yearly subscription
46
52
  *
47
- * - **Month**
53
+ * - **Month**: monthly subscription
48
54
  *
49
- * > This parameter is required when you set **PayType** to **Prepaid**.
55
+ * > This parameter is required when **PayType** is set to **Prepaid**.
50
56
  *
51
57
  * @example
52
58
  * Month
53
59
  */
54
60
  period?: string;
55
61
  /**
62
+ * @remarks
63
+ * The coupon code. If you do not specify this parameter, the default coupon is used.
64
+ *
56
65
  * @example
57
66
  * 727xxxxxx934
58
67
  */
@@ -69,7 +78,7 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
69
78
  regionId?: string;
70
79
  /**
71
80
  * @remarks
72
- * The ID of the resource group.
81
+ * The resource group ID.
73
82
  *
74
83
  * @example
75
84
  * rg-acfm3f4un32****
@@ -81,11 +90,11 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
81
90
  * @remarks
82
91
  * The subscription duration. Valid values:
83
92
  *
84
- * - If you set **Period** to **Year**, the value of **UsedTime** can be 1, 2, or 3.
93
+ * - If **Period** is set to **Year**, set **UsedTime** to a value from 1 to 3.
85
94
  *
86
- * - If you set **Period** to **Month**, the value of **UsedTime** can be an integer from 1 to 9.
95
+ * - If **Period** is set to **Month**, set **UsedTime** to a value from 1 to 9.
87
96
  *
88
- * > This parameter is required when you set **PayType** to **Prepaid**.
97
+ * > This parameter is required when **PayType** is set to **Prepaid**.
89
98
  *
90
99
  * @example
91
100
  * 1
@@ -17,7 +17,7 @@ export class TransformDBClusterPayTypeResponseBody extends $dara.Model {
17
17
  chargeType?: string;
18
18
  /**
19
19
  * @remarks
20
- * The ID of the PolarDB cluster.
20
+ * The PolarDB cluster ID.
21
21
  *
22
22
  * @example
23
23
  * pc-bp10gr51qasnl****
@@ -26,8 +26,7 @@ export class TransformDBClusterPayTypeResponseBody extends $dara.Model {
26
26
  /**
27
27
  * @remarks
28
28
  * The expiration time of the instance.
29
- *
30
- * > This parameter is returned only when **PayType** is set to **Prepaid**.
29
+ * > This response parameter is returned only when **PayType** is set to **Prepaid**.
31
30
  *
32
31
  * @example
33
32
  * 2020-04-20T10:00:00Z
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TriggerKnowledgeBaseSyncRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The unique identifier of the knowledge base.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,12 +14,17 @@ export class TriggerKnowledgeBaseSyncRequest extends $dara.Model {
12
14
  */
13
15
  knowledgeBaseId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The synchronization link ID.
19
+ *
15
20
  * @example
16
21
  * pkbl-xxxxx
17
22
  */
18
23
  linkId?: string;
19
24
  /**
20
25
  * @remarks
26
+ * The region ID.
27
+ *
21
28
  * This parameter is required.
22
29
  *
23
30
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class TriggerKnowledgeBaseSyncResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
7
10
  * @example
8
11
  * A7E6A8FD-C50B-46B2-BA85-D8B8D3******
9
12
  */