@alicloud/polardb20170801 8.3.0 → 8.3.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 (31) hide show
  1. package/dist/client.d.ts +10 -10
  2. package/dist/client.js +13 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +55 -39
  5. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +4 -0
  6. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  7. package/dist/models/DescribeApplicationsRequest.d.ts +14 -13
  8. package/dist/models/DescribeApplicationsRequest.js.map +1 -1
  9. package/dist/models/DescribeApplicationsResponseBody.d.ts +8 -7
  10. package/dist/models/DescribeApplicationsResponseBody.js +2 -0
  11. package/dist/models/DescribeApplicationsResponseBody.js.map +1 -1
  12. package/dist/models/DescribeAvailableModelsRequest.d.ts +8 -0
  13. package/dist/models/DescribeAvailableModelsRequest.js +2 -0
  14. package/dist/models/DescribeAvailableModelsRequest.js.map +1 -1
  15. package/dist/models/DescribeAvailableModelsResponseBody.d.ts +56 -0
  16. package/dist/models/DescribeAvailableModelsResponseBody.js +14 -0
  17. package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
  18. package/dist/models/ModifyDbclusterEndpointRequest.d.ts +59 -87
  19. package/dist/models/ModifyDbclusterEndpointRequest.js.map +1 -1
  20. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +2 -2
  21. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +6 -6
  22. package/package.json +1 -1
  23. package/src/client.ts +14 -10
  24. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +59 -39
  25. package/src/models/DescribeApplicationsRequest.ts +14 -13
  26. package/src/models/DescribeApplicationsResponseBody.ts +10 -7
  27. package/src/models/DescribeAvailableModelsRequest.ts +10 -0
  28. package/src/models/DescribeAvailableModelsResponseBody.ts +70 -0
  29. package/src/models/ModifyDbclusterEndpointRequest.ts +59 -87
  30. package/src/models/RetrievalKnowledgeBaseRequest.ts +2 -2
  31. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +6 -6
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeApplicationsRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of the tag.
8
+ * The tag key.
9
9
  *
10
10
  * @example
11
11
  * testKey
@@ -13,7 +13,7 @@ export class DescribeApplicationsRequestTag extends $dara.Model {
13
13
  key?: string;
14
14
  /**
15
15
  * @remarks
16
- * The value of the tag.
16
+ * The tag value.
17
17
  *
18
18
  * @example
19
19
  * testValue
@@ -45,16 +45,20 @@ export class DescribeApplicationsRequestTag extends $dara.Model {
45
45
  export class DescribeApplicationsRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * A list of application IDs. If specified, this operation returns information only about the specified applications.
48
+ * The list of application IDs. If specified, only information about these applications is returned.
49
49
  *
50
50
  * @example
51
51
  * pa-**************
52
52
  */
53
53
  applicationIds?: string;
54
+ /**
55
+ * @remarks
56
+ * The application engine filter.
57
+ */
54
58
  applicationTypes?: string;
55
59
  /**
56
60
  * @remarks
57
- * The ID of the PolarDB instance. If specified, this operation returns information only about applications associated with this instance.
61
+ * The PolarDB instance ID. If specified, only application information related to this PolarDB instance is returned.
58
62
  *
59
63
  * @example
60
64
  * pc-**************
@@ -70,13 +74,10 @@ export class DescribeApplicationsRequest extends $dara.Model {
70
74
  pageNumber?: number;
71
75
  /**
72
76
  * @remarks
73
- * The number of entries to return on each page. Valid values:
74
- *
75
- * - **30**
76
- *
77
- * - **50**
78
- *
79
- * - **100**
77
+ * The number of entries per page. Valid values:
78
+ * * **30**
79
+ * * **50**
80
+ * * **100**
80
81
  *
81
82
  * Default value: **30**.
82
83
  *
@@ -86,7 +87,7 @@ export class DescribeApplicationsRequest extends $dara.Model {
86
87
  pageSize?: number;
87
88
  /**
88
89
  * @remarks
89
- * The ID of the region.
90
+ * The region ID.
90
91
  *
91
92
  * This parameter is required.
92
93
  *
@@ -96,7 +97,7 @@ export class DescribeApplicationsRequest extends $dara.Model {
96
97
  regionId?: string;
97
98
  /**
98
99
  * @remarks
99
- * A list of tags. A tag is a key-value pair.
100
+ * The tags.
100
101
  */
101
102
  tag?: DescribeApplicationsRequestTag[];
102
103
  static names(): { [key: string]: string } {
@@ -120,6 +120,11 @@ export class DescribeApplicationsResponseBodyItemsApplicationsTags extends $dara
120
120
  export class DescribeApplicationsResponseBodyItemsApplications extends $dara.Model {
121
121
  applicationId?: string;
122
122
  applicationType?: string;
123
+ /**
124
+ * @example
125
+ * br-1db52a73dc8545f19a47a3f1d8
126
+ */
127
+ branchId?: string;
123
128
  creationTime?: string;
124
129
  /**
125
130
  * @example
@@ -141,6 +146,7 @@ export class DescribeApplicationsResponseBodyItemsApplications extends $dara.Mod
141
146
  return {
142
147
  applicationId: 'ApplicationId',
143
148
  applicationType: 'ApplicationType',
149
+ branchId: 'BranchId',
144
150
  creationTime: 'CreationTime',
145
151
  DBClusterId: 'DBClusterId',
146
152
  description: 'Description',
@@ -161,6 +167,7 @@ export class DescribeApplicationsResponseBodyItemsApplications extends $dara.Mod
161
167
  return {
162
168
  applicationId: 'string',
163
169
  applicationType: 'string',
170
+ branchId: 'string',
164
171
  creationTime: 'string',
165
172
  DBClusterId: 'string',
166
173
  description: 'string',
@@ -219,14 +226,10 @@ export class DescribeApplicationsResponseBodyItems extends $dara.Model {
219
226
  }
220
227
 
221
228
  export class DescribeApplicationsResponseBody extends $dara.Model {
222
- /**
223
- * @remarks
224
- * Contains the returned applications.
225
- */
226
229
  items?: DescribeApplicationsResponseBodyItems;
227
230
  /**
228
231
  * @remarks
229
- * The page number.
232
+ * The current page number.
230
233
  *
231
234
  * @example
232
235
  * 1
@@ -234,7 +237,7 @@ export class DescribeApplicationsResponseBody extends $dara.Model {
234
237
  pageNumber?: number;
235
238
  /**
236
239
  * @remarks
237
- * The number of records on the current page.
240
+ * The number of entries on the current page.
238
241
  *
239
242
  * @example
240
243
  * 1
@@ -250,7 +253,7 @@ export class DescribeApplicationsResponseBody extends $dara.Model {
250
253
  requestId?: string;
251
254
  /**
252
255
  * @remarks
253
- * The total record count.
256
+ * The total number of entries.
254
257
  *
255
258
  * @example
256
259
  * 1
@@ -11,6 +11,14 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
11
11
  * aideploy
12
12
  */
13
13
  kubeType?: string;
14
+ /**
15
+ * @remarks
16
+ * The model type. Valid values: custom or public. If this parameter is not specified, all models are returned.
17
+ *
18
+ * @example
19
+ * custom
20
+ */
21
+ modelType?: string;
14
22
  /**
15
23
  * @remarks
16
24
  * The region ID.
@@ -22,6 +30,7 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
22
30
  static names(): { [key: string]: string } {
23
31
  return {
24
32
  kubeType: 'KubeType',
33
+ modelType: 'ModelType',
25
34
  regionId: 'RegionId',
26
35
  };
27
36
  }
@@ -29,6 +38,7 @@ export class DescribeAvailableModelsRequest extends $dara.Model {
29
38
  static types(): { [key: string]: any } {
30
39
  return {
31
40
  kubeType: 'string',
41
+ modelType: 'string',
32
42
  regionId: 'string',
33
43
  };
34
44
  }
@@ -43,6 +43,30 @@ export class DescribeAvailableModelsResponseBodyItemsGpuRequired extends $dara.M
43
43
  }
44
44
 
45
45
  export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The custom model registration key.
49
+ *
50
+ * @example
51
+ * Qwen3-32B
52
+ */
53
+ customModelName?: string;
54
+ /**
55
+ * @remarks
56
+ * The display name of the model.
57
+ *
58
+ * @example
59
+ * My Qwen3 32B
60
+ */
61
+ displayModelName?: string;
62
+ /**
63
+ * @remarks
64
+ * The last modified time of the registration.
65
+ *
66
+ * @example
67
+ * 2026-09-07 20:57:20
68
+ */
69
+ gmtModified?: string;
46
70
  /**
47
71
  * @remarks
48
72
  * The supported GPU types.
@@ -80,6 +104,22 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
80
104
  * BERT
81
105
  */
82
106
  modelSeries?: string;
107
+ /**
108
+ * @remarks
109
+ * The model type.
110
+ *
111
+ * @example
112
+ * custom
113
+ */
114
+ modelType?: string;
115
+ /**
116
+ * @remarks
117
+ * The OSS path of the custom model.
118
+ *
119
+ * @example
120
+ * /my-model-bucket/models
121
+ */
122
+ ossPath?: string;
83
123
  /**
84
124
  * @remarks
85
125
  * The supported GPU models.
@@ -88,11 +128,16 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
88
128
  tuneArch?: string;
89
129
  static names(): { [key: string]: string } {
90
130
  return {
131
+ customModelName: 'CustomModelName',
132
+ displayModelName: 'DisplayModelName',
133
+ gmtModified: 'GmtModified',
91
134
  gpuRequired: 'GpuRequired',
92
135
  minimumCpu: 'MinimumCpu',
93
136
  minimumMemory: 'MinimumMemory',
94
137
  modelName: 'ModelName',
95
138
  modelSeries: 'ModelSeries',
139
+ modelType: 'ModelType',
140
+ ossPath: 'OssPath',
96
141
  supportedGpuModels: 'SupportedGpuModels',
97
142
  tuneArch: 'TuneArch',
98
143
  };
@@ -100,11 +145,16 @@ export class DescribeAvailableModelsResponseBodyItems extends $dara.Model {
100
145
 
101
146
  static types(): { [key: string]: any } {
102
147
  return {
148
+ customModelName: 'string',
149
+ displayModelName: 'string',
150
+ gmtModified: 'string',
103
151
  gpuRequired: { 'type': 'array', 'itemType': DescribeAvailableModelsResponseBodyItemsGpuRequired },
104
152
  minimumCpu: 'number',
105
153
  minimumMemory: 'number',
106
154
  modelName: 'string',
107
155
  modelSeries: 'string',
156
+ modelType: 'string',
157
+ ossPath: 'string',
108
158
  supportedGpuModels: { 'type': 'array', 'itemType': 'string' },
109
159
  tuneArch: 'string',
110
160
  };
@@ -147,6 +197,14 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
147
197
  * The list of models.
148
198
  */
149
199
  items?: DescribeAvailableModelsResponseBodyItems[];
200
+ /**
201
+ * @remarks
202
+ * The model type corresponding to the request.
203
+ *
204
+ * @example
205
+ * custom
206
+ */
207
+ modelType?: string;
150
208
  /**
151
209
  * @remarks
152
210
  * Id of the request
@@ -155,12 +213,22 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
155
213
  * 3AA69096-757C-4647-B36C-29EBC2******
156
214
  */
157
215
  requestId?: string;
216
+ /**
217
+ * @remarks
218
+ * The model fine-tuning architecture.
219
+ *
220
+ * @example
221
+ * swift
222
+ */
223
+ tuneArch?: string;
158
224
  static names(): { [key: string]: string } {
159
225
  return {
160
226
  engine: 'Engine',
161
227
  engineVersion: 'EngineVersion',
162
228
  items: 'Items',
229
+ modelType: 'ModelType',
163
230
  requestId: 'RequestId',
231
+ tuneArch: 'TuneArch',
164
232
  };
165
233
  }
166
234
 
@@ -169,7 +237,9 @@ export class DescribeAvailableModelsResponseBody extends $dara.Model {
169
237
  engine: 'string',
170
238
  engineVersion: 'string',
171
239
  items: { 'type': 'array', 'itemType': DescribeAvailableModelsResponseBodyItems },
240
+ modelType: 'string',
172
241
  requestId: 'string',
242
+ tuneArch: 'string',
173
243
  };
174
244
  }
175
245
 
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyDBClusterEndpointRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to automatically add new nodes to the endpoint. Valid values:
8
+ * Specifies whether new nodes are automatically added to the endpoint. Valid values:
9
9
  *
10
- * - **Enable**: Automatically adds new nodes.
11
- *
12
- * - **Disable**: Does not automatically add new nodes. This is the default value.
10
+ * - **Enable**: New nodes are automatically added.
11
+ * - **Disable**: New nodes are not automatically added. (Default)
13
12
  *
14
13
  * @example
15
14
  * Enable
@@ -35,7 +34,7 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
35
34
  DBEndpointDescription?: string;
36
35
  /**
37
36
  * @remarks
38
- * The ID of the cluster endpoint.
37
+ * The cluster endpoint ID.
39
38
  *
40
39
  * This parameter is required.
41
40
  *
@@ -45,83 +44,60 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
45
44
  DBEndpointId?: string;
46
45
  /**
47
46
  * @remarks
48
- * The advanced configurations of the cluster endpoint in JSON format. You can set the consistency level, transaction splitting, whether the primary node accepts read requests, the connection pool, and other settings.
49
- *
50
- * - Sets the load balancing policy. Format: `{\\"LoadBalancePolicy\\":\\"policy\\"}`. Valid values:
51
- *
52
- * - **0**: Connections-based load balancing (default)
53
- *
54
- * - **1**: Active requests-based load balancing
55
- *
56
- * - Specifies whether the primary node accepts read requests. Format: `{\\"MasterAcceptReads\\":\\"value\\"}`. Valid values:
57
- *
58
- * - **on**: The primary node accepts read requests (default).
59
- *
60
- * - **off**: The primary node does not accept read requests.
61
- *
62
- * - Enables or disables transaction splitting. Format: `{\\"DistributedTransaction\\":\\"value\\"}`. Valid values:
63
- *
64
- * - **on**: Enables transaction splitting (default).
65
- *
66
- * - **off**: Disables transaction splitting.
67
- *
68
- * - Sets the consistency level. Format: `{\\"ConsistLevel\\":\\"level\\"}`. Valid values:
47
+ * The advanced configuration of the cluster endpoint in JSON format. You can configure the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
69
48
  *
70
- * - **0**: Eventual consistency (weak)
49
+ * * To set the load balancing policy, use the format `{\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}`. Valid values:
50
+ * * **0**: connection-based load balancing (default)
51
+ * * **1**: active-request-based load balancing
71
52
  *
72
- * - **1**: Session consistency (medium) (default)
53
+ * * To set whether the primary node accepts read requests, use the format `{\\"MasterAcceptReads\\":\\"Whether the primary node accepts reads\\"}`. Valid values:
54
+ * * **on**: The primary node accepts read requests. (Default)
55
+ * * **off**: The primary node does not accept read requests.
73
56
  *
74
- * - **2**: Global consistency (strong)
57
+ * * To set transaction splitting, use the format `{\\"DistributedTransaction\\":\\"Transaction splitting\\"}`. Valid values:
58
+ * * **on**: Transaction splitting is enabled. (Default)
59
+ * * **off**: Transaction splitting is disabled.
75
60
  *
76
- * - Sets the timeout period for a global consistency read. Format: `{\\"ConsistTimeout\\":\\"timeout\\"}`. Valid values: 0 to 60000. Default value: 20. Unit: ms.
61
+ * * To set the consistency level, use the format `{\\"ConsistLevel\\":\\"Consistency level\\"}`. Valid values:
62
+ * * **0**: eventual consistency (weak)
63
+ * * **1**: session consistency (medium) (default)
64
+ * * **2**: global consistency (strong)
77
65
  *
78
- * - Sets the timeout period for a session consistency read. Format: `{\\"ConsistSessionTimeout\\":\\"timeout\\"}`. Valid values: 0 to 60000. Default value: 0. Unit: ms.
66
+ * * To set the global consistency read timeout period, use the format `{\\"ConsistTimeout\\":\\"Global consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 20. Unit: ms.
79
67
  *
80
- * - Sets the policy for handling timeouts of global or session consistency reads. Format: `{\\"ConsistTimeoutAction\\":\\"policy\\"}`. Valid values:
68
+ * * To set the session consistency read timeout period, use the format `{\\"ConsistSessionTimeout\\":\\"Session consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 0. Unit: ms.
81
69
  *
82
- * - **0**: Forwards read requests to the primary node (default).
70
+ * * To set the global (or session) consistency read timeout policy, use the format `{\\"ConsistTimeoutAction\\":\\"Global consistency read timeout policy\\"}`. Valid values:
71
+ * * **0**: Forward the read request to the primary node. (Default)
72
+ * * **1**: The proxy returns the error message `wait replication complete timeout, please retry` to the application.
83
73
  *
84
- * - **1**: The proxy returns the error message \\`wait replication complete timeout, please retry\\` to the application.
74
+ * * To set the connection pool, use the format `{\\"ConnectionPersist\\":\\"Connection pool\\"}`. Valid values:
75
+ * * **off**: The connection pool is disabled. (Default)
76
+ * * **Session**: The session-level connection pool is enabled.
77
+ * * **Transaction**: The transaction-level connection pooling is enabled.
85
78
  *
86
- * - Sets the connection pool type. Format: `{\\"ConnectionPersist\\":\\"type\\"}`. Valid values:
79
+ * * To set parallel query, use the format `{\\"MaxParallelDegree\\":\\"Parallel query\\"}`. Valid values:
80
+ * * **on**: Parallel query is enabled.
81
+ * * **off**: Parallel query is disabled. (Default)
87
82
  *
88
- * - **off**: Disables the connection pool (default).
83
+ * * To set automatic request distribution among row offload reads from primary nodes, use the format `{\\"EnableHtapImci\\":\\"Automatic request distribution among row store and column store\\"}`. Valid values:
84
+ * * **on**: Automatic request distribution among row offload reads from primary nodes is enabled.
85
+ * * **off**: Automatic request distribution among row offload reads from primary nodes is disabled. (Default)
89
86
  *
90
- * - **Session**: Enables the session-level connection pool.
91
87
  *
92
- * - **Transaction**: Enables the transaction-level connection pool.
88
+ * * To set whether to enable overload protection, use the format `{\\"EnableOverloadThrottle\\":\\"Whether to enable overload protection\\"}`. Valid values:
89
+ * * **on**: Overload protection is enabled.
90
+ * * **off**: Overload protection is disabled. (Default)
93
91
  *
94
- * - Enables or disables parallel query. Format: `{\\"MaxParallelDegree\\":\\"value\\"}`. Valid values:
92
+ * * To set node weights, use the format `{\\"NodesWeight\\":{\\"Node ID\\":\\"Weight value\\"}}`.
95
93
  *
96
- * - **on**: Enables parallel query.
97
- *
98
- * - **off**: Disables parallel query (default).
99
- *
100
- * - Enables or disables automatic routing of requests to the row store or column store. Format: `{\\"EnableHtapImci\\":\\"value\\"}`. Valid values:
101
- *
102
- * - **on**: Enables automatic routing.
103
- *
104
- * - **off**: Disables automatic routing (default).
105
- *
106
- * - Enables or disables overload protection. Format: `{\\"EnableOverloadThrottle\\":\\"value\\"}`. Valid values:
107
- *
108
- * - **on**: Enables overload protection.
109
- *
110
- * - **off**: Disables overload protection (default).
111
- *
112
- * > * You can set transaction splitting, whether the primary node accepts read requests, the connection pool, and overload protection only when the read/write mode of the cluster endpoint for PolarDB for MySQL is set to ReadWrite (automatic read/write splitting).
113
- * >
114
- * > * If the read/write mode of a cluster endpoint for PolarDB for MySQL is **ReadOnly**, both **connections-based** and **active requests-based** load balancing policies are supported. If the read/write mode is **ReadWrite** (automatic read/write splitting), only the **active requests-based** load balancing policy is supported.
115
- * >
116
- * > * You can enable automatic routing to the row store or column store if the read/write mode of the cluster endpoint for PolarDB for MySQL is **ReadWrite** (automatic read/write splitting), or if the read/write mode is **ReadOnly** and the load balancing policy is **active requests-based**.
117
- * >
118
- * > * Only PolarDB for MySQL supports global consistency.
119
- * >
120
- * > * If you set the **ReadWriteMode** parameter to **ReadOnly**, you can only set the consistency level to **0**.
121
- * >
122
- * > * You can set the consistency level, transaction splitting, whether the primary node accepts read requests, and the connection pool at the same time. For example: `{\\"ConsistLevel\\":\\"1\\",\\"DistributedTransaction\\":\\"on\\",\\"ConnectionPersist\\":\\"Session\\",\\"MasterAcceptReads\\":\\"on\\"}`.
123
- * >
124
- * > * The transaction splitting setting is constrained by the consistency level. For example, you cannot enable transaction splitting if the consistency level is **0** (eventual consistency). You can enable transaction splitting if the consistency level is **1** (session consistency) or **2** (global consistency).
94
+ * > * Transaction splitting, whether the primary node accepts read requests, connection pooling, and overload protection can be configured only when the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadWrite (automatic read/write splitting)**.
95
+ * > * When the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadOnly**, both **connection-based load balancing** and **active-request-based load balancing** policies are supported. The **ReadWrite (automatic read/write splitting)** mode supports only the **active-request-based load balancing** policy.
96
+ * > * Automatic request distribution among row offload reads from primary nodes can be configured when the read/write mode of the PolarDB for MySQL cluster endpoint is **ReadWrite (automatic read/write splitting)**, or when the read/write mode is **ReadOnly** and the load balancing policy is **active-request-based load balancing**.
97
+ * > * Only PolarDB for MySQL supports setting the consistency level to global consistency.
98
+ * > * If **ReadWriteMode** is set to **ReadOnly**, the consistency level can only be set to **0**.
99
+ * > * You can configure the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling at the same time. Example: `{\\"ConsistLevel\\":\\"1\\",\\"DistributedTransaction\\":\\"on\\",\\"ConnectionPersist\\":\\"Session\\",\\"MasterAcceptReads\\":\\"on\\"}`.
100
+ * > * Transaction splitting is constrained by the consistency level. For example, transaction splitting cannot be enabled when the consistency level is **0**. Transaction splitting can be enabled when the consistency level is **1** or **2**.
125
101
  *
126
102
  * @example
127
103
  * {"ConsistLevel":"1","DistributedTransaction":"on","MasterAcceptReads":"off","ConnectionPersist": "on"}
@@ -129,17 +105,14 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
129
105
  endpointConfig?: string;
130
106
  /**
131
107
  * @remarks
132
- * The nodes to be added to the endpoint for read request distribution. Separate multiple node IDs with commas (,). The original nodes are used by default.
133
- *
134
- * > - For PolarDB for MySQL, specify the node IDs.
135
- * >
136
- * > - For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Oracle Compatible), specify the node roles, such as `Writer,Reader1,Reader2`.
137
- * >
138
- * > - If you set **ReadWriteMode** to **ReadOnly**, you can attach only one node. However, if this node fails, the endpoint may be unavailable for up to one hour. Do not use this configuration in a production environment. Select at least two nodes to improve availability.
139
- * >
140
- * > - If you set **ReadWriteMode** to **ReadWrite**, you must select at least two nodes.
141
- * > \\* For PolarDB for MySQL, you can select any two nodes. If both nodes are read-only nodes, write requests are sent to the primary node.
142
- * > \\* For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Oracle Compatible), you must include the primary node.
108
+ * The read load nodes to add to the endpoint. Separate multiple nodes with commas (,). Default value: the existing nodes.
109
+ *
110
+ * > * For PolarDB for MySQL, specify node IDs.
111
+ * > * For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), specify node role names, such as `Writer,Reader1,Reader2`.
112
+ * > * If **ReadWriteMode** is set to **ReadOnly**, you can mount only one node. However, if this node fails, the endpoint may be unavailable for up to 1 hour. Do not use this configuration in production environments. Select at least 2 nodes to improve availability.
113
+ * > * If **ReadWriteMode** is set to **ReadWrite**, select at least 2 nodes.
114
+ * * PolarDB for MySQL allows you to select any two nodes. If both nodes are read-only nodes, write requests are forwarded to the primary node.
115
+ * * PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle) require the primary node to be included.
143
116
  *
144
117
  * @example
145
118
  * pi-**************,pi-*************
@@ -149,11 +122,11 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
149
122
  ownerId?: number;
150
123
  /**
151
124
  * @remarks
152
- * The policy for handling global consistency timeouts. Valid values:
125
+ * The timeout policy for global consistency. Valid values:
153
126
  *
154
- * - **0**: Forwards the request to the primary node.
127
+ * - **0**: Send the request to the primary node.
155
128
  *
156
- * - **2**: Degrades the request. If a global consistency read times out, the query is automatically degraded to a regular request. The client does not receive an error message.
129
+ * - **2**: Timeout degradation. When the global consistency read times out, the query is automatically degraded to regular requests, and the client does not receive an error message.
157
130
  *
158
131
  * @example
159
132
  * 0
@@ -171,9 +144,8 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
171
144
  * @remarks
172
145
  * The read/write mode. Valid values:
173
146
  *
174
- * - **ReadWrite**: Read/write (automatic read/write splitting)
175
- *
176
- * - **ReadOnly**: Read-only
147
+ * - **ReadWrite**: read/write (automatic read/write splitting)
148
+ * - **ReadOnly**: read-only
177
149
  *
178
150
  * @example
179
151
  * ReadWrite
@@ -185,9 +157,9 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
185
157
  * @remarks
186
158
  * Specifies whether to enable the global consistency (high-performance mode) feature for the node. Valid values:
187
159
  *
188
- * - **ON**: Enable
160
+ * - **ON**: Enabled.
189
161
  *
190
- * - **OFF**: Disable
162
+ * - **OFF**: Disabled.
191
163
  *
192
164
  * @example
193
165
  * on
@@ -5,12 +5,12 @@ 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.
8
+ * The unique identifier of the knowledge base. You can specify multiple knowledge bases separated by commas. A maximum of 50 knowledge bases can be specified.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
12
12
  * @example
13
- * pkb-xxxxx
13
+ * pkb-1xxxxx,pkb-2xxxxx
14
14
  */
15
15
  knowledgeBaseId?: string;
16
16
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RetrievalKnowledgeBaseResponseBodyResultsImageResources extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The index of the source document that the image belongs to, starting from 0.
8
+ * The index of the source document to which the image belongs, starting from 0.
9
9
  *
10
10
  * @example
11
11
  * 0
@@ -13,7 +13,7 @@ export class RetrievalKnowledgeBaseResponseBodyResultsImageResources extends $da
13
13
  documentIndex?: number;
14
14
  /**
15
15
  * @remarks
16
- * The unique ID of the image resource.
16
+ * The unique identifier of the image resource.
17
17
  *
18
18
  * @example
19
19
  * document-0/pictures/1
@@ -80,12 +80,12 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
80
80
  captions?: string[];
81
81
  /**
82
82
  * @remarks
83
- * The list of Docling source document structured element references associated with the chunk. You can use these references to precisely locate original elements.
83
+ * The list of Docling source document structured element references associated with the chunk. You can use these references to precisely locate elements in the original document.
84
84
  */
85
85
  docItems?: string[];
86
86
  /**
87
87
  * @remarks
88
- * The unique ID of the file.
88
+ * The unique identifier of the file.
89
89
  *
90
90
  * @example
91
91
  * 91b97b71-xxxx-xxxx-xxxx-33c6a6341cdc
@@ -101,7 +101,7 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
101
101
  fileName?: string;
102
102
  /**
103
103
  * @remarks
104
- * The chain of section headings that the chunk belongs to.
104
+ * The chain of section headings to which the chunk belongs.
105
105
  */
106
106
  headings?: string[];
107
107
  /**
@@ -119,7 +119,7 @@ export class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Model {
119
119
  metadata?: string;
120
120
  /**
121
121
  * @remarks
122
- * The list of page numbers that the chunk belongs to.
122
+ * The list of page numbers to which the chunk belongs.
123
123
  */
124
124
  pageNumbers?: number[];
125
125
  /**