@alicloud/polardb20170801 5.1.0 → 5.1.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 +1989 -451
- package/dist/client.js +2004 -451
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2013 -451
package/dist/client.js
CHANGED
|
@@ -3931,6 +3931,9 @@ class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
3931
3931
|
scaleRoNumMax: 'ScaleRoNumMax',
|
|
3932
3932
|
scaleRoNumMin: 'ScaleRoNumMin',
|
|
3933
3933
|
secondsUntilAutoPause: 'SecondsUntilAutoPause',
|
|
3934
|
+
serverlessRuleCpuEnlargeThreshold: 'ServerlessRuleCpuEnlargeThreshold',
|
|
3935
|
+
serverlessRuleCpuShrinkThreshold: 'ServerlessRuleCpuShrinkThreshold',
|
|
3936
|
+
serverlessRuleMode: 'ServerlessRuleMode',
|
|
3934
3937
|
switchs: 'Switchs',
|
|
3935
3938
|
};
|
|
3936
3939
|
}
|
|
@@ -3946,6 +3949,9 @@ class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
|
|
|
3946
3949
|
scaleRoNumMax: 'string',
|
|
3947
3950
|
scaleRoNumMin: 'string',
|
|
3948
3951
|
secondsUntilAutoPause: 'string',
|
|
3952
|
+
serverlessRuleCpuEnlargeThreshold: 'string',
|
|
3953
|
+
serverlessRuleCpuShrinkThreshold: 'string',
|
|
3954
|
+
serverlessRuleMode: 'string',
|
|
3949
3955
|
switchs: 'string',
|
|
3950
3956
|
};
|
|
3951
3957
|
}
|
|
@@ -8193,6 +8199,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8193
8199
|
scaleRoNumMax: 'ScaleRoNumMax',
|
|
8194
8200
|
scaleRoNumMin: 'ScaleRoNumMin',
|
|
8195
8201
|
secondsUntilAutoPause: 'SecondsUntilAutoPause',
|
|
8202
|
+
serverlessRuleCpuEnlargeThreshold: 'ServerlessRuleCpuEnlargeThreshold',
|
|
8203
|
+
serverlessRuleCpuShrinkThreshold: 'ServerlessRuleCpuShrinkThreshold',
|
|
8204
|
+
serverlessRuleMode: 'ServerlessRuleMode',
|
|
8196
8205
|
};
|
|
8197
8206
|
}
|
|
8198
8207
|
static types() {
|
|
@@ -8213,6 +8222,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8213
8222
|
scaleRoNumMax: 'string',
|
|
8214
8223
|
scaleRoNumMin: 'string',
|
|
8215
8224
|
secondsUntilAutoPause: 'string',
|
|
8225
|
+
serverlessRuleCpuEnlargeThreshold: 'string',
|
|
8226
|
+
serverlessRuleCpuShrinkThreshold: 'string',
|
|
8227
|
+
serverlessRuleMode: 'string',
|
|
8216
8228
|
};
|
|
8217
8229
|
}
|
|
8218
8230
|
constructor(map) {
|
|
@@ -12970,6 +12982,13 @@ class Client extends openapi_client_1.default {
|
|
|
12970
12982
|
}
|
|
12971
12983
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12972
12984
|
}
|
|
12985
|
+
/**
|
|
12986
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
12987
|
+
*
|
|
12988
|
+
* @param request CancelScheduleTasksRequest
|
|
12989
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12990
|
+
* @return CancelScheduleTasksResponse
|
|
12991
|
+
*/
|
|
12973
12992
|
async cancelScheduleTasksWithOptions(request, runtime) {
|
|
12974
12993
|
tea_util_1.default.validateModel(request);
|
|
12975
12994
|
let query = {};
|
|
@@ -13010,10 +13029,23 @@ class Client extends openapi_client_1.default {
|
|
|
13010
13029
|
});
|
|
13011
13030
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
|
|
13012
13031
|
}
|
|
13032
|
+
/**
|
|
13033
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
13034
|
+
*
|
|
13035
|
+
* @param request CancelScheduleTasksRequest
|
|
13036
|
+
* @return CancelScheduleTasksResponse
|
|
13037
|
+
*/
|
|
13013
13038
|
async cancelScheduleTasks(request) {
|
|
13014
13039
|
let runtime = new $Util.RuntimeOptions({});
|
|
13015
13040
|
return await this.cancelScheduleTasksWithOptions(request, runtime);
|
|
13016
13041
|
}
|
|
13042
|
+
/**
|
|
13043
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13044
|
+
*
|
|
13045
|
+
* @param request CheckAccountNameRequest
|
|
13046
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13047
|
+
* @return CheckAccountNameResponse
|
|
13048
|
+
*/
|
|
13017
13049
|
async checkAccountNameWithOptions(request, runtime) {
|
|
13018
13050
|
tea_util_1.default.validateModel(request);
|
|
13019
13051
|
let query = {};
|
|
@@ -13051,10 +13083,23 @@ class Client extends openapi_client_1.default {
|
|
|
13051
13083
|
});
|
|
13052
13084
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
|
|
13053
13085
|
}
|
|
13086
|
+
/**
|
|
13087
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13088
|
+
*
|
|
13089
|
+
* @param request CheckAccountNameRequest
|
|
13090
|
+
* @return CheckAccountNameResponse
|
|
13091
|
+
*/
|
|
13054
13092
|
async checkAccountName(request) {
|
|
13055
13093
|
let runtime = new $Util.RuntimeOptions({});
|
|
13056
13094
|
return await this.checkAccountNameWithOptions(request, runtime);
|
|
13057
13095
|
}
|
|
13096
|
+
/**
|
|
13097
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13098
|
+
*
|
|
13099
|
+
* @param request CheckDBNameRequest
|
|
13100
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13101
|
+
* @return CheckDBNameResponse
|
|
13102
|
+
*/
|
|
13058
13103
|
async checkDBNameWithOptions(request, runtime) {
|
|
13059
13104
|
tea_util_1.default.validateModel(request);
|
|
13060
13105
|
let query = {};
|
|
@@ -13092,10 +13137,23 @@ class Client extends openapi_client_1.default {
|
|
|
13092
13137
|
});
|
|
13093
13138
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
|
|
13094
13139
|
}
|
|
13140
|
+
/**
|
|
13141
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13142
|
+
*
|
|
13143
|
+
* @param request CheckDBNameRequest
|
|
13144
|
+
* @return CheckDBNameResponse
|
|
13145
|
+
*/
|
|
13095
13146
|
async checkDBName(request) {
|
|
13096
13147
|
let runtime = new $Util.RuntimeOptions({});
|
|
13097
13148
|
return await this.checkDBNameWithOptions(request, runtime);
|
|
13098
13149
|
}
|
|
13150
|
+
/**
|
|
13151
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13152
|
+
*
|
|
13153
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13155
|
+
* @return CheckKMSAuthorizedResponse
|
|
13156
|
+
*/
|
|
13099
13157
|
async checkKMSAuthorizedWithOptions(request, runtime) {
|
|
13100
13158
|
tea_util_1.default.validateModel(request);
|
|
13101
13159
|
let query = {};
|
|
@@ -13136,10 +13194,23 @@ class Client extends openapi_client_1.default {
|
|
|
13136
13194
|
});
|
|
13137
13195
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
13138
13196
|
}
|
|
13197
|
+
/**
|
|
13198
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13199
|
+
*
|
|
13200
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13201
|
+
* @return CheckKMSAuthorizedResponse
|
|
13202
|
+
*/
|
|
13139
13203
|
async checkKMSAuthorized(request) {
|
|
13140
13204
|
let runtime = new $Util.RuntimeOptions({});
|
|
13141
13205
|
return await this.checkKMSAuthorizedWithOptions(request, runtime);
|
|
13142
13206
|
}
|
|
13207
|
+
/**
|
|
13208
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13209
|
+
*
|
|
13210
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13211
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13212
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13213
|
+
*/
|
|
13143
13214
|
async checkServiceLinkedRoleWithOptions(request, runtime) {
|
|
13144
13215
|
tea_util_1.default.validateModel(request);
|
|
13145
13216
|
let query = {};
|
|
@@ -13171,10 +13242,23 @@ class Client extends openapi_client_1.default {
|
|
|
13171
13242
|
});
|
|
13172
13243
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
13173
13244
|
}
|
|
13245
|
+
/**
|
|
13246
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13247
|
+
*
|
|
13248
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13249
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13250
|
+
*/
|
|
13174
13251
|
async checkServiceLinkedRole(request) {
|
|
13175
13252
|
let runtime = new $Util.RuntimeOptions({});
|
|
13176
13253
|
return await this.checkServiceLinkedRoleWithOptions(request, runtime);
|
|
13177
13254
|
}
|
|
13255
|
+
/**
|
|
13256
|
+
* @summary 关闭DB4AI
|
|
13257
|
+
*
|
|
13258
|
+
* @param request CloseAITaskRequest
|
|
13259
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13260
|
+
* @return CloseAITaskResponse
|
|
13261
|
+
*/
|
|
13178
13262
|
async closeAITaskWithOptions(request, runtime) {
|
|
13179
13263
|
tea_util_1.default.validateModel(request);
|
|
13180
13264
|
let query = {};
|
|
@@ -13212,18 +13296,26 @@ class Client extends openapi_client_1.default {
|
|
|
13212
13296
|
});
|
|
13213
13297
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
|
|
13214
13298
|
}
|
|
13299
|
+
/**
|
|
13300
|
+
* @summary 关闭DB4AI
|
|
13301
|
+
*
|
|
13302
|
+
* @param request CloseAITaskRequest
|
|
13303
|
+
* @return CloseAITaskResponse
|
|
13304
|
+
*/
|
|
13215
13305
|
async closeAITask(request) {
|
|
13216
13306
|
let runtime = new $Util.RuntimeOptions({});
|
|
13217
13307
|
return await this.closeAITaskWithOptions(request, runtime);
|
|
13218
13308
|
}
|
|
13219
13309
|
/**
|
|
13220
|
-
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13310
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13311
|
+
*
|
|
13312
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13313
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13314
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
13315
|
+
*
|
|
13316
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13317
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13318
|
+
* @return CloseDBClusterMigrationResponse
|
|
13227
13319
|
*/
|
|
13228
13320
|
async closeDBClusterMigrationWithOptions(request, runtime) {
|
|
13229
13321
|
tea_util_1.default.validateModel(request);
|
|
@@ -13263,17 +13355,26 @@ class Client extends openapi_client_1.default {
|
|
|
13263
13355
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
13264
13356
|
}
|
|
13265
13357
|
/**
|
|
13266
|
-
|
|
13267
|
-
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13358
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13359
|
+
*
|
|
13360
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13361
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13362
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
13363
|
+
*
|
|
13364
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13365
|
+
* @return CloseDBClusterMigrationResponse
|
|
13272
13366
|
*/
|
|
13273
13367
|
async closeDBClusterMigration(request) {
|
|
13274
13368
|
let runtime = new $Util.RuntimeOptions({});
|
|
13275
13369
|
return await this.closeDBClusterMigrationWithOptions(request, runtime);
|
|
13276
13370
|
}
|
|
13371
|
+
/**
|
|
13372
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13373
|
+
*
|
|
13374
|
+
* @param request CreateAccountRequest
|
|
13375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13376
|
+
* @return CreateAccountResponse
|
|
13377
|
+
*/
|
|
13277
13378
|
async createAccountWithOptions(request, runtime) {
|
|
13278
13379
|
tea_util_1.default.validateModel(request);
|
|
13279
13380
|
let query = {};
|
|
@@ -13332,19 +13433,27 @@ class Client extends openapi_client_1.default {
|
|
|
13332
13433
|
});
|
|
13333
13434
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
13334
13435
|
}
|
|
13436
|
+
/**
|
|
13437
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13438
|
+
*
|
|
13439
|
+
* @param request CreateAccountRequest
|
|
13440
|
+
* @return CreateAccountResponse
|
|
13441
|
+
*/
|
|
13335
13442
|
async createAccount(request) {
|
|
13336
13443
|
let runtime = new $Util.RuntimeOptions({});
|
|
13337
13444
|
return await this.createAccountWithOptions(request, runtime);
|
|
13338
13445
|
}
|
|
13339
13446
|
/**
|
|
13340
|
-
|
|
13341
|
-
|
|
13342
|
-
|
|
13343
|
-
|
|
13344
|
-
|
|
13345
|
-
|
|
13346
|
-
|
|
13347
|
-
|
|
13447
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13448
|
+
*
|
|
13449
|
+
* @description >
|
|
13450
|
+
* * You can manually create up to three backups for each cluster.
|
|
13451
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](https://help.aliyun.com/document_detail/98101.html).
|
|
13452
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
13453
|
+
*
|
|
13454
|
+
* @param request CreateBackupRequest
|
|
13455
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13456
|
+
* @return CreateBackupResponse
|
|
13348
13457
|
*/
|
|
13349
13458
|
async createBackupWithOptions(request, runtime) {
|
|
13350
13459
|
tea_util_1.default.validateModel(request);
|
|
@@ -13384,18 +13493,27 @@ class Client extends openapi_client_1.default {
|
|
|
13384
13493
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
13385
13494
|
}
|
|
13386
13495
|
/**
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13496
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13497
|
+
*
|
|
13498
|
+
* @description >
|
|
13499
|
+
* * You can manually create up to three backups for each cluster.
|
|
13500
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](https://help.aliyun.com/document_detail/98101.html).
|
|
13501
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
13502
|
+
*
|
|
13503
|
+
* @param request CreateBackupRequest
|
|
13504
|
+
* @return CreateBackupResponse
|
|
13394
13505
|
*/
|
|
13395
13506
|
async createBackup(request) {
|
|
13396
13507
|
let runtime = new $Util.RuntimeOptions({});
|
|
13397
13508
|
return await this.createBackupWithOptions(request, runtime);
|
|
13398
13509
|
}
|
|
13510
|
+
/**
|
|
13511
|
+
* @summary 创建冷存储实例
|
|
13512
|
+
*
|
|
13513
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13514
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13515
|
+
* @return CreateColdStorageInstanceResponse
|
|
13516
|
+
*/
|
|
13399
13517
|
async createColdStorageInstanceWithOptions(request, runtime) {
|
|
13400
13518
|
tea_util_1.default.validateModel(request);
|
|
13401
13519
|
let query = {};
|
|
@@ -13439,10 +13557,23 @@ class Client extends openapi_client_1.default {
|
|
|
13439
13557
|
});
|
|
13440
13558
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
|
|
13441
13559
|
}
|
|
13560
|
+
/**
|
|
13561
|
+
* @summary 创建冷存储实例
|
|
13562
|
+
*
|
|
13563
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13564
|
+
* @return CreateColdStorageInstanceResponse
|
|
13565
|
+
*/
|
|
13442
13566
|
async createColdStorageInstance(request) {
|
|
13443
13567
|
let runtime = new $Util.RuntimeOptions({});
|
|
13444
13568
|
return await this.createColdStorageInstanceWithOptions(request, runtime);
|
|
13445
13569
|
}
|
|
13570
|
+
/**
|
|
13571
|
+
* @summary Creates a PolarDB cluster.
|
|
13572
|
+
*
|
|
13573
|
+
* @param request CreateDBClusterRequest
|
|
13574
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13575
|
+
* @return CreateDBClusterResponse
|
|
13576
|
+
*/
|
|
13446
13577
|
async createDBClusterWithOptions(request, runtime) {
|
|
13447
13578
|
tea_util_1.default.validateModel(request);
|
|
13448
13579
|
let query = {};
|
|
@@ -13624,10 +13755,23 @@ class Client extends openapi_client_1.default {
|
|
|
13624
13755
|
});
|
|
13625
13756
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
13626
13757
|
}
|
|
13758
|
+
/**
|
|
13759
|
+
* @summary Creates a PolarDB cluster.
|
|
13760
|
+
*
|
|
13761
|
+
* @param request CreateDBClusterRequest
|
|
13762
|
+
* @return CreateDBClusterResponse
|
|
13763
|
+
*/
|
|
13627
13764
|
async createDBCluster(request) {
|
|
13628
13765
|
let runtime = new $Util.RuntimeOptions({});
|
|
13629
13766
|
return await this.createDBClusterWithOptions(request, runtime);
|
|
13630
13767
|
}
|
|
13768
|
+
/**
|
|
13769
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13770
|
+
*
|
|
13771
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13772
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13773
|
+
* @return CreateDBClusterEndpointResponse
|
|
13774
|
+
*/
|
|
13631
13775
|
async createDBClusterEndpointWithOptions(request, runtime) {
|
|
13632
13776
|
tea_util_1.default.validateModel(request);
|
|
13633
13777
|
let query = {};
|
|
@@ -13683,16 +13827,24 @@ class Client extends openapi_client_1.default {
|
|
|
13683
13827
|
});
|
|
13684
13828
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
|
|
13685
13829
|
}
|
|
13830
|
+
/**
|
|
13831
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13832
|
+
*
|
|
13833
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13834
|
+
* @return CreateDBClusterEndpointResponse
|
|
13835
|
+
*/
|
|
13686
13836
|
async createDBClusterEndpoint(request) {
|
|
13687
13837
|
let runtime = new $Util.RuntimeOptions({});
|
|
13688
13838
|
return await this.createDBClusterEndpointWithOptions(request, runtime);
|
|
13689
13839
|
}
|
|
13690
13840
|
/**
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13841
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13842
|
+
*
|
|
13843
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13844
|
+
*
|
|
13845
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13846
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13847
|
+
* @return CreateDBEndpointAddressResponse
|
|
13696
13848
|
*/
|
|
13697
13849
|
async createDBEndpointAddressWithOptions(request, runtime) {
|
|
13698
13850
|
tea_util_1.default.validateModel(request);
|
|
@@ -13747,24 +13899,28 @@ class Client extends openapi_client_1.default {
|
|
|
13747
13899
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
13748
13900
|
}
|
|
13749
13901
|
/**
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13902
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13903
|
+
*
|
|
13904
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13905
|
+
*
|
|
13906
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13907
|
+
* @return CreateDBEndpointAddressResponse
|
|
13754
13908
|
*/
|
|
13755
13909
|
async createDBEndpointAddress(request) {
|
|
13756
13910
|
let runtime = new $Util.RuntimeOptions({});
|
|
13757
13911
|
return await this.createDBEndpointAddressWithOptions(request, runtime);
|
|
13758
13912
|
}
|
|
13759
13913
|
/**
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13914
|
+
* @summary Creates a database link.
|
|
13915
|
+
*
|
|
13916
|
+
* @description A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13917
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13918
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13919
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13920
|
+
*
|
|
13921
|
+
* @param request CreateDBLinkRequest
|
|
13922
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13923
|
+
* @return CreateDBLinkResponse
|
|
13768
13924
|
*/
|
|
13769
13925
|
async createDBLinkWithOptions(request, runtime) {
|
|
13770
13926
|
tea_util_1.default.validateModel(request);
|
|
@@ -13837,18 +13993,27 @@ class Client extends openapi_client_1.default {
|
|
|
13837
13993
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
13838
13994
|
}
|
|
13839
13995
|
/**
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13846
|
-
|
|
13996
|
+
* @summary Creates a database link.
|
|
13997
|
+
*
|
|
13998
|
+
* @description A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13999
|
+
* > * You can create up to 10 database links for a cluster.
|
|
14000
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
14001
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
14002
|
+
*
|
|
14003
|
+
* @param request CreateDBLinkRequest
|
|
14004
|
+
* @return CreateDBLinkResponse
|
|
13847
14005
|
*/
|
|
13848
14006
|
async createDBLink(request) {
|
|
13849
14007
|
let runtime = new $Util.RuntimeOptions({});
|
|
13850
14008
|
return await this.createDBLinkWithOptions(request, runtime);
|
|
13851
14009
|
}
|
|
14010
|
+
/**
|
|
14011
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14012
|
+
*
|
|
14013
|
+
* @param request CreateDBNodesRequest
|
|
14014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14015
|
+
* @return CreateDBNodesResponse
|
|
14016
|
+
*/
|
|
13852
14017
|
async createDBNodesWithOptions(request, runtime) {
|
|
13853
14018
|
tea_util_1.default.validateModel(request);
|
|
13854
14019
|
let query = {};
|
|
@@ -13907,18 +14072,26 @@ class Client extends openapi_client_1.default {
|
|
|
13907
14072
|
});
|
|
13908
14073
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
|
|
13909
14074
|
}
|
|
14075
|
+
/**
|
|
14076
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14077
|
+
*
|
|
14078
|
+
* @param request CreateDBNodesRequest
|
|
14079
|
+
* @return CreateDBNodesResponse
|
|
14080
|
+
*/
|
|
13910
14081
|
async createDBNodes(request) {
|
|
13911
14082
|
let runtime = new $Util.RuntimeOptions({});
|
|
13912
14083
|
return await this.createDBNodesWithOptions(request, runtime);
|
|
13913
14084
|
}
|
|
13914
14085
|
/**
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
14086
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14087
|
+
*
|
|
14088
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14089
|
+
* * The cluster is in the Running state.
|
|
14090
|
+
* * The cluster is unlocked.
|
|
14091
|
+
*
|
|
14092
|
+
* @param request CreateDatabaseRequest
|
|
14093
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14094
|
+
* @return CreateDatabaseResponse
|
|
13922
14095
|
*/
|
|
13923
14096
|
async createDatabaseWithOptions(request, runtime) {
|
|
13924
14097
|
tea_util_1.default.validateModel(request);
|
|
@@ -13976,23 +14149,27 @@ class Client extends openapi_client_1.default {
|
|
|
13976
14149
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
13977
14150
|
}
|
|
13978
14151
|
/**
|
|
13979
|
-
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
14152
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14153
|
+
*
|
|
14154
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14155
|
+
* * The cluster is in the Running state.
|
|
14156
|
+
* * The cluster is unlocked.
|
|
14157
|
+
*
|
|
14158
|
+
* @param request CreateDatabaseRequest
|
|
14159
|
+
* @return CreateDatabaseResponse
|
|
13985
14160
|
*/
|
|
13986
14161
|
async createDatabase(request) {
|
|
13987
14162
|
let runtime = new $Util.RuntimeOptions({});
|
|
13988
14163
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
13989
14164
|
}
|
|
13990
14165
|
/**
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
13994
|
-
|
|
13995
|
-
|
|
14166
|
+
* @summary Creates a global database network (GDN).
|
|
14167
|
+
*
|
|
14168
|
+
* @description > A cluster belongs to only one GDN.
|
|
14169
|
+
*
|
|
14170
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14171
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14172
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13996
14173
|
*/
|
|
13997
14174
|
async createGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
13998
14175
|
tea_util_1.default.validateModel(request);
|
|
@@ -14038,15 +14215,24 @@ class Client extends openapi_client_1.default {
|
|
|
14038
14215
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
14039
14216
|
}
|
|
14040
14217
|
/**
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14218
|
+
* @summary Creates a global database network (GDN).
|
|
14219
|
+
*
|
|
14220
|
+
* @description > A cluster belongs to only one GDN.
|
|
14221
|
+
*
|
|
14222
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14223
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
14045
14224
|
*/
|
|
14046
14225
|
async createGlobalDatabaseNetwork(request) {
|
|
14047
14226
|
let runtime = new $Util.RuntimeOptions({});
|
|
14048
14227
|
return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
14049
14228
|
}
|
|
14229
|
+
/**
|
|
14230
|
+
* @summary Creates a global IP whitelist template.
|
|
14231
|
+
*
|
|
14232
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14233
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14234
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14235
|
+
*/
|
|
14050
14236
|
async createGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
14051
14237
|
tea_util_1.default.validateModel(request);
|
|
14052
14238
|
let query = {};
|
|
@@ -14093,17 +14279,25 @@ class Client extends openapi_client_1.default {
|
|
|
14093
14279
|
});
|
|
14094
14280
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
|
|
14095
14281
|
}
|
|
14282
|
+
/**
|
|
14283
|
+
* @summary Creates a global IP whitelist template.
|
|
14284
|
+
*
|
|
14285
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14286
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14287
|
+
*/
|
|
14096
14288
|
async createGlobalSecurityIPGroup(request) {
|
|
14097
14289
|
let runtime = new $Util.RuntimeOptions({});
|
|
14098
14290
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14099
14291
|
}
|
|
14100
14292
|
/**
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14293
|
+
* @summary Creates a parameter template.
|
|
14294
|
+
*
|
|
14295
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
14296
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14297
|
+
*
|
|
14298
|
+
* @param request CreateParameterGroupRequest
|
|
14299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14300
|
+
* @return CreateParameterGroupResponse
|
|
14107
14301
|
*/
|
|
14108
14302
|
async createParameterGroupWithOptions(request, runtime) {
|
|
14109
14303
|
tea_util_1.default.validateModel(request);
|
|
@@ -14158,16 +14352,25 @@ class Client extends openapi_client_1.default {
|
|
|
14158
14352
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
14159
14353
|
}
|
|
14160
14354
|
/**
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14355
|
+
* @summary Creates a parameter template.
|
|
14356
|
+
*
|
|
14357
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
14358
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14359
|
+
*
|
|
14360
|
+
* @param request CreateParameterGroupRequest
|
|
14361
|
+
* @return CreateParameterGroupResponse
|
|
14166
14362
|
*/
|
|
14167
14363
|
async createParameterGroup(request) {
|
|
14168
14364
|
let runtime = new $Util.RuntimeOptions({});
|
|
14169
14365
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
14170
14366
|
}
|
|
14367
|
+
/**
|
|
14368
|
+
* @summary Creates a service-linked role (SLR).
|
|
14369
|
+
*
|
|
14370
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14371
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14372
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14373
|
+
*/
|
|
14171
14374
|
async createServiceLinkedRoleWithOptions(request, runtime) {
|
|
14172
14375
|
tea_util_1.default.validateModel(request);
|
|
14173
14376
|
let query = {};
|
|
@@ -14199,10 +14402,23 @@ class Client extends openapi_client_1.default {
|
|
|
14199
14402
|
});
|
|
14200
14403
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
14201
14404
|
}
|
|
14405
|
+
/**
|
|
14406
|
+
* @summary Creates a service-linked role (SLR).
|
|
14407
|
+
*
|
|
14408
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14409
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14410
|
+
*/
|
|
14202
14411
|
async createServiceLinkedRole(request) {
|
|
14203
14412
|
let runtime = new $Util.RuntimeOptions({});
|
|
14204
14413
|
return await this.createServiceLinkedRoleWithOptions(request, runtime);
|
|
14205
14414
|
}
|
|
14415
|
+
/**
|
|
14416
|
+
* @summary Purchases a storage plan.
|
|
14417
|
+
*
|
|
14418
|
+
* @param request CreateStoragePlanRequest
|
|
14419
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14420
|
+
* @return CreateStoragePlanResponse
|
|
14421
|
+
*/
|
|
14206
14422
|
async createStoragePlanWithOptions(request, runtime) {
|
|
14207
14423
|
tea_util_1.default.validateModel(request);
|
|
14208
14424
|
let query = {};
|
|
@@ -14249,16 +14465,24 @@ class Client extends openapi_client_1.default {
|
|
|
14249
14465
|
});
|
|
14250
14466
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
|
|
14251
14467
|
}
|
|
14468
|
+
/**
|
|
14469
|
+
* @summary Purchases a storage plan.
|
|
14470
|
+
*
|
|
14471
|
+
* @param request CreateStoragePlanRequest
|
|
14472
|
+
* @return CreateStoragePlanResponse
|
|
14473
|
+
*/
|
|
14252
14474
|
async createStoragePlan(request) {
|
|
14253
14475
|
let runtime = new $Util.RuntimeOptions({});
|
|
14254
14476
|
return await this.createStoragePlanWithOptions(request, runtime);
|
|
14255
14477
|
}
|
|
14256
14478
|
/**
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14479
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14480
|
+
*
|
|
14481
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14482
|
+
*
|
|
14483
|
+
* @param request DeleteAccountRequest
|
|
14484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14485
|
+
* @return DeleteAccountResponse
|
|
14262
14486
|
*/
|
|
14263
14487
|
async deleteAccountWithOptions(request, runtime) {
|
|
14264
14488
|
tea_util_1.default.validateModel(request);
|
|
@@ -14298,25 +14522,29 @@ class Client extends openapi_client_1.default {
|
|
|
14298
14522
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
14299
14523
|
}
|
|
14300
14524
|
/**
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14525
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14526
|
+
*
|
|
14527
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14528
|
+
*
|
|
14529
|
+
* @param request DeleteAccountRequest
|
|
14530
|
+
* @return DeleteAccountResponse
|
|
14305
14531
|
*/
|
|
14306
14532
|
async deleteAccount(request) {
|
|
14307
14533
|
let runtime = new $Util.RuntimeOptions({});
|
|
14308
14534
|
return await this.deleteAccountWithOptions(request, runtime);
|
|
14309
14535
|
}
|
|
14310
14536
|
/**
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14537
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14538
|
+
*
|
|
14539
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14540
|
+
* * The cluster is in the Running state.
|
|
14541
|
+
* * The backup sets are in the Success state.
|
|
14542
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14543
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
14544
|
+
*
|
|
14545
|
+
* @param request DeleteBackupRequest
|
|
14546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14547
|
+
* @return DeleteBackupResponse
|
|
14320
14548
|
*/
|
|
14321
14549
|
async deleteBackupWithOptions(request, runtime) {
|
|
14322
14550
|
tea_util_1.default.validateModel(request);
|
|
@@ -14356,19 +14584,28 @@ class Client extends openapi_client_1.default {
|
|
|
14356
14584
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
14357
14585
|
}
|
|
14358
14586
|
/**
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14587
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14588
|
+
*
|
|
14589
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14590
|
+
* * The cluster is in the Running state.
|
|
14591
|
+
* * The backup sets are in the Success state.
|
|
14592
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14593
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
14594
|
+
*
|
|
14595
|
+
* @param request DeleteBackupRequest
|
|
14596
|
+
* @return DeleteBackupResponse
|
|
14367
14597
|
*/
|
|
14368
14598
|
async deleteBackup(request) {
|
|
14369
14599
|
let runtime = new $Util.RuntimeOptions({});
|
|
14370
14600
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
14371
14601
|
}
|
|
14602
|
+
/**
|
|
14603
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14604
|
+
*
|
|
14605
|
+
* @param request DeleteDBClusterRequest
|
|
14606
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14607
|
+
* @return DeleteDBClusterResponse
|
|
14608
|
+
*/
|
|
14372
14609
|
async deleteDBClusterWithOptions(request, runtime) {
|
|
14373
14610
|
tea_util_1.default.validateModel(request);
|
|
14374
14611
|
let query = {};
|
|
@@ -14406,10 +14643,23 @@ class Client extends openapi_client_1.default {
|
|
|
14406
14643
|
});
|
|
14407
14644
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
14408
14645
|
}
|
|
14646
|
+
/**
|
|
14647
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14648
|
+
*
|
|
14649
|
+
* @param request DeleteDBClusterRequest
|
|
14650
|
+
* @return DeleteDBClusterResponse
|
|
14651
|
+
*/
|
|
14409
14652
|
async deleteDBCluster(request) {
|
|
14410
14653
|
let runtime = new $Util.RuntimeOptions({});
|
|
14411
14654
|
return await this.deleteDBClusterWithOptions(request, runtime);
|
|
14412
14655
|
}
|
|
14656
|
+
/**
|
|
14657
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14658
|
+
*
|
|
14659
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14661
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14662
|
+
*/
|
|
14413
14663
|
async deleteDBClusterEndpointWithOptions(request, runtime) {
|
|
14414
14664
|
tea_util_1.default.validateModel(request);
|
|
14415
14665
|
let query = {};
|
|
@@ -14447,17 +14697,25 @@ class Client extends openapi_client_1.default {
|
|
|
14447
14697
|
});
|
|
14448
14698
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
|
|
14449
14699
|
}
|
|
14700
|
+
/**
|
|
14701
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14702
|
+
*
|
|
14703
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14704
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14705
|
+
*/
|
|
14450
14706
|
async deleteDBClusterEndpoint(request) {
|
|
14451
14707
|
let runtime = new $Util.RuntimeOptions({});
|
|
14452
14708
|
return await this.deleteDBClusterEndpointWithOptions(request, runtime);
|
|
14453
14709
|
}
|
|
14454
14710
|
/**
|
|
14455
|
-
|
|
14456
|
-
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14711
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14712
|
+
*
|
|
14713
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14714
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14715
|
+
*
|
|
14716
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14718
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14461
14719
|
*/
|
|
14462
14720
|
async deleteDBEndpointAddressWithOptions(request, runtime) {
|
|
14463
14721
|
tea_util_1.default.validateModel(request);
|
|
@@ -14500,16 +14758,25 @@ class Client extends openapi_client_1.default {
|
|
|
14500
14758
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
14501
14759
|
}
|
|
14502
14760
|
/**
|
|
14503
|
-
|
|
14504
|
-
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
14761
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14762
|
+
*
|
|
14763
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14764
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14765
|
+
*
|
|
14766
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14767
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14508
14768
|
*/
|
|
14509
14769
|
async deleteDBEndpointAddress(request) {
|
|
14510
14770
|
let runtime = new $Util.RuntimeOptions({});
|
|
14511
14771
|
return await this.deleteDBEndpointAddressWithOptions(request, runtime);
|
|
14512
14772
|
}
|
|
14773
|
+
/**
|
|
14774
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14775
|
+
*
|
|
14776
|
+
* @param request DeleteDBLinkRequest
|
|
14777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14778
|
+
* @return DeleteDBLinkResponse
|
|
14779
|
+
*/
|
|
14513
14780
|
async deleteDBLinkWithOptions(request, runtime) {
|
|
14514
14781
|
tea_util_1.default.validateModel(request);
|
|
14515
14782
|
let query = {};
|
|
@@ -14547,10 +14814,23 @@ class Client extends openapi_client_1.default {
|
|
|
14547
14814
|
});
|
|
14548
14815
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
|
|
14549
14816
|
}
|
|
14817
|
+
/**
|
|
14818
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14819
|
+
*
|
|
14820
|
+
* @param request DeleteDBLinkRequest
|
|
14821
|
+
* @return DeleteDBLinkResponse
|
|
14822
|
+
*/
|
|
14550
14823
|
async deleteDBLink(request) {
|
|
14551
14824
|
let runtime = new $Util.RuntimeOptions({});
|
|
14552
14825
|
return await this.deleteDBLinkWithOptions(request, runtime);
|
|
14553
14826
|
}
|
|
14827
|
+
/**
|
|
14828
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14829
|
+
*
|
|
14830
|
+
* @param request DeleteDBNodesRequest
|
|
14831
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14832
|
+
* @return DeleteDBNodesResponse
|
|
14833
|
+
*/
|
|
14554
14834
|
async deleteDBNodesWithOptions(request, runtime) {
|
|
14555
14835
|
tea_util_1.default.validateModel(request);
|
|
14556
14836
|
let query = {};
|
|
@@ -14594,17 +14874,25 @@ class Client extends openapi_client_1.default {
|
|
|
14594
14874
|
});
|
|
14595
14875
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
|
|
14596
14876
|
}
|
|
14877
|
+
/**
|
|
14878
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14879
|
+
*
|
|
14880
|
+
* @param request DeleteDBNodesRequest
|
|
14881
|
+
* @return DeleteDBNodesResponse
|
|
14882
|
+
*/
|
|
14597
14883
|
async deleteDBNodes(request) {
|
|
14598
14884
|
let runtime = new $Util.RuntimeOptions({});
|
|
14599
14885
|
return await this.deleteDBNodesWithOptions(request, runtime);
|
|
14600
14886
|
}
|
|
14601
14887
|
/**
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14888
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14889
|
+
*
|
|
14890
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14891
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14892
|
+
*
|
|
14893
|
+
* @param request DeleteDatabaseRequest
|
|
14894
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14895
|
+
* @return DeleteDatabaseResponse
|
|
14608
14896
|
*/
|
|
14609
14897
|
async deleteDatabaseWithOptions(request, runtime) {
|
|
14610
14898
|
tea_util_1.default.validateModel(request);
|
|
@@ -14644,22 +14932,26 @@ class Client extends openapi_client_1.default {
|
|
|
14644
14932
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
14645
14933
|
}
|
|
14646
14934
|
/**
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14935
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14936
|
+
*
|
|
14937
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14938
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14939
|
+
*
|
|
14940
|
+
* @param request DeleteDatabaseRequest
|
|
14941
|
+
* @return DeleteDatabaseResponse
|
|
14652
14942
|
*/
|
|
14653
14943
|
async deleteDatabase(request) {
|
|
14654
14944
|
let runtime = new $Util.RuntimeOptions({});
|
|
14655
14945
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
14656
14946
|
}
|
|
14657
14947
|
/**
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14948
|
+
* @summary Deletes a global database network (GDN).
|
|
14949
|
+
*
|
|
14950
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14951
|
+
*
|
|
14952
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14954
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14663
14955
|
*/
|
|
14664
14956
|
async deleteGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
14665
14957
|
tea_util_1.default.validateModel(request);
|
|
@@ -14702,15 +14994,24 @@ class Client extends openapi_client_1.default {
|
|
|
14702
14994
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
14703
14995
|
}
|
|
14704
14996
|
/**
|
|
14705
|
-
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
14997
|
+
* @summary Deletes a global database network (GDN).
|
|
14998
|
+
*
|
|
14999
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
15000
|
+
*
|
|
15001
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
15002
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14709
15003
|
*/
|
|
14710
15004
|
async deleteGlobalDatabaseNetwork(request) {
|
|
14711
15005
|
let runtime = new $Util.RuntimeOptions({});
|
|
14712
15006
|
return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
14713
15007
|
}
|
|
15008
|
+
/**
|
|
15009
|
+
* @summary Deletes a global IP whitelist template.
|
|
15010
|
+
*
|
|
15011
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15012
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15013
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15014
|
+
*/
|
|
14714
15015
|
async deleteGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
14715
15016
|
tea_util_1.default.validateModel(request);
|
|
14716
15017
|
let query = {};
|
|
@@ -14757,10 +15058,23 @@ class Client extends openapi_client_1.default {
|
|
|
14757
15058
|
});
|
|
14758
15059
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
|
|
14759
15060
|
}
|
|
15061
|
+
/**
|
|
15062
|
+
* @summary Deletes a global IP whitelist template.
|
|
15063
|
+
*
|
|
15064
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15065
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15066
|
+
*/
|
|
14760
15067
|
async deleteGlobalSecurityIPGroup(request) {
|
|
14761
15068
|
let runtime = new $Util.RuntimeOptions({});
|
|
14762
15069
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14763
15070
|
}
|
|
15071
|
+
/**
|
|
15072
|
+
* @summary Deletes a data masking rule.
|
|
15073
|
+
*
|
|
15074
|
+
* @param request DeleteMaskingRulesRequest
|
|
15075
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15076
|
+
* @return DeleteMaskingRulesResponse
|
|
15077
|
+
*/
|
|
14764
15078
|
async deleteMaskingRulesWithOptions(request, runtime) {
|
|
14765
15079
|
tea_util_1.default.validateModel(request);
|
|
14766
15080
|
let query = {};
|
|
@@ -14786,17 +15100,25 @@ class Client extends openapi_client_1.default {
|
|
|
14786
15100
|
});
|
|
14787
15101
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
|
|
14788
15102
|
}
|
|
15103
|
+
/**
|
|
15104
|
+
* @summary Deletes a data masking rule.
|
|
15105
|
+
*
|
|
15106
|
+
* @param request DeleteMaskingRulesRequest
|
|
15107
|
+
* @return DeleteMaskingRulesResponse
|
|
15108
|
+
*/
|
|
14789
15109
|
async deleteMaskingRules(request) {
|
|
14790
15110
|
let runtime = new $Util.RuntimeOptions({});
|
|
14791
15111
|
return await this.deleteMaskingRulesWithOptions(request, runtime);
|
|
14792
15112
|
}
|
|
14793
15113
|
/**
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
15114
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15115
|
+
*
|
|
15116
|
+
* @description You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
15117
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15118
|
+
*
|
|
15119
|
+
* @param request DeleteParameterGroupRequest
|
|
15120
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15121
|
+
* @return DeleteParameterGroupResponse
|
|
14800
15122
|
*/
|
|
14801
15123
|
async deleteParameterGroupWithOptions(request, runtime) {
|
|
14802
15124
|
tea_util_1.default.validateModel(request);
|
|
@@ -14839,16 +15161,25 @@ class Client extends openapi_client_1.default {
|
|
|
14839
15161
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
14840
15162
|
}
|
|
14841
15163
|
/**
|
|
14842
|
-
|
|
14843
|
-
|
|
14844
|
-
|
|
14845
|
-
|
|
14846
|
-
|
|
15164
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15165
|
+
*
|
|
15166
|
+
* @description You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
15167
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15168
|
+
*
|
|
15169
|
+
* @param request DeleteParameterGroupRequest
|
|
15170
|
+
* @return DeleteParameterGroupResponse
|
|
14847
15171
|
*/
|
|
14848
15172
|
async deleteParameterGroup(request) {
|
|
14849
15173
|
let runtime = new $Util.RuntimeOptions({});
|
|
14850
15174
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
14851
15175
|
}
|
|
15176
|
+
/**
|
|
15177
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15178
|
+
*
|
|
15179
|
+
* @param request DescribeAITaskStatusRequest
|
|
15180
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15181
|
+
* @return DescribeAITaskStatusResponse
|
|
15182
|
+
*/
|
|
14852
15183
|
async describeAITaskStatusWithOptions(request, runtime) {
|
|
14853
15184
|
tea_util_1.default.validateModel(request);
|
|
14854
15185
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -14868,10 +15199,23 @@ class Client extends openapi_client_1.default {
|
|
|
14868
15199
|
});
|
|
14869
15200
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
|
|
14870
15201
|
}
|
|
15202
|
+
/**
|
|
15203
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15204
|
+
*
|
|
15205
|
+
* @param request DescribeAITaskStatusRequest
|
|
15206
|
+
* @return DescribeAITaskStatusResponse
|
|
15207
|
+
*/
|
|
14871
15208
|
async describeAITaskStatus(request) {
|
|
14872
15209
|
let runtime = new $Util.RuntimeOptions({});
|
|
14873
15210
|
return await this.describeAITaskStatusWithOptions(request, runtime);
|
|
14874
15211
|
}
|
|
15212
|
+
/**
|
|
15213
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15214
|
+
*
|
|
15215
|
+
* @param request DescribeAccountsRequest
|
|
15216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15217
|
+
* @return DescribeAccountsResponse
|
|
15218
|
+
*/
|
|
14875
15219
|
async describeAccountsWithOptions(request, runtime) {
|
|
14876
15220
|
tea_util_1.default.validateModel(request);
|
|
14877
15221
|
let query = {};
|
|
@@ -14915,10 +15259,23 @@ class Client extends openapi_client_1.default {
|
|
|
14915
15259
|
});
|
|
14916
15260
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
14917
15261
|
}
|
|
15262
|
+
/**
|
|
15263
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15264
|
+
*
|
|
15265
|
+
* @param request DescribeAccountsRequest
|
|
15266
|
+
* @return DescribeAccountsResponse
|
|
15267
|
+
*/
|
|
14918
15268
|
async describeAccounts(request) {
|
|
14919
15269
|
let runtime = new $Util.RuntimeOptions({});
|
|
14920
15270
|
return await this.describeAccountsWithOptions(request, runtime);
|
|
14921
15271
|
}
|
|
15272
|
+
/**
|
|
15273
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15274
|
+
*
|
|
15275
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15276
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15277
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15278
|
+
*/
|
|
14922
15279
|
async describeAutoRenewAttributeWithOptions(request, runtime) {
|
|
14923
15280
|
tea_util_1.default.validateModel(request);
|
|
14924
15281
|
let query = {};
|
|
@@ -14965,10 +15322,23 @@ class Client extends openapi_client_1.default {
|
|
|
14965
15322
|
});
|
|
14966
15323
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
|
|
14967
15324
|
}
|
|
15325
|
+
/**
|
|
15326
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15327
|
+
*
|
|
15328
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15329
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15330
|
+
*/
|
|
14968
15331
|
async describeAutoRenewAttribute(request) {
|
|
14969
15332
|
let runtime = new $Util.RuntimeOptions({});
|
|
14970
15333
|
return await this.describeAutoRenewAttributeWithOptions(request, runtime);
|
|
14971
15334
|
}
|
|
15335
|
+
/**
|
|
15336
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15337
|
+
*
|
|
15338
|
+
* @param request DescribeBackupLogsRequest
|
|
15339
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15340
|
+
* @return DescribeBackupLogsResponse
|
|
15341
|
+
*/
|
|
14972
15342
|
async describeBackupLogsWithOptions(request, runtime) {
|
|
14973
15343
|
tea_util_1.default.validateModel(request);
|
|
14974
15344
|
let query = {};
|
|
@@ -15018,10 +15388,23 @@ class Client extends openapi_client_1.default {
|
|
|
15018
15388
|
});
|
|
15019
15389
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
|
|
15020
15390
|
}
|
|
15391
|
+
/**
|
|
15392
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15393
|
+
*
|
|
15394
|
+
* @param request DescribeBackupLogsRequest
|
|
15395
|
+
* @return DescribeBackupLogsResponse
|
|
15396
|
+
*/
|
|
15021
15397
|
async describeBackupLogs(request) {
|
|
15022
15398
|
let runtime = new $Util.RuntimeOptions({});
|
|
15023
15399
|
return await this.describeBackupLogsWithOptions(request, runtime);
|
|
15024
15400
|
}
|
|
15401
|
+
/**
|
|
15402
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15403
|
+
*
|
|
15404
|
+
* @param request DescribeBackupPolicyRequest
|
|
15405
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15406
|
+
* @return DescribeBackupPolicyResponse
|
|
15407
|
+
*/
|
|
15025
15408
|
async describeBackupPolicyWithOptions(request, runtime) {
|
|
15026
15409
|
tea_util_1.default.validateModel(request);
|
|
15027
15410
|
let query = {};
|
|
@@ -15056,10 +15439,23 @@ class Client extends openapi_client_1.default {
|
|
|
15056
15439
|
});
|
|
15057
15440
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
15058
15441
|
}
|
|
15442
|
+
/**
|
|
15443
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15444
|
+
*
|
|
15445
|
+
* @param request DescribeBackupPolicyRequest
|
|
15446
|
+
* @return DescribeBackupPolicyResponse
|
|
15447
|
+
*/
|
|
15059
15448
|
async describeBackupPolicy(request) {
|
|
15060
15449
|
let runtime = new $Util.RuntimeOptions({});
|
|
15061
15450
|
return await this.describeBackupPolicyWithOptions(request, runtime);
|
|
15062
15451
|
}
|
|
15452
|
+
/**
|
|
15453
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15454
|
+
*
|
|
15455
|
+
* @param request DescribeBackupTasksRequest
|
|
15456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15457
|
+
* @return DescribeBackupTasksResponse
|
|
15458
|
+
*/
|
|
15063
15459
|
async describeBackupTasksWithOptions(request, runtime) {
|
|
15064
15460
|
tea_util_1.default.validateModel(request);
|
|
15065
15461
|
let query = {};
|
|
@@ -15100,10 +15496,23 @@ class Client extends openapi_client_1.default {
|
|
|
15100
15496
|
});
|
|
15101
15497
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
|
|
15102
15498
|
}
|
|
15499
|
+
/**
|
|
15500
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15501
|
+
*
|
|
15502
|
+
* @param request DescribeBackupTasksRequest
|
|
15503
|
+
* @return DescribeBackupTasksResponse
|
|
15504
|
+
*/
|
|
15103
15505
|
async describeBackupTasks(request) {
|
|
15104
15506
|
let runtime = new $Util.RuntimeOptions({});
|
|
15105
15507
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
15106
15508
|
}
|
|
15509
|
+
/**
|
|
15510
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15511
|
+
*
|
|
15512
|
+
* @param request DescribeBackupsRequest
|
|
15513
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15514
|
+
* @return DescribeBackupsResponse
|
|
15515
|
+
*/
|
|
15107
15516
|
async describeBackupsWithOptions(request, runtime) {
|
|
15108
15517
|
tea_util_1.default.validateModel(request);
|
|
15109
15518
|
let query = {};
|
|
@@ -15162,10 +15571,23 @@ class Client extends openapi_client_1.default {
|
|
|
15162
15571
|
});
|
|
15163
15572
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
15164
15573
|
}
|
|
15574
|
+
/**
|
|
15575
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15576
|
+
*
|
|
15577
|
+
* @param request DescribeBackupsRequest
|
|
15578
|
+
* @return DescribeBackupsResponse
|
|
15579
|
+
*/
|
|
15165
15580
|
async describeBackups(request) {
|
|
15166
15581
|
let runtime = new $Util.RuntimeOptions({});
|
|
15167
15582
|
return await this.describeBackupsWithOptions(request, runtime);
|
|
15168
15583
|
}
|
|
15584
|
+
/**
|
|
15585
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15586
|
+
*
|
|
15587
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15589
|
+
* @return DescribeCharacterSetNameResponse
|
|
15590
|
+
*/
|
|
15169
15591
|
async describeCharacterSetNameWithOptions(request, runtime) {
|
|
15170
15592
|
tea_util_1.default.validateModel(request);
|
|
15171
15593
|
let query = {};
|
|
@@ -15203,10 +15625,23 @@ class Client extends openapi_client_1.default {
|
|
|
15203
15625
|
});
|
|
15204
15626
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
|
|
15205
15627
|
}
|
|
15628
|
+
/**
|
|
15629
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15630
|
+
*
|
|
15631
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15632
|
+
* @return DescribeCharacterSetNameResponse
|
|
15633
|
+
*/
|
|
15206
15634
|
async describeCharacterSetName(request) {
|
|
15207
15635
|
let runtime = new $Util.RuntimeOptions({});
|
|
15208
15636
|
return await this.describeCharacterSetNameWithOptions(request, runtime);
|
|
15209
15637
|
}
|
|
15638
|
+
/**
|
|
15639
|
+
* @summary Queries the specifications of a cluster.
|
|
15640
|
+
*
|
|
15641
|
+
* @param request DescribeClassListRequest
|
|
15642
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15643
|
+
* @return DescribeClassListResponse
|
|
15644
|
+
*/
|
|
15210
15645
|
async describeClassListWithOptions(request, runtime) {
|
|
15211
15646
|
tea_util_1.default.validateModel(request);
|
|
15212
15647
|
let query = {};
|
|
@@ -15253,10 +15688,23 @@ class Client extends openapi_client_1.default {
|
|
|
15253
15688
|
});
|
|
15254
15689
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
|
|
15255
15690
|
}
|
|
15691
|
+
/**
|
|
15692
|
+
* @summary Queries the specifications of a cluster.
|
|
15693
|
+
*
|
|
15694
|
+
* @param request DescribeClassListRequest
|
|
15695
|
+
* @return DescribeClassListResponse
|
|
15696
|
+
*/
|
|
15256
15697
|
async describeClassList(request) {
|
|
15257
15698
|
let runtime = new $Util.RuntimeOptions({});
|
|
15258
15699
|
return await this.describeClassListWithOptions(request, runtime);
|
|
15259
15700
|
}
|
|
15701
|
+
/**
|
|
15702
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15703
|
+
*
|
|
15704
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15705
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15706
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15707
|
+
*/
|
|
15260
15708
|
async describeDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
15261
15709
|
tea_util_1.default.validateModel(request);
|
|
15262
15710
|
let query = {};
|
|
@@ -15291,10 +15739,23 @@ class Client extends openapi_client_1.default {
|
|
|
15291
15739
|
});
|
|
15292
15740
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
|
|
15293
15741
|
}
|
|
15742
|
+
/**
|
|
15743
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15744
|
+
*
|
|
15745
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15746
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15747
|
+
*/
|
|
15294
15748
|
async describeDBClusterAccessWhitelist(request) {
|
|
15295
15749
|
let runtime = new $Util.RuntimeOptions({});
|
|
15296
15750
|
return await this.describeDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
15297
15751
|
}
|
|
15752
|
+
/**
|
|
15753
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15754
|
+
*
|
|
15755
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15756
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15757
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15758
|
+
*/
|
|
15298
15759
|
async describeDBClusterAttributeWithOptions(request, runtime) {
|
|
15299
15760
|
tea_util_1.default.validateModel(request);
|
|
15300
15761
|
let query = {};
|
|
@@ -15332,10 +15793,23 @@ class Client extends openapi_client_1.default {
|
|
|
15332
15793
|
});
|
|
15333
15794
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
15334
15795
|
}
|
|
15796
|
+
/**
|
|
15797
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15798
|
+
*
|
|
15799
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15800
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15801
|
+
*/
|
|
15335
15802
|
async describeDBClusterAttribute(request) {
|
|
15336
15803
|
let runtime = new $Util.RuntimeOptions({});
|
|
15337
15804
|
return await this.describeDBClusterAttributeWithOptions(request, runtime);
|
|
15338
15805
|
}
|
|
15806
|
+
/**
|
|
15807
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15808
|
+
*
|
|
15809
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15810
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15811
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15812
|
+
*/
|
|
15339
15813
|
async describeDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
15340
15814
|
tea_util_1.default.validateModel(request);
|
|
15341
15815
|
let query = {};
|
|
@@ -15370,10 +15844,23 @@ class Client extends openapi_client_1.default {
|
|
|
15370
15844
|
});
|
|
15371
15845
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
|
|
15372
15846
|
}
|
|
15847
|
+
/**
|
|
15848
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15849
|
+
*
|
|
15850
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15851
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15852
|
+
*/
|
|
15373
15853
|
async describeDBClusterAuditLogCollector(request) {
|
|
15374
15854
|
let runtime = new $Util.RuntimeOptions({});
|
|
15375
15855
|
return await this.describeDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
15376
15856
|
}
|
|
15857
|
+
/**
|
|
15858
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15859
|
+
*
|
|
15860
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15861
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15862
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15863
|
+
*/
|
|
15377
15864
|
async describeDBClusterAvailableResourcesWithOptions(request, runtime) {
|
|
15378
15865
|
tea_util_1.default.validateModel(request);
|
|
15379
15866
|
let query = {};
|
|
@@ -15423,10 +15910,23 @@ class Client extends openapi_client_1.default {
|
|
|
15423
15910
|
});
|
|
15424
15911
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
|
|
15425
15912
|
}
|
|
15913
|
+
/**
|
|
15914
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15915
|
+
*
|
|
15916
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15917
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15918
|
+
*/
|
|
15426
15919
|
async describeDBClusterAvailableResources(request) {
|
|
15427
15920
|
let runtime = new $Util.RuntimeOptions({});
|
|
15428
15921
|
return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
|
|
15429
15922
|
}
|
|
15923
|
+
/**
|
|
15924
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
15925
|
+
*
|
|
15926
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
15927
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15928
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
15929
|
+
*/
|
|
15430
15930
|
async describeDBClusterConnectivityWithOptions(request, runtime) {
|
|
15431
15931
|
tea_util_1.default.validateModel(request);
|
|
15432
15932
|
let query = {};
|
|
@@ -15470,10 +15970,23 @@ class Client extends openapi_client_1.default {
|
|
|
15470
15970
|
});
|
|
15471
15971
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
15472
15972
|
}
|
|
15973
|
+
/**
|
|
15974
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
15975
|
+
*
|
|
15976
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
15977
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
15978
|
+
*/
|
|
15473
15979
|
async describeDBClusterConnectivity(request) {
|
|
15474
15980
|
let runtime = new $Util.RuntimeOptions({});
|
|
15475
15981
|
return await this.describeDBClusterConnectivityWithOptions(request, runtime);
|
|
15476
15982
|
}
|
|
15983
|
+
/**
|
|
15984
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
15985
|
+
*
|
|
15986
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
15987
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15988
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
15989
|
+
*/
|
|
15477
15990
|
async describeDBClusterEndpointsWithOptions(request, runtime) {
|
|
15478
15991
|
tea_util_1.default.validateModel(request);
|
|
15479
15992
|
let query = {};
|
|
@@ -15514,17 +16027,25 @@ class Client extends openapi_client_1.default {
|
|
|
15514
16027
|
});
|
|
15515
16028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
|
|
15516
16029
|
}
|
|
16030
|
+
/**
|
|
16031
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
16032
|
+
*
|
|
16033
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
16034
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
16035
|
+
*/
|
|
15517
16036
|
async describeDBClusterEndpoints(request) {
|
|
15518
16037
|
let runtime = new $Util.RuntimeOptions({});
|
|
15519
16038
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
15520
16039
|
}
|
|
15521
16040
|
/**
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
|
|
16041
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16042
|
+
*
|
|
16043
|
+
* @description * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](https://help.aliyun.com/document_detail/121582.html).
|
|
16044
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
16045
|
+
*
|
|
16046
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16047
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16048
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15528
16049
|
*/
|
|
15529
16050
|
async describeDBClusterMigrationWithOptions(request, runtime) {
|
|
15530
16051
|
tea_util_1.default.validateModel(request);
|
|
@@ -15561,16 +16082,25 @@ class Client extends openapi_client_1.default {
|
|
|
15561
16082
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
15562
16083
|
}
|
|
15563
16084
|
/**
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
16085
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16086
|
+
*
|
|
16087
|
+
* @description * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](https://help.aliyun.com/document_detail/121582.html).
|
|
16088
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
16089
|
+
*
|
|
16090
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16091
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15569
16092
|
*/
|
|
15570
16093
|
async describeDBClusterMigration(request) {
|
|
15571
16094
|
let runtime = new $Util.RuntimeOptions({});
|
|
15572
16095
|
return await this.describeDBClusterMigrationWithOptions(request, runtime);
|
|
15573
16096
|
}
|
|
16097
|
+
/**
|
|
16098
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16099
|
+
*
|
|
16100
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16101
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16102
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16103
|
+
*/
|
|
15574
16104
|
async describeDBClusterMonitorWithOptions(request, runtime) {
|
|
15575
16105
|
tea_util_1.default.validateModel(request);
|
|
15576
16106
|
let query = {};
|
|
@@ -15605,10 +16135,23 @@ class Client extends openapi_client_1.default {
|
|
|
15605
16135
|
});
|
|
15606
16136
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
|
|
15607
16137
|
}
|
|
16138
|
+
/**
|
|
16139
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16140
|
+
*
|
|
16141
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16142
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16143
|
+
*/
|
|
15608
16144
|
async describeDBClusterMonitor(request) {
|
|
15609
16145
|
let runtime = new $Util.RuntimeOptions({});
|
|
15610
16146
|
return await this.describeDBClusterMonitorWithOptions(request, runtime);
|
|
15611
16147
|
}
|
|
16148
|
+
/**
|
|
16149
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16150
|
+
*
|
|
16151
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16152
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16153
|
+
* @return DescribeDBClusterParametersResponse
|
|
16154
|
+
*/
|
|
15612
16155
|
async describeDBClusterParametersWithOptions(request, runtime) {
|
|
15613
16156
|
tea_util_1.default.validateModel(request);
|
|
15614
16157
|
let query = {};
|
|
@@ -15646,27 +16189,35 @@ class Client extends openapi_client_1.default {
|
|
|
15646
16189
|
});
|
|
15647
16190
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
|
|
15648
16191
|
}
|
|
16192
|
+
/**
|
|
16193
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16194
|
+
*
|
|
16195
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16196
|
+
* @return DescribeDBClusterParametersResponse
|
|
16197
|
+
*/
|
|
15649
16198
|
async describeDBClusterParameters(request) {
|
|
15650
16199
|
let runtime = new $Util.RuntimeOptions({});
|
|
15651
16200
|
return await this.describeDBClusterParametersWithOptions(request, runtime);
|
|
15652
16201
|
}
|
|
15653
16202
|
/**
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
16203
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16204
|
+
*
|
|
16205
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16206
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16207
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16208
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16209
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16210
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16211
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16212
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16213
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16214
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16215
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16216
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16217
|
+
*
|
|
16218
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16219
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16220
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15670
16221
|
*/
|
|
15671
16222
|
async describeDBClusterPerformanceWithOptions(request, runtime) {
|
|
15672
16223
|
tea_util_1.default.validateModel(request);
|
|
@@ -15703,26 +16254,35 @@ class Client extends openapi_client_1.default {
|
|
|
15703
16254
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15704
16255
|
}
|
|
15705
16256
|
/**
|
|
15706
|
-
|
|
15707
|
-
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
|
|
16257
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16258
|
+
*
|
|
16259
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16260
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16261
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16262
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16263
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16264
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16265
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16266
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16267
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16268
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16269
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16270
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16271
|
+
*
|
|
16272
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16273
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15721
16274
|
*/
|
|
15722
16275
|
async describeDBClusterPerformance(request) {
|
|
15723
16276
|
let runtime = new $Util.RuntimeOptions({});
|
|
15724
16277
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
15725
16278
|
}
|
|
16279
|
+
/**
|
|
16280
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16281
|
+
*
|
|
16282
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16283
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16284
|
+
* @return DescribeDBClusterSSLResponse
|
|
16285
|
+
*/
|
|
15726
16286
|
async describeDBClusterSSLWithOptions(request, runtime) {
|
|
15727
16287
|
tea_util_1.default.validateModel(request);
|
|
15728
16288
|
let query = {};
|
|
@@ -15757,10 +16317,23 @@ class Client extends openapi_client_1.default {
|
|
|
15757
16317
|
});
|
|
15758
16318
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
|
|
15759
16319
|
}
|
|
16320
|
+
/**
|
|
16321
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16322
|
+
*
|
|
16323
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16324
|
+
* @return DescribeDBClusterSSLResponse
|
|
16325
|
+
*/
|
|
15760
16326
|
async describeDBClusterSSL(request) {
|
|
15761
16327
|
let runtime = new $Util.RuntimeOptions({});
|
|
15762
16328
|
return await this.describeDBClusterSSLWithOptions(request, runtime);
|
|
15763
16329
|
}
|
|
16330
|
+
/**
|
|
16331
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16332
|
+
*
|
|
16333
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16334
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16335
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16336
|
+
*/
|
|
15764
16337
|
async describeDBClusterServerlessConfWithOptions(request, runtime) {
|
|
15765
16338
|
tea_util_1.default.validateModel(request);
|
|
15766
16339
|
let query = {};
|
|
@@ -15795,10 +16368,23 @@ class Client extends openapi_client_1.default {
|
|
|
15795
16368
|
});
|
|
15796
16369
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
|
|
15797
16370
|
}
|
|
16371
|
+
/**
|
|
16372
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16373
|
+
*
|
|
16374
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16375
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16376
|
+
*/
|
|
15798
16377
|
async describeDBClusterServerlessConf(request) {
|
|
15799
16378
|
let runtime = new $Util.RuntimeOptions({});
|
|
15800
16379
|
return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
|
|
15801
16380
|
}
|
|
16381
|
+
/**
|
|
16382
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16383
|
+
*
|
|
16384
|
+
* @param request DescribeDBClusterTDERequest
|
|
16385
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16386
|
+
* @return DescribeDBClusterTDEResponse
|
|
16387
|
+
*/
|
|
15802
16388
|
async describeDBClusterTDEWithOptions(request, runtime) {
|
|
15803
16389
|
tea_util_1.default.validateModel(request);
|
|
15804
16390
|
let query = {};
|
|
@@ -15833,10 +16419,23 @@ class Client extends openapi_client_1.default {
|
|
|
15833
16419
|
});
|
|
15834
16420
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
|
|
15835
16421
|
}
|
|
16422
|
+
/**
|
|
16423
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16424
|
+
*
|
|
16425
|
+
* @param request DescribeDBClusterTDERequest
|
|
16426
|
+
* @return DescribeDBClusterTDEResponse
|
|
16427
|
+
*/
|
|
15836
16428
|
async describeDBClusterTDE(request) {
|
|
15837
16429
|
let runtime = new $Util.RuntimeOptions({});
|
|
15838
16430
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
15839
16431
|
}
|
|
16432
|
+
/**
|
|
16433
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16434
|
+
*
|
|
16435
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16437
|
+
* @return DescribeDBClusterVersionResponse
|
|
16438
|
+
*/
|
|
15840
16439
|
async describeDBClusterVersionWithOptions(request, runtime) {
|
|
15841
16440
|
tea_util_1.default.validateModel(request);
|
|
15842
16441
|
let query = {};
|
|
@@ -15874,10 +16473,23 @@ class Client extends openapi_client_1.default {
|
|
|
15874
16473
|
});
|
|
15875
16474
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
15876
16475
|
}
|
|
16476
|
+
/**
|
|
16477
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16478
|
+
*
|
|
16479
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16480
|
+
* @return DescribeDBClusterVersionResponse
|
|
16481
|
+
*/
|
|
15877
16482
|
async describeDBClusterVersion(request) {
|
|
15878
16483
|
let runtime = new $Util.RuntimeOptions({});
|
|
15879
16484
|
return await this.describeDBClusterVersionWithOptions(request, runtime);
|
|
15880
16485
|
}
|
|
16486
|
+
/**
|
|
16487
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16488
|
+
*
|
|
16489
|
+
* @param request DescribeDBClustersRequest
|
|
16490
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16491
|
+
* @return DescribeDBClustersResponse
|
|
16492
|
+
*/
|
|
15881
16493
|
async describeDBClustersWithOptions(request, runtime) {
|
|
15882
16494
|
tea_util_1.default.validateModel(request);
|
|
15883
16495
|
let query = {};
|
|
@@ -15960,10 +16572,23 @@ class Client extends openapi_client_1.default {
|
|
|
15960
16572
|
});
|
|
15961
16573
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15962
16574
|
}
|
|
16575
|
+
/**
|
|
16576
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16577
|
+
*
|
|
16578
|
+
* @param request DescribeDBClustersRequest
|
|
16579
|
+
* @return DescribeDBClustersResponse
|
|
16580
|
+
*/
|
|
15963
16581
|
async describeDBClusters(request) {
|
|
15964
16582
|
let runtime = new $Util.RuntimeOptions({});
|
|
15965
16583
|
return await this.describeDBClustersWithOptions(request, runtime);
|
|
15966
16584
|
}
|
|
16585
|
+
/**
|
|
16586
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16587
|
+
*
|
|
16588
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16589
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16590
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16591
|
+
*/
|
|
15967
16592
|
async describeDBClustersWithBackupsWithOptions(request, runtime) {
|
|
15968
16593
|
tea_util_1.default.validateModel(request);
|
|
15969
16594
|
let query = {};
|
|
@@ -16022,10 +16647,23 @@ class Client extends openapi_client_1.default {
|
|
|
16022
16647
|
});
|
|
16023
16648
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
|
|
16024
16649
|
}
|
|
16650
|
+
/**
|
|
16651
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16652
|
+
*
|
|
16653
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16654
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16655
|
+
*/
|
|
16025
16656
|
async describeDBClustersWithBackups(request) {
|
|
16026
16657
|
let runtime = new $Util.RuntimeOptions({});
|
|
16027
16658
|
return await this.describeDBClustersWithBackupsWithOptions(request, runtime);
|
|
16028
16659
|
}
|
|
16660
|
+
/**
|
|
16661
|
+
* @summary Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
|
|
16662
|
+
*
|
|
16663
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16665
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16666
|
+
*/
|
|
16029
16667
|
async describeDBInitializeVariableWithOptions(request, runtime) {
|
|
16030
16668
|
tea_util_1.default.validateModel(request);
|
|
16031
16669
|
let query = {};
|
|
@@ -16060,16 +16698,24 @@ class Client extends openapi_client_1.default {
|
|
|
16060
16698
|
});
|
|
16061
16699
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
|
|
16062
16700
|
}
|
|
16701
|
+
/**
|
|
16702
|
+
* @summary Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
|
|
16703
|
+
*
|
|
16704
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16705
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16706
|
+
*/
|
|
16063
16707
|
async describeDBInitializeVariable(request) {
|
|
16064
16708
|
let runtime = new $Util.RuntimeOptions({});
|
|
16065
16709
|
return await this.describeDBInitializeVariableWithOptions(request, runtime);
|
|
16066
16710
|
}
|
|
16067
16711
|
/**
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16712
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16713
|
+
*
|
|
16714
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16715
|
+
*
|
|
16716
|
+
* @param request DescribeDBLinksRequest
|
|
16717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16718
|
+
* @return DescribeDBLinksResponse
|
|
16073
16719
|
*/
|
|
16074
16720
|
async describeDBLinksWithOptions(request, runtime) {
|
|
16075
16721
|
tea_util_1.default.validateModel(request);
|
|
@@ -16109,32 +16755,36 @@ class Client extends openapi_client_1.default {
|
|
|
16109
16755
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
16110
16756
|
}
|
|
16111
16757
|
/**
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16758
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16759
|
+
*
|
|
16760
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16761
|
+
*
|
|
16762
|
+
* @param request DescribeDBLinksRequest
|
|
16763
|
+
* @return DescribeDBLinksResponse
|
|
16116
16764
|
*/
|
|
16117
16765
|
async describeDBLinks(request) {
|
|
16118
16766
|
let runtime = new $Util.RuntimeOptions({});
|
|
16119
16767
|
return await this.describeDBLinksWithOptions(request, runtime);
|
|
16120
16768
|
}
|
|
16121
16769
|
/**
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16770
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16771
|
+
*
|
|
16772
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16773
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16774
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16775
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16776
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16777
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16778
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16779
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16780
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16781
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16782
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16783
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16784
|
+
*
|
|
16785
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16787
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16138
16788
|
*/
|
|
16139
16789
|
async describeDBNodePerformanceWithOptions(request, runtime) {
|
|
16140
16790
|
tea_util_1.default.validateModel(request);
|
|
@@ -16177,26 +16827,35 @@ class Client extends openapi_client_1.default {
|
|
|
16177
16827
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
16178
16828
|
}
|
|
16179
16829
|
/**
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16830
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16831
|
+
*
|
|
16832
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16833
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16834
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16835
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16836
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16837
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16838
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16839
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16840
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16841
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16842
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16843
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16844
|
+
*
|
|
16845
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16846
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16195
16847
|
*/
|
|
16196
16848
|
async describeDBNodePerformance(request) {
|
|
16197
16849
|
let runtime = new $Util.RuntimeOptions({});
|
|
16198
16850
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
16199
16851
|
}
|
|
16852
|
+
/**
|
|
16853
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16854
|
+
*
|
|
16855
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16856
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16857
|
+
* @return DescribeDBNodesParametersResponse
|
|
16858
|
+
*/
|
|
16200
16859
|
async describeDBNodesParametersWithOptions(request, runtime) {
|
|
16201
16860
|
tea_util_1.default.validateModel(request);
|
|
16202
16861
|
let query = {};
|
|
@@ -16234,16 +16893,24 @@ class Client extends openapi_client_1.default {
|
|
|
16234
16893
|
});
|
|
16235
16894
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
|
|
16236
16895
|
}
|
|
16896
|
+
/**
|
|
16897
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16898
|
+
*
|
|
16899
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16900
|
+
* @return DescribeDBNodesParametersResponse
|
|
16901
|
+
*/
|
|
16237
16902
|
async describeDBNodesParameters(request) {
|
|
16238
16903
|
let runtime = new $Util.RuntimeOptions({});
|
|
16239
16904
|
return await this.describeDBNodesParametersWithOptions(request, runtime);
|
|
16240
16905
|
}
|
|
16241
16906
|
/**
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16907
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16908
|
+
*
|
|
16909
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16910
|
+
*
|
|
16911
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16912
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16913
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16247
16914
|
*/
|
|
16248
16915
|
async describeDBProxyPerformanceWithOptions(request, runtime) {
|
|
16249
16916
|
tea_util_1.default.validateModel(request);
|
|
@@ -16286,15 +16953,24 @@ class Client extends openapi_client_1.default {
|
|
|
16286
16953
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
16287
16954
|
}
|
|
16288
16955
|
/**
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16956
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16957
|
+
*
|
|
16958
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16959
|
+
*
|
|
16960
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16961
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16293
16962
|
*/
|
|
16294
16963
|
async describeDBProxyPerformance(request) {
|
|
16295
16964
|
let runtime = new $Util.RuntimeOptions({});
|
|
16296
16965
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
16297
16966
|
}
|
|
16967
|
+
/**
|
|
16968
|
+
* @summary 查看实例的 DAS 配置
|
|
16969
|
+
*
|
|
16970
|
+
* @param request DescribeDasConfigRequest
|
|
16971
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16972
|
+
* @return DescribeDasConfigResponse
|
|
16973
|
+
*/
|
|
16298
16974
|
async describeDasConfigWithOptions(request, runtime) {
|
|
16299
16975
|
tea_util_1.default.validateModel(request);
|
|
16300
16976
|
let query = {};
|
|
@@ -16329,10 +17005,23 @@ class Client extends openapi_client_1.default {
|
|
|
16329
17005
|
});
|
|
16330
17006
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
16331
17007
|
}
|
|
17008
|
+
/**
|
|
17009
|
+
* @summary 查看实例的 DAS 配置
|
|
17010
|
+
*
|
|
17011
|
+
* @param request DescribeDasConfigRequest
|
|
17012
|
+
* @return DescribeDasConfigResponse
|
|
17013
|
+
*/
|
|
16332
17014
|
async describeDasConfig(request) {
|
|
16333
17015
|
let runtime = new $Util.RuntimeOptions({});
|
|
16334
17016
|
return await this.describeDasConfigWithOptions(request, runtime);
|
|
16335
17017
|
}
|
|
17018
|
+
/**
|
|
17019
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17020
|
+
*
|
|
17021
|
+
* @param request DescribeDatabasesRequest
|
|
17022
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17023
|
+
* @return DescribeDatabasesResponse
|
|
17024
|
+
*/
|
|
16336
17025
|
async describeDatabasesWithOptions(request, runtime) {
|
|
16337
17026
|
tea_util_1.default.validateModel(request);
|
|
16338
17027
|
let query = {};
|
|
@@ -16376,17 +17065,25 @@ class Client extends openapi_client_1.default {
|
|
|
16376
17065
|
});
|
|
16377
17066
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
|
|
16378
17067
|
}
|
|
17068
|
+
/**
|
|
17069
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17070
|
+
*
|
|
17071
|
+
* @param request DescribeDatabasesRequest
|
|
17072
|
+
* @return DescribeDatabasesResponse
|
|
17073
|
+
*/
|
|
16379
17074
|
async describeDatabases(request) {
|
|
16380
17075
|
let runtime = new $Util.RuntimeOptions({});
|
|
16381
17076
|
return await this.describeDatabasesWithOptions(request, runtime);
|
|
16382
17077
|
}
|
|
16383
17078
|
/**
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
17079
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17080
|
+
*
|
|
17081
|
+
* @description Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
17082
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17083
|
+
*
|
|
17084
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17085
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17086
|
+
* @return DescribeDetachedBackupsResponse
|
|
16390
17087
|
*/
|
|
16391
17088
|
async describeDetachedBackupsWithOptions(request, runtime) {
|
|
16392
17089
|
tea_util_1.default.validateModel(request);
|
|
@@ -16447,16 +17144,25 @@ class Client extends openapi_client_1.default {
|
|
|
16447
17144
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
16448
17145
|
}
|
|
16449
17146
|
/**
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
17147
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17148
|
+
*
|
|
17149
|
+
* @description Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
17150
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17151
|
+
*
|
|
17152
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17153
|
+
* @return DescribeDetachedBackupsResponse
|
|
16455
17154
|
*/
|
|
16456
17155
|
async describeDetachedBackups(request) {
|
|
16457
17156
|
let runtime = new $Util.RuntimeOptions({});
|
|
16458
17157
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
16459
17158
|
}
|
|
17159
|
+
/**
|
|
17160
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17161
|
+
*
|
|
17162
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17163
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17164
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17165
|
+
*/
|
|
16460
17166
|
async describeGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
16461
17167
|
tea_util_1.default.validateModel(request);
|
|
16462
17168
|
let query = {};
|
|
@@ -16497,10 +17203,23 @@ class Client extends openapi_client_1.default {
|
|
|
16497
17203
|
});
|
|
16498
17204
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
|
|
16499
17205
|
}
|
|
17206
|
+
/**
|
|
17207
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17208
|
+
*
|
|
17209
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17210
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17211
|
+
*/
|
|
16500
17212
|
async describeGlobalDatabaseNetwork(request) {
|
|
16501
17213
|
let runtime = new $Util.RuntimeOptions({});
|
|
16502
17214
|
return await this.describeGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
16503
17215
|
}
|
|
17216
|
+
/**
|
|
17217
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17218
|
+
*
|
|
17219
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17220
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17221
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17222
|
+
*/
|
|
16504
17223
|
async describeGlobalDatabaseNetworksWithOptions(request, runtime) {
|
|
16505
17224
|
tea_util_1.default.validateModel(request);
|
|
16506
17225
|
let query = {};
|
|
@@ -16556,10 +17275,23 @@ class Client extends openapi_client_1.default {
|
|
|
16556
17275
|
});
|
|
16557
17276
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
|
|
16558
17277
|
}
|
|
17278
|
+
/**
|
|
17279
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17280
|
+
*
|
|
17281
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17282
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17283
|
+
*/
|
|
16559
17284
|
async describeGlobalDatabaseNetworks(request) {
|
|
16560
17285
|
let runtime = new $Util.RuntimeOptions({});
|
|
16561
17286
|
return await this.describeGlobalDatabaseNetworksWithOptions(request, runtime);
|
|
16562
17287
|
}
|
|
17288
|
+
/**
|
|
17289
|
+
* @summary Queries global IP whitelist templates.
|
|
17290
|
+
*
|
|
17291
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17292
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17293
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17294
|
+
*/
|
|
16563
17295
|
async describeGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
16564
17296
|
tea_util_1.default.validateModel(request);
|
|
16565
17297
|
let query = {};
|
|
@@ -16603,10 +17335,23 @@ class Client extends openapi_client_1.default {
|
|
|
16603
17335
|
});
|
|
16604
17336
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
|
|
16605
17337
|
}
|
|
17338
|
+
/**
|
|
17339
|
+
* @summary Queries global IP whitelist templates.
|
|
17340
|
+
*
|
|
17341
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17342
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17343
|
+
*/
|
|
16606
17344
|
async describeGlobalSecurityIPGroup(request) {
|
|
16607
17345
|
let runtime = new $Util.RuntimeOptions({});
|
|
16608
17346
|
return await this.describeGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
16609
17347
|
}
|
|
17348
|
+
/**
|
|
17349
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17350
|
+
*
|
|
17351
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17352
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17353
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17354
|
+
*/
|
|
16610
17355
|
async describeGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
16611
17356
|
tea_util_1.default.validateModel(request);
|
|
16612
17357
|
let query = {};
|
|
@@ -16650,10 +17395,23 @@ class Client extends openapi_client_1.default {
|
|
|
16650
17395
|
});
|
|
16651
17396
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
16652
17397
|
}
|
|
17398
|
+
/**
|
|
17399
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17400
|
+
*
|
|
17401
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17402
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17403
|
+
*/
|
|
16653
17404
|
async describeGlobalSecurityIPGroupRelation(request) {
|
|
16654
17405
|
let runtime = new $Util.RuntimeOptions({});
|
|
16655
17406
|
return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
16656
17407
|
}
|
|
17408
|
+
/**
|
|
17409
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17410
|
+
*
|
|
17411
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17412
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17413
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17414
|
+
*/
|
|
16657
17415
|
async describeLogBackupPolicyWithOptions(request, runtime) {
|
|
16658
17416
|
tea_util_1.default.validateModel(request);
|
|
16659
17417
|
let query = {};
|
|
@@ -16688,10 +17446,23 @@ class Client extends openapi_client_1.default {
|
|
|
16688
17446
|
});
|
|
16689
17447
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
|
|
16690
17448
|
}
|
|
17449
|
+
/**
|
|
17450
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17451
|
+
*
|
|
17452
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17453
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17454
|
+
*/
|
|
16691
17455
|
async describeLogBackupPolicy(request) {
|
|
16692
17456
|
let runtime = new $Util.RuntimeOptions({});
|
|
16693
17457
|
return await this.describeLogBackupPolicyWithOptions(request, runtime);
|
|
16694
17458
|
}
|
|
17459
|
+
/**
|
|
17460
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17461
|
+
*
|
|
17462
|
+
* @param request DescribeMaskingRulesRequest
|
|
17463
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17464
|
+
* @return DescribeMaskingRulesResponse
|
|
17465
|
+
*/
|
|
16695
17466
|
async describeMaskingRulesWithOptions(request, runtime) {
|
|
16696
17467
|
tea_util_1.default.validateModel(request);
|
|
16697
17468
|
let query = {};
|
|
@@ -16717,10 +17488,23 @@ class Client extends openapi_client_1.default {
|
|
|
16717
17488
|
});
|
|
16718
17489
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
|
|
16719
17490
|
}
|
|
17491
|
+
/**
|
|
17492
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17493
|
+
*
|
|
17494
|
+
* @param request DescribeMaskingRulesRequest
|
|
17495
|
+
* @return DescribeMaskingRulesResponse
|
|
17496
|
+
*/
|
|
16720
17497
|
async describeMaskingRules(request) {
|
|
16721
17498
|
let runtime = new $Util.RuntimeOptions({});
|
|
16722
17499
|
return await this.describeMaskingRulesWithOptions(request, runtime);
|
|
16723
17500
|
}
|
|
17501
|
+
/**
|
|
17502
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17503
|
+
*
|
|
17504
|
+
* @param request DescribeMetaListRequest
|
|
17505
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17506
|
+
* @return DescribeMetaListResponse
|
|
17507
|
+
*/
|
|
16724
17508
|
async describeMetaListWithOptions(request, runtime) {
|
|
16725
17509
|
tea_util_1.default.validateModel(request);
|
|
16726
17510
|
let query = {};
|
|
@@ -16776,17 +17560,25 @@ class Client extends openapi_client_1.default {
|
|
|
16776
17560
|
});
|
|
16777
17561
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
|
|
16778
17562
|
}
|
|
17563
|
+
/**
|
|
17564
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17565
|
+
*
|
|
17566
|
+
* @param request DescribeMetaListRequest
|
|
17567
|
+
* @return DescribeMetaListResponse
|
|
17568
|
+
*/
|
|
16779
17569
|
async describeMetaList(request) {
|
|
16780
17570
|
let runtime = new $Util.RuntimeOptions({});
|
|
16781
17571
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
16782
17572
|
}
|
|
16783
17573
|
/**
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
|
|
17574
|
+
* @summary Queries the information about a parameter template.
|
|
17575
|
+
*
|
|
17576
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17577
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17578
|
+
*
|
|
17579
|
+
* @param request DescribeParameterGroupRequest
|
|
17580
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17581
|
+
* @return DescribeParameterGroupResponse
|
|
16790
17582
|
*/
|
|
16791
17583
|
async describeParameterGroupWithOptions(request, runtime) {
|
|
16792
17584
|
tea_util_1.default.validateModel(request);
|
|
@@ -16829,23 +17621,27 @@ class Client extends openapi_client_1.default {
|
|
|
16829
17621
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
16830
17622
|
}
|
|
16831
17623
|
/**
|
|
16832
|
-
|
|
16833
|
-
|
|
16834
|
-
|
|
16835
|
-
|
|
16836
|
-
|
|
17624
|
+
* @summary Queries the information about a parameter template.
|
|
17625
|
+
*
|
|
17626
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17627
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17628
|
+
*
|
|
17629
|
+
* @param request DescribeParameterGroupRequest
|
|
17630
|
+
* @return DescribeParameterGroupResponse
|
|
16837
17631
|
*/
|
|
16838
17632
|
async describeParameterGroup(request) {
|
|
16839
17633
|
let runtime = new $Util.RuntimeOptions({});
|
|
16840
17634
|
return await this.describeParameterGroupWithOptions(request, runtime);
|
|
16841
17635
|
}
|
|
16842
17636
|
/**
|
|
16843
|
-
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
|
|
16848
|
-
|
|
17637
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17638
|
+
*
|
|
17639
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17640
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17641
|
+
*
|
|
17642
|
+
* @param request DescribeParameterGroupsRequest
|
|
17643
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17644
|
+
* @return DescribeParameterGroupsResponse
|
|
16849
17645
|
*/
|
|
16850
17646
|
async describeParameterGroupsWithOptions(request, runtime) {
|
|
16851
17647
|
tea_util_1.default.validateModel(request);
|
|
@@ -16891,16 +17687,25 @@ class Client extends openapi_client_1.default {
|
|
|
16891
17687
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
16892
17688
|
}
|
|
16893
17689
|
/**
|
|
16894
|
-
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
17690
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17691
|
+
*
|
|
17692
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17693
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17694
|
+
*
|
|
17695
|
+
* @param request DescribeParameterGroupsRequest
|
|
17696
|
+
* @return DescribeParameterGroupsResponse
|
|
16899
17697
|
*/
|
|
16900
17698
|
async describeParameterGroups(request) {
|
|
16901
17699
|
let runtime = new $Util.RuntimeOptions({});
|
|
16902
17700
|
return await this.describeParameterGroupsWithOptions(request, runtime);
|
|
16903
17701
|
}
|
|
17702
|
+
/**
|
|
17703
|
+
* @summary Queries the default parameters in a cluster.
|
|
17704
|
+
*
|
|
17705
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17706
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17707
|
+
* @return DescribeParameterTemplatesResponse
|
|
17708
|
+
*/
|
|
16904
17709
|
async describeParameterTemplatesWithOptions(request, runtime) {
|
|
16905
17710
|
tea_util_1.default.validateModel(request);
|
|
16906
17711
|
let query = {};
|
|
@@ -16944,10 +17749,23 @@ class Client extends openapi_client_1.default {
|
|
|
16944
17749
|
});
|
|
16945
17750
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
|
|
16946
17751
|
}
|
|
17752
|
+
/**
|
|
17753
|
+
* @summary Queries the default parameters in a cluster.
|
|
17754
|
+
*
|
|
17755
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17756
|
+
* @return DescribeParameterTemplatesResponse
|
|
17757
|
+
*/
|
|
16947
17758
|
async describeParameterTemplates(request) {
|
|
16948
17759
|
let runtime = new $Util.RuntimeOptions({});
|
|
16949
17760
|
return await this.describeParameterTemplatesWithOptions(request, runtime);
|
|
16950
17761
|
}
|
|
17762
|
+
/**
|
|
17763
|
+
* @summary Queries the information about a pending event.
|
|
17764
|
+
*
|
|
17765
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17766
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17767
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17768
|
+
*/
|
|
16951
17769
|
async describePendingMaintenanceActionWithOptions(request, runtime) {
|
|
16952
17770
|
tea_util_1.default.validateModel(request);
|
|
16953
17771
|
let query = {};
|
|
@@ -17000,10 +17818,23 @@ class Client extends openapi_client_1.default {
|
|
|
17000
17818
|
});
|
|
17001
17819
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
|
|
17002
17820
|
}
|
|
17821
|
+
/**
|
|
17822
|
+
* @summary Queries the information about a pending event.
|
|
17823
|
+
*
|
|
17824
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17825
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17826
|
+
*/
|
|
17003
17827
|
async describePendingMaintenanceAction(request) {
|
|
17004
17828
|
let runtime = new $Util.RuntimeOptions({});
|
|
17005
17829
|
return await this.describePendingMaintenanceActionWithOptions(request, runtime);
|
|
17006
17830
|
}
|
|
17831
|
+
/**
|
|
17832
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17833
|
+
*
|
|
17834
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17835
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17836
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17837
|
+
*/
|
|
17007
17838
|
async describePendingMaintenanceActionsWithOptions(request, runtime) {
|
|
17008
17839
|
tea_util_1.default.validateModel(request);
|
|
17009
17840
|
let query = {};
|
|
@@ -17047,10 +17878,23 @@ class Client extends openapi_client_1.default {
|
|
|
17047
17878
|
});
|
|
17048
17879
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
|
|
17049
17880
|
}
|
|
17881
|
+
/**
|
|
17882
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17883
|
+
*
|
|
17884
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17885
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17886
|
+
*/
|
|
17050
17887
|
async describePendingMaintenanceActions(request) {
|
|
17051
17888
|
let runtime = new $Util.RuntimeOptions({});
|
|
17052
17889
|
return await this.describePendingMaintenanceActionsWithOptions(request, runtime);
|
|
17053
17890
|
}
|
|
17891
|
+
/**
|
|
17892
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17893
|
+
*
|
|
17894
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17895
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17896
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17897
|
+
*/
|
|
17054
17898
|
async describePolarSQLCollectorPolicyWithOptions(request, runtime) {
|
|
17055
17899
|
tea_util_1.default.validateModel(request);
|
|
17056
17900
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -17070,10 +17914,23 @@ class Client extends openapi_client_1.default {
|
|
|
17070
17914
|
});
|
|
17071
17915
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
|
|
17072
17916
|
}
|
|
17917
|
+
/**
|
|
17918
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17919
|
+
*
|
|
17920
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17921
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17922
|
+
*/
|
|
17073
17923
|
async describePolarSQLCollectorPolicy(request) {
|
|
17074
17924
|
let runtime = new $Util.RuntimeOptions({});
|
|
17075
17925
|
return await this.describePolarSQLCollectorPolicyWithOptions(request, runtime);
|
|
17076
17926
|
}
|
|
17927
|
+
/**
|
|
17928
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17929
|
+
*
|
|
17930
|
+
* @param request DescribeRegionsRequest
|
|
17931
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17932
|
+
* @return DescribeRegionsResponse
|
|
17933
|
+
*/
|
|
17077
17934
|
async describeRegionsWithOptions(request, runtime) {
|
|
17078
17935
|
tea_util_1.default.validateModel(request);
|
|
17079
17936
|
let query = {};
|
|
@@ -17105,10 +17962,23 @@ class Client extends openapi_client_1.default {
|
|
|
17105
17962
|
});
|
|
17106
17963
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17107
17964
|
}
|
|
17965
|
+
/**
|
|
17966
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17967
|
+
*
|
|
17968
|
+
* @param request DescribeRegionsRequest
|
|
17969
|
+
* @return DescribeRegionsResponse
|
|
17970
|
+
*/
|
|
17108
17971
|
async describeRegions(request) {
|
|
17109
17972
|
let runtime = new $Util.RuntimeOptions({});
|
|
17110
17973
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
17111
17974
|
}
|
|
17975
|
+
/**
|
|
17976
|
+
* @summary Queries the details of all scheduled tasks.
|
|
17977
|
+
*
|
|
17978
|
+
* @param request DescribeScheduleTasksRequest
|
|
17979
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17980
|
+
* @return DescribeScheduleTasksResponse
|
|
17981
|
+
*/
|
|
17112
17982
|
async describeScheduleTasksWithOptions(request, runtime) {
|
|
17113
17983
|
tea_util_1.default.validateModel(request);
|
|
17114
17984
|
let query = {};
|
|
@@ -17173,16 +18043,24 @@ class Client extends openapi_client_1.default {
|
|
|
17173
18043
|
});
|
|
17174
18044
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
|
|
17175
18045
|
}
|
|
18046
|
+
/**
|
|
18047
|
+
* @summary Queries the details of all scheduled tasks.
|
|
18048
|
+
*
|
|
18049
|
+
* @param request DescribeScheduleTasksRequest
|
|
18050
|
+
* @return DescribeScheduleTasksResponse
|
|
18051
|
+
*/
|
|
17176
18052
|
async describeScheduleTasks(request) {
|
|
17177
18053
|
let runtime = new $Util.RuntimeOptions({});
|
|
17178
18054
|
return await this.describeScheduleTasksWithOptions(request, runtime);
|
|
17179
18055
|
}
|
|
17180
18056
|
/**
|
|
17181
|
-
|
|
17182
|
-
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
|
|
18057
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18058
|
+
*
|
|
18059
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18060
|
+
*
|
|
18061
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18062
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18063
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17186
18064
|
*/
|
|
17187
18065
|
async describeSlowLogRecordsWithOptions(request, runtime) {
|
|
17188
18066
|
tea_util_1.default.validateModel(request);
|
|
@@ -17240,21 +18118,25 @@ class Client extends openapi_client_1.default {
|
|
|
17240
18118
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
17241
18119
|
}
|
|
17242
18120
|
/**
|
|
17243
|
-
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
|
|
18121
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18122
|
+
*
|
|
18123
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18124
|
+
*
|
|
18125
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18126
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17247
18127
|
*/
|
|
17248
18128
|
async describeSlowLogRecords(request) {
|
|
17249
18129
|
let runtime = new $Util.RuntimeOptions({});
|
|
17250
18130
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
17251
18131
|
}
|
|
17252
18132
|
/**
|
|
17253
|
-
|
|
17254
|
-
|
|
17255
|
-
|
|
17256
|
-
|
|
17257
|
-
|
|
18133
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18134
|
+
*
|
|
18135
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18136
|
+
*
|
|
18137
|
+
* @param request DescribeSlowLogsRequest
|
|
18138
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18139
|
+
* @return DescribeSlowLogsResponse
|
|
17258
18140
|
*/
|
|
17259
18141
|
async describeSlowLogsWithOptions(request, runtime) {
|
|
17260
18142
|
tea_util_1.default.validateModel(request);
|
|
@@ -17309,22 +18191,26 @@ class Client extends openapi_client_1.default {
|
|
|
17309
18191
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
17310
18192
|
}
|
|
17311
18193
|
/**
|
|
17312
|
-
|
|
17313
|
-
|
|
17314
|
-
|
|
17315
|
-
|
|
18194
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18195
|
+
*
|
|
18196
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18197
|
+
*
|
|
18198
|
+
* @param request DescribeSlowLogsRequest
|
|
18199
|
+
* @return DescribeSlowLogsResponse
|
|
17316
18200
|
*/
|
|
17317
18201
|
async describeSlowLogs(request) {
|
|
17318
18202
|
let runtime = new $Util.RuntimeOptions({});
|
|
17319
18203
|
return await this.describeSlowLogsWithOptions(request, runtime);
|
|
17320
18204
|
}
|
|
17321
18205
|
/**
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17325
|
-
|
|
17326
|
-
|
|
17327
|
-
|
|
18206
|
+
* @summary Queries the details of the tasks that are generated by calling API operations. For example, you can call this operation to view the details of the task when you create a cluster.
|
|
18207
|
+
*
|
|
18208
|
+
* @description * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation or [create a cluster](https://help.aliyun.com/document_detail/58769.html) in the console.
|
|
18209
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
18210
|
+
*
|
|
18211
|
+
* @param request DescribeTasksRequest
|
|
18212
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18213
|
+
* @return DescribeTasksResponse
|
|
17328
18214
|
*/
|
|
17329
18215
|
async describeTasksWithOptions(request, runtime) {
|
|
17330
18216
|
tea_util_1.default.validateModel(request);
|
|
@@ -17379,16 +18265,25 @@ class Client extends openapi_client_1.default {
|
|
|
17379
18265
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
17380
18266
|
}
|
|
17381
18267
|
/**
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
18268
|
+
* @summary Queries the details of the tasks that are generated by calling API operations. For example, you can call this operation to view the details of the task when you create a cluster.
|
|
18269
|
+
*
|
|
18270
|
+
* @description * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation or [create a cluster](https://help.aliyun.com/document_detail/58769.html) in the console.
|
|
18271
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
18272
|
+
*
|
|
18273
|
+
* @param request DescribeTasksRequest
|
|
18274
|
+
* @return DescribeTasksResponse
|
|
17387
18275
|
*/
|
|
17388
18276
|
async describeTasks(request) {
|
|
17389
18277
|
let runtime = new $Util.RuntimeOptions({});
|
|
17390
18278
|
return await this.describeTasksWithOptions(request, runtime);
|
|
17391
18279
|
}
|
|
18280
|
+
/**
|
|
18281
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18282
|
+
*
|
|
18283
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18284
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18285
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18286
|
+
*/
|
|
17392
18287
|
async describeUserEncryptionKeyListWithOptions(request, runtime) {
|
|
17393
18288
|
tea_util_1.default.validateModel(request);
|
|
17394
18289
|
let query = {};
|
|
@@ -17429,10 +18324,23 @@ class Client extends openapi_client_1.default {
|
|
|
17429
18324
|
});
|
|
17430
18325
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
17431
18326
|
}
|
|
18327
|
+
/**
|
|
18328
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18329
|
+
*
|
|
18330
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18331
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18332
|
+
*/
|
|
17432
18333
|
async describeUserEncryptionKeyList(request) {
|
|
17433
18334
|
let runtime = new $Util.RuntimeOptions({});
|
|
17434
18335
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
17435
18336
|
}
|
|
18337
|
+
/**
|
|
18338
|
+
* @summary Queries a vSwitch.
|
|
18339
|
+
*
|
|
18340
|
+
* @param request DescribeVSwitchesRequest
|
|
18341
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18342
|
+
* @return DescribeVSwitchesResponse
|
|
18343
|
+
*/
|
|
17436
18344
|
async describeVSwitchesWithOptions(request, runtime) {
|
|
17437
18345
|
tea_util_1.default.validateModel(request);
|
|
17438
18346
|
let query = {};
|
|
@@ -17488,10 +18396,23 @@ class Client extends openapi_client_1.default {
|
|
|
17488
18396
|
});
|
|
17489
18397
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
17490
18398
|
}
|
|
18399
|
+
/**
|
|
18400
|
+
* @summary Queries a vSwitch.
|
|
18401
|
+
*
|
|
18402
|
+
* @param request DescribeVSwitchesRequest
|
|
18403
|
+
* @return DescribeVSwitchesResponse
|
|
18404
|
+
*/
|
|
17491
18405
|
async describeVSwitches(request) {
|
|
17492
18406
|
let runtime = new $Util.RuntimeOptions({});
|
|
17493
18407
|
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
17494
18408
|
}
|
|
18409
|
+
/**
|
|
18410
|
+
* @summary Disables a stable serverless cluster.
|
|
18411
|
+
*
|
|
18412
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18413
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18414
|
+
* @return DisableDBClusterServerlessResponse
|
|
18415
|
+
*/
|
|
17495
18416
|
async disableDBClusterServerlessWithOptions(request, runtime) {
|
|
17496
18417
|
tea_util_1.default.validateModel(request);
|
|
17497
18418
|
let query = {};
|
|
@@ -17526,10 +18447,23 @@ class Client extends openapi_client_1.default {
|
|
|
17526
18447
|
});
|
|
17527
18448
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
|
|
17528
18449
|
}
|
|
18450
|
+
/**
|
|
18451
|
+
* @summary Disables a stable serverless cluster.
|
|
18452
|
+
*
|
|
18453
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18454
|
+
* @return DisableDBClusterServerlessResponse
|
|
18455
|
+
*/
|
|
17529
18456
|
async disableDBClusterServerless(request) {
|
|
17530
18457
|
let runtime = new $Util.RuntimeOptions({});
|
|
17531
18458
|
return await this.disableDBClusterServerlessWithOptions(request, runtime);
|
|
17532
18459
|
}
|
|
18460
|
+
/**
|
|
18461
|
+
* @summary Enables a stable serverless cluster.
|
|
18462
|
+
*
|
|
18463
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18464
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18465
|
+
* @return EnableDBClusterServerlessResponse
|
|
18466
|
+
*/
|
|
17533
18467
|
async enableDBClusterServerlessWithOptions(request, runtime) {
|
|
17534
18468
|
tea_util_1.default.validateModel(request);
|
|
17535
18469
|
let query = {};
|
|
@@ -17582,10 +18516,23 @@ class Client extends openapi_client_1.default {
|
|
|
17582
18516
|
});
|
|
17583
18517
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
|
|
17584
18518
|
}
|
|
18519
|
+
/**
|
|
18520
|
+
* @summary Enables a stable serverless cluster.
|
|
18521
|
+
*
|
|
18522
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18523
|
+
* @return EnableDBClusterServerlessResponse
|
|
18524
|
+
*/
|
|
17585
18525
|
async enableDBClusterServerless(request) {
|
|
17586
18526
|
let runtime = new $Util.RuntimeOptions({});
|
|
17587
18527
|
return await this.enableDBClusterServerlessWithOptions(request, runtime);
|
|
17588
18528
|
}
|
|
18529
|
+
/**
|
|
18530
|
+
* @summary 修改sql防火墙状态
|
|
18531
|
+
*
|
|
18532
|
+
* @param request EnableFirewallRulesRequest
|
|
18533
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18534
|
+
* @return EnableFirewallRulesResponse
|
|
18535
|
+
*/
|
|
17589
18536
|
async enableFirewallRulesWithOptions(request, runtime) {
|
|
17590
18537
|
tea_util_1.default.validateModel(request);
|
|
17591
18538
|
let query = {};
|
|
@@ -17626,10 +18573,23 @@ class Client extends openapi_client_1.default {
|
|
|
17626
18573
|
});
|
|
17627
18574
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
|
|
17628
18575
|
}
|
|
18576
|
+
/**
|
|
18577
|
+
* @summary 修改sql防火墙状态
|
|
18578
|
+
*
|
|
18579
|
+
* @param request EnableFirewallRulesRequest
|
|
18580
|
+
* @return EnableFirewallRulesResponse
|
|
18581
|
+
*/
|
|
17629
18582
|
async enableFirewallRules(request) {
|
|
17630
18583
|
let runtime = new $Util.RuntimeOptions({});
|
|
17631
18584
|
return await this.enableFirewallRulesWithOptions(request, runtime);
|
|
17632
18585
|
}
|
|
18586
|
+
/**
|
|
18587
|
+
* @summary Evaluates available resources.
|
|
18588
|
+
*
|
|
18589
|
+
* @param request EvaluateRegionResourceRequest
|
|
18590
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18591
|
+
* @return EvaluateRegionResourceResponse
|
|
18592
|
+
*/
|
|
17633
18593
|
async evaluateRegionResourceWithOptions(request, runtime) {
|
|
17634
18594
|
tea_util_1.default.validateModel(request);
|
|
17635
18595
|
let query = {};
|
|
@@ -17691,10 +18651,23 @@ class Client extends openapi_client_1.default {
|
|
|
17691
18651
|
});
|
|
17692
18652
|
return $tea.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
|
|
17693
18653
|
}
|
|
18654
|
+
/**
|
|
18655
|
+
* @summary Evaluates available resources.
|
|
18656
|
+
*
|
|
18657
|
+
* @param request EvaluateRegionResourceRequest
|
|
18658
|
+
* @return EvaluateRegionResourceResponse
|
|
18659
|
+
*/
|
|
17694
18660
|
async evaluateRegionResource(request) {
|
|
17695
18661
|
let runtime = new $Util.RuntimeOptions({});
|
|
17696
18662
|
return await this.evaluateRegionResourceWithOptions(request, runtime);
|
|
17697
18663
|
}
|
|
18664
|
+
/**
|
|
18665
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18666
|
+
*
|
|
18667
|
+
* @param request FailoverDBClusterRequest
|
|
18668
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18669
|
+
* @return FailoverDBClusterResponse
|
|
18670
|
+
*/
|
|
17698
18671
|
async failoverDBClusterWithOptions(request, runtime) {
|
|
17699
18672
|
tea_util_1.default.validateModel(request);
|
|
17700
18673
|
let query = {};
|
|
@@ -17738,20 +18711,28 @@ class Client extends openapi_client_1.default {
|
|
|
17738
18711
|
});
|
|
17739
18712
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
|
|
17740
18713
|
}
|
|
18714
|
+
/**
|
|
18715
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18716
|
+
*
|
|
18717
|
+
* @param request FailoverDBClusterRequest
|
|
18718
|
+
* @return FailoverDBClusterResponse
|
|
18719
|
+
*/
|
|
17741
18720
|
async failoverDBCluster(request) {
|
|
17742
18721
|
let runtime = new $Util.RuntimeOptions({});
|
|
17743
18722
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
17744
18723
|
}
|
|
17745
18724
|
/**
|
|
17746
|
-
|
|
17747
|
-
|
|
17748
|
-
|
|
17749
|
-
|
|
17750
|
-
|
|
17751
|
-
|
|
17752
|
-
|
|
17753
|
-
|
|
17754
|
-
|
|
18725
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18726
|
+
*
|
|
18727
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18728
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18729
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18730
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18731
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18732
|
+
*
|
|
18733
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18734
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18735
|
+
* @return GrantAccountPrivilegeResponse
|
|
17755
18736
|
*/
|
|
17756
18737
|
async grantAccountPrivilegeWithOptions(request, runtime) {
|
|
17757
18738
|
tea_util_1.default.validateModel(request);
|
|
@@ -17797,19 +18778,28 @@ class Client extends openapi_client_1.default {
|
|
|
17797
18778
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
17798
18779
|
}
|
|
17799
18780
|
/**
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
18781
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18782
|
+
*
|
|
18783
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18784
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18785
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18786
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18787
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18788
|
+
*
|
|
18789
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18790
|
+
* @return GrantAccountPrivilegeResponse
|
|
17808
18791
|
*/
|
|
17809
18792
|
async grantAccountPrivilege(request) {
|
|
17810
18793
|
let runtime = new $Util.RuntimeOptions({});
|
|
17811
18794
|
return await this.grantAccountPrivilegeWithOptions(request, runtime);
|
|
17812
18795
|
}
|
|
18796
|
+
/**
|
|
18797
|
+
* @summary Queries the tags that are bound to one or more PolarDB clusters, or queries the PolarDB clusters to which one or more tags are bound.
|
|
18798
|
+
*
|
|
18799
|
+
* @param request ListTagResourcesRequest
|
|
18800
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18801
|
+
* @return ListTagResourcesResponse
|
|
18802
|
+
*/
|
|
17813
18803
|
async listTagResourcesWithOptions(request, runtime) {
|
|
17814
18804
|
tea_util_1.default.validateModel(request);
|
|
17815
18805
|
let query = {};
|
|
@@ -17856,10 +18846,23 @@ class Client extends openapi_client_1.default {
|
|
|
17856
18846
|
});
|
|
17857
18847
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
17858
18848
|
}
|
|
18849
|
+
/**
|
|
18850
|
+
* @summary Queries the tags that are bound to one or more PolarDB clusters, or queries the PolarDB clusters to which one or more tags are bound.
|
|
18851
|
+
*
|
|
18852
|
+
* @param request ListTagResourcesRequest
|
|
18853
|
+
* @return ListTagResourcesResponse
|
|
18854
|
+
*/
|
|
17859
18855
|
async listTagResources(request) {
|
|
17860
18856
|
let runtime = new $Util.RuntimeOptions({});
|
|
17861
18857
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
17862
18858
|
}
|
|
18859
|
+
/**
|
|
18860
|
+
* @summary Manually starts a cluster.
|
|
18861
|
+
*
|
|
18862
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18863
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18864
|
+
* @return ManuallyStartDBClusterResponse
|
|
18865
|
+
*/
|
|
17863
18866
|
async manuallyStartDBClusterWithOptions(request, runtime) {
|
|
17864
18867
|
tea_util_1.default.validateModel(request);
|
|
17865
18868
|
let query = {};
|
|
@@ -17897,10 +18900,23 @@ class Client extends openapi_client_1.default {
|
|
|
17897
18900
|
});
|
|
17898
18901
|
return $tea.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
17899
18902
|
}
|
|
18903
|
+
/**
|
|
18904
|
+
* @summary Manually starts a cluster.
|
|
18905
|
+
*
|
|
18906
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18907
|
+
* @return ManuallyStartDBClusterResponse
|
|
18908
|
+
*/
|
|
17900
18909
|
async manuallyStartDBCluster(request) {
|
|
17901
18910
|
let runtime = new $Util.RuntimeOptions({});
|
|
17902
18911
|
return await this.manuallyStartDBClusterWithOptions(request, runtime);
|
|
17903
18912
|
}
|
|
18913
|
+
/**
|
|
18914
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18915
|
+
*
|
|
18916
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18917
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18918
|
+
* @return ModifyAccountDescriptionResponse
|
|
18919
|
+
*/
|
|
17904
18920
|
async modifyAccountDescriptionWithOptions(request, runtime) {
|
|
17905
18921
|
tea_util_1.default.validateModel(request);
|
|
17906
18922
|
let query = {};
|
|
@@ -17941,10 +18957,23 @@ class Client extends openapi_client_1.default {
|
|
|
17941
18957
|
});
|
|
17942
18958
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
17943
18959
|
}
|
|
18960
|
+
/**
|
|
18961
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18962
|
+
*
|
|
18963
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18964
|
+
* @return ModifyAccountDescriptionResponse
|
|
18965
|
+
*/
|
|
17944
18966
|
async modifyAccountDescription(request) {
|
|
17945
18967
|
let runtime = new $Util.RuntimeOptions({});
|
|
17946
18968
|
return await this.modifyAccountDescriptionWithOptions(request, runtime);
|
|
17947
18969
|
}
|
|
18970
|
+
/**
|
|
18971
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
18972
|
+
*
|
|
18973
|
+
* @param request ModifyAccountPasswordRequest
|
|
18974
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18975
|
+
* @return ModifyAccountPasswordResponse
|
|
18976
|
+
*/
|
|
17948
18977
|
async modifyAccountPasswordWithOptions(request, runtime) {
|
|
17949
18978
|
tea_util_1.default.validateModel(request);
|
|
17950
18979
|
let query = {};
|
|
@@ -17988,10 +19017,23 @@ class Client extends openapi_client_1.default {
|
|
|
17988
19017
|
});
|
|
17989
19018
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
|
|
17990
19019
|
}
|
|
19020
|
+
/**
|
|
19021
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
19022
|
+
*
|
|
19023
|
+
* @param request ModifyAccountPasswordRequest
|
|
19024
|
+
* @return ModifyAccountPasswordResponse
|
|
19025
|
+
*/
|
|
17991
19026
|
async modifyAccountPassword(request) {
|
|
17992
19027
|
let runtime = new $Util.RuntimeOptions({});
|
|
17993
19028
|
return await this.modifyAccountPasswordWithOptions(request, runtime);
|
|
17994
19029
|
}
|
|
19030
|
+
/**
|
|
19031
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19032
|
+
*
|
|
19033
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19035
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19036
|
+
*/
|
|
17995
19037
|
async modifyAutoRenewAttributeWithOptions(request, runtime) {
|
|
17996
19038
|
tea_util_1.default.validateModel(request);
|
|
17997
19039
|
let query = {};
|
|
@@ -18041,16 +19083,24 @@ class Client extends openapi_client_1.default {
|
|
|
18041
19083
|
});
|
|
18042
19084
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
|
|
18043
19085
|
}
|
|
19086
|
+
/**
|
|
19087
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19088
|
+
*
|
|
19089
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19090
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19091
|
+
*/
|
|
18044
19092
|
async modifyAutoRenewAttribute(request) {
|
|
18045
19093
|
let runtime = new $Util.RuntimeOptions({});
|
|
18046
19094
|
return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
|
|
18047
19095
|
}
|
|
18048
19096
|
/**
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
|
-
|
|
19097
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19098
|
+
*
|
|
19099
|
+
* @description > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
|
|
19100
|
+
*
|
|
19101
|
+
* @param request ModifyBackupPolicyRequest
|
|
19102
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19103
|
+
* @return ModifyBackupPolicyResponse
|
|
18054
19104
|
*/
|
|
18055
19105
|
async modifyBackupPolicyWithOptions(request, runtime) {
|
|
18056
19106
|
tea_util_1.default.validateModel(request);
|
|
@@ -18123,15 +19173,24 @@ class Client extends openapi_client_1.default {
|
|
|
18123
19173
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
18124
19174
|
}
|
|
18125
19175
|
/**
|
|
18126
|
-
|
|
18127
|
-
|
|
18128
|
-
|
|
18129
|
-
|
|
19176
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19177
|
+
*
|
|
19178
|
+
* @description > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
|
|
19179
|
+
*
|
|
19180
|
+
* @param request ModifyBackupPolicyRequest
|
|
19181
|
+
* @return ModifyBackupPolicyResponse
|
|
18130
19182
|
*/
|
|
18131
19183
|
async modifyBackupPolicy(request) {
|
|
18132
19184
|
let runtime = new $Util.RuntimeOptions({});
|
|
18133
19185
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
18134
19186
|
}
|
|
19187
|
+
/**
|
|
19188
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19189
|
+
*
|
|
19190
|
+
* @param request ModifyDBClusterRequest
|
|
19191
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19192
|
+
* @return ModifyDBClusterResponse
|
|
19193
|
+
*/
|
|
18135
19194
|
async modifyDBClusterWithOptions(request, runtime) {
|
|
18136
19195
|
tea_util_1.default.validateModel(request);
|
|
18137
19196
|
let query = {};
|
|
@@ -18184,10 +19243,23 @@ class Client extends openapi_client_1.default {
|
|
|
18184
19243
|
});
|
|
18185
19244
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
18186
19245
|
}
|
|
19246
|
+
/**
|
|
19247
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19248
|
+
*
|
|
19249
|
+
* @param request ModifyDBClusterRequest
|
|
19250
|
+
* @return ModifyDBClusterResponse
|
|
19251
|
+
*/
|
|
18187
19252
|
async modifyDBCluster(request) {
|
|
18188
19253
|
let runtime = new $Util.RuntimeOptions({});
|
|
18189
19254
|
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
18190
19255
|
}
|
|
19256
|
+
/**
|
|
19257
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19258
|
+
*
|
|
19259
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19261
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19262
|
+
*/
|
|
18191
19263
|
async modifyDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
18192
19264
|
tea_util_1.default.validateModel(request);
|
|
18193
19265
|
let query = {};
|
|
@@ -18240,10 +19312,23 @@ class Client extends openapi_client_1.default {
|
|
|
18240
19312
|
});
|
|
18241
19313
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
|
|
18242
19314
|
}
|
|
19315
|
+
/**
|
|
19316
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19317
|
+
*
|
|
19318
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19319
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19320
|
+
*/
|
|
18243
19321
|
async modifyDBClusterAccessWhitelist(request) {
|
|
18244
19322
|
let runtime = new $Util.RuntimeOptions({});
|
|
18245
19323
|
return await this.modifyDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
18246
19324
|
}
|
|
19325
|
+
/**
|
|
19326
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19327
|
+
*
|
|
19328
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19329
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19330
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19331
|
+
*/
|
|
18247
19332
|
async modifyDBClusterAndNodesParametersWithOptions(request, runtime) {
|
|
18248
19333
|
tea_util_1.default.validateModel(request);
|
|
18249
19334
|
let query = {};
|
|
@@ -18296,10 +19381,23 @@ class Client extends openapi_client_1.default {
|
|
|
18296
19381
|
});
|
|
18297
19382
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
|
|
18298
19383
|
}
|
|
19384
|
+
/**
|
|
19385
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19386
|
+
*
|
|
19387
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19388
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19389
|
+
*/
|
|
18299
19390
|
async modifyDBClusterAndNodesParameters(request) {
|
|
18300
19391
|
let runtime = new $Util.RuntimeOptions({});
|
|
18301
19392
|
return await this.modifyDBClusterAndNodesParametersWithOptions(request, runtime);
|
|
18302
19393
|
}
|
|
19394
|
+
/**
|
|
19395
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19396
|
+
*
|
|
19397
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19398
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19399
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19400
|
+
*/
|
|
18303
19401
|
async modifyDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
18304
19402
|
tea_util_1.default.validateModel(request);
|
|
18305
19403
|
let query = {};
|
|
@@ -18337,10 +19435,23 @@ class Client extends openapi_client_1.default {
|
|
|
18337
19435
|
});
|
|
18338
19436
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
|
|
18339
19437
|
}
|
|
19438
|
+
/**
|
|
19439
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19440
|
+
*
|
|
19441
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19442
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19443
|
+
*/
|
|
18340
19444
|
async modifyDBClusterAuditLogCollector(request) {
|
|
18341
19445
|
let runtime = new $Util.RuntimeOptions({});
|
|
18342
19446
|
return await this.modifyDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
18343
19447
|
}
|
|
19448
|
+
/**
|
|
19449
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19450
|
+
*
|
|
19451
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19452
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19453
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19454
|
+
*/
|
|
18344
19455
|
async modifyDBClusterDeletionWithOptions(request, runtime) {
|
|
18345
19456
|
tea_util_1.default.validateModel(request);
|
|
18346
19457
|
let query = {};
|
|
@@ -18378,10 +19489,23 @@ class Client extends openapi_client_1.default {
|
|
|
18378
19489
|
});
|
|
18379
19490
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
|
|
18380
19491
|
}
|
|
19492
|
+
/**
|
|
19493
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19494
|
+
*
|
|
19495
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19496
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19497
|
+
*/
|
|
18381
19498
|
async modifyDBClusterDeletion(request) {
|
|
18382
19499
|
let runtime = new $Util.RuntimeOptions({});
|
|
18383
19500
|
return await this.modifyDBClusterDeletionWithOptions(request, runtime);
|
|
18384
19501
|
}
|
|
19502
|
+
/**
|
|
19503
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19504
|
+
*
|
|
19505
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19506
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19507
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19508
|
+
*/
|
|
18385
19509
|
async modifyDBClusterDescriptionWithOptions(request, runtime) {
|
|
18386
19510
|
tea_util_1.default.validateModel(request);
|
|
18387
19511
|
let query = {};
|
|
@@ -18419,10 +19543,23 @@ class Client extends openapi_client_1.default {
|
|
|
18419
19543
|
});
|
|
18420
19544
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
18421
19545
|
}
|
|
19546
|
+
/**
|
|
19547
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19548
|
+
*
|
|
19549
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19550
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19551
|
+
*/
|
|
18422
19552
|
async modifyDBClusterDescription(request) {
|
|
18423
19553
|
let runtime = new $Util.RuntimeOptions({});
|
|
18424
19554
|
return await this.modifyDBClusterDescriptionWithOptions(request, runtime);
|
|
18425
19555
|
}
|
|
19556
|
+
/**
|
|
19557
|
+
* @summary Modifies the attributes of a specified PolarDB cluster endpoint. For example, you can modify the following attributes for the specified cluster endpoint: read/write mode, consistency level, transaction splitting, primary node accepts read requests, and connection pool. You can also call the operation to specify whether newly added nodes are automatically associated with the specified cluster endpoint.
|
|
19558
|
+
*
|
|
19559
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19561
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19562
|
+
*/
|
|
18426
19563
|
async modifyDBClusterEndpointWithOptions(request, runtime) {
|
|
18427
19564
|
tea_util_1.default.validateModel(request);
|
|
18428
19565
|
let query = {};
|
|
@@ -18475,16 +19612,24 @@ class Client extends openapi_client_1.default {
|
|
|
18475
19612
|
});
|
|
18476
19613
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
|
|
18477
19614
|
}
|
|
19615
|
+
/**
|
|
19616
|
+
* @summary Modifies the attributes of a specified PolarDB cluster endpoint. For example, you can modify the following attributes for the specified cluster endpoint: read/write mode, consistency level, transaction splitting, primary node accepts read requests, and connection pool. You can also call the operation to specify whether newly added nodes are automatically associated with the specified cluster endpoint.
|
|
19617
|
+
*
|
|
19618
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19619
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19620
|
+
*/
|
|
18478
19621
|
async modifyDBClusterEndpoint(request) {
|
|
18479
19622
|
let runtime = new $Util.RuntimeOptions({});
|
|
18480
19623
|
return await this.modifyDBClusterEndpointWithOptions(request, runtime);
|
|
18481
19624
|
}
|
|
18482
19625
|
/**
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
19626
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19627
|
+
*
|
|
19628
|
+
* @description > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
19629
|
+
*
|
|
19630
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19631
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19632
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18488
19633
|
*/
|
|
18489
19634
|
async modifyDBClusterMaintainTimeWithOptions(request, runtime) {
|
|
18490
19635
|
tea_util_1.default.validateModel(request);
|
|
@@ -18524,23 +19669,27 @@ class Client extends openapi_client_1.default {
|
|
|
18524
19669
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
18525
19670
|
}
|
|
18526
19671
|
/**
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
19672
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19673
|
+
*
|
|
19674
|
+
* @description > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
19675
|
+
*
|
|
19676
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19677
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18531
19678
|
*/
|
|
18532
19679
|
async modifyDBClusterMaintainTime(request) {
|
|
18533
19680
|
let runtime = new $Util.RuntimeOptions({});
|
|
18534
19681
|
return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
|
|
18535
19682
|
}
|
|
18536
19683
|
/**
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
19684
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19685
|
+
*
|
|
19686
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19687
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19688
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
19689
|
+
*
|
|
19690
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19691
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19692
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18544
19693
|
*/
|
|
18545
19694
|
async modifyDBClusterMigrationWithOptions(request, runtime) {
|
|
18546
19695
|
tea_util_1.default.validateModel(request);
|
|
@@ -18592,33 +19741,37 @@ class Client extends openapi_client_1.default {
|
|
|
18592
19741
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
18593
19742
|
}
|
|
18594
19743
|
/**
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
19744
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19745
|
+
*
|
|
19746
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19747
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19748
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
19749
|
+
*
|
|
19750
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19751
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18601
19752
|
*/
|
|
18602
19753
|
async modifyDBClusterMigration(request) {
|
|
18603
19754
|
let runtime = new $Util.RuntimeOptions({});
|
|
18604
19755
|
return await this.modifyDBClusterMigrationWithOptions(request, runtime);
|
|
18605
19756
|
}
|
|
18606
19757
|
/**
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
19758
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19759
|
+
*
|
|
19760
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19761
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19762
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19763
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19764
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19765
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19766
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19767
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19768
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19769
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19770
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19771
|
+
*
|
|
19772
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19773
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19774
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18622
19775
|
*/
|
|
18623
19776
|
async modifyDBClusterMonitorWithOptions(request, runtime) {
|
|
18624
19777
|
tea_util_1.default.validateModel(request);
|
|
@@ -18658,33 +19811,37 @@ class Client extends openapi_client_1.default {
|
|
|
18658
19811
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
18659
19812
|
}
|
|
18660
19813
|
/**
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
19814
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19815
|
+
*
|
|
19816
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19817
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19818
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19819
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19820
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19821
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19822
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19823
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19824
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19825
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19826
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19827
|
+
*
|
|
19828
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19829
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18675
19830
|
*/
|
|
18676
19831
|
async modifyDBClusterMonitor(request) {
|
|
18677
19832
|
let runtime = new $Util.RuntimeOptions({});
|
|
18678
19833
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
18679
19834
|
}
|
|
18680
19835
|
/**
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
19836
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19837
|
+
*
|
|
19838
|
+
* @description PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
19839
|
+
* **
|
|
19840
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19841
|
+
*
|
|
19842
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19844
|
+
* @return ModifyDBClusterParametersResponse
|
|
18688
19845
|
*/
|
|
18689
19846
|
async modifyDBClusterParametersWithOptions(request, runtime) {
|
|
18690
19847
|
tea_util_1.default.validateModel(request);
|
|
@@ -18736,17 +19893,26 @@ class Client extends openapi_client_1.default {
|
|
|
18736
19893
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
18737
19894
|
}
|
|
18738
19895
|
/**
|
|
18739
|
-
|
|
18740
|
-
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
|
|
18744
|
-
|
|
19896
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19897
|
+
*
|
|
19898
|
+
* @description PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
19899
|
+
* **
|
|
19900
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19901
|
+
*
|
|
19902
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19903
|
+
* @return ModifyDBClusterParametersResponse
|
|
18745
19904
|
*/
|
|
18746
19905
|
async modifyDBClusterParameters(request) {
|
|
18747
19906
|
let runtime = new $Util.RuntimeOptions({});
|
|
18748
19907
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
18749
19908
|
}
|
|
19909
|
+
/**
|
|
19910
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
19911
|
+
*
|
|
19912
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19913
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19914
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
19915
|
+
*/
|
|
18750
19916
|
async modifyDBClusterPrimaryZoneWithOptions(request, runtime) {
|
|
18751
19917
|
tea_util_1.default.validateModel(request);
|
|
18752
19918
|
let query = {};
|
|
@@ -18805,10 +19971,21 @@ class Client extends openapi_client_1.default {
|
|
|
18805
19971
|
});
|
|
18806
19972
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
18807
19973
|
}
|
|
19974
|
+
/**
|
|
19975
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
19976
|
+
*
|
|
19977
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19978
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
19979
|
+
*/
|
|
18808
19980
|
async modifyDBClusterPrimaryZone(request) {
|
|
18809
19981
|
let runtime = new $Util.RuntimeOptions({});
|
|
18810
19982
|
return await this.modifyDBClusterPrimaryZoneWithOptions(request, runtime);
|
|
18811
19983
|
}
|
|
19984
|
+
/**
|
|
19985
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
19986
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19987
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
19988
|
+
*/
|
|
18812
19989
|
async modifyDBClusterResourceGroupWithOptions(request, runtime) {
|
|
18813
19990
|
tea_util_1.default.validateModel(request);
|
|
18814
19991
|
let query = {};
|
|
@@ -18849,10 +20026,21 @@ class Client extends openapi_client_1.default {
|
|
|
18849
20026
|
});
|
|
18850
20027
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
|
|
18851
20028
|
}
|
|
20029
|
+
/**
|
|
20030
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
20031
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
20032
|
+
*/
|
|
18852
20033
|
async modifyDBClusterResourceGroup(request) {
|
|
18853
20034
|
let runtime = new $Util.RuntimeOptions({});
|
|
18854
20035
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
18855
20036
|
}
|
|
20037
|
+
/**
|
|
20038
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20039
|
+
*
|
|
20040
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20041
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20042
|
+
* @return ModifyDBClusterSSLResponse
|
|
20043
|
+
*/
|
|
18856
20044
|
async modifyDBClusterSSLWithOptions(request, runtime) {
|
|
18857
20045
|
tea_util_1.default.validateModel(request);
|
|
18858
20046
|
let query = {};
|
|
@@ -18899,10 +20087,23 @@ class Client extends openapi_client_1.default {
|
|
|
18899
20087
|
});
|
|
18900
20088
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
|
|
18901
20089
|
}
|
|
20090
|
+
/**
|
|
20091
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20092
|
+
*
|
|
20093
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20094
|
+
* @return ModifyDBClusterSSLResponse
|
|
20095
|
+
*/
|
|
18902
20096
|
async modifyDBClusterSSL(request) {
|
|
18903
20097
|
let runtime = new $Util.RuntimeOptions({});
|
|
18904
20098
|
return await this.modifyDBClusterSSLWithOptions(request, runtime);
|
|
18905
20099
|
}
|
|
20100
|
+
/**
|
|
20101
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20102
|
+
*
|
|
20103
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20104
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20105
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20106
|
+
*/
|
|
18906
20107
|
async modifyDBClusterServerlessConfWithOptions(request, runtime) {
|
|
18907
20108
|
tea_util_1.default.validateModel(request);
|
|
18908
20109
|
let query = {};
|
|
@@ -18954,6 +20155,15 @@ class Client extends openapi_client_1.default {
|
|
|
18954
20155
|
if (!tea_util_1.default.isUnset(request.secondsUntilAutoPause)) {
|
|
18955
20156
|
query["SecondsUntilAutoPause"] = request.secondsUntilAutoPause;
|
|
18956
20157
|
}
|
|
20158
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuEnlargeThreshold)) {
|
|
20159
|
+
query["ServerlessRuleCpuEnlargeThreshold"] = request.serverlessRuleCpuEnlargeThreshold;
|
|
20160
|
+
}
|
|
20161
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuShrinkThreshold)) {
|
|
20162
|
+
query["ServerlessRuleCpuShrinkThreshold"] = request.serverlessRuleCpuShrinkThreshold;
|
|
20163
|
+
}
|
|
20164
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleMode)) {
|
|
20165
|
+
query["ServerlessRuleMode"] = request.serverlessRuleMode;
|
|
20166
|
+
}
|
|
18957
20167
|
let req = new $OpenApi.OpenApiRequest({
|
|
18958
20168
|
query: openapi_util_1.default.query(query),
|
|
18959
20169
|
});
|
|
@@ -18970,10 +20180,23 @@ class Client extends openapi_client_1.default {
|
|
|
18970
20180
|
});
|
|
18971
20181
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
|
|
18972
20182
|
}
|
|
20183
|
+
/**
|
|
20184
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20185
|
+
*
|
|
20186
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20187
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20188
|
+
*/
|
|
18973
20189
|
async modifyDBClusterServerlessConf(request) {
|
|
18974
20190
|
let runtime = new $Util.RuntimeOptions({});
|
|
18975
20191
|
return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
|
|
18976
20192
|
}
|
|
20193
|
+
/**
|
|
20194
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20195
|
+
*
|
|
20196
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20197
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20198
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20199
|
+
*/
|
|
18977
20200
|
async modifyDBClusterStorageSpaceWithOptions(request, runtime) {
|
|
18978
20201
|
tea_util_1.default.validateModel(request);
|
|
18979
20202
|
let query = {};
|
|
@@ -19023,17 +20246,25 @@ class Client extends openapi_client_1.default {
|
|
|
19023
20246
|
});
|
|
19024
20247
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
19025
20248
|
}
|
|
20249
|
+
/**
|
|
20250
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20251
|
+
*
|
|
20252
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20253
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20254
|
+
*/
|
|
19026
20255
|
async modifyDBClusterStorageSpace(request) {
|
|
19027
20256
|
let runtime = new $Util.RuntimeOptions({});
|
|
19028
20257
|
return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
|
|
19029
20258
|
}
|
|
19030
20259
|
/**
|
|
19031
|
-
|
|
19032
|
-
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
|
|
19036
|
-
|
|
20260
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20261
|
+
*
|
|
20262
|
+
* @description > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](https://help.aliyun.com/document_detail/153781.html).
|
|
20263
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20264
|
+
*
|
|
20265
|
+
* @param request ModifyDBClusterTDERequest
|
|
20266
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20267
|
+
* @return ModifyDBClusterTDEResponse
|
|
19037
20268
|
*/
|
|
19038
20269
|
async modifyDBClusterTDEWithOptions(request, runtime) {
|
|
19039
20270
|
tea_util_1.default.validateModel(request);
|
|
@@ -19082,16 +20313,25 @@ class Client extends openapi_client_1.default {
|
|
|
19082
20313
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
19083
20314
|
}
|
|
19084
20315
|
/**
|
|
19085
|
-
|
|
19086
|
-
|
|
19087
|
-
|
|
19088
|
-
|
|
19089
|
-
|
|
20316
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20317
|
+
*
|
|
20318
|
+
* @description > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](https://help.aliyun.com/document_detail/153781.html).
|
|
20319
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20320
|
+
*
|
|
20321
|
+
* @param request ModifyDBClusterTDERequest
|
|
20322
|
+
* @return ModifyDBClusterTDEResponse
|
|
19090
20323
|
*/
|
|
19091
20324
|
async modifyDBClusterTDE(request) {
|
|
19092
20325
|
let runtime = new $Util.RuntimeOptions({});
|
|
19093
20326
|
return await this.modifyDBClusterTDEWithOptions(request, runtime);
|
|
19094
20327
|
}
|
|
20328
|
+
/**
|
|
20329
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20330
|
+
*
|
|
20331
|
+
* @param request ModifyDBDescriptionRequest
|
|
20332
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20333
|
+
* @return ModifyDBDescriptionResponse
|
|
20334
|
+
*/
|
|
19095
20335
|
async modifyDBDescriptionWithOptions(request, runtime) {
|
|
19096
20336
|
tea_util_1.default.validateModel(request);
|
|
19097
20337
|
let query = {};
|
|
@@ -19132,10 +20372,23 @@ class Client extends openapi_client_1.default {
|
|
|
19132
20372
|
});
|
|
19133
20373
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
|
|
19134
20374
|
}
|
|
20375
|
+
/**
|
|
20376
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20377
|
+
*
|
|
20378
|
+
* @param request ModifyDBDescriptionRequest
|
|
20379
|
+
* @return ModifyDBDescriptionResponse
|
|
20380
|
+
*/
|
|
19135
20381
|
async modifyDBDescription(request) {
|
|
19136
20382
|
let runtime = new $Util.RuntimeOptions({});
|
|
19137
20383
|
return await this.modifyDBDescriptionWithOptions(request, runtime);
|
|
19138
20384
|
}
|
|
20385
|
+
/**
|
|
20386
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20387
|
+
*
|
|
20388
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20389
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20390
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20391
|
+
*/
|
|
19139
20392
|
async modifyDBEndpointAddressWithOptions(request, runtime) {
|
|
19140
20393
|
tea_util_1.default.validateModel(request);
|
|
19141
20394
|
let query = {};
|
|
@@ -19188,10 +20441,23 @@ class Client extends openapi_client_1.default {
|
|
|
19188
20441
|
});
|
|
19189
20442
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
|
|
19190
20443
|
}
|
|
20444
|
+
/**
|
|
20445
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20446
|
+
*
|
|
20447
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20448
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20449
|
+
*/
|
|
19191
20450
|
async modifyDBEndpointAddress(request) {
|
|
19192
20451
|
let runtime = new $Util.RuntimeOptions({});
|
|
19193
20452
|
return await this.modifyDBEndpointAddressWithOptions(request, runtime);
|
|
19194
20453
|
}
|
|
20454
|
+
/**
|
|
20455
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20456
|
+
*
|
|
20457
|
+
* @param request ModifyDBNodeClassRequest
|
|
20458
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20459
|
+
* @return ModifyDBNodeClassResponse
|
|
20460
|
+
*/
|
|
19195
20461
|
async modifyDBNodeClassWithOptions(request, runtime) {
|
|
19196
20462
|
tea_util_1.default.validateModel(request);
|
|
19197
20463
|
let query = {};
|
|
@@ -19247,10 +20513,23 @@ class Client extends openapi_client_1.default {
|
|
|
19247
20513
|
});
|
|
19248
20514
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
|
|
19249
20515
|
}
|
|
20516
|
+
/**
|
|
20517
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20518
|
+
*
|
|
20519
|
+
* @param request ModifyDBNodeClassRequest
|
|
20520
|
+
* @return ModifyDBNodeClassResponse
|
|
20521
|
+
*/
|
|
19250
20522
|
async modifyDBNodeClass(request) {
|
|
19251
20523
|
let runtime = new $Util.RuntimeOptions({});
|
|
19252
20524
|
return await this.modifyDBNodeClassWithOptions(request, runtime);
|
|
19253
20525
|
}
|
|
20526
|
+
/**
|
|
20527
|
+
* @summary Enables or disables a cluster node.
|
|
20528
|
+
*
|
|
20529
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20530
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20531
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20532
|
+
*/
|
|
19254
20533
|
async modifyDBNodeHotReplicaModeWithOptions(request, runtime) {
|
|
19255
20534
|
tea_util_1.default.validateModel(request);
|
|
19256
20535
|
let query = {};
|
|
@@ -19291,10 +20570,23 @@ class Client extends openapi_client_1.default {
|
|
|
19291
20570
|
});
|
|
19292
20571
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
19293
20572
|
}
|
|
20573
|
+
/**
|
|
20574
|
+
* @summary Enables or disables a cluster node.
|
|
20575
|
+
*
|
|
20576
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20577
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20578
|
+
*/
|
|
19294
20579
|
async modifyDBNodeHotReplicaMode(request) {
|
|
19295
20580
|
let runtime = new $Util.RuntimeOptions({});
|
|
19296
20581
|
return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
|
|
19297
20582
|
}
|
|
20583
|
+
/**
|
|
20584
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20585
|
+
*
|
|
20586
|
+
* @param request ModifyDBNodesClassRequest
|
|
20587
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20588
|
+
* @return ModifyDBNodesClassResponse
|
|
20589
|
+
*/
|
|
19298
20590
|
async modifyDBNodesClassWithOptions(request, runtime) {
|
|
19299
20591
|
tea_util_1.default.validateModel(request);
|
|
19300
20592
|
let query = {};
|
|
@@ -19347,10 +20639,23 @@ class Client extends openapi_client_1.default {
|
|
|
19347
20639
|
});
|
|
19348
20640
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
|
|
19349
20641
|
}
|
|
20642
|
+
/**
|
|
20643
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20644
|
+
*
|
|
20645
|
+
* @param request ModifyDBNodesClassRequest
|
|
20646
|
+
* @return ModifyDBNodesClassResponse
|
|
20647
|
+
*/
|
|
19350
20648
|
async modifyDBNodesClass(request) {
|
|
19351
20649
|
let runtime = new $Util.RuntimeOptions({});
|
|
19352
20650
|
return await this.modifyDBNodesClassWithOptions(request, runtime);
|
|
19353
20651
|
}
|
|
20652
|
+
/**
|
|
20653
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20654
|
+
*
|
|
20655
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20656
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20657
|
+
* @return ModifyDBNodesParametersResponse
|
|
20658
|
+
*/
|
|
19354
20659
|
async modifyDBNodesParametersWithOptions(request, runtime) {
|
|
19355
20660
|
tea_util_1.default.validateModel(request);
|
|
19356
20661
|
let query = {};
|
|
@@ -19403,10 +20708,23 @@ class Client extends openapi_client_1.default {
|
|
|
19403
20708
|
});
|
|
19404
20709
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
|
|
19405
20710
|
}
|
|
20711
|
+
/**
|
|
20712
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20713
|
+
*
|
|
20714
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20715
|
+
* @return ModifyDBNodesParametersResponse
|
|
20716
|
+
*/
|
|
19406
20717
|
async modifyDBNodesParameters(request) {
|
|
19407
20718
|
let runtime = new $Util.RuntimeOptions({});
|
|
19408
20719
|
return await this.modifyDBNodesParametersWithOptions(request, runtime);
|
|
19409
20720
|
}
|
|
20721
|
+
/**
|
|
20722
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20723
|
+
*
|
|
20724
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20726
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20727
|
+
*/
|
|
19410
20728
|
async modifyGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19411
20729
|
tea_util_1.default.validateModel(request);
|
|
19412
20730
|
let query = {};
|
|
@@ -19450,10 +20768,23 @@ class Client extends openapi_client_1.default {
|
|
|
19450
20768
|
});
|
|
19451
20769
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
|
|
19452
20770
|
}
|
|
20771
|
+
/**
|
|
20772
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20773
|
+
*
|
|
20774
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20775
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20776
|
+
*/
|
|
19453
20777
|
async modifyGlobalDatabaseNetwork(request) {
|
|
19454
20778
|
let runtime = new $Util.RuntimeOptions({});
|
|
19455
20779
|
return await this.modifyGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19456
20780
|
}
|
|
20781
|
+
/**
|
|
20782
|
+
* @summary Modifies an IP whitelist template.
|
|
20783
|
+
*
|
|
20784
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20785
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20786
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20787
|
+
*/
|
|
19457
20788
|
async modifyGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
19458
20789
|
tea_util_1.default.validateModel(request);
|
|
19459
20790
|
let query = {};
|
|
@@ -19503,10 +20834,23 @@ class Client extends openapi_client_1.default {
|
|
|
19503
20834
|
});
|
|
19504
20835
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
|
|
19505
20836
|
}
|
|
20837
|
+
/**
|
|
20838
|
+
* @summary Modifies an IP whitelist template.
|
|
20839
|
+
*
|
|
20840
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20841
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20842
|
+
*/
|
|
19506
20843
|
async modifyGlobalSecurityIPGroup(request) {
|
|
19507
20844
|
let runtime = new $Util.RuntimeOptions({});
|
|
19508
20845
|
return await this.modifyGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
19509
20846
|
}
|
|
20847
|
+
/**
|
|
20848
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20849
|
+
*
|
|
20850
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20851
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20852
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20853
|
+
*/
|
|
19510
20854
|
async modifyGlobalSecurityIPGroupNameWithOptions(request, runtime) {
|
|
19511
20855
|
tea_util_1.default.validateModel(request);
|
|
19512
20856
|
let query = {};
|
|
@@ -19553,10 +20897,23 @@ class Client extends openapi_client_1.default {
|
|
|
19553
20897
|
});
|
|
19554
20898
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
|
|
19555
20899
|
}
|
|
20900
|
+
/**
|
|
20901
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20902
|
+
*
|
|
20903
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20904
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20905
|
+
*/
|
|
19556
20906
|
async modifyGlobalSecurityIPGroupName(request) {
|
|
19557
20907
|
let runtime = new $Util.RuntimeOptions({});
|
|
19558
20908
|
return await this.modifyGlobalSecurityIPGroupNameWithOptions(request, runtime);
|
|
19559
20909
|
}
|
|
20910
|
+
/**
|
|
20911
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20912
|
+
*
|
|
20913
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20914
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20915
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20916
|
+
*/
|
|
19560
20917
|
async modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
19561
20918
|
tea_util_1.default.validateModel(request);
|
|
19562
20919
|
let query = {};
|
|
@@ -19603,10 +20960,23 @@ class Client extends openapi_client_1.default {
|
|
|
19603
20960
|
});
|
|
19604
20961
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
|
|
19605
20962
|
}
|
|
20963
|
+
/**
|
|
20964
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20965
|
+
*
|
|
20966
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20967
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20968
|
+
*/
|
|
19606
20969
|
async modifyGlobalSecurityIPGroupRelation(request) {
|
|
19607
20970
|
let runtime = new $Util.RuntimeOptions({});
|
|
19608
20971
|
return await this.modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
19609
20972
|
}
|
|
20973
|
+
/**
|
|
20974
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
20975
|
+
*
|
|
20976
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
20977
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20978
|
+
* @return ModifyLogBackupPolicyResponse
|
|
20979
|
+
*/
|
|
19610
20980
|
async modifyLogBackupPolicyWithOptions(request, runtime) {
|
|
19611
20981
|
tea_util_1.default.validateModel(request);
|
|
19612
20982
|
let query = {};
|
|
@@ -19650,10 +21020,23 @@ class Client extends openapi_client_1.default {
|
|
|
19650
21020
|
});
|
|
19651
21021
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
|
|
19652
21022
|
}
|
|
21023
|
+
/**
|
|
21024
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
21025
|
+
*
|
|
21026
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
21027
|
+
* @return ModifyLogBackupPolicyResponse
|
|
21028
|
+
*/
|
|
19653
21029
|
async modifyLogBackupPolicy(request) {
|
|
19654
21030
|
let runtime = new $Util.RuntimeOptions({});
|
|
19655
21031
|
return await this.modifyLogBackupPolicyWithOptions(request, runtime);
|
|
19656
21032
|
}
|
|
21033
|
+
/**
|
|
21034
|
+
* @summary Modifies or adds a data masking rule.
|
|
21035
|
+
*
|
|
21036
|
+
* @param request ModifyMaskingRulesRequest
|
|
21037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21038
|
+
* @return ModifyMaskingRulesResponse
|
|
21039
|
+
*/
|
|
19657
21040
|
async modifyMaskingRulesWithOptions(request, runtime) {
|
|
19658
21041
|
tea_util_1.default.validateModel(request);
|
|
19659
21042
|
let query = {};
|
|
@@ -19691,10 +21074,23 @@ class Client extends openapi_client_1.default {
|
|
|
19691
21074
|
});
|
|
19692
21075
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
|
|
19693
21076
|
}
|
|
21077
|
+
/**
|
|
21078
|
+
* @summary Modifies or adds a data masking rule.
|
|
21079
|
+
*
|
|
21080
|
+
* @param request ModifyMaskingRulesRequest
|
|
21081
|
+
* @return ModifyMaskingRulesResponse
|
|
21082
|
+
*/
|
|
19694
21083
|
async modifyMaskingRules(request) {
|
|
19695
21084
|
let runtime = new $Util.RuntimeOptions({});
|
|
19696
21085
|
return await this.modifyMaskingRulesWithOptions(request, runtime);
|
|
19697
21086
|
}
|
|
21087
|
+
/**
|
|
21088
|
+
* @summary Modifies the switching time of a pending event.
|
|
21089
|
+
*
|
|
21090
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21091
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21092
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21093
|
+
*/
|
|
19698
21094
|
async modifyPendingMaintenanceActionWithOptions(request, runtime) {
|
|
19699
21095
|
tea_util_1.default.validateModel(request);
|
|
19700
21096
|
let query = {};
|
|
@@ -19741,10 +21137,23 @@ class Client extends openapi_client_1.default {
|
|
|
19741
21137
|
});
|
|
19742
21138
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
|
|
19743
21139
|
}
|
|
21140
|
+
/**
|
|
21141
|
+
* @summary Modifies the switching time of a pending event.
|
|
21142
|
+
*
|
|
21143
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21144
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21145
|
+
*/
|
|
19744
21146
|
async modifyPendingMaintenanceAction(request) {
|
|
19745
21147
|
let runtime = new $Util.RuntimeOptions({});
|
|
19746
21148
|
return await this.modifyPendingMaintenanceActionWithOptions(request, runtime);
|
|
19747
21149
|
}
|
|
21150
|
+
/**
|
|
21151
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21152
|
+
*
|
|
21153
|
+
* @param request OpenAITaskRequest
|
|
21154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21155
|
+
* @return OpenAITaskResponse
|
|
21156
|
+
*/
|
|
19748
21157
|
async openAITaskWithOptions(request, runtime) {
|
|
19749
21158
|
tea_util_1.default.validateModel(request);
|
|
19750
21159
|
let query = {};
|
|
@@ -19794,10 +21203,23 @@ class Client extends openapi_client_1.default {
|
|
|
19794
21203
|
});
|
|
19795
21204
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
|
|
19796
21205
|
}
|
|
21206
|
+
/**
|
|
21207
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21208
|
+
*
|
|
21209
|
+
* @param request OpenAITaskRequest
|
|
21210
|
+
* @return OpenAITaskResponse
|
|
21211
|
+
*/
|
|
19797
21212
|
async openAITask(request) {
|
|
19798
21213
|
let runtime = new $Util.RuntimeOptions({});
|
|
19799
21214
|
return await this.openAITaskWithOptions(request, runtime);
|
|
19800
21215
|
}
|
|
21216
|
+
/**
|
|
21217
|
+
* @summary Updates the storage usage of a cluster.
|
|
21218
|
+
*
|
|
21219
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21220
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21221
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21222
|
+
*/
|
|
19801
21223
|
async refreshDBClusterStorageUsageWithOptions(request, runtime) {
|
|
19802
21224
|
tea_util_1.default.validateModel(request);
|
|
19803
21225
|
let query = {};
|
|
@@ -19832,16 +21254,24 @@ class Client extends openapi_client_1.default {
|
|
|
19832
21254
|
});
|
|
19833
21255
|
return $tea.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
|
|
19834
21256
|
}
|
|
21257
|
+
/**
|
|
21258
|
+
* @summary Updates the storage usage of a cluster.
|
|
21259
|
+
*
|
|
21260
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21261
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21262
|
+
*/
|
|
19835
21263
|
async refreshDBClusterStorageUsage(request) {
|
|
19836
21264
|
let runtime = new $Util.RuntimeOptions({});
|
|
19837
21265
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
19838
21266
|
}
|
|
19839
21267
|
/**
|
|
19840
|
-
|
|
19841
|
-
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
-
|
|
21268
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21269
|
+
*
|
|
21270
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21271
|
+
*
|
|
21272
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21273
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21274
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19845
21275
|
*/
|
|
19846
21276
|
async removeDBClusterFromGDNWithOptions(request, runtime) {
|
|
19847
21277
|
tea_util_1.default.validateModel(request);
|
|
@@ -19884,22 +21314,26 @@ class Client extends openapi_client_1.default {
|
|
|
19884
21314
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
19885
21315
|
}
|
|
19886
21316
|
/**
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
21317
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21318
|
+
*
|
|
21319
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21320
|
+
*
|
|
21321
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21322
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19891
21323
|
*/
|
|
19892
21324
|
async removeDBClusterFromGDN(request) {
|
|
19893
21325
|
let runtime = new $Util.RuntimeOptions({});
|
|
19894
21326
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
19895
21327
|
}
|
|
19896
21328
|
/**
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
|
|
21329
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21330
|
+
*
|
|
21331
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21332
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
21333
|
+
*
|
|
21334
|
+
* @param request ResetAccountRequest
|
|
21335
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21336
|
+
* @return ResetAccountResponse
|
|
19903
21337
|
*/
|
|
19904
21338
|
async resetAccountWithOptions(request, runtime) {
|
|
19905
21339
|
tea_util_1.default.validateModel(request);
|
|
@@ -19942,16 +21376,25 @@ class Client extends openapi_client_1.default {
|
|
|
19942
21376
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
19943
21377
|
}
|
|
19944
21378
|
/**
|
|
19945
|
-
|
|
19946
|
-
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
21379
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21380
|
+
*
|
|
21381
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21382
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
21383
|
+
*
|
|
21384
|
+
* @param request ResetAccountRequest
|
|
21385
|
+
* @return ResetAccountResponse
|
|
19950
21386
|
*/
|
|
19951
21387
|
async resetAccount(request) {
|
|
19952
21388
|
let runtime = new $Util.RuntimeOptions({});
|
|
19953
21389
|
return await this.resetAccountWithOptions(request, runtime);
|
|
19954
21390
|
}
|
|
21391
|
+
/**
|
|
21392
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21393
|
+
*
|
|
21394
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21395
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21396
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21397
|
+
*/
|
|
19955
21398
|
async resetGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19956
21399
|
tea_util_1.default.validateModel(request);
|
|
19957
21400
|
let query = {};
|
|
@@ -19995,10 +21438,23 @@ class Client extends openapi_client_1.default {
|
|
|
19995
21438
|
});
|
|
19996
21439
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
19997
21440
|
}
|
|
21441
|
+
/**
|
|
21442
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21443
|
+
*
|
|
21444
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21445
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21446
|
+
*/
|
|
19998
21447
|
async resetGlobalDatabaseNetwork(request) {
|
|
19999
21448
|
let runtime = new $Util.RuntimeOptions({});
|
|
20000
21449
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
20001
21450
|
}
|
|
21451
|
+
/**
|
|
21452
|
+
* @summary 重启代理
|
|
21453
|
+
*
|
|
21454
|
+
* @param request RestartDBLinkRequest
|
|
21455
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21456
|
+
* @return RestartDBLinkResponse
|
|
21457
|
+
*/
|
|
20002
21458
|
async restartDBLinkWithOptions(request, runtime) {
|
|
20003
21459
|
tea_util_1.default.validateModel(request);
|
|
20004
21460
|
let query = {};
|
|
@@ -20036,10 +21492,23 @@ class Client extends openapi_client_1.default {
|
|
|
20036
21492
|
});
|
|
20037
21493
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
20038
21494
|
}
|
|
21495
|
+
/**
|
|
21496
|
+
* @summary 重启代理
|
|
21497
|
+
*
|
|
21498
|
+
* @param request RestartDBLinkRequest
|
|
21499
|
+
* @return RestartDBLinkResponse
|
|
21500
|
+
*/
|
|
20039
21501
|
async restartDBLink(request) {
|
|
20040
21502
|
let runtime = new $Util.RuntimeOptions({});
|
|
20041
21503
|
return await this.restartDBLinkWithOptions(request, runtime);
|
|
20042
21504
|
}
|
|
21505
|
+
/**
|
|
21506
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21507
|
+
*
|
|
21508
|
+
* @param request RestartDBNodeRequest
|
|
21509
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21510
|
+
* @return RestartDBNodeResponse
|
|
21511
|
+
*/
|
|
20043
21512
|
async restartDBNodeWithOptions(request, runtime) {
|
|
20044
21513
|
tea_util_1.default.validateModel(request);
|
|
20045
21514
|
let query = {};
|
|
@@ -20074,10 +21543,23 @@ class Client extends openapi_client_1.default {
|
|
|
20074
21543
|
});
|
|
20075
21544
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
|
|
20076
21545
|
}
|
|
21546
|
+
/**
|
|
21547
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21548
|
+
*
|
|
21549
|
+
* @param request RestartDBNodeRequest
|
|
21550
|
+
* @return RestartDBNodeResponse
|
|
21551
|
+
*/
|
|
20077
21552
|
async restartDBNode(request) {
|
|
20078
21553
|
let runtime = new $Util.RuntimeOptions({});
|
|
20079
21554
|
return await this.restartDBNodeWithOptions(request, runtime);
|
|
20080
21555
|
}
|
|
21556
|
+
/**
|
|
21557
|
+
* @summary Restores PolarDB databases and tables.
|
|
21558
|
+
*
|
|
21559
|
+
* @param request RestoreTableRequest
|
|
21560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21561
|
+
* @return RestoreTableResponse
|
|
21562
|
+
*/
|
|
20081
21563
|
async restoreTableWithOptions(request, runtime) {
|
|
20082
21564
|
tea_util_1.default.validateModel(request);
|
|
20083
21565
|
let query = {};
|
|
@@ -20124,10 +21606,23 @@ class Client extends openapi_client_1.default {
|
|
|
20124
21606
|
});
|
|
20125
21607
|
return $tea.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
|
|
20126
21608
|
}
|
|
21609
|
+
/**
|
|
21610
|
+
* @summary Restores PolarDB databases and tables.
|
|
21611
|
+
*
|
|
21612
|
+
* @param request RestoreTableRequest
|
|
21613
|
+
* @return RestoreTableResponse
|
|
21614
|
+
*/
|
|
20127
21615
|
async restoreTable(request) {
|
|
20128
21616
|
let runtime = new $Util.RuntimeOptions({});
|
|
20129
21617
|
return await this.restoreTableWithOptions(request, runtime);
|
|
20130
21618
|
}
|
|
21619
|
+
/**
|
|
21620
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21621
|
+
*
|
|
21622
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21623
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21624
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21625
|
+
*/
|
|
20131
21626
|
async revokeAccountPrivilegeWithOptions(request, runtime) {
|
|
20132
21627
|
tea_util_1.default.validateModel(request);
|
|
20133
21628
|
let query = {};
|
|
@@ -20168,10 +21663,21 @@ class Client extends openapi_client_1.default {
|
|
|
20168
21663
|
});
|
|
20169
21664
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
|
|
20170
21665
|
}
|
|
21666
|
+
/**
|
|
21667
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21668
|
+
*
|
|
21669
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21670
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21671
|
+
*/
|
|
20171
21672
|
async revokeAccountPrivilege(request) {
|
|
20172
21673
|
let runtime = new $Util.RuntimeOptions({});
|
|
20173
21674
|
return await this.revokeAccountPrivilegeWithOptions(request, runtime);
|
|
20174
21675
|
}
|
|
21676
|
+
/**
|
|
21677
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21678
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21679
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21680
|
+
*/
|
|
20175
21681
|
async switchOverGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
20176
21682
|
tea_util_1.default.validateModel(request);
|
|
20177
21683
|
let query = {};
|
|
@@ -20221,10 +21727,19 @@ class Client extends openapi_client_1.default {
|
|
|
20221
21727
|
});
|
|
20222
21728
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
|
|
20223
21729
|
}
|
|
21730
|
+
/**
|
|
21731
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21732
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21733
|
+
*/
|
|
20224
21734
|
async switchOverGlobalDatabaseNetwork(request) {
|
|
20225
21735
|
let runtime = new $Util.RuntimeOptions({});
|
|
20226
21736
|
return await this.switchOverGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
20227
21737
|
}
|
|
21738
|
+
/**
|
|
21739
|
+
* @param request TagResourcesRequest
|
|
21740
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21741
|
+
* @return TagResourcesResponse
|
|
21742
|
+
*/
|
|
20228
21743
|
async tagResourcesWithOptions(request, runtime) {
|
|
20229
21744
|
tea_util_1.default.validateModel(request);
|
|
20230
21745
|
let query = {};
|
|
@@ -20268,10 +21783,21 @@ class Client extends openapi_client_1.default {
|
|
|
20268
21783
|
});
|
|
20269
21784
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
20270
21785
|
}
|
|
21786
|
+
/**
|
|
21787
|
+
* @param request TagResourcesRequest
|
|
21788
|
+
* @return TagResourcesResponse
|
|
21789
|
+
*/
|
|
20271
21790
|
async tagResources(request) {
|
|
20272
21791
|
let runtime = new $Util.RuntimeOptions({});
|
|
20273
21792
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
20274
21793
|
}
|
|
21794
|
+
/**
|
|
21795
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21796
|
+
*
|
|
21797
|
+
* @param request TempModifyDBNodeRequest
|
|
21798
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21799
|
+
* @return TempModifyDBNodeResponse
|
|
21800
|
+
*/
|
|
20275
21801
|
async tempModifyDBNodeWithOptions(request, runtime) {
|
|
20276
21802
|
tea_util_1.default.validateModel(request);
|
|
20277
21803
|
let query = {};
|
|
@@ -20321,18 +21847,26 @@ class Client extends openapi_client_1.default {
|
|
|
20321
21847
|
});
|
|
20322
21848
|
return $tea.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
20323
21849
|
}
|
|
21850
|
+
/**
|
|
21851
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21852
|
+
*
|
|
21853
|
+
* @param request TempModifyDBNodeRequest
|
|
21854
|
+
* @return TempModifyDBNodeResponse
|
|
21855
|
+
*/
|
|
20324
21856
|
async tempModifyDBNode(request) {
|
|
20325
21857
|
let runtime = new $Util.RuntimeOptions({});
|
|
20326
21858
|
return await this.tempModifyDBNodeWithOptions(request, runtime);
|
|
20327
21859
|
}
|
|
20328
21860
|
/**
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
21861
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21862
|
+
*
|
|
21863
|
+
* @description > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
21864
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21865
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21866
|
+
*
|
|
21867
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21868
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21869
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20336
21870
|
*/
|
|
20337
21871
|
async transformDBClusterPayTypeWithOptions(request, runtime) {
|
|
20338
21872
|
tea_util_1.default.validateModel(request);
|
|
@@ -20387,17 +21921,26 @@ class Client extends openapi_client_1.default {
|
|
|
20387
21921
|
return $tea.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
20388
21922
|
}
|
|
20389
21923
|
/**
|
|
20390
|
-
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
21924
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21925
|
+
*
|
|
21926
|
+
* @description > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
21927
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21928
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21929
|
+
*
|
|
21930
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21931
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20396
21932
|
*/
|
|
20397
21933
|
async transformDBClusterPayType(request) {
|
|
20398
21934
|
let runtime = new $Util.RuntimeOptions({});
|
|
20399
21935
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
20400
21936
|
}
|
|
21937
|
+
/**
|
|
21938
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
21939
|
+
*
|
|
21940
|
+
* @param request UntagResourcesRequest
|
|
21941
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21942
|
+
* @return UntagResourcesResponse
|
|
21943
|
+
*/
|
|
20401
21944
|
async untagResourcesWithOptions(request, runtime) {
|
|
20402
21945
|
tea_util_1.default.validateModel(request);
|
|
20403
21946
|
let query = {};
|
|
@@ -20444,17 +21987,25 @@ class Client extends openapi_client_1.default {
|
|
|
20444
21987
|
});
|
|
20445
21988
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
20446
21989
|
}
|
|
21990
|
+
/**
|
|
21991
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
21992
|
+
*
|
|
21993
|
+
* @param request UntagResourcesRequest
|
|
21994
|
+
* @return UntagResourcesResponse
|
|
21995
|
+
*/
|
|
20447
21996
|
async untagResources(request) {
|
|
20448
21997
|
let runtime = new $Util.RuntimeOptions({});
|
|
20449
21998
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
20450
21999
|
}
|
|
20451
22000
|
/**
|
|
20452
|
-
|
|
20453
|
-
|
|
20454
|
-
|
|
20455
|
-
|
|
20456
|
-
|
|
20457
|
-
|
|
22001
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22002
|
+
*
|
|
22003
|
+
* @description > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
22004
|
+
* >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
22005
|
+
*
|
|
22006
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22008
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20458
22009
|
*/
|
|
20459
22010
|
async upgradeDBClusterVersionWithOptions(request, runtime) {
|
|
20460
22011
|
tea_util_1.default.validateModel(request);
|
|
@@ -20512,11 +22063,13 @@ class Client extends openapi_client_1.default {
|
|
|
20512
22063
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
20513
22064
|
}
|
|
20514
22065
|
/**
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
22066
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22067
|
+
*
|
|
22068
|
+
* @description > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
22069
|
+
* >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
22070
|
+
*
|
|
22071
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22072
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20520
22073
|
*/
|
|
20521
22074
|
async upgradeDBClusterVersion(request) {
|
|
20522
22075
|
let runtime = new $Util.RuntimeOptions({});
|