@alicloud/polardb20170801 9.5.0 → 9.6.0
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 +37 -16
- package/dist/client.js +79 -16
- package/dist/client.js.map +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 +88 -16
- 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
|
@@ -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
|
@@ -11337,6 +11337,69 @@ class Client extends openapi_core_1.default {
|
|
|
11337
11337
|
let runtime = new $dara.RuntimeOptions({});
|
|
11338
11338
|
return await this.describeAgenticDBComputeClustersWithOptions(request, runtime);
|
|
11339
11339
|
}
|
|
11340
|
+
/**
|
|
11341
|
+
* Queries the performance of an AgenticDB instance.
|
|
11342
|
+
*
|
|
11343
|
+
* @remarks
|
|
11344
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
11345
|
+
*
|
|
11346
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
11347
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11348
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
11349
|
+
*/
|
|
11350
|
+
async describeAgenticDBPerformanceWithOptions(request, runtime) {
|
|
11351
|
+
request.validate();
|
|
11352
|
+
let query = {};
|
|
11353
|
+
if (!$dara.isNull(request.aggregate)) {
|
|
11354
|
+
query["Aggregate"] = request.aggregate;
|
|
11355
|
+
}
|
|
11356
|
+
if (!$dara.isNull(request.branchId)) {
|
|
11357
|
+
query["BranchId"] = request.branchId;
|
|
11358
|
+
}
|
|
11359
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11360
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11361
|
+
}
|
|
11362
|
+
if (!$dara.isNull(request.endTime)) {
|
|
11363
|
+
query["EndTime"] = request.endTime;
|
|
11364
|
+
}
|
|
11365
|
+
if (!$dara.isNull(request.interval)) {
|
|
11366
|
+
query["Interval"] = request.interval;
|
|
11367
|
+
}
|
|
11368
|
+
if (!$dara.isNull(request.key)) {
|
|
11369
|
+
query["Key"] = request.key;
|
|
11370
|
+
}
|
|
11371
|
+
if (!$dara.isNull(request.startTime)) {
|
|
11372
|
+
query["StartTime"] = request.startTime;
|
|
11373
|
+
}
|
|
11374
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11375
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11376
|
+
});
|
|
11377
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11378
|
+
action: "DescribeAgenticDBPerformance",
|
|
11379
|
+
version: "2017-08-01",
|
|
11380
|
+
protocol: "HTTPS",
|
|
11381
|
+
pathname: "/",
|
|
11382
|
+
method: "POST",
|
|
11383
|
+
authType: "AK",
|
|
11384
|
+
style: "RPC",
|
|
11385
|
+
reqBodyType: "formData",
|
|
11386
|
+
bodyType: "json",
|
|
11387
|
+
});
|
|
11388
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBPerformanceResponse({}));
|
|
11389
|
+
}
|
|
11390
|
+
/**
|
|
11391
|
+
* Queries the performance of an AgenticDB instance.
|
|
11392
|
+
*
|
|
11393
|
+
* @remarks
|
|
11394
|
+
* > This operation is applicable only to PolarDB for MySQL.
|
|
11395
|
+
*
|
|
11396
|
+
* @param request - DescribeAgenticDBPerformanceRequest
|
|
11397
|
+
* @returns DescribeAgenticDBPerformanceResponse
|
|
11398
|
+
*/
|
|
11399
|
+
async describeAgenticDBPerformance(request) {
|
|
11400
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11401
|
+
return await this.describeAgenticDBPerformanceWithOptions(request, runtime);
|
|
11402
|
+
}
|
|
11340
11403
|
/**
|
|
11341
11404
|
* Queries the details of an AgenticDB project.
|
|
11342
11405
|
*
|
|
@@ -15290,7 +15353,7 @@ class Client extends openapi_core_1.default {
|
|
|
15290
15353
|
return await this.describeDBClustersZonalWithOptions(request, runtime);
|
|
15291
15354
|
}
|
|
15292
15355
|
/**
|
|
15293
|
-
* Queries the supported
|
|
15356
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
15294
15357
|
*
|
|
15295
15358
|
* @param request - DescribeDBInitializeVariableRequest
|
|
15296
15359
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15331,7 +15394,7 @@ class Client extends openapi_core_1.default {
|
|
|
15331
15394
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInitializeVariableResponse({}));
|
|
15332
15395
|
}
|
|
15333
15396
|
/**
|
|
15334
|
-
* Queries the supported
|
|
15397
|
+
* Queries the attributes supported by PolarDB databases, such as character sets and collations.
|
|
15335
15398
|
*
|
|
15336
15399
|
* @param request - DescribeDBInitializeVariableRequest
|
|
15337
15400
|
* @returns DescribeDBInitializeVariableResponse
|
|
@@ -15747,7 +15810,7 @@ class Client extends openapi_core_1.default {
|
|
|
15747
15810
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
15748
15811
|
}
|
|
15749
15812
|
/**
|
|
15750
|
-
* Queries the parameters
|
|
15813
|
+
* Queries the parameters of a specified node in a cluster.
|
|
15751
15814
|
*
|
|
15752
15815
|
* @param request - DescribeDBNodesParametersRequest
|
|
15753
15816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15791,7 +15854,7 @@ class Client extends openapi_core_1.default {
|
|
|
15791
15854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBNodesParametersResponse({}));
|
|
15792
15855
|
}
|
|
15793
15856
|
/**
|
|
15794
|
-
* Queries the parameters
|
|
15857
|
+
* Queries the parameters of a specified node in a cluster.
|
|
15795
15858
|
*
|
|
15796
15859
|
* @param request - DescribeDBNodesParametersRequest
|
|
15797
15860
|
* @returns DescribeDBNodesParametersResponse
|
|
@@ -23008,7 +23071,7 @@ class Client extends openapi_core_1.default {
|
|
|
23008
23071
|
return await this.executeCrossCloudOpenAPIWithOptions(request, runtime);
|
|
23009
23072
|
}
|
|
23010
23073
|
/**
|
|
23011
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
23074
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
23012
23075
|
*
|
|
23013
23076
|
* @param request - FailoverDBClusterRequest
|
|
23014
23077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23061,7 +23124,7 @@ class Client extends openapi_core_1.default {
|
|
|
23061
23124
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FailoverDBClusterResponse({}));
|
|
23062
23125
|
}
|
|
23063
23126
|
/**
|
|
23064
|
-
* Performs a manual primary/secondary switchover for a PolarDB cluster
|
|
23127
|
+
* Performs a manual primary/secondary switchover for a PolarDB cluster, allowing you to specify a read-only node as the new primary node.
|
|
23065
23128
|
*
|
|
23066
23129
|
* @param request - FailoverDBClusterRequest
|
|
23067
23130
|
* @returns FailoverDBClusterResponse
|
|
@@ -23071,12 +23134,12 @@ class Client extends openapi_core_1.default {
|
|
|
23071
23134
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
23072
23135
|
}
|
|
23073
23136
|
/**
|
|
23074
|
-
* Performs a
|
|
23137
|
+
* Performs a primary/secondary switchover.
|
|
23075
23138
|
*
|
|
23076
23139
|
* @remarks
|
|
23077
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
23140
|
+
* 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
23141
|
* ## Before you begin
|
|
23079
|
-
* Complete the prerequisites
|
|
23142
|
+
* 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
23143
|
*
|
|
23081
23144
|
* @param request - FailoverDBClusterZonalRequest
|
|
23082
23145
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23129,12 +23192,12 @@ class Client extends openapi_core_1.default {
|
|
|
23129
23192
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FailoverDBClusterZonalResponse({}));
|
|
23130
23193
|
}
|
|
23131
23194
|
/**
|
|
23132
|
-
* Performs a
|
|
23195
|
+
* Performs a primary/secondary switchover.
|
|
23133
23196
|
*
|
|
23134
23197
|
* @remarks
|
|
23135
|
-
* Switches the primary node of an edge cloud cluster. This operation applies only to edge clusters deployed
|
|
23198
|
+
* 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
23199
|
* ## Before you begin
|
|
23137
|
-
* Complete the prerequisites
|
|
23200
|
+
* 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
23201
|
*
|
|
23139
23202
|
* @param request - FailoverDBClusterZonalRequest
|
|
23140
23203
|
* @returns FailoverDBClusterZonalResponse
|
|
@@ -27924,7 +27987,7 @@ class Client extends openapi_core_1.default {
|
|
|
27924
27987
|
return await this.modifyDBNodeRouterWeightWithOptions(request, runtime);
|
|
27925
27988
|
}
|
|
27926
27989
|
/**
|
|
27927
|
-
* Modifies the
|
|
27990
|
+
* Modifies the SCC settings of a node.
|
|
27928
27991
|
*
|
|
27929
27992
|
* @param request - ModifyDBNodeSccModeRequest
|
|
27930
27993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27971,7 +28034,7 @@ class Client extends openapi_core_1.default {
|
|
|
27971
28034
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBNodeSccModeResponse({}));
|
|
27972
28035
|
}
|
|
27973
28036
|
/**
|
|
27974
|
-
* Modifies the
|
|
28037
|
+
* Modifies the SCC settings of a node.
|
|
27975
28038
|
*
|
|
27976
28039
|
* @param request - ModifyDBNodeSccModeRequest
|
|
27977
28040
|
* @returns ModifyDBNodeSccModeResponse
|
|
@@ -31847,7 +31910,7 @@ class Client extends openapi_core_1.default {
|
|
|
31847
31910
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
31848
31911
|
}
|
|
31849
31912
|
/**
|
|
31850
|
-
* Temporarily
|
|
31913
|
+
* Temporarily modifies the configuration.
|
|
31851
31914
|
*
|
|
31852
31915
|
* @param request - TempModifyDBNodeRequest
|
|
31853
31916
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -31909,7 +31972,7 @@ class Client extends openapi_core_1.default {
|
|
|
31909
31972
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TempModifyDBNodeResponse({}));
|
|
31910
31973
|
}
|
|
31911
31974
|
/**
|
|
31912
|
-
* Temporarily
|
|
31975
|
+
* Temporarily modifies the configuration.
|
|
31913
31976
|
*
|
|
31914
31977
|
* @param request - TempModifyDBNodeRequest
|
|
31915
31978
|
* @returns TempModifyDBNodeResponse
|