@alicloud/polardb20170801 8.4.2 → 8.4.3
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 +2 -2
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateKbsyncLinkRequest.d.ts +3 -3
- package/dist/models/CreateKbsyncLinkResponseBody.d.ts +3 -1
- package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
- package/dist/models/CreateNetworkChannelRequest.d.ts +5 -0
- package/dist/models/CreateNetworkChannelRequest.js +2 -0
- package/dist/models/CreateNetworkChannelRequest.js.map +1 -1
- package/dist/models/DescribeNetworkChannelResponseBody.d.ts +5 -0
- package/dist/models/DescribeNetworkChannelResponseBody.js +2 -0
- package/dist/models/DescribeNetworkChannelResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterEndpointRequest.d.ts +21 -21
- package/package.json +1 -1
- package/src/client.ts +6 -2
- package/src/models/CreateKbsyncLinkRequest.ts +3 -3
- package/src/models/CreateKbsyncLinkResponseBody.ts +3 -1
- package/src/models/CreateNetworkChannelRequest.ts +7 -0
- package/src/models/DescribeNetworkChannelResponseBody.ts +7 -0
- package/src/models/ModifyDbclusterEndpointRequest.ts +21 -21
|
@@ -50,7 +50,7 @@ export declare class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
50
50
|
linkName?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The MCP Server
|
|
53
|
+
* The MCP Server endpoint for DingTalk documents.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876
|
|
@@ -68,7 +68,7 @@ export declare class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
68
68
|
regionId?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The MCP Server
|
|
71
|
+
* The MCP Server endpoint for DingTalk spreadsheets.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx567?key=d5e6fxxxxxx543
|
|
@@ -76,7 +76,7 @@ export declare class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
76
76
|
sheetMcpEndpoint?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The
|
|
79
|
+
* The directory address of the synchronization source.
|
|
80
80
|
*
|
|
81
81
|
* This parameter is required.
|
|
82
82
|
*
|
|
@@ -12,6 +12,8 @@ export declare class CreateKBSyncLinkResponseBody extends $dara.Model {
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* The time when the synchronization link was created.
|
|
14
14
|
*
|
|
15
|
+
* The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ).
|
|
16
|
+
*
|
|
15
17
|
* @example
|
|
16
18
|
* 2026-08-14T05:58:42Z
|
|
17
19
|
*/
|
|
@@ -60,7 +62,7 @@ export declare class CreateKBSyncLinkResponseBody extends $dara.Model {
|
|
|
60
62
|
requestId?: string;
|
|
61
63
|
/**
|
|
62
64
|
* @remarks
|
|
63
|
-
* The
|
|
65
|
+
* The directory address of the synchronization source.
|
|
64
66
|
*
|
|
65
67
|
* @example
|
|
66
68
|
* https://example.feishu.cn/wiki/space/xxxxxx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateKbsyncLinkResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateKbsyncLinkResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateKbsyncLinkResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateKbsyncLinkResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAyF3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,mBAAmB,EAAE,qBAAqB;YAC1C,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,mBAAmB,EAAE,QAAQ;YAC7B,UAAU,EAAE,QAAQ;SACrB,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;AA9HD,oEA8HC"}
|
|
@@ -56,6 +56,11 @@ export declare class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
56
56
|
resourceGroupId?: string;
|
|
57
57
|
resourceOwnerAccount?: string;
|
|
58
58
|
resourceOwnerId?: number;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* sg-2z********
|
|
62
|
+
*/
|
|
63
|
+
securityGroupId?: string;
|
|
59
64
|
/**
|
|
60
65
|
* @remarks
|
|
61
66
|
* The name of the destination instance.
|
|
@@ -49,6 +49,7 @@ class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
49
49
|
resourceGroupId: 'ResourceGroupId',
|
|
50
50
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
51
51
|
resourceOwnerId: 'ResourceOwnerId',
|
|
52
|
+
securityGroupId: 'SecurityGroupId',
|
|
52
53
|
targetDBClusterId: 'TargetDBClusterId',
|
|
53
54
|
targetIp: 'TargetIp',
|
|
54
55
|
targetPort: 'TargetPort',
|
|
@@ -67,6 +68,7 @@ class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
67
68
|
resourceGroupId: 'string',
|
|
68
69
|
resourceOwnerAccount: 'string',
|
|
69
70
|
resourceOwnerId: 'number',
|
|
71
|
+
securityGroupId: 'string',
|
|
70
72
|
targetDBClusterId: 'string',
|
|
71
73
|
targetIp: 'string',
|
|
72
74
|
targetPort: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNetworkChannelRequest.js","sourceRoot":"","sources":["../../src/models/CreateNetworkChannelRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateNetworkChannelRequest.js","sourceRoot":"","sources":["../../src/models/CreateNetworkChannelRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA8F1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,YAAY,EAAE,cAAc;YAC5B,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,oBAAoB,EAAE,sBAAsB;YAC5C,eAAe,EAAE,iBAAiB;YAClC,eAAe,EAAE,iBAAiB;YAClC,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,KAAK,EAAE,QAAQ;YACf,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,eAAe,EAAE,QAAQ;YACzB,iBAAiB,EAAE,QAAQ;YAC3B,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,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;AA7ID,kEA6IC"}
|
|
@@ -41,6 +41,7 @@ class DescribeNetworkChannelResponseBodyChannelInfos extends $dara.Model {
|
|
|
41
41
|
return {
|
|
42
42
|
channelName: 'ChannelName',
|
|
43
43
|
DBClusterId: 'DBClusterId',
|
|
44
|
+
eniId: 'EniId',
|
|
44
45
|
notes: 'Notes',
|
|
45
46
|
regionId: 'RegionId',
|
|
46
47
|
targetDBClusterId: 'TargetDBClusterId',
|
|
@@ -54,6 +55,7 @@ class DescribeNetworkChannelResponseBodyChannelInfos extends $dara.Model {
|
|
|
54
55
|
return {
|
|
55
56
|
channelName: 'string',
|
|
56
57
|
DBClusterId: 'string',
|
|
58
|
+
eniId: 'string',
|
|
57
59
|
notes: 'string',
|
|
58
60
|
regionId: 'string',
|
|
59
61
|
targetDBClusterId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeNetworkChannelResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeNetworkChannelResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribeNetworkChannelResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeNetworkChannelResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IA8E7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EAAE,QAAQ;YAC3B,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,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;AAnHD,wGAmHC;AAED,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAcjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8CAA8C,EAAE;YAC7F,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,gFAsCC"}
|
|
@@ -41,55 +41,55 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
41
41
|
DBEndpointId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
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
|
|
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, connection pooling, and other settings.
|
|
45
45
|
*
|
|
46
|
-
* * To
|
|
46
|
+
* * To configure the load balancing policy, use the format `{\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}`. Valid values:
|
|
47
47
|
* * **0**: connection-based load balancing (default)
|
|
48
48
|
* * **1**: active-request-based load balancing
|
|
49
49
|
*
|
|
50
|
-
* * To
|
|
50
|
+
* * To configure whether the primary node accepts read requests, use the format `{\\"MasterAcceptReads\\":\\"Whether the primary node accepts reads\\"}`. Valid values:
|
|
51
51
|
* * **on**: The primary node accepts read requests. (Default)
|
|
52
52
|
* * **off**: The primary node does not accept read requests.
|
|
53
53
|
*
|
|
54
|
-
* * To
|
|
54
|
+
* * To configure transaction splitting, use the format `{\\"DistributedTransaction\\":\\"Transaction splitting\\"}`. Valid values:
|
|
55
55
|
* * **on**: Transaction splitting is enabled. (Default)
|
|
56
56
|
* * **off**: Transaction splitting is disabled.
|
|
57
57
|
*
|
|
58
|
-
* * To
|
|
58
|
+
* * To configure the consistency level, use the format `{\\"ConsistLevel\\":\\"Consistency level\\"}`. Valid values:
|
|
59
59
|
* * **0**: eventual consistency (weak)
|
|
60
60
|
* * **1**: session consistency (medium) (default)
|
|
61
61
|
* * **2**: global consistency (strong)
|
|
62
62
|
*
|
|
63
|
-
* * To
|
|
63
|
+
* * To configure the global consistency read timeout period, use the format `{\\"ConsistTimeout\\":\\"Global consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 20. Unit: ms.
|
|
64
64
|
*
|
|
65
|
-
* * To
|
|
65
|
+
* * To configure the session consistency read timeout period, use the format `{\\"ConsistSessionTimeout\\":\\"Session consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 0. Unit: ms.
|
|
66
66
|
*
|
|
67
|
-
* * To
|
|
67
|
+
* * To configure the global (or session) consistency read timeout policy, use the format `{\\"ConsistTimeoutAction\\":\\"Global consistency read timeout policy\\"}`. Valid values:
|
|
68
68
|
* * **0**: Forward the read request to the primary node. (Default)
|
|
69
69
|
* * **1**: The proxy returns the error message `wait replication complete timeout, please retry` to the application.
|
|
70
70
|
*
|
|
71
|
-
* * To
|
|
72
|
-
* * **off**:
|
|
73
|
-
* * **Session**:
|
|
74
|
-
* * **Transaction**:
|
|
71
|
+
* * To configure connection pooling, use the format `{\\"ConnectionPersist\\":\\"Connection pool\\"}`. Valid values:
|
|
72
|
+
* * **off**: Connection pooling is disabled. (Default)
|
|
73
|
+
* * **Session**: Session-level connection pooling is enabled.
|
|
74
|
+
* * **Transaction**: Transaction-level connection pooling is enabled.
|
|
75
75
|
*
|
|
76
|
-
* * To
|
|
76
|
+
* * To configure parallel query, use the format `{\\"MaxParallelDegree\\":\\"Parallel query\\"}`. Valid values:
|
|
77
77
|
* * **on**: Parallel query is enabled.
|
|
78
78
|
* * **off**: Parallel query is disabled. (Default)
|
|
79
79
|
*
|
|
80
|
-
* * To
|
|
80
|
+
* * To configure automatic request distribution among row offload reads from primary nodes, use the format `{\\"EnableHtapImci\\":\\"Row store/column store automatic request distribution\\"}`. Valid values:
|
|
81
81
|
* * **on**: Automatic request distribution among row offload reads from primary nodes is enabled.
|
|
82
82
|
* * **off**: Automatic request distribution among row offload reads from primary nodes is disabled. (Default)
|
|
83
83
|
*
|
|
84
84
|
*
|
|
85
|
-
* * To
|
|
85
|
+
* * To configure overload protection, use the format `{\\"EnableOverloadThrottle\\":\\"Whether to enable overload protection\\"}`. Valid values:
|
|
86
86
|
* * **on**: Overload protection is enabled.
|
|
87
87
|
* * **off**: Overload protection is disabled. (Default)
|
|
88
88
|
*
|
|
89
|
-
* * To
|
|
89
|
+
* * To configure node weights, use the format `{\\"NodesWeight\\":{\\"Node ID\\":\\"Weight value\\"}}`.
|
|
90
90
|
*
|
|
91
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**
|
|
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** are supported. When the read/write mode is **ReadWrite (automatic read/write splitting)**, only **active-request-based load balancing** is supported.
|
|
93
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
94
|
* > * Only PolarDB for MySQL supports setting the consistency level to global consistency.
|
|
95
95
|
* > * If **ReadWriteMode** is set to **ReadOnly**, the consistency level can only be set to **0**.
|
|
@@ -106,10 +106,10 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
106
106
|
*
|
|
107
107
|
* > * For PolarDB for MySQL, specify node IDs.
|
|
108
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.
|
|
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. Mount at least 2 nodes to improve availability.
|
|
110
110
|
* > * If **ReadWriteMode** is set to **ReadWrite**, select at least 2 nodes.
|
|
111
|
-
* * PolarDB for MySQL
|
|
112
|
-
* * PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle)
|
|
111
|
+
* * For PolarDB for MySQL, you can select any two nodes. If both nodes are read-only nodes, write requests are forwarded to the primary node.
|
|
112
|
+
* * For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), the primary node must be included.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* pi-**************,pi-*************
|
|
@@ -121,7 +121,7 @@ export declare class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
121
121
|
* @remarks
|
|
122
122
|
* The timeout policy for global consistency. Valid values:
|
|
123
123
|
*
|
|
124
|
-
* - **0**:
|
|
124
|
+
* - **0**: Sends the request to the primary node.
|
|
125
125
|
*
|
|
126
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.
|
|
127
127
|
*
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -6038,6 +6038,10 @@ export default class Client extends OpenApi {
|
|
|
6038
6038
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
6039
6039
|
}
|
|
6040
6040
|
|
|
6041
|
+
if (!$dara.isNull(request.securityGroupId)) {
|
|
6042
|
+
query["SecurityGroupId"] = request.securityGroupId;
|
|
6043
|
+
}
|
|
6044
|
+
|
|
6041
6045
|
if (!$dara.isNull(request.targetDBClusterId)) {
|
|
6042
6046
|
query["TargetDBClusterId"] = request.targetDBClusterId;
|
|
6043
6047
|
}
|
|
@@ -25871,7 +25875,7 @@ export default class Client extends OpenApi {
|
|
|
25871
25875
|
}
|
|
25872
25876
|
|
|
25873
25877
|
/**
|
|
25874
|
-
* Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint,
|
|
25878
|
+
* Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
|
|
25875
25879
|
*
|
|
25876
25880
|
* @param request - ModifyDBClusterEndpointRequest
|
|
25877
25881
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25954,7 +25958,7 @@ export default class Client extends OpenApi {
|
|
|
25954
25958
|
}
|
|
25955
25959
|
|
|
25956
25960
|
/**
|
|
25957
|
-
* Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint,
|
|
25961
|
+
* Modifies the cluster endpoint attributes of a PolarDB cluster, including the read/write mode, whether new nodes are automatically added to the endpoint, consistency level, transaction splitting, whether the primary node accepts read requests, and connection pooling.
|
|
25958
25962
|
*
|
|
25959
25963
|
* @param request - ModifyDBClusterEndpointRequest
|
|
25960
25964
|
* @returns ModifyDBClusterEndpointResponse
|
|
@@ -53,7 +53,7 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
53
53
|
linkName?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The MCP Server
|
|
56
|
+
* The MCP Server endpoint for DingTalk documents.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876
|
|
@@ -71,7 +71,7 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
71
71
|
regionId?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The MCP Server
|
|
74
|
+
* The MCP Server endpoint for DingTalk spreadsheets.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx567?key=d5e6fxxxxxx543
|
|
@@ -79,7 +79,7 @@ export class CreateKBSyncLinkRequest extends $dara.Model {
|
|
|
79
79
|
sheetMcpEndpoint?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The
|
|
82
|
+
* The directory address of the synchronization source.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|
|
@@ -15,6 +15,8 @@ export class CreateKBSyncLinkResponseBody extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The time when the synchronization link was created.
|
|
17
17
|
*
|
|
18
|
+
* The time is in the ISO 8601 standard in the UTC time zone (format: YYYY-MM-DDTHH:mm:ssZ).
|
|
19
|
+
*
|
|
18
20
|
* @example
|
|
19
21
|
* 2026-08-14T05:58:42Z
|
|
20
22
|
*/
|
|
@@ -63,7 +65,7 @@ export class CreateKBSyncLinkResponseBody extends $dara.Model {
|
|
|
63
65
|
requestId?: string;
|
|
64
66
|
/**
|
|
65
67
|
* @remarks
|
|
66
|
-
* The
|
|
68
|
+
* The directory address of the synchronization source.
|
|
67
69
|
*
|
|
68
70
|
* @example
|
|
69
71
|
* https://example.feishu.cn/wiki/space/xxxxxx
|
|
@@ -59,6 +59,11 @@ export class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
59
59
|
resourceGroupId?: string;
|
|
60
60
|
resourceOwnerAccount?: string;
|
|
61
61
|
resourceOwnerId?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* sg-2z********
|
|
65
|
+
*/
|
|
66
|
+
securityGroupId?: string;
|
|
62
67
|
/**
|
|
63
68
|
* @remarks
|
|
64
69
|
* The name of the destination instance.
|
|
@@ -103,6 +108,7 @@ export class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
103
108
|
resourceGroupId: 'ResourceGroupId',
|
|
104
109
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
105
110
|
resourceOwnerId: 'ResourceOwnerId',
|
|
111
|
+
securityGroupId: 'SecurityGroupId',
|
|
106
112
|
targetDBClusterId: 'TargetDBClusterId',
|
|
107
113
|
targetIp: 'TargetIp',
|
|
108
114
|
targetPort: 'TargetPort',
|
|
@@ -122,6 +128,7 @@ export class CreateNetworkChannelRequest extends $dara.Model {
|
|
|
122
128
|
resourceGroupId: 'string',
|
|
123
129
|
resourceOwnerAccount: 'string',
|
|
124
130
|
resourceOwnerId: 'number',
|
|
131
|
+
securityGroupId: 'string',
|
|
125
132
|
targetDBClusterId: 'string',
|
|
126
133
|
targetIp: 'string',
|
|
127
134
|
targetPort: 'string',
|
|
@@ -19,6 +19,11 @@ export class DescribeNetworkChannelResponseBodyChannelInfos extends $dara.Model
|
|
|
19
19
|
* pc-*************
|
|
20
20
|
*/
|
|
21
21
|
DBClusterId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* eni-2z******
|
|
25
|
+
*/
|
|
26
|
+
eniId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The notes about the channel.
|
|
@@ -79,6 +84,7 @@ export class DescribeNetworkChannelResponseBodyChannelInfos extends $dara.Model
|
|
|
79
84
|
return {
|
|
80
85
|
channelName: 'ChannelName',
|
|
81
86
|
DBClusterId: 'DBClusterId',
|
|
87
|
+
eniId: 'EniId',
|
|
82
88
|
notes: 'Notes',
|
|
83
89
|
regionId: 'RegionId',
|
|
84
90
|
targetDBClusterId: 'TargetDBClusterId',
|
|
@@ -93,6 +99,7 @@ export class DescribeNetworkChannelResponseBodyChannelInfos extends $dara.Model
|
|
|
93
99
|
return {
|
|
94
100
|
channelName: 'string',
|
|
95
101
|
DBClusterId: 'string',
|
|
102
|
+
eniId: 'string',
|
|
96
103
|
notes: 'string',
|
|
97
104
|
regionId: 'string',
|
|
98
105
|
targetDBClusterId: 'string',
|
|
@@ -44,55 +44,55 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
44
44
|
DBEndpointId?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
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
|
|
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, connection pooling, and other settings.
|
|
48
48
|
*
|
|
49
|
-
* * To
|
|
49
|
+
* * To configure the load balancing policy, use the format `{\\"LoadBalancePolicy\\":\\"Load balancing policy\\"}`. Valid values:
|
|
50
50
|
* * **0**: connection-based load balancing (default)
|
|
51
51
|
* * **1**: active-request-based load balancing
|
|
52
52
|
*
|
|
53
|
-
* * To
|
|
53
|
+
* * To configure whether the primary node accepts read requests, use the format `{\\"MasterAcceptReads\\":\\"Whether the primary node accepts reads\\"}`. Valid values:
|
|
54
54
|
* * **on**: The primary node accepts read requests. (Default)
|
|
55
55
|
* * **off**: The primary node does not accept read requests.
|
|
56
56
|
*
|
|
57
|
-
* * To
|
|
57
|
+
* * To configure transaction splitting, use the format `{\\"DistributedTransaction\\":\\"Transaction splitting\\"}`. Valid values:
|
|
58
58
|
* * **on**: Transaction splitting is enabled. (Default)
|
|
59
59
|
* * **off**: Transaction splitting is disabled.
|
|
60
60
|
*
|
|
61
|
-
* * To
|
|
61
|
+
* * To configure the consistency level, use the format `{\\"ConsistLevel\\":\\"Consistency level\\"}`. Valid values:
|
|
62
62
|
* * **0**: eventual consistency (weak)
|
|
63
63
|
* * **1**: session consistency (medium) (default)
|
|
64
64
|
* * **2**: global consistency (strong)
|
|
65
65
|
*
|
|
66
|
-
* * To
|
|
66
|
+
* * To configure the global consistency read timeout period, use the format `{\\"ConsistTimeout\\":\\"Global consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 20. Unit: ms.
|
|
67
67
|
*
|
|
68
|
-
* * To
|
|
68
|
+
* * To configure the session consistency read timeout period, use the format `{\\"ConsistSessionTimeout\\":\\"Session consistency read timeout\\"}`. Valid values: 0 to 60000. Default value: 0. Unit: ms.
|
|
69
69
|
*
|
|
70
|
-
* * To
|
|
70
|
+
* * To configure the global (or session) consistency read timeout policy, use the format `{\\"ConsistTimeoutAction\\":\\"Global consistency read timeout policy\\"}`. Valid values:
|
|
71
71
|
* * **0**: Forward the read request to the primary node. (Default)
|
|
72
72
|
* * **1**: The proxy returns the error message `wait replication complete timeout, please retry` to the application.
|
|
73
73
|
*
|
|
74
|
-
* * To
|
|
75
|
-
* * **off**:
|
|
76
|
-
* * **Session**:
|
|
77
|
-
* * **Transaction**:
|
|
74
|
+
* * To configure connection pooling, use the format `{\\"ConnectionPersist\\":\\"Connection pool\\"}`. Valid values:
|
|
75
|
+
* * **off**: Connection pooling is disabled. (Default)
|
|
76
|
+
* * **Session**: Session-level connection pooling is enabled.
|
|
77
|
+
* * **Transaction**: Transaction-level connection pooling is enabled.
|
|
78
78
|
*
|
|
79
|
-
* * To
|
|
79
|
+
* * To configure parallel query, use the format `{\\"MaxParallelDegree\\":\\"Parallel query\\"}`. Valid values:
|
|
80
80
|
* * **on**: Parallel query is enabled.
|
|
81
81
|
* * **off**: Parallel query is disabled. (Default)
|
|
82
82
|
*
|
|
83
|
-
* * To
|
|
83
|
+
* * To configure automatic request distribution among row offload reads from primary nodes, use the format `{\\"EnableHtapImci\\":\\"Row store/column store automatic request distribution\\"}`. Valid values:
|
|
84
84
|
* * **on**: Automatic request distribution among row offload reads from primary nodes is enabled.
|
|
85
85
|
* * **off**: Automatic request distribution among row offload reads from primary nodes is disabled. (Default)
|
|
86
86
|
*
|
|
87
87
|
*
|
|
88
|
-
* * To
|
|
88
|
+
* * To configure overload protection, use the format `{\\"EnableOverloadThrottle\\":\\"Whether to enable overload protection\\"}`. Valid values:
|
|
89
89
|
* * **on**: Overload protection is enabled.
|
|
90
90
|
* * **off**: Overload protection is disabled. (Default)
|
|
91
91
|
*
|
|
92
|
-
* * To
|
|
92
|
+
* * To configure node weights, use the format `{\\"NodesWeight\\":{\\"Node ID\\":\\"Weight value\\"}}`.
|
|
93
93
|
*
|
|
94
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**
|
|
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** are supported. When the read/write mode is **ReadWrite (automatic read/write splitting)**, only **active-request-based load balancing** is supported.
|
|
96
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
97
|
* > * Only PolarDB for MySQL supports setting the consistency level to global consistency.
|
|
98
98
|
* > * If **ReadWriteMode** is set to **ReadOnly**, the consistency level can only be set to **0**.
|
|
@@ -109,10 +109,10 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
109
109
|
*
|
|
110
110
|
* > * For PolarDB for MySQL, specify node IDs.
|
|
111
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.
|
|
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. Mount at least 2 nodes to improve availability.
|
|
113
113
|
* > * If **ReadWriteMode** is set to **ReadWrite**, select at least 2 nodes.
|
|
114
|
-
* * PolarDB for MySQL
|
|
115
|
-
* * PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle)
|
|
114
|
+
* * For PolarDB for MySQL, you can select any two nodes. If both nodes are read-only nodes, write requests are forwarded to the primary node.
|
|
115
|
+
* * For PolarDB for PostgreSQL and PolarDB for PostgreSQL (Compatible with Oracle), the primary node must be included.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* pi-**************,pi-*************
|
|
@@ -124,7 +124,7 @@ export class ModifyDBClusterEndpointRequest extends $dara.Model {
|
|
|
124
124
|
* @remarks
|
|
125
125
|
* The timeout policy for global consistency. Valid values:
|
|
126
126
|
*
|
|
127
|
-
* - **0**:
|
|
127
|
+
* - **0**: Sends the request to the primary node.
|
|
128
128
|
*
|
|
129
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.
|
|
130
130
|
*
|