@alicloud/polardb20170801 5.1.0 → 5.1.2
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 +2006 -451
- package/dist/client.js +2035 -453
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2051 -451
package/dist/client.js
CHANGED
|
@@ -35,8 +35,8 @@ exports.ModifyDBClusterAccessWhitelistResponse = exports.ModifyDBClusterAccessWh
|
|
|
35
35
|
exports.ModifyDBEndpointAddressResponseBody = exports.ModifyDBEndpointAddressRequest = exports.ModifyDBDescriptionResponse = exports.ModifyDBDescriptionResponseBody = exports.ModifyDBDescriptionRequest = exports.ModifyDBClusterTDEResponse = exports.ModifyDBClusterTDEResponseBody = exports.ModifyDBClusterTDERequest = exports.ModifyDBClusterStorageSpaceResponse = exports.ModifyDBClusterStorageSpaceResponseBody = exports.ModifyDBClusterStorageSpaceRequest = exports.ModifyDBClusterServerlessConfResponse = exports.ModifyDBClusterServerlessConfResponseBody = exports.ModifyDBClusterServerlessConfRequest = exports.ModifyDBClusterSSLResponse = exports.ModifyDBClusterSSLResponseBody = exports.ModifyDBClusterSSLRequest = exports.ModifyDBClusterResourceGroupResponse = exports.ModifyDBClusterResourceGroupResponseBody = exports.ModifyDBClusterResourceGroupRequest = exports.ModifyDBClusterPrimaryZoneResponse = exports.ModifyDBClusterPrimaryZoneResponseBody = exports.ModifyDBClusterPrimaryZoneRequest = exports.ModifyDBClusterParametersResponse = exports.ModifyDBClusterParametersResponseBody = exports.ModifyDBClusterParametersRequest = exports.ModifyDBClusterMonitorResponse = exports.ModifyDBClusterMonitorResponseBody = exports.ModifyDBClusterMonitorRequest = exports.ModifyDBClusterMigrationResponse = exports.ModifyDBClusterMigrationResponseBody = exports.ModifyDBClusterMigrationRequest = exports.ModifyDBClusterMaintainTimeResponse = exports.ModifyDBClusterMaintainTimeResponseBody = exports.ModifyDBClusterMaintainTimeRequest = exports.ModifyDBClusterEndpointResponse = exports.ModifyDBClusterEndpointResponseBody = exports.ModifyDBClusterEndpointRequest = exports.ModifyDBClusterDescriptionResponse = exports.ModifyDBClusterDescriptionResponseBody = exports.ModifyDBClusterDescriptionRequest = exports.ModifyDBClusterDeletionResponse = exports.ModifyDBClusterDeletionResponseBody = exports.ModifyDBClusterDeletionRequest = exports.ModifyDBClusterAuditLogCollectorResponse = exports.ModifyDBClusterAuditLogCollectorResponseBody = exports.ModifyDBClusterAuditLogCollectorRequest = exports.ModifyDBClusterAndNodesParametersResponse = exports.ModifyDBClusterAndNodesParametersResponseBody = exports.ModifyDBClusterAndNodesParametersRequest = void 0;
|
|
36
36
|
exports.RestartDBLinkRequest = exports.ResetGlobalDatabaseNetworkResponse = exports.ResetGlobalDatabaseNetworkResponseBody = exports.ResetGlobalDatabaseNetworkRequest = exports.ResetAccountResponse = exports.ResetAccountResponseBody = exports.ResetAccountRequest = exports.RemoveDBClusterFromGDNResponse = exports.RemoveDBClusterFromGDNResponseBody = exports.RemoveDBClusterFromGDNRequest = exports.RefreshDBClusterStorageUsageResponse = exports.RefreshDBClusterStorageUsageResponseBody = exports.RefreshDBClusterStorageUsageRequest = exports.OpenAITaskResponse = exports.OpenAITaskResponseBody = exports.OpenAITaskRequest = exports.ModifyPendingMaintenanceActionResponse = exports.ModifyPendingMaintenanceActionResponseBody = exports.ModifyPendingMaintenanceActionRequest = exports.ModifyMaskingRulesResponse = exports.ModifyMaskingRulesResponseBody = exports.ModifyMaskingRulesRequest = exports.ModifyLogBackupPolicyResponse = exports.ModifyLogBackupPolicyResponseBody = exports.ModifyLogBackupPolicyRequest = exports.ModifyGlobalSecurityIPGroupRelationResponse = exports.ModifyGlobalSecurityIPGroupRelationResponseBody = exports.ModifyGlobalSecurityIPGroupRelationRequest = exports.ModifyGlobalSecurityIPGroupNameResponse = exports.ModifyGlobalSecurityIPGroupNameResponseBody = exports.ModifyGlobalSecurityIPGroupNameRequest = exports.ModifyGlobalSecurityIPGroupResponse = exports.ModifyGlobalSecurityIPGroupResponseBody = exports.ModifyGlobalSecurityIPGroupRequest = exports.ModifyGlobalDatabaseNetworkResponse = exports.ModifyGlobalDatabaseNetworkResponseBody = exports.ModifyGlobalDatabaseNetworkRequest = exports.ModifyDBNodesParametersResponse = exports.ModifyDBNodesParametersResponseBody = exports.ModifyDBNodesParametersRequest = exports.ModifyDBNodesClassResponse = exports.ModifyDBNodesClassResponseBody = exports.ModifyDBNodesClassRequest = exports.ModifyDBNodeHotReplicaModeResponse = exports.ModifyDBNodeHotReplicaModeResponseBody = exports.ModifyDBNodeHotReplicaModeRequest = exports.ModifyDBNodeClassResponse = exports.ModifyDBNodeClassResponseBody = exports.ModifyDBNodeClassRequest = exports.ModifyDBEndpointAddressResponse = void 0;
|
|
37
37
|
exports.DescribeDBClusterAccessWhitelistResponseBodyItemsDBClusterIPArray = exports.DescribeDBClusterAccessWhitelistResponseBodyDBClusterSecurityGroups = exports.DescribeDBClusterAccessWhitelistResponseBodyDBClusterSecurityGroupsDBClusterSecurityGroup = exports.DescribeClassListResponseBodyItems = exports.DescribeCharacterSetNameResponseBodyCharacterSetNameItems = exports.DescribeBackupsResponseBodyItems = exports.DescribeBackupsResponseBodyItemsBackup = exports.DescribeBackupTasksResponseBodyItems = exports.DescribeBackupTasksResponseBodyItemsBackupJob = exports.DescribeBackupLogsResponseBodyItems = exports.DescribeBackupLogsResponseBodyItemsBackupLog = exports.DescribeAutoRenewAttributeResponseBodyItems = exports.DescribeAutoRenewAttributeResponseBodyItemsAutoRenewAttribute = exports.DescribeAccountsResponseBodyAccounts = exports.DescribeAccountsResponseBodyAccountsDatabasePrivileges = exports.DeleteGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.CreateDBNodesResponseBodyDBNodeIds = exports.CreateDBNodesRequestDBNode = exports.CreateDBEndpointAddressRequestZoneInfo = exports.CreateDBClusterRequestTag = exports.UpgradeDBClusterVersionResponse = exports.UpgradeDBClusterVersionResponseBody = exports.UpgradeDBClusterVersionRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesRequest = exports.TransformDBClusterPayTypeResponse = exports.TransformDBClusterPayTypeResponseBody = exports.TransformDBClusterPayTypeRequest = exports.TempModifyDBNodeResponse = exports.TempModifyDBNodeResponseBody = exports.TempModifyDBNodeRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SwitchOverGlobalDatabaseNetworkResponse = exports.SwitchOverGlobalDatabaseNetworkResponseBody = exports.SwitchOverGlobalDatabaseNetworkRequest = exports.RevokeAccountPrivilegeResponse = exports.RevokeAccountPrivilegeResponseBody = exports.RevokeAccountPrivilegeRequest = exports.RestoreTableResponse = exports.RestoreTableResponseBody = exports.RestoreTableRequest = exports.RestartDBNodeResponse = exports.RestartDBNodeResponseBody = exports.RestartDBNodeRequest = exports.RestartDBLinkResponse = exports.RestartDBLinkResponseBody = void 0;
|
|
38
|
-
exports.
|
|
39
|
-
exports.TempModifyDBNodeRequestDBNode = exports.TagResourcesRequestTag = exports.ModifyGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel = exports.ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup = exports.ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.ModifyDBNodesClassRequestDBNode = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListTagResourcesRequestTag = exports.DescribeVSwitchesResponseBodyVSwitchs = exports.DescribeTasksResponseBodyTasks = exports.DescribeTasksResponseBodyTasksTask = exports.DescribeSlowLogsResponseBodyItems = exports.DescribeSlowLogsResponseBodyItemsSQLSlowLog = exports.DescribeSlowLogRecordsResponseBodyItems = exports.DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord = exports.DescribeScheduleTasksResponseBodyData = exports.DescribeScheduleTasksResponseBodyDataTimerInfos = exports.DescribeRegionsResponseBodyRegions = exports.DescribeRegionsResponseBodyRegionsRegion = exports.DescribeRegionsResponseBodyRegionsRegionZones = exports.DescribeRegionsResponseBodyRegionsRegionZonesZone = exports.DescribePendingMaintenanceActionsResponseBodyTypeList = exports.DescribePendingMaintenanceActionResponseBodyItems = exports.DescribeParameterTemplatesResponseBodyParameters = exports.DescribeParameterTemplatesResponseBodyParametersTemplateRecord = exports.DescribeParameterGroupsResponseBodyParameterGroups = exports.DescribeParameterGroupResponseBodyParameterGroup = exports.DescribeParameterGroupResponseBodyParameterGroupParameterDetail = exports.DescribeMetaListResponseBodyItems = exports.DescribeMaskingRulesResponseBodyData = exports.DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel = exports.DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.DescribeGlobalDatabaseNetworksResponseBodyItems = exports.DescribeGlobalDatabaseNetworksResponseBodyItemsDBClusters = exports.DescribeGlobalDatabaseNetworkResponseBodyDBClusters = exports.DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes = exports.DescribeGlobalDatabaseNetworkResponseBodyConnections = void 0;
|
|
38
|
+
exports.DescribeDetachedBackupsResponseBodyItemsBackup = exports.DescribeDatabasesResponseBodyDatabases = exports.DescribeDatabasesResponseBodyDatabasesDatabase = exports.DescribeDatabasesResponseBodyDatabasesDatabaseAccounts = exports.DescribeDatabasesResponseBodyDatabasesDatabaseAccountsAccount = exports.DescribeDBProxyPerformanceResponseBodyPerformanceKeys = exports.DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItem = exports.DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPoints = exports.DescribeDBProxyPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue = exports.DescribeDBNodesParametersResponseBodyDBNodeIds = exports.DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters = exports.DescribeDBNodePerformanceResponseBodyPerformanceKeys = exports.DescribeDBNodePerformanceResponseBodyPerformanceKeysPerformanceItem = exports.DescribeDBNodePerformanceResponseBodyPerformanceKeysPerformanceItemPoints = exports.DescribeDBNodePerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue = exports.DescribeDBLinksResponseBodyDBLinkInfos = exports.DescribeDBInitializeVariableResponseBodyVariables = exports.DescribeDBInitializeVariableResponseBodyVariablesVariable = exports.DescribeDBClustersWithBackupsResponseBodyItems = exports.DescribeDBClustersWithBackupsResponseBodyItemsDBCluster = exports.DescribeDBClustersResponseBodyItems = exports.DescribeDBClustersResponseBodyItemsDBCluster = exports.DescribeDBClustersResponseBodyItemsDBClusterTags = exports.DescribeDBClustersResponseBodyItemsDBClusterTagsTag = exports.DescribeDBClustersResponseBodyItemsDBClusterDBNodes = exports.DescribeDBClustersResponseBodyItemsDBClusterDBNodesDBNode = exports.DescribeDBClustersRequestTag = exports.DescribeDBClusterVersionResponseBodyProxyRevisionVersionList = exports.DescribeDBClusterVersionResponseBodyDBRevisionVersionList = exports.DescribeDBClusterSSLResponseBodyItems = exports.DescribeDBClusterPerformanceResponseBodyPerformanceKeys = exports.DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem = exports.DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints = exports.DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPointsPerformanceItemValue = exports.DescribeDBClusterParametersResponseBodyRunningParameters = exports.DescribeDBClusterParametersResponseBodyRunningParametersParameter = exports.DescribeDBClusterParametersResponseBodyParameters = exports.DescribeDBClusterParametersResponseBodyParametersParameters = exports.DescribeDBClusterMigrationResponseBodyRdsEndpointList = exports.DescribeDBClusterMigrationResponseBodyRdsEndpointListAddressItems = exports.DescribeDBClusterMigrationResponseBodyDBClusterEndpointList = exports.DescribeDBClusterMigrationResponseBodyDBClusterEndpointListAddressItems = exports.DescribeDBClusterEndpointsResponseBodyItems = exports.DescribeDBClusterEndpointsResponseBodyItemsAddressItems = exports.DescribeDBClusterAvailableResourcesResponseBodyAvailableZones = exports.DescribeDBClusterAvailableResourcesResponseBodyAvailableZonesSupportedEngines = exports.DescribeDBClusterAvailableResourcesResponseBodyAvailableZonesSupportedEnginesAvailableResources = exports.DescribeDBClusterAttributeResponseBodyTags = exports.DescribeDBClusterAttributeResponseBodyDBNodes = exports.DescribeDBClusterAccessWhitelistResponseBodyItems = void 0;
|
|
39
|
+
exports.TempModifyDBNodeRequestDBNode = exports.TagResourcesRequestTag = exports.ModifyGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel = exports.ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup = exports.ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.ModifyDBNodesClassRequestDBNode = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListTagResourcesRequestTag = exports.DescribeVSwitchesResponseBodyVSwitchs = exports.DescribeTasksResponseBodyTasks = exports.DescribeTasksResponseBodyTasksTask = exports.DescribeSlowLogsResponseBodyItems = exports.DescribeSlowLogsResponseBodyItemsSQLSlowLog = exports.DescribeSlowLogRecordsResponseBodyItems = exports.DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord = exports.DescribeScheduleTasksResponseBodyData = exports.DescribeScheduleTasksResponseBodyDataTimerInfos = exports.DescribeRegionsResponseBodyRegions = exports.DescribeRegionsResponseBodyRegionsRegion = exports.DescribeRegionsResponseBodyRegionsRegionZones = exports.DescribeRegionsResponseBodyRegionsRegionZonesZone = exports.DescribePendingMaintenanceActionsResponseBodyTypeList = exports.DescribePendingMaintenanceActionResponseBodyItems = exports.DescribeParameterTemplatesResponseBodyParameters = exports.DescribeParameterTemplatesResponseBodyParametersTemplateRecord = exports.DescribeParameterGroupsResponseBodyParameterGroups = exports.DescribeParameterGroupResponseBodyParameterGroup = exports.DescribeParameterGroupResponseBodyParameterGroupParameterDetail = exports.DescribeMetaListResponseBodyItems = exports.DescribeMaskingRulesResponseBodyData = exports.DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel = exports.DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup = exports.DescribeGlobalDatabaseNetworksResponseBodyItems = exports.DescribeGlobalDatabaseNetworksResponseBodyItemsDBClusters = exports.DescribeGlobalDatabaseNetworkResponseBodyDBClusters = exports.DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes = exports.DescribeGlobalDatabaseNetworkResponseBodyConnections = exports.DescribeDetachedBackupsResponseBodyItems = void 0;
|
|
40
40
|
// This file is auto-generated, don't edit it
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -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
|
}
|
|
@@ -4084,6 +4090,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
4084
4090
|
isProxyLatestVersion: 'IsProxyLatestVersion',
|
|
4085
4091
|
proxyLatestVersion: 'ProxyLatestVersion',
|
|
4086
4092
|
proxyRevisionVersion: 'ProxyRevisionVersion',
|
|
4093
|
+
proxyRevisionVersionList: 'ProxyRevisionVersionList',
|
|
4087
4094
|
proxyVersionStatus: 'ProxyVersionStatus',
|
|
4088
4095
|
requestId: 'RequestId',
|
|
4089
4096
|
};
|
|
@@ -4101,6 +4108,7 @@ class DescribeDBClusterVersionResponseBody extends $tea.Model {
|
|
|
4101
4108
|
isProxyLatestVersion: 'string',
|
|
4102
4109
|
proxyLatestVersion: 'string',
|
|
4103
4110
|
proxyRevisionVersion: 'string',
|
|
4111
|
+
proxyRevisionVersionList: { 'type': 'array', 'itemType': DescribeDBClusterVersionResponseBodyProxyRevisionVersionList },
|
|
4104
4112
|
proxyVersionStatus: 'string',
|
|
4105
4113
|
requestId: 'string',
|
|
4106
4114
|
};
|
|
@@ -8193,6 +8201,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8193
8201
|
scaleRoNumMax: 'ScaleRoNumMax',
|
|
8194
8202
|
scaleRoNumMin: 'ScaleRoNumMin',
|
|
8195
8203
|
secondsUntilAutoPause: 'SecondsUntilAutoPause',
|
|
8204
|
+
serverlessRuleCpuEnlargeThreshold: 'ServerlessRuleCpuEnlargeThreshold',
|
|
8205
|
+
serverlessRuleCpuShrinkThreshold: 'ServerlessRuleCpuShrinkThreshold',
|
|
8206
|
+
serverlessRuleMode: 'ServerlessRuleMode',
|
|
8196
8207
|
};
|
|
8197
8208
|
}
|
|
8198
8209
|
static types() {
|
|
@@ -8213,6 +8224,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8213
8224
|
scaleRoNumMax: 'string',
|
|
8214
8225
|
scaleRoNumMin: 'string',
|
|
8215
8226
|
secondsUntilAutoPause: 'string',
|
|
8227
|
+
serverlessRuleCpuEnlargeThreshold: 'string',
|
|
8228
|
+
serverlessRuleCpuShrinkThreshold: 'string',
|
|
8229
|
+
serverlessRuleMode: 'string',
|
|
8216
8230
|
};
|
|
8217
8231
|
}
|
|
8218
8232
|
constructor(map) {
|
|
@@ -10268,6 +10282,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
10268
10282
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
10269
10283
|
resourceOwnerId: 'ResourceOwnerId',
|
|
10270
10284
|
targetDBRevisionVersionCode: 'TargetDBRevisionVersionCode',
|
|
10285
|
+
targetProxyRevisionVersionCode: 'TargetProxyRevisionVersionCode',
|
|
10271
10286
|
upgradeLabel: 'UpgradeLabel',
|
|
10272
10287
|
upgradePolicy: 'UpgradePolicy',
|
|
10273
10288
|
upgradeType: 'UpgradeType',
|
|
@@ -10284,6 +10299,7 @@ class UpgradeDBClusterVersionRequest extends $tea.Model {
|
|
|
10284
10299
|
resourceOwnerAccount: 'string',
|
|
10285
10300
|
resourceOwnerId: 'number',
|
|
10286
10301
|
targetDBRevisionVersionCode: 'string',
|
|
10302
|
+
targetProxyRevisionVersionCode: 'string',
|
|
10287
10303
|
upgradeLabel: 'string',
|
|
10288
10304
|
upgradePolicy: 'string',
|
|
10289
10305
|
upgradeType: 'string',
|
|
@@ -11328,6 +11344,28 @@ class DescribeDBClusterVersionResponseBodyDBRevisionVersionList extends $tea.Mod
|
|
|
11328
11344
|
}
|
|
11329
11345
|
}
|
|
11330
11346
|
exports.DescribeDBClusterVersionResponseBodyDBRevisionVersionList = DescribeDBClusterVersionResponseBodyDBRevisionVersionList;
|
|
11347
|
+
class DescribeDBClusterVersionResponseBodyProxyRevisionVersionList extends $tea.Model {
|
|
11348
|
+
static names() {
|
|
11349
|
+
return {
|
|
11350
|
+
releaseNote: 'ReleaseNote',
|
|
11351
|
+
releaseType: 'ReleaseType',
|
|
11352
|
+
revisionVersionCode: 'RevisionVersionCode',
|
|
11353
|
+
revisionVersionName: 'RevisionVersionName',
|
|
11354
|
+
};
|
|
11355
|
+
}
|
|
11356
|
+
static types() {
|
|
11357
|
+
return {
|
|
11358
|
+
releaseNote: 'string',
|
|
11359
|
+
releaseType: 'string',
|
|
11360
|
+
revisionVersionCode: 'string',
|
|
11361
|
+
revisionVersionName: 'string',
|
|
11362
|
+
};
|
|
11363
|
+
}
|
|
11364
|
+
constructor(map) {
|
|
11365
|
+
super(map);
|
|
11366
|
+
}
|
|
11367
|
+
}
|
|
11368
|
+
exports.DescribeDBClusterVersionResponseBodyProxyRevisionVersionList = DescribeDBClusterVersionResponseBodyProxyRevisionVersionList;
|
|
11331
11369
|
class DescribeDBClustersRequestTag extends $tea.Model {
|
|
11332
11370
|
static names() {
|
|
11333
11371
|
return {
|
|
@@ -12970,6 +13008,13 @@ class Client extends openapi_client_1.default {
|
|
|
12970
13008
|
}
|
|
12971
13009
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12972
13010
|
}
|
|
13011
|
+
/**
|
|
13012
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
13013
|
+
*
|
|
13014
|
+
* @param request CancelScheduleTasksRequest
|
|
13015
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13016
|
+
* @return CancelScheduleTasksResponse
|
|
13017
|
+
*/
|
|
12973
13018
|
async cancelScheduleTasksWithOptions(request, runtime) {
|
|
12974
13019
|
tea_util_1.default.validateModel(request);
|
|
12975
13020
|
let query = {};
|
|
@@ -13010,10 +13055,23 @@ class Client extends openapi_client_1.default {
|
|
|
13010
13055
|
});
|
|
13011
13056
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
|
|
13012
13057
|
}
|
|
13058
|
+
/**
|
|
13059
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
13060
|
+
*
|
|
13061
|
+
* @param request CancelScheduleTasksRequest
|
|
13062
|
+
* @return CancelScheduleTasksResponse
|
|
13063
|
+
*/
|
|
13013
13064
|
async cancelScheduleTasks(request) {
|
|
13014
13065
|
let runtime = new $Util.RuntimeOptions({});
|
|
13015
13066
|
return await this.cancelScheduleTasksWithOptions(request, runtime);
|
|
13016
13067
|
}
|
|
13068
|
+
/**
|
|
13069
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13070
|
+
*
|
|
13071
|
+
* @param request CheckAccountNameRequest
|
|
13072
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13073
|
+
* @return CheckAccountNameResponse
|
|
13074
|
+
*/
|
|
13017
13075
|
async checkAccountNameWithOptions(request, runtime) {
|
|
13018
13076
|
tea_util_1.default.validateModel(request);
|
|
13019
13077
|
let query = {};
|
|
@@ -13051,10 +13109,23 @@ class Client extends openapi_client_1.default {
|
|
|
13051
13109
|
});
|
|
13052
13110
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
|
|
13053
13111
|
}
|
|
13112
|
+
/**
|
|
13113
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13114
|
+
*
|
|
13115
|
+
* @param request CheckAccountNameRequest
|
|
13116
|
+
* @return CheckAccountNameResponse
|
|
13117
|
+
*/
|
|
13054
13118
|
async checkAccountName(request) {
|
|
13055
13119
|
let runtime = new $Util.RuntimeOptions({});
|
|
13056
13120
|
return await this.checkAccountNameWithOptions(request, runtime);
|
|
13057
13121
|
}
|
|
13122
|
+
/**
|
|
13123
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13124
|
+
*
|
|
13125
|
+
* @param request CheckDBNameRequest
|
|
13126
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13127
|
+
* @return CheckDBNameResponse
|
|
13128
|
+
*/
|
|
13058
13129
|
async checkDBNameWithOptions(request, runtime) {
|
|
13059
13130
|
tea_util_1.default.validateModel(request);
|
|
13060
13131
|
let query = {};
|
|
@@ -13092,10 +13163,23 @@ class Client extends openapi_client_1.default {
|
|
|
13092
13163
|
});
|
|
13093
13164
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
|
|
13094
13165
|
}
|
|
13166
|
+
/**
|
|
13167
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13168
|
+
*
|
|
13169
|
+
* @param request CheckDBNameRequest
|
|
13170
|
+
* @return CheckDBNameResponse
|
|
13171
|
+
*/
|
|
13095
13172
|
async checkDBName(request) {
|
|
13096
13173
|
let runtime = new $Util.RuntimeOptions({});
|
|
13097
13174
|
return await this.checkDBNameWithOptions(request, runtime);
|
|
13098
13175
|
}
|
|
13176
|
+
/**
|
|
13177
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13178
|
+
*
|
|
13179
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13180
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13181
|
+
* @return CheckKMSAuthorizedResponse
|
|
13182
|
+
*/
|
|
13099
13183
|
async checkKMSAuthorizedWithOptions(request, runtime) {
|
|
13100
13184
|
tea_util_1.default.validateModel(request);
|
|
13101
13185
|
let query = {};
|
|
@@ -13136,10 +13220,23 @@ class Client extends openapi_client_1.default {
|
|
|
13136
13220
|
});
|
|
13137
13221
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
13138
13222
|
}
|
|
13223
|
+
/**
|
|
13224
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13225
|
+
*
|
|
13226
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13227
|
+
* @return CheckKMSAuthorizedResponse
|
|
13228
|
+
*/
|
|
13139
13229
|
async checkKMSAuthorized(request) {
|
|
13140
13230
|
let runtime = new $Util.RuntimeOptions({});
|
|
13141
13231
|
return await this.checkKMSAuthorizedWithOptions(request, runtime);
|
|
13142
13232
|
}
|
|
13233
|
+
/**
|
|
13234
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13235
|
+
*
|
|
13236
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13237
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13238
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13239
|
+
*/
|
|
13143
13240
|
async checkServiceLinkedRoleWithOptions(request, runtime) {
|
|
13144
13241
|
tea_util_1.default.validateModel(request);
|
|
13145
13242
|
let query = {};
|
|
@@ -13171,10 +13268,23 @@ class Client extends openapi_client_1.default {
|
|
|
13171
13268
|
});
|
|
13172
13269
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
13173
13270
|
}
|
|
13271
|
+
/**
|
|
13272
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13273
|
+
*
|
|
13274
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13275
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13276
|
+
*/
|
|
13174
13277
|
async checkServiceLinkedRole(request) {
|
|
13175
13278
|
let runtime = new $Util.RuntimeOptions({});
|
|
13176
13279
|
return await this.checkServiceLinkedRoleWithOptions(request, runtime);
|
|
13177
13280
|
}
|
|
13281
|
+
/**
|
|
13282
|
+
* @summary 关闭DB4AI
|
|
13283
|
+
*
|
|
13284
|
+
* @param request CloseAITaskRequest
|
|
13285
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13286
|
+
* @return CloseAITaskResponse
|
|
13287
|
+
*/
|
|
13178
13288
|
async closeAITaskWithOptions(request, runtime) {
|
|
13179
13289
|
tea_util_1.default.validateModel(request);
|
|
13180
13290
|
let query = {};
|
|
@@ -13212,18 +13322,26 @@ class Client extends openapi_client_1.default {
|
|
|
13212
13322
|
});
|
|
13213
13323
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
|
|
13214
13324
|
}
|
|
13325
|
+
/**
|
|
13326
|
+
* @summary 关闭DB4AI
|
|
13327
|
+
*
|
|
13328
|
+
* @param request CloseAITaskRequest
|
|
13329
|
+
* @return CloseAITaskResponse
|
|
13330
|
+
*/
|
|
13215
13331
|
async closeAITask(request) {
|
|
13216
13332
|
let runtime = new $Util.RuntimeOptions({});
|
|
13217
13333
|
return await this.closeAITaskWithOptions(request, runtime);
|
|
13218
13334
|
}
|
|
13219
13335
|
/**
|
|
13220
|
-
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13336
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13337
|
+
*
|
|
13338
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13339
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13340
|
+
* > 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).
|
|
13341
|
+
*
|
|
13342
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13343
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13344
|
+
* @return CloseDBClusterMigrationResponse
|
|
13227
13345
|
*/
|
|
13228
13346
|
async closeDBClusterMigrationWithOptions(request, runtime) {
|
|
13229
13347
|
tea_util_1.default.validateModel(request);
|
|
@@ -13263,17 +13381,26 @@ class Client extends openapi_client_1.default {
|
|
|
13263
13381
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
13264
13382
|
}
|
|
13265
13383
|
/**
|
|
13266
|
-
|
|
13267
|
-
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13384
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13385
|
+
*
|
|
13386
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13387
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13388
|
+
* > 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).
|
|
13389
|
+
*
|
|
13390
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13391
|
+
* @return CloseDBClusterMigrationResponse
|
|
13272
13392
|
*/
|
|
13273
13393
|
async closeDBClusterMigration(request) {
|
|
13274
13394
|
let runtime = new $Util.RuntimeOptions({});
|
|
13275
13395
|
return await this.closeDBClusterMigrationWithOptions(request, runtime);
|
|
13276
13396
|
}
|
|
13397
|
+
/**
|
|
13398
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13399
|
+
*
|
|
13400
|
+
* @param request CreateAccountRequest
|
|
13401
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13402
|
+
* @return CreateAccountResponse
|
|
13403
|
+
*/
|
|
13277
13404
|
async createAccountWithOptions(request, runtime) {
|
|
13278
13405
|
tea_util_1.default.validateModel(request);
|
|
13279
13406
|
let query = {};
|
|
@@ -13332,19 +13459,27 @@ class Client extends openapi_client_1.default {
|
|
|
13332
13459
|
});
|
|
13333
13460
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
13334
13461
|
}
|
|
13462
|
+
/**
|
|
13463
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13464
|
+
*
|
|
13465
|
+
* @param request CreateAccountRequest
|
|
13466
|
+
* @return CreateAccountResponse
|
|
13467
|
+
*/
|
|
13335
13468
|
async createAccount(request) {
|
|
13336
13469
|
let runtime = new $Util.RuntimeOptions({});
|
|
13337
13470
|
return await this.createAccountWithOptions(request, runtime);
|
|
13338
13471
|
}
|
|
13339
13472
|
/**
|
|
13340
|
-
|
|
13341
|
-
|
|
13342
|
-
|
|
13343
|
-
|
|
13344
|
-
|
|
13345
|
-
|
|
13346
|
-
|
|
13347
|
-
|
|
13473
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13474
|
+
*
|
|
13475
|
+
* @description >
|
|
13476
|
+
* * You can manually create up to three backups for each cluster.
|
|
13477
|
+
* * 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).
|
|
13478
|
+
* * 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.
|
|
13479
|
+
*
|
|
13480
|
+
* @param request CreateBackupRequest
|
|
13481
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13482
|
+
* @return CreateBackupResponse
|
|
13348
13483
|
*/
|
|
13349
13484
|
async createBackupWithOptions(request, runtime) {
|
|
13350
13485
|
tea_util_1.default.validateModel(request);
|
|
@@ -13384,18 +13519,27 @@ class Client extends openapi_client_1.default {
|
|
|
13384
13519
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
13385
13520
|
}
|
|
13386
13521
|
/**
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13522
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13523
|
+
*
|
|
13524
|
+
* @description >
|
|
13525
|
+
* * You can manually create up to three backups for each cluster.
|
|
13526
|
+
* * 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).
|
|
13527
|
+
* * 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.
|
|
13528
|
+
*
|
|
13529
|
+
* @param request CreateBackupRequest
|
|
13530
|
+
* @return CreateBackupResponse
|
|
13394
13531
|
*/
|
|
13395
13532
|
async createBackup(request) {
|
|
13396
13533
|
let runtime = new $Util.RuntimeOptions({});
|
|
13397
13534
|
return await this.createBackupWithOptions(request, runtime);
|
|
13398
13535
|
}
|
|
13536
|
+
/**
|
|
13537
|
+
* @summary 创建冷存储实例
|
|
13538
|
+
*
|
|
13539
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13540
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13541
|
+
* @return CreateColdStorageInstanceResponse
|
|
13542
|
+
*/
|
|
13399
13543
|
async createColdStorageInstanceWithOptions(request, runtime) {
|
|
13400
13544
|
tea_util_1.default.validateModel(request);
|
|
13401
13545
|
let query = {};
|
|
@@ -13439,10 +13583,23 @@ class Client extends openapi_client_1.default {
|
|
|
13439
13583
|
});
|
|
13440
13584
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
|
|
13441
13585
|
}
|
|
13586
|
+
/**
|
|
13587
|
+
* @summary 创建冷存储实例
|
|
13588
|
+
*
|
|
13589
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13590
|
+
* @return CreateColdStorageInstanceResponse
|
|
13591
|
+
*/
|
|
13442
13592
|
async createColdStorageInstance(request) {
|
|
13443
13593
|
let runtime = new $Util.RuntimeOptions({});
|
|
13444
13594
|
return await this.createColdStorageInstanceWithOptions(request, runtime);
|
|
13445
13595
|
}
|
|
13596
|
+
/**
|
|
13597
|
+
* @summary Creates a PolarDB cluster.
|
|
13598
|
+
*
|
|
13599
|
+
* @param request CreateDBClusterRequest
|
|
13600
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13601
|
+
* @return CreateDBClusterResponse
|
|
13602
|
+
*/
|
|
13446
13603
|
async createDBClusterWithOptions(request, runtime) {
|
|
13447
13604
|
tea_util_1.default.validateModel(request);
|
|
13448
13605
|
let query = {};
|
|
@@ -13624,10 +13781,23 @@ class Client extends openapi_client_1.default {
|
|
|
13624
13781
|
});
|
|
13625
13782
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
13626
13783
|
}
|
|
13784
|
+
/**
|
|
13785
|
+
* @summary Creates a PolarDB cluster.
|
|
13786
|
+
*
|
|
13787
|
+
* @param request CreateDBClusterRequest
|
|
13788
|
+
* @return CreateDBClusterResponse
|
|
13789
|
+
*/
|
|
13627
13790
|
async createDBCluster(request) {
|
|
13628
13791
|
let runtime = new $Util.RuntimeOptions({});
|
|
13629
13792
|
return await this.createDBClusterWithOptions(request, runtime);
|
|
13630
13793
|
}
|
|
13794
|
+
/**
|
|
13795
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13796
|
+
*
|
|
13797
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13798
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13799
|
+
* @return CreateDBClusterEndpointResponse
|
|
13800
|
+
*/
|
|
13631
13801
|
async createDBClusterEndpointWithOptions(request, runtime) {
|
|
13632
13802
|
tea_util_1.default.validateModel(request);
|
|
13633
13803
|
let query = {};
|
|
@@ -13683,16 +13853,24 @@ class Client extends openapi_client_1.default {
|
|
|
13683
13853
|
});
|
|
13684
13854
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
|
|
13685
13855
|
}
|
|
13856
|
+
/**
|
|
13857
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13858
|
+
*
|
|
13859
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13860
|
+
* @return CreateDBClusterEndpointResponse
|
|
13861
|
+
*/
|
|
13686
13862
|
async createDBClusterEndpoint(request) {
|
|
13687
13863
|
let runtime = new $Util.RuntimeOptions({});
|
|
13688
13864
|
return await this.createDBClusterEndpointWithOptions(request, runtime);
|
|
13689
13865
|
}
|
|
13690
13866
|
/**
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13867
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13868
|
+
*
|
|
13869
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13870
|
+
*
|
|
13871
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13872
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13873
|
+
* @return CreateDBEndpointAddressResponse
|
|
13696
13874
|
*/
|
|
13697
13875
|
async createDBEndpointAddressWithOptions(request, runtime) {
|
|
13698
13876
|
tea_util_1.default.validateModel(request);
|
|
@@ -13747,24 +13925,28 @@ class Client extends openapi_client_1.default {
|
|
|
13747
13925
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
13748
13926
|
}
|
|
13749
13927
|
/**
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13928
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13929
|
+
*
|
|
13930
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13931
|
+
*
|
|
13932
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13933
|
+
* @return CreateDBEndpointAddressResponse
|
|
13754
13934
|
*/
|
|
13755
13935
|
async createDBEndpointAddress(request) {
|
|
13756
13936
|
let runtime = new $Util.RuntimeOptions({});
|
|
13757
13937
|
return await this.createDBEndpointAddressWithOptions(request, runtime);
|
|
13758
13938
|
}
|
|
13759
13939
|
/**
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13940
|
+
* @summary Creates a database link.
|
|
13941
|
+
*
|
|
13942
|
+
* @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.
|
|
13943
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13944
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13945
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13946
|
+
*
|
|
13947
|
+
* @param request CreateDBLinkRequest
|
|
13948
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13949
|
+
* @return CreateDBLinkResponse
|
|
13768
13950
|
*/
|
|
13769
13951
|
async createDBLinkWithOptions(request, runtime) {
|
|
13770
13952
|
tea_util_1.default.validateModel(request);
|
|
@@ -13837,18 +14019,27 @@ class Client extends openapi_client_1.default {
|
|
|
13837
14019
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
13838
14020
|
}
|
|
13839
14021
|
/**
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13846
|
-
|
|
14022
|
+
* @summary Creates a database link.
|
|
14023
|
+
*
|
|
14024
|
+
* @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.
|
|
14025
|
+
* > * You can create up to 10 database links for a cluster.
|
|
14026
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
14027
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
14028
|
+
*
|
|
14029
|
+
* @param request CreateDBLinkRequest
|
|
14030
|
+
* @return CreateDBLinkResponse
|
|
13847
14031
|
*/
|
|
13848
14032
|
async createDBLink(request) {
|
|
13849
14033
|
let runtime = new $Util.RuntimeOptions({});
|
|
13850
14034
|
return await this.createDBLinkWithOptions(request, runtime);
|
|
13851
14035
|
}
|
|
14036
|
+
/**
|
|
14037
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14038
|
+
*
|
|
14039
|
+
* @param request CreateDBNodesRequest
|
|
14040
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14041
|
+
* @return CreateDBNodesResponse
|
|
14042
|
+
*/
|
|
13852
14043
|
async createDBNodesWithOptions(request, runtime) {
|
|
13853
14044
|
tea_util_1.default.validateModel(request);
|
|
13854
14045
|
let query = {};
|
|
@@ -13907,18 +14098,26 @@ class Client extends openapi_client_1.default {
|
|
|
13907
14098
|
});
|
|
13908
14099
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
|
|
13909
14100
|
}
|
|
14101
|
+
/**
|
|
14102
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14103
|
+
*
|
|
14104
|
+
* @param request CreateDBNodesRequest
|
|
14105
|
+
* @return CreateDBNodesResponse
|
|
14106
|
+
*/
|
|
13910
14107
|
async createDBNodes(request) {
|
|
13911
14108
|
let runtime = new $Util.RuntimeOptions({});
|
|
13912
14109
|
return await this.createDBNodesWithOptions(request, runtime);
|
|
13913
14110
|
}
|
|
13914
14111
|
/**
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
13920
|
-
|
|
13921
|
-
|
|
14112
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14113
|
+
*
|
|
14114
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14115
|
+
* * The cluster is in the Running state.
|
|
14116
|
+
* * The cluster is unlocked.
|
|
14117
|
+
*
|
|
14118
|
+
* @param request CreateDatabaseRequest
|
|
14119
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14120
|
+
* @return CreateDatabaseResponse
|
|
13922
14121
|
*/
|
|
13923
14122
|
async createDatabaseWithOptions(request, runtime) {
|
|
13924
14123
|
tea_util_1.default.validateModel(request);
|
|
@@ -13976,23 +14175,27 @@ class Client extends openapi_client_1.default {
|
|
|
13976
14175
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
13977
14176
|
}
|
|
13978
14177
|
/**
|
|
13979
|
-
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
14178
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14179
|
+
*
|
|
14180
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14181
|
+
* * The cluster is in the Running state.
|
|
14182
|
+
* * The cluster is unlocked.
|
|
14183
|
+
*
|
|
14184
|
+
* @param request CreateDatabaseRequest
|
|
14185
|
+
* @return CreateDatabaseResponse
|
|
13985
14186
|
*/
|
|
13986
14187
|
async createDatabase(request) {
|
|
13987
14188
|
let runtime = new $Util.RuntimeOptions({});
|
|
13988
14189
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
13989
14190
|
}
|
|
13990
14191
|
/**
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
13994
|
-
|
|
13995
|
-
|
|
14192
|
+
* @summary Creates a global database network (GDN).
|
|
14193
|
+
*
|
|
14194
|
+
* @description > A cluster belongs to only one GDN.
|
|
14195
|
+
*
|
|
14196
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14197
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14198
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13996
14199
|
*/
|
|
13997
14200
|
async createGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
13998
14201
|
tea_util_1.default.validateModel(request);
|
|
@@ -14038,15 +14241,24 @@ class Client extends openapi_client_1.default {
|
|
|
14038
14241
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
14039
14242
|
}
|
|
14040
14243
|
/**
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14244
|
+
* @summary Creates a global database network (GDN).
|
|
14245
|
+
*
|
|
14246
|
+
* @description > A cluster belongs to only one GDN.
|
|
14247
|
+
*
|
|
14248
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14249
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
14045
14250
|
*/
|
|
14046
14251
|
async createGlobalDatabaseNetwork(request) {
|
|
14047
14252
|
let runtime = new $Util.RuntimeOptions({});
|
|
14048
14253
|
return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
14049
14254
|
}
|
|
14255
|
+
/**
|
|
14256
|
+
* @summary Creates a global IP whitelist template.
|
|
14257
|
+
*
|
|
14258
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14259
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14260
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14261
|
+
*/
|
|
14050
14262
|
async createGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
14051
14263
|
tea_util_1.default.validateModel(request);
|
|
14052
14264
|
let query = {};
|
|
@@ -14093,17 +14305,25 @@ class Client extends openapi_client_1.default {
|
|
|
14093
14305
|
});
|
|
14094
14306
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
|
|
14095
14307
|
}
|
|
14308
|
+
/**
|
|
14309
|
+
* @summary Creates a global IP whitelist template.
|
|
14310
|
+
*
|
|
14311
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14312
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14313
|
+
*/
|
|
14096
14314
|
async createGlobalSecurityIPGroup(request) {
|
|
14097
14315
|
let runtime = new $Util.RuntimeOptions({});
|
|
14098
14316
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14099
14317
|
}
|
|
14100
14318
|
/**
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14319
|
+
* @summary Creates a parameter template.
|
|
14320
|
+
*
|
|
14321
|
+
* @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).
|
|
14322
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14323
|
+
*
|
|
14324
|
+
* @param request CreateParameterGroupRequest
|
|
14325
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14326
|
+
* @return CreateParameterGroupResponse
|
|
14107
14327
|
*/
|
|
14108
14328
|
async createParameterGroupWithOptions(request, runtime) {
|
|
14109
14329
|
tea_util_1.default.validateModel(request);
|
|
@@ -14158,16 +14378,25 @@ class Client extends openapi_client_1.default {
|
|
|
14158
14378
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
14159
14379
|
}
|
|
14160
14380
|
/**
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14381
|
+
* @summary Creates a parameter template.
|
|
14382
|
+
*
|
|
14383
|
+
* @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).
|
|
14384
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14385
|
+
*
|
|
14386
|
+
* @param request CreateParameterGroupRequest
|
|
14387
|
+
* @return CreateParameterGroupResponse
|
|
14166
14388
|
*/
|
|
14167
14389
|
async createParameterGroup(request) {
|
|
14168
14390
|
let runtime = new $Util.RuntimeOptions({});
|
|
14169
14391
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
14170
14392
|
}
|
|
14393
|
+
/**
|
|
14394
|
+
* @summary Creates a service-linked role (SLR).
|
|
14395
|
+
*
|
|
14396
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14397
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14398
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14399
|
+
*/
|
|
14171
14400
|
async createServiceLinkedRoleWithOptions(request, runtime) {
|
|
14172
14401
|
tea_util_1.default.validateModel(request);
|
|
14173
14402
|
let query = {};
|
|
@@ -14199,10 +14428,23 @@ class Client extends openapi_client_1.default {
|
|
|
14199
14428
|
});
|
|
14200
14429
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
14201
14430
|
}
|
|
14431
|
+
/**
|
|
14432
|
+
* @summary Creates a service-linked role (SLR).
|
|
14433
|
+
*
|
|
14434
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14435
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14436
|
+
*/
|
|
14202
14437
|
async createServiceLinkedRole(request) {
|
|
14203
14438
|
let runtime = new $Util.RuntimeOptions({});
|
|
14204
14439
|
return await this.createServiceLinkedRoleWithOptions(request, runtime);
|
|
14205
14440
|
}
|
|
14441
|
+
/**
|
|
14442
|
+
* @summary Purchases a storage plan.
|
|
14443
|
+
*
|
|
14444
|
+
* @param request CreateStoragePlanRequest
|
|
14445
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14446
|
+
* @return CreateStoragePlanResponse
|
|
14447
|
+
*/
|
|
14206
14448
|
async createStoragePlanWithOptions(request, runtime) {
|
|
14207
14449
|
tea_util_1.default.validateModel(request);
|
|
14208
14450
|
let query = {};
|
|
@@ -14249,16 +14491,24 @@ class Client extends openapi_client_1.default {
|
|
|
14249
14491
|
});
|
|
14250
14492
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
|
|
14251
14493
|
}
|
|
14494
|
+
/**
|
|
14495
|
+
* @summary Purchases a storage plan.
|
|
14496
|
+
*
|
|
14497
|
+
* @param request CreateStoragePlanRequest
|
|
14498
|
+
* @return CreateStoragePlanResponse
|
|
14499
|
+
*/
|
|
14252
14500
|
async createStoragePlan(request) {
|
|
14253
14501
|
let runtime = new $Util.RuntimeOptions({});
|
|
14254
14502
|
return await this.createStoragePlanWithOptions(request, runtime);
|
|
14255
14503
|
}
|
|
14256
14504
|
/**
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14505
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14506
|
+
*
|
|
14507
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14508
|
+
*
|
|
14509
|
+
* @param request DeleteAccountRequest
|
|
14510
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14511
|
+
* @return DeleteAccountResponse
|
|
14262
14512
|
*/
|
|
14263
14513
|
async deleteAccountWithOptions(request, runtime) {
|
|
14264
14514
|
tea_util_1.default.validateModel(request);
|
|
@@ -14298,25 +14548,29 @@ class Client extends openapi_client_1.default {
|
|
|
14298
14548
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
14299
14549
|
}
|
|
14300
14550
|
/**
|
|
14301
|
-
|
|
14302
|
-
|
|
14303
|
-
|
|
14304
|
-
|
|
14551
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14552
|
+
*
|
|
14553
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14554
|
+
*
|
|
14555
|
+
* @param request DeleteAccountRequest
|
|
14556
|
+
* @return DeleteAccountResponse
|
|
14305
14557
|
*/
|
|
14306
14558
|
async deleteAccount(request) {
|
|
14307
14559
|
let runtime = new $Util.RuntimeOptions({});
|
|
14308
14560
|
return await this.deleteAccountWithOptions(request, runtime);
|
|
14309
14561
|
}
|
|
14310
14562
|
/**
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14314
|
-
|
|
14315
|
-
|
|
14316
|
-
|
|
14317
|
-
|
|
14318
|
-
|
|
14319
|
-
|
|
14563
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14564
|
+
*
|
|
14565
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14566
|
+
* * The cluster is in the Running state.
|
|
14567
|
+
* * The backup sets are in the Success state.
|
|
14568
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14569
|
+
* >* 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
|
|
14570
|
+
*
|
|
14571
|
+
* @param request DeleteBackupRequest
|
|
14572
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14573
|
+
* @return DeleteBackupResponse
|
|
14320
14574
|
*/
|
|
14321
14575
|
async deleteBackupWithOptions(request, runtime) {
|
|
14322
14576
|
tea_util_1.default.validateModel(request);
|
|
@@ -14356,19 +14610,28 @@ class Client extends openapi_client_1.default {
|
|
|
14356
14610
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
14357
14611
|
}
|
|
14358
14612
|
/**
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14613
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14614
|
+
*
|
|
14615
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14616
|
+
* * The cluster is in the Running state.
|
|
14617
|
+
* * The backup sets are in the Success state.
|
|
14618
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14619
|
+
* >* 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
|
|
14620
|
+
*
|
|
14621
|
+
* @param request DeleteBackupRequest
|
|
14622
|
+
* @return DeleteBackupResponse
|
|
14367
14623
|
*/
|
|
14368
14624
|
async deleteBackup(request) {
|
|
14369
14625
|
let runtime = new $Util.RuntimeOptions({});
|
|
14370
14626
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
14371
14627
|
}
|
|
14628
|
+
/**
|
|
14629
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14630
|
+
*
|
|
14631
|
+
* @param request DeleteDBClusterRequest
|
|
14632
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14633
|
+
* @return DeleteDBClusterResponse
|
|
14634
|
+
*/
|
|
14372
14635
|
async deleteDBClusterWithOptions(request, runtime) {
|
|
14373
14636
|
tea_util_1.default.validateModel(request);
|
|
14374
14637
|
let query = {};
|
|
@@ -14406,10 +14669,23 @@ class Client extends openapi_client_1.default {
|
|
|
14406
14669
|
});
|
|
14407
14670
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
14408
14671
|
}
|
|
14672
|
+
/**
|
|
14673
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14674
|
+
*
|
|
14675
|
+
* @param request DeleteDBClusterRequest
|
|
14676
|
+
* @return DeleteDBClusterResponse
|
|
14677
|
+
*/
|
|
14409
14678
|
async deleteDBCluster(request) {
|
|
14410
14679
|
let runtime = new $Util.RuntimeOptions({});
|
|
14411
14680
|
return await this.deleteDBClusterWithOptions(request, runtime);
|
|
14412
14681
|
}
|
|
14682
|
+
/**
|
|
14683
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14684
|
+
*
|
|
14685
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14686
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14687
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14688
|
+
*/
|
|
14413
14689
|
async deleteDBClusterEndpointWithOptions(request, runtime) {
|
|
14414
14690
|
tea_util_1.default.validateModel(request);
|
|
14415
14691
|
let query = {};
|
|
@@ -14447,17 +14723,25 @@ class Client extends openapi_client_1.default {
|
|
|
14447
14723
|
});
|
|
14448
14724
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
|
|
14449
14725
|
}
|
|
14726
|
+
/**
|
|
14727
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14728
|
+
*
|
|
14729
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14730
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14731
|
+
*/
|
|
14450
14732
|
async deleteDBClusterEndpoint(request) {
|
|
14451
14733
|
let runtime = new $Util.RuntimeOptions({});
|
|
14452
14734
|
return await this.deleteDBClusterEndpointWithOptions(request, runtime);
|
|
14453
14735
|
}
|
|
14454
14736
|
/**
|
|
14455
|
-
|
|
14456
|
-
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14737
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14738
|
+
*
|
|
14739
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14740
|
+
* > * 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).
|
|
14741
|
+
*
|
|
14742
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14743
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14744
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14461
14745
|
*/
|
|
14462
14746
|
async deleteDBEndpointAddressWithOptions(request, runtime) {
|
|
14463
14747
|
tea_util_1.default.validateModel(request);
|
|
@@ -14500,16 +14784,25 @@ class Client extends openapi_client_1.default {
|
|
|
14500
14784
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
14501
14785
|
}
|
|
14502
14786
|
/**
|
|
14503
|
-
|
|
14504
|
-
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
14787
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14788
|
+
*
|
|
14789
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14790
|
+
* > * 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).
|
|
14791
|
+
*
|
|
14792
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14793
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14508
14794
|
*/
|
|
14509
14795
|
async deleteDBEndpointAddress(request) {
|
|
14510
14796
|
let runtime = new $Util.RuntimeOptions({});
|
|
14511
14797
|
return await this.deleteDBEndpointAddressWithOptions(request, runtime);
|
|
14512
14798
|
}
|
|
14799
|
+
/**
|
|
14800
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14801
|
+
*
|
|
14802
|
+
* @param request DeleteDBLinkRequest
|
|
14803
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14804
|
+
* @return DeleteDBLinkResponse
|
|
14805
|
+
*/
|
|
14513
14806
|
async deleteDBLinkWithOptions(request, runtime) {
|
|
14514
14807
|
tea_util_1.default.validateModel(request);
|
|
14515
14808
|
let query = {};
|
|
@@ -14547,10 +14840,23 @@ class Client extends openapi_client_1.default {
|
|
|
14547
14840
|
});
|
|
14548
14841
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
|
|
14549
14842
|
}
|
|
14843
|
+
/**
|
|
14844
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14845
|
+
*
|
|
14846
|
+
* @param request DeleteDBLinkRequest
|
|
14847
|
+
* @return DeleteDBLinkResponse
|
|
14848
|
+
*/
|
|
14550
14849
|
async deleteDBLink(request) {
|
|
14551
14850
|
let runtime = new $Util.RuntimeOptions({});
|
|
14552
14851
|
return await this.deleteDBLinkWithOptions(request, runtime);
|
|
14553
14852
|
}
|
|
14853
|
+
/**
|
|
14854
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14855
|
+
*
|
|
14856
|
+
* @param request DeleteDBNodesRequest
|
|
14857
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14858
|
+
* @return DeleteDBNodesResponse
|
|
14859
|
+
*/
|
|
14554
14860
|
async deleteDBNodesWithOptions(request, runtime) {
|
|
14555
14861
|
tea_util_1.default.validateModel(request);
|
|
14556
14862
|
let query = {};
|
|
@@ -14594,17 +14900,25 @@ class Client extends openapi_client_1.default {
|
|
|
14594
14900
|
});
|
|
14595
14901
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
|
|
14596
14902
|
}
|
|
14903
|
+
/**
|
|
14904
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14905
|
+
*
|
|
14906
|
+
* @param request DeleteDBNodesRequest
|
|
14907
|
+
* @return DeleteDBNodesResponse
|
|
14908
|
+
*/
|
|
14597
14909
|
async deleteDBNodes(request) {
|
|
14598
14910
|
let runtime = new $Util.RuntimeOptions({});
|
|
14599
14911
|
return await this.deleteDBNodesWithOptions(request, runtime);
|
|
14600
14912
|
}
|
|
14601
14913
|
/**
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14914
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14915
|
+
*
|
|
14916
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14917
|
+
* >- 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.
|
|
14918
|
+
*
|
|
14919
|
+
* @param request DeleteDatabaseRequest
|
|
14920
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14921
|
+
* @return DeleteDatabaseResponse
|
|
14608
14922
|
*/
|
|
14609
14923
|
async deleteDatabaseWithOptions(request, runtime) {
|
|
14610
14924
|
tea_util_1.default.validateModel(request);
|
|
@@ -14644,22 +14958,26 @@ class Client extends openapi_client_1.default {
|
|
|
14644
14958
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
14645
14959
|
}
|
|
14646
14960
|
/**
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14961
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14962
|
+
*
|
|
14963
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14964
|
+
* >- 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.
|
|
14965
|
+
*
|
|
14966
|
+
* @param request DeleteDatabaseRequest
|
|
14967
|
+
* @return DeleteDatabaseResponse
|
|
14652
14968
|
*/
|
|
14653
14969
|
async deleteDatabase(request) {
|
|
14654
14970
|
let runtime = new $Util.RuntimeOptions({});
|
|
14655
14971
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
14656
14972
|
}
|
|
14657
14973
|
/**
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14974
|
+
* @summary Deletes a global database network (GDN).
|
|
14975
|
+
*
|
|
14976
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14977
|
+
*
|
|
14978
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14979
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14980
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14663
14981
|
*/
|
|
14664
14982
|
async deleteGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
14665
14983
|
tea_util_1.default.validateModel(request);
|
|
@@ -14702,15 +15020,24 @@ class Client extends openapi_client_1.default {
|
|
|
14702
15020
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
14703
15021
|
}
|
|
14704
15022
|
/**
|
|
14705
|
-
|
|
14706
|
-
|
|
14707
|
-
|
|
14708
|
-
|
|
15023
|
+
* @summary Deletes a global database network (GDN).
|
|
15024
|
+
*
|
|
15025
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
15026
|
+
*
|
|
15027
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
15028
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14709
15029
|
*/
|
|
14710
15030
|
async deleteGlobalDatabaseNetwork(request) {
|
|
14711
15031
|
let runtime = new $Util.RuntimeOptions({});
|
|
14712
15032
|
return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
14713
15033
|
}
|
|
15034
|
+
/**
|
|
15035
|
+
* @summary Deletes a global IP whitelist template.
|
|
15036
|
+
*
|
|
15037
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15038
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15039
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15040
|
+
*/
|
|
14714
15041
|
async deleteGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
14715
15042
|
tea_util_1.default.validateModel(request);
|
|
14716
15043
|
let query = {};
|
|
@@ -14757,10 +15084,23 @@ class Client extends openapi_client_1.default {
|
|
|
14757
15084
|
});
|
|
14758
15085
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
|
|
14759
15086
|
}
|
|
15087
|
+
/**
|
|
15088
|
+
* @summary Deletes a global IP whitelist template.
|
|
15089
|
+
*
|
|
15090
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15091
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15092
|
+
*/
|
|
14760
15093
|
async deleteGlobalSecurityIPGroup(request) {
|
|
14761
15094
|
let runtime = new $Util.RuntimeOptions({});
|
|
14762
15095
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14763
15096
|
}
|
|
15097
|
+
/**
|
|
15098
|
+
* @summary Deletes a data masking rule.
|
|
15099
|
+
*
|
|
15100
|
+
* @param request DeleteMaskingRulesRequest
|
|
15101
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15102
|
+
* @return DeleteMaskingRulesResponse
|
|
15103
|
+
*/
|
|
14764
15104
|
async deleteMaskingRulesWithOptions(request, runtime) {
|
|
14765
15105
|
tea_util_1.default.validateModel(request);
|
|
14766
15106
|
let query = {};
|
|
@@ -14786,17 +15126,25 @@ class Client extends openapi_client_1.default {
|
|
|
14786
15126
|
});
|
|
14787
15127
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
|
|
14788
15128
|
}
|
|
15129
|
+
/**
|
|
15130
|
+
* @summary Deletes a data masking rule.
|
|
15131
|
+
*
|
|
15132
|
+
* @param request DeleteMaskingRulesRequest
|
|
15133
|
+
* @return DeleteMaskingRulesResponse
|
|
15134
|
+
*/
|
|
14789
15135
|
async deleteMaskingRules(request) {
|
|
14790
15136
|
let runtime = new $Util.RuntimeOptions({});
|
|
14791
15137
|
return await this.deleteMaskingRulesWithOptions(request, runtime);
|
|
14792
15138
|
}
|
|
14793
15139
|
/**
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
15140
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15141
|
+
*
|
|
15142
|
+
* @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).
|
|
15143
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15144
|
+
*
|
|
15145
|
+
* @param request DeleteParameterGroupRequest
|
|
15146
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15147
|
+
* @return DeleteParameterGroupResponse
|
|
14800
15148
|
*/
|
|
14801
15149
|
async deleteParameterGroupWithOptions(request, runtime) {
|
|
14802
15150
|
tea_util_1.default.validateModel(request);
|
|
@@ -14839,16 +15187,25 @@ class Client extends openapi_client_1.default {
|
|
|
14839
15187
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
14840
15188
|
}
|
|
14841
15189
|
/**
|
|
14842
|
-
|
|
14843
|
-
|
|
14844
|
-
|
|
14845
|
-
|
|
14846
|
-
|
|
15190
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15191
|
+
*
|
|
15192
|
+
* @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).
|
|
15193
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15194
|
+
*
|
|
15195
|
+
* @param request DeleteParameterGroupRequest
|
|
15196
|
+
* @return DeleteParameterGroupResponse
|
|
14847
15197
|
*/
|
|
14848
15198
|
async deleteParameterGroup(request) {
|
|
14849
15199
|
let runtime = new $Util.RuntimeOptions({});
|
|
14850
15200
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
14851
15201
|
}
|
|
15202
|
+
/**
|
|
15203
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15204
|
+
*
|
|
15205
|
+
* @param request DescribeAITaskStatusRequest
|
|
15206
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15207
|
+
* @return DescribeAITaskStatusResponse
|
|
15208
|
+
*/
|
|
14852
15209
|
async describeAITaskStatusWithOptions(request, runtime) {
|
|
14853
15210
|
tea_util_1.default.validateModel(request);
|
|
14854
15211
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -14868,10 +15225,23 @@ class Client extends openapi_client_1.default {
|
|
|
14868
15225
|
});
|
|
14869
15226
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
|
|
14870
15227
|
}
|
|
15228
|
+
/**
|
|
15229
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15230
|
+
*
|
|
15231
|
+
* @param request DescribeAITaskStatusRequest
|
|
15232
|
+
* @return DescribeAITaskStatusResponse
|
|
15233
|
+
*/
|
|
14871
15234
|
async describeAITaskStatus(request) {
|
|
14872
15235
|
let runtime = new $Util.RuntimeOptions({});
|
|
14873
15236
|
return await this.describeAITaskStatusWithOptions(request, runtime);
|
|
14874
15237
|
}
|
|
15238
|
+
/**
|
|
15239
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15240
|
+
*
|
|
15241
|
+
* @param request DescribeAccountsRequest
|
|
15242
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15243
|
+
* @return DescribeAccountsResponse
|
|
15244
|
+
*/
|
|
14875
15245
|
async describeAccountsWithOptions(request, runtime) {
|
|
14876
15246
|
tea_util_1.default.validateModel(request);
|
|
14877
15247
|
let query = {};
|
|
@@ -14915,10 +15285,23 @@ class Client extends openapi_client_1.default {
|
|
|
14915
15285
|
});
|
|
14916
15286
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
14917
15287
|
}
|
|
15288
|
+
/**
|
|
15289
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15290
|
+
*
|
|
15291
|
+
* @param request DescribeAccountsRequest
|
|
15292
|
+
* @return DescribeAccountsResponse
|
|
15293
|
+
*/
|
|
14918
15294
|
async describeAccounts(request) {
|
|
14919
15295
|
let runtime = new $Util.RuntimeOptions({});
|
|
14920
15296
|
return await this.describeAccountsWithOptions(request, runtime);
|
|
14921
15297
|
}
|
|
15298
|
+
/**
|
|
15299
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15300
|
+
*
|
|
15301
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15302
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15303
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15304
|
+
*/
|
|
14922
15305
|
async describeAutoRenewAttributeWithOptions(request, runtime) {
|
|
14923
15306
|
tea_util_1.default.validateModel(request);
|
|
14924
15307
|
let query = {};
|
|
@@ -14965,10 +15348,23 @@ class Client extends openapi_client_1.default {
|
|
|
14965
15348
|
});
|
|
14966
15349
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
|
|
14967
15350
|
}
|
|
15351
|
+
/**
|
|
15352
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15353
|
+
*
|
|
15354
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15355
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15356
|
+
*/
|
|
14968
15357
|
async describeAutoRenewAttribute(request) {
|
|
14969
15358
|
let runtime = new $Util.RuntimeOptions({});
|
|
14970
15359
|
return await this.describeAutoRenewAttributeWithOptions(request, runtime);
|
|
14971
15360
|
}
|
|
15361
|
+
/**
|
|
15362
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15363
|
+
*
|
|
15364
|
+
* @param request DescribeBackupLogsRequest
|
|
15365
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15366
|
+
* @return DescribeBackupLogsResponse
|
|
15367
|
+
*/
|
|
14972
15368
|
async describeBackupLogsWithOptions(request, runtime) {
|
|
14973
15369
|
tea_util_1.default.validateModel(request);
|
|
14974
15370
|
let query = {};
|
|
@@ -15018,10 +15414,23 @@ class Client extends openapi_client_1.default {
|
|
|
15018
15414
|
});
|
|
15019
15415
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
|
|
15020
15416
|
}
|
|
15417
|
+
/**
|
|
15418
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15419
|
+
*
|
|
15420
|
+
* @param request DescribeBackupLogsRequest
|
|
15421
|
+
* @return DescribeBackupLogsResponse
|
|
15422
|
+
*/
|
|
15021
15423
|
async describeBackupLogs(request) {
|
|
15022
15424
|
let runtime = new $Util.RuntimeOptions({});
|
|
15023
15425
|
return await this.describeBackupLogsWithOptions(request, runtime);
|
|
15024
15426
|
}
|
|
15427
|
+
/**
|
|
15428
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15429
|
+
*
|
|
15430
|
+
* @param request DescribeBackupPolicyRequest
|
|
15431
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15432
|
+
* @return DescribeBackupPolicyResponse
|
|
15433
|
+
*/
|
|
15025
15434
|
async describeBackupPolicyWithOptions(request, runtime) {
|
|
15026
15435
|
tea_util_1.default.validateModel(request);
|
|
15027
15436
|
let query = {};
|
|
@@ -15056,10 +15465,23 @@ class Client extends openapi_client_1.default {
|
|
|
15056
15465
|
});
|
|
15057
15466
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
15058
15467
|
}
|
|
15468
|
+
/**
|
|
15469
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15470
|
+
*
|
|
15471
|
+
* @param request DescribeBackupPolicyRequest
|
|
15472
|
+
* @return DescribeBackupPolicyResponse
|
|
15473
|
+
*/
|
|
15059
15474
|
async describeBackupPolicy(request) {
|
|
15060
15475
|
let runtime = new $Util.RuntimeOptions({});
|
|
15061
15476
|
return await this.describeBackupPolicyWithOptions(request, runtime);
|
|
15062
15477
|
}
|
|
15478
|
+
/**
|
|
15479
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15480
|
+
*
|
|
15481
|
+
* @param request DescribeBackupTasksRequest
|
|
15482
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15483
|
+
* @return DescribeBackupTasksResponse
|
|
15484
|
+
*/
|
|
15063
15485
|
async describeBackupTasksWithOptions(request, runtime) {
|
|
15064
15486
|
tea_util_1.default.validateModel(request);
|
|
15065
15487
|
let query = {};
|
|
@@ -15100,10 +15522,23 @@ class Client extends openapi_client_1.default {
|
|
|
15100
15522
|
});
|
|
15101
15523
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
|
|
15102
15524
|
}
|
|
15525
|
+
/**
|
|
15526
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15527
|
+
*
|
|
15528
|
+
* @param request DescribeBackupTasksRequest
|
|
15529
|
+
* @return DescribeBackupTasksResponse
|
|
15530
|
+
*/
|
|
15103
15531
|
async describeBackupTasks(request) {
|
|
15104
15532
|
let runtime = new $Util.RuntimeOptions({});
|
|
15105
15533
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
15106
15534
|
}
|
|
15535
|
+
/**
|
|
15536
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15537
|
+
*
|
|
15538
|
+
* @param request DescribeBackupsRequest
|
|
15539
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15540
|
+
* @return DescribeBackupsResponse
|
|
15541
|
+
*/
|
|
15107
15542
|
async describeBackupsWithOptions(request, runtime) {
|
|
15108
15543
|
tea_util_1.default.validateModel(request);
|
|
15109
15544
|
let query = {};
|
|
@@ -15162,10 +15597,23 @@ class Client extends openapi_client_1.default {
|
|
|
15162
15597
|
});
|
|
15163
15598
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
15164
15599
|
}
|
|
15600
|
+
/**
|
|
15601
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15602
|
+
*
|
|
15603
|
+
* @param request DescribeBackupsRequest
|
|
15604
|
+
* @return DescribeBackupsResponse
|
|
15605
|
+
*/
|
|
15165
15606
|
async describeBackups(request) {
|
|
15166
15607
|
let runtime = new $Util.RuntimeOptions({});
|
|
15167
15608
|
return await this.describeBackupsWithOptions(request, runtime);
|
|
15168
15609
|
}
|
|
15610
|
+
/**
|
|
15611
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15612
|
+
*
|
|
15613
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15614
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15615
|
+
* @return DescribeCharacterSetNameResponse
|
|
15616
|
+
*/
|
|
15169
15617
|
async describeCharacterSetNameWithOptions(request, runtime) {
|
|
15170
15618
|
tea_util_1.default.validateModel(request);
|
|
15171
15619
|
let query = {};
|
|
@@ -15203,10 +15651,23 @@ class Client extends openapi_client_1.default {
|
|
|
15203
15651
|
});
|
|
15204
15652
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
|
|
15205
15653
|
}
|
|
15654
|
+
/**
|
|
15655
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15656
|
+
*
|
|
15657
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15658
|
+
* @return DescribeCharacterSetNameResponse
|
|
15659
|
+
*/
|
|
15206
15660
|
async describeCharacterSetName(request) {
|
|
15207
15661
|
let runtime = new $Util.RuntimeOptions({});
|
|
15208
15662
|
return await this.describeCharacterSetNameWithOptions(request, runtime);
|
|
15209
15663
|
}
|
|
15664
|
+
/**
|
|
15665
|
+
* @summary Queries the specifications of a cluster.
|
|
15666
|
+
*
|
|
15667
|
+
* @param request DescribeClassListRequest
|
|
15668
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15669
|
+
* @return DescribeClassListResponse
|
|
15670
|
+
*/
|
|
15210
15671
|
async describeClassListWithOptions(request, runtime) {
|
|
15211
15672
|
tea_util_1.default.validateModel(request);
|
|
15212
15673
|
let query = {};
|
|
@@ -15253,10 +15714,23 @@ class Client extends openapi_client_1.default {
|
|
|
15253
15714
|
});
|
|
15254
15715
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
|
|
15255
15716
|
}
|
|
15717
|
+
/**
|
|
15718
|
+
* @summary Queries the specifications of a cluster.
|
|
15719
|
+
*
|
|
15720
|
+
* @param request DescribeClassListRequest
|
|
15721
|
+
* @return DescribeClassListResponse
|
|
15722
|
+
*/
|
|
15256
15723
|
async describeClassList(request) {
|
|
15257
15724
|
let runtime = new $Util.RuntimeOptions({});
|
|
15258
15725
|
return await this.describeClassListWithOptions(request, runtime);
|
|
15259
15726
|
}
|
|
15727
|
+
/**
|
|
15728
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15729
|
+
*
|
|
15730
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15731
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15732
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15733
|
+
*/
|
|
15260
15734
|
async describeDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
15261
15735
|
tea_util_1.default.validateModel(request);
|
|
15262
15736
|
let query = {};
|
|
@@ -15291,10 +15765,23 @@ class Client extends openapi_client_1.default {
|
|
|
15291
15765
|
});
|
|
15292
15766
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
|
|
15293
15767
|
}
|
|
15768
|
+
/**
|
|
15769
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15770
|
+
*
|
|
15771
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15772
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15773
|
+
*/
|
|
15294
15774
|
async describeDBClusterAccessWhitelist(request) {
|
|
15295
15775
|
let runtime = new $Util.RuntimeOptions({});
|
|
15296
15776
|
return await this.describeDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
15297
15777
|
}
|
|
15778
|
+
/**
|
|
15779
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15780
|
+
*
|
|
15781
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15782
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15783
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15784
|
+
*/
|
|
15298
15785
|
async describeDBClusterAttributeWithOptions(request, runtime) {
|
|
15299
15786
|
tea_util_1.default.validateModel(request);
|
|
15300
15787
|
let query = {};
|
|
@@ -15332,10 +15819,23 @@ class Client extends openapi_client_1.default {
|
|
|
15332
15819
|
});
|
|
15333
15820
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
15334
15821
|
}
|
|
15822
|
+
/**
|
|
15823
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15824
|
+
*
|
|
15825
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15826
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15827
|
+
*/
|
|
15335
15828
|
async describeDBClusterAttribute(request) {
|
|
15336
15829
|
let runtime = new $Util.RuntimeOptions({});
|
|
15337
15830
|
return await this.describeDBClusterAttributeWithOptions(request, runtime);
|
|
15338
15831
|
}
|
|
15832
|
+
/**
|
|
15833
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15834
|
+
*
|
|
15835
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15836
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15837
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15838
|
+
*/
|
|
15339
15839
|
async describeDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
15340
15840
|
tea_util_1.default.validateModel(request);
|
|
15341
15841
|
let query = {};
|
|
@@ -15370,10 +15870,23 @@ class Client extends openapi_client_1.default {
|
|
|
15370
15870
|
});
|
|
15371
15871
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
|
|
15372
15872
|
}
|
|
15873
|
+
/**
|
|
15874
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15875
|
+
*
|
|
15876
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15877
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15878
|
+
*/
|
|
15373
15879
|
async describeDBClusterAuditLogCollector(request) {
|
|
15374
15880
|
let runtime = new $Util.RuntimeOptions({});
|
|
15375
15881
|
return await this.describeDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
15376
15882
|
}
|
|
15883
|
+
/**
|
|
15884
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15885
|
+
*
|
|
15886
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15887
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15888
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15889
|
+
*/
|
|
15377
15890
|
async describeDBClusterAvailableResourcesWithOptions(request, runtime) {
|
|
15378
15891
|
tea_util_1.default.validateModel(request);
|
|
15379
15892
|
let query = {};
|
|
@@ -15423,10 +15936,23 @@ class Client extends openapi_client_1.default {
|
|
|
15423
15936
|
});
|
|
15424
15937
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
|
|
15425
15938
|
}
|
|
15939
|
+
/**
|
|
15940
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15941
|
+
*
|
|
15942
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15943
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15944
|
+
*/
|
|
15426
15945
|
async describeDBClusterAvailableResources(request) {
|
|
15427
15946
|
let runtime = new $Util.RuntimeOptions({});
|
|
15428
15947
|
return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
|
|
15429
15948
|
}
|
|
15949
|
+
/**
|
|
15950
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
15951
|
+
*
|
|
15952
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
15953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15954
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
15955
|
+
*/
|
|
15430
15956
|
async describeDBClusterConnectivityWithOptions(request, runtime) {
|
|
15431
15957
|
tea_util_1.default.validateModel(request);
|
|
15432
15958
|
let query = {};
|
|
@@ -15470,10 +15996,23 @@ class Client extends openapi_client_1.default {
|
|
|
15470
15996
|
});
|
|
15471
15997
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
15472
15998
|
}
|
|
15999
|
+
/**
|
|
16000
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
16001
|
+
*
|
|
16002
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
16003
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
16004
|
+
*/
|
|
15473
16005
|
async describeDBClusterConnectivity(request) {
|
|
15474
16006
|
let runtime = new $Util.RuntimeOptions({});
|
|
15475
16007
|
return await this.describeDBClusterConnectivityWithOptions(request, runtime);
|
|
15476
16008
|
}
|
|
16009
|
+
/**
|
|
16010
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
16011
|
+
*
|
|
16012
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
16013
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16014
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
16015
|
+
*/
|
|
15477
16016
|
async describeDBClusterEndpointsWithOptions(request, runtime) {
|
|
15478
16017
|
tea_util_1.default.validateModel(request);
|
|
15479
16018
|
let query = {};
|
|
@@ -15514,17 +16053,25 @@ class Client extends openapi_client_1.default {
|
|
|
15514
16053
|
});
|
|
15515
16054
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
|
|
15516
16055
|
}
|
|
16056
|
+
/**
|
|
16057
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
16058
|
+
*
|
|
16059
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
16060
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
16061
|
+
*/
|
|
15517
16062
|
async describeDBClusterEndpoints(request) {
|
|
15518
16063
|
let runtime = new $Util.RuntimeOptions({});
|
|
15519
16064
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
15520
16065
|
}
|
|
15521
16066
|
/**
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
|
|
16067
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16068
|
+
*
|
|
16069
|
+
* @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).
|
|
16070
|
+
* * 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**.
|
|
16071
|
+
*
|
|
16072
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16073
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16074
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15528
16075
|
*/
|
|
15529
16076
|
async describeDBClusterMigrationWithOptions(request, runtime) {
|
|
15530
16077
|
tea_util_1.default.validateModel(request);
|
|
@@ -15561,16 +16108,25 @@ class Client extends openapi_client_1.default {
|
|
|
15561
16108
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
15562
16109
|
}
|
|
15563
16110
|
/**
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
|
|
16111
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16112
|
+
*
|
|
16113
|
+
* @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).
|
|
16114
|
+
* * 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**.
|
|
16115
|
+
*
|
|
16116
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16117
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15569
16118
|
*/
|
|
15570
16119
|
async describeDBClusterMigration(request) {
|
|
15571
16120
|
let runtime = new $Util.RuntimeOptions({});
|
|
15572
16121
|
return await this.describeDBClusterMigrationWithOptions(request, runtime);
|
|
15573
16122
|
}
|
|
16123
|
+
/**
|
|
16124
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16125
|
+
*
|
|
16126
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16127
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16128
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16129
|
+
*/
|
|
15574
16130
|
async describeDBClusterMonitorWithOptions(request, runtime) {
|
|
15575
16131
|
tea_util_1.default.validateModel(request);
|
|
15576
16132
|
let query = {};
|
|
@@ -15605,10 +16161,23 @@ class Client extends openapi_client_1.default {
|
|
|
15605
16161
|
});
|
|
15606
16162
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
|
|
15607
16163
|
}
|
|
16164
|
+
/**
|
|
16165
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16166
|
+
*
|
|
16167
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16168
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16169
|
+
*/
|
|
15608
16170
|
async describeDBClusterMonitor(request) {
|
|
15609
16171
|
let runtime = new $Util.RuntimeOptions({});
|
|
15610
16172
|
return await this.describeDBClusterMonitorWithOptions(request, runtime);
|
|
15611
16173
|
}
|
|
16174
|
+
/**
|
|
16175
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16176
|
+
*
|
|
16177
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16178
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16179
|
+
* @return DescribeDBClusterParametersResponse
|
|
16180
|
+
*/
|
|
15612
16181
|
async describeDBClusterParametersWithOptions(request, runtime) {
|
|
15613
16182
|
tea_util_1.default.validateModel(request);
|
|
15614
16183
|
let query = {};
|
|
@@ -15646,27 +16215,35 @@ class Client extends openapi_client_1.default {
|
|
|
15646
16215
|
});
|
|
15647
16216
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
|
|
15648
16217
|
}
|
|
16218
|
+
/**
|
|
16219
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16220
|
+
*
|
|
16221
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16222
|
+
* @return DescribeDBClusterParametersResponse
|
|
16223
|
+
*/
|
|
15649
16224
|
async describeDBClusterParameters(request) {
|
|
15650
16225
|
let runtime = new $Util.RuntimeOptions({});
|
|
15651
16226
|
return await this.describeDBClusterParametersWithOptions(request, runtime);
|
|
15652
16227
|
}
|
|
15653
16228
|
/**
|
|
15654
|
-
|
|
15655
|
-
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
16229
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16230
|
+
*
|
|
16231
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16232
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16233
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16234
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16235
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16236
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16237
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16238
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16239
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16240
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16241
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16242
|
+
* > 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.
|
|
16243
|
+
*
|
|
16244
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16245
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16246
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15670
16247
|
*/
|
|
15671
16248
|
async describeDBClusterPerformanceWithOptions(request, runtime) {
|
|
15672
16249
|
tea_util_1.default.validateModel(request);
|
|
@@ -15703,26 +16280,35 @@ class Client extends openapi_client_1.default {
|
|
|
15703
16280
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15704
16281
|
}
|
|
15705
16282
|
/**
|
|
15706
|
-
|
|
15707
|
-
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
|
|
15717
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
|
|
16283
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16284
|
+
*
|
|
16285
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16286
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16287
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16288
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16289
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16290
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16291
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16292
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16293
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16294
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16295
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16296
|
+
* > 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.
|
|
16297
|
+
*
|
|
16298
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16299
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15721
16300
|
*/
|
|
15722
16301
|
async describeDBClusterPerformance(request) {
|
|
15723
16302
|
let runtime = new $Util.RuntimeOptions({});
|
|
15724
16303
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
15725
16304
|
}
|
|
16305
|
+
/**
|
|
16306
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16307
|
+
*
|
|
16308
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16309
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16310
|
+
* @return DescribeDBClusterSSLResponse
|
|
16311
|
+
*/
|
|
15726
16312
|
async describeDBClusterSSLWithOptions(request, runtime) {
|
|
15727
16313
|
tea_util_1.default.validateModel(request);
|
|
15728
16314
|
let query = {};
|
|
@@ -15757,10 +16343,23 @@ class Client extends openapi_client_1.default {
|
|
|
15757
16343
|
});
|
|
15758
16344
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
|
|
15759
16345
|
}
|
|
16346
|
+
/**
|
|
16347
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16348
|
+
*
|
|
16349
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16350
|
+
* @return DescribeDBClusterSSLResponse
|
|
16351
|
+
*/
|
|
15760
16352
|
async describeDBClusterSSL(request) {
|
|
15761
16353
|
let runtime = new $Util.RuntimeOptions({});
|
|
15762
16354
|
return await this.describeDBClusterSSLWithOptions(request, runtime);
|
|
15763
16355
|
}
|
|
16356
|
+
/**
|
|
16357
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16358
|
+
*
|
|
16359
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16360
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16361
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16362
|
+
*/
|
|
15764
16363
|
async describeDBClusterServerlessConfWithOptions(request, runtime) {
|
|
15765
16364
|
tea_util_1.default.validateModel(request);
|
|
15766
16365
|
let query = {};
|
|
@@ -15795,10 +16394,23 @@ class Client extends openapi_client_1.default {
|
|
|
15795
16394
|
});
|
|
15796
16395
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
|
|
15797
16396
|
}
|
|
16397
|
+
/**
|
|
16398
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16399
|
+
*
|
|
16400
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16401
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16402
|
+
*/
|
|
15798
16403
|
async describeDBClusterServerlessConf(request) {
|
|
15799
16404
|
let runtime = new $Util.RuntimeOptions({});
|
|
15800
16405
|
return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
|
|
15801
16406
|
}
|
|
16407
|
+
/**
|
|
16408
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16409
|
+
*
|
|
16410
|
+
* @param request DescribeDBClusterTDERequest
|
|
16411
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16412
|
+
* @return DescribeDBClusterTDEResponse
|
|
16413
|
+
*/
|
|
15802
16414
|
async describeDBClusterTDEWithOptions(request, runtime) {
|
|
15803
16415
|
tea_util_1.default.validateModel(request);
|
|
15804
16416
|
let query = {};
|
|
@@ -15833,10 +16445,23 @@ class Client extends openapi_client_1.default {
|
|
|
15833
16445
|
});
|
|
15834
16446
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
|
|
15835
16447
|
}
|
|
16448
|
+
/**
|
|
16449
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16450
|
+
*
|
|
16451
|
+
* @param request DescribeDBClusterTDERequest
|
|
16452
|
+
* @return DescribeDBClusterTDEResponse
|
|
16453
|
+
*/
|
|
15836
16454
|
async describeDBClusterTDE(request) {
|
|
15837
16455
|
let runtime = new $Util.RuntimeOptions({});
|
|
15838
16456
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
15839
16457
|
}
|
|
16458
|
+
/**
|
|
16459
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16460
|
+
*
|
|
16461
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16462
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16463
|
+
* @return DescribeDBClusterVersionResponse
|
|
16464
|
+
*/
|
|
15840
16465
|
async describeDBClusterVersionWithOptions(request, runtime) {
|
|
15841
16466
|
tea_util_1.default.validateModel(request);
|
|
15842
16467
|
let query = {};
|
|
@@ -15874,10 +16499,23 @@ class Client extends openapi_client_1.default {
|
|
|
15874
16499
|
});
|
|
15875
16500
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
15876
16501
|
}
|
|
16502
|
+
/**
|
|
16503
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16504
|
+
*
|
|
16505
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16506
|
+
* @return DescribeDBClusterVersionResponse
|
|
16507
|
+
*/
|
|
15877
16508
|
async describeDBClusterVersion(request) {
|
|
15878
16509
|
let runtime = new $Util.RuntimeOptions({});
|
|
15879
16510
|
return await this.describeDBClusterVersionWithOptions(request, runtime);
|
|
15880
16511
|
}
|
|
16512
|
+
/**
|
|
16513
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16514
|
+
*
|
|
16515
|
+
* @param request DescribeDBClustersRequest
|
|
16516
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16517
|
+
* @return DescribeDBClustersResponse
|
|
16518
|
+
*/
|
|
15881
16519
|
async describeDBClustersWithOptions(request, runtime) {
|
|
15882
16520
|
tea_util_1.default.validateModel(request);
|
|
15883
16521
|
let query = {};
|
|
@@ -15960,10 +16598,23 @@ class Client extends openapi_client_1.default {
|
|
|
15960
16598
|
});
|
|
15961
16599
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15962
16600
|
}
|
|
16601
|
+
/**
|
|
16602
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16603
|
+
*
|
|
16604
|
+
* @param request DescribeDBClustersRequest
|
|
16605
|
+
* @return DescribeDBClustersResponse
|
|
16606
|
+
*/
|
|
15963
16607
|
async describeDBClusters(request) {
|
|
15964
16608
|
let runtime = new $Util.RuntimeOptions({});
|
|
15965
16609
|
return await this.describeDBClustersWithOptions(request, runtime);
|
|
15966
16610
|
}
|
|
16611
|
+
/**
|
|
16612
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16613
|
+
*
|
|
16614
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16615
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16616
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16617
|
+
*/
|
|
15967
16618
|
async describeDBClustersWithBackupsWithOptions(request, runtime) {
|
|
15968
16619
|
tea_util_1.default.validateModel(request);
|
|
15969
16620
|
let query = {};
|
|
@@ -16022,10 +16673,23 @@ class Client extends openapi_client_1.default {
|
|
|
16022
16673
|
});
|
|
16023
16674
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
|
|
16024
16675
|
}
|
|
16676
|
+
/**
|
|
16677
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16678
|
+
*
|
|
16679
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16680
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16681
|
+
*/
|
|
16025
16682
|
async describeDBClustersWithBackups(request) {
|
|
16026
16683
|
let runtime = new $Util.RuntimeOptions({});
|
|
16027
16684
|
return await this.describeDBClustersWithBackupsWithOptions(request, runtime);
|
|
16028
16685
|
}
|
|
16686
|
+
/**
|
|
16687
|
+
* @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.
|
|
16688
|
+
*
|
|
16689
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16690
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16691
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16692
|
+
*/
|
|
16029
16693
|
async describeDBInitializeVariableWithOptions(request, runtime) {
|
|
16030
16694
|
tea_util_1.default.validateModel(request);
|
|
16031
16695
|
let query = {};
|
|
@@ -16060,16 +16724,24 @@ class Client extends openapi_client_1.default {
|
|
|
16060
16724
|
});
|
|
16061
16725
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
|
|
16062
16726
|
}
|
|
16727
|
+
/**
|
|
16728
|
+
* @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.
|
|
16729
|
+
*
|
|
16730
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16731
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16732
|
+
*/
|
|
16063
16733
|
async describeDBInitializeVariable(request) {
|
|
16064
16734
|
let runtime = new $Util.RuntimeOptions({});
|
|
16065
16735
|
return await this.describeDBInitializeVariableWithOptions(request, runtime);
|
|
16066
16736
|
}
|
|
16067
16737
|
/**
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16738
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16739
|
+
*
|
|
16740
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16741
|
+
*
|
|
16742
|
+
* @param request DescribeDBLinksRequest
|
|
16743
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16744
|
+
* @return DescribeDBLinksResponse
|
|
16073
16745
|
*/
|
|
16074
16746
|
async describeDBLinksWithOptions(request, runtime) {
|
|
16075
16747
|
tea_util_1.default.validateModel(request);
|
|
@@ -16109,32 +16781,36 @@ class Client extends openapi_client_1.default {
|
|
|
16109
16781
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
16110
16782
|
}
|
|
16111
16783
|
/**
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16784
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16785
|
+
*
|
|
16786
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16787
|
+
*
|
|
16788
|
+
* @param request DescribeDBLinksRequest
|
|
16789
|
+
* @return DescribeDBLinksResponse
|
|
16116
16790
|
*/
|
|
16117
16791
|
async describeDBLinks(request) {
|
|
16118
16792
|
let runtime = new $Util.RuntimeOptions({});
|
|
16119
16793
|
return await this.describeDBLinksWithOptions(request, runtime);
|
|
16120
16794
|
}
|
|
16121
16795
|
/**
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16796
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16797
|
+
*
|
|
16798
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16799
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16800
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16801
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16802
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16803
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16804
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16805
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16806
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16807
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16808
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16809
|
+
* > 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.
|
|
16810
|
+
*
|
|
16811
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16812
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16813
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16138
16814
|
*/
|
|
16139
16815
|
async describeDBNodePerformanceWithOptions(request, runtime) {
|
|
16140
16816
|
tea_util_1.default.validateModel(request);
|
|
@@ -16177,26 +16853,35 @@ class Client extends openapi_client_1.default {
|
|
|
16177
16853
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
16178
16854
|
}
|
|
16179
16855
|
/**
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16184
|
-
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
|
|
16189
|
-
|
|
16190
|
-
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16856
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16857
|
+
*
|
|
16858
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16859
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16860
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16861
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16862
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16863
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16864
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16865
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16866
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16867
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16868
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16869
|
+
* > 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.
|
|
16870
|
+
*
|
|
16871
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16872
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16195
16873
|
*/
|
|
16196
16874
|
async describeDBNodePerformance(request) {
|
|
16197
16875
|
let runtime = new $Util.RuntimeOptions({});
|
|
16198
16876
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
16199
16877
|
}
|
|
16878
|
+
/**
|
|
16879
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16880
|
+
*
|
|
16881
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16882
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16883
|
+
* @return DescribeDBNodesParametersResponse
|
|
16884
|
+
*/
|
|
16200
16885
|
async describeDBNodesParametersWithOptions(request, runtime) {
|
|
16201
16886
|
tea_util_1.default.validateModel(request);
|
|
16202
16887
|
let query = {};
|
|
@@ -16234,16 +16919,24 @@ class Client extends openapi_client_1.default {
|
|
|
16234
16919
|
});
|
|
16235
16920
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
|
|
16236
16921
|
}
|
|
16922
|
+
/**
|
|
16923
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16924
|
+
*
|
|
16925
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16926
|
+
* @return DescribeDBNodesParametersResponse
|
|
16927
|
+
*/
|
|
16237
16928
|
async describeDBNodesParameters(request) {
|
|
16238
16929
|
let runtime = new $Util.RuntimeOptions({});
|
|
16239
16930
|
return await this.describeDBNodesParametersWithOptions(request, runtime);
|
|
16240
16931
|
}
|
|
16241
16932
|
/**
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16933
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16934
|
+
*
|
|
16935
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16936
|
+
*
|
|
16937
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16938
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16939
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16247
16940
|
*/
|
|
16248
16941
|
async describeDBProxyPerformanceWithOptions(request, runtime) {
|
|
16249
16942
|
tea_util_1.default.validateModel(request);
|
|
@@ -16286,15 +16979,24 @@ class Client extends openapi_client_1.default {
|
|
|
16286
16979
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
16287
16980
|
}
|
|
16288
16981
|
/**
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16982
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16983
|
+
*
|
|
16984
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16985
|
+
*
|
|
16986
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16987
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16293
16988
|
*/
|
|
16294
16989
|
async describeDBProxyPerformance(request) {
|
|
16295
16990
|
let runtime = new $Util.RuntimeOptions({});
|
|
16296
16991
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
16297
16992
|
}
|
|
16993
|
+
/**
|
|
16994
|
+
* @summary 查看实例的 DAS 配置
|
|
16995
|
+
*
|
|
16996
|
+
* @param request DescribeDasConfigRequest
|
|
16997
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16998
|
+
* @return DescribeDasConfigResponse
|
|
16999
|
+
*/
|
|
16298
17000
|
async describeDasConfigWithOptions(request, runtime) {
|
|
16299
17001
|
tea_util_1.default.validateModel(request);
|
|
16300
17002
|
let query = {};
|
|
@@ -16329,10 +17031,23 @@ class Client extends openapi_client_1.default {
|
|
|
16329
17031
|
});
|
|
16330
17032
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
16331
17033
|
}
|
|
17034
|
+
/**
|
|
17035
|
+
* @summary 查看实例的 DAS 配置
|
|
17036
|
+
*
|
|
17037
|
+
* @param request DescribeDasConfigRequest
|
|
17038
|
+
* @return DescribeDasConfigResponse
|
|
17039
|
+
*/
|
|
16332
17040
|
async describeDasConfig(request) {
|
|
16333
17041
|
let runtime = new $Util.RuntimeOptions({});
|
|
16334
17042
|
return await this.describeDasConfigWithOptions(request, runtime);
|
|
16335
17043
|
}
|
|
17044
|
+
/**
|
|
17045
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17046
|
+
*
|
|
17047
|
+
* @param request DescribeDatabasesRequest
|
|
17048
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17049
|
+
* @return DescribeDatabasesResponse
|
|
17050
|
+
*/
|
|
16336
17051
|
async describeDatabasesWithOptions(request, runtime) {
|
|
16337
17052
|
tea_util_1.default.validateModel(request);
|
|
16338
17053
|
let query = {};
|
|
@@ -16376,17 +17091,25 @@ class Client extends openapi_client_1.default {
|
|
|
16376
17091
|
});
|
|
16377
17092
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
|
|
16378
17093
|
}
|
|
17094
|
+
/**
|
|
17095
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17096
|
+
*
|
|
17097
|
+
* @param request DescribeDatabasesRequest
|
|
17098
|
+
* @return DescribeDatabasesResponse
|
|
17099
|
+
*/
|
|
16379
17100
|
async describeDatabases(request) {
|
|
16380
17101
|
let runtime = new $Util.RuntimeOptions({});
|
|
16381
17102
|
return await this.describeDatabasesWithOptions(request, runtime);
|
|
16382
17103
|
}
|
|
16383
17104
|
/**
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
17105
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17106
|
+
*
|
|
17107
|
+
* @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.
|
|
17108
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17109
|
+
*
|
|
17110
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17111
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17112
|
+
* @return DescribeDetachedBackupsResponse
|
|
16390
17113
|
*/
|
|
16391
17114
|
async describeDetachedBackupsWithOptions(request, runtime) {
|
|
16392
17115
|
tea_util_1.default.validateModel(request);
|
|
@@ -16447,16 +17170,25 @@ class Client extends openapi_client_1.default {
|
|
|
16447
17170
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
16448
17171
|
}
|
|
16449
17172
|
/**
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16453
|
-
|
|
16454
|
-
|
|
17173
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17174
|
+
*
|
|
17175
|
+
* @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.
|
|
17176
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17177
|
+
*
|
|
17178
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17179
|
+
* @return DescribeDetachedBackupsResponse
|
|
16455
17180
|
*/
|
|
16456
17181
|
async describeDetachedBackups(request) {
|
|
16457
17182
|
let runtime = new $Util.RuntimeOptions({});
|
|
16458
17183
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
16459
17184
|
}
|
|
17185
|
+
/**
|
|
17186
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17187
|
+
*
|
|
17188
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17189
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17190
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17191
|
+
*/
|
|
16460
17192
|
async describeGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
16461
17193
|
tea_util_1.default.validateModel(request);
|
|
16462
17194
|
let query = {};
|
|
@@ -16497,10 +17229,23 @@ class Client extends openapi_client_1.default {
|
|
|
16497
17229
|
});
|
|
16498
17230
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
|
|
16499
17231
|
}
|
|
17232
|
+
/**
|
|
17233
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17234
|
+
*
|
|
17235
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17236
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17237
|
+
*/
|
|
16500
17238
|
async describeGlobalDatabaseNetwork(request) {
|
|
16501
17239
|
let runtime = new $Util.RuntimeOptions({});
|
|
16502
17240
|
return await this.describeGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
16503
17241
|
}
|
|
17242
|
+
/**
|
|
17243
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17244
|
+
*
|
|
17245
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17246
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17247
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17248
|
+
*/
|
|
16504
17249
|
async describeGlobalDatabaseNetworksWithOptions(request, runtime) {
|
|
16505
17250
|
tea_util_1.default.validateModel(request);
|
|
16506
17251
|
let query = {};
|
|
@@ -16556,10 +17301,23 @@ class Client extends openapi_client_1.default {
|
|
|
16556
17301
|
});
|
|
16557
17302
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
|
|
16558
17303
|
}
|
|
17304
|
+
/**
|
|
17305
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17306
|
+
*
|
|
17307
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17308
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17309
|
+
*/
|
|
16559
17310
|
async describeGlobalDatabaseNetworks(request) {
|
|
16560
17311
|
let runtime = new $Util.RuntimeOptions({});
|
|
16561
17312
|
return await this.describeGlobalDatabaseNetworksWithOptions(request, runtime);
|
|
16562
17313
|
}
|
|
17314
|
+
/**
|
|
17315
|
+
* @summary Queries global IP whitelist templates.
|
|
17316
|
+
*
|
|
17317
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17318
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17319
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17320
|
+
*/
|
|
16563
17321
|
async describeGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
16564
17322
|
tea_util_1.default.validateModel(request);
|
|
16565
17323
|
let query = {};
|
|
@@ -16603,10 +17361,23 @@ class Client extends openapi_client_1.default {
|
|
|
16603
17361
|
});
|
|
16604
17362
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
|
|
16605
17363
|
}
|
|
17364
|
+
/**
|
|
17365
|
+
* @summary Queries global IP whitelist templates.
|
|
17366
|
+
*
|
|
17367
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17368
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17369
|
+
*/
|
|
16606
17370
|
async describeGlobalSecurityIPGroup(request) {
|
|
16607
17371
|
let runtime = new $Util.RuntimeOptions({});
|
|
16608
17372
|
return await this.describeGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
16609
17373
|
}
|
|
17374
|
+
/**
|
|
17375
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17376
|
+
*
|
|
17377
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17378
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17379
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17380
|
+
*/
|
|
16610
17381
|
async describeGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
16611
17382
|
tea_util_1.default.validateModel(request);
|
|
16612
17383
|
let query = {};
|
|
@@ -16650,10 +17421,23 @@ class Client extends openapi_client_1.default {
|
|
|
16650
17421
|
});
|
|
16651
17422
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
16652
17423
|
}
|
|
17424
|
+
/**
|
|
17425
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17426
|
+
*
|
|
17427
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17428
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17429
|
+
*/
|
|
16653
17430
|
async describeGlobalSecurityIPGroupRelation(request) {
|
|
16654
17431
|
let runtime = new $Util.RuntimeOptions({});
|
|
16655
17432
|
return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
16656
17433
|
}
|
|
17434
|
+
/**
|
|
17435
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17436
|
+
*
|
|
17437
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17438
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17439
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17440
|
+
*/
|
|
16657
17441
|
async describeLogBackupPolicyWithOptions(request, runtime) {
|
|
16658
17442
|
tea_util_1.default.validateModel(request);
|
|
16659
17443
|
let query = {};
|
|
@@ -16688,10 +17472,23 @@ class Client extends openapi_client_1.default {
|
|
|
16688
17472
|
});
|
|
16689
17473
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
|
|
16690
17474
|
}
|
|
17475
|
+
/**
|
|
17476
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17477
|
+
*
|
|
17478
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17479
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17480
|
+
*/
|
|
16691
17481
|
async describeLogBackupPolicy(request) {
|
|
16692
17482
|
let runtime = new $Util.RuntimeOptions({});
|
|
16693
17483
|
return await this.describeLogBackupPolicyWithOptions(request, runtime);
|
|
16694
17484
|
}
|
|
17485
|
+
/**
|
|
17486
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17487
|
+
*
|
|
17488
|
+
* @param request DescribeMaskingRulesRequest
|
|
17489
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17490
|
+
* @return DescribeMaskingRulesResponse
|
|
17491
|
+
*/
|
|
16695
17492
|
async describeMaskingRulesWithOptions(request, runtime) {
|
|
16696
17493
|
tea_util_1.default.validateModel(request);
|
|
16697
17494
|
let query = {};
|
|
@@ -16717,10 +17514,23 @@ class Client extends openapi_client_1.default {
|
|
|
16717
17514
|
});
|
|
16718
17515
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
|
|
16719
17516
|
}
|
|
17517
|
+
/**
|
|
17518
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17519
|
+
*
|
|
17520
|
+
* @param request DescribeMaskingRulesRequest
|
|
17521
|
+
* @return DescribeMaskingRulesResponse
|
|
17522
|
+
*/
|
|
16720
17523
|
async describeMaskingRules(request) {
|
|
16721
17524
|
let runtime = new $Util.RuntimeOptions({});
|
|
16722
17525
|
return await this.describeMaskingRulesWithOptions(request, runtime);
|
|
16723
17526
|
}
|
|
17527
|
+
/**
|
|
17528
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17529
|
+
*
|
|
17530
|
+
* @param request DescribeMetaListRequest
|
|
17531
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17532
|
+
* @return DescribeMetaListResponse
|
|
17533
|
+
*/
|
|
16724
17534
|
async describeMetaListWithOptions(request, runtime) {
|
|
16725
17535
|
tea_util_1.default.validateModel(request);
|
|
16726
17536
|
let query = {};
|
|
@@ -16776,17 +17586,25 @@ class Client extends openapi_client_1.default {
|
|
|
16776
17586
|
});
|
|
16777
17587
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
|
|
16778
17588
|
}
|
|
17589
|
+
/**
|
|
17590
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17591
|
+
*
|
|
17592
|
+
* @param request DescribeMetaListRequest
|
|
17593
|
+
* @return DescribeMetaListResponse
|
|
17594
|
+
*/
|
|
16779
17595
|
async describeMetaList(request) {
|
|
16780
17596
|
let runtime = new $Util.RuntimeOptions({});
|
|
16781
17597
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
16782
17598
|
}
|
|
16783
17599
|
/**
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
|
|
16788
|
-
|
|
16789
|
-
|
|
17600
|
+
* @summary Queries the information about a parameter template.
|
|
17601
|
+
*
|
|
17602
|
+
* @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).
|
|
17603
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17604
|
+
*
|
|
17605
|
+
* @param request DescribeParameterGroupRequest
|
|
17606
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17607
|
+
* @return DescribeParameterGroupResponse
|
|
16790
17608
|
*/
|
|
16791
17609
|
async describeParameterGroupWithOptions(request, runtime) {
|
|
16792
17610
|
tea_util_1.default.validateModel(request);
|
|
@@ -16829,23 +17647,27 @@ class Client extends openapi_client_1.default {
|
|
|
16829
17647
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
16830
17648
|
}
|
|
16831
17649
|
/**
|
|
16832
|
-
|
|
16833
|
-
|
|
16834
|
-
|
|
16835
|
-
|
|
16836
|
-
|
|
17650
|
+
* @summary Queries the information about a parameter template.
|
|
17651
|
+
*
|
|
17652
|
+
* @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).
|
|
17653
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17654
|
+
*
|
|
17655
|
+
* @param request DescribeParameterGroupRequest
|
|
17656
|
+
* @return DescribeParameterGroupResponse
|
|
16837
17657
|
*/
|
|
16838
17658
|
async describeParameterGroup(request) {
|
|
16839
17659
|
let runtime = new $Util.RuntimeOptions({});
|
|
16840
17660
|
return await this.describeParameterGroupWithOptions(request, runtime);
|
|
16841
17661
|
}
|
|
16842
17662
|
/**
|
|
16843
|
-
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
|
|
16848
|
-
|
|
17663
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17664
|
+
*
|
|
17665
|
+
* @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).
|
|
17666
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17667
|
+
*
|
|
17668
|
+
* @param request DescribeParameterGroupsRequest
|
|
17669
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17670
|
+
* @return DescribeParameterGroupsResponse
|
|
16849
17671
|
*/
|
|
16850
17672
|
async describeParameterGroupsWithOptions(request, runtime) {
|
|
16851
17673
|
tea_util_1.default.validateModel(request);
|
|
@@ -16891,16 +17713,25 @@ class Client extends openapi_client_1.default {
|
|
|
16891
17713
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
16892
17714
|
}
|
|
16893
17715
|
/**
|
|
16894
|
-
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
17716
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17717
|
+
*
|
|
17718
|
+
* @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).
|
|
17719
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17720
|
+
*
|
|
17721
|
+
* @param request DescribeParameterGroupsRequest
|
|
17722
|
+
* @return DescribeParameterGroupsResponse
|
|
16899
17723
|
*/
|
|
16900
17724
|
async describeParameterGroups(request) {
|
|
16901
17725
|
let runtime = new $Util.RuntimeOptions({});
|
|
16902
17726
|
return await this.describeParameterGroupsWithOptions(request, runtime);
|
|
16903
17727
|
}
|
|
17728
|
+
/**
|
|
17729
|
+
* @summary Queries the default parameters in a cluster.
|
|
17730
|
+
*
|
|
17731
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17733
|
+
* @return DescribeParameterTemplatesResponse
|
|
17734
|
+
*/
|
|
16904
17735
|
async describeParameterTemplatesWithOptions(request, runtime) {
|
|
16905
17736
|
tea_util_1.default.validateModel(request);
|
|
16906
17737
|
let query = {};
|
|
@@ -16944,10 +17775,23 @@ class Client extends openapi_client_1.default {
|
|
|
16944
17775
|
});
|
|
16945
17776
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
|
|
16946
17777
|
}
|
|
17778
|
+
/**
|
|
17779
|
+
* @summary Queries the default parameters in a cluster.
|
|
17780
|
+
*
|
|
17781
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17782
|
+
* @return DescribeParameterTemplatesResponse
|
|
17783
|
+
*/
|
|
16947
17784
|
async describeParameterTemplates(request) {
|
|
16948
17785
|
let runtime = new $Util.RuntimeOptions({});
|
|
16949
17786
|
return await this.describeParameterTemplatesWithOptions(request, runtime);
|
|
16950
17787
|
}
|
|
17788
|
+
/**
|
|
17789
|
+
* @summary Queries the information about a pending event.
|
|
17790
|
+
*
|
|
17791
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17792
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17793
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17794
|
+
*/
|
|
16951
17795
|
async describePendingMaintenanceActionWithOptions(request, runtime) {
|
|
16952
17796
|
tea_util_1.default.validateModel(request);
|
|
16953
17797
|
let query = {};
|
|
@@ -17000,10 +17844,23 @@ class Client extends openapi_client_1.default {
|
|
|
17000
17844
|
});
|
|
17001
17845
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
|
|
17002
17846
|
}
|
|
17847
|
+
/**
|
|
17848
|
+
* @summary Queries the information about a pending event.
|
|
17849
|
+
*
|
|
17850
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17851
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17852
|
+
*/
|
|
17003
17853
|
async describePendingMaintenanceAction(request) {
|
|
17004
17854
|
let runtime = new $Util.RuntimeOptions({});
|
|
17005
17855
|
return await this.describePendingMaintenanceActionWithOptions(request, runtime);
|
|
17006
17856
|
}
|
|
17857
|
+
/**
|
|
17858
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17859
|
+
*
|
|
17860
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17861
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17862
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17863
|
+
*/
|
|
17007
17864
|
async describePendingMaintenanceActionsWithOptions(request, runtime) {
|
|
17008
17865
|
tea_util_1.default.validateModel(request);
|
|
17009
17866
|
let query = {};
|
|
@@ -17047,10 +17904,23 @@ class Client extends openapi_client_1.default {
|
|
|
17047
17904
|
});
|
|
17048
17905
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
|
|
17049
17906
|
}
|
|
17907
|
+
/**
|
|
17908
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17909
|
+
*
|
|
17910
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17911
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17912
|
+
*/
|
|
17050
17913
|
async describePendingMaintenanceActions(request) {
|
|
17051
17914
|
let runtime = new $Util.RuntimeOptions({});
|
|
17052
17915
|
return await this.describePendingMaintenanceActionsWithOptions(request, runtime);
|
|
17053
17916
|
}
|
|
17917
|
+
/**
|
|
17918
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17919
|
+
*
|
|
17920
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17921
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17922
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17923
|
+
*/
|
|
17054
17924
|
async describePolarSQLCollectorPolicyWithOptions(request, runtime) {
|
|
17055
17925
|
tea_util_1.default.validateModel(request);
|
|
17056
17926
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -17070,10 +17940,23 @@ class Client extends openapi_client_1.default {
|
|
|
17070
17940
|
});
|
|
17071
17941
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
|
|
17072
17942
|
}
|
|
17943
|
+
/**
|
|
17944
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17945
|
+
*
|
|
17946
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17947
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17948
|
+
*/
|
|
17073
17949
|
async describePolarSQLCollectorPolicy(request) {
|
|
17074
17950
|
let runtime = new $Util.RuntimeOptions({});
|
|
17075
17951
|
return await this.describePolarSQLCollectorPolicyWithOptions(request, runtime);
|
|
17076
17952
|
}
|
|
17953
|
+
/**
|
|
17954
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17955
|
+
*
|
|
17956
|
+
* @param request DescribeRegionsRequest
|
|
17957
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17958
|
+
* @return DescribeRegionsResponse
|
|
17959
|
+
*/
|
|
17077
17960
|
async describeRegionsWithOptions(request, runtime) {
|
|
17078
17961
|
tea_util_1.default.validateModel(request);
|
|
17079
17962
|
let query = {};
|
|
@@ -17105,10 +17988,23 @@ class Client extends openapi_client_1.default {
|
|
|
17105
17988
|
});
|
|
17106
17989
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17107
17990
|
}
|
|
17991
|
+
/**
|
|
17992
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17993
|
+
*
|
|
17994
|
+
* @param request DescribeRegionsRequest
|
|
17995
|
+
* @return DescribeRegionsResponse
|
|
17996
|
+
*/
|
|
17108
17997
|
async describeRegions(request) {
|
|
17109
17998
|
let runtime = new $Util.RuntimeOptions({});
|
|
17110
17999
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
17111
18000
|
}
|
|
18001
|
+
/**
|
|
18002
|
+
* @summary Queries the details of all scheduled tasks.
|
|
18003
|
+
*
|
|
18004
|
+
* @param request DescribeScheduleTasksRequest
|
|
18005
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18006
|
+
* @return DescribeScheduleTasksResponse
|
|
18007
|
+
*/
|
|
17112
18008
|
async describeScheduleTasksWithOptions(request, runtime) {
|
|
17113
18009
|
tea_util_1.default.validateModel(request);
|
|
17114
18010
|
let query = {};
|
|
@@ -17173,16 +18069,24 @@ class Client extends openapi_client_1.default {
|
|
|
17173
18069
|
});
|
|
17174
18070
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
|
|
17175
18071
|
}
|
|
18072
|
+
/**
|
|
18073
|
+
* @summary Queries the details of all scheduled tasks.
|
|
18074
|
+
*
|
|
18075
|
+
* @param request DescribeScheduleTasksRequest
|
|
18076
|
+
* @return DescribeScheduleTasksResponse
|
|
18077
|
+
*/
|
|
17176
18078
|
async describeScheduleTasks(request) {
|
|
17177
18079
|
let runtime = new $Util.RuntimeOptions({});
|
|
17178
18080
|
return await this.describeScheduleTasksWithOptions(request, runtime);
|
|
17179
18081
|
}
|
|
17180
18082
|
/**
|
|
17181
|
-
|
|
17182
|
-
|
|
17183
|
-
|
|
17184
|
-
|
|
17185
|
-
|
|
18083
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18084
|
+
*
|
|
18085
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18086
|
+
*
|
|
18087
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18088
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18089
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17186
18090
|
*/
|
|
17187
18091
|
async describeSlowLogRecordsWithOptions(request, runtime) {
|
|
17188
18092
|
tea_util_1.default.validateModel(request);
|
|
@@ -17240,21 +18144,25 @@ class Client extends openapi_client_1.default {
|
|
|
17240
18144
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
17241
18145
|
}
|
|
17242
18146
|
/**
|
|
17243
|
-
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
|
|
18147
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18148
|
+
*
|
|
18149
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18150
|
+
*
|
|
18151
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18152
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17247
18153
|
*/
|
|
17248
18154
|
async describeSlowLogRecords(request) {
|
|
17249
18155
|
let runtime = new $Util.RuntimeOptions({});
|
|
17250
18156
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
17251
18157
|
}
|
|
17252
18158
|
/**
|
|
17253
|
-
|
|
17254
|
-
|
|
17255
|
-
|
|
17256
|
-
|
|
17257
|
-
|
|
18159
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18160
|
+
*
|
|
18161
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18162
|
+
*
|
|
18163
|
+
* @param request DescribeSlowLogsRequest
|
|
18164
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18165
|
+
* @return DescribeSlowLogsResponse
|
|
17258
18166
|
*/
|
|
17259
18167
|
async describeSlowLogsWithOptions(request, runtime) {
|
|
17260
18168
|
tea_util_1.default.validateModel(request);
|
|
@@ -17309,22 +18217,26 @@ class Client extends openapi_client_1.default {
|
|
|
17309
18217
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
17310
18218
|
}
|
|
17311
18219
|
/**
|
|
17312
|
-
|
|
17313
|
-
|
|
17314
|
-
|
|
17315
|
-
|
|
18220
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18221
|
+
*
|
|
18222
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18223
|
+
*
|
|
18224
|
+
* @param request DescribeSlowLogsRequest
|
|
18225
|
+
* @return DescribeSlowLogsResponse
|
|
17316
18226
|
*/
|
|
17317
18227
|
async describeSlowLogs(request) {
|
|
17318
18228
|
let runtime = new $Util.RuntimeOptions({});
|
|
17319
18229
|
return await this.describeSlowLogsWithOptions(request, runtime);
|
|
17320
18230
|
}
|
|
17321
18231
|
/**
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17325
|
-
|
|
17326
|
-
|
|
17327
|
-
|
|
18232
|
+
* @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.
|
|
18233
|
+
*
|
|
18234
|
+
* @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.
|
|
18235
|
+
* * 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`.
|
|
18236
|
+
*
|
|
18237
|
+
* @param request DescribeTasksRequest
|
|
18238
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18239
|
+
* @return DescribeTasksResponse
|
|
17328
18240
|
*/
|
|
17329
18241
|
async describeTasksWithOptions(request, runtime) {
|
|
17330
18242
|
tea_util_1.default.validateModel(request);
|
|
@@ -17379,16 +18291,25 @@ class Client extends openapi_client_1.default {
|
|
|
17379
18291
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
17380
18292
|
}
|
|
17381
18293
|
/**
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
18294
|
+
* @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.
|
|
18295
|
+
*
|
|
18296
|
+
* @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.
|
|
18297
|
+
* * 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`.
|
|
18298
|
+
*
|
|
18299
|
+
* @param request DescribeTasksRequest
|
|
18300
|
+
* @return DescribeTasksResponse
|
|
17387
18301
|
*/
|
|
17388
18302
|
async describeTasks(request) {
|
|
17389
18303
|
let runtime = new $Util.RuntimeOptions({});
|
|
17390
18304
|
return await this.describeTasksWithOptions(request, runtime);
|
|
17391
18305
|
}
|
|
18306
|
+
/**
|
|
18307
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18308
|
+
*
|
|
18309
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18310
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18311
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18312
|
+
*/
|
|
17392
18313
|
async describeUserEncryptionKeyListWithOptions(request, runtime) {
|
|
17393
18314
|
tea_util_1.default.validateModel(request);
|
|
17394
18315
|
let query = {};
|
|
@@ -17429,10 +18350,23 @@ class Client extends openapi_client_1.default {
|
|
|
17429
18350
|
});
|
|
17430
18351
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
17431
18352
|
}
|
|
18353
|
+
/**
|
|
18354
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18355
|
+
*
|
|
18356
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18357
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18358
|
+
*/
|
|
17432
18359
|
async describeUserEncryptionKeyList(request) {
|
|
17433
18360
|
let runtime = new $Util.RuntimeOptions({});
|
|
17434
18361
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
17435
18362
|
}
|
|
18363
|
+
/**
|
|
18364
|
+
* @summary Queries a vSwitch.
|
|
18365
|
+
*
|
|
18366
|
+
* @param request DescribeVSwitchesRequest
|
|
18367
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18368
|
+
* @return DescribeVSwitchesResponse
|
|
18369
|
+
*/
|
|
17436
18370
|
async describeVSwitchesWithOptions(request, runtime) {
|
|
17437
18371
|
tea_util_1.default.validateModel(request);
|
|
17438
18372
|
let query = {};
|
|
@@ -17488,10 +18422,23 @@ class Client extends openapi_client_1.default {
|
|
|
17488
18422
|
});
|
|
17489
18423
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
17490
18424
|
}
|
|
18425
|
+
/**
|
|
18426
|
+
* @summary Queries a vSwitch.
|
|
18427
|
+
*
|
|
18428
|
+
* @param request DescribeVSwitchesRequest
|
|
18429
|
+
* @return DescribeVSwitchesResponse
|
|
18430
|
+
*/
|
|
17491
18431
|
async describeVSwitches(request) {
|
|
17492
18432
|
let runtime = new $Util.RuntimeOptions({});
|
|
17493
18433
|
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
17494
18434
|
}
|
|
18435
|
+
/**
|
|
18436
|
+
* @summary Disables a stable serverless cluster.
|
|
18437
|
+
*
|
|
18438
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18439
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18440
|
+
* @return DisableDBClusterServerlessResponse
|
|
18441
|
+
*/
|
|
17495
18442
|
async disableDBClusterServerlessWithOptions(request, runtime) {
|
|
17496
18443
|
tea_util_1.default.validateModel(request);
|
|
17497
18444
|
let query = {};
|
|
@@ -17526,10 +18473,23 @@ class Client extends openapi_client_1.default {
|
|
|
17526
18473
|
});
|
|
17527
18474
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
|
|
17528
18475
|
}
|
|
18476
|
+
/**
|
|
18477
|
+
* @summary Disables a stable serverless cluster.
|
|
18478
|
+
*
|
|
18479
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18480
|
+
* @return DisableDBClusterServerlessResponse
|
|
18481
|
+
*/
|
|
17529
18482
|
async disableDBClusterServerless(request) {
|
|
17530
18483
|
let runtime = new $Util.RuntimeOptions({});
|
|
17531
18484
|
return await this.disableDBClusterServerlessWithOptions(request, runtime);
|
|
17532
18485
|
}
|
|
18486
|
+
/**
|
|
18487
|
+
* @summary Enables a stable serverless cluster.
|
|
18488
|
+
*
|
|
18489
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18490
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18491
|
+
* @return EnableDBClusterServerlessResponse
|
|
18492
|
+
*/
|
|
17533
18493
|
async enableDBClusterServerlessWithOptions(request, runtime) {
|
|
17534
18494
|
tea_util_1.default.validateModel(request);
|
|
17535
18495
|
let query = {};
|
|
@@ -17582,10 +18542,23 @@ class Client extends openapi_client_1.default {
|
|
|
17582
18542
|
});
|
|
17583
18543
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
|
|
17584
18544
|
}
|
|
18545
|
+
/**
|
|
18546
|
+
* @summary Enables a stable serverless cluster.
|
|
18547
|
+
*
|
|
18548
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18549
|
+
* @return EnableDBClusterServerlessResponse
|
|
18550
|
+
*/
|
|
17585
18551
|
async enableDBClusterServerless(request) {
|
|
17586
18552
|
let runtime = new $Util.RuntimeOptions({});
|
|
17587
18553
|
return await this.enableDBClusterServerlessWithOptions(request, runtime);
|
|
17588
18554
|
}
|
|
18555
|
+
/**
|
|
18556
|
+
* @summary 修改sql防火墙状态
|
|
18557
|
+
*
|
|
18558
|
+
* @param request EnableFirewallRulesRequest
|
|
18559
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18560
|
+
* @return EnableFirewallRulesResponse
|
|
18561
|
+
*/
|
|
17589
18562
|
async enableFirewallRulesWithOptions(request, runtime) {
|
|
17590
18563
|
tea_util_1.default.validateModel(request);
|
|
17591
18564
|
let query = {};
|
|
@@ -17626,10 +18599,23 @@ class Client extends openapi_client_1.default {
|
|
|
17626
18599
|
});
|
|
17627
18600
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
|
|
17628
18601
|
}
|
|
18602
|
+
/**
|
|
18603
|
+
* @summary 修改sql防火墙状态
|
|
18604
|
+
*
|
|
18605
|
+
* @param request EnableFirewallRulesRequest
|
|
18606
|
+
* @return EnableFirewallRulesResponse
|
|
18607
|
+
*/
|
|
17629
18608
|
async enableFirewallRules(request) {
|
|
17630
18609
|
let runtime = new $Util.RuntimeOptions({});
|
|
17631
18610
|
return await this.enableFirewallRulesWithOptions(request, runtime);
|
|
17632
18611
|
}
|
|
18612
|
+
/**
|
|
18613
|
+
* @summary Evaluates available resources.
|
|
18614
|
+
*
|
|
18615
|
+
* @param request EvaluateRegionResourceRequest
|
|
18616
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18617
|
+
* @return EvaluateRegionResourceResponse
|
|
18618
|
+
*/
|
|
17633
18619
|
async evaluateRegionResourceWithOptions(request, runtime) {
|
|
17634
18620
|
tea_util_1.default.validateModel(request);
|
|
17635
18621
|
let query = {};
|
|
@@ -17691,10 +18677,23 @@ class Client extends openapi_client_1.default {
|
|
|
17691
18677
|
});
|
|
17692
18678
|
return $tea.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
|
|
17693
18679
|
}
|
|
18680
|
+
/**
|
|
18681
|
+
* @summary Evaluates available resources.
|
|
18682
|
+
*
|
|
18683
|
+
* @param request EvaluateRegionResourceRequest
|
|
18684
|
+
* @return EvaluateRegionResourceResponse
|
|
18685
|
+
*/
|
|
17694
18686
|
async evaluateRegionResource(request) {
|
|
17695
18687
|
let runtime = new $Util.RuntimeOptions({});
|
|
17696
18688
|
return await this.evaluateRegionResourceWithOptions(request, runtime);
|
|
17697
18689
|
}
|
|
18690
|
+
/**
|
|
18691
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18692
|
+
*
|
|
18693
|
+
* @param request FailoverDBClusterRequest
|
|
18694
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18695
|
+
* @return FailoverDBClusterResponse
|
|
18696
|
+
*/
|
|
17698
18697
|
async failoverDBClusterWithOptions(request, runtime) {
|
|
17699
18698
|
tea_util_1.default.validateModel(request);
|
|
17700
18699
|
let query = {};
|
|
@@ -17738,20 +18737,28 @@ class Client extends openapi_client_1.default {
|
|
|
17738
18737
|
});
|
|
17739
18738
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
|
|
17740
18739
|
}
|
|
18740
|
+
/**
|
|
18741
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18742
|
+
*
|
|
18743
|
+
* @param request FailoverDBClusterRequest
|
|
18744
|
+
* @return FailoverDBClusterResponse
|
|
18745
|
+
*/
|
|
17741
18746
|
async failoverDBCluster(request) {
|
|
17742
18747
|
let runtime = new $Util.RuntimeOptions({});
|
|
17743
18748
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
17744
18749
|
}
|
|
17745
18750
|
/**
|
|
17746
|
-
|
|
17747
|
-
|
|
17748
|
-
|
|
17749
|
-
|
|
17750
|
-
|
|
17751
|
-
|
|
17752
|
-
|
|
17753
|
-
|
|
17754
|
-
|
|
18751
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18752
|
+
*
|
|
18753
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18754
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18755
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18756
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18757
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18758
|
+
*
|
|
18759
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18760
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18761
|
+
* @return GrantAccountPrivilegeResponse
|
|
17755
18762
|
*/
|
|
17756
18763
|
async grantAccountPrivilegeWithOptions(request, runtime) {
|
|
17757
18764
|
tea_util_1.default.validateModel(request);
|
|
@@ -17797,19 +18804,28 @@ class Client extends openapi_client_1.default {
|
|
|
17797
18804
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
17798
18805
|
}
|
|
17799
18806
|
/**
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
18807
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18808
|
+
*
|
|
18809
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18810
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18811
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18812
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18813
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18814
|
+
*
|
|
18815
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18816
|
+
* @return GrantAccountPrivilegeResponse
|
|
17808
18817
|
*/
|
|
17809
18818
|
async grantAccountPrivilege(request) {
|
|
17810
18819
|
let runtime = new $Util.RuntimeOptions({});
|
|
17811
18820
|
return await this.grantAccountPrivilegeWithOptions(request, runtime);
|
|
17812
18821
|
}
|
|
18822
|
+
/**
|
|
18823
|
+
* @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.
|
|
18824
|
+
*
|
|
18825
|
+
* @param request ListTagResourcesRequest
|
|
18826
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18827
|
+
* @return ListTagResourcesResponse
|
|
18828
|
+
*/
|
|
17813
18829
|
async listTagResourcesWithOptions(request, runtime) {
|
|
17814
18830
|
tea_util_1.default.validateModel(request);
|
|
17815
18831
|
let query = {};
|
|
@@ -17856,10 +18872,23 @@ class Client extends openapi_client_1.default {
|
|
|
17856
18872
|
});
|
|
17857
18873
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
17858
18874
|
}
|
|
18875
|
+
/**
|
|
18876
|
+
* @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.
|
|
18877
|
+
*
|
|
18878
|
+
* @param request ListTagResourcesRequest
|
|
18879
|
+
* @return ListTagResourcesResponse
|
|
18880
|
+
*/
|
|
17859
18881
|
async listTagResources(request) {
|
|
17860
18882
|
let runtime = new $Util.RuntimeOptions({});
|
|
17861
18883
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
17862
18884
|
}
|
|
18885
|
+
/**
|
|
18886
|
+
* @summary Manually starts a cluster.
|
|
18887
|
+
*
|
|
18888
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18889
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18890
|
+
* @return ManuallyStartDBClusterResponse
|
|
18891
|
+
*/
|
|
17863
18892
|
async manuallyStartDBClusterWithOptions(request, runtime) {
|
|
17864
18893
|
tea_util_1.default.validateModel(request);
|
|
17865
18894
|
let query = {};
|
|
@@ -17897,10 +18926,23 @@ class Client extends openapi_client_1.default {
|
|
|
17897
18926
|
});
|
|
17898
18927
|
return $tea.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
17899
18928
|
}
|
|
18929
|
+
/**
|
|
18930
|
+
* @summary Manually starts a cluster.
|
|
18931
|
+
*
|
|
18932
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18933
|
+
* @return ManuallyStartDBClusterResponse
|
|
18934
|
+
*/
|
|
17900
18935
|
async manuallyStartDBCluster(request) {
|
|
17901
18936
|
let runtime = new $Util.RuntimeOptions({});
|
|
17902
18937
|
return await this.manuallyStartDBClusterWithOptions(request, runtime);
|
|
17903
18938
|
}
|
|
18939
|
+
/**
|
|
18940
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18941
|
+
*
|
|
18942
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18943
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18944
|
+
* @return ModifyAccountDescriptionResponse
|
|
18945
|
+
*/
|
|
17904
18946
|
async modifyAccountDescriptionWithOptions(request, runtime) {
|
|
17905
18947
|
tea_util_1.default.validateModel(request);
|
|
17906
18948
|
let query = {};
|
|
@@ -17941,10 +18983,23 @@ class Client extends openapi_client_1.default {
|
|
|
17941
18983
|
});
|
|
17942
18984
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
17943
18985
|
}
|
|
18986
|
+
/**
|
|
18987
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18988
|
+
*
|
|
18989
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18990
|
+
* @return ModifyAccountDescriptionResponse
|
|
18991
|
+
*/
|
|
17944
18992
|
async modifyAccountDescription(request) {
|
|
17945
18993
|
let runtime = new $Util.RuntimeOptions({});
|
|
17946
18994
|
return await this.modifyAccountDescriptionWithOptions(request, runtime);
|
|
17947
18995
|
}
|
|
18996
|
+
/**
|
|
18997
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
18998
|
+
*
|
|
18999
|
+
* @param request ModifyAccountPasswordRequest
|
|
19000
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19001
|
+
* @return ModifyAccountPasswordResponse
|
|
19002
|
+
*/
|
|
17948
19003
|
async modifyAccountPasswordWithOptions(request, runtime) {
|
|
17949
19004
|
tea_util_1.default.validateModel(request);
|
|
17950
19005
|
let query = {};
|
|
@@ -17988,10 +19043,23 @@ class Client extends openapi_client_1.default {
|
|
|
17988
19043
|
});
|
|
17989
19044
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
|
|
17990
19045
|
}
|
|
19046
|
+
/**
|
|
19047
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
19048
|
+
*
|
|
19049
|
+
* @param request ModifyAccountPasswordRequest
|
|
19050
|
+
* @return ModifyAccountPasswordResponse
|
|
19051
|
+
*/
|
|
17991
19052
|
async modifyAccountPassword(request) {
|
|
17992
19053
|
let runtime = new $Util.RuntimeOptions({});
|
|
17993
19054
|
return await this.modifyAccountPasswordWithOptions(request, runtime);
|
|
17994
19055
|
}
|
|
19056
|
+
/**
|
|
19057
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19058
|
+
*
|
|
19059
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19060
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19061
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19062
|
+
*/
|
|
17995
19063
|
async modifyAutoRenewAttributeWithOptions(request, runtime) {
|
|
17996
19064
|
tea_util_1.default.validateModel(request);
|
|
17997
19065
|
let query = {};
|
|
@@ -18041,16 +19109,24 @@ class Client extends openapi_client_1.default {
|
|
|
18041
19109
|
});
|
|
18042
19110
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
|
|
18043
19111
|
}
|
|
19112
|
+
/**
|
|
19113
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19114
|
+
*
|
|
19115
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19116
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19117
|
+
*/
|
|
18044
19118
|
async modifyAutoRenewAttribute(request) {
|
|
18045
19119
|
let runtime = new $Util.RuntimeOptions({});
|
|
18046
19120
|
return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
|
|
18047
19121
|
}
|
|
18048
19122
|
/**
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
|
-
|
|
19123
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19124
|
+
*
|
|
19125
|
+
* @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).
|
|
19126
|
+
*
|
|
19127
|
+
* @param request ModifyBackupPolicyRequest
|
|
19128
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19129
|
+
* @return ModifyBackupPolicyResponse
|
|
18054
19130
|
*/
|
|
18055
19131
|
async modifyBackupPolicyWithOptions(request, runtime) {
|
|
18056
19132
|
tea_util_1.default.validateModel(request);
|
|
@@ -18123,15 +19199,24 @@ class Client extends openapi_client_1.default {
|
|
|
18123
19199
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
18124
19200
|
}
|
|
18125
19201
|
/**
|
|
18126
|
-
|
|
18127
|
-
|
|
18128
|
-
|
|
18129
|
-
|
|
19202
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19203
|
+
*
|
|
19204
|
+
* @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).
|
|
19205
|
+
*
|
|
19206
|
+
* @param request ModifyBackupPolicyRequest
|
|
19207
|
+
* @return ModifyBackupPolicyResponse
|
|
18130
19208
|
*/
|
|
18131
19209
|
async modifyBackupPolicy(request) {
|
|
18132
19210
|
let runtime = new $Util.RuntimeOptions({});
|
|
18133
19211
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
18134
19212
|
}
|
|
19213
|
+
/**
|
|
19214
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19215
|
+
*
|
|
19216
|
+
* @param request ModifyDBClusterRequest
|
|
19217
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19218
|
+
* @return ModifyDBClusterResponse
|
|
19219
|
+
*/
|
|
18135
19220
|
async modifyDBClusterWithOptions(request, runtime) {
|
|
18136
19221
|
tea_util_1.default.validateModel(request);
|
|
18137
19222
|
let query = {};
|
|
@@ -18184,10 +19269,23 @@ class Client extends openapi_client_1.default {
|
|
|
18184
19269
|
});
|
|
18185
19270
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
18186
19271
|
}
|
|
19272
|
+
/**
|
|
19273
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19274
|
+
*
|
|
19275
|
+
* @param request ModifyDBClusterRequest
|
|
19276
|
+
* @return ModifyDBClusterResponse
|
|
19277
|
+
*/
|
|
18187
19278
|
async modifyDBCluster(request) {
|
|
18188
19279
|
let runtime = new $Util.RuntimeOptions({});
|
|
18189
19280
|
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
18190
19281
|
}
|
|
19282
|
+
/**
|
|
19283
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19284
|
+
*
|
|
19285
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19286
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19287
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19288
|
+
*/
|
|
18191
19289
|
async modifyDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
18192
19290
|
tea_util_1.default.validateModel(request);
|
|
18193
19291
|
let query = {};
|
|
@@ -18240,10 +19338,23 @@ class Client extends openapi_client_1.default {
|
|
|
18240
19338
|
});
|
|
18241
19339
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
|
|
18242
19340
|
}
|
|
19341
|
+
/**
|
|
19342
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19343
|
+
*
|
|
19344
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19345
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19346
|
+
*/
|
|
18243
19347
|
async modifyDBClusterAccessWhitelist(request) {
|
|
18244
19348
|
let runtime = new $Util.RuntimeOptions({});
|
|
18245
19349
|
return await this.modifyDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
18246
19350
|
}
|
|
19351
|
+
/**
|
|
19352
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19353
|
+
*
|
|
19354
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19355
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19356
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19357
|
+
*/
|
|
18247
19358
|
async modifyDBClusterAndNodesParametersWithOptions(request, runtime) {
|
|
18248
19359
|
tea_util_1.default.validateModel(request);
|
|
18249
19360
|
let query = {};
|
|
@@ -18296,10 +19407,23 @@ class Client extends openapi_client_1.default {
|
|
|
18296
19407
|
});
|
|
18297
19408
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
|
|
18298
19409
|
}
|
|
19410
|
+
/**
|
|
19411
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19412
|
+
*
|
|
19413
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19414
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19415
|
+
*/
|
|
18299
19416
|
async modifyDBClusterAndNodesParameters(request) {
|
|
18300
19417
|
let runtime = new $Util.RuntimeOptions({});
|
|
18301
19418
|
return await this.modifyDBClusterAndNodesParametersWithOptions(request, runtime);
|
|
18302
19419
|
}
|
|
19420
|
+
/**
|
|
19421
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19422
|
+
*
|
|
19423
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19425
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19426
|
+
*/
|
|
18303
19427
|
async modifyDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
18304
19428
|
tea_util_1.default.validateModel(request);
|
|
18305
19429
|
let query = {};
|
|
@@ -18337,10 +19461,23 @@ class Client extends openapi_client_1.default {
|
|
|
18337
19461
|
});
|
|
18338
19462
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
|
|
18339
19463
|
}
|
|
19464
|
+
/**
|
|
19465
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19466
|
+
*
|
|
19467
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19468
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19469
|
+
*/
|
|
18340
19470
|
async modifyDBClusterAuditLogCollector(request) {
|
|
18341
19471
|
let runtime = new $Util.RuntimeOptions({});
|
|
18342
19472
|
return await this.modifyDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
18343
19473
|
}
|
|
19474
|
+
/**
|
|
19475
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19476
|
+
*
|
|
19477
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19478
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19479
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19480
|
+
*/
|
|
18344
19481
|
async modifyDBClusterDeletionWithOptions(request, runtime) {
|
|
18345
19482
|
tea_util_1.default.validateModel(request);
|
|
18346
19483
|
let query = {};
|
|
@@ -18378,10 +19515,23 @@ class Client extends openapi_client_1.default {
|
|
|
18378
19515
|
});
|
|
18379
19516
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
|
|
18380
19517
|
}
|
|
19518
|
+
/**
|
|
19519
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19520
|
+
*
|
|
19521
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19522
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19523
|
+
*/
|
|
18381
19524
|
async modifyDBClusterDeletion(request) {
|
|
18382
19525
|
let runtime = new $Util.RuntimeOptions({});
|
|
18383
19526
|
return await this.modifyDBClusterDeletionWithOptions(request, runtime);
|
|
18384
19527
|
}
|
|
19528
|
+
/**
|
|
19529
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19530
|
+
*
|
|
19531
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19532
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19533
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19534
|
+
*/
|
|
18385
19535
|
async modifyDBClusterDescriptionWithOptions(request, runtime) {
|
|
18386
19536
|
tea_util_1.default.validateModel(request);
|
|
18387
19537
|
let query = {};
|
|
@@ -18419,10 +19569,23 @@ class Client extends openapi_client_1.default {
|
|
|
18419
19569
|
});
|
|
18420
19570
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
18421
19571
|
}
|
|
19572
|
+
/**
|
|
19573
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19574
|
+
*
|
|
19575
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19576
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19577
|
+
*/
|
|
18422
19578
|
async modifyDBClusterDescription(request) {
|
|
18423
19579
|
let runtime = new $Util.RuntimeOptions({});
|
|
18424
19580
|
return await this.modifyDBClusterDescriptionWithOptions(request, runtime);
|
|
18425
19581
|
}
|
|
19582
|
+
/**
|
|
19583
|
+
* @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.
|
|
19584
|
+
*
|
|
19585
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19586
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19587
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19588
|
+
*/
|
|
18426
19589
|
async modifyDBClusterEndpointWithOptions(request, runtime) {
|
|
18427
19590
|
tea_util_1.default.validateModel(request);
|
|
18428
19591
|
let query = {};
|
|
@@ -18475,16 +19638,24 @@ class Client extends openapi_client_1.default {
|
|
|
18475
19638
|
});
|
|
18476
19639
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
|
|
18477
19640
|
}
|
|
19641
|
+
/**
|
|
19642
|
+
* @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.
|
|
19643
|
+
*
|
|
19644
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19645
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19646
|
+
*/
|
|
18478
19647
|
async modifyDBClusterEndpoint(request) {
|
|
18479
19648
|
let runtime = new $Util.RuntimeOptions({});
|
|
18480
19649
|
return await this.modifyDBClusterEndpointWithOptions(request, runtime);
|
|
18481
19650
|
}
|
|
18482
19651
|
/**
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
|
|
18486
|
-
|
|
18487
|
-
|
|
19652
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19653
|
+
*
|
|
19654
|
+
* @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.
|
|
19655
|
+
*
|
|
19656
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19657
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19658
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18488
19659
|
*/
|
|
18489
19660
|
async modifyDBClusterMaintainTimeWithOptions(request, runtime) {
|
|
18490
19661
|
tea_util_1.default.validateModel(request);
|
|
@@ -18524,23 +19695,27 @@ class Client extends openapi_client_1.default {
|
|
|
18524
19695
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
18525
19696
|
}
|
|
18526
19697
|
/**
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
19698
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19699
|
+
*
|
|
19700
|
+
* @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.
|
|
19701
|
+
*
|
|
19702
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19703
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18531
19704
|
*/
|
|
18532
19705
|
async modifyDBClusterMaintainTime(request) {
|
|
18533
19706
|
let runtime = new $Util.RuntimeOptions({});
|
|
18534
19707
|
return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
|
|
18535
19708
|
}
|
|
18536
19709
|
/**
|
|
18537
|
-
|
|
18538
|
-
|
|
18539
|
-
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
19710
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19711
|
+
*
|
|
19712
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19713
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19714
|
+
* > 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).
|
|
19715
|
+
*
|
|
19716
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19718
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18544
19719
|
*/
|
|
18545
19720
|
async modifyDBClusterMigrationWithOptions(request, runtime) {
|
|
18546
19721
|
tea_util_1.default.validateModel(request);
|
|
@@ -18592,33 +19767,37 @@ class Client extends openapi_client_1.default {
|
|
|
18592
19767
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
18593
19768
|
}
|
|
18594
19769
|
/**
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
19770
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19771
|
+
*
|
|
19772
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19773
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19774
|
+
* > 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).
|
|
19775
|
+
*
|
|
19776
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19777
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18601
19778
|
*/
|
|
18602
19779
|
async modifyDBClusterMigration(request) {
|
|
18603
19780
|
let runtime = new $Util.RuntimeOptions({});
|
|
18604
19781
|
return await this.modifyDBClusterMigrationWithOptions(request, runtime);
|
|
18605
19782
|
}
|
|
18606
19783
|
/**
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
19784
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19785
|
+
*
|
|
19786
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19787
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19788
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19789
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19790
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19791
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19792
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19793
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19794
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19795
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19796
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19797
|
+
*
|
|
19798
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19800
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18622
19801
|
*/
|
|
18623
19802
|
async modifyDBClusterMonitorWithOptions(request, runtime) {
|
|
18624
19803
|
tea_util_1.default.validateModel(request);
|
|
@@ -18658,33 +19837,37 @@ class Client extends openapi_client_1.default {
|
|
|
18658
19837
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
18659
19838
|
}
|
|
18660
19839
|
/**
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
19840
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19841
|
+
*
|
|
19842
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19843
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19844
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19845
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19846
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19847
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19848
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19849
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19850
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19851
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19852
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19853
|
+
*
|
|
19854
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19855
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18675
19856
|
*/
|
|
18676
19857
|
async modifyDBClusterMonitor(request) {
|
|
18677
19858
|
let runtime = new $Util.RuntimeOptions({});
|
|
18678
19859
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
18679
19860
|
}
|
|
18680
19861
|
/**
|
|
18681
|
-
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
|
|
18685
|
-
|
|
18686
|
-
|
|
18687
|
-
|
|
19862
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19863
|
+
*
|
|
19864
|
+
* @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).
|
|
19865
|
+
* **
|
|
19866
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19867
|
+
*
|
|
19868
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19869
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19870
|
+
* @return ModifyDBClusterParametersResponse
|
|
18688
19871
|
*/
|
|
18689
19872
|
async modifyDBClusterParametersWithOptions(request, runtime) {
|
|
18690
19873
|
tea_util_1.default.validateModel(request);
|
|
@@ -18736,17 +19919,26 @@ class Client extends openapi_client_1.default {
|
|
|
18736
19919
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
18737
19920
|
}
|
|
18738
19921
|
/**
|
|
18739
|
-
|
|
18740
|
-
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
|
|
18744
|
-
|
|
19922
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19923
|
+
*
|
|
19924
|
+
* @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).
|
|
19925
|
+
* **
|
|
19926
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19927
|
+
*
|
|
19928
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19929
|
+
* @return ModifyDBClusterParametersResponse
|
|
18745
19930
|
*/
|
|
18746
19931
|
async modifyDBClusterParameters(request) {
|
|
18747
19932
|
let runtime = new $Util.RuntimeOptions({});
|
|
18748
19933
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
18749
19934
|
}
|
|
19935
|
+
/**
|
|
19936
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
19937
|
+
*
|
|
19938
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19939
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19940
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
19941
|
+
*/
|
|
18750
19942
|
async modifyDBClusterPrimaryZoneWithOptions(request, runtime) {
|
|
18751
19943
|
tea_util_1.default.validateModel(request);
|
|
18752
19944
|
let query = {};
|
|
@@ -18805,10 +19997,21 @@ class Client extends openapi_client_1.default {
|
|
|
18805
19997
|
});
|
|
18806
19998
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
18807
19999
|
}
|
|
20000
|
+
/**
|
|
20001
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
20002
|
+
*
|
|
20003
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
20004
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
20005
|
+
*/
|
|
18808
20006
|
async modifyDBClusterPrimaryZone(request) {
|
|
18809
20007
|
let runtime = new $Util.RuntimeOptions({});
|
|
18810
20008
|
return await this.modifyDBClusterPrimaryZoneWithOptions(request, runtime);
|
|
18811
20009
|
}
|
|
20010
|
+
/**
|
|
20011
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
20012
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20013
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
20014
|
+
*/
|
|
18812
20015
|
async modifyDBClusterResourceGroupWithOptions(request, runtime) {
|
|
18813
20016
|
tea_util_1.default.validateModel(request);
|
|
18814
20017
|
let query = {};
|
|
@@ -18849,10 +20052,21 @@ class Client extends openapi_client_1.default {
|
|
|
18849
20052
|
});
|
|
18850
20053
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
|
|
18851
20054
|
}
|
|
20055
|
+
/**
|
|
20056
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
20057
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
20058
|
+
*/
|
|
18852
20059
|
async modifyDBClusterResourceGroup(request) {
|
|
18853
20060
|
let runtime = new $Util.RuntimeOptions({});
|
|
18854
20061
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
18855
20062
|
}
|
|
20063
|
+
/**
|
|
20064
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20065
|
+
*
|
|
20066
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20067
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20068
|
+
* @return ModifyDBClusterSSLResponse
|
|
20069
|
+
*/
|
|
18856
20070
|
async modifyDBClusterSSLWithOptions(request, runtime) {
|
|
18857
20071
|
tea_util_1.default.validateModel(request);
|
|
18858
20072
|
let query = {};
|
|
@@ -18899,10 +20113,23 @@ class Client extends openapi_client_1.default {
|
|
|
18899
20113
|
});
|
|
18900
20114
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
|
|
18901
20115
|
}
|
|
20116
|
+
/**
|
|
20117
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20118
|
+
*
|
|
20119
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20120
|
+
* @return ModifyDBClusterSSLResponse
|
|
20121
|
+
*/
|
|
18902
20122
|
async modifyDBClusterSSL(request) {
|
|
18903
20123
|
let runtime = new $Util.RuntimeOptions({});
|
|
18904
20124
|
return await this.modifyDBClusterSSLWithOptions(request, runtime);
|
|
18905
20125
|
}
|
|
20126
|
+
/**
|
|
20127
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20128
|
+
*
|
|
20129
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20130
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20131
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20132
|
+
*/
|
|
18906
20133
|
async modifyDBClusterServerlessConfWithOptions(request, runtime) {
|
|
18907
20134
|
tea_util_1.default.validateModel(request);
|
|
18908
20135
|
let query = {};
|
|
@@ -18954,6 +20181,15 @@ class Client extends openapi_client_1.default {
|
|
|
18954
20181
|
if (!tea_util_1.default.isUnset(request.secondsUntilAutoPause)) {
|
|
18955
20182
|
query["SecondsUntilAutoPause"] = request.secondsUntilAutoPause;
|
|
18956
20183
|
}
|
|
20184
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuEnlargeThreshold)) {
|
|
20185
|
+
query["ServerlessRuleCpuEnlargeThreshold"] = request.serverlessRuleCpuEnlargeThreshold;
|
|
20186
|
+
}
|
|
20187
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuShrinkThreshold)) {
|
|
20188
|
+
query["ServerlessRuleCpuShrinkThreshold"] = request.serverlessRuleCpuShrinkThreshold;
|
|
20189
|
+
}
|
|
20190
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleMode)) {
|
|
20191
|
+
query["ServerlessRuleMode"] = request.serverlessRuleMode;
|
|
20192
|
+
}
|
|
18957
20193
|
let req = new $OpenApi.OpenApiRequest({
|
|
18958
20194
|
query: openapi_util_1.default.query(query),
|
|
18959
20195
|
});
|
|
@@ -18970,10 +20206,23 @@ class Client extends openapi_client_1.default {
|
|
|
18970
20206
|
});
|
|
18971
20207
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
|
|
18972
20208
|
}
|
|
20209
|
+
/**
|
|
20210
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20211
|
+
*
|
|
20212
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20213
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20214
|
+
*/
|
|
18973
20215
|
async modifyDBClusterServerlessConf(request) {
|
|
18974
20216
|
let runtime = new $Util.RuntimeOptions({});
|
|
18975
20217
|
return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
|
|
18976
20218
|
}
|
|
20219
|
+
/**
|
|
20220
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20221
|
+
*
|
|
20222
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20223
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20224
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20225
|
+
*/
|
|
18977
20226
|
async modifyDBClusterStorageSpaceWithOptions(request, runtime) {
|
|
18978
20227
|
tea_util_1.default.validateModel(request);
|
|
18979
20228
|
let query = {};
|
|
@@ -19023,17 +20272,25 @@ class Client extends openapi_client_1.default {
|
|
|
19023
20272
|
});
|
|
19024
20273
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
19025
20274
|
}
|
|
20275
|
+
/**
|
|
20276
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20277
|
+
*
|
|
20278
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20279
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20280
|
+
*/
|
|
19026
20281
|
async modifyDBClusterStorageSpace(request) {
|
|
19027
20282
|
let runtime = new $Util.RuntimeOptions({});
|
|
19028
20283
|
return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
|
|
19029
20284
|
}
|
|
19030
20285
|
/**
|
|
19031
|
-
|
|
19032
|
-
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
|
|
19036
|
-
|
|
20286
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20287
|
+
*
|
|
20288
|
+
* @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).
|
|
20289
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20290
|
+
*
|
|
20291
|
+
* @param request ModifyDBClusterTDERequest
|
|
20292
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20293
|
+
* @return ModifyDBClusterTDEResponse
|
|
19037
20294
|
*/
|
|
19038
20295
|
async modifyDBClusterTDEWithOptions(request, runtime) {
|
|
19039
20296
|
tea_util_1.default.validateModel(request);
|
|
@@ -19082,16 +20339,25 @@ class Client extends openapi_client_1.default {
|
|
|
19082
20339
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
19083
20340
|
}
|
|
19084
20341
|
/**
|
|
19085
|
-
|
|
19086
|
-
|
|
19087
|
-
|
|
19088
|
-
|
|
19089
|
-
|
|
20342
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20343
|
+
*
|
|
20344
|
+
* @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).
|
|
20345
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20346
|
+
*
|
|
20347
|
+
* @param request ModifyDBClusterTDERequest
|
|
20348
|
+
* @return ModifyDBClusterTDEResponse
|
|
19090
20349
|
*/
|
|
19091
20350
|
async modifyDBClusterTDE(request) {
|
|
19092
20351
|
let runtime = new $Util.RuntimeOptions({});
|
|
19093
20352
|
return await this.modifyDBClusterTDEWithOptions(request, runtime);
|
|
19094
20353
|
}
|
|
20354
|
+
/**
|
|
20355
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20356
|
+
*
|
|
20357
|
+
* @param request ModifyDBDescriptionRequest
|
|
20358
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20359
|
+
* @return ModifyDBDescriptionResponse
|
|
20360
|
+
*/
|
|
19095
20361
|
async modifyDBDescriptionWithOptions(request, runtime) {
|
|
19096
20362
|
tea_util_1.default.validateModel(request);
|
|
19097
20363
|
let query = {};
|
|
@@ -19132,10 +20398,23 @@ class Client extends openapi_client_1.default {
|
|
|
19132
20398
|
});
|
|
19133
20399
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
|
|
19134
20400
|
}
|
|
20401
|
+
/**
|
|
20402
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20403
|
+
*
|
|
20404
|
+
* @param request ModifyDBDescriptionRequest
|
|
20405
|
+
* @return ModifyDBDescriptionResponse
|
|
20406
|
+
*/
|
|
19135
20407
|
async modifyDBDescription(request) {
|
|
19136
20408
|
let runtime = new $Util.RuntimeOptions({});
|
|
19137
20409
|
return await this.modifyDBDescriptionWithOptions(request, runtime);
|
|
19138
20410
|
}
|
|
20411
|
+
/**
|
|
20412
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20413
|
+
*
|
|
20414
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20415
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20416
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20417
|
+
*/
|
|
19139
20418
|
async modifyDBEndpointAddressWithOptions(request, runtime) {
|
|
19140
20419
|
tea_util_1.default.validateModel(request);
|
|
19141
20420
|
let query = {};
|
|
@@ -19188,10 +20467,23 @@ class Client extends openapi_client_1.default {
|
|
|
19188
20467
|
});
|
|
19189
20468
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
|
|
19190
20469
|
}
|
|
20470
|
+
/**
|
|
20471
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20472
|
+
*
|
|
20473
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20474
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20475
|
+
*/
|
|
19191
20476
|
async modifyDBEndpointAddress(request) {
|
|
19192
20477
|
let runtime = new $Util.RuntimeOptions({});
|
|
19193
20478
|
return await this.modifyDBEndpointAddressWithOptions(request, runtime);
|
|
19194
20479
|
}
|
|
20480
|
+
/**
|
|
20481
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20482
|
+
*
|
|
20483
|
+
* @param request ModifyDBNodeClassRequest
|
|
20484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20485
|
+
* @return ModifyDBNodeClassResponse
|
|
20486
|
+
*/
|
|
19195
20487
|
async modifyDBNodeClassWithOptions(request, runtime) {
|
|
19196
20488
|
tea_util_1.default.validateModel(request);
|
|
19197
20489
|
let query = {};
|
|
@@ -19247,10 +20539,23 @@ class Client extends openapi_client_1.default {
|
|
|
19247
20539
|
});
|
|
19248
20540
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
|
|
19249
20541
|
}
|
|
20542
|
+
/**
|
|
20543
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20544
|
+
*
|
|
20545
|
+
* @param request ModifyDBNodeClassRequest
|
|
20546
|
+
* @return ModifyDBNodeClassResponse
|
|
20547
|
+
*/
|
|
19250
20548
|
async modifyDBNodeClass(request) {
|
|
19251
20549
|
let runtime = new $Util.RuntimeOptions({});
|
|
19252
20550
|
return await this.modifyDBNodeClassWithOptions(request, runtime);
|
|
19253
20551
|
}
|
|
20552
|
+
/**
|
|
20553
|
+
* @summary Enables or disables a cluster node.
|
|
20554
|
+
*
|
|
20555
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20556
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20557
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20558
|
+
*/
|
|
19254
20559
|
async modifyDBNodeHotReplicaModeWithOptions(request, runtime) {
|
|
19255
20560
|
tea_util_1.default.validateModel(request);
|
|
19256
20561
|
let query = {};
|
|
@@ -19291,10 +20596,23 @@ class Client extends openapi_client_1.default {
|
|
|
19291
20596
|
});
|
|
19292
20597
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
19293
20598
|
}
|
|
20599
|
+
/**
|
|
20600
|
+
* @summary Enables or disables a cluster node.
|
|
20601
|
+
*
|
|
20602
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20603
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20604
|
+
*/
|
|
19294
20605
|
async modifyDBNodeHotReplicaMode(request) {
|
|
19295
20606
|
let runtime = new $Util.RuntimeOptions({});
|
|
19296
20607
|
return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
|
|
19297
20608
|
}
|
|
20609
|
+
/**
|
|
20610
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20611
|
+
*
|
|
20612
|
+
* @param request ModifyDBNodesClassRequest
|
|
20613
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20614
|
+
* @return ModifyDBNodesClassResponse
|
|
20615
|
+
*/
|
|
19298
20616
|
async modifyDBNodesClassWithOptions(request, runtime) {
|
|
19299
20617
|
tea_util_1.default.validateModel(request);
|
|
19300
20618
|
let query = {};
|
|
@@ -19347,10 +20665,23 @@ class Client extends openapi_client_1.default {
|
|
|
19347
20665
|
});
|
|
19348
20666
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
|
|
19349
20667
|
}
|
|
20668
|
+
/**
|
|
20669
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20670
|
+
*
|
|
20671
|
+
* @param request ModifyDBNodesClassRequest
|
|
20672
|
+
* @return ModifyDBNodesClassResponse
|
|
20673
|
+
*/
|
|
19350
20674
|
async modifyDBNodesClass(request) {
|
|
19351
20675
|
let runtime = new $Util.RuntimeOptions({});
|
|
19352
20676
|
return await this.modifyDBNodesClassWithOptions(request, runtime);
|
|
19353
20677
|
}
|
|
20678
|
+
/**
|
|
20679
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20680
|
+
*
|
|
20681
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20682
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20683
|
+
* @return ModifyDBNodesParametersResponse
|
|
20684
|
+
*/
|
|
19354
20685
|
async modifyDBNodesParametersWithOptions(request, runtime) {
|
|
19355
20686
|
tea_util_1.default.validateModel(request);
|
|
19356
20687
|
let query = {};
|
|
@@ -19403,10 +20734,23 @@ class Client extends openapi_client_1.default {
|
|
|
19403
20734
|
});
|
|
19404
20735
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
|
|
19405
20736
|
}
|
|
20737
|
+
/**
|
|
20738
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20739
|
+
*
|
|
20740
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20741
|
+
* @return ModifyDBNodesParametersResponse
|
|
20742
|
+
*/
|
|
19406
20743
|
async modifyDBNodesParameters(request) {
|
|
19407
20744
|
let runtime = new $Util.RuntimeOptions({});
|
|
19408
20745
|
return await this.modifyDBNodesParametersWithOptions(request, runtime);
|
|
19409
20746
|
}
|
|
20747
|
+
/**
|
|
20748
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20749
|
+
*
|
|
20750
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20751
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20752
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20753
|
+
*/
|
|
19410
20754
|
async modifyGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19411
20755
|
tea_util_1.default.validateModel(request);
|
|
19412
20756
|
let query = {};
|
|
@@ -19450,10 +20794,23 @@ class Client extends openapi_client_1.default {
|
|
|
19450
20794
|
});
|
|
19451
20795
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
|
|
19452
20796
|
}
|
|
20797
|
+
/**
|
|
20798
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20799
|
+
*
|
|
20800
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20801
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20802
|
+
*/
|
|
19453
20803
|
async modifyGlobalDatabaseNetwork(request) {
|
|
19454
20804
|
let runtime = new $Util.RuntimeOptions({});
|
|
19455
20805
|
return await this.modifyGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19456
20806
|
}
|
|
20807
|
+
/**
|
|
20808
|
+
* @summary Modifies an IP whitelist template.
|
|
20809
|
+
*
|
|
20810
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20811
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20812
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20813
|
+
*/
|
|
19457
20814
|
async modifyGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
19458
20815
|
tea_util_1.default.validateModel(request);
|
|
19459
20816
|
let query = {};
|
|
@@ -19503,10 +20860,23 @@ class Client extends openapi_client_1.default {
|
|
|
19503
20860
|
});
|
|
19504
20861
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
|
|
19505
20862
|
}
|
|
20863
|
+
/**
|
|
20864
|
+
* @summary Modifies an IP whitelist template.
|
|
20865
|
+
*
|
|
20866
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20867
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20868
|
+
*/
|
|
19506
20869
|
async modifyGlobalSecurityIPGroup(request) {
|
|
19507
20870
|
let runtime = new $Util.RuntimeOptions({});
|
|
19508
20871
|
return await this.modifyGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
19509
20872
|
}
|
|
20873
|
+
/**
|
|
20874
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20875
|
+
*
|
|
20876
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20878
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20879
|
+
*/
|
|
19510
20880
|
async modifyGlobalSecurityIPGroupNameWithOptions(request, runtime) {
|
|
19511
20881
|
tea_util_1.default.validateModel(request);
|
|
19512
20882
|
let query = {};
|
|
@@ -19553,10 +20923,23 @@ class Client extends openapi_client_1.default {
|
|
|
19553
20923
|
});
|
|
19554
20924
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
|
|
19555
20925
|
}
|
|
20926
|
+
/**
|
|
20927
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20928
|
+
*
|
|
20929
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20930
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20931
|
+
*/
|
|
19556
20932
|
async modifyGlobalSecurityIPGroupName(request) {
|
|
19557
20933
|
let runtime = new $Util.RuntimeOptions({});
|
|
19558
20934
|
return await this.modifyGlobalSecurityIPGroupNameWithOptions(request, runtime);
|
|
19559
20935
|
}
|
|
20936
|
+
/**
|
|
20937
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20938
|
+
*
|
|
20939
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20940
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20941
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20942
|
+
*/
|
|
19560
20943
|
async modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
19561
20944
|
tea_util_1.default.validateModel(request);
|
|
19562
20945
|
let query = {};
|
|
@@ -19603,10 +20986,23 @@ class Client extends openapi_client_1.default {
|
|
|
19603
20986
|
});
|
|
19604
20987
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
|
|
19605
20988
|
}
|
|
20989
|
+
/**
|
|
20990
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20991
|
+
*
|
|
20992
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20993
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20994
|
+
*/
|
|
19606
20995
|
async modifyGlobalSecurityIPGroupRelation(request) {
|
|
19607
20996
|
let runtime = new $Util.RuntimeOptions({});
|
|
19608
20997
|
return await this.modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
19609
20998
|
}
|
|
20999
|
+
/**
|
|
21000
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
21001
|
+
*
|
|
21002
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
21003
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21004
|
+
* @return ModifyLogBackupPolicyResponse
|
|
21005
|
+
*/
|
|
19610
21006
|
async modifyLogBackupPolicyWithOptions(request, runtime) {
|
|
19611
21007
|
tea_util_1.default.validateModel(request);
|
|
19612
21008
|
let query = {};
|
|
@@ -19650,10 +21046,23 @@ class Client extends openapi_client_1.default {
|
|
|
19650
21046
|
});
|
|
19651
21047
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
|
|
19652
21048
|
}
|
|
21049
|
+
/**
|
|
21050
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
21051
|
+
*
|
|
21052
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
21053
|
+
* @return ModifyLogBackupPolicyResponse
|
|
21054
|
+
*/
|
|
19653
21055
|
async modifyLogBackupPolicy(request) {
|
|
19654
21056
|
let runtime = new $Util.RuntimeOptions({});
|
|
19655
21057
|
return await this.modifyLogBackupPolicyWithOptions(request, runtime);
|
|
19656
21058
|
}
|
|
21059
|
+
/**
|
|
21060
|
+
* @summary Modifies or adds a data masking rule.
|
|
21061
|
+
*
|
|
21062
|
+
* @param request ModifyMaskingRulesRequest
|
|
21063
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21064
|
+
* @return ModifyMaskingRulesResponse
|
|
21065
|
+
*/
|
|
19657
21066
|
async modifyMaskingRulesWithOptions(request, runtime) {
|
|
19658
21067
|
tea_util_1.default.validateModel(request);
|
|
19659
21068
|
let query = {};
|
|
@@ -19691,10 +21100,23 @@ class Client extends openapi_client_1.default {
|
|
|
19691
21100
|
});
|
|
19692
21101
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
|
|
19693
21102
|
}
|
|
21103
|
+
/**
|
|
21104
|
+
* @summary Modifies or adds a data masking rule.
|
|
21105
|
+
*
|
|
21106
|
+
* @param request ModifyMaskingRulesRequest
|
|
21107
|
+
* @return ModifyMaskingRulesResponse
|
|
21108
|
+
*/
|
|
19694
21109
|
async modifyMaskingRules(request) {
|
|
19695
21110
|
let runtime = new $Util.RuntimeOptions({});
|
|
19696
21111
|
return await this.modifyMaskingRulesWithOptions(request, runtime);
|
|
19697
21112
|
}
|
|
21113
|
+
/**
|
|
21114
|
+
* @summary Modifies the switching time of a pending event.
|
|
21115
|
+
*
|
|
21116
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21117
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21118
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21119
|
+
*/
|
|
19698
21120
|
async modifyPendingMaintenanceActionWithOptions(request, runtime) {
|
|
19699
21121
|
tea_util_1.default.validateModel(request);
|
|
19700
21122
|
let query = {};
|
|
@@ -19741,10 +21163,23 @@ class Client extends openapi_client_1.default {
|
|
|
19741
21163
|
});
|
|
19742
21164
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
|
|
19743
21165
|
}
|
|
21166
|
+
/**
|
|
21167
|
+
* @summary Modifies the switching time of a pending event.
|
|
21168
|
+
*
|
|
21169
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21170
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21171
|
+
*/
|
|
19744
21172
|
async modifyPendingMaintenanceAction(request) {
|
|
19745
21173
|
let runtime = new $Util.RuntimeOptions({});
|
|
19746
21174
|
return await this.modifyPendingMaintenanceActionWithOptions(request, runtime);
|
|
19747
21175
|
}
|
|
21176
|
+
/**
|
|
21177
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21178
|
+
*
|
|
21179
|
+
* @param request OpenAITaskRequest
|
|
21180
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21181
|
+
* @return OpenAITaskResponse
|
|
21182
|
+
*/
|
|
19748
21183
|
async openAITaskWithOptions(request, runtime) {
|
|
19749
21184
|
tea_util_1.default.validateModel(request);
|
|
19750
21185
|
let query = {};
|
|
@@ -19794,10 +21229,23 @@ class Client extends openapi_client_1.default {
|
|
|
19794
21229
|
});
|
|
19795
21230
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
|
|
19796
21231
|
}
|
|
21232
|
+
/**
|
|
21233
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21234
|
+
*
|
|
21235
|
+
* @param request OpenAITaskRequest
|
|
21236
|
+
* @return OpenAITaskResponse
|
|
21237
|
+
*/
|
|
19797
21238
|
async openAITask(request) {
|
|
19798
21239
|
let runtime = new $Util.RuntimeOptions({});
|
|
19799
21240
|
return await this.openAITaskWithOptions(request, runtime);
|
|
19800
21241
|
}
|
|
21242
|
+
/**
|
|
21243
|
+
* @summary Updates the storage usage of a cluster.
|
|
21244
|
+
*
|
|
21245
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21246
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21247
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21248
|
+
*/
|
|
19801
21249
|
async refreshDBClusterStorageUsageWithOptions(request, runtime) {
|
|
19802
21250
|
tea_util_1.default.validateModel(request);
|
|
19803
21251
|
let query = {};
|
|
@@ -19832,16 +21280,24 @@ class Client extends openapi_client_1.default {
|
|
|
19832
21280
|
});
|
|
19833
21281
|
return $tea.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
|
|
19834
21282
|
}
|
|
21283
|
+
/**
|
|
21284
|
+
* @summary Updates the storage usage of a cluster.
|
|
21285
|
+
*
|
|
21286
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21287
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21288
|
+
*/
|
|
19835
21289
|
async refreshDBClusterStorageUsage(request) {
|
|
19836
21290
|
let runtime = new $Util.RuntimeOptions({});
|
|
19837
21291
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
19838
21292
|
}
|
|
19839
21293
|
/**
|
|
19840
|
-
|
|
19841
|
-
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
-
|
|
21294
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21295
|
+
*
|
|
21296
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21297
|
+
*
|
|
21298
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21300
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19845
21301
|
*/
|
|
19846
21302
|
async removeDBClusterFromGDNWithOptions(request, runtime) {
|
|
19847
21303
|
tea_util_1.default.validateModel(request);
|
|
@@ -19884,22 +21340,26 @@ class Client extends openapi_client_1.default {
|
|
|
19884
21340
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
19885
21341
|
}
|
|
19886
21342
|
/**
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
21343
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21344
|
+
*
|
|
21345
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21346
|
+
*
|
|
21347
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21348
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19891
21349
|
*/
|
|
19892
21350
|
async removeDBClusterFromGDN(request) {
|
|
19893
21351
|
let runtime = new $Util.RuntimeOptions({});
|
|
19894
21352
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
19895
21353
|
}
|
|
19896
21354
|
/**
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
|
|
21355
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21356
|
+
*
|
|
21357
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21358
|
+
* >- 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.
|
|
21359
|
+
*
|
|
21360
|
+
* @param request ResetAccountRequest
|
|
21361
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21362
|
+
* @return ResetAccountResponse
|
|
19903
21363
|
*/
|
|
19904
21364
|
async resetAccountWithOptions(request, runtime) {
|
|
19905
21365
|
tea_util_1.default.validateModel(request);
|
|
@@ -19942,16 +21402,25 @@ class Client extends openapi_client_1.default {
|
|
|
19942
21402
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
19943
21403
|
}
|
|
19944
21404
|
/**
|
|
19945
|
-
|
|
19946
|
-
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
21405
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21406
|
+
*
|
|
21407
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21408
|
+
* >- 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.
|
|
21409
|
+
*
|
|
21410
|
+
* @param request ResetAccountRequest
|
|
21411
|
+
* @return ResetAccountResponse
|
|
19950
21412
|
*/
|
|
19951
21413
|
async resetAccount(request) {
|
|
19952
21414
|
let runtime = new $Util.RuntimeOptions({});
|
|
19953
21415
|
return await this.resetAccountWithOptions(request, runtime);
|
|
19954
21416
|
}
|
|
21417
|
+
/**
|
|
21418
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21419
|
+
*
|
|
21420
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21421
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21422
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21423
|
+
*/
|
|
19955
21424
|
async resetGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19956
21425
|
tea_util_1.default.validateModel(request);
|
|
19957
21426
|
let query = {};
|
|
@@ -19995,10 +21464,23 @@ class Client extends openapi_client_1.default {
|
|
|
19995
21464
|
});
|
|
19996
21465
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
19997
21466
|
}
|
|
21467
|
+
/**
|
|
21468
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21469
|
+
*
|
|
21470
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21471
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21472
|
+
*/
|
|
19998
21473
|
async resetGlobalDatabaseNetwork(request) {
|
|
19999
21474
|
let runtime = new $Util.RuntimeOptions({});
|
|
20000
21475
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
20001
21476
|
}
|
|
21477
|
+
/**
|
|
21478
|
+
* @summary 重启代理
|
|
21479
|
+
*
|
|
21480
|
+
* @param request RestartDBLinkRequest
|
|
21481
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21482
|
+
* @return RestartDBLinkResponse
|
|
21483
|
+
*/
|
|
20002
21484
|
async restartDBLinkWithOptions(request, runtime) {
|
|
20003
21485
|
tea_util_1.default.validateModel(request);
|
|
20004
21486
|
let query = {};
|
|
@@ -20036,10 +21518,23 @@ class Client extends openapi_client_1.default {
|
|
|
20036
21518
|
});
|
|
20037
21519
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
20038
21520
|
}
|
|
21521
|
+
/**
|
|
21522
|
+
* @summary 重启代理
|
|
21523
|
+
*
|
|
21524
|
+
* @param request RestartDBLinkRequest
|
|
21525
|
+
* @return RestartDBLinkResponse
|
|
21526
|
+
*/
|
|
20039
21527
|
async restartDBLink(request) {
|
|
20040
21528
|
let runtime = new $Util.RuntimeOptions({});
|
|
20041
21529
|
return await this.restartDBLinkWithOptions(request, runtime);
|
|
20042
21530
|
}
|
|
21531
|
+
/**
|
|
21532
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21533
|
+
*
|
|
21534
|
+
* @param request RestartDBNodeRequest
|
|
21535
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21536
|
+
* @return RestartDBNodeResponse
|
|
21537
|
+
*/
|
|
20043
21538
|
async restartDBNodeWithOptions(request, runtime) {
|
|
20044
21539
|
tea_util_1.default.validateModel(request);
|
|
20045
21540
|
let query = {};
|
|
@@ -20074,10 +21569,23 @@ class Client extends openapi_client_1.default {
|
|
|
20074
21569
|
});
|
|
20075
21570
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
|
|
20076
21571
|
}
|
|
21572
|
+
/**
|
|
21573
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21574
|
+
*
|
|
21575
|
+
* @param request RestartDBNodeRequest
|
|
21576
|
+
* @return RestartDBNodeResponse
|
|
21577
|
+
*/
|
|
20077
21578
|
async restartDBNode(request) {
|
|
20078
21579
|
let runtime = new $Util.RuntimeOptions({});
|
|
20079
21580
|
return await this.restartDBNodeWithOptions(request, runtime);
|
|
20080
21581
|
}
|
|
21582
|
+
/**
|
|
21583
|
+
* @summary Restores PolarDB databases and tables.
|
|
21584
|
+
*
|
|
21585
|
+
* @param request RestoreTableRequest
|
|
21586
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21587
|
+
* @return RestoreTableResponse
|
|
21588
|
+
*/
|
|
20081
21589
|
async restoreTableWithOptions(request, runtime) {
|
|
20082
21590
|
tea_util_1.default.validateModel(request);
|
|
20083
21591
|
let query = {};
|
|
@@ -20124,10 +21632,23 @@ class Client extends openapi_client_1.default {
|
|
|
20124
21632
|
});
|
|
20125
21633
|
return $tea.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
|
|
20126
21634
|
}
|
|
21635
|
+
/**
|
|
21636
|
+
* @summary Restores PolarDB databases and tables.
|
|
21637
|
+
*
|
|
21638
|
+
* @param request RestoreTableRequest
|
|
21639
|
+
* @return RestoreTableResponse
|
|
21640
|
+
*/
|
|
20127
21641
|
async restoreTable(request) {
|
|
20128
21642
|
let runtime = new $Util.RuntimeOptions({});
|
|
20129
21643
|
return await this.restoreTableWithOptions(request, runtime);
|
|
20130
21644
|
}
|
|
21645
|
+
/**
|
|
21646
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21647
|
+
*
|
|
21648
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21649
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21650
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21651
|
+
*/
|
|
20131
21652
|
async revokeAccountPrivilegeWithOptions(request, runtime) {
|
|
20132
21653
|
tea_util_1.default.validateModel(request);
|
|
20133
21654
|
let query = {};
|
|
@@ -20168,10 +21689,21 @@ class Client extends openapi_client_1.default {
|
|
|
20168
21689
|
});
|
|
20169
21690
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
|
|
20170
21691
|
}
|
|
21692
|
+
/**
|
|
21693
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21694
|
+
*
|
|
21695
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21696
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21697
|
+
*/
|
|
20171
21698
|
async revokeAccountPrivilege(request) {
|
|
20172
21699
|
let runtime = new $Util.RuntimeOptions({});
|
|
20173
21700
|
return await this.revokeAccountPrivilegeWithOptions(request, runtime);
|
|
20174
21701
|
}
|
|
21702
|
+
/**
|
|
21703
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21704
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21705
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21706
|
+
*/
|
|
20175
21707
|
async switchOverGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
20176
21708
|
tea_util_1.default.validateModel(request);
|
|
20177
21709
|
let query = {};
|
|
@@ -20221,10 +21753,19 @@ class Client extends openapi_client_1.default {
|
|
|
20221
21753
|
});
|
|
20222
21754
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
|
|
20223
21755
|
}
|
|
21756
|
+
/**
|
|
21757
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21758
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21759
|
+
*/
|
|
20224
21760
|
async switchOverGlobalDatabaseNetwork(request) {
|
|
20225
21761
|
let runtime = new $Util.RuntimeOptions({});
|
|
20226
21762
|
return await this.switchOverGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
20227
21763
|
}
|
|
21764
|
+
/**
|
|
21765
|
+
* @param request TagResourcesRequest
|
|
21766
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21767
|
+
* @return TagResourcesResponse
|
|
21768
|
+
*/
|
|
20228
21769
|
async tagResourcesWithOptions(request, runtime) {
|
|
20229
21770
|
tea_util_1.default.validateModel(request);
|
|
20230
21771
|
let query = {};
|
|
@@ -20268,10 +21809,21 @@ class Client extends openapi_client_1.default {
|
|
|
20268
21809
|
});
|
|
20269
21810
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
20270
21811
|
}
|
|
21812
|
+
/**
|
|
21813
|
+
* @param request TagResourcesRequest
|
|
21814
|
+
* @return TagResourcesResponse
|
|
21815
|
+
*/
|
|
20271
21816
|
async tagResources(request) {
|
|
20272
21817
|
let runtime = new $Util.RuntimeOptions({});
|
|
20273
21818
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
20274
21819
|
}
|
|
21820
|
+
/**
|
|
21821
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21822
|
+
*
|
|
21823
|
+
* @param request TempModifyDBNodeRequest
|
|
21824
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21825
|
+
* @return TempModifyDBNodeResponse
|
|
21826
|
+
*/
|
|
20275
21827
|
async tempModifyDBNodeWithOptions(request, runtime) {
|
|
20276
21828
|
tea_util_1.default.validateModel(request);
|
|
20277
21829
|
let query = {};
|
|
@@ -20321,18 +21873,26 @@ class Client extends openapi_client_1.default {
|
|
|
20321
21873
|
});
|
|
20322
21874
|
return $tea.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
20323
21875
|
}
|
|
21876
|
+
/**
|
|
21877
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21878
|
+
*
|
|
21879
|
+
* @param request TempModifyDBNodeRequest
|
|
21880
|
+
* @return TempModifyDBNodeResponse
|
|
21881
|
+
*/
|
|
20324
21882
|
async tempModifyDBNode(request) {
|
|
20325
21883
|
let runtime = new $Util.RuntimeOptions({});
|
|
20326
21884
|
return await this.tempModifyDBNodeWithOptions(request, runtime);
|
|
20327
21885
|
}
|
|
20328
21886
|
/**
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
21887
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21888
|
+
*
|
|
21889
|
+
* @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).
|
|
21890
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21891
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21892
|
+
*
|
|
21893
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21894
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21895
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20336
21896
|
*/
|
|
20337
21897
|
async transformDBClusterPayTypeWithOptions(request, runtime) {
|
|
20338
21898
|
tea_util_1.default.validateModel(request);
|
|
@@ -20387,17 +21947,26 @@ class Client extends openapi_client_1.default {
|
|
|
20387
21947
|
return $tea.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
20388
21948
|
}
|
|
20389
21949
|
/**
|
|
20390
|
-
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
21950
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21951
|
+
*
|
|
21952
|
+
* @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).
|
|
21953
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21954
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21955
|
+
*
|
|
21956
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21957
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20396
21958
|
*/
|
|
20397
21959
|
async transformDBClusterPayType(request) {
|
|
20398
21960
|
let runtime = new $Util.RuntimeOptions({});
|
|
20399
21961
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
20400
21962
|
}
|
|
21963
|
+
/**
|
|
21964
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
21965
|
+
*
|
|
21966
|
+
* @param request UntagResourcesRequest
|
|
21967
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21968
|
+
* @return UntagResourcesResponse
|
|
21969
|
+
*/
|
|
20401
21970
|
async untagResourcesWithOptions(request, runtime) {
|
|
20402
21971
|
tea_util_1.default.validateModel(request);
|
|
20403
21972
|
let query = {};
|
|
@@ -20444,17 +22013,25 @@ class Client extends openapi_client_1.default {
|
|
|
20444
22013
|
});
|
|
20445
22014
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
20446
22015
|
}
|
|
22016
|
+
/**
|
|
22017
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
22018
|
+
*
|
|
22019
|
+
* @param request UntagResourcesRequest
|
|
22020
|
+
* @return UntagResourcesResponse
|
|
22021
|
+
*/
|
|
20447
22022
|
async untagResources(request) {
|
|
20448
22023
|
let runtime = new $Util.RuntimeOptions({});
|
|
20449
22024
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
20450
22025
|
}
|
|
20451
22026
|
/**
|
|
20452
|
-
|
|
20453
|
-
|
|
20454
|
-
|
|
20455
|
-
|
|
20456
|
-
|
|
20457
|
-
|
|
22027
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22028
|
+
*
|
|
22029
|
+
* @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.
|
|
22030
|
+
* >* 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.
|
|
22031
|
+
*
|
|
22032
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22033
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22034
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20458
22035
|
*/
|
|
20459
22036
|
async upgradeDBClusterVersionWithOptions(request, runtime) {
|
|
20460
22037
|
tea_util_1.default.validateModel(request);
|
|
@@ -20486,6 +22063,9 @@ class Client extends openapi_client_1.default {
|
|
|
20486
22063
|
if (!tea_util_1.default.isUnset(request.targetDBRevisionVersionCode)) {
|
|
20487
22064
|
query["TargetDBRevisionVersionCode"] = request.targetDBRevisionVersionCode;
|
|
20488
22065
|
}
|
|
22066
|
+
if (!tea_util_1.default.isUnset(request.targetProxyRevisionVersionCode)) {
|
|
22067
|
+
query["TargetProxyRevisionVersionCode"] = request.targetProxyRevisionVersionCode;
|
|
22068
|
+
}
|
|
20489
22069
|
if (!tea_util_1.default.isUnset(request.upgradeLabel)) {
|
|
20490
22070
|
query["UpgradeLabel"] = request.upgradeLabel;
|
|
20491
22071
|
}
|
|
@@ -20512,11 +22092,13 @@ class Client extends openapi_client_1.default {
|
|
|
20512
22092
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
20513
22093
|
}
|
|
20514
22094
|
/**
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
22095
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22096
|
+
*
|
|
22097
|
+
* @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.
|
|
22098
|
+
* >* 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.
|
|
22099
|
+
*
|
|
22100
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22101
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20520
22102
|
*/
|
|
20521
22103
|
async upgradeDBClusterVersion(request) {
|
|
20522
22104
|
let runtime = new $Util.RuntimeOptions({});
|