@alicloud/polardb20170801 8.3.0 → 8.3.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.
package/dist/client.d.ts CHANGED
@@ -3056,7 +3056,7 @@ export default class Client extends OpenApi {
3056
3056
  */
3057
3057
  describeApplicationUsage(request: $_model.DescribeApplicationUsageRequest): Promise<$_model.DescribeApplicationUsageResponse>;
3058
3058
  /**
3059
- * Gets the list of applications for all PolarDB instances in a specified region.
3059
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
3060
3060
  *
3061
3061
  * @param request - DescribeApplicationsRequest
3062
3062
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3064,7 +3064,7 @@ export default class Client extends OpenApi {
3064
3064
  */
3065
3065
  describeApplicationsWithOptions(request: $_model.DescribeApplicationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationsResponse>;
3066
3066
  /**
3067
- * Gets the list of applications for all PolarDB instances in a specified region.
3067
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
3068
3068
  *
3069
3069
  * @param request - DescribeApplicationsRequest
3070
3070
  * @returns DescribeApplicationsResponse
@@ -6267,7 +6267,7 @@ export default class Client extends OpenApi {
6267
6267
  */
6268
6268
  modifyDBClusterDescriptionZonal(request: $_model.ModifyDBClusterDescriptionZonalRequest): Promise<$_model.ModifyDBClusterDescriptionZonalResponse>;
6269
6269
  /**
6270
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
6270
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6271
6271
  *
6272
6272
  * @param request - ModifyDBClusterEndpointRequest
6273
6273
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6275,7 +6275,7 @@ export default class Client extends OpenApi {
6275
6275
  */
6276
6276
  modifyDBClusterEndpointWithOptions(request: $_model.ModifyDBClusterEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterEndpointResponse>;
6277
6277
  /**
6278
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
6278
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
6279
6279
  *
6280
6280
  * @param request - ModifyDBClusterEndpointRequest
6281
6281
  * @returns ModifyDBClusterEndpointResponse
@@ -7372,7 +7372,7 @@ export default class Client extends OpenApi {
7372
7372
  */
7373
7373
  restoreTable(request: $_model.RestoreTableRequest): Promise<$_model.RestoreTableResponse>;
7374
7374
  /**
7375
- * Retrieves knowledge base search results.
7375
+ * Retrieves information from a knowledge base.
7376
7376
  *
7377
7377
  * @param request - RetrievalKnowledgeBaseRequest
7378
7378
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7380,7 +7380,7 @@ export default class Client extends OpenApi {
7380
7380
  */
7381
7381
  retrievalKnowledgeBaseWithOptions(request: $_model.RetrievalKnowledgeBaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RetrievalKnowledgeBaseResponse>;
7382
7382
  /**
7383
- * Retrieves knowledge base search results.
7383
+ * Retrieves information from a knowledge base.
7384
7384
  *
7385
7385
  * @param request - RetrievalKnowledgeBaseRequest
7386
7386
  * @returns RetrievalKnowledgeBaseResponse
package/dist/client.js CHANGED
@@ -10832,7 +10832,7 @@ class Client extends openapi_core_1.default {
10832
10832
  return await this.describeApplicationUsageWithOptions(request, runtime);
10833
10833
  }
10834
10834
  /**
10835
- * Gets the list of applications for all PolarDB instances in a specified region.
10835
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
10836
10836
  *
10837
10837
  * @param request - DescribeApplicationsRequest
10838
10838
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10879,7 +10879,7 @@ class Client extends openapi_core_1.default {
10879
10879
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationsResponse({}));
10880
10880
  }
10881
10881
  /**
10882
- * Gets the list of applications for all PolarDB instances in a specified region.
10882
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
10883
10883
  *
10884
10884
  * @param request - DescribeApplicationsRequest
10885
10885
  * @returns DescribeApplicationsResponse
@@ -22361,7 +22361,7 @@ class Client extends openapi_core_1.default {
22361
22361
  return await this.modifyDBClusterDescriptionZonalWithOptions(request, runtime);
22362
22362
  }
22363
22363
  /**
22364
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
22364
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22365
22365
  *
22366
22366
  * @param request - ModifyDBClusterEndpointRequest
22367
22367
  * @param runtime - runtime options for this request RuntimeOptions
@@ -22429,7 +22429,7 @@ class Client extends openapi_core_1.default {
22429
22429
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterEndpointResponse({}));
22430
22430
  }
22431
22431
  /**
22432
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
22432
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
22433
22433
  *
22434
22434
  * @param request - ModifyDBClusterEndpointRequest
22435
22435
  * @returns ModifyDBClusterEndpointResponse
@@ -26433,7 +26433,7 @@ class Client extends openapi_core_1.default {
26433
26433
  return await this.restoreTableWithOptions(request, runtime);
26434
26434
  }
26435
26435
  /**
26436
- * Retrieves knowledge base search results.
26436
+ * Retrieves information from a knowledge base.
26437
26437
  *
26438
26438
  * @param request - RetrievalKnowledgeBaseRequest
26439
26439
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26477,7 +26477,7 @@ class Client extends openapi_core_1.default {
26477
26477
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetrievalKnowledgeBaseResponse({}));
26478
26478
  }
26479
26479
  /**
26480
- * Retrieves knowledge base search results.
26480
+ * Retrieves information from a knowledge base.
26481
26481
  *
26482
26482
  * @param request - RetrievalKnowledgeBaseRequest
26483
26483
  * @returns RetrievalKnowledgeBaseResponse
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class DescribeApplicationsRequestTag extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The key of the tag.
5
+ * The tag key.
6
6
  *
7
7
  * @example
8
8
  * testKey
@@ -10,7 +10,7 @@ export declare class DescribeApplicationsRequestTag extends $dara.Model {
10
10
  key?: string;
11
11
  /**
12
12
  * @remarks
13
- * The value of the tag.
13
+ * The tag value.
14
14
  *
15
15
  * @example
16
16
  * testValue
@@ -30,16 +30,20 @@ export declare class DescribeApplicationsRequestTag extends $dara.Model {
30
30
  export declare class DescribeApplicationsRequest extends $dara.Model {
31
31
  /**
32
32
  * @remarks
33
- * A list of application IDs. If specified, this operation returns information only about the specified applications.
33
+ * The list of application IDs. If specified, only information about these applications is returned.
34
34
  *
35
35
  * @example
36
36
  * pa-**************
37
37
  */
38
38
  applicationIds?: string;
39
+ /**
40
+ * @remarks
41
+ * The application engine filter.
42
+ */
39
43
  applicationTypes?: string;
40
44
  /**
41
45
  * @remarks
42
- * The ID of the PolarDB instance. If specified, this operation returns information only about applications associated with this instance.
46
+ * The PolarDB instance ID. If specified, only application information related to this PolarDB instance is returned.
43
47
  *
44
48
  * @example
45
49
  * pc-**************
@@ -55,13 +59,10 @@ export declare class DescribeApplicationsRequest extends $dara.Model {
55
59
  pageNumber?: number;
56
60
  /**
57
61
  * @remarks
58
- * The number of entries to return on each page. Valid values:
59
- *
60
- * - **30**
61
- *
62
- * - **50**
63
- *
64
- * - **100**
62
+ * The number of entries per page. Valid values:
63
+ * * **30**
64
+ * * **50**
65
+ * * **100**
65
66
  *
66
67
  * Default value: **30**.
67
68
  *
@@ -71,7 +72,7 @@ export declare class DescribeApplicationsRequest extends $dara.Model {
71
72
  pageSize?: number;
72
73
  /**
73
74
  * @remarks
74
- * The ID of the region.
75
+ * The region ID.
75
76
  *
76
77
  * This parameter is required.
77
78
  *
@@ -81,7 +82,7 @@ export declare class DescribeApplicationsRequest extends $dara.Model {
81
82
  regionId?: string;
82
83
  /**
83
84
  * @remarks
84
- * A list of tags. A tag is a key-value pair.
85
+ * The tags.
85
86
  */
86
87
  tag?: DescribeApplicationsRequestTag[];
87
88
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAiB7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wEAsCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAyD1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1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AG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,wEAsCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA0D1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,gBAAgB,EAAE,QAAQ;YAC1B,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8BAA8B,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5FD,kEA4FC"}
@@ -65,6 +65,11 @@ export declare class DescribeApplicationsResponseBodyItemsApplicationsTags exten
65
65
  export declare class DescribeApplicationsResponseBodyItemsApplications extends $dara.Model {
66
66
  applicationId?: string;
67
67
  applicationType?: string;
68
+ /**
69
+ * @example
70
+ * br-1db52a73dc8545f19a47a3f1d8
71
+ */
72
+ branchId?: string;
68
73
  creationTime?: string;
69
74
  /**
70
75
  * @example
@@ -107,14 +112,10 @@ export declare class DescribeApplicationsResponseBodyItems extends $dara.Model {
107
112
  });
108
113
  }
109
114
  export declare class DescribeApplicationsResponseBody extends $dara.Model {
110
- /**
111
- * @remarks
112
- * Contains the returned applications.
113
- */
114
115
  items?: DescribeApplicationsResponseBodyItems;
115
116
  /**
116
117
  * @remarks
117
- * The page number.
118
+ * The current page number.
118
119
  *
119
120
  * @example
120
121
  * 1
@@ -122,7 +123,7 @@ export declare class DescribeApplicationsResponseBody extends $dara.Model {
122
123
  pageNumber?: number;
123
124
  /**
124
125
  * @remarks
125
- * The number of records on the current page.
126
+ * The number of entries on the current page.
126
127
  *
127
128
  * @example
128
129
  * 1
@@ -138,7 +139,7 @@ export declare class DescribeApplicationsResponseBody extends $dara.Model {
138
139
  requestId?: string;
139
140
  /**
140
141
  * @remarks
141
- * The total record count.
142
+ * The total number of entries.
142
143
  *
143
144
  * @example
144
145
  * 1
@@ -129,6 +129,7 @@ class DescribeApplicationsResponseBodyItemsApplications extends $dara.Model {
129
129
  return {
130
130
  applicationId: 'ApplicationId',
131
131
  applicationType: 'ApplicationType',
132
+ branchId: 'BranchId',
132
133
  creationTime: 'CreationTime',
133
134
  DBClusterId: 'DBClusterId',
134
135
  description: 'Description',
@@ -148,6 +149,7 @@ class DescribeApplicationsResponseBodyItemsApplications extends $dara.Model {
148
149
  return {
149
150
  applicationId: 'string',
150
151
  applicationType: 'string',
152
+ branchId: 'string',
151
153
  creationTime: 'string',
152
154
  DBClusterId: 'string',
153
155
  description: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"DescribeApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kEAAmE,SAAQ,KAAK,CAAC,KAAK;IAIjG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IAC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A4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxBD,sFAwBC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,qCAAqC;YAC5C,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4EAoEC"}
1
+ {"version":3,"file":"DescribeApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kEAAmE,SAAQ,KAAK,CAAC,KAAK;IAIjG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,OAAO,EAAE,QAAQ;YACjB,IA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AC;CACF;AAxBD,sFAwBC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAkC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;YAClC,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;SACrC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,qCAAqC;YAC5C,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,QAAQ;YACzB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;SAC3B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,4EAgEC"}
@@ -2,11 +2,10 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to automatically add new nodes to the endpoint. Valid values:
5
+ * Specifies whether new nodes are automatically added to the endpoint. Valid values:
6
6
  *
7
- * - **Enable**: Automatically adds new nodes.
8
- *
9
- * - **Disable**: Does not automatically add new nodes. This is the default value.
7
+ * - **Enable**: New nodes are automatically added.
8
+ * - **Disable**: New nodes are not automatically added. (Default)
10
9
  *
11
10
  * @example
12
11
  * Enable
@@ -32,7 +31,7 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
32
31
  DBEndpointDescription?: string;
33
32
  /**
34
33
  * @remarks
35
- * The ID of the cluster endpoint.
34
+ * The cluster endpoint ID.
36
35
  *
37
36
  * This parameter is required.
38
37
  *
@@ -42,83 +41,60 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
42
41
  DBEndpointId?: string;
43
42
  /**
44
43
  * @remarks
45
- * 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.
46
- *
47
- * - Sets the load balancing policy. Format: `{\\"LoadBalancePolicy\\":\\"policy\\"}`. Valid values:
48
- *
49
- * - **0**: Connections-based load balancing (default)
50
- *
51
- * - **1**: Active requests-based load balancing
52
- *
53
- * - Specifies whether the primary node accepts read requests. Format: `{\\"MasterAcceptReads\\":\\"value\\"}`. Valid values:
54
- *
55
- * - **on**: The primary node accepts read requests (default).
56
- *
57
- * - **off**: The primary node does not accept read requests.
58
- *
59
- * - Enables or disables transaction splitting. Format: `{\\"DistributedTransaction\\":\\"value\\"}`. Valid values:
60
- *
61
- * - **on**: Enables transaction splitting (default).
62
- *
63
- * - **off**: Disables transaction splitting.
64
- *
65
- * - Sets the consistency level. Format: `{\\"ConsistLevel\\":\\"level\\"}`. Valid values:
44
+ * 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.
66
45
  *
67
- * - **0**: Eventual consistency (weak)
46
+ * * To set the load balancing policy, use the format `{\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}`. Valid values:
47
+ * * **0**: connection-based load balancing (default)
48
+ * * **1**: active-request-based load balancing
68
49
  *
69
- * - **1**: Session consistency (medium) (default)
50
+ * * To set whether the primary node accepts read requests, use the format `{\\"MasterAcceptReads\\":\\"Whether the primary node accepts reads\\"}`. Valid values:
51
+ * * **on**: The primary node accepts read requests. (Default)
52
+ * * **off**: The primary node does not accept read requests.
70
53
  *
71
- * - **2**: Global consistency (strong)
54
+ * * To set transaction splitting, use the format `{\\"DistributedTransaction\\":\\"Transaction splitting\\"}`. Valid values:
55
+ * * **on**: Transaction splitting is enabled. (Default)
56
+ * * **off**: Transaction splitting is disabled.
72
57
  *
73
- * - Sets the timeout period for a global consistency read. Format: `{\\"ConsistTimeout\\":\\"timeout\\"}`. Valid values: 0 to 60000. Default value: 20. Unit: ms.
58
+ * * To set the consistency level, use the format `{\\"ConsistLevel\\":\\"Consistency level\\"}`. Valid values:
59
+ * * **0**: eventual consistency (weak)
60
+ * * **1**: session consistency (medium) (default)
61
+ * * **2**: global consistency (strong)
74
62
  *
75
- * - Sets the timeout period for a session consistency read. Format: `{\\"ConsistSessionTimeout\\":\\"timeout\\"}`. Valid values: 0 to 60000. Default value: 0. Unit: ms.
63
+ * * 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.
76
64
  *
77
- * - Sets the policy for handling timeouts of global or session consistency reads. Format: `{\\"ConsistTimeoutAction\\":\\"policy\\"}`. Valid values:
65
+ * * 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.
78
66
  *
79
- * - **0**: Forwards read requests to the primary node (default).
67
+ * * To set the global (or session) consistency read timeout policy, use the format `{\\"ConsistTimeoutAction\\":\\"Global consistency read timeout policy\\"}`. Valid values:
68
+ * * **0**: Forward the read request to the primary node. (Default)
69
+ * * **1**: The proxy returns the error message `wait replication complete timeout, please retry` to the application.
80
70
  *
81
- * - **1**: The proxy returns the error message \\`wait replication complete timeout, please retry\\` to the application.
71
+ * * To set the connection pool, use the format `{\\"ConnectionPersist\\":\\"Connection pool\\"}`. Valid values:
72
+ * * **off**: The connection pool is disabled. (Default)
73
+ * * **Session**: The session-level connection pool is enabled.
74
+ * * **Transaction**: The transaction-level connection pooling is enabled.
82
75
  *
83
- * - Sets the connection pool type. Format: `{\\"ConnectionPersist\\":\\"type\\"}`. Valid values:
76
+ * * To set parallel query, use the format `{\\"MaxParallelDegree\\":\\"Parallel query\\"}`. Valid values:
77
+ * * **on**: Parallel query is enabled.
78
+ * * **off**: Parallel query is disabled. (Default)
84
79
  *
85
- * - **off**: Disables the connection pool (default).
80
+ * * 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:
81
+ * * **on**: Automatic request distribution among row offload reads from primary nodes is enabled.
82
+ * * **off**: Automatic request distribution among row offload reads from primary nodes is disabled. (Default)
86
83
  *
87
- * - **Session**: Enables the session-level connection pool.
88
84
  *
89
- * - **Transaction**: Enables the transaction-level connection pool.
85
+ * * To set whether to enable overload protection, use the format `{\\"EnableOverloadThrottle\\":\\"Whether to enable overload protection\\"}`. Valid values:
86
+ * * **on**: Overload protection is enabled.
87
+ * * **off**: Overload protection is disabled. (Default)
90
88
  *
91
- * - Enables or disables parallel query. Format: `{\\"MaxParallelDegree\\":\\"value\\"}`. Valid values:
89
+ * * To set node weights, use the format `{\\"NodesWeight\\":{\\"Node ID\\":\\"Weight value\\"}}`.
92
90
  *
93
- * - **on**: Enables parallel query.
94
- *
95
- * - **off**: Disables parallel query (default).
96
- *
97
- * - Enables or disables automatic routing of requests to the row store or column store. Format: `{\\"EnableHtapImci\\":\\"value\\"}`. Valid values:
98
- *
99
- * - **on**: Enables automatic routing.
100
- *
101
- * - **off**: Disables automatic routing (default).
102
- *
103
- * - Enables or disables overload protection. Format: `{\\"EnableOverloadThrottle\\":\\"value\\"}`. Valid values:
104
- *
105
- * - **on**: Enables overload protection.
106
- *
107
- * - **off**: Disables overload protection (default).
108
- *
109
- * > * 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).
110
- * >
111
- * > * 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.
112
- * >
113
- * > * 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**.
114
- * >
115
- * > * Only PolarDB for MySQL supports global consistency.
116
- * >
117
- * > * If you set the **ReadWriteMode** parameter to **ReadOnly**, you can only set the consistency level to **0**.
118
- * >
119
- * > * 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\\"}`.
120
- * >
121
- * > * 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).
91
+ * > * 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)**.
92
+ * > * 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.
93
+ * > * 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**.
94
+ * > * Only PolarDB for MySQL supports setting the consistency level to global consistency.
95
+ * > * If **ReadWriteMode** is set to **ReadOnly**, the consistency level can only be set to **0**.
96
+ * > * 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\\"}`.
97
+ * > * 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**.
122
98
  *
123
99
  * @example
124
100
  * {"ConsistLevel":"1","DistributedTransaction":"on","MasterAcceptReads":"off","ConnectionPersist": "on"}
@@ -126,17 +102,14 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
126
102
  endpointConfig?: string;
127
103
  /**
128
104
  * @remarks
129
- * 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.
130
- *
131
- * > - For PolarDB for MySQL, specify the node IDs.
132
- * >
133
- * > - For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Oracle Compatible), specify the node roles, such as `Writer,Reader1,Reader2`.
134
- * >
135
- * > - 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.
136
- * >
137
- * > - If you set **ReadWriteMode** to **ReadWrite**, you must select at least two nodes.
138
- * > \\* 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.
139
- * > \\* For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Oracle Compatible), you must include the primary node.
105
+ * The read load nodes to add to the endpoint. Separate multiple nodes with commas (,). Default value: the existing nodes.
106
+ *
107
+ * > * For PolarDB for MySQL, specify node IDs.
108
+ * > * For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), specify node role names, such as `Writer,Reader1,Reader2`.
109
+ * > * 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.
110
+ * > * If **ReadWriteMode** is set to **ReadWrite**, select at least 2 nodes.
111
+ * * 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.
112
+ * * PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle) require the primary node to be included.
140
113
  *
141
114
  * @example
142
115
  * pi-**************,pi-*************
@@ -146,11 +119,11 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
146
119
  ownerId?: number;
147
120
  /**
148
121
  * @remarks
149
- * The policy for handling global consistency timeouts. Valid values:
122
+ * The timeout policy for global consistency. Valid values:
150
123
  *
151
- * - **0**: Forwards the request to the primary node.
124
+ * - **0**: Send the request to the primary node.
152
125
  *
153
- * - **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.
126
+ * - **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.
154
127
  *
155
128
  * @example
156
129
  * 0
@@ -168,9 +141,8 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
168
141
  * @remarks
169
142
  * The read/write mode. Valid values:
170
143
  *
171
- * - **ReadWrite**: Read/write (automatic read/write splitting)
172
- *
173
- * - **ReadOnly**: Read-only
144
+ * - **ReadWrite**: read/write (automatic read/write splitting)
145
+ * - **ReadOnly**: read-only
174
146
  *
175
147
  * @example
176
148
  * ReadWrite
@@ -182,9 +154,9 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
182
154
  * @remarks
183
155
  * Specifies whether to enable the global consistency (high-performance mode) feature for the node. Valid values:
184
156
  *
185
- * - **ON**: Enable
157
+ * - **ON**: Enabled.
186
158
  *
187
- * - **OFF**: Disable
159
+ * - **OFF**: Disabled.
188
160
  *
189
161
  * @example
190
162
  * on
@@ -1 +1 @@
1
- {"version":3,"file":"ModifyDbclusterEndpointRequest.js","sourceRoot":"","sources":["../../src/models/ModifyDbclusterEndpointRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IA+L7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,WAAW,EAAE,aAAa;YAC1B,qBAAqB,EAAE,uBAAuB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YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,qBAAqB,EAAE,uBAAuB;YAC9C,mBAAmB,EAAE,qBAAqB;YAC1C,aAAa,EAAE,eAAe;YAC9B,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,QAAQ;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,KAAK,EAAE,QAAQ;YACf,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,qBAAqB,EAAE,QAAQ;YAC/B,mBAAmB,EAAE,QAAQ;YAC7B,aAAa,EAAE,QAAQ;YACvB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhND,wEAgNC"}
@@ -2,12 +2,12 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class RetrievalKnowledgeBaseRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The unique ID of the knowledge base.
5
+ * 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.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
9
9
  * @example
10
- * pkb-xxxxx
10
+ * pkb-1xxxxx,pkb-2xxxxx
11
11
  */
12
12
  knowledgeBaseId?: string;
13
13
  /**
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class RetrievalKnowledgeBaseResponseBodyResultsImageResources extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The index of the source document that the image belongs to, starting from 0.
5
+ * The index of the source document to which the image belongs, starting from 0.
6
6
  *
7
7
  * @example
8
8
  * 0
@@ -10,7 +10,7 @@ export declare class RetrievalKnowledgeBaseResponseBodyResultsImageResources ext
10
10
  documentIndex?: number;
11
11
  /**
12
12
  * @remarks
13
- * The unique ID of the image resource.
13
+ * The unique identifier of the image resource.
14
14
  *
15
15
  * @example
16
16
  * document-0/pictures/1
@@ -59,12 +59,12 @@ export declare class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Mod
59
59
  captions?: string[];
60
60
  /**
61
61
  * @remarks
62
- * The list of Docling source document structured element references associated with the chunk. You can use these references to precisely locate original elements.
62
+ * 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.
63
63
  */
64
64
  docItems?: string[];
65
65
  /**
66
66
  * @remarks
67
- * The unique ID of the file.
67
+ * The unique identifier of the file.
68
68
  *
69
69
  * @example
70
70
  * 91b97b71-xxxx-xxxx-xxxx-33c6a6341cdc
@@ -80,7 +80,7 @@ export declare class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Mod
80
80
  fileName?: string;
81
81
  /**
82
82
  * @remarks
83
- * The chain of section headings that the chunk belongs to.
83
+ * The chain of section headings to which the chunk belongs.
84
84
  */
85
85
  headings?: string[];
86
86
  /**
@@ -98,7 +98,7 @@ export declare class RetrievalKnowledgeBaseResponseBodyResults extends $dara.Mod
98
98
  metadata?: string;
99
99
  /**
100
100
  * @remarks
101
- * The list of page numbers that the chunk belongs to.
101
+ * The list of page numbers to which the chunk belongs.
102
102
  */
103
103
  pageNumbers?: number[];
104
104
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/polardb20170801",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -12453,7 +12453,7 @@ export default class Client extends OpenApi {
12453
12453
  }
12454
12454
 
12455
12455
  /**
12456
- * Gets the list of applications for all PolarDB instances in a specified region.
12456
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
12457
12457
  *
12458
12458
  * @param request - DescribeApplicationsRequest
12459
12459
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12508,7 +12508,7 @@ export default class Client extends OpenApi {
12508
12508
  }
12509
12509
 
12510
12510
  /**
12511
- * Gets the list of applications for all PolarDB instances in a specified region.
12511
+ * Retrieves the list of applications for all PolarDB instances in a specified region.
12512
12512
  *
12513
12513
  * @param request - DescribeApplicationsRequest
12514
12514
  * @returns DescribeApplicationsResponse
@@ -25743,7 +25743,7 @@ export default class Client extends OpenApi {
25743
25743
  }
25744
25744
 
25745
25745
  /**
25746
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
25746
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
25747
25747
  *
25748
25748
  * @param request - ModifyDBClusterEndpointRequest
25749
25749
  * @param runtime - runtime options for this request RuntimeOptions
@@ -25826,7 +25826,7 @@ export default class Client extends OpenApi {
25826
25826
  }
25827
25827
 
25828
25828
  /**
25829
- * This operation modifies the properties of a PolarDB cluster endpoint. You can configure settings such as the read/write mode, automatic node addition, consistency level, transaction splitting, the connection pool, and whether the primary node accepts read requests.
25829
+ * Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, the consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
25830
25830
  *
25831
25831
  * @param request - ModifyDBClusterEndpointRequest
25832
25832
  * @returns ModifyDBClusterEndpointResponse
@@ -30467,7 +30467,7 @@ export default class Client extends OpenApi {
30467
30467
  }
30468
30468
 
30469
30469
  /**
30470
- * Retrieves knowledge base search results.
30470
+ * Retrieves information from a knowledge base.
30471
30471
  *
30472
30472
  * @param request - RetrievalKnowledgeBaseRequest
30473
30473
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30518,7 +30518,7 @@ export default class Client extends OpenApi {
30518
30518
  }
30519
30519
 
30520
30520
  /**
30521
- * Retrieves knowledge base search results.
30521
+ * Retrieves information from a knowledge base.
30522
30522
  *
30523
30523
  * @param request - RetrievalKnowledgeBaseRequest
30524
30524
  * @returns RetrievalKnowledgeBaseResponse
@@ -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
@@ -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
  /**