@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.
- package/dist/client.d.ts +39 -18
- package/dist/client.js +87 -18
- package/dist/client.js.map +1 -1
- package/dist/models/CreateKnowledgeSpaceRequest.d.ts +24 -8
- package/dist/models/CreateKnowledgeSpaceRequest.js +4 -0
- package/dist/models/CreateKnowledgeSpaceRequest.js.map +1 -1
- package/dist/models/CreateKnowledgeSpaceResponseBody.d.ts +1 -1
- package/dist/models/DescribeAgenticDbperformanceRequest.d.ts +93 -0
- package/dist/models/DescribeAgenticDbperformanceRequest.js +70 -0
- package/dist/models/DescribeAgenticDbperformanceRequest.js.map +1 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.d.ts +19 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.js +69 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.js.map +1 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.d.ts +102 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.js +162 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbinitializeVariableRequest.d.ts +1 -1
- package/dist/models/DescribeDbinitializeVariableResponseBody.d.ts +0 -2
- package/dist/models/DescribeDbinitializeVariableResponseBody.js.map +1 -1
- package/dist/models/DescribeDbnodesParametersRequest.d.ts +1 -1
- package/dist/models/DescribeDbnodesParametersResponseBody.d.ts +24 -24
- package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +5 -5
- package/dist/models/FailoverDbclusterRequest.d.ts +8 -8
- package/dist/models/FailoverDbclusterResponseBody.d.ts +1 -1
- package/dist/models/FailoverDbclusterZonalRequest.d.ts +4 -4
- package/dist/models/FailoverDbclusterZonalResponseBody.d.ts +1 -1
- package/dist/models/ModifyApplicationSslrequest.d.ts +2 -2
- package/dist/models/ModifyApplicationSslresponseBody.d.ts +1 -1
- package/dist/models/ModifyDbnodeSccModeRequest.d.ts +1 -1
- package/dist/models/ModifyDbnodesParametersRequest.d.ts +5 -5
- package/dist/models/TempModifyDbnodeRequest.d.ts +12 -11
- package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +58 -44
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +98 -18
- package/src/models/CreateKnowledgeSpaceRequest.ts +28 -8
- package/src/models/CreateKnowledgeSpaceResponseBody.ts +1 -1
- package/src/models/DescribeAgenticDbperformanceRequest.ts +118 -0
- package/src/models/DescribeAgenticDbperformanceResponse.ts +40 -0
- package/src/models/DescribeAgenticDbperformanceResponseBody.ts +183 -0
- package/src/models/DescribeDbinitializeVariableRequest.ts +1 -1
- package/src/models/DescribeDbinitializeVariableResponseBody.ts +0 -2
- package/src/models/DescribeDbnodesParametersRequest.ts +1 -1
- package/src/models/DescribeDbnodesParametersResponseBody.ts +25 -25
- package/src/models/DescribePolarClawAgentToolsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentToolsResponseBody.ts +5 -5
- package/src/models/FailoverDbclusterRequest.ts +8 -8
- package/src/models/FailoverDbclusterResponseBody.ts +1 -1
- package/src/models/FailoverDbclusterZonalRequest.ts +4 -4
- package/src/models/FailoverDbclusterZonalResponseBody.ts +1 -1
- package/src/models/ModifyApplicationSslrequest.ts +2 -2
- package/src/models/ModifyApplicationSslresponseBody.ts +1 -1
- package/src/models/ModifyDbnodeSccModeRequest.ts +1 -1
- package/src/models/ModifyDbnodesParametersRequest.ts +5 -5
- package/src/models/TempModifyDbnodeRequest.ts +12 -11
- package/src/models/model.ts +7 -0
package/dist/client.d.ts
CHANGED
|
@@ -1425,7 +1425,7 @@ export default class Client extends OpenApi {
|
|
|
1425
1425
|
* Creates a knowledge space.
|
|
1426
1426
|
*
|
|
1427
1427
|
* @remarks
|
|
1428
|
-
* Prerequisites:
|
|
1428
|
+
* 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.
|
|
1429
1429
|
*
|
|
1430
1430
|
* @param request - CreateKnowledgeSpaceRequest
|
|
1431
1431
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1436,7 +1436,7 @@ export default class Client extends OpenApi {
|
|
|
1436
1436
|
* Creates a knowledge space.
|
|
1437
1437
|
*
|
|
1438
1438
|
* @remarks
|
|
1439
|
-
* Prerequisites:
|
|
1439
|
+
* 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.
|
|
1440
1440
|
*
|
|
1441
1441
|
* @param request - CreateKnowledgeSpaceRequest
|
|
1442
1442
|
* @returns CreateKnowledgeSpaceResponse
|
|
@@ -3279,6 +3279,27 @@ export default class Client extends OpenApi {
|
|
|
3279
3279
|
* @returns DescribeAgenticDBComputeClustersResponse
|
|
3280
3280
|
*/
|
|
3281
3281
|
describeAgenticDBComputeClusters(request: $_model.DescribeAgenticDBComputeClustersRequest): Promise<$_model.DescribeAgenticDBComputeClustersResponse>;
|
|
3282
|
+
/**
|
|
3283
|
+
* Queries the performance of an AgenticDB instance.
|
|
3284
|
+
*
|
|
3285
|
+
* @remarks
|
|
3286
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
3287
|
+
*
|
|
3288
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
3289
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3290
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
3291
|
+
*/
|
|
3292
|
+
describeAgenticDBPerformanceWithOptions(request: $_model.DescribeAgenticDBPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAgenticDBPerformanceResponse>;
|
|
3293
|
+
/**
|
|
3294
|
+
* Queries the performance of an AgenticDB instance.
|
|
3295
|
+
*
|
|
3296
|
+
* @remarks
|
|
3297
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
3298
|
+
*
|
|
3299
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
3300
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
3301
|
+
*/
|
|
3302
|
+
describeAgenticDBPerformance(request: $_model.DescribeAgenticDBPerformanceRequest): Promise<$_model.DescribeAgenticDBPerformanceResponse>;
|
|
3282
3303
|
/**
|
|
3283
3304
|
* Queries the details of an AgenticDB project.
|
|
3284
3305
|
*
|
|
@@ -4390,7 +4411,7 @@ export default class Client extends OpenApi {
|
|
|
4390
4411
|
*/
|
|
4391
4412
|
describeDBClustersZonal(request: $_model.DescribeDBClustersZonalRequest): Promise<$_model.DescribeDBClustersZonalResponse>;
|
|
4392
4413
|
/**
|
|
4393
|
-
* Queries the supported
|
|
4414
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
4394
4415
|
*
|
|
4395
4416
|
* @param request - DescribeDBInitializeVariableRequest
|
|
4396
4417
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4398,7 +4419,7 @@ export default class Client extends OpenApi {
|
|
|
4398
4419
|
*/
|
|
4399
4420
|
describeDBInitializeVariableWithOptions(request: $_model.DescribeDBInitializeVariableRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBInitializeVariableResponse>;
|
|
4400
4421
|
/**
|
|
4401
|
-
* Queries the supported
|
|
4422
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
4402
4423
|
*
|
|
4403
4424
|
* @param request - DescribeDBInitializeVariableRequest
|
|
4404
4425
|
* @returns DescribeDBInitializeVariableResponse
|
|
@@ -4529,7 +4550,7 @@ export default class Client extends OpenApi {
|
|
|
4529
4550
|
*/
|
|
4530
4551
|
describeDBNodePerformance(request: $_model.DescribeDBNodePerformanceRequest): Promise<$_model.DescribeDBNodePerformanceResponse>;
|
|
4531
4552
|
/**
|
|
4532
|
-
* Queries the parameters
|
|
4553
|
+
* Queries the parameters of a specified node in a cluster.
|
|
4533
4554
|
*
|
|
4534
4555
|
* @param request - DescribeDBNodesParametersRequest
|
|
4535
4556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4537,7 +4558,7 @@ export default class Client extends OpenApi {
|
|
|
4537
4558
|
*/
|
|
4538
4559
|
describeDBNodesParametersWithOptions(request: $_model.DescribeDBNodesParametersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBNodesParametersResponse>;
|
|
4539
4560
|
/**
|
|
4540
|
-
* Queries the parameters
|
|
4561
|
+
* Queries the parameters of a specified node in a cluster.
|
|
4541
4562
|
*
|
|
4542
4563
|
* @param request - DescribeDBNodesParametersRequest
|
|
4543
4564
|
* @returns DescribeDBNodesParametersResponse
|
|
@@ -6730,7 +6751,7 @@ export default class Client extends OpenApi {
|
|
|
6730
6751
|
*/
|
|
6731
6752
|
executeCrossCloudOpenAPI(request: $_model.ExecuteCrossCloudOpenAPIRequest): Promise<$_model.ExecuteCrossCloudOpenAPIResponse>;
|
|
6732
6753
|
/**
|
|
6733
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
6754
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
6734
6755
|
*
|
|
6735
6756
|
* @param request - FailoverDBClusterRequest
|
|
6736
6757
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6738,19 +6759,19 @@ export default class Client extends OpenApi {
|
|
|
6738
6759
|
*/
|
|
6739
6760
|
failoverDBClusterWithOptions(request: $_model.FailoverDBClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.FailoverDBClusterResponse>;
|
|
6740
6761
|
/**
|
|
6741
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
6762
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
6742
6763
|
*
|
|
6743
6764
|
* @param request - FailoverDBClusterRequest
|
|
6744
6765
|
* @returns FailoverDBClusterResponse
|
|
6745
6766
|
*/
|
|
6746
6767
|
failoverDBCluster(request: $_model.FailoverDBClusterRequest): Promise<$_model.FailoverDBClusterResponse>;
|
|
6747
6768
|
/**
|
|
6748
|
-
* Performs a
|
|
6769
|
+
* Performs a primary/secondary switchover.
|
|
6749
6770
|
*
|
|
6750
6771
|
* @remarks
|
|
6751
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
6772
|
+
* 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.
|
|
6752
6773
|
* ## Before you begin
|
|
6753
|
-
* Complete the prerequisites
|
|
6774
|
+
* 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.
|
|
6754
6775
|
*
|
|
6755
6776
|
* @param request - FailoverDBClusterZonalRequest
|
|
6756
6777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6758,12 +6779,12 @@ export default class Client extends OpenApi {
|
|
|
6758
6779
|
*/
|
|
6759
6780
|
failoverDBClusterZonalWithOptions(request: $_model.FailoverDBClusterZonalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.FailoverDBClusterZonalResponse>;
|
|
6760
6781
|
/**
|
|
6761
|
-
* Performs a
|
|
6782
|
+
* Performs a primary/secondary switchover.
|
|
6762
6783
|
*
|
|
6763
6784
|
* @remarks
|
|
6764
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
6785
|
+
* 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.
|
|
6765
6786
|
* ## Before you begin
|
|
6766
|
-
* Complete the prerequisites
|
|
6787
|
+
* 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.
|
|
6767
6788
|
*
|
|
6768
6789
|
* @param request - FailoverDBClusterZonalRequest
|
|
6769
6790
|
* @returns FailoverDBClusterZonalResponse
|
|
@@ -8083,7 +8104,7 @@ export default class Client extends OpenApi {
|
|
|
8083
8104
|
*/
|
|
8084
8105
|
modifyDBNodeRouterWeight(request: $_model.ModifyDBNodeRouterWeightRequest): Promise<$_model.ModifyDBNodeRouterWeightResponse>;
|
|
8085
8106
|
/**
|
|
8086
|
-
* Modifies the
|
|
8107
|
+
* Modifies the SCC settings of a node.
|
|
8087
8108
|
*
|
|
8088
8109
|
* @param request - ModifyDBNodeSccModeRequest
|
|
8089
8110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8091,7 +8112,7 @@ export default class Client extends OpenApi {
|
|
|
8091
8112
|
*/
|
|
8092
8113
|
modifyDBNodeSccModeWithOptions(request: $_model.ModifyDBNodeSccModeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBNodeSccModeResponse>;
|
|
8093
8114
|
/**
|
|
8094
|
-
* Modifies the
|
|
8115
|
+
* Modifies the SCC settings of a node.
|
|
8095
8116
|
*
|
|
8096
8117
|
* @param request - ModifyDBNodeSccModeRequest
|
|
8097
8118
|
* @returns ModifyDBNodeSccModeResponse
|
|
@@ -9226,7 +9247,7 @@ export default class Client extends OpenApi {
|
|
|
9226
9247
|
*/
|
|
9227
9248
|
tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>;
|
|
9228
9249
|
/**
|
|
9229
|
-
* Temporarily
|
|
9250
|
+
* Temporarily modifies the configuration.
|
|
9230
9251
|
*
|
|
9231
9252
|
* @param request - TempModifyDBNodeRequest
|
|
9232
9253
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9234,7 +9255,7 @@ export default class Client extends OpenApi {
|
|
|
9234
9255
|
*/
|
|
9235
9256
|
tempModifyDBNodeWithOptions(request: $_model.TempModifyDBNodeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TempModifyDBNodeResponse>;
|
|
9236
9257
|
/**
|
|
9237
|
-
* Temporarily
|
|
9258
|
+
* Temporarily modifies the configuration.
|
|
9238
9259
|
*
|
|
9239
9260
|
* @param request - TempModifyDBNodeRequest
|
|
9240
9261
|
* @returns TempModifyDBNodeResponse
|
package/dist/client.js
CHANGED
|
@@ -5397,7 +5397,7 @@ class Client extends openapi_core_1.default {
|
|
|
5397
5397
|
* Creates a knowledge space.
|
|
5398
5398
|
*
|
|
5399
5399
|
* @remarks
|
|
5400
|
-
* Prerequisites:
|
|
5400
|
+
* 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.
|
|
5401
5401
|
*
|
|
5402
5402
|
* @param request - CreateKnowledgeSpaceRequest
|
|
5403
5403
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5406,12 +5406,18 @@ class Client extends openapi_core_1.default {
|
|
|
5406
5406
|
async createKnowledgeSpaceWithOptions(request, runtime) {
|
|
5407
5407
|
request.validate();
|
|
5408
5408
|
let query = {};
|
|
5409
|
+
if (!$dara.isNull(request.autoCreateMcpInstance)) {
|
|
5410
|
+
query["AutoCreateMcpInstance"] = request.autoCreateMcpInstance;
|
|
5411
|
+
}
|
|
5409
5412
|
if (!$dara.isNull(request.DBType)) {
|
|
5410
5413
|
query["DBType"] = request.DBType;
|
|
5411
5414
|
}
|
|
5412
5415
|
if (!$dara.isNull(request.description)) {
|
|
5413
5416
|
query["Description"] = request.description;
|
|
5414
5417
|
}
|
|
5418
|
+
if (!$dara.isNull(request.dryRun)) {
|
|
5419
|
+
query["DryRun"] = request.dryRun;
|
|
5420
|
+
}
|
|
5415
5421
|
if (!$dara.isNull(request.embeddingDimension)) {
|
|
5416
5422
|
query["EmbeddingDimension"] = request.embeddingDimension;
|
|
5417
5423
|
}
|
|
@@ -5480,7 +5486,7 @@ class Client extends openapi_core_1.default {
|
|
|
5480
5486
|
* Creates a knowledge space.
|
|
5481
5487
|
*
|
|
5482
5488
|
* @remarks
|
|
5483
|
-
* Prerequisites:
|
|
5489
|
+
* 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.
|
|
5484
5490
|
*
|
|
5485
5491
|
* @param request - CreateKnowledgeSpaceRequest
|
|
5486
5492
|
* @returns CreateKnowledgeSpaceResponse
|
|
@@ -11337,6 +11343,69 @@ class Client extends openapi_core_1.default {
|
|
|
11337
11343
|
let runtime = new $dara.RuntimeOptions({});
|
|
11338
11344
|
return await this.describeAgenticDBComputeClustersWithOptions(request, runtime);
|
|
11339
11345
|
}
|
|
11346
|
+
/**
|
|
11347
|
+
* Queries the performance of an AgenticDB instance.
|
|
11348
|
+
*
|
|
11349
|
+
* @remarks
|
|
11350
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
11351
|
+
*
|
|
11352
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
11353
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11354
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
11355
|
+
*/
|
|
11356
|
+
async describeAgenticDBPerformanceWithOptions(request, runtime) {
|
|
11357
|
+
request.validate();
|
|
11358
|
+
let query = {};
|
|
11359
|
+
if (!$dara.isNull(request.aggregate)) {
|
|
11360
|
+
query["Aggregate"] = request.aggregate;
|
|
11361
|
+
}
|
|
11362
|
+
if (!$dara.isNull(request.branchId)) {
|
|
11363
|
+
query["BranchId"] = request.branchId;
|
|
11364
|
+
}
|
|
11365
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11366
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11367
|
+
}
|
|
11368
|
+
if (!$dara.isNull(request.endTime)) {
|
|
11369
|
+
query["EndTime"] = request.endTime;
|
|
11370
|
+
}
|
|
11371
|
+
if (!$dara.isNull(request.interval)) {
|
|
11372
|
+
query["Interval"] = request.interval;
|
|
11373
|
+
}
|
|
11374
|
+
if (!$dara.isNull(request.key)) {
|
|
11375
|
+
query["Key"] = request.key;
|
|
11376
|
+
}
|
|
11377
|
+
if (!$dara.isNull(request.startTime)) {
|
|
11378
|
+
query["StartTime"] = request.startTime;
|
|
11379
|
+
}
|
|
11380
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11381
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11382
|
+
});
|
|
11383
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11384
|
+
action: "DescribeAgenticDBPerformance",
|
|
11385
|
+
version: "2017-08-01",
|
|
11386
|
+
protocol: "HTTPS",
|
|
11387
|
+
pathname: "/",
|
|
11388
|
+
method: "POST",
|
|
11389
|
+
authType: "AK",
|
|
11390
|
+
style: "RPC",
|
|
11391
|
+
reqBodyType: "formData",
|
|
11392
|
+
bodyType: "json",
|
|
11393
|
+
});
|
|
11394
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBPerformanceResponse({}));
|
|
11395
|
+
}
|
|
11396
|
+
/**
|
|
11397
|
+
* Queries the performance of an AgenticDB instance.
|
|
11398
|
+
*
|
|
11399
|
+
* @remarks
|
|
11400
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
11401
|
+
*
|
|
11402
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
11403
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
11404
|
+
*/
|
|
11405
|
+
async describeAgenticDBPerformance(request) {
|
|
11406
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11407
|
+
return await this.describeAgenticDBPerformanceWithOptions(request, runtime);
|
|
11408
|
+
}
|
|
11340
11409
|
/**
|
|
11341
11410
|
* Queries the details of an AgenticDB project.
|
|
11342
11411
|
*
|
|
@@ -15290,7 +15359,7 @@ class Client extends openapi_core_1.default {
|
|
|
15290
15359
|
return await this.describeDBClustersZonalWithOptions(request, runtime);
|
|
15291
15360
|
}
|
|
15292
15361
|
/**
|
|
15293
|
-
* Queries the supported
|
|
15362
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
15294
15363
|
*
|
|
15295
15364
|
* @param request - DescribeDBInitializeVariableRequest
|
|
15296
15365
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15331,7 +15400,7 @@ class Client extends openapi_core_1.default {
|
|
|
15331
15400
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInitializeVariableResponse({}));
|
|
15332
15401
|
}
|
|
15333
15402
|
/**
|
|
15334
|
-
* Queries the supported
|
|
15403
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
15335
15404
|
*
|
|
15336
15405
|
* @param request - DescribeDBInitializeVariableRequest
|
|
15337
15406
|
* @returns DescribeDBInitializeVariableResponse
|
|
@@ -15747,7 +15816,7 @@ class Client extends openapi_core_1.default {
|
|
|
15747
15816
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
15748
15817
|
}
|
|
15749
15818
|
/**
|
|
15750
|
-
* Queries the parameters
|
|
15819
|
+
* Queries the parameters of a specified node in a cluster.
|
|
15751
15820
|
*
|
|
15752
15821
|
* @param request - DescribeDBNodesParametersRequest
|
|
15753
15822
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15791,7 +15860,7 @@ class Client extends openapi_core_1.default {
|
|
|
15791
15860
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBNodesParametersResponse({}));
|
|
15792
15861
|
}
|
|
15793
15862
|
/**
|
|
15794
|
-
* Queries the parameters
|
|
15863
|
+
* Queries the parameters of a specified node in a cluster.
|
|
15795
15864
|
*
|
|
15796
15865
|
* @param request - DescribeDBNodesParametersRequest
|
|
15797
15866
|
* @returns DescribeDBNodesParametersResponse
|
|
@@ -23008,7 +23077,7 @@ class Client extends openapi_core_1.default {
|
|
|
23008
23077
|
return await this.executeCrossCloudOpenAPIWithOptions(request, runtime);
|
|
23009
23078
|
}
|
|
23010
23079
|
/**
|
|
23011
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
23080
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
23012
23081
|
*
|
|
23013
23082
|
* @param request - FailoverDBClusterRequest
|
|
23014
23083
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23061,7 +23130,7 @@ class Client extends openapi_core_1.default {
|
|
|
23061
23130
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FailoverDBClusterResponse({}));
|
|
23062
23131
|
}
|
|
23063
23132
|
/**
|
|
23064
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
23133
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
23065
23134
|
*
|
|
23066
23135
|
* @param request - FailoverDBClusterRequest
|
|
23067
23136
|
* @returns FailoverDBClusterResponse
|
|
@@ -23071,12 +23140,12 @@ class Client extends openapi_core_1.default {
|
|
|
23071
23140
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
23072
23141
|
}
|
|
23073
23142
|
/**
|
|
23074
|
-
* Performs a
|
|
23143
|
+
* Performs a primary/secondary switchover.
|
|
23075
23144
|
*
|
|
23076
23145
|
* @remarks
|
|
23077
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
23146
|
+
* 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.
|
|
23078
23147
|
* ## Before you begin
|
|
23079
|
-
* Complete the prerequisites
|
|
23148
|
+
* 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.
|
|
23080
23149
|
*
|
|
23081
23150
|
* @param request - FailoverDBClusterZonalRequest
|
|
23082
23151
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23129,12 +23198,12 @@ class Client extends openapi_core_1.default {
|
|
|
23129
23198
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FailoverDBClusterZonalResponse({}));
|
|
23130
23199
|
}
|
|
23131
23200
|
/**
|
|
23132
|
-
* Performs a
|
|
23201
|
+
* Performs a primary/secondary switchover.
|
|
23133
23202
|
*
|
|
23134
23203
|
* @remarks
|
|
23135
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
23204
|
+
* 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.
|
|
23136
23205
|
* ## Before you begin
|
|
23137
|
-
* Complete the prerequisites
|
|
23206
|
+
* 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.
|
|
23138
23207
|
*
|
|
23139
23208
|
* @param request - FailoverDBClusterZonalRequest
|
|
23140
23209
|
* @returns FailoverDBClusterZonalResponse
|
|
@@ -27924,7 +27993,7 @@ class Client extends openapi_core_1.default {
|
|
|
27924
27993
|
return await this.modifyDBNodeRouterWeightWithOptions(request, runtime);
|
|
27925
27994
|
}
|
|
27926
27995
|
/**
|
|
27927
|
-
* Modifies the
|
|
27996
|
+
* Modifies the SCC settings of a node.
|
|
27928
27997
|
*
|
|
27929
27998
|
* @param request - ModifyDBNodeSccModeRequest
|
|
27930
27999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27971,7 +28040,7 @@ class Client extends openapi_core_1.default {
|
|
|
27971
28040
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBNodeSccModeResponse({}));
|
|
27972
28041
|
}
|
|
27973
28042
|
/**
|
|
27974
|
-
* Modifies the
|
|
28043
|
+
* Modifies the SCC settings of a node.
|
|
27975
28044
|
*
|
|
27976
28045
|
* @param request - ModifyDBNodeSccModeRequest
|
|
27977
28046
|
* @returns ModifyDBNodeSccModeResponse
|
|
@@ -31847,7 +31916,7 @@ class Client extends openapi_core_1.default {
|
|
|
31847
31916
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
31848
31917
|
}
|
|
31849
31918
|
/**
|
|
31850
|
-
* Temporarily
|
|
31919
|
+
* Temporarily modifies the configuration.
|
|
31851
31920
|
*
|
|
31852
31921
|
* @param request - TempModifyDBNodeRequest
|
|
31853
31922
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31909,7 +31978,7 @@ class Client extends openapi_core_1.default {
|
|
|
31909
31978
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TempModifyDBNodeResponse({}));
|
|
31910
31979
|
}
|
|
31911
31980
|
/**
|
|
31912
|
-
* Temporarily
|
|
31981
|
+
* Temporarily modifies the configuration.
|
|
31913
31982
|
*
|
|
31914
31983
|
* @param request - TempModifyDBNodeRequest
|
|
31915
31984
|
* @returns TempModifyDBNodeResponse
|