@alicloud/polardb20170801 9.5.0 → 9.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/client.d.ts +39 -18
  2. package/dist/client.js +87 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateKnowledgeSpaceRequest.d.ts +24 -8
  5. package/dist/models/CreateKnowledgeSpaceRequest.js +4 -0
  6. package/dist/models/CreateKnowledgeSpaceRequest.js.map +1 -1
  7. package/dist/models/CreateKnowledgeSpaceResponseBody.d.ts +1 -1
  8. package/dist/models/DescribeAgenticDbperformanceRequest.d.ts +93 -0
  9. package/dist/models/DescribeAgenticDbperformanceRequest.js +70 -0
  10. package/dist/models/DescribeAgenticDbperformanceRequest.js.map +1 -0
  11. package/dist/models/DescribeAgenticDbperformanceResponse.d.ts +19 -0
  12. package/dist/models/DescribeAgenticDbperformanceResponse.js +69 -0
  13. package/dist/models/DescribeAgenticDbperformanceResponse.js.map +1 -0
  14. package/dist/models/DescribeAgenticDbperformanceResponseBody.d.ts +102 -0
  15. package/dist/models/DescribeAgenticDbperformanceResponseBody.js +162 -0
  16. package/dist/models/DescribeAgenticDbperformanceResponseBody.js.map +1 -0
  17. package/dist/models/DescribeDbinitializeVariableRequest.d.ts +1 -1
  18. package/dist/models/DescribeDbinitializeVariableResponseBody.d.ts +0 -2
  19. package/dist/models/DescribeDbinitializeVariableResponseBody.js.map +1 -1
  20. package/dist/models/DescribeDbnodesParametersRequest.d.ts +1 -1
  21. package/dist/models/DescribeDbnodesParametersResponseBody.d.ts +24 -24
  22. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +1 -1
  23. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +5 -5
  24. package/dist/models/FailoverDbclusterRequest.d.ts +8 -8
  25. package/dist/models/FailoverDbclusterResponseBody.d.ts +1 -1
  26. package/dist/models/FailoverDbclusterZonalRequest.d.ts +4 -4
  27. package/dist/models/FailoverDbclusterZonalResponseBody.d.ts +1 -1
  28. package/dist/models/ModifyApplicationSslrequest.d.ts +2 -2
  29. package/dist/models/ModifyApplicationSslresponseBody.d.ts +1 -1
  30. package/dist/models/ModifyDbnodeSccModeRequest.d.ts +1 -1
  31. package/dist/models/ModifyDbnodesParametersRequest.d.ts +5 -5
  32. package/dist/models/TempModifyDbnodeRequest.d.ts +12 -11
  33. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  34. package/dist/models/model.d.ts +7 -0
  35. package/dist/models/model.js +58 -44
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +98 -18
  39. package/src/models/CreateKnowledgeSpaceRequest.ts +28 -8
  40. package/src/models/CreateKnowledgeSpaceResponseBody.ts +1 -1
  41. package/src/models/DescribeAgenticDbperformanceRequest.ts +118 -0
  42. package/src/models/DescribeAgenticDbperformanceResponse.ts +40 -0
  43. package/src/models/DescribeAgenticDbperformanceResponseBody.ts +183 -0
  44. package/src/models/DescribeDbinitializeVariableRequest.ts +1 -1
  45. package/src/models/DescribeDbinitializeVariableResponseBody.ts +0 -2
  46. package/src/models/DescribeDbnodesParametersRequest.ts +1 -1
  47. package/src/models/DescribeDbnodesParametersResponseBody.ts +25 -25
  48. package/src/models/DescribePolarClawAgentToolsRequest.ts +1 -1
  49. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +5 -5
  50. package/src/models/FailoverDbclusterRequest.ts +8 -8
  51. package/src/models/FailoverDbclusterResponseBody.ts +1 -1
  52. package/src/models/FailoverDbclusterZonalRequest.ts +4 -4
  53. package/src/models/FailoverDbclusterZonalResponseBody.ts +1 -1
  54. package/src/models/ModifyApplicationSslrequest.ts +2 -2
  55. package/src/models/ModifyApplicationSslresponseBody.ts +1 -1
  56. package/src/models/ModifyDbnodeSccModeRequest.ts +1 -1
  57. package/src/models/ModifyDbnodesParametersRequest.ts +5 -5
  58. package/src/models/TempModifyDbnodeRequest.ts +12 -11
  59. package/src/models/model.ts +7 -0
package/src/client.ts CHANGED
@@ -6242,7 +6242,7 @@ export default class Client extends OpenApi {
6242
6242
  * Creates a knowledge space.
6243
6243
  *
6244
6244
  * @remarks
6245
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
6245
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
6246
6246
  *
6247
6247
  * @param request - CreateKnowledgeSpaceRequest
6248
6248
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6251,6 +6251,10 @@ export default class Client extends OpenApi {
6251
6251
  async createKnowledgeSpaceWithOptions(request: $_model.CreateKnowledgeSpaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKnowledgeSpaceResponse> {
6252
6252
  request.validate();
6253
6253
  let query = { };
6254
+ if (!$dara.isNull(request.autoCreateMcpInstance)) {
6255
+ query["AutoCreateMcpInstance"] = request.autoCreateMcpInstance;
6256
+ }
6257
+
6254
6258
  if (!$dara.isNull(request.DBType)) {
6255
6259
  query["DBType"] = request.DBType;
6256
6260
  }
@@ -6259,6 +6263,10 @@ export default class Client extends OpenApi {
6259
6263
  query["Description"] = request.description;
6260
6264
  }
6261
6265
 
6266
+ if (!$dara.isNull(request.dryRun)) {
6267
+ query["DryRun"] = request.dryRun;
6268
+ }
6269
+
6262
6270
  if (!$dara.isNull(request.embeddingDimension)) {
6263
6271
  query["EmbeddingDimension"] = request.embeddingDimension;
6264
6272
  }
@@ -6344,7 +6352,7 @@ export default class Client extends OpenApi {
6344
6352
  * Creates a knowledge space.
6345
6353
  *
6346
6354
  * @remarks
6347
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
6355
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
6348
6356
  *
6349
6357
  * @param request - CreateKnowledgeSpaceRequest
6350
6358
  * @returns CreateKnowledgeSpaceResponse
@@ -13023,6 +13031,78 @@ export default class Client extends OpenApi {
13023
13031
  return await this.describeAgenticDBComputeClustersWithOptions(request, runtime);
13024
13032
  }
13025
13033
 
13034
+ /**
13035
+ * Queries the performance of an AgenticDB instance.
13036
+ *
13037
+ * @remarks
13038
+ * > This operation is applicable only to PolarDB for MySQL.
13039
+ *
13040
+ * @param request - DescribeAgenticDBPerformanceRequest
13041
+ * @param runtime - runtime options for this request RuntimeOptions
13042
+ * @returns DescribeAgenticDBPerformanceResponse
13043
+ */
13044
+ async describeAgenticDBPerformanceWithOptions(request: $_model.DescribeAgenticDBPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAgenticDBPerformanceResponse> {
13045
+ request.validate();
13046
+ let query = { };
13047
+ if (!$dara.isNull(request.aggregate)) {
13048
+ query["Aggregate"] = request.aggregate;
13049
+ }
13050
+
13051
+ if (!$dara.isNull(request.branchId)) {
13052
+ query["BranchId"] = request.branchId;
13053
+ }
13054
+
13055
+ if (!$dara.isNull(request.DBClusterId)) {
13056
+ query["DBClusterId"] = request.DBClusterId;
13057
+ }
13058
+
13059
+ if (!$dara.isNull(request.endTime)) {
13060
+ query["EndTime"] = request.endTime;
13061
+ }
13062
+
13063
+ if (!$dara.isNull(request.interval)) {
13064
+ query["Interval"] = request.interval;
13065
+ }
13066
+
13067
+ if (!$dara.isNull(request.key)) {
13068
+ query["Key"] = request.key;
13069
+ }
13070
+
13071
+ if (!$dara.isNull(request.startTime)) {
13072
+ query["StartTime"] = request.startTime;
13073
+ }
13074
+
13075
+ let req = new $OpenApiUtil.OpenApiRequest({
13076
+ query: OpenApiUtil.query(query),
13077
+ });
13078
+ let params = new $OpenApiUtil.Params({
13079
+ action: "DescribeAgenticDBPerformance",
13080
+ version: "2017-08-01",
13081
+ protocol: "HTTPS",
13082
+ pathname: "/",
13083
+ method: "POST",
13084
+ authType: "AK",
13085
+ style: "RPC",
13086
+ reqBodyType: "formData",
13087
+ bodyType: "json",
13088
+ });
13089
+ return $dara.cast<$_model.DescribeAgenticDBPerformanceResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBPerformanceResponse({}));
13090
+ }
13091
+
13092
+ /**
13093
+ * Queries the performance of an AgenticDB instance.
13094
+ *
13095
+ * @remarks
13096
+ * > This operation is applicable only to PolarDB for MySQL.
13097
+ *
13098
+ * @param request - DescribeAgenticDBPerformanceRequest
13099
+ * @returns DescribeAgenticDBPerformanceResponse
13100
+ */
13101
+ async describeAgenticDBPerformance(request: $_model.DescribeAgenticDBPerformanceRequest): Promise<$_model.DescribeAgenticDBPerformanceResponse> {
13102
+ let runtime = new $dara.RuntimeOptions({ });
13103
+ return await this.describeAgenticDBPerformanceWithOptions(request, runtime);
13104
+ }
13105
+
13026
13106
  /**
13027
13107
  * Queries the details of an AgenticDB project.
13028
13108
  *
@@ -17580,7 +17660,7 @@ export default class Client extends OpenApi {
17580
17660
  }
17581
17661
 
17582
17662
  /**
17583
- * Queries the supported character sets, collations, and other properties of a PolarDB database.
17663
+ * Queries the attributes supported by PolarDB databases, such as character sets and collations.
17584
17664
  *
17585
17665
  * @param request - DescribeDBInitializeVariableRequest
17586
17666
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17627,7 +17707,7 @@ export default class Client extends OpenApi {
17627
17707
  }
17628
17708
 
17629
17709
  /**
17630
- * Queries the supported character sets, collations, and other properties of a PolarDB database.
17710
+ * Queries the attributes supported by PolarDB databases, such as character sets and collations.
17631
17711
  *
17632
17712
  * @param request - DescribeDBInitializeVariableRequest
17633
17713
  * @returns DescribeDBInitializeVariableResponse
@@ -18108,7 +18188,7 @@ export default class Client extends OpenApi {
18108
18188
  }
18109
18189
 
18110
18190
  /**
18111
- * Queries the parameters for specified nodes in a cluster.
18191
+ * Queries the parameters of a specified node in a cluster.
18112
18192
  *
18113
18193
  * @param request - DescribeDBNodesParametersRequest
18114
18194
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18159,7 +18239,7 @@ export default class Client extends OpenApi {
18159
18239
  }
18160
18240
 
18161
18241
  /**
18162
- * Queries the parameters for specified nodes in a cluster.
18242
+ * Queries the parameters of a specified node in a cluster.
18163
18243
  *
18164
18244
  * @param request - DescribeDBNodesParametersRequest
18165
18245
  * @returns DescribeDBNodesParametersResponse
@@ -26396,7 +26476,7 @@ export default class Client extends OpenApi {
26396
26476
  }
26397
26477
 
26398
26478
  /**
26399
- * Performs a manual primary/secondary switchover for a PolarDB cluster. You can specify a read-only node as the new primary node.
26479
+ * Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
26400
26480
  *
26401
26481
  * @param request - FailoverDBClusterRequest
26402
26482
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26459,7 +26539,7 @@ export default class Client extends OpenApi {
26459
26539
  }
26460
26540
 
26461
26541
  /**
26462
- * Performs a manual primary/secondary switchover for a PolarDB cluster. You can specify a read-only node as the new primary node.
26542
+ * Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
26463
26543
  *
26464
26544
  * @param request - FailoverDBClusterRequest
26465
26545
  * @returns FailoverDBClusterResponse
@@ -26470,12 +26550,12 @@ export default class Client extends OpenApi {
26470
26550
  }
26471
26551
 
26472
26552
  /**
26473
- * Performs a manual primary/secondary switchover for an edge cluster.
26553
+ * Performs a primary/secondary switchover.
26474
26554
  *
26475
26555
  * @remarks
26476
- * Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed through MyBase or ENS infrastructure. You can call DescribeEdgeCloudRegion to query edge regions and call DescribeDBClustersZonal to obtain the edge cluster ID. For standard PolarDB clusters, use FailoverDBCluster.
26556
+ * Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed by using MyBase or ENS infrastructure. You can call DescribeEdgeCloudRegion to query edge regions and call DescribeDBClustersZonal to obtain the edge cluster ID. For standard PolarDB clusters, use FailoverDBCluster.
26477
26557
  * ## Before you begin
26478
- * Complete the prerequisites, specify that this API applies only to edge clusters deployed through MyBase or ENS, indicate the path to obtain edge clusters, and specify that FailoverDBCluster should be used for standard clusters.
26558
+ * Complete the prerequisites. Note that this API applies only to edge clusters deployed by using MyBase or ENS. Specify the method to obtain the edge cluster ID, and note that you must use FailoverDBCluster for standard clusters.
26479
26559
  *
26480
26560
  * @param request - FailoverDBClusterZonalRequest
26481
26561
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26538,12 +26618,12 @@ export default class Client extends OpenApi {
26538
26618
  }
26539
26619
 
26540
26620
  /**
26541
- * Performs a manual primary/secondary switchover for an edge cluster.
26621
+ * Performs a primary/secondary switchover.
26542
26622
  *
26543
26623
  * @remarks
26544
- * Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed through MyBase or ENS infrastructure. You can call DescribeEdgeCloudRegion to query edge regions and call DescribeDBClustersZonal to obtain the edge cluster ID. For standard PolarDB clusters, use FailoverDBCluster.
26624
+ * Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed by using MyBase or ENS infrastructure. You can call DescribeEdgeCloudRegion to query edge regions and call DescribeDBClustersZonal to obtain the edge cluster ID. For standard PolarDB clusters, use FailoverDBCluster.
26545
26625
  * ## Before you begin
26546
- * Complete the prerequisites, specify that this API applies only to edge clusters deployed through MyBase or ENS, indicate the path to obtain edge clusters, and specify that FailoverDBCluster should be used for standard clusters.
26626
+ * Complete the prerequisites. Note that this API applies only to edge clusters deployed by using MyBase or ENS. Specify the method to obtain the edge cluster ID, and note that you must use FailoverDBCluster for standard clusters.
26547
26627
  *
26548
26628
  * @param request - FailoverDBClusterZonalRequest
26549
26629
  * @returns FailoverDBClusterZonalResponse
@@ -32085,7 +32165,7 @@ export default class Client extends OpenApi {
32085
32165
  }
32086
32166
 
32087
32167
  /**
32088
- * Modifies the Snapshot Consistency Cluster (SCC) mode for a specified node in a PolarDB cluster.
32168
+ * Modifies the SCC settings of a node.
32089
32169
  *
32090
32170
  * @param request - ModifyDBNodeSccModeRequest
32091
32171
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32140,7 +32220,7 @@ export default class Client extends OpenApi {
32140
32220
  }
32141
32221
 
32142
32222
  /**
32143
- * Modifies the Snapshot Consistency Cluster (SCC) mode for a specified node in a PolarDB cluster.
32223
+ * Modifies the SCC settings of a node.
32144
32224
  *
32145
32225
  * @param request - ModifyDBNodeSccModeRequest
32146
32226
  * @returns ModifyDBNodeSccModeResponse
@@ -36587,7 +36667,7 @@ export default class Client extends OpenApi {
36587
36667
  }
36588
36668
 
36589
36669
  /**
36590
- * Temporarily changes the specifications of a cluster.
36670
+ * Temporarily modifies the configuration.
36591
36671
  *
36592
36672
  * @param request - TempModifyDBNodeRequest
36593
36673
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36662,7 +36742,7 @@ export default class Client extends OpenApi {
36662
36742
  }
36663
36743
 
36664
36744
  /**
36665
- * Temporarily changes the specifications of a cluster.
36745
+ * Temporarily modifies the configuration.
36666
36746
  *
36667
36747
  * @param request - TempModifyDBNodeRequest
36668
36748
  * @returns TempModifyDBNodeResponse
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateKnowledgeSpaceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to automatically activate MCP. The specifications are fixed to polar.app.g2.medium with 2 nodes and the pay-as-you-go billing method. If you set this parameter to true, you must also explicitly set EnforceAcl to true.
9
+ *
10
+ * @example
11
+ * false
12
+ */
13
+ autoCreateMcpInstance?: boolean;
6
14
  /**
7
15
  * @remarks
8
16
  * The type of the database engine.
@@ -19,6 +27,14 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
19
27
  * testDesc
20
28
  */
21
29
  description?: string;
30
+ /**
31
+ * @remarks
32
+ * Specifies whether to only validate the creation request without placing an order or creating resources.
33
+ *
34
+ * @example
35
+ * false
36
+ */
37
+ dryRun?: boolean;
22
38
  /**
23
39
  * @remarks
24
40
  * The vector dimensions.
@@ -41,7 +57,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
41
57
  embeddingModel?: string;
42
58
  /**
43
59
  * @remarks
44
- * Specifies whether to enforce access control list (ACL) authentication for the knowledge space.
60
+ * Specifies whether to enforce ACL authentication for the knowledge space.
45
61
  *
46
62
  * @example
47
63
  * false
@@ -107,7 +123,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
107
123
  regionId?: string;
108
124
  /**
109
125
  * @remarks
110
- * The name of the rerank model.
126
+ * The name of the reranking model.
111
127
  *
112
128
  * @example
113
129
  * qwen3-rerank
@@ -125,7 +141,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
125
141
  securityGroupId?: string;
126
142
  /**
127
143
  * @remarks
128
- * The shard size, in tokens.
144
+ * The shard size in tokens.
129
145
  *
130
146
  * This parameter is required.
131
147
  *
@@ -136,8 +152,8 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
136
152
  /**
137
153
  * @remarks
138
154
  * The sharding strategy. Valid values:
139
- * - hierarchical: hierarchical sharding. This is the default value.
140
- * - hybrid: hybrid sharding.
155
+ * - hierarchical: The default value.
156
+ * - hybrid.
141
157
  *
142
158
  * This parameter is required.
143
159
  *
@@ -147,7 +163,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
147
163
  shardingStrategy?: string;
148
164
  /**
149
165
  * @remarks
150
- * The vSwitch for automatic creation of the database.
166
+ * The ID of the vSwitch for the automatic creation of the database.
151
167
  *
152
168
  * This parameter is required.
153
169
  *
@@ -157,7 +173,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
157
173
  vSwitchId?: string;
158
174
  /**
159
175
  * @remarks
160
- * The VPC for automatic creation of the database.
176
+ * The ID of the VPC for the automatic creation of the database.
161
177
  *
162
178
  * This parameter is required.
163
179
  *
@@ -167,7 +183,7 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
167
183
  vpcId?: string;
168
184
  /**
169
185
  * @remarks
170
- * The active zone for automatic creation of the database.
186
+ * The active zone for the automatic creation of the database.
171
187
  *
172
188
  * This parameter is required.
173
189
  *
@@ -177,8 +193,10 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
177
193
  zoneId?: string;
178
194
  static names(): { [key: string]: string } {
179
195
  return {
196
+ autoCreateMcpInstance: 'AutoCreateMcpInstance',
180
197
  DBType: 'DBType',
181
198
  description: 'Description',
199
+ dryRun: 'DryRun',
182
200
  embeddingDimension: 'EmbeddingDimension',
183
201
  embeddingModel: 'EmbeddingModel',
184
202
  enforceAcl: 'EnforceAcl',
@@ -200,8 +218,10 @@ export class CreateKnowledgeSpaceRequest extends $dara.Model {
200
218
 
201
219
  static types(): { [key: string]: any } {
202
220
  return {
221
+ autoCreateMcpInstance: 'boolean',
203
222
  DBType: 'string',
204
223
  description: 'string',
224
+ dryRun: 'boolean',
205
225
  embeddingDimension: 'number',
206
226
  embeddingModel: 'string',
207
227
  enforceAcl: 'boolean',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateKnowledgeSpaceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The PolarDB instance ID for automatic creation.
8
+ * The ID of the PolarDB instance for automatic creation.
9
9
  *
10
10
  * @example
11
11
  * pc-**************
@@ -0,0 +1,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAgenticDBPerformanceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The statistical method for alerts. Valid values for different monitoring items:
9
+ *
10
+ * - Value: The value of the HTTP status code.
11
+ * - Average: The average HTTP wait time.
12
+ * - Value: The value of the TELNET status code.
13
+ * - TelnetLatency: The average TELNET wait time.
14
+ * - Average: The average PING packet loss rate.
15
+ *
16
+ * @example
17
+ * Average
18
+ */
19
+ aggregate?: boolean;
20
+ /**
21
+ * @remarks
22
+ * The anchor branch ID. If this parameter is not specified, the main branch of the project is used by default.
23
+ *
24
+ * @example
25
+ * br-7g8h9i0j1k2l
26
+ */
27
+ branchId?: string;
28
+ /**
29
+ * @remarks
30
+ * The cluster ID.
31
+ *
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * pc-**************
36
+ */
37
+ DBClusterId?: string;
38
+ /**
39
+ * @remarks
40
+ * The end time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
41
+ *
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * 2026-01-15T15:00:00Z
46
+ */
47
+ endTime?: string;
48
+ /**
49
+ * @remarks
50
+ * The data granularity of performance data. Valid values:
51
+ *
52
+ * - 5
53
+ * - 30
54
+ * - 60
55
+ * - 600
56
+ * - 1800
57
+ * - 3600
58
+ * - 86400
59
+ *
60
+ * @example
61
+ * 5
62
+ */
63
+ interval?: string;
64
+ /**
65
+ * @remarks
66
+ * The performance metrics to query. Separate multiple values with commas (,).
67
+ * Note
68
+ * You can specify up to 5 performance metrics.
69
+ *
70
+ * This parameter is required.
71
+ *
72
+ * @example
73
+ * PolarDBCPUForPCU,PolarDBPCU,PolarDBMemoryForPCU,PolarDBQPSTPS,PolarDBConnections
74
+ */
75
+ key?: string;
76
+ /**
77
+ * @remarks
78
+ * The start time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
79
+ *
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * 2020-05-01T00:00Z
84
+ */
85
+ startTime?: string;
86
+ static names(): { [key: string]: string } {
87
+ return {
88
+ aggregate: 'Aggregate',
89
+ branchId: 'BranchId',
90
+ DBClusterId: 'DBClusterId',
91
+ endTime: 'EndTime',
92
+ interval: 'Interval',
93
+ key: 'Key',
94
+ startTime: 'StartTime',
95
+ };
96
+ }
97
+
98
+ static types(): { [key: string]: any } {
99
+ return {
100
+ aggregate: 'boolean',
101
+ branchId: 'string',
102
+ DBClusterId: 'string',
103
+ endTime: 'string',
104
+ interval: 'string',
105
+ key: 'string',
106
+ startTime: 'string',
107
+ };
108
+ }
109
+
110
+ validate() {
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeAgenticDBPerformanceResponseBody } from "./DescribeAgenticDbperformanceResponseBody";
4
+
5
+
6
+ export class DescribeAgenticDBPerformanceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAgenticDBPerformanceResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeAgenticDBPerformanceResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+