@alicloud/polardb20170801 5.0.6 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2038 -451
- package/dist/client.js +2116 -456
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2147 -452
package/dist/client.js
CHANGED
|
@@ -33,10 +33,10 @@ exports.DescribeGlobalDatabaseNetworkResponseBody = exports.DescribeGlobalDataba
|
|
|
33
33
|
exports.DescribeTasksRequest = exports.DescribeSlowLogsResponse = exports.DescribeSlowLogsResponseBody = exports.DescribeSlowLogsRequest = exports.DescribeSlowLogRecordsResponse = exports.DescribeSlowLogRecordsResponseBody = exports.DescribeSlowLogRecordsRequest = exports.DescribeScheduleTasksResponse = exports.DescribeScheduleTasksResponseBody = exports.DescribeScheduleTasksRequest = exports.DescribeRegionsResponse = exports.DescribeRegionsResponseBody = exports.DescribeRegionsRequest = exports.DescribePolarSQLCollectorPolicyResponse = exports.DescribePolarSQLCollectorPolicyResponseBody = exports.DescribePolarSQLCollectorPolicyRequest = exports.DescribePendingMaintenanceActionsResponse = exports.DescribePendingMaintenanceActionsResponseBody = exports.DescribePendingMaintenanceActionsRequest = exports.DescribePendingMaintenanceActionResponse = exports.DescribePendingMaintenanceActionResponseBody = exports.DescribePendingMaintenanceActionRequest = exports.DescribeParameterTemplatesResponse = exports.DescribeParameterTemplatesResponseBody = exports.DescribeParameterTemplatesRequest = exports.DescribeParameterGroupsResponse = exports.DescribeParameterGroupsResponseBody = exports.DescribeParameterGroupsRequest = exports.DescribeParameterGroupResponse = exports.DescribeParameterGroupResponseBody = exports.DescribeParameterGroupRequest = exports.DescribeMetaListResponse = exports.DescribeMetaListResponseBody = exports.DescribeMetaListRequest = exports.DescribeMaskingRulesResponse = exports.DescribeMaskingRulesResponseBody = exports.DescribeMaskingRulesRequest = exports.DescribeLogBackupPolicyResponse = exports.DescribeLogBackupPolicyResponseBody = exports.DescribeLogBackupPolicyRequest = exports.DescribeGlobalSecurityIPGroupRelationResponse = exports.DescribeGlobalSecurityIPGroupRelationResponseBody = exports.DescribeGlobalSecurityIPGroupRelationRequest = exports.DescribeGlobalSecurityIPGroupResponse = exports.DescribeGlobalSecurityIPGroupResponseBody = exports.DescribeGlobalSecurityIPGroupRequest = exports.DescribeGlobalDatabaseNetworksResponse = exports.DescribeGlobalDatabaseNetworksResponseBody = exports.DescribeGlobalDatabaseNetworksRequest = exports.DescribeGlobalDatabaseNetworkResponse = void 0;
|
|
34
34
|
exports.ModifyDBClusterAccessWhitelistResponse = exports.ModifyDBClusterAccessWhitelistResponseBody = exports.ModifyDBClusterAccessWhitelistRequest = exports.ModifyDBClusterResponse = exports.ModifyDBClusterResponseBody = exports.ModifyDBClusterRequest = exports.ModifyBackupPolicyResponse = exports.ModifyBackupPolicyResponseBody = exports.ModifyBackupPolicyRequest = exports.ModifyAutoRenewAttributeResponse = exports.ModifyAutoRenewAttributeResponseBody = exports.ModifyAutoRenewAttributeRequest = exports.ModifyAccountPasswordResponse = exports.ModifyAccountPasswordResponseBody = exports.ModifyAccountPasswordRequest = exports.ModifyAccountDescriptionResponse = exports.ModifyAccountDescriptionResponseBody = exports.ModifyAccountDescriptionRequest = exports.ManuallyStartDBClusterResponse = exports.ManuallyStartDBClusterResponseBody = exports.ManuallyStartDBClusterRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesRequest = exports.GrantAccountPrivilegeResponse = exports.GrantAccountPrivilegeResponseBody = exports.GrantAccountPrivilegeRequest = exports.FailoverDBClusterResponse = exports.FailoverDBClusterResponseBody = exports.FailoverDBClusterRequest = exports.EvaluateRegionResourceResponse = exports.EvaluateRegionResourceResponseBody = exports.EvaluateRegionResourceRequest = exports.EnableFirewallRulesResponse = exports.EnableFirewallRulesResponseBody = exports.EnableFirewallRulesRequest = exports.EnableDBClusterServerlessResponse = exports.EnableDBClusterServerlessResponseBody = exports.EnableDBClusterServerlessRequest = exports.DisableDBClusterServerlessResponse = exports.DisableDBClusterServerlessResponseBody = exports.DisableDBClusterServerlessRequest = exports.DescribeVSwitchesResponse = exports.DescribeVSwitchesResponseBody = exports.DescribeVSwitchesRequest = exports.DescribeUserEncryptionKeyListResponse = exports.DescribeUserEncryptionKeyListResponseBody = exports.DescribeUserEncryptionKeyListRequest = exports.DescribeTasksResponse = exports.DescribeTasksResponseBody = void 0;
|
|
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
|
-
exports.
|
|
37
|
-
exports.
|
|
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 = void 0;
|
|
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
|
+
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.DescribeDetachedBackupsResponseBodyItems = 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.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 = 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
|
}
|
|
@@ -8193,6 +8199,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8193
8199
|
scaleRoNumMax: 'ScaleRoNumMax',
|
|
8194
8200
|
scaleRoNumMin: 'ScaleRoNumMin',
|
|
8195
8201
|
secondsUntilAutoPause: 'SecondsUntilAutoPause',
|
|
8202
|
+
serverlessRuleCpuEnlargeThreshold: 'ServerlessRuleCpuEnlargeThreshold',
|
|
8203
|
+
serverlessRuleCpuShrinkThreshold: 'ServerlessRuleCpuShrinkThreshold',
|
|
8204
|
+
serverlessRuleMode: 'ServerlessRuleMode',
|
|
8196
8205
|
};
|
|
8197
8206
|
}
|
|
8198
8207
|
static types() {
|
|
@@ -8213,6 +8222,9 @@ class ModifyDBClusterServerlessConfRequest extends $tea.Model {
|
|
|
8213
8222
|
scaleRoNumMax: 'string',
|
|
8214
8223
|
scaleRoNumMin: 'string',
|
|
8215
8224
|
secondsUntilAutoPause: 'string',
|
|
8225
|
+
serverlessRuleCpuEnlargeThreshold: 'string',
|
|
8226
|
+
serverlessRuleCpuShrinkThreshold: 'string',
|
|
8227
|
+
serverlessRuleMode: 'string',
|
|
8216
8228
|
};
|
|
8217
8229
|
}
|
|
8218
8230
|
constructor(map) {
|
|
@@ -9638,6 +9650,72 @@ class ResetGlobalDatabaseNetworkResponse extends $tea.Model {
|
|
|
9638
9650
|
}
|
|
9639
9651
|
}
|
|
9640
9652
|
exports.ResetGlobalDatabaseNetworkResponse = ResetGlobalDatabaseNetworkResponse;
|
|
9653
|
+
class RestartDBLinkRequest extends $tea.Model {
|
|
9654
|
+
static names() {
|
|
9655
|
+
return {
|
|
9656
|
+
DBClusterId: 'DBClusterId',
|
|
9657
|
+
ownerAccount: 'OwnerAccount',
|
|
9658
|
+
ownerId: 'OwnerId',
|
|
9659
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
9660
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
9661
|
+
securityToken: 'SecurityToken',
|
|
9662
|
+
};
|
|
9663
|
+
}
|
|
9664
|
+
static types() {
|
|
9665
|
+
return {
|
|
9666
|
+
DBClusterId: 'string',
|
|
9667
|
+
ownerAccount: 'string',
|
|
9668
|
+
ownerId: 'number',
|
|
9669
|
+
resourceOwnerAccount: 'string',
|
|
9670
|
+
resourceOwnerId: 'number',
|
|
9671
|
+
securityToken: 'string',
|
|
9672
|
+
};
|
|
9673
|
+
}
|
|
9674
|
+
constructor(map) {
|
|
9675
|
+
super(map);
|
|
9676
|
+
}
|
|
9677
|
+
}
|
|
9678
|
+
exports.RestartDBLinkRequest = RestartDBLinkRequest;
|
|
9679
|
+
class RestartDBLinkResponseBody extends $tea.Model {
|
|
9680
|
+
static names() {
|
|
9681
|
+
return {
|
|
9682
|
+
DBClusterId: 'DBClusterId',
|
|
9683
|
+
requestId: 'RequestId',
|
|
9684
|
+
taskId: 'TaskId',
|
|
9685
|
+
};
|
|
9686
|
+
}
|
|
9687
|
+
static types() {
|
|
9688
|
+
return {
|
|
9689
|
+
DBClusterId: 'string',
|
|
9690
|
+
requestId: 'string',
|
|
9691
|
+
taskId: 'string',
|
|
9692
|
+
};
|
|
9693
|
+
}
|
|
9694
|
+
constructor(map) {
|
|
9695
|
+
super(map);
|
|
9696
|
+
}
|
|
9697
|
+
}
|
|
9698
|
+
exports.RestartDBLinkResponseBody = RestartDBLinkResponseBody;
|
|
9699
|
+
class RestartDBLinkResponse extends $tea.Model {
|
|
9700
|
+
static names() {
|
|
9701
|
+
return {
|
|
9702
|
+
headers: 'headers',
|
|
9703
|
+
statusCode: 'statusCode',
|
|
9704
|
+
body: 'body',
|
|
9705
|
+
};
|
|
9706
|
+
}
|
|
9707
|
+
static types() {
|
|
9708
|
+
return {
|
|
9709
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9710
|
+
statusCode: 'number',
|
|
9711
|
+
body: RestartDBLinkResponseBody,
|
|
9712
|
+
};
|
|
9713
|
+
}
|
|
9714
|
+
constructor(map) {
|
|
9715
|
+
super(map);
|
|
9716
|
+
}
|
|
9717
|
+
}
|
|
9718
|
+
exports.RestartDBLinkResponse = RestartDBLinkResponse;
|
|
9641
9719
|
class RestartDBNodeRequest extends $tea.Model {
|
|
9642
9720
|
static names() {
|
|
9643
9721
|
return {
|
|
@@ -12904,6 +12982,13 @@ class Client extends openapi_client_1.default {
|
|
|
12904
12982
|
}
|
|
12905
12983
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
12906
12984
|
}
|
|
12985
|
+
/**
|
|
12986
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
12987
|
+
*
|
|
12988
|
+
* @param request CancelScheduleTasksRequest
|
|
12989
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12990
|
+
* @return CancelScheduleTasksResponse
|
|
12991
|
+
*/
|
|
12907
12992
|
async cancelScheduleTasksWithOptions(request, runtime) {
|
|
12908
12993
|
tea_util_1.default.validateModel(request);
|
|
12909
12994
|
let query = {};
|
|
@@ -12944,10 +13029,23 @@ class Client extends openapi_client_1.default {
|
|
|
12944
13029
|
});
|
|
12945
13030
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
|
|
12946
13031
|
}
|
|
13032
|
+
/**
|
|
13033
|
+
* @summary Cancels scheduled tasks that are not yet started.
|
|
13034
|
+
*
|
|
13035
|
+
* @param request CancelScheduleTasksRequest
|
|
13036
|
+
* @return CancelScheduleTasksResponse
|
|
13037
|
+
*/
|
|
12947
13038
|
async cancelScheduleTasks(request) {
|
|
12948
13039
|
let runtime = new $Util.RuntimeOptions({});
|
|
12949
13040
|
return await this.cancelScheduleTasksWithOptions(request, runtime);
|
|
12950
13041
|
}
|
|
13042
|
+
/**
|
|
13043
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13044
|
+
*
|
|
13045
|
+
* @param request CheckAccountNameRequest
|
|
13046
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13047
|
+
* @return CheckAccountNameResponse
|
|
13048
|
+
*/
|
|
12951
13049
|
async checkAccountNameWithOptions(request, runtime) {
|
|
12952
13050
|
tea_util_1.default.validateModel(request);
|
|
12953
13051
|
let query = {};
|
|
@@ -12985,10 +13083,23 @@ class Client extends openapi_client_1.default {
|
|
|
12985
13083
|
});
|
|
12986
13084
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
|
|
12987
13085
|
}
|
|
13086
|
+
/**
|
|
13087
|
+
* @summary Checks whether an account name is valid or unique in a cluster.
|
|
13088
|
+
*
|
|
13089
|
+
* @param request CheckAccountNameRequest
|
|
13090
|
+
* @return CheckAccountNameResponse
|
|
13091
|
+
*/
|
|
12988
13092
|
async checkAccountName(request) {
|
|
12989
13093
|
let runtime = new $Util.RuntimeOptions({});
|
|
12990
13094
|
return await this.checkAccountNameWithOptions(request, runtime);
|
|
12991
13095
|
}
|
|
13096
|
+
/**
|
|
13097
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13098
|
+
*
|
|
13099
|
+
* @param request CheckDBNameRequest
|
|
13100
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13101
|
+
* @return CheckDBNameResponse
|
|
13102
|
+
*/
|
|
12992
13103
|
async checkDBNameWithOptions(request, runtime) {
|
|
12993
13104
|
tea_util_1.default.validateModel(request);
|
|
12994
13105
|
let query = {};
|
|
@@ -13026,10 +13137,23 @@ class Client extends openapi_client_1.default {
|
|
|
13026
13137
|
});
|
|
13027
13138
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
|
|
13028
13139
|
}
|
|
13140
|
+
/**
|
|
13141
|
+
* @summary Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
13142
|
+
*
|
|
13143
|
+
* @param request CheckDBNameRequest
|
|
13144
|
+
* @return CheckDBNameResponse
|
|
13145
|
+
*/
|
|
13029
13146
|
async checkDBName(request) {
|
|
13030
13147
|
let runtime = new $Util.RuntimeOptions({});
|
|
13031
13148
|
return await this.checkDBNameWithOptions(request, runtime);
|
|
13032
13149
|
}
|
|
13150
|
+
/**
|
|
13151
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13152
|
+
*
|
|
13153
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13155
|
+
* @return CheckKMSAuthorizedResponse
|
|
13156
|
+
*/
|
|
13033
13157
|
async checkKMSAuthorizedWithOptions(request, runtime) {
|
|
13034
13158
|
tea_util_1.default.validateModel(request);
|
|
13035
13159
|
let query = {};
|
|
@@ -13070,10 +13194,23 @@ class Client extends openapi_client_1.default {
|
|
|
13070
13194
|
});
|
|
13071
13195
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
13072
13196
|
}
|
|
13197
|
+
/**
|
|
13198
|
+
* @summary Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
13199
|
+
*
|
|
13200
|
+
* @param request CheckKMSAuthorizedRequest
|
|
13201
|
+
* @return CheckKMSAuthorizedResponse
|
|
13202
|
+
*/
|
|
13073
13203
|
async checkKMSAuthorized(request) {
|
|
13074
13204
|
let runtime = new $Util.RuntimeOptions({});
|
|
13075
13205
|
return await this.checkKMSAuthorizedWithOptions(request, runtime);
|
|
13076
13206
|
}
|
|
13207
|
+
/**
|
|
13208
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13209
|
+
*
|
|
13210
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13211
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13212
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13213
|
+
*/
|
|
13077
13214
|
async checkServiceLinkedRoleWithOptions(request, runtime) {
|
|
13078
13215
|
tea_util_1.default.validateModel(request);
|
|
13079
13216
|
let query = {};
|
|
@@ -13105,10 +13242,23 @@ class Client extends openapi_client_1.default {
|
|
|
13105
13242
|
});
|
|
13106
13243
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
13107
13244
|
}
|
|
13245
|
+
/**
|
|
13246
|
+
* @summary Checks whether a service-linked role (SLR) is created.
|
|
13247
|
+
*
|
|
13248
|
+
* @param request CheckServiceLinkedRoleRequest
|
|
13249
|
+
* @return CheckServiceLinkedRoleResponse
|
|
13250
|
+
*/
|
|
13108
13251
|
async checkServiceLinkedRole(request) {
|
|
13109
13252
|
let runtime = new $Util.RuntimeOptions({});
|
|
13110
13253
|
return await this.checkServiceLinkedRoleWithOptions(request, runtime);
|
|
13111
13254
|
}
|
|
13255
|
+
/**
|
|
13256
|
+
* @summary 关闭DB4AI
|
|
13257
|
+
*
|
|
13258
|
+
* @param request CloseAITaskRequest
|
|
13259
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13260
|
+
* @return CloseAITaskResponse
|
|
13261
|
+
*/
|
|
13112
13262
|
async closeAITaskWithOptions(request, runtime) {
|
|
13113
13263
|
tea_util_1.default.validateModel(request);
|
|
13114
13264
|
let query = {};
|
|
@@ -13146,18 +13296,26 @@ class Client extends openapi_client_1.default {
|
|
|
13146
13296
|
});
|
|
13147
13297
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
|
|
13148
13298
|
}
|
|
13299
|
+
/**
|
|
13300
|
+
* @summary 关闭DB4AI
|
|
13301
|
+
*
|
|
13302
|
+
* @param request CloseAITaskRequest
|
|
13303
|
+
* @return CloseAITaskResponse
|
|
13304
|
+
*/
|
|
13149
13305
|
async closeAITask(request) {
|
|
13150
13306
|
let runtime = new $Util.RuntimeOptions({});
|
|
13151
13307
|
return await this.closeAITaskWithOptions(request, runtime);
|
|
13152
13308
|
}
|
|
13153
13309
|
/**
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13310
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13311
|
+
*
|
|
13312
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13313
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13314
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
13315
|
+
*
|
|
13316
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13317
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13318
|
+
* @return CloseDBClusterMigrationResponse
|
|
13161
13319
|
*/
|
|
13162
13320
|
async closeDBClusterMigrationWithOptions(request, runtime) {
|
|
13163
13321
|
tea_util_1.default.validateModel(request);
|
|
@@ -13197,17 +13355,26 @@ class Client extends openapi_client_1.default {
|
|
|
13197
13355
|
return $tea.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
13198
13356
|
}
|
|
13199
13357
|
/**
|
|
13200
|
-
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13358
|
+
* @summary Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
13359
|
+
*
|
|
13360
|
+
* @description * You can call this operation to cancel the migration task before data migration.
|
|
13361
|
+
* * You can call this operation to perform the migration task after data migration.
|
|
13362
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
13363
|
+
*
|
|
13364
|
+
* @param request CloseDBClusterMigrationRequest
|
|
13365
|
+
* @return CloseDBClusterMigrationResponse
|
|
13206
13366
|
*/
|
|
13207
13367
|
async closeDBClusterMigration(request) {
|
|
13208
13368
|
let runtime = new $Util.RuntimeOptions({});
|
|
13209
13369
|
return await this.closeDBClusterMigrationWithOptions(request, runtime);
|
|
13210
13370
|
}
|
|
13371
|
+
/**
|
|
13372
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13373
|
+
*
|
|
13374
|
+
* @param request CreateAccountRequest
|
|
13375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13376
|
+
* @return CreateAccountResponse
|
|
13377
|
+
*/
|
|
13211
13378
|
async createAccountWithOptions(request, runtime) {
|
|
13212
13379
|
tea_util_1.default.validateModel(request);
|
|
13213
13380
|
let query = {};
|
|
@@ -13266,19 +13433,27 @@ class Client extends openapi_client_1.default {
|
|
|
13266
13433
|
});
|
|
13267
13434
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
13268
13435
|
}
|
|
13436
|
+
/**
|
|
13437
|
+
* @summary Creates a database account for a PolarDB cluster.
|
|
13438
|
+
*
|
|
13439
|
+
* @param request CreateAccountRequest
|
|
13440
|
+
* @return CreateAccountResponse
|
|
13441
|
+
*/
|
|
13269
13442
|
async createAccount(request) {
|
|
13270
13443
|
let runtime = new $Util.RuntimeOptions({});
|
|
13271
13444
|
return await this.createAccountWithOptions(request, runtime);
|
|
13272
13445
|
}
|
|
13273
13446
|
/**
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13447
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13448
|
+
*
|
|
13449
|
+
* @description >
|
|
13450
|
+
* * You can manually create up to three backups for each cluster.
|
|
13451
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](https://help.aliyun.com/document_detail/98101.html).
|
|
13452
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
13453
|
+
*
|
|
13454
|
+
* @param request CreateBackupRequest
|
|
13455
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13456
|
+
* @return CreateBackupResponse
|
|
13282
13457
|
*/
|
|
13283
13458
|
async createBackupWithOptions(request, runtime) {
|
|
13284
13459
|
tea_util_1.default.validateModel(request);
|
|
@@ -13318,18 +13493,27 @@ class Client extends openapi_client_1.default {
|
|
|
13318
13493
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
13319
13494
|
}
|
|
13320
13495
|
/**
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13327
|
-
|
|
13496
|
+
* @summary Creates a full snapshot backup for a PolarDB cluster.
|
|
13497
|
+
*
|
|
13498
|
+
* @description >
|
|
13499
|
+
* * You can manually create up to three backups for each cluster.
|
|
13500
|
+
* * The `Exceeding the daily backup times of this DB cluster` error message indicates that three manual backups already exist in your cluster. You must delete existing backups before you call this operation to manually create backups. For more information about how to delete backups, see [Delete backups](https://help.aliyun.com/document_detail/98101.html).
|
|
13501
|
+
* * After you call this operation, a backup task is created in the backend. The task may be time-consuming if you want to back up large amounts of data.
|
|
13502
|
+
*
|
|
13503
|
+
* @param request CreateBackupRequest
|
|
13504
|
+
* @return CreateBackupResponse
|
|
13328
13505
|
*/
|
|
13329
13506
|
async createBackup(request) {
|
|
13330
13507
|
let runtime = new $Util.RuntimeOptions({});
|
|
13331
13508
|
return await this.createBackupWithOptions(request, runtime);
|
|
13332
13509
|
}
|
|
13510
|
+
/**
|
|
13511
|
+
* @summary 创建冷存储实例
|
|
13512
|
+
*
|
|
13513
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13514
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13515
|
+
* @return CreateColdStorageInstanceResponse
|
|
13516
|
+
*/
|
|
13333
13517
|
async createColdStorageInstanceWithOptions(request, runtime) {
|
|
13334
13518
|
tea_util_1.default.validateModel(request);
|
|
13335
13519
|
let query = {};
|
|
@@ -13373,10 +13557,23 @@ class Client extends openapi_client_1.default {
|
|
|
13373
13557
|
});
|
|
13374
13558
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
|
|
13375
13559
|
}
|
|
13560
|
+
/**
|
|
13561
|
+
* @summary 创建冷存储实例
|
|
13562
|
+
*
|
|
13563
|
+
* @param request CreateColdStorageInstanceRequest
|
|
13564
|
+
* @return CreateColdStorageInstanceResponse
|
|
13565
|
+
*/
|
|
13376
13566
|
async createColdStorageInstance(request) {
|
|
13377
13567
|
let runtime = new $Util.RuntimeOptions({});
|
|
13378
13568
|
return await this.createColdStorageInstanceWithOptions(request, runtime);
|
|
13379
13569
|
}
|
|
13570
|
+
/**
|
|
13571
|
+
* @summary Creates a PolarDB cluster.
|
|
13572
|
+
*
|
|
13573
|
+
* @param request CreateDBClusterRequest
|
|
13574
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13575
|
+
* @return CreateDBClusterResponse
|
|
13576
|
+
*/
|
|
13380
13577
|
async createDBClusterWithOptions(request, runtime) {
|
|
13381
13578
|
tea_util_1.default.validateModel(request);
|
|
13382
13579
|
let query = {};
|
|
@@ -13558,10 +13755,23 @@ class Client extends openapi_client_1.default {
|
|
|
13558
13755
|
});
|
|
13559
13756
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
13560
13757
|
}
|
|
13758
|
+
/**
|
|
13759
|
+
* @summary Creates a PolarDB cluster.
|
|
13760
|
+
*
|
|
13761
|
+
* @param request CreateDBClusterRequest
|
|
13762
|
+
* @return CreateDBClusterResponse
|
|
13763
|
+
*/
|
|
13561
13764
|
async createDBCluster(request) {
|
|
13562
13765
|
let runtime = new $Util.RuntimeOptions({});
|
|
13563
13766
|
return await this.createDBClusterWithOptions(request, runtime);
|
|
13564
13767
|
}
|
|
13768
|
+
/**
|
|
13769
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13770
|
+
*
|
|
13771
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13772
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13773
|
+
* @return CreateDBClusterEndpointResponse
|
|
13774
|
+
*/
|
|
13565
13775
|
async createDBClusterEndpointWithOptions(request, runtime) {
|
|
13566
13776
|
tea_util_1.default.validateModel(request);
|
|
13567
13777
|
let query = {};
|
|
@@ -13617,16 +13827,24 @@ class Client extends openapi_client_1.default {
|
|
|
13617
13827
|
});
|
|
13618
13828
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
|
|
13619
13829
|
}
|
|
13830
|
+
/**
|
|
13831
|
+
* @summary Creates a custom cluster endpoint for a PolarDB cluster.
|
|
13832
|
+
*
|
|
13833
|
+
* @param request CreateDBClusterEndpointRequest
|
|
13834
|
+
* @return CreateDBClusterEndpointResponse
|
|
13835
|
+
*/
|
|
13620
13836
|
async createDBClusterEndpoint(request) {
|
|
13621
13837
|
let runtime = new $Util.RuntimeOptions({});
|
|
13622
13838
|
return await this.createDBClusterEndpointWithOptions(request, runtime);
|
|
13623
13839
|
}
|
|
13624
13840
|
/**
|
|
13625
|
-
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13841
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13842
|
+
*
|
|
13843
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13844
|
+
*
|
|
13845
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13846
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13847
|
+
* @return CreateDBEndpointAddressResponse
|
|
13630
13848
|
*/
|
|
13631
13849
|
async createDBEndpointAddressWithOptions(request, runtime) {
|
|
13632
13850
|
tea_util_1.default.validateModel(request);
|
|
@@ -13681,24 +13899,28 @@ class Client extends openapi_client_1.default {
|
|
|
13681
13899
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
13682
13900
|
}
|
|
13683
13901
|
/**
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
|
|
13687
|
-
|
|
13902
|
+
* @summary Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13903
|
+
*
|
|
13904
|
+
* @description > You can create a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
13905
|
+
*
|
|
13906
|
+
* @param request CreateDBEndpointAddressRequest
|
|
13907
|
+
* @return CreateDBEndpointAddressResponse
|
|
13688
13908
|
*/
|
|
13689
13909
|
async createDBEndpointAddress(request) {
|
|
13690
13910
|
let runtime = new $Util.RuntimeOptions({});
|
|
13691
13911
|
return await this.createDBEndpointAddressWithOptions(request, runtime);
|
|
13692
13912
|
}
|
|
13693
13913
|
/**
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13914
|
+
* @summary Creates a database link.
|
|
13915
|
+
*
|
|
13916
|
+
* @description A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13917
|
+
* > * You can create up to 10 database links for a cluster.
|
|
13918
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
13919
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
13920
|
+
*
|
|
13921
|
+
* @param request CreateDBLinkRequest
|
|
13922
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
13923
|
+
* @return CreateDBLinkResponse
|
|
13702
13924
|
*/
|
|
13703
13925
|
async createDBLinkWithOptions(request, runtime) {
|
|
13704
13926
|
tea_util_1.default.validateModel(request);
|
|
@@ -13771,18 +13993,27 @@ class Client extends openapi_client_1.default {
|
|
|
13771
13993
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
13772
13994
|
}
|
|
13773
13995
|
/**
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
13780
|
-
|
|
13996
|
+
* @summary Creates a database link.
|
|
13997
|
+
*
|
|
13998
|
+
* @description A database link can be used to connect two PolarDB for PostgreSQL(Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL(Compatible with Oracle) cluster to a user-created PostgreSQL database that is hosted on an Elastic Compute Service (ECS) instance. You can use database links to query data across clusters.
|
|
13999
|
+
* > * You can create up to 10 database links for a cluster.
|
|
14000
|
+
* > * Each database link connects a source cluster and a destination cluster.
|
|
14001
|
+
* > * The source cluster and the destination cluster or the destination ECS instance must be located in the same region.
|
|
14002
|
+
*
|
|
14003
|
+
* @param request CreateDBLinkRequest
|
|
14004
|
+
* @return CreateDBLinkResponse
|
|
13781
14005
|
*/
|
|
13782
14006
|
async createDBLink(request) {
|
|
13783
14007
|
let runtime = new $Util.RuntimeOptions({});
|
|
13784
14008
|
return await this.createDBLinkWithOptions(request, runtime);
|
|
13785
14009
|
}
|
|
14010
|
+
/**
|
|
14011
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14012
|
+
*
|
|
14013
|
+
* @param request CreateDBNodesRequest
|
|
14014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14015
|
+
* @return CreateDBNodesResponse
|
|
14016
|
+
*/
|
|
13786
14017
|
async createDBNodesWithOptions(request, runtime) {
|
|
13787
14018
|
tea_util_1.default.validateModel(request);
|
|
13788
14019
|
let query = {};
|
|
@@ -13841,18 +14072,26 @@ class Client extends openapi_client_1.default {
|
|
|
13841
14072
|
});
|
|
13842
14073
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
|
|
13843
14074
|
}
|
|
14075
|
+
/**
|
|
14076
|
+
* @summary Adds a read-only node to a PolarDB cluster.
|
|
14077
|
+
*
|
|
14078
|
+
* @param request CreateDBNodesRequest
|
|
14079
|
+
* @return CreateDBNodesResponse
|
|
14080
|
+
*/
|
|
13844
14081
|
async createDBNodes(request) {
|
|
13845
14082
|
let runtime = new $Util.RuntimeOptions({});
|
|
13846
14083
|
return await this.createDBNodesWithOptions(request, runtime);
|
|
13847
14084
|
}
|
|
13848
14085
|
/**
|
|
13849
|
-
|
|
13850
|
-
|
|
13851
|
-
|
|
13852
|
-
|
|
13853
|
-
|
|
13854
|
-
|
|
13855
|
-
|
|
14086
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14087
|
+
*
|
|
14088
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14089
|
+
* * The cluster is in the Running state.
|
|
14090
|
+
* * The cluster is unlocked.
|
|
14091
|
+
*
|
|
14092
|
+
* @param request CreateDatabaseRequest
|
|
14093
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14094
|
+
* @return CreateDatabaseResponse
|
|
13856
14095
|
*/
|
|
13857
14096
|
async createDatabaseWithOptions(request, runtime) {
|
|
13858
14097
|
tea_util_1.default.validateModel(request);
|
|
@@ -13910,23 +14149,27 @@ class Client extends openapi_client_1.default {
|
|
|
13910
14149
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
13911
14150
|
}
|
|
13912
14151
|
/**
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
14152
|
+
* @summary Creates a database for a PolarDB cluster.
|
|
14153
|
+
*
|
|
14154
|
+
* @description Before you call this operation, make sure that the following requirements are met:
|
|
14155
|
+
* * The cluster is in the Running state.
|
|
14156
|
+
* * The cluster is unlocked.
|
|
14157
|
+
*
|
|
14158
|
+
* @param request CreateDatabaseRequest
|
|
14159
|
+
* @return CreateDatabaseResponse
|
|
13919
14160
|
*/
|
|
13920
14161
|
async createDatabase(request) {
|
|
13921
14162
|
let runtime = new $Util.RuntimeOptions({});
|
|
13922
14163
|
return await this.createDatabaseWithOptions(request, runtime);
|
|
13923
14164
|
}
|
|
13924
14165
|
/**
|
|
13925
|
-
|
|
13926
|
-
|
|
13927
|
-
|
|
13928
|
-
|
|
13929
|
-
|
|
14166
|
+
* @summary Creates a global database network (GDN).
|
|
14167
|
+
*
|
|
14168
|
+
* @description > A cluster belongs to only one GDN.
|
|
14169
|
+
*
|
|
14170
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14171
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14172
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13930
14173
|
*/
|
|
13931
14174
|
async createGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
13932
14175
|
tea_util_1.default.validateModel(request);
|
|
@@ -13972,15 +14215,24 @@ class Client extends openapi_client_1.default {
|
|
|
13972
14215
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
13973
14216
|
}
|
|
13974
14217
|
/**
|
|
13975
|
-
|
|
13976
|
-
|
|
13977
|
-
|
|
13978
|
-
|
|
14218
|
+
* @summary Creates a global database network (GDN).
|
|
14219
|
+
*
|
|
14220
|
+
* @description > A cluster belongs to only one GDN.
|
|
14221
|
+
*
|
|
14222
|
+
* @param request CreateGlobalDatabaseNetworkRequest
|
|
14223
|
+
* @return CreateGlobalDatabaseNetworkResponse
|
|
13979
14224
|
*/
|
|
13980
14225
|
async createGlobalDatabaseNetwork(request) {
|
|
13981
14226
|
let runtime = new $Util.RuntimeOptions({});
|
|
13982
14227
|
return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
13983
14228
|
}
|
|
14229
|
+
/**
|
|
14230
|
+
* @summary Creates a global IP whitelist template.
|
|
14231
|
+
*
|
|
14232
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14233
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14234
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14235
|
+
*/
|
|
13984
14236
|
async createGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
13985
14237
|
tea_util_1.default.validateModel(request);
|
|
13986
14238
|
let query = {};
|
|
@@ -14027,17 +14279,25 @@ class Client extends openapi_client_1.default {
|
|
|
14027
14279
|
});
|
|
14028
14280
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
|
|
14029
14281
|
}
|
|
14282
|
+
/**
|
|
14283
|
+
* @summary Creates a global IP whitelist template.
|
|
14284
|
+
*
|
|
14285
|
+
* @param request CreateGlobalSecurityIPGroupRequest
|
|
14286
|
+
* @return CreateGlobalSecurityIPGroupResponse
|
|
14287
|
+
*/
|
|
14030
14288
|
async createGlobalSecurityIPGroup(request) {
|
|
14031
14289
|
let runtime = new $Util.RuntimeOptions({});
|
|
14032
14290
|
return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14033
14291
|
}
|
|
14034
14292
|
/**
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14293
|
+
* @summary Creates a parameter template.
|
|
14294
|
+
*
|
|
14295
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
14296
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14297
|
+
*
|
|
14298
|
+
* @param request CreateParameterGroupRequest
|
|
14299
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14300
|
+
* @return CreateParameterGroupResponse
|
|
14041
14301
|
*/
|
|
14042
14302
|
async createParameterGroupWithOptions(request, runtime) {
|
|
14043
14303
|
tea_util_1.default.validateModel(request);
|
|
@@ -14092,16 +14352,25 @@ class Client extends openapi_client_1.default {
|
|
|
14092
14352
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
14093
14353
|
}
|
|
14094
14354
|
/**
|
|
14095
|
-
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14355
|
+
* @summary Creates a parameter template.
|
|
14356
|
+
*
|
|
14357
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
14358
|
+
* > You can call this operation only on a PolarDB for MySQL cluster.
|
|
14359
|
+
*
|
|
14360
|
+
* @param request CreateParameterGroupRequest
|
|
14361
|
+
* @return CreateParameterGroupResponse
|
|
14100
14362
|
*/
|
|
14101
14363
|
async createParameterGroup(request) {
|
|
14102
14364
|
let runtime = new $Util.RuntimeOptions({});
|
|
14103
14365
|
return await this.createParameterGroupWithOptions(request, runtime);
|
|
14104
14366
|
}
|
|
14367
|
+
/**
|
|
14368
|
+
* @summary Creates a service-linked role (SLR).
|
|
14369
|
+
*
|
|
14370
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14371
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14372
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14373
|
+
*/
|
|
14105
14374
|
async createServiceLinkedRoleWithOptions(request, runtime) {
|
|
14106
14375
|
tea_util_1.default.validateModel(request);
|
|
14107
14376
|
let query = {};
|
|
@@ -14133,10 +14402,23 @@ class Client extends openapi_client_1.default {
|
|
|
14133
14402
|
});
|
|
14134
14403
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
14135
14404
|
}
|
|
14405
|
+
/**
|
|
14406
|
+
* @summary Creates a service-linked role (SLR).
|
|
14407
|
+
*
|
|
14408
|
+
* @param request CreateServiceLinkedRoleRequest
|
|
14409
|
+
* @return CreateServiceLinkedRoleResponse
|
|
14410
|
+
*/
|
|
14136
14411
|
async createServiceLinkedRole(request) {
|
|
14137
14412
|
let runtime = new $Util.RuntimeOptions({});
|
|
14138
14413
|
return await this.createServiceLinkedRoleWithOptions(request, runtime);
|
|
14139
14414
|
}
|
|
14415
|
+
/**
|
|
14416
|
+
* @summary Purchases a storage plan.
|
|
14417
|
+
*
|
|
14418
|
+
* @param request CreateStoragePlanRequest
|
|
14419
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14420
|
+
* @return CreateStoragePlanResponse
|
|
14421
|
+
*/
|
|
14140
14422
|
async createStoragePlanWithOptions(request, runtime) {
|
|
14141
14423
|
tea_util_1.default.validateModel(request);
|
|
14142
14424
|
let query = {};
|
|
@@ -14183,16 +14465,24 @@ class Client extends openapi_client_1.default {
|
|
|
14183
14465
|
});
|
|
14184
14466
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
|
|
14185
14467
|
}
|
|
14468
|
+
/**
|
|
14469
|
+
* @summary Purchases a storage plan.
|
|
14470
|
+
*
|
|
14471
|
+
* @param request CreateStoragePlanRequest
|
|
14472
|
+
* @return CreateStoragePlanResponse
|
|
14473
|
+
*/
|
|
14186
14474
|
async createStoragePlan(request) {
|
|
14187
14475
|
let runtime = new $Util.RuntimeOptions({});
|
|
14188
14476
|
return await this.createStoragePlanWithOptions(request, runtime);
|
|
14189
14477
|
}
|
|
14190
14478
|
/**
|
|
14191
|
-
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14479
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14480
|
+
*
|
|
14481
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14482
|
+
*
|
|
14483
|
+
* @param request DeleteAccountRequest
|
|
14484
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14485
|
+
* @return DeleteAccountResponse
|
|
14196
14486
|
*/
|
|
14197
14487
|
async deleteAccountWithOptions(request, runtime) {
|
|
14198
14488
|
tea_util_1.default.validateModel(request);
|
|
@@ -14232,25 +14522,29 @@ class Client extends openapi_client_1.default {
|
|
|
14232
14522
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
14233
14523
|
}
|
|
14234
14524
|
/**
|
|
14235
|
-
|
|
14236
|
-
|
|
14237
|
-
|
|
14238
|
-
|
|
14525
|
+
* @summary Deletes a database account for a PolarDB cluster.
|
|
14526
|
+
*
|
|
14527
|
+
* @description > Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
14528
|
+
*
|
|
14529
|
+
* @param request DeleteAccountRequest
|
|
14530
|
+
* @return DeleteAccountResponse
|
|
14239
14531
|
*/
|
|
14240
14532
|
async deleteAccount(request) {
|
|
14241
14533
|
let runtime = new $Util.RuntimeOptions({});
|
|
14242
14534
|
return await this.deleteAccountWithOptions(request, runtime);
|
|
14243
14535
|
}
|
|
14244
14536
|
/**
|
|
14245
|
-
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14537
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14538
|
+
*
|
|
14539
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14540
|
+
* * The cluster is in the Running state.
|
|
14541
|
+
* * The backup sets are in the Success state.
|
|
14542
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14543
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
14544
|
+
*
|
|
14545
|
+
* @param request DeleteBackupRequest
|
|
14546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14547
|
+
* @return DeleteBackupResponse
|
|
14254
14548
|
*/
|
|
14255
14549
|
async deleteBackupWithOptions(request, runtime) {
|
|
14256
14550
|
tea_util_1.default.validateModel(request);
|
|
@@ -14290,19 +14584,28 @@ class Client extends openapi_client_1.default {
|
|
|
14290
14584
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
14291
14585
|
}
|
|
14292
14586
|
/**
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14587
|
+
* @summary Deletes the backup sets of a PolarDB cluster.
|
|
14588
|
+
*
|
|
14589
|
+
* @description Before you call this operation, make sure that the cluster meets the following requirements:
|
|
14590
|
+
* * The cluster is in the Running state.
|
|
14591
|
+
* * The backup sets are in the Success state.
|
|
14592
|
+
* > * You can call the [DescribeBackups](https://help.aliyun.com/document_detail/98102.html) operation to query the status of backup sets.
|
|
14593
|
+
* >* After you delete the backup set file, the storage space that is occupied by the file is released. The released storage space is smaller than the size of the file because your snapshots share some data blocks
|
|
14594
|
+
*
|
|
14595
|
+
* @param request DeleteBackupRequest
|
|
14596
|
+
* @return DeleteBackupResponse
|
|
14301
14597
|
*/
|
|
14302
14598
|
async deleteBackup(request) {
|
|
14303
14599
|
let runtime = new $Util.RuntimeOptions({});
|
|
14304
14600
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
14305
14601
|
}
|
|
14602
|
+
/**
|
|
14603
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14604
|
+
*
|
|
14605
|
+
* @param request DeleteDBClusterRequest
|
|
14606
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14607
|
+
* @return DeleteDBClusterResponse
|
|
14608
|
+
*/
|
|
14306
14609
|
async deleteDBClusterWithOptions(request, runtime) {
|
|
14307
14610
|
tea_util_1.default.validateModel(request);
|
|
14308
14611
|
let query = {};
|
|
@@ -14340,10 +14643,23 @@ class Client extends openapi_client_1.default {
|
|
|
14340
14643
|
});
|
|
14341
14644
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
14342
14645
|
}
|
|
14646
|
+
/**
|
|
14647
|
+
* @summary Releases a pay-as-you-go PolarDB cluster.
|
|
14648
|
+
*
|
|
14649
|
+
* @param request DeleteDBClusterRequest
|
|
14650
|
+
* @return DeleteDBClusterResponse
|
|
14651
|
+
*/
|
|
14343
14652
|
async deleteDBCluster(request) {
|
|
14344
14653
|
let runtime = new $Util.RuntimeOptions({});
|
|
14345
14654
|
return await this.deleteDBClusterWithOptions(request, runtime);
|
|
14346
14655
|
}
|
|
14656
|
+
/**
|
|
14657
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14658
|
+
*
|
|
14659
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14660
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14661
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14662
|
+
*/
|
|
14347
14663
|
async deleteDBClusterEndpointWithOptions(request, runtime) {
|
|
14348
14664
|
tea_util_1.default.validateModel(request);
|
|
14349
14665
|
let query = {};
|
|
@@ -14381,17 +14697,25 @@ class Client extends openapi_client_1.default {
|
|
|
14381
14697
|
});
|
|
14382
14698
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
|
|
14383
14699
|
}
|
|
14700
|
+
/**
|
|
14701
|
+
* @summary Releases a custom cluster endpoint of a PolarDB cluster.
|
|
14702
|
+
*
|
|
14703
|
+
* @param request DeleteDBClusterEndpointRequest
|
|
14704
|
+
* @return DeleteDBClusterEndpointResponse
|
|
14705
|
+
*/
|
|
14384
14706
|
async deleteDBClusterEndpoint(request) {
|
|
14385
14707
|
let runtime = new $Util.RuntimeOptions({});
|
|
14386
14708
|
return await this.deleteDBClusterEndpointWithOptions(request, runtime);
|
|
14387
14709
|
}
|
|
14388
14710
|
/**
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
14711
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14712
|
+
*
|
|
14713
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14714
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14715
|
+
*
|
|
14716
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14718
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14395
14719
|
*/
|
|
14396
14720
|
async deleteDBEndpointAddressWithOptions(request, runtime) {
|
|
14397
14721
|
tea_util_1.default.validateModel(request);
|
|
@@ -14434,16 +14758,25 @@ class Client extends openapi_client_1.default {
|
|
|
14434
14758
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
14435
14759
|
}
|
|
14436
14760
|
/**
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14761
|
+
* @summary Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
14762
|
+
*
|
|
14763
|
+
* @description > * You can delete a public-facing or classic network endpoint of the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
14764
|
+
* > * Classic network endpoints are supported only on the China site (aliyun.com). Therefore, you do not need to delete classic network endpoints on the International site (alibabacloud.com).
|
|
14765
|
+
*
|
|
14766
|
+
* @param request DeleteDBEndpointAddressRequest
|
|
14767
|
+
* @return DeleteDBEndpointAddressResponse
|
|
14442
14768
|
*/
|
|
14443
14769
|
async deleteDBEndpointAddress(request) {
|
|
14444
14770
|
let runtime = new $Util.RuntimeOptions({});
|
|
14445
14771
|
return await this.deleteDBEndpointAddressWithOptions(request, runtime);
|
|
14446
14772
|
}
|
|
14773
|
+
/**
|
|
14774
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14775
|
+
*
|
|
14776
|
+
* @param request DeleteDBLinkRequest
|
|
14777
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14778
|
+
* @return DeleteDBLinkResponse
|
|
14779
|
+
*/
|
|
14447
14780
|
async deleteDBLinkWithOptions(request, runtime) {
|
|
14448
14781
|
tea_util_1.default.validateModel(request);
|
|
14449
14782
|
let query = {};
|
|
@@ -14481,10 +14814,23 @@ class Client extends openapi_client_1.default {
|
|
|
14481
14814
|
});
|
|
14482
14815
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
|
|
14483
14816
|
}
|
|
14817
|
+
/**
|
|
14818
|
+
* @summary Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
14819
|
+
*
|
|
14820
|
+
* @param request DeleteDBLinkRequest
|
|
14821
|
+
* @return DeleteDBLinkResponse
|
|
14822
|
+
*/
|
|
14484
14823
|
async deleteDBLink(request) {
|
|
14485
14824
|
let runtime = new $Util.RuntimeOptions({});
|
|
14486
14825
|
return await this.deleteDBLinkWithOptions(request, runtime);
|
|
14487
14826
|
}
|
|
14827
|
+
/**
|
|
14828
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14829
|
+
*
|
|
14830
|
+
* @param request DeleteDBNodesRequest
|
|
14831
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14832
|
+
* @return DeleteDBNodesResponse
|
|
14833
|
+
*/
|
|
14488
14834
|
async deleteDBNodesWithOptions(request, runtime) {
|
|
14489
14835
|
tea_util_1.default.validateModel(request);
|
|
14490
14836
|
let query = {};
|
|
@@ -14528,17 +14874,25 @@ class Client extends openapi_client_1.default {
|
|
|
14528
14874
|
});
|
|
14529
14875
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
|
|
14530
14876
|
}
|
|
14877
|
+
/**
|
|
14878
|
+
* @summary Deletes a read-only node from a PolarDB cluster.
|
|
14879
|
+
*
|
|
14880
|
+
* @param request DeleteDBNodesRequest
|
|
14881
|
+
* @return DeleteDBNodesResponse
|
|
14882
|
+
*/
|
|
14531
14883
|
async deleteDBNodes(request) {
|
|
14532
14884
|
let runtime = new $Util.RuntimeOptions({});
|
|
14533
14885
|
return await this.deleteDBNodesWithOptions(request, runtime);
|
|
14534
14886
|
}
|
|
14535
14887
|
/**
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14888
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14889
|
+
*
|
|
14890
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14891
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14892
|
+
*
|
|
14893
|
+
* @param request DeleteDatabaseRequest
|
|
14894
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14895
|
+
* @return DeleteDatabaseResponse
|
|
14542
14896
|
*/
|
|
14543
14897
|
async deleteDatabaseWithOptions(request, runtime) {
|
|
14544
14898
|
tea_util_1.default.validateModel(request);
|
|
@@ -14578,22 +14932,26 @@ class Client extends openapi_client_1.default {
|
|
|
14578
14932
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
14579
14933
|
}
|
|
14580
14934
|
/**
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14935
|
+
* @summary Deletes a database from a PolarDB cluster.
|
|
14936
|
+
*
|
|
14937
|
+
* @description >- The cluster must be in the Running state and unlocked. Otherwise, the specified database cannot be deleted.
|
|
14938
|
+
* >- The delete operation is performed in an asynchronous manner. A long period of time may be required to delete a large database. A success response for this operation only indicates that the request to delete the database is sent. You must query the database to check whether the database is deleted.
|
|
14939
|
+
*
|
|
14940
|
+
* @param request DeleteDatabaseRequest
|
|
14941
|
+
* @return DeleteDatabaseResponse
|
|
14586
14942
|
*/
|
|
14587
14943
|
async deleteDatabase(request) {
|
|
14588
14944
|
let runtime = new $Util.RuntimeOptions({});
|
|
14589
14945
|
return await this.deleteDatabaseWithOptions(request, runtime);
|
|
14590
14946
|
}
|
|
14591
14947
|
/**
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
14948
|
+
* @summary Deletes a global database network (GDN).
|
|
14949
|
+
*
|
|
14950
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
14951
|
+
*
|
|
14952
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
14953
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14954
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14597
14955
|
*/
|
|
14598
14956
|
async deleteGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
14599
14957
|
tea_util_1.default.validateModel(request);
|
|
@@ -14636,15 +14994,24 @@ class Client extends openapi_client_1.default {
|
|
|
14636
14994
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
14637
14995
|
}
|
|
14638
14996
|
/**
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14997
|
+
* @summary Deletes a global database network (GDN).
|
|
14998
|
+
*
|
|
14999
|
+
* @description > You can delete a GDN only when the GDN includes only a primary cluster.
|
|
15000
|
+
*
|
|
15001
|
+
* @param request DeleteGlobalDatabaseNetworkRequest
|
|
15002
|
+
* @return DeleteGlobalDatabaseNetworkResponse
|
|
14643
15003
|
*/
|
|
14644
15004
|
async deleteGlobalDatabaseNetwork(request) {
|
|
14645
15005
|
let runtime = new $Util.RuntimeOptions({});
|
|
14646
15006
|
return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
14647
15007
|
}
|
|
15008
|
+
/**
|
|
15009
|
+
* @summary Deletes a global IP whitelist template.
|
|
15010
|
+
*
|
|
15011
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15012
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15013
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15014
|
+
*/
|
|
14648
15015
|
async deleteGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
14649
15016
|
tea_util_1.default.validateModel(request);
|
|
14650
15017
|
let query = {};
|
|
@@ -14691,10 +15058,23 @@ class Client extends openapi_client_1.default {
|
|
|
14691
15058
|
});
|
|
14692
15059
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
|
|
14693
15060
|
}
|
|
15061
|
+
/**
|
|
15062
|
+
* @summary Deletes a global IP whitelist template.
|
|
15063
|
+
*
|
|
15064
|
+
* @param request DeleteGlobalSecurityIPGroupRequest
|
|
15065
|
+
* @return DeleteGlobalSecurityIPGroupResponse
|
|
15066
|
+
*/
|
|
14694
15067
|
async deleteGlobalSecurityIPGroup(request) {
|
|
14695
15068
|
let runtime = new $Util.RuntimeOptions({});
|
|
14696
15069
|
return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
14697
15070
|
}
|
|
15071
|
+
/**
|
|
15072
|
+
* @summary Deletes a data masking rule.
|
|
15073
|
+
*
|
|
15074
|
+
* @param request DeleteMaskingRulesRequest
|
|
15075
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15076
|
+
* @return DeleteMaskingRulesResponse
|
|
15077
|
+
*/
|
|
14698
15078
|
async deleteMaskingRulesWithOptions(request, runtime) {
|
|
14699
15079
|
tea_util_1.default.validateModel(request);
|
|
14700
15080
|
let query = {};
|
|
@@ -14720,17 +15100,25 @@ class Client extends openapi_client_1.default {
|
|
|
14720
15100
|
});
|
|
14721
15101
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
|
|
14722
15102
|
}
|
|
15103
|
+
/**
|
|
15104
|
+
* @summary Deletes a data masking rule.
|
|
15105
|
+
*
|
|
15106
|
+
* @param request DeleteMaskingRulesRequest
|
|
15107
|
+
* @return DeleteMaskingRulesResponse
|
|
15108
|
+
*/
|
|
14723
15109
|
async deleteMaskingRules(request) {
|
|
14724
15110
|
let runtime = new $Util.RuntimeOptions({});
|
|
14725
15111
|
return await this.deleteMaskingRulesWithOptions(request, runtime);
|
|
14726
15112
|
}
|
|
14727
15113
|
/**
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
15114
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15115
|
+
*
|
|
15116
|
+
* @description You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
15117
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15118
|
+
*
|
|
15119
|
+
* @param request DeleteParameterGroupRequest
|
|
15120
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15121
|
+
* @return DeleteParameterGroupResponse
|
|
14734
15122
|
*/
|
|
14735
15123
|
async deleteParameterGroupWithOptions(request, runtime) {
|
|
14736
15124
|
tea_util_1.default.validateModel(request);
|
|
@@ -14773,16 +15161,25 @@ class Client extends openapi_client_1.default {
|
|
|
14773
15161
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
14774
15162
|
}
|
|
14775
15163
|
/**
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
15164
|
+
* @summary Deletes a parameter template of a PolarDB cluster.
|
|
15165
|
+
*
|
|
15166
|
+
* @description You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
15167
|
+
* > When you delete a parameter template, the parameter settings that are applied to PolarDB clusters are not affected.
|
|
15168
|
+
*
|
|
15169
|
+
* @param request DeleteParameterGroupRequest
|
|
15170
|
+
* @return DeleteParameterGroupResponse
|
|
14781
15171
|
*/
|
|
14782
15172
|
async deleteParameterGroup(request) {
|
|
14783
15173
|
let runtime = new $Util.RuntimeOptions({});
|
|
14784
15174
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
14785
15175
|
}
|
|
15176
|
+
/**
|
|
15177
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15178
|
+
*
|
|
15179
|
+
* @param request DescribeAITaskStatusRequest
|
|
15180
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15181
|
+
* @return DescribeAITaskStatusResponse
|
|
15182
|
+
*/
|
|
14786
15183
|
async describeAITaskStatusWithOptions(request, runtime) {
|
|
14787
15184
|
tea_util_1.default.validateModel(request);
|
|
14788
15185
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -14802,10 +15199,23 @@ class Client extends openapi_client_1.default {
|
|
|
14802
15199
|
});
|
|
14803
15200
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
|
|
14804
15201
|
}
|
|
15202
|
+
/**
|
|
15203
|
+
* @summary Queries the state of the PolarDB for AI feature for a cluster.
|
|
15204
|
+
*
|
|
15205
|
+
* @param request DescribeAITaskStatusRequest
|
|
15206
|
+
* @return DescribeAITaskStatusResponse
|
|
15207
|
+
*/
|
|
14805
15208
|
async describeAITaskStatus(request) {
|
|
14806
15209
|
let runtime = new $Util.RuntimeOptions({});
|
|
14807
15210
|
return await this.describeAITaskStatusWithOptions(request, runtime);
|
|
14808
15211
|
}
|
|
15212
|
+
/**
|
|
15213
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15214
|
+
*
|
|
15215
|
+
* @param request DescribeAccountsRequest
|
|
15216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15217
|
+
* @return DescribeAccountsResponse
|
|
15218
|
+
*/
|
|
14809
15219
|
async describeAccountsWithOptions(request, runtime) {
|
|
14810
15220
|
tea_util_1.default.validateModel(request);
|
|
14811
15221
|
let query = {};
|
|
@@ -14849,10 +15259,23 @@ class Client extends openapi_client_1.default {
|
|
|
14849
15259
|
});
|
|
14850
15260
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
14851
15261
|
}
|
|
15262
|
+
/**
|
|
15263
|
+
* @summary Queries information about a database account of a PolarDB cluster.
|
|
15264
|
+
*
|
|
15265
|
+
* @param request DescribeAccountsRequest
|
|
15266
|
+
* @return DescribeAccountsResponse
|
|
15267
|
+
*/
|
|
14852
15268
|
async describeAccounts(request) {
|
|
14853
15269
|
let runtime = new $Util.RuntimeOptions({});
|
|
14854
15270
|
return await this.describeAccountsWithOptions(request, runtime);
|
|
14855
15271
|
}
|
|
15272
|
+
/**
|
|
15273
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15274
|
+
*
|
|
15275
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15276
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15277
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15278
|
+
*/
|
|
14856
15279
|
async describeAutoRenewAttributeWithOptions(request, runtime) {
|
|
14857
15280
|
tea_util_1.default.validateModel(request);
|
|
14858
15281
|
let query = {};
|
|
@@ -14899,10 +15322,23 @@ class Client extends openapi_client_1.default {
|
|
|
14899
15322
|
});
|
|
14900
15323
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
|
|
14901
15324
|
}
|
|
15325
|
+
/**
|
|
15326
|
+
* @summary Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
15327
|
+
*
|
|
15328
|
+
* @param request DescribeAutoRenewAttributeRequest
|
|
15329
|
+
* @return DescribeAutoRenewAttributeResponse
|
|
15330
|
+
*/
|
|
14902
15331
|
async describeAutoRenewAttribute(request) {
|
|
14903
15332
|
let runtime = new $Util.RuntimeOptions({});
|
|
14904
15333
|
return await this.describeAutoRenewAttributeWithOptions(request, runtime);
|
|
14905
15334
|
}
|
|
15335
|
+
/**
|
|
15336
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15337
|
+
*
|
|
15338
|
+
* @param request DescribeBackupLogsRequest
|
|
15339
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15340
|
+
* @return DescribeBackupLogsResponse
|
|
15341
|
+
*/
|
|
14906
15342
|
async describeBackupLogsWithOptions(request, runtime) {
|
|
14907
15343
|
tea_util_1.default.validateModel(request);
|
|
14908
15344
|
let query = {};
|
|
@@ -14952,10 +15388,23 @@ class Client extends openapi_client_1.default {
|
|
|
14952
15388
|
});
|
|
14953
15389
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
|
|
14954
15390
|
}
|
|
15391
|
+
/**
|
|
15392
|
+
* @summary Queries backup logs and the URLs to download the backup logs.
|
|
15393
|
+
*
|
|
15394
|
+
* @param request DescribeBackupLogsRequest
|
|
15395
|
+
* @return DescribeBackupLogsResponse
|
|
15396
|
+
*/
|
|
14955
15397
|
async describeBackupLogs(request) {
|
|
14956
15398
|
let runtime = new $Util.RuntimeOptions({});
|
|
14957
15399
|
return await this.describeBackupLogsWithOptions(request, runtime);
|
|
14958
15400
|
}
|
|
15401
|
+
/**
|
|
15402
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15403
|
+
*
|
|
15404
|
+
* @param request DescribeBackupPolicyRequest
|
|
15405
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15406
|
+
* @return DescribeBackupPolicyResponse
|
|
15407
|
+
*/
|
|
14959
15408
|
async describeBackupPolicyWithOptions(request, runtime) {
|
|
14960
15409
|
tea_util_1.default.validateModel(request);
|
|
14961
15410
|
let query = {};
|
|
@@ -14990,10 +15439,23 @@ class Client extends openapi_client_1.default {
|
|
|
14990
15439
|
});
|
|
14991
15440
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
14992
15441
|
}
|
|
15442
|
+
/**
|
|
15443
|
+
* @summary Queries the automatic backup policy of a PolarDB cluster.
|
|
15444
|
+
*
|
|
15445
|
+
* @param request DescribeBackupPolicyRequest
|
|
15446
|
+
* @return DescribeBackupPolicyResponse
|
|
15447
|
+
*/
|
|
14993
15448
|
async describeBackupPolicy(request) {
|
|
14994
15449
|
let runtime = new $Util.RuntimeOptions({});
|
|
14995
15450
|
return await this.describeBackupPolicyWithOptions(request, runtime);
|
|
14996
15451
|
}
|
|
15452
|
+
/**
|
|
15453
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15454
|
+
*
|
|
15455
|
+
* @param request DescribeBackupTasksRequest
|
|
15456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15457
|
+
* @return DescribeBackupTasksResponse
|
|
15458
|
+
*/
|
|
14997
15459
|
async describeBackupTasksWithOptions(request, runtime) {
|
|
14998
15460
|
tea_util_1.default.validateModel(request);
|
|
14999
15461
|
let query = {};
|
|
@@ -15034,10 +15496,23 @@ class Client extends openapi_client_1.default {
|
|
|
15034
15496
|
});
|
|
15035
15497
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
|
|
15036
15498
|
}
|
|
15499
|
+
/**
|
|
15500
|
+
* @summary Queries the backup tasks of a PolarDB cluster.
|
|
15501
|
+
*
|
|
15502
|
+
* @param request DescribeBackupTasksRequest
|
|
15503
|
+
* @return DescribeBackupTasksResponse
|
|
15504
|
+
*/
|
|
15037
15505
|
async describeBackupTasks(request) {
|
|
15038
15506
|
let runtime = new $Util.RuntimeOptions({});
|
|
15039
15507
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
15040
15508
|
}
|
|
15509
|
+
/**
|
|
15510
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15511
|
+
*
|
|
15512
|
+
* @param request DescribeBackupsRequest
|
|
15513
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15514
|
+
* @return DescribeBackupsResponse
|
|
15515
|
+
*/
|
|
15041
15516
|
async describeBackupsWithOptions(request, runtime) {
|
|
15042
15517
|
tea_util_1.default.validateModel(request);
|
|
15043
15518
|
let query = {};
|
|
@@ -15096,10 +15571,23 @@ class Client extends openapi_client_1.default {
|
|
|
15096
15571
|
});
|
|
15097
15572
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
15098
15573
|
}
|
|
15574
|
+
/**
|
|
15575
|
+
* @summary Queries the backup details of a PolarDB cluster.
|
|
15576
|
+
*
|
|
15577
|
+
* @param request DescribeBackupsRequest
|
|
15578
|
+
* @return DescribeBackupsResponse
|
|
15579
|
+
*/
|
|
15099
15580
|
async describeBackups(request) {
|
|
15100
15581
|
let runtime = new $Util.RuntimeOptions({});
|
|
15101
15582
|
return await this.describeBackupsWithOptions(request, runtime);
|
|
15102
15583
|
}
|
|
15584
|
+
/**
|
|
15585
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15586
|
+
*
|
|
15587
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15588
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15589
|
+
* @return DescribeCharacterSetNameResponse
|
|
15590
|
+
*/
|
|
15103
15591
|
async describeCharacterSetNameWithOptions(request, runtime) {
|
|
15104
15592
|
tea_util_1.default.validateModel(request);
|
|
15105
15593
|
let query = {};
|
|
@@ -15137,10 +15625,23 @@ class Client extends openapi_client_1.default {
|
|
|
15137
15625
|
});
|
|
15138
15626
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
|
|
15139
15627
|
}
|
|
15628
|
+
/**
|
|
15629
|
+
* @summary Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
15630
|
+
*
|
|
15631
|
+
* @param request DescribeCharacterSetNameRequest
|
|
15632
|
+
* @return DescribeCharacterSetNameResponse
|
|
15633
|
+
*/
|
|
15140
15634
|
async describeCharacterSetName(request) {
|
|
15141
15635
|
let runtime = new $Util.RuntimeOptions({});
|
|
15142
15636
|
return await this.describeCharacterSetNameWithOptions(request, runtime);
|
|
15143
15637
|
}
|
|
15638
|
+
/**
|
|
15639
|
+
* @summary Queries the specifications of a cluster.
|
|
15640
|
+
*
|
|
15641
|
+
* @param request DescribeClassListRequest
|
|
15642
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15643
|
+
* @return DescribeClassListResponse
|
|
15644
|
+
*/
|
|
15144
15645
|
async describeClassListWithOptions(request, runtime) {
|
|
15145
15646
|
tea_util_1.default.validateModel(request);
|
|
15146
15647
|
let query = {};
|
|
@@ -15187,10 +15688,23 @@ class Client extends openapi_client_1.default {
|
|
|
15187
15688
|
});
|
|
15188
15689
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
|
|
15189
15690
|
}
|
|
15691
|
+
/**
|
|
15692
|
+
* @summary Queries the specifications of a cluster.
|
|
15693
|
+
*
|
|
15694
|
+
* @param request DescribeClassListRequest
|
|
15695
|
+
* @return DescribeClassListResponse
|
|
15696
|
+
*/
|
|
15190
15697
|
async describeClassList(request) {
|
|
15191
15698
|
let runtime = new $Util.RuntimeOptions({});
|
|
15192
15699
|
return await this.describeClassListWithOptions(request, runtime);
|
|
15193
15700
|
}
|
|
15701
|
+
/**
|
|
15702
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15703
|
+
*
|
|
15704
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15705
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15706
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15707
|
+
*/
|
|
15194
15708
|
async describeDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
15195
15709
|
tea_util_1.default.validateModel(request);
|
|
15196
15710
|
let query = {};
|
|
@@ -15225,10 +15739,23 @@ class Client extends openapi_client_1.default {
|
|
|
15225
15739
|
});
|
|
15226
15740
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
|
|
15227
15741
|
}
|
|
15742
|
+
/**
|
|
15743
|
+
* @summary Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
15744
|
+
*
|
|
15745
|
+
* @param request DescribeDBClusterAccessWhitelistRequest
|
|
15746
|
+
* @return DescribeDBClusterAccessWhitelistResponse
|
|
15747
|
+
*/
|
|
15228
15748
|
async describeDBClusterAccessWhitelist(request) {
|
|
15229
15749
|
let runtime = new $Util.RuntimeOptions({});
|
|
15230
15750
|
return await this.describeDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
15231
15751
|
}
|
|
15752
|
+
/**
|
|
15753
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15754
|
+
*
|
|
15755
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15756
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15757
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15758
|
+
*/
|
|
15232
15759
|
async describeDBClusterAttributeWithOptions(request, runtime) {
|
|
15233
15760
|
tea_util_1.default.validateModel(request);
|
|
15234
15761
|
let query = {};
|
|
@@ -15266,10 +15793,23 @@ class Client extends openapi_client_1.default {
|
|
|
15266
15793
|
});
|
|
15267
15794
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
15268
15795
|
}
|
|
15796
|
+
/**
|
|
15797
|
+
* @summary Queries information about a PolarDB cluster.
|
|
15798
|
+
*
|
|
15799
|
+
* @param request DescribeDBClusterAttributeRequest
|
|
15800
|
+
* @return DescribeDBClusterAttributeResponse
|
|
15801
|
+
*/
|
|
15269
15802
|
async describeDBClusterAttribute(request) {
|
|
15270
15803
|
let runtime = new $Util.RuntimeOptions({});
|
|
15271
15804
|
return await this.describeDBClusterAttributeWithOptions(request, runtime);
|
|
15272
15805
|
}
|
|
15806
|
+
/**
|
|
15807
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15808
|
+
*
|
|
15809
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15810
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15811
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15812
|
+
*/
|
|
15273
15813
|
async describeDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
15274
15814
|
tea_util_1.default.validateModel(request);
|
|
15275
15815
|
let query = {};
|
|
@@ -15304,10 +15844,23 @@ class Client extends openapi_client_1.default {
|
|
|
15304
15844
|
});
|
|
15305
15845
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
|
|
15306
15846
|
}
|
|
15847
|
+
/**
|
|
15848
|
+
* @summary Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
15849
|
+
*
|
|
15850
|
+
* @param request DescribeDBClusterAuditLogCollectorRequest
|
|
15851
|
+
* @return DescribeDBClusterAuditLogCollectorResponse
|
|
15852
|
+
*/
|
|
15307
15853
|
async describeDBClusterAuditLogCollector(request) {
|
|
15308
15854
|
let runtime = new $Util.RuntimeOptions({});
|
|
15309
15855
|
return await this.describeDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
15310
15856
|
}
|
|
15857
|
+
/**
|
|
15858
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15859
|
+
*
|
|
15860
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15861
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15862
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15863
|
+
*/
|
|
15311
15864
|
async describeDBClusterAvailableResourcesWithOptions(request, runtime) {
|
|
15312
15865
|
tea_util_1.default.validateModel(request);
|
|
15313
15866
|
let query = {};
|
|
@@ -15357,10 +15910,23 @@ class Client extends openapi_client_1.default {
|
|
|
15357
15910
|
});
|
|
15358
15911
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
|
|
15359
15912
|
}
|
|
15913
|
+
/**
|
|
15914
|
+
* @summary Queries available resources in a PolarDB cluster.
|
|
15915
|
+
*
|
|
15916
|
+
* @param request DescribeDBClusterAvailableResourcesRequest
|
|
15917
|
+
* @return DescribeDBClusterAvailableResourcesResponse
|
|
15918
|
+
*/
|
|
15360
15919
|
async describeDBClusterAvailableResources(request) {
|
|
15361
15920
|
let runtime = new $Util.RuntimeOptions({});
|
|
15362
15921
|
return await this.describeDBClusterAvailableResourcesWithOptions(request, runtime);
|
|
15363
15922
|
}
|
|
15923
|
+
/**
|
|
15924
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
15925
|
+
*
|
|
15926
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
15927
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15928
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
15929
|
+
*/
|
|
15364
15930
|
async describeDBClusterConnectivityWithOptions(request, runtime) {
|
|
15365
15931
|
tea_util_1.default.validateModel(request);
|
|
15366
15932
|
let query = {};
|
|
@@ -15404,10 +15970,23 @@ class Client extends openapi_client_1.default {
|
|
|
15404
15970
|
});
|
|
15405
15971
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
15406
15972
|
}
|
|
15973
|
+
/**
|
|
15974
|
+
* @summary Queries whether the source IP address can access a cluster.
|
|
15975
|
+
*
|
|
15976
|
+
* @param request DescribeDBClusterConnectivityRequest
|
|
15977
|
+
* @return DescribeDBClusterConnectivityResponse
|
|
15978
|
+
*/
|
|
15407
15979
|
async describeDBClusterConnectivity(request) {
|
|
15408
15980
|
let runtime = new $Util.RuntimeOptions({});
|
|
15409
15981
|
return await this.describeDBClusterConnectivityWithOptions(request, runtime);
|
|
15410
15982
|
}
|
|
15983
|
+
/**
|
|
15984
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
15985
|
+
*
|
|
15986
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
15987
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15988
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
15989
|
+
*/
|
|
15411
15990
|
async describeDBClusterEndpointsWithOptions(request, runtime) {
|
|
15412
15991
|
tea_util_1.default.validateModel(request);
|
|
15413
15992
|
let query = {};
|
|
@@ -15448,17 +16027,25 @@ class Client extends openapi_client_1.default {
|
|
|
15448
16027
|
});
|
|
15449
16028
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
|
|
15450
16029
|
}
|
|
16030
|
+
/**
|
|
16031
|
+
* @summary Queries the endpoints of a PolarDB cluster.
|
|
16032
|
+
*
|
|
16033
|
+
* @param request DescribeDBClusterEndpointsRequest
|
|
16034
|
+
* @return DescribeDBClusterEndpointsResponse
|
|
16035
|
+
*/
|
|
15451
16036
|
async describeDBClusterEndpoints(request) {
|
|
15452
16037
|
let runtime = new $Util.RuntimeOptions({});
|
|
15453
16038
|
return await this.describeDBClusterEndpointsWithOptions(request, runtime);
|
|
15454
16039
|
}
|
|
15455
16040
|
/**
|
|
15456
|
-
|
|
15457
|
-
|
|
15458
|
-
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
|
|
16041
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16042
|
+
*
|
|
16043
|
+
* @description * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](https://help.aliyun.com/document_detail/121582.html).
|
|
16044
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
16045
|
+
*
|
|
16046
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16047
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16048
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15462
16049
|
*/
|
|
15463
16050
|
async describeDBClusterMigrationWithOptions(request, runtime) {
|
|
15464
16051
|
tea_util_1.default.validateModel(request);
|
|
@@ -15495,16 +16082,25 @@ class Client extends openapi_client_1.default {
|
|
|
15495
16082
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
15496
16083
|
}
|
|
15497
16084
|
/**
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
16085
|
+
* @summary Queries the migration status of PolarDB clusters.
|
|
16086
|
+
*
|
|
16087
|
+
* @description * You can call this operation to query the status of data migration from an ApsaraDB RDS instance to a PolarDB cluster. For more information, see [Upgrade ApsaraDB RDS for MySQL to PolarDB for MySQL with one click](https://help.aliyun.com/document_detail/121582.html).
|
|
16088
|
+
* * Before you call this operation, make sure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**.
|
|
16089
|
+
*
|
|
16090
|
+
* @param request DescribeDBClusterMigrationRequest
|
|
16091
|
+
* @return DescribeDBClusterMigrationResponse
|
|
15503
16092
|
*/
|
|
15504
16093
|
async describeDBClusterMigration(request) {
|
|
15505
16094
|
let runtime = new $Util.RuntimeOptions({});
|
|
15506
16095
|
return await this.describeDBClusterMigrationWithOptions(request, runtime);
|
|
15507
16096
|
}
|
|
16097
|
+
/**
|
|
16098
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16099
|
+
*
|
|
16100
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16101
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16102
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16103
|
+
*/
|
|
15508
16104
|
async describeDBClusterMonitorWithOptions(request, runtime) {
|
|
15509
16105
|
tea_util_1.default.validateModel(request);
|
|
15510
16106
|
let query = {};
|
|
@@ -15539,10 +16135,23 @@ class Client extends openapi_client_1.default {
|
|
|
15539
16135
|
});
|
|
15540
16136
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
|
|
15541
16137
|
}
|
|
16138
|
+
/**
|
|
16139
|
+
* @summary Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
16140
|
+
*
|
|
16141
|
+
* @param request DescribeDBClusterMonitorRequest
|
|
16142
|
+
* @return DescribeDBClusterMonitorResponse
|
|
16143
|
+
*/
|
|
15542
16144
|
async describeDBClusterMonitor(request) {
|
|
15543
16145
|
let runtime = new $Util.RuntimeOptions({});
|
|
15544
16146
|
return await this.describeDBClusterMonitorWithOptions(request, runtime);
|
|
15545
16147
|
}
|
|
16148
|
+
/**
|
|
16149
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16150
|
+
*
|
|
16151
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16152
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16153
|
+
* @return DescribeDBClusterParametersResponse
|
|
16154
|
+
*/
|
|
15546
16155
|
async describeDBClusterParametersWithOptions(request, runtime) {
|
|
15547
16156
|
tea_util_1.default.validateModel(request);
|
|
15548
16157
|
let query = {};
|
|
@@ -15580,27 +16189,35 @@ class Client extends openapi_client_1.default {
|
|
|
15580
16189
|
});
|
|
15581
16190
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
|
|
15582
16191
|
}
|
|
16192
|
+
/**
|
|
16193
|
+
* @summary Queries the parameters of a PolarDB cluster.
|
|
16194
|
+
*
|
|
16195
|
+
* @param request DescribeDBClusterParametersRequest
|
|
16196
|
+
* @return DescribeDBClusterParametersResponse
|
|
16197
|
+
*/
|
|
15583
16198
|
async describeDBClusterParameters(request) {
|
|
15584
16199
|
let runtime = new $Util.RuntimeOptions({});
|
|
15585
16200
|
return await this.describeDBClusterParametersWithOptions(request, runtime);
|
|
15586
16201
|
}
|
|
15587
16202
|
/**
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
16203
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16204
|
+
*
|
|
16205
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16206
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16207
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16208
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16209
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16210
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16211
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16212
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16213
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16214
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16215
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16216
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16217
|
+
*
|
|
16218
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16219
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16220
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15604
16221
|
*/
|
|
15605
16222
|
async describeDBClusterPerformanceWithOptions(request, runtime) {
|
|
15606
16223
|
tea_util_1.default.validateModel(request);
|
|
@@ -15637,26 +16254,35 @@ class Client extends openapi_client_1.default {
|
|
|
15637
16254
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
15638
16255
|
}
|
|
15639
16256
|
/**
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
|
|
15652
|
-
|
|
15653
|
-
|
|
15654
|
-
|
|
16257
|
+
* @summary Queries the performance data of a PolarDB cluster.
|
|
16258
|
+
*
|
|
16259
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16260
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16261
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16262
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16263
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16264
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16265
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16266
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16267
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16268
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16269
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16270
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16271
|
+
*
|
|
16272
|
+
* @param request DescribeDBClusterPerformanceRequest
|
|
16273
|
+
* @return DescribeDBClusterPerformanceResponse
|
|
15655
16274
|
*/
|
|
15656
16275
|
async describeDBClusterPerformance(request) {
|
|
15657
16276
|
let runtime = new $Util.RuntimeOptions({});
|
|
15658
16277
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
15659
16278
|
}
|
|
16279
|
+
/**
|
|
16280
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16281
|
+
*
|
|
16282
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16283
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16284
|
+
* @return DescribeDBClusterSSLResponse
|
|
16285
|
+
*/
|
|
15660
16286
|
async describeDBClusterSSLWithOptions(request, runtime) {
|
|
15661
16287
|
tea_util_1.default.validateModel(request);
|
|
15662
16288
|
let query = {};
|
|
@@ -15691,10 +16317,23 @@ class Client extends openapi_client_1.default {
|
|
|
15691
16317
|
});
|
|
15692
16318
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
|
|
15693
16319
|
}
|
|
16320
|
+
/**
|
|
16321
|
+
* @summary Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
16322
|
+
*
|
|
16323
|
+
* @param request DescribeDBClusterSSLRequest
|
|
16324
|
+
* @return DescribeDBClusterSSLResponse
|
|
16325
|
+
*/
|
|
15694
16326
|
async describeDBClusterSSL(request) {
|
|
15695
16327
|
let runtime = new $Util.RuntimeOptions({});
|
|
15696
16328
|
return await this.describeDBClusterSSLWithOptions(request, runtime);
|
|
15697
16329
|
}
|
|
16330
|
+
/**
|
|
16331
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16332
|
+
*
|
|
16333
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16334
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16335
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16336
|
+
*/
|
|
15698
16337
|
async describeDBClusterServerlessConfWithOptions(request, runtime) {
|
|
15699
16338
|
tea_util_1.default.validateModel(request);
|
|
15700
16339
|
let query = {};
|
|
@@ -15729,10 +16368,23 @@ class Client extends openapi_client_1.default {
|
|
|
15729
16368
|
});
|
|
15730
16369
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
|
|
15731
16370
|
}
|
|
16371
|
+
/**
|
|
16372
|
+
* @summary Queries the configurations of a serverless cluster.
|
|
16373
|
+
*
|
|
16374
|
+
* @param request DescribeDBClusterServerlessConfRequest
|
|
16375
|
+
* @return DescribeDBClusterServerlessConfResponse
|
|
16376
|
+
*/
|
|
15732
16377
|
async describeDBClusterServerlessConf(request) {
|
|
15733
16378
|
let runtime = new $Util.RuntimeOptions({});
|
|
15734
16379
|
return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
|
|
15735
16380
|
}
|
|
16381
|
+
/**
|
|
16382
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16383
|
+
*
|
|
16384
|
+
* @param request DescribeDBClusterTDERequest
|
|
16385
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16386
|
+
* @return DescribeDBClusterTDEResponse
|
|
16387
|
+
*/
|
|
15736
16388
|
async describeDBClusterTDEWithOptions(request, runtime) {
|
|
15737
16389
|
tea_util_1.default.validateModel(request);
|
|
15738
16390
|
let query = {};
|
|
@@ -15767,10 +16419,23 @@ class Client extends openapi_client_1.default {
|
|
|
15767
16419
|
});
|
|
15768
16420
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
|
|
15769
16421
|
}
|
|
16422
|
+
/**
|
|
16423
|
+
* @summary Queries the Transparent Data Encryption (TDE) settings of a PolarDB for MySQL cluster.
|
|
16424
|
+
*
|
|
16425
|
+
* @param request DescribeDBClusterTDERequest
|
|
16426
|
+
* @return DescribeDBClusterTDEResponse
|
|
16427
|
+
*/
|
|
15770
16428
|
async describeDBClusterTDE(request) {
|
|
15771
16429
|
let runtime = new $Util.RuntimeOptions({});
|
|
15772
16430
|
return await this.describeDBClusterTDEWithOptions(request, runtime);
|
|
15773
16431
|
}
|
|
16432
|
+
/**
|
|
16433
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16434
|
+
*
|
|
16435
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16437
|
+
* @return DescribeDBClusterVersionResponse
|
|
16438
|
+
*/
|
|
15774
16439
|
async describeDBClusterVersionWithOptions(request, runtime) {
|
|
15775
16440
|
tea_util_1.default.validateModel(request);
|
|
15776
16441
|
let query = {};
|
|
@@ -15808,10 +16473,23 @@ class Client extends openapi_client_1.default {
|
|
|
15808
16473
|
});
|
|
15809
16474
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
15810
16475
|
}
|
|
16476
|
+
/**
|
|
16477
|
+
* @summary Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
16478
|
+
*
|
|
16479
|
+
* @param request DescribeDBClusterVersionRequest
|
|
16480
|
+
* @return DescribeDBClusterVersionResponse
|
|
16481
|
+
*/
|
|
15811
16482
|
async describeDBClusterVersion(request) {
|
|
15812
16483
|
let runtime = new $Util.RuntimeOptions({});
|
|
15813
16484
|
return await this.describeDBClusterVersionWithOptions(request, runtime);
|
|
15814
16485
|
}
|
|
16486
|
+
/**
|
|
16487
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16488
|
+
*
|
|
16489
|
+
* @param request DescribeDBClustersRequest
|
|
16490
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16491
|
+
* @return DescribeDBClustersResponse
|
|
16492
|
+
*/
|
|
15815
16493
|
async describeDBClustersWithOptions(request, runtime) {
|
|
15816
16494
|
tea_util_1.default.validateModel(request);
|
|
15817
16495
|
let query = {};
|
|
@@ -15894,10 +16572,23 @@ class Client extends openapi_client_1.default {
|
|
|
15894
16572
|
});
|
|
15895
16573
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
15896
16574
|
}
|
|
16575
|
+
/**
|
|
16576
|
+
* @summary Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
16577
|
+
*
|
|
16578
|
+
* @param request DescribeDBClustersRequest
|
|
16579
|
+
* @return DescribeDBClustersResponse
|
|
16580
|
+
*/
|
|
15897
16581
|
async describeDBClusters(request) {
|
|
15898
16582
|
let runtime = new $Util.RuntimeOptions({});
|
|
15899
16583
|
return await this.describeDBClustersWithOptions(request, runtime);
|
|
15900
16584
|
}
|
|
16585
|
+
/**
|
|
16586
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16587
|
+
*
|
|
16588
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16589
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16590
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16591
|
+
*/
|
|
15901
16592
|
async describeDBClustersWithBackupsWithOptions(request, runtime) {
|
|
15902
16593
|
tea_util_1.default.validateModel(request);
|
|
15903
16594
|
let query = {};
|
|
@@ -15956,10 +16647,23 @@ class Client extends openapi_client_1.default {
|
|
|
15956
16647
|
});
|
|
15957
16648
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
|
|
15958
16649
|
}
|
|
16650
|
+
/**
|
|
16651
|
+
* @summary Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
16652
|
+
*
|
|
16653
|
+
* @param request DescribeDBClustersWithBackupsRequest
|
|
16654
|
+
* @return DescribeDBClustersWithBackupsResponse
|
|
16655
|
+
*/
|
|
15959
16656
|
async describeDBClustersWithBackups(request) {
|
|
15960
16657
|
let runtime = new $Util.RuntimeOptions({});
|
|
15961
16658
|
return await this.describeDBClustersWithBackupsWithOptions(request, runtime);
|
|
15962
16659
|
}
|
|
16660
|
+
/**
|
|
16661
|
+
* @summary Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
|
|
16662
|
+
*
|
|
16663
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16665
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16666
|
+
*/
|
|
15963
16667
|
async describeDBInitializeVariableWithOptions(request, runtime) {
|
|
15964
16668
|
tea_util_1.default.validateModel(request);
|
|
15965
16669
|
let query = {};
|
|
@@ -15994,16 +16698,24 @@ class Client extends openapi_client_1.default {
|
|
|
15994
16698
|
});
|
|
15995
16699
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
|
|
15996
16700
|
}
|
|
16701
|
+
/**
|
|
16702
|
+
* @summary Queries the attributes that are supported by a PolarDB for PostgreSQL (Compatible with Oracle) cluster or a PolarDB for PostgreSQL cluster, such as the character sets and collations.
|
|
16703
|
+
*
|
|
16704
|
+
* @param request DescribeDBInitializeVariableRequest
|
|
16705
|
+
* @return DescribeDBInitializeVariableResponse
|
|
16706
|
+
*/
|
|
15997
16707
|
async describeDBInitializeVariable(request) {
|
|
15998
16708
|
let runtime = new $Util.RuntimeOptions({});
|
|
15999
16709
|
return await this.describeDBInitializeVariableWithOptions(request, runtime);
|
|
16000
16710
|
}
|
|
16001
16711
|
/**
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
16712
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16713
|
+
*
|
|
16714
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16715
|
+
*
|
|
16716
|
+
* @param request DescribeDBLinksRequest
|
|
16717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16718
|
+
* @return DescribeDBLinksResponse
|
|
16007
16719
|
*/
|
|
16008
16720
|
async describeDBLinksWithOptions(request, runtime) {
|
|
16009
16721
|
tea_util_1.default.validateModel(request);
|
|
@@ -16043,32 +16755,36 @@ class Client extends openapi_client_1.default {
|
|
|
16043
16755
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
16044
16756
|
}
|
|
16045
16757
|
/**
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16758
|
+
* @summary Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
16759
|
+
*
|
|
16760
|
+
* @description > You can query only the database links that use a PolarDB for Oracle cluster as the source.
|
|
16761
|
+
*
|
|
16762
|
+
* @param request DescribeDBLinksRequest
|
|
16763
|
+
* @return DescribeDBLinksResponse
|
|
16050
16764
|
*/
|
|
16051
16765
|
async describeDBLinks(request) {
|
|
16052
16766
|
let runtime = new $Util.RuntimeOptions({});
|
|
16053
16767
|
return await this.describeDBLinksWithOptions(request, runtime);
|
|
16054
16768
|
}
|
|
16055
16769
|
/**
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16770
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16771
|
+
*
|
|
16772
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16773
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16774
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16775
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16776
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16777
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16778
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16779
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16780
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16781
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16782
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16783
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16784
|
+
*
|
|
16785
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16787
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16072
16788
|
*/
|
|
16073
16789
|
async describeDBNodePerformanceWithOptions(request, runtime) {
|
|
16074
16790
|
tea_util_1.default.validateModel(request);
|
|
@@ -16111,26 +16827,35 @@ class Client extends openapi_client_1.default {
|
|
|
16111
16827
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
16112
16828
|
}
|
|
16113
16829
|
/**
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16830
|
+
* @summary Queries the performance data of a node in a PolarDB cluster.
|
|
16831
|
+
*
|
|
16832
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
16833
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
16834
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16835
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16836
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16837
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16838
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
16839
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
16840
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
16841
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
16842
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
16843
|
+
* > By default, the monitoring data is collected once every 60 seconds. You can call the [ModifyDBClusterMonitor](https://help.aliyun.com/document_detail/159557.html) operation to set the data collection interval to every 5 seconds.
|
|
16844
|
+
*
|
|
16845
|
+
* @param request DescribeDBNodePerformanceRequest
|
|
16846
|
+
* @return DescribeDBNodePerformanceResponse
|
|
16129
16847
|
*/
|
|
16130
16848
|
async describeDBNodePerformance(request) {
|
|
16131
16849
|
let runtime = new $Util.RuntimeOptions({});
|
|
16132
16850
|
return await this.describeDBNodePerformanceWithOptions(request, runtime);
|
|
16133
16851
|
}
|
|
16852
|
+
/**
|
|
16853
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16854
|
+
*
|
|
16855
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16856
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16857
|
+
* @return DescribeDBNodesParametersResponse
|
|
16858
|
+
*/
|
|
16134
16859
|
async describeDBNodesParametersWithOptions(request, runtime) {
|
|
16135
16860
|
tea_util_1.default.validateModel(request);
|
|
16136
16861
|
let query = {};
|
|
@@ -16168,16 +16893,24 @@ class Client extends openapi_client_1.default {
|
|
|
16168
16893
|
});
|
|
16169
16894
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
|
|
16170
16895
|
}
|
|
16896
|
+
/**
|
|
16897
|
+
* @summary Queries the parameters of a specified node in a cluster.
|
|
16898
|
+
*
|
|
16899
|
+
* @param request DescribeDBNodesParametersRequest
|
|
16900
|
+
* @return DescribeDBNodesParametersResponse
|
|
16901
|
+
*/
|
|
16171
16902
|
async describeDBNodesParameters(request) {
|
|
16172
16903
|
let runtime = new $Util.RuntimeOptions({});
|
|
16173
16904
|
return await this.describeDBNodesParametersWithOptions(request, runtime);
|
|
16174
16905
|
}
|
|
16175
16906
|
/**
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
|
|
16907
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16908
|
+
*
|
|
16909
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16910
|
+
*
|
|
16911
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16912
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16913
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16181
16914
|
*/
|
|
16182
16915
|
async describeDBProxyPerformanceWithOptions(request, runtime) {
|
|
16183
16916
|
tea_util_1.default.validateModel(request);
|
|
@@ -16220,15 +16953,24 @@ class Client extends openapi_client_1.default {
|
|
|
16220
16953
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
16221
16954
|
}
|
|
16222
16955
|
/**
|
|
16223
|
-
|
|
16224
|
-
|
|
16225
|
-
|
|
16226
|
-
|
|
16956
|
+
* @summary Queries the performance data of PolarProxy.
|
|
16957
|
+
*
|
|
16958
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
16959
|
+
*
|
|
16960
|
+
* @param request DescribeDBProxyPerformanceRequest
|
|
16961
|
+
* @return DescribeDBProxyPerformanceResponse
|
|
16227
16962
|
*/
|
|
16228
16963
|
async describeDBProxyPerformance(request) {
|
|
16229
16964
|
let runtime = new $Util.RuntimeOptions({});
|
|
16230
16965
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
16231
16966
|
}
|
|
16967
|
+
/**
|
|
16968
|
+
* @summary 查看实例的 DAS 配置
|
|
16969
|
+
*
|
|
16970
|
+
* @param request DescribeDasConfigRequest
|
|
16971
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16972
|
+
* @return DescribeDasConfigResponse
|
|
16973
|
+
*/
|
|
16232
16974
|
async describeDasConfigWithOptions(request, runtime) {
|
|
16233
16975
|
tea_util_1.default.validateModel(request);
|
|
16234
16976
|
let query = {};
|
|
@@ -16263,10 +17005,23 @@ class Client extends openapi_client_1.default {
|
|
|
16263
17005
|
});
|
|
16264
17006
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
16265
17007
|
}
|
|
17008
|
+
/**
|
|
17009
|
+
* @summary 查看实例的 DAS 配置
|
|
17010
|
+
*
|
|
17011
|
+
* @param request DescribeDasConfigRequest
|
|
17012
|
+
* @return DescribeDasConfigResponse
|
|
17013
|
+
*/
|
|
16266
17014
|
async describeDasConfig(request) {
|
|
16267
17015
|
let runtime = new $Util.RuntimeOptions({});
|
|
16268
17016
|
return await this.describeDasConfigWithOptions(request, runtime);
|
|
16269
17017
|
}
|
|
17018
|
+
/**
|
|
17019
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17020
|
+
*
|
|
17021
|
+
* @param request DescribeDatabasesRequest
|
|
17022
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17023
|
+
* @return DescribeDatabasesResponse
|
|
17024
|
+
*/
|
|
16270
17025
|
async describeDatabasesWithOptions(request, runtime) {
|
|
16271
17026
|
tea_util_1.default.validateModel(request);
|
|
16272
17027
|
let query = {};
|
|
@@ -16310,17 +17065,25 @@ class Client extends openapi_client_1.default {
|
|
|
16310
17065
|
});
|
|
16311
17066
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
|
|
16312
17067
|
}
|
|
17068
|
+
/**
|
|
17069
|
+
* @summary Queries the information about databases in a PolarDB cluster.
|
|
17070
|
+
*
|
|
17071
|
+
* @param request DescribeDatabasesRequest
|
|
17072
|
+
* @return DescribeDatabasesResponse
|
|
17073
|
+
*/
|
|
16313
17074
|
async describeDatabases(request) {
|
|
16314
17075
|
let runtime = new $Util.RuntimeOptions({});
|
|
16315
17076
|
return await this.describeDatabasesWithOptions(request, runtime);
|
|
16316
17077
|
}
|
|
16317
17078
|
/**
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
17079
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17080
|
+
*
|
|
17081
|
+
* @description Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
17082
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17083
|
+
*
|
|
17084
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17085
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17086
|
+
* @return DescribeDetachedBackupsResponse
|
|
16324
17087
|
*/
|
|
16325
17088
|
async describeDetachedBackupsWithOptions(request, runtime) {
|
|
16326
17089
|
tea_util_1.default.validateModel(request);
|
|
@@ -16381,16 +17144,25 @@ class Client extends openapi_client_1.default {
|
|
|
16381
17144
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
16382
17145
|
}
|
|
16383
17146
|
/**
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
17147
|
+
* @summary Queries the information about the backup sets in a released PolarDB cluster.
|
|
17148
|
+
*
|
|
17149
|
+
* @description Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
|
|
17150
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
17151
|
+
*
|
|
17152
|
+
* @param request DescribeDetachedBackupsRequest
|
|
17153
|
+
* @return DescribeDetachedBackupsResponse
|
|
16389
17154
|
*/
|
|
16390
17155
|
async describeDetachedBackups(request) {
|
|
16391
17156
|
let runtime = new $Util.RuntimeOptions({});
|
|
16392
17157
|
return await this.describeDetachedBackupsWithOptions(request, runtime);
|
|
16393
17158
|
}
|
|
17159
|
+
/**
|
|
17160
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17161
|
+
*
|
|
17162
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17163
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17164
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17165
|
+
*/
|
|
16394
17166
|
async describeGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
16395
17167
|
tea_util_1.default.validateModel(request);
|
|
16396
17168
|
let query = {};
|
|
@@ -16431,10 +17203,23 @@ class Client extends openapi_client_1.default {
|
|
|
16431
17203
|
});
|
|
16432
17204
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
|
|
16433
17205
|
}
|
|
17206
|
+
/**
|
|
17207
|
+
* @summary Queries the information about a Global Database Network (GDN).
|
|
17208
|
+
*
|
|
17209
|
+
* @param request DescribeGlobalDatabaseNetworkRequest
|
|
17210
|
+
* @return DescribeGlobalDatabaseNetworkResponse
|
|
17211
|
+
*/
|
|
16434
17212
|
async describeGlobalDatabaseNetwork(request) {
|
|
16435
17213
|
let runtime = new $Util.RuntimeOptions({});
|
|
16436
17214
|
return await this.describeGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
16437
17215
|
}
|
|
17216
|
+
/**
|
|
17217
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17218
|
+
*
|
|
17219
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17220
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17221
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17222
|
+
*/
|
|
16438
17223
|
async describeGlobalDatabaseNetworksWithOptions(request, runtime) {
|
|
16439
17224
|
tea_util_1.default.validateModel(request);
|
|
16440
17225
|
let query = {};
|
|
@@ -16490,11 +17275,24 @@ class Client extends openapi_client_1.default {
|
|
|
16490
17275
|
});
|
|
16491
17276
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
|
|
16492
17277
|
}
|
|
17278
|
+
/**
|
|
17279
|
+
* @summary Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
17280
|
+
*
|
|
17281
|
+
* @param request DescribeGlobalDatabaseNetworksRequest
|
|
17282
|
+
* @return DescribeGlobalDatabaseNetworksResponse
|
|
17283
|
+
*/
|
|
16493
17284
|
async describeGlobalDatabaseNetworks(request) {
|
|
16494
17285
|
let runtime = new $Util.RuntimeOptions({});
|
|
16495
17286
|
return await this.describeGlobalDatabaseNetworksWithOptions(request, runtime);
|
|
16496
17287
|
}
|
|
16497
|
-
|
|
17288
|
+
/**
|
|
17289
|
+
* @summary Queries global IP whitelist templates.
|
|
17290
|
+
*
|
|
17291
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17292
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17293
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17294
|
+
*/
|
|
17295
|
+
async describeGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
16498
17296
|
tea_util_1.default.validateModel(request);
|
|
16499
17297
|
let query = {};
|
|
16500
17298
|
if (!tea_util_1.default.isUnset(request.globalSecurityGroupId)) {
|
|
@@ -16537,10 +17335,23 @@ class Client extends openapi_client_1.default {
|
|
|
16537
17335
|
});
|
|
16538
17336
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
|
|
16539
17337
|
}
|
|
17338
|
+
/**
|
|
17339
|
+
* @summary Queries global IP whitelist templates.
|
|
17340
|
+
*
|
|
17341
|
+
* @param request DescribeGlobalSecurityIPGroupRequest
|
|
17342
|
+
* @return DescribeGlobalSecurityIPGroupResponse
|
|
17343
|
+
*/
|
|
16540
17344
|
async describeGlobalSecurityIPGroup(request) {
|
|
16541
17345
|
let runtime = new $Util.RuntimeOptions({});
|
|
16542
17346
|
return await this.describeGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
16543
17347
|
}
|
|
17348
|
+
/**
|
|
17349
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17350
|
+
*
|
|
17351
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17352
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17353
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17354
|
+
*/
|
|
16544
17355
|
async describeGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
16545
17356
|
tea_util_1.default.validateModel(request);
|
|
16546
17357
|
let query = {};
|
|
@@ -16584,10 +17395,23 @@ class Client extends openapi_client_1.default {
|
|
|
16584
17395
|
});
|
|
16585
17396
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
16586
17397
|
}
|
|
17398
|
+
/**
|
|
17399
|
+
* @summary Queries the relationship between a cluster and a global IP whitelist template.
|
|
17400
|
+
*
|
|
17401
|
+
* @param request DescribeGlobalSecurityIPGroupRelationRequest
|
|
17402
|
+
* @return DescribeGlobalSecurityIPGroupRelationResponse
|
|
17403
|
+
*/
|
|
16587
17404
|
async describeGlobalSecurityIPGroupRelation(request) {
|
|
16588
17405
|
let runtime = new $Util.RuntimeOptions({});
|
|
16589
17406
|
return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
16590
17407
|
}
|
|
17408
|
+
/**
|
|
17409
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17410
|
+
*
|
|
17411
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17412
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17413
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17414
|
+
*/
|
|
16591
17415
|
async describeLogBackupPolicyWithOptions(request, runtime) {
|
|
16592
17416
|
tea_util_1.default.validateModel(request);
|
|
16593
17417
|
let query = {};
|
|
@@ -16622,10 +17446,23 @@ class Client extends openapi_client_1.default {
|
|
|
16622
17446
|
});
|
|
16623
17447
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
|
|
16624
17448
|
}
|
|
17449
|
+
/**
|
|
17450
|
+
* @summary Queries the retention policy of log backups in a PolarDB cluster.
|
|
17451
|
+
*
|
|
17452
|
+
* @param request DescribeLogBackupPolicyRequest
|
|
17453
|
+
* @return DescribeLogBackupPolicyResponse
|
|
17454
|
+
*/
|
|
16625
17455
|
async describeLogBackupPolicy(request) {
|
|
16626
17456
|
let runtime = new $Util.RuntimeOptions({});
|
|
16627
17457
|
return await this.describeLogBackupPolicyWithOptions(request, runtime);
|
|
16628
17458
|
}
|
|
17459
|
+
/**
|
|
17460
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17461
|
+
*
|
|
17462
|
+
* @param request DescribeMaskingRulesRequest
|
|
17463
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17464
|
+
* @return DescribeMaskingRulesResponse
|
|
17465
|
+
*/
|
|
16629
17466
|
async describeMaskingRulesWithOptions(request, runtime) {
|
|
16630
17467
|
tea_util_1.default.validateModel(request);
|
|
16631
17468
|
let query = {};
|
|
@@ -16651,10 +17488,23 @@ class Client extends openapi_client_1.default {
|
|
|
16651
17488
|
});
|
|
16652
17489
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
|
|
16653
17490
|
}
|
|
17491
|
+
/**
|
|
17492
|
+
* @summary Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
17493
|
+
*
|
|
17494
|
+
* @param request DescribeMaskingRulesRequest
|
|
17495
|
+
* @return DescribeMaskingRulesResponse
|
|
17496
|
+
*/
|
|
16654
17497
|
async describeMaskingRules(request) {
|
|
16655
17498
|
let runtime = new $Util.RuntimeOptions({});
|
|
16656
17499
|
return await this.describeMaskingRulesWithOptions(request, runtime);
|
|
16657
17500
|
}
|
|
17501
|
+
/**
|
|
17502
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17503
|
+
*
|
|
17504
|
+
* @param request DescribeMetaListRequest
|
|
17505
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17506
|
+
* @return DescribeMetaListResponse
|
|
17507
|
+
*/
|
|
16658
17508
|
async describeMetaListWithOptions(request, runtime) {
|
|
16659
17509
|
tea_util_1.default.validateModel(request);
|
|
16660
17510
|
let query = {};
|
|
@@ -16710,17 +17560,25 @@ class Client extends openapi_client_1.default {
|
|
|
16710
17560
|
});
|
|
16711
17561
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
|
|
16712
17562
|
}
|
|
17563
|
+
/**
|
|
17564
|
+
* @summary Queries the details of the databases or tables that can be restored.
|
|
17565
|
+
*
|
|
17566
|
+
* @param request DescribeMetaListRequest
|
|
17567
|
+
* @return DescribeMetaListResponse
|
|
17568
|
+
*/
|
|
16713
17569
|
async describeMetaList(request) {
|
|
16714
17570
|
let runtime = new $Util.RuntimeOptions({});
|
|
16715
17571
|
return await this.describeMetaListWithOptions(request, runtime);
|
|
16716
17572
|
}
|
|
16717
17573
|
/**
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
|
|
16722
|
-
|
|
16723
|
-
|
|
17574
|
+
* @summary Queries the information about a parameter template.
|
|
17575
|
+
*
|
|
17576
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17577
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17578
|
+
*
|
|
17579
|
+
* @param request DescribeParameterGroupRequest
|
|
17580
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17581
|
+
* @return DescribeParameterGroupResponse
|
|
16724
17582
|
*/
|
|
16725
17583
|
async describeParameterGroupWithOptions(request, runtime) {
|
|
16726
17584
|
tea_util_1.default.validateModel(request);
|
|
@@ -16763,23 +17621,27 @@ class Client extends openapi_client_1.default {
|
|
|
16763
17621
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
16764
17622
|
}
|
|
16765
17623
|
/**
|
|
16766
|
-
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
17624
|
+
* @summary Queries the information about a parameter template.
|
|
17625
|
+
*
|
|
17626
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17627
|
+
* > This parameter is valid only for a PolarDB for MySQL cluster.
|
|
17628
|
+
*
|
|
17629
|
+
* @param request DescribeParameterGroupRequest
|
|
17630
|
+
* @return DescribeParameterGroupResponse
|
|
16771
17631
|
*/
|
|
16772
17632
|
async describeParameterGroup(request) {
|
|
16773
17633
|
let runtime = new $Util.RuntimeOptions({});
|
|
16774
17634
|
return await this.describeParameterGroupWithOptions(request, runtime);
|
|
16775
17635
|
}
|
|
16776
17636
|
/**
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
17637
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17638
|
+
*
|
|
17639
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17640
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17641
|
+
*
|
|
17642
|
+
* @param request DescribeParameterGroupsRequest
|
|
17643
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17644
|
+
* @return DescribeParameterGroupsResponse
|
|
16783
17645
|
*/
|
|
16784
17646
|
async describeParameterGroupsWithOptions(request, runtime) {
|
|
16785
17647
|
tea_util_1.default.validateModel(request);
|
|
@@ -16825,16 +17687,25 @@ class Client extends openapi_client_1.default {
|
|
|
16825
17687
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
16826
17688
|
}
|
|
16827
17689
|
/**
|
|
16828
|
-
|
|
16829
|
-
|
|
16830
|
-
|
|
16831
|
-
|
|
16832
|
-
|
|
17690
|
+
* @summary Queries parameter templates that are available in a specified region.
|
|
17691
|
+
*
|
|
17692
|
+
* @description You can use parameter templates to manage multiple parameters at a time and apply existing parameters to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
17693
|
+
* > This operation is applicable only to PolarDB for MySQL clusters.
|
|
17694
|
+
*
|
|
17695
|
+
* @param request DescribeParameterGroupsRequest
|
|
17696
|
+
* @return DescribeParameterGroupsResponse
|
|
16833
17697
|
*/
|
|
16834
17698
|
async describeParameterGroups(request) {
|
|
16835
17699
|
let runtime = new $Util.RuntimeOptions({});
|
|
16836
17700
|
return await this.describeParameterGroupsWithOptions(request, runtime);
|
|
16837
17701
|
}
|
|
17702
|
+
/**
|
|
17703
|
+
* @summary Queries the default parameters in a cluster.
|
|
17704
|
+
*
|
|
17705
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17706
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17707
|
+
* @return DescribeParameterTemplatesResponse
|
|
17708
|
+
*/
|
|
16838
17709
|
async describeParameterTemplatesWithOptions(request, runtime) {
|
|
16839
17710
|
tea_util_1.default.validateModel(request);
|
|
16840
17711
|
let query = {};
|
|
@@ -16878,10 +17749,23 @@ class Client extends openapi_client_1.default {
|
|
|
16878
17749
|
});
|
|
16879
17750
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
|
|
16880
17751
|
}
|
|
17752
|
+
/**
|
|
17753
|
+
* @summary Queries the default parameters in a cluster.
|
|
17754
|
+
*
|
|
17755
|
+
* @param request DescribeParameterTemplatesRequest
|
|
17756
|
+
* @return DescribeParameterTemplatesResponse
|
|
17757
|
+
*/
|
|
16881
17758
|
async describeParameterTemplates(request) {
|
|
16882
17759
|
let runtime = new $Util.RuntimeOptions({});
|
|
16883
17760
|
return await this.describeParameterTemplatesWithOptions(request, runtime);
|
|
16884
17761
|
}
|
|
17762
|
+
/**
|
|
17763
|
+
* @summary Queries the information about a pending event.
|
|
17764
|
+
*
|
|
17765
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17766
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17767
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17768
|
+
*/
|
|
16885
17769
|
async describePendingMaintenanceActionWithOptions(request, runtime) {
|
|
16886
17770
|
tea_util_1.default.validateModel(request);
|
|
16887
17771
|
let query = {};
|
|
@@ -16934,10 +17818,23 @@ class Client extends openapi_client_1.default {
|
|
|
16934
17818
|
});
|
|
16935
17819
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
|
|
16936
17820
|
}
|
|
17821
|
+
/**
|
|
17822
|
+
* @summary Queries the information about a pending event.
|
|
17823
|
+
*
|
|
17824
|
+
* @param request DescribePendingMaintenanceActionRequest
|
|
17825
|
+
* @return DescribePendingMaintenanceActionResponse
|
|
17826
|
+
*/
|
|
16937
17827
|
async describePendingMaintenanceAction(request) {
|
|
16938
17828
|
let runtime = new $Util.RuntimeOptions({});
|
|
16939
17829
|
return await this.describePendingMaintenanceActionWithOptions(request, runtime);
|
|
16940
17830
|
}
|
|
17831
|
+
/**
|
|
17832
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17833
|
+
*
|
|
17834
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17835
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17836
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17837
|
+
*/
|
|
16941
17838
|
async describePendingMaintenanceActionsWithOptions(request, runtime) {
|
|
16942
17839
|
tea_util_1.default.validateModel(request);
|
|
16943
17840
|
let query = {};
|
|
@@ -16981,10 +17878,23 @@ class Client extends openapi_client_1.default {
|
|
|
16981
17878
|
});
|
|
16982
17879
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
|
|
16983
17880
|
}
|
|
17881
|
+
/**
|
|
17882
|
+
* @summary Queries the numbers of pending events of different task types.
|
|
17883
|
+
*
|
|
17884
|
+
* @param request DescribePendingMaintenanceActionsRequest
|
|
17885
|
+
* @return DescribePendingMaintenanceActionsResponse
|
|
17886
|
+
*/
|
|
16984
17887
|
async describePendingMaintenanceActions(request) {
|
|
16985
17888
|
let runtime = new $Util.RuntimeOptions({});
|
|
16986
17889
|
return await this.describePendingMaintenanceActionsWithOptions(request, runtime);
|
|
16987
17890
|
}
|
|
17891
|
+
/**
|
|
17892
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17893
|
+
*
|
|
17894
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17895
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17896
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17897
|
+
*/
|
|
16988
17898
|
async describePolarSQLCollectorPolicyWithOptions(request, runtime) {
|
|
16989
17899
|
tea_util_1.default.validateModel(request);
|
|
16990
17900
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
@@ -17004,10 +17914,23 @@ class Client extends openapi_client_1.default {
|
|
|
17004
17914
|
});
|
|
17005
17915
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
|
|
17006
17916
|
}
|
|
17917
|
+
/**
|
|
17918
|
+
* @summary Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
17919
|
+
*
|
|
17920
|
+
* @param request DescribePolarSQLCollectorPolicyRequest
|
|
17921
|
+
* @return DescribePolarSQLCollectorPolicyResponse
|
|
17922
|
+
*/
|
|
17007
17923
|
async describePolarSQLCollectorPolicy(request) {
|
|
17008
17924
|
let runtime = new $Util.RuntimeOptions({});
|
|
17009
17925
|
return await this.describePolarSQLCollectorPolicyWithOptions(request, runtime);
|
|
17010
17926
|
}
|
|
17927
|
+
/**
|
|
17928
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17929
|
+
*
|
|
17930
|
+
* @param request DescribeRegionsRequest
|
|
17931
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17932
|
+
* @return DescribeRegionsResponse
|
|
17933
|
+
*/
|
|
17011
17934
|
async describeRegionsWithOptions(request, runtime) {
|
|
17012
17935
|
tea_util_1.default.validateModel(request);
|
|
17013
17936
|
let query = {};
|
|
@@ -17039,10 +17962,23 @@ class Client extends openapi_client_1.default {
|
|
|
17039
17962
|
});
|
|
17040
17963
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
17041
17964
|
}
|
|
17965
|
+
/**
|
|
17966
|
+
* @summary Queries the regions and zones available for PolarDB.
|
|
17967
|
+
*
|
|
17968
|
+
* @param request DescribeRegionsRequest
|
|
17969
|
+
* @return DescribeRegionsResponse
|
|
17970
|
+
*/
|
|
17042
17971
|
async describeRegions(request) {
|
|
17043
17972
|
let runtime = new $Util.RuntimeOptions({});
|
|
17044
17973
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
17045
17974
|
}
|
|
17975
|
+
/**
|
|
17976
|
+
* @summary Queries the details of all scheduled tasks.
|
|
17977
|
+
*
|
|
17978
|
+
* @param request DescribeScheduleTasksRequest
|
|
17979
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17980
|
+
* @return DescribeScheduleTasksResponse
|
|
17981
|
+
*/
|
|
17046
17982
|
async describeScheduleTasksWithOptions(request, runtime) {
|
|
17047
17983
|
tea_util_1.default.validateModel(request);
|
|
17048
17984
|
let query = {};
|
|
@@ -17107,16 +18043,24 @@ class Client extends openapi_client_1.default {
|
|
|
17107
18043
|
});
|
|
17108
18044
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
|
|
17109
18045
|
}
|
|
18046
|
+
/**
|
|
18047
|
+
* @summary Queries the details of all scheduled tasks.
|
|
18048
|
+
*
|
|
18049
|
+
* @param request DescribeScheduleTasksRequest
|
|
18050
|
+
* @return DescribeScheduleTasksResponse
|
|
18051
|
+
*/
|
|
17110
18052
|
async describeScheduleTasks(request) {
|
|
17111
18053
|
let runtime = new $Util.RuntimeOptions({});
|
|
17112
18054
|
return await this.describeScheduleTasksWithOptions(request, runtime);
|
|
17113
18055
|
}
|
|
17114
18056
|
/**
|
|
17115
|
-
|
|
17116
|
-
|
|
17117
|
-
|
|
17118
|
-
|
|
17119
|
-
|
|
18057
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18058
|
+
*
|
|
18059
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18060
|
+
*
|
|
18061
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18062
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18063
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17120
18064
|
*/
|
|
17121
18065
|
async describeSlowLogRecordsWithOptions(request, runtime) {
|
|
17122
18066
|
tea_util_1.default.validateModel(request);
|
|
@@ -17174,21 +18118,25 @@ class Client extends openapi_client_1.default {
|
|
|
17174
18118
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
17175
18119
|
}
|
|
17176
18120
|
/**
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
|
|
17180
|
-
|
|
18121
|
+
* @summary Queries the details of the slow query logs of a PolarDB cluster.
|
|
18122
|
+
*
|
|
18123
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18124
|
+
*
|
|
18125
|
+
* @param request DescribeSlowLogRecordsRequest
|
|
18126
|
+
* @return DescribeSlowLogRecordsResponse
|
|
17181
18127
|
*/
|
|
17182
18128
|
async describeSlowLogRecords(request) {
|
|
17183
18129
|
let runtime = new $Util.RuntimeOptions({});
|
|
17184
18130
|
return await this.describeSlowLogRecordsWithOptions(request, runtime);
|
|
17185
18131
|
}
|
|
17186
18132
|
/**
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
18133
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18134
|
+
*
|
|
18135
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18136
|
+
*
|
|
18137
|
+
* @param request DescribeSlowLogsRequest
|
|
18138
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18139
|
+
* @return DescribeSlowLogsResponse
|
|
17192
18140
|
*/
|
|
17193
18141
|
async describeSlowLogsWithOptions(request, runtime) {
|
|
17194
18142
|
tea_util_1.default.validateModel(request);
|
|
@@ -17243,22 +18191,26 @@ class Client extends openapi_client_1.default {
|
|
|
17243
18191
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
17244
18192
|
}
|
|
17245
18193
|
/**
|
|
17246
|
-
|
|
17247
|
-
|
|
17248
|
-
|
|
17249
|
-
|
|
18194
|
+
* @summary Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
18195
|
+
*
|
|
18196
|
+
* @description > This operation is applicable only to PolarDB for MySQL clusters.
|
|
18197
|
+
*
|
|
18198
|
+
* @param request DescribeSlowLogsRequest
|
|
18199
|
+
* @return DescribeSlowLogsResponse
|
|
17250
18200
|
*/
|
|
17251
18201
|
async describeSlowLogs(request) {
|
|
17252
18202
|
let runtime = new $Util.RuntimeOptions({});
|
|
17253
18203
|
return await this.describeSlowLogsWithOptions(request, runtime);
|
|
17254
18204
|
}
|
|
17255
18205
|
/**
|
|
17256
|
-
|
|
17257
|
-
|
|
17258
|
-
|
|
17259
|
-
|
|
17260
|
-
|
|
17261
|
-
|
|
18206
|
+
* @summary Queries the details of the tasks that are generated by calling API operations. For example, you can call this operation to view the details of the task when you create a cluster.
|
|
18207
|
+
*
|
|
18208
|
+
* @description * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation or [create a cluster](https://help.aliyun.com/document_detail/58769.html) in the console.
|
|
18209
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
18210
|
+
*
|
|
18211
|
+
* @param request DescribeTasksRequest
|
|
18212
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18213
|
+
* @return DescribeTasksResponse
|
|
17262
18214
|
*/
|
|
17263
18215
|
async describeTasksWithOptions(request, runtime) {
|
|
17264
18216
|
tea_util_1.default.validateModel(request);
|
|
@@ -17313,16 +18265,25 @@ class Client extends openapi_client_1.default {
|
|
|
17313
18265
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
17314
18266
|
}
|
|
17315
18267
|
/**
|
|
17316
|
-
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
|
|
17320
|
-
|
|
18268
|
+
* @summary Queries the details of the tasks that are generated by calling API operations. For example, you can call this operation to view the details of the task when you create a cluster.
|
|
18269
|
+
*
|
|
18270
|
+
* @description * You can call this operation to view the details of a task that is generated by a specific API operation or in the console. The system calls the specific API operation when you perform an operation in the console. For example, you can view the details of the task when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation or [create a cluster](https://help.aliyun.com/document_detail/58769.html) in the console.
|
|
18271
|
+
* * You can view the details of tasks that are generated only when you call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create a cluster and `CreationOption` is not set to `CreateGdnStandby`.
|
|
18272
|
+
*
|
|
18273
|
+
* @param request DescribeTasksRequest
|
|
18274
|
+
* @return DescribeTasksResponse
|
|
17321
18275
|
*/
|
|
17322
18276
|
async describeTasks(request) {
|
|
17323
18277
|
let runtime = new $Util.RuntimeOptions({});
|
|
17324
18278
|
return await this.describeTasksWithOptions(request, runtime);
|
|
17325
18279
|
}
|
|
18280
|
+
/**
|
|
18281
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18282
|
+
*
|
|
18283
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18284
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18285
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18286
|
+
*/
|
|
17326
18287
|
async describeUserEncryptionKeyListWithOptions(request, runtime) {
|
|
17327
18288
|
tea_util_1.default.validateModel(request);
|
|
17328
18289
|
let query = {};
|
|
@@ -17363,10 +18324,23 @@ class Client extends openapi_client_1.default {
|
|
|
17363
18324
|
});
|
|
17364
18325
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
17365
18326
|
}
|
|
18327
|
+
/**
|
|
18328
|
+
* @summary Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
18329
|
+
*
|
|
18330
|
+
* @param request DescribeUserEncryptionKeyListRequest
|
|
18331
|
+
* @return DescribeUserEncryptionKeyListResponse
|
|
18332
|
+
*/
|
|
17366
18333
|
async describeUserEncryptionKeyList(request) {
|
|
17367
18334
|
let runtime = new $Util.RuntimeOptions({});
|
|
17368
18335
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
17369
18336
|
}
|
|
18337
|
+
/**
|
|
18338
|
+
* @summary Queries a vSwitch.
|
|
18339
|
+
*
|
|
18340
|
+
* @param request DescribeVSwitchesRequest
|
|
18341
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18342
|
+
* @return DescribeVSwitchesResponse
|
|
18343
|
+
*/
|
|
17370
18344
|
async describeVSwitchesWithOptions(request, runtime) {
|
|
17371
18345
|
tea_util_1.default.validateModel(request);
|
|
17372
18346
|
let query = {};
|
|
@@ -17422,10 +18396,23 @@ class Client extends openapi_client_1.default {
|
|
|
17422
18396
|
});
|
|
17423
18397
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
17424
18398
|
}
|
|
18399
|
+
/**
|
|
18400
|
+
* @summary Queries a vSwitch.
|
|
18401
|
+
*
|
|
18402
|
+
* @param request DescribeVSwitchesRequest
|
|
18403
|
+
* @return DescribeVSwitchesResponse
|
|
18404
|
+
*/
|
|
17425
18405
|
async describeVSwitches(request) {
|
|
17426
18406
|
let runtime = new $Util.RuntimeOptions({});
|
|
17427
18407
|
return await this.describeVSwitchesWithOptions(request, runtime);
|
|
17428
18408
|
}
|
|
18409
|
+
/**
|
|
18410
|
+
* @summary Disables a stable serverless cluster.
|
|
18411
|
+
*
|
|
18412
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18413
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18414
|
+
* @return DisableDBClusterServerlessResponse
|
|
18415
|
+
*/
|
|
17429
18416
|
async disableDBClusterServerlessWithOptions(request, runtime) {
|
|
17430
18417
|
tea_util_1.default.validateModel(request);
|
|
17431
18418
|
let query = {};
|
|
@@ -17460,10 +18447,23 @@ class Client extends openapi_client_1.default {
|
|
|
17460
18447
|
});
|
|
17461
18448
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
|
|
17462
18449
|
}
|
|
18450
|
+
/**
|
|
18451
|
+
* @summary Disables a stable serverless cluster.
|
|
18452
|
+
*
|
|
18453
|
+
* @param request DisableDBClusterServerlessRequest
|
|
18454
|
+
* @return DisableDBClusterServerlessResponse
|
|
18455
|
+
*/
|
|
17463
18456
|
async disableDBClusterServerless(request) {
|
|
17464
18457
|
let runtime = new $Util.RuntimeOptions({});
|
|
17465
18458
|
return await this.disableDBClusterServerlessWithOptions(request, runtime);
|
|
17466
18459
|
}
|
|
18460
|
+
/**
|
|
18461
|
+
* @summary Enables a stable serverless cluster.
|
|
18462
|
+
*
|
|
18463
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18464
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18465
|
+
* @return EnableDBClusterServerlessResponse
|
|
18466
|
+
*/
|
|
17467
18467
|
async enableDBClusterServerlessWithOptions(request, runtime) {
|
|
17468
18468
|
tea_util_1.default.validateModel(request);
|
|
17469
18469
|
let query = {};
|
|
@@ -17516,10 +18516,23 @@ class Client extends openapi_client_1.default {
|
|
|
17516
18516
|
});
|
|
17517
18517
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
|
|
17518
18518
|
}
|
|
18519
|
+
/**
|
|
18520
|
+
* @summary Enables a stable serverless cluster.
|
|
18521
|
+
*
|
|
18522
|
+
* @param request EnableDBClusterServerlessRequest
|
|
18523
|
+
* @return EnableDBClusterServerlessResponse
|
|
18524
|
+
*/
|
|
17519
18525
|
async enableDBClusterServerless(request) {
|
|
17520
18526
|
let runtime = new $Util.RuntimeOptions({});
|
|
17521
18527
|
return await this.enableDBClusterServerlessWithOptions(request, runtime);
|
|
17522
18528
|
}
|
|
18529
|
+
/**
|
|
18530
|
+
* @summary 修改sql防火墙状态
|
|
18531
|
+
*
|
|
18532
|
+
* @param request EnableFirewallRulesRequest
|
|
18533
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18534
|
+
* @return EnableFirewallRulesResponse
|
|
18535
|
+
*/
|
|
17523
18536
|
async enableFirewallRulesWithOptions(request, runtime) {
|
|
17524
18537
|
tea_util_1.default.validateModel(request);
|
|
17525
18538
|
let query = {};
|
|
@@ -17560,10 +18573,23 @@ class Client extends openapi_client_1.default {
|
|
|
17560
18573
|
});
|
|
17561
18574
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
|
|
17562
18575
|
}
|
|
18576
|
+
/**
|
|
18577
|
+
* @summary 修改sql防火墙状态
|
|
18578
|
+
*
|
|
18579
|
+
* @param request EnableFirewallRulesRequest
|
|
18580
|
+
* @return EnableFirewallRulesResponse
|
|
18581
|
+
*/
|
|
17563
18582
|
async enableFirewallRules(request) {
|
|
17564
18583
|
let runtime = new $Util.RuntimeOptions({});
|
|
17565
18584
|
return await this.enableFirewallRulesWithOptions(request, runtime);
|
|
17566
18585
|
}
|
|
18586
|
+
/**
|
|
18587
|
+
* @summary Evaluates available resources.
|
|
18588
|
+
*
|
|
18589
|
+
* @param request EvaluateRegionResourceRequest
|
|
18590
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18591
|
+
* @return EvaluateRegionResourceResponse
|
|
18592
|
+
*/
|
|
17567
18593
|
async evaluateRegionResourceWithOptions(request, runtime) {
|
|
17568
18594
|
tea_util_1.default.validateModel(request);
|
|
17569
18595
|
let query = {};
|
|
@@ -17625,10 +18651,23 @@ class Client extends openapi_client_1.default {
|
|
|
17625
18651
|
});
|
|
17626
18652
|
return $tea.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
|
|
17627
18653
|
}
|
|
18654
|
+
/**
|
|
18655
|
+
* @summary Evaluates available resources.
|
|
18656
|
+
*
|
|
18657
|
+
* @param request EvaluateRegionResourceRequest
|
|
18658
|
+
* @return EvaluateRegionResourceResponse
|
|
18659
|
+
*/
|
|
17628
18660
|
async evaluateRegionResource(request) {
|
|
17629
18661
|
let runtime = new $Util.RuntimeOptions({});
|
|
17630
18662
|
return await this.evaluateRegionResourceWithOptions(request, runtime);
|
|
17631
18663
|
}
|
|
18664
|
+
/**
|
|
18665
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18666
|
+
*
|
|
18667
|
+
* @param request FailoverDBClusterRequest
|
|
18668
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18669
|
+
* @return FailoverDBClusterResponse
|
|
18670
|
+
*/
|
|
17632
18671
|
async failoverDBClusterWithOptions(request, runtime) {
|
|
17633
18672
|
tea_util_1.default.validateModel(request);
|
|
17634
18673
|
let query = {};
|
|
@@ -17672,20 +18711,28 @@ class Client extends openapi_client_1.default {
|
|
|
17672
18711
|
});
|
|
17673
18712
|
return $tea.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
|
|
17674
18713
|
}
|
|
18714
|
+
/**
|
|
18715
|
+
* @summary Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
18716
|
+
*
|
|
18717
|
+
* @param request FailoverDBClusterRequest
|
|
18718
|
+
* @return FailoverDBClusterResponse
|
|
18719
|
+
*/
|
|
17675
18720
|
async failoverDBCluster(request) {
|
|
17676
18721
|
let runtime = new $Util.RuntimeOptions({});
|
|
17677
18722
|
return await this.failoverDBClusterWithOptions(request, runtime);
|
|
17678
18723
|
}
|
|
17679
18724
|
/**
|
|
17680
|
-
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
|
|
17687
|
-
|
|
17688
|
-
|
|
18725
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18726
|
+
*
|
|
18727
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18728
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18729
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18730
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18731
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18732
|
+
*
|
|
18733
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18734
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18735
|
+
* @return GrantAccountPrivilegeResponse
|
|
17689
18736
|
*/
|
|
17690
18737
|
async grantAccountPrivilegeWithOptions(request, runtime) {
|
|
17691
18738
|
tea_util_1.default.validateModel(request);
|
|
@@ -17731,19 +18778,28 @@ class Client extends openapi_client_1.default {
|
|
|
17731
18778
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
17732
18779
|
}
|
|
17733
18780
|
/**
|
|
17734
|
-
|
|
17735
|
-
|
|
17736
|
-
|
|
17737
|
-
|
|
17738
|
-
|
|
17739
|
-
|
|
17740
|
-
|
|
17741
|
-
|
|
18781
|
+
* @summary Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
18782
|
+
*
|
|
18783
|
+
* @description > * An account can be authorized to access one or more databases.
|
|
18784
|
+
* > * If the specified account already has the access permissions on the specified databases, the operation returns a successful response.
|
|
18785
|
+
* > * Before you call this operation, make sure that the cluster is in the Running state. Otherwise, the operation fails.
|
|
18786
|
+
* > * You can call this operation only on a PolarDB for MySQL cluster.
|
|
18787
|
+
* > * By default, a privileged account for a cluster has all the permissions on the databases in the cluster.
|
|
18788
|
+
*
|
|
18789
|
+
* @param request GrantAccountPrivilegeRequest
|
|
18790
|
+
* @return GrantAccountPrivilegeResponse
|
|
17742
18791
|
*/
|
|
17743
18792
|
async grantAccountPrivilege(request) {
|
|
17744
18793
|
let runtime = new $Util.RuntimeOptions({});
|
|
17745
18794
|
return await this.grantAccountPrivilegeWithOptions(request, runtime);
|
|
17746
18795
|
}
|
|
18796
|
+
/**
|
|
18797
|
+
* @summary Queries the tags that are bound to one or more PolarDB clusters, or queries the PolarDB clusters to which one or more tags are bound.
|
|
18798
|
+
*
|
|
18799
|
+
* @param request ListTagResourcesRequest
|
|
18800
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18801
|
+
* @return ListTagResourcesResponse
|
|
18802
|
+
*/
|
|
17747
18803
|
async listTagResourcesWithOptions(request, runtime) {
|
|
17748
18804
|
tea_util_1.default.validateModel(request);
|
|
17749
18805
|
let query = {};
|
|
@@ -17790,10 +18846,23 @@ class Client extends openapi_client_1.default {
|
|
|
17790
18846
|
});
|
|
17791
18847
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
17792
18848
|
}
|
|
18849
|
+
/**
|
|
18850
|
+
* @summary Queries the tags that are bound to one or more PolarDB clusters, or queries the PolarDB clusters to which one or more tags are bound.
|
|
18851
|
+
*
|
|
18852
|
+
* @param request ListTagResourcesRequest
|
|
18853
|
+
* @return ListTagResourcesResponse
|
|
18854
|
+
*/
|
|
17793
18855
|
async listTagResources(request) {
|
|
17794
18856
|
let runtime = new $Util.RuntimeOptions({});
|
|
17795
18857
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
17796
18858
|
}
|
|
18859
|
+
/**
|
|
18860
|
+
* @summary Manually starts a cluster.
|
|
18861
|
+
*
|
|
18862
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18863
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18864
|
+
* @return ManuallyStartDBClusterResponse
|
|
18865
|
+
*/
|
|
17797
18866
|
async manuallyStartDBClusterWithOptions(request, runtime) {
|
|
17798
18867
|
tea_util_1.default.validateModel(request);
|
|
17799
18868
|
let query = {};
|
|
@@ -17831,10 +18900,23 @@ class Client extends openapi_client_1.default {
|
|
|
17831
18900
|
});
|
|
17832
18901
|
return $tea.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
17833
18902
|
}
|
|
18903
|
+
/**
|
|
18904
|
+
* @summary Manually starts a cluster.
|
|
18905
|
+
*
|
|
18906
|
+
* @param request ManuallyStartDBClusterRequest
|
|
18907
|
+
* @return ManuallyStartDBClusterResponse
|
|
18908
|
+
*/
|
|
17834
18909
|
async manuallyStartDBCluster(request) {
|
|
17835
18910
|
let runtime = new $Util.RuntimeOptions({});
|
|
17836
18911
|
return await this.manuallyStartDBClusterWithOptions(request, runtime);
|
|
17837
18912
|
}
|
|
18913
|
+
/**
|
|
18914
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18915
|
+
*
|
|
18916
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18917
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18918
|
+
* @return ModifyAccountDescriptionResponse
|
|
18919
|
+
*/
|
|
17838
18920
|
async modifyAccountDescriptionWithOptions(request, runtime) {
|
|
17839
18921
|
tea_util_1.default.validateModel(request);
|
|
17840
18922
|
let query = {};
|
|
@@ -17875,10 +18957,23 @@ class Client extends openapi_client_1.default {
|
|
|
17875
18957
|
});
|
|
17876
18958
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
17877
18959
|
}
|
|
18960
|
+
/**
|
|
18961
|
+
* @summary Modifies the description of a database account of a PolarDB cluster.
|
|
18962
|
+
*
|
|
18963
|
+
* @param request ModifyAccountDescriptionRequest
|
|
18964
|
+
* @return ModifyAccountDescriptionResponse
|
|
18965
|
+
*/
|
|
17878
18966
|
async modifyAccountDescription(request) {
|
|
17879
18967
|
let runtime = new $Util.RuntimeOptions({});
|
|
17880
18968
|
return await this.modifyAccountDescriptionWithOptions(request, runtime);
|
|
17881
18969
|
}
|
|
18970
|
+
/**
|
|
18971
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
18972
|
+
*
|
|
18973
|
+
* @param request ModifyAccountPasswordRequest
|
|
18974
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18975
|
+
* @return ModifyAccountPasswordResponse
|
|
18976
|
+
*/
|
|
17882
18977
|
async modifyAccountPasswordWithOptions(request, runtime) {
|
|
17883
18978
|
tea_util_1.default.validateModel(request);
|
|
17884
18979
|
let query = {};
|
|
@@ -17922,10 +19017,23 @@ class Client extends openapi_client_1.default {
|
|
|
17922
19017
|
});
|
|
17923
19018
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
|
|
17924
19019
|
}
|
|
19020
|
+
/**
|
|
19021
|
+
* @summary Changes the password of a database account for a specified PolarDB cluster.
|
|
19022
|
+
*
|
|
19023
|
+
* @param request ModifyAccountPasswordRequest
|
|
19024
|
+
* @return ModifyAccountPasswordResponse
|
|
19025
|
+
*/
|
|
17925
19026
|
async modifyAccountPassword(request) {
|
|
17926
19027
|
let runtime = new $Util.RuntimeOptions({});
|
|
17927
19028
|
return await this.modifyAccountPasswordWithOptions(request, runtime);
|
|
17928
19029
|
}
|
|
19030
|
+
/**
|
|
19031
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19032
|
+
*
|
|
19033
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19034
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19035
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19036
|
+
*/
|
|
17929
19037
|
async modifyAutoRenewAttributeWithOptions(request, runtime) {
|
|
17930
19038
|
tea_util_1.default.validateModel(request);
|
|
17931
19039
|
let query = {};
|
|
@@ -17975,16 +19083,24 @@ class Client extends openapi_client_1.default {
|
|
|
17975
19083
|
});
|
|
17976
19084
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
|
|
17977
19085
|
}
|
|
19086
|
+
/**
|
|
19087
|
+
* @summary Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
19088
|
+
*
|
|
19089
|
+
* @param request ModifyAutoRenewAttributeRequest
|
|
19090
|
+
* @return ModifyAutoRenewAttributeResponse
|
|
19091
|
+
*/
|
|
17978
19092
|
async modifyAutoRenewAttribute(request) {
|
|
17979
19093
|
let runtime = new $Util.RuntimeOptions({});
|
|
17980
19094
|
return await this.modifyAutoRenewAttributeWithOptions(request, runtime);
|
|
17981
19095
|
}
|
|
17982
19096
|
/**
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
19097
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19098
|
+
*
|
|
19099
|
+
* @description > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
|
|
19100
|
+
*
|
|
19101
|
+
* @param request ModifyBackupPolicyRequest
|
|
19102
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19103
|
+
* @return ModifyBackupPolicyResponse
|
|
17988
19104
|
*/
|
|
17989
19105
|
async modifyBackupPolicyWithOptions(request, runtime) {
|
|
17990
19106
|
tea_util_1.default.validateModel(request);
|
|
@@ -18057,15 +19173,24 @@ class Client extends openapi_client_1.default {
|
|
|
18057
19173
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
18058
19174
|
}
|
|
18059
19175
|
/**
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
19176
|
+
* @summary Modifies the automatic backup policy of a PolarDB cluster.
|
|
19177
|
+
*
|
|
19178
|
+
* @description > You can also modify the automatic backup policy of a PolarDB cluster in the console. For more information, see [Backup settings](https://help.aliyun.com/document_detail/280422.html).
|
|
19179
|
+
*
|
|
19180
|
+
* @param request ModifyBackupPolicyRequest
|
|
19181
|
+
* @return ModifyBackupPolicyResponse
|
|
18064
19182
|
*/
|
|
18065
19183
|
async modifyBackupPolicy(request) {
|
|
18066
19184
|
let runtime = new $Util.RuntimeOptions({});
|
|
18067
19185
|
return await this.modifyBackupPolicyWithOptions(request, runtime);
|
|
18068
19186
|
}
|
|
19187
|
+
/**
|
|
19188
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19189
|
+
*
|
|
19190
|
+
* @param request ModifyDBClusterRequest
|
|
19191
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19192
|
+
* @return ModifyDBClusterResponse
|
|
19193
|
+
*/
|
|
18069
19194
|
async modifyDBClusterWithOptions(request, runtime) {
|
|
18070
19195
|
tea_util_1.default.validateModel(request);
|
|
18071
19196
|
let query = {};
|
|
@@ -18118,10 +19243,23 @@ class Client extends openapi_client_1.default {
|
|
|
18118
19243
|
});
|
|
18119
19244
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
18120
19245
|
}
|
|
19246
|
+
/**
|
|
19247
|
+
* @summary Modifies the configurations of a PolarDB for MySQL cluster.
|
|
19248
|
+
*
|
|
19249
|
+
* @param request ModifyDBClusterRequest
|
|
19250
|
+
* @return ModifyDBClusterResponse
|
|
19251
|
+
*/
|
|
18121
19252
|
async modifyDBCluster(request) {
|
|
18122
19253
|
let runtime = new $Util.RuntimeOptions({});
|
|
18123
19254
|
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
18124
19255
|
}
|
|
19256
|
+
/**
|
|
19257
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19258
|
+
*
|
|
19259
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19261
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19262
|
+
*/
|
|
18125
19263
|
async modifyDBClusterAccessWhitelistWithOptions(request, runtime) {
|
|
18126
19264
|
tea_util_1.default.validateModel(request);
|
|
18127
19265
|
let query = {};
|
|
@@ -18174,10 +19312,23 @@ class Client extends openapi_client_1.default {
|
|
|
18174
19312
|
});
|
|
18175
19313
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
|
|
18176
19314
|
}
|
|
19315
|
+
/**
|
|
19316
|
+
* @summary Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
19317
|
+
*
|
|
19318
|
+
* @param request ModifyDBClusterAccessWhitelistRequest
|
|
19319
|
+
* @return ModifyDBClusterAccessWhitelistResponse
|
|
19320
|
+
*/
|
|
18177
19321
|
async modifyDBClusterAccessWhitelist(request) {
|
|
18178
19322
|
let runtime = new $Util.RuntimeOptions({});
|
|
18179
19323
|
return await this.modifyDBClusterAccessWhitelistWithOptions(request, runtime);
|
|
18180
19324
|
}
|
|
19325
|
+
/**
|
|
19326
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19327
|
+
*
|
|
19328
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19329
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19330
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19331
|
+
*/
|
|
18181
19332
|
async modifyDBClusterAndNodesParametersWithOptions(request, runtime) {
|
|
18182
19333
|
tea_util_1.default.validateModel(request);
|
|
18183
19334
|
let query = {};
|
|
@@ -18230,10 +19381,23 @@ class Client extends openapi_client_1.default {
|
|
|
18230
19381
|
});
|
|
18231
19382
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
|
|
18232
19383
|
}
|
|
19384
|
+
/**
|
|
19385
|
+
* @summary Modifies cluster parameters and applies them to specified nodes.
|
|
19386
|
+
*
|
|
19387
|
+
* @param request ModifyDBClusterAndNodesParametersRequest
|
|
19388
|
+
* @return ModifyDBClusterAndNodesParametersResponse
|
|
19389
|
+
*/
|
|
18233
19390
|
async modifyDBClusterAndNodesParameters(request) {
|
|
18234
19391
|
let runtime = new $Util.RuntimeOptions({});
|
|
18235
19392
|
return await this.modifyDBClusterAndNodesParametersWithOptions(request, runtime);
|
|
18236
19393
|
}
|
|
19394
|
+
/**
|
|
19395
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19396
|
+
*
|
|
19397
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19398
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19399
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19400
|
+
*/
|
|
18237
19401
|
async modifyDBClusterAuditLogCollectorWithOptions(request, runtime) {
|
|
18238
19402
|
tea_util_1.default.validateModel(request);
|
|
18239
19403
|
let query = {};
|
|
@@ -18271,10 +19435,23 @@ class Client extends openapi_client_1.default {
|
|
|
18271
19435
|
});
|
|
18272
19436
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
|
|
18273
19437
|
}
|
|
19438
|
+
/**
|
|
19439
|
+
* @summary Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
19440
|
+
*
|
|
19441
|
+
* @param request ModifyDBClusterAuditLogCollectorRequest
|
|
19442
|
+
* @return ModifyDBClusterAuditLogCollectorResponse
|
|
19443
|
+
*/
|
|
18274
19444
|
async modifyDBClusterAuditLogCollector(request) {
|
|
18275
19445
|
let runtime = new $Util.RuntimeOptions({});
|
|
18276
19446
|
return await this.modifyDBClusterAuditLogCollectorWithOptions(request, runtime);
|
|
18277
19447
|
}
|
|
19448
|
+
/**
|
|
19449
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19450
|
+
*
|
|
19451
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19452
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19453
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19454
|
+
*/
|
|
18278
19455
|
async modifyDBClusterDeletionWithOptions(request, runtime) {
|
|
18279
19456
|
tea_util_1.default.validateModel(request);
|
|
18280
19457
|
let query = {};
|
|
@@ -18312,10 +19489,23 @@ class Client extends openapi_client_1.default {
|
|
|
18312
19489
|
});
|
|
18313
19490
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
|
|
18314
19491
|
}
|
|
19492
|
+
/**
|
|
19493
|
+
* @summary Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
19494
|
+
*
|
|
19495
|
+
* @param request ModifyDBClusterDeletionRequest
|
|
19496
|
+
* @return ModifyDBClusterDeletionResponse
|
|
19497
|
+
*/
|
|
18315
19498
|
async modifyDBClusterDeletion(request) {
|
|
18316
19499
|
let runtime = new $Util.RuntimeOptions({});
|
|
18317
19500
|
return await this.modifyDBClusterDeletionWithOptions(request, runtime);
|
|
18318
19501
|
}
|
|
19502
|
+
/**
|
|
19503
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19504
|
+
*
|
|
19505
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19506
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19507
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19508
|
+
*/
|
|
18319
19509
|
async modifyDBClusterDescriptionWithOptions(request, runtime) {
|
|
18320
19510
|
tea_util_1.default.validateModel(request);
|
|
18321
19511
|
let query = {};
|
|
@@ -18353,10 +19543,23 @@ class Client extends openapi_client_1.default {
|
|
|
18353
19543
|
});
|
|
18354
19544
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
18355
19545
|
}
|
|
19546
|
+
/**
|
|
19547
|
+
* @summary Modifies the name of a PolarDB cluster.
|
|
19548
|
+
*
|
|
19549
|
+
* @param request ModifyDBClusterDescriptionRequest
|
|
19550
|
+
* @return ModifyDBClusterDescriptionResponse
|
|
19551
|
+
*/
|
|
18356
19552
|
async modifyDBClusterDescription(request) {
|
|
18357
19553
|
let runtime = new $Util.RuntimeOptions({});
|
|
18358
19554
|
return await this.modifyDBClusterDescriptionWithOptions(request, runtime);
|
|
18359
19555
|
}
|
|
19556
|
+
/**
|
|
19557
|
+
* @summary Modifies the attributes of a specified PolarDB cluster endpoint. For example, you can modify the following attributes for the specified cluster endpoint: read/write mode, consistency level, transaction splitting, primary node accepts read requests, and connection pool. You can also call the operation to specify whether newly added nodes are automatically associated with the specified cluster endpoint.
|
|
19558
|
+
*
|
|
19559
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19561
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19562
|
+
*/
|
|
18360
19563
|
async modifyDBClusterEndpointWithOptions(request, runtime) {
|
|
18361
19564
|
tea_util_1.default.validateModel(request);
|
|
18362
19565
|
let query = {};
|
|
@@ -18409,16 +19612,24 @@ class Client extends openapi_client_1.default {
|
|
|
18409
19612
|
});
|
|
18410
19613
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
|
|
18411
19614
|
}
|
|
19615
|
+
/**
|
|
19616
|
+
* @summary Modifies the attributes of a specified PolarDB cluster endpoint. For example, you can modify the following attributes for the specified cluster endpoint: read/write mode, consistency level, transaction splitting, primary node accepts read requests, and connection pool. You can also call the operation to specify whether newly added nodes are automatically associated with the specified cluster endpoint.
|
|
19617
|
+
*
|
|
19618
|
+
* @param request ModifyDBClusterEndpointRequest
|
|
19619
|
+
* @return ModifyDBClusterEndpointResponse
|
|
19620
|
+
*/
|
|
18412
19621
|
async modifyDBClusterEndpoint(request) {
|
|
18413
19622
|
let runtime = new $Util.RuntimeOptions({});
|
|
18414
19623
|
return await this.modifyDBClusterEndpointWithOptions(request, runtime);
|
|
18415
19624
|
}
|
|
18416
19625
|
/**
|
|
18417
|
-
|
|
18418
|
-
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
|
|
19626
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19627
|
+
*
|
|
19628
|
+
* @description > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
19629
|
+
*
|
|
19630
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19631
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19632
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18422
19633
|
*/
|
|
18423
19634
|
async modifyDBClusterMaintainTimeWithOptions(request, runtime) {
|
|
18424
19635
|
tea_util_1.default.validateModel(request);
|
|
@@ -18458,23 +19669,27 @@ class Client extends openapi_client_1.default {
|
|
|
18458
19669
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
18459
19670
|
}
|
|
18460
19671
|
/**
|
|
18461
|
-
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
|
|
19672
|
+
* @summary Modifies the maintenance window of a PolarDB cluster.
|
|
19673
|
+
*
|
|
19674
|
+
* @description > We recommend that you set the routine maintenance window to off-peak hours. Alibaba Cloud maintains your cluster within the specified maintenance window to minimize the negative impacts on your business.
|
|
19675
|
+
*
|
|
19676
|
+
* @param request ModifyDBClusterMaintainTimeRequest
|
|
19677
|
+
* @return ModifyDBClusterMaintainTimeResponse
|
|
18465
19678
|
*/
|
|
18466
19679
|
async modifyDBClusterMaintainTime(request) {
|
|
18467
19680
|
let runtime = new $Util.RuntimeOptions({});
|
|
18468
19681
|
return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
|
|
18469
19682
|
}
|
|
18470
19683
|
/**
|
|
18471
|
-
|
|
18472
|
-
|
|
18473
|
-
|
|
18474
|
-
|
|
18475
|
-
|
|
18476
|
-
|
|
18477
|
-
|
|
19684
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19685
|
+
*
|
|
19686
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19687
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19688
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
19689
|
+
*
|
|
19690
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19691
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19692
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18478
19693
|
*/
|
|
18479
19694
|
async modifyDBClusterMigrationWithOptions(request, runtime) {
|
|
18480
19695
|
tea_util_1.default.validateModel(request);
|
|
@@ -18526,33 +19741,37 @@ class Client extends openapi_client_1.default {
|
|
|
18526
19741
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
18527
19742
|
}
|
|
18528
19743
|
/**
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
18534
|
-
|
|
19744
|
+
* @summary Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19745
|
+
*
|
|
19746
|
+
* @description * You can call this operation to switch the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19747
|
+
* * You can call this operation to roll back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
19748
|
+
* > Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the [CreateDBCluster](https://help.aliyun.com/document_detail/98169.html) operation to create an upgrade task. Set the **CreationOption** parameter to **MigrationFromRDS**. For more information, see [Create a PolarDB for MySQL cluster by using the Migration from RDS method](https://help.aliyun.com/document_detail/121582.html).
|
|
19749
|
+
*
|
|
19750
|
+
* @param request ModifyDBClusterMigrationRequest
|
|
19751
|
+
* @return ModifyDBClusterMigrationResponse
|
|
18535
19752
|
*/
|
|
18536
19753
|
async modifyDBClusterMigration(request) {
|
|
18537
19754
|
let runtime = new $Util.RuntimeOptions({});
|
|
18538
19755
|
return await this.modifyDBClusterMigrationWithOptions(request, runtime);
|
|
18539
19756
|
}
|
|
18540
19757
|
/**
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
18544
|
-
|
|
18545
|
-
|
|
18546
|
-
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
|
|
18551
|
-
|
|
18552
|
-
|
|
18553
|
-
|
|
18554
|
-
|
|
18555
|
-
|
|
19758
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19759
|
+
*
|
|
19760
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19761
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19762
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19763
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19764
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19765
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19766
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19767
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19768
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19769
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19770
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19771
|
+
*
|
|
19772
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19773
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19774
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18556
19775
|
*/
|
|
18557
19776
|
async modifyDBClusterMonitorWithOptions(request, runtime) {
|
|
18558
19777
|
tea_util_1.default.validateModel(request);
|
|
@@ -18592,33 +19811,37 @@ class Client extends openapi_client_1.default {
|
|
|
18592
19811
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
18593
19812
|
}
|
|
18594
19813
|
/**
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
19814
|
+
* @summary Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
19815
|
+
*
|
|
19816
|
+
* @description * When the monitoring data is collected every 5 seconds:
|
|
19817
|
+
* * If the query time range is less than or equal to 1 hour, the data is displayed at intervals of 5 seconds.
|
|
19818
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19819
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19820
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19821
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19822
|
+
* * When the monitoring data is collected every 60 seconds:
|
|
19823
|
+
* * If the query time range is less than or equal to one day, the data is displayed at intervals of 1 minute.
|
|
19824
|
+
* * If the query time range is less than or equal to seven days, the data is displayed at intervals of 10 minutes.
|
|
19825
|
+
* * If the query time range is less than or equal to 30 days, the data is displayed at intervals of 1 hour.
|
|
19826
|
+
* * When the query time range is greater than 30 days, the data is displayed at intervals of 1 day.
|
|
19827
|
+
*
|
|
19828
|
+
* @param request ModifyDBClusterMonitorRequest
|
|
19829
|
+
* @return ModifyDBClusterMonitorResponse
|
|
18609
19830
|
*/
|
|
18610
19831
|
async modifyDBClusterMonitor(request) {
|
|
18611
19832
|
let runtime = new $Util.RuntimeOptions({});
|
|
18612
19833
|
return await this.modifyDBClusterMonitorWithOptions(request, runtime);
|
|
18613
19834
|
}
|
|
18614
19835
|
/**
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
19836
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19837
|
+
*
|
|
19838
|
+
* @description PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
19839
|
+
* **
|
|
19840
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19841
|
+
*
|
|
19842
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19843
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19844
|
+
* @return ModifyDBClusterParametersResponse
|
|
18622
19845
|
*/
|
|
18623
19846
|
async modifyDBClusterParametersWithOptions(request, runtime) {
|
|
18624
19847
|
tea_util_1.default.validateModel(request);
|
|
@@ -18670,17 +19893,26 @@ class Client extends openapi_client_1.default {
|
|
|
18670
19893
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
18671
19894
|
}
|
|
18672
19895
|
/**
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
19896
|
+
* @summary Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
19897
|
+
*
|
|
19898
|
+
* @description PolarDB supports the parameter template feature to centrally manage clusters. You can configure a number of parameters at a time by using a parameter template and apply the template to a PolarDB cluster. For more information, see [Use a parameter template](https://help.aliyun.com/document_detail/207009.html).
|
|
19899
|
+
* **
|
|
19900
|
+
* **Only PolarDB for MySQL clusters support parameter templates.
|
|
19901
|
+
*
|
|
19902
|
+
* @param request ModifyDBClusterParametersRequest
|
|
19903
|
+
* @return ModifyDBClusterParametersResponse
|
|
18679
19904
|
*/
|
|
18680
19905
|
async modifyDBClusterParameters(request) {
|
|
18681
19906
|
let runtime = new $Util.RuntimeOptions({});
|
|
18682
19907
|
return await this.modifyDBClusterParametersWithOptions(request, runtime);
|
|
18683
19908
|
}
|
|
19909
|
+
/**
|
|
19910
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
19911
|
+
*
|
|
19912
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19913
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19914
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
19915
|
+
*/
|
|
18684
19916
|
async modifyDBClusterPrimaryZoneWithOptions(request, runtime) {
|
|
18685
19917
|
tea_util_1.default.validateModel(request);
|
|
18686
19918
|
let query = {};
|
|
@@ -18739,10 +19971,21 @@ class Client extends openapi_client_1.default {
|
|
|
18739
19971
|
});
|
|
18740
19972
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
18741
19973
|
}
|
|
19974
|
+
/**
|
|
19975
|
+
* @summary Modifies the primary zone of a PolarDB cluster.
|
|
19976
|
+
*
|
|
19977
|
+
* @param request ModifyDBClusterPrimaryZoneRequest
|
|
19978
|
+
* @return ModifyDBClusterPrimaryZoneResponse
|
|
19979
|
+
*/
|
|
18742
19980
|
async modifyDBClusterPrimaryZone(request) {
|
|
18743
19981
|
let runtime = new $Util.RuntimeOptions({});
|
|
18744
19982
|
return await this.modifyDBClusterPrimaryZoneWithOptions(request, runtime);
|
|
18745
19983
|
}
|
|
19984
|
+
/**
|
|
19985
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
19986
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19987
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
19988
|
+
*/
|
|
18746
19989
|
async modifyDBClusterResourceGroupWithOptions(request, runtime) {
|
|
18747
19990
|
tea_util_1.default.validateModel(request);
|
|
18748
19991
|
let query = {};
|
|
@@ -18783,10 +20026,21 @@ class Client extends openapi_client_1.default {
|
|
|
18783
20026
|
});
|
|
18784
20027
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
|
|
18785
20028
|
}
|
|
20029
|
+
/**
|
|
20030
|
+
* @param request ModifyDBClusterResourceGroupRequest
|
|
20031
|
+
* @return ModifyDBClusterResourceGroupResponse
|
|
20032
|
+
*/
|
|
18786
20033
|
async modifyDBClusterResourceGroup(request) {
|
|
18787
20034
|
let runtime = new $Util.RuntimeOptions({});
|
|
18788
20035
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
18789
20036
|
}
|
|
20037
|
+
/**
|
|
20038
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20039
|
+
*
|
|
20040
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20041
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20042
|
+
* @return ModifyDBClusterSSLResponse
|
|
20043
|
+
*/
|
|
18790
20044
|
async modifyDBClusterSSLWithOptions(request, runtime) {
|
|
18791
20045
|
tea_util_1.default.validateModel(request);
|
|
18792
20046
|
let query = {};
|
|
@@ -18833,10 +20087,23 @@ class Client extends openapi_client_1.default {
|
|
|
18833
20087
|
});
|
|
18834
20088
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
|
|
18835
20089
|
}
|
|
20090
|
+
/**
|
|
20091
|
+
* @summary Enables or disables Secure Sockets Layer (SSL) encryption or updates the Certificate Authorities (CA) certificate for a specified PolarDB cluster.
|
|
20092
|
+
*
|
|
20093
|
+
* @param request ModifyDBClusterSSLRequest
|
|
20094
|
+
* @return ModifyDBClusterSSLResponse
|
|
20095
|
+
*/
|
|
18836
20096
|
async modifyDBClusterSSL(request) {
|
|
18837
20097
|
let runtime = new $Util.RuntimeOptions({});
|
|
18838
20098
|
return await this.modifyDBClusterSSLWithOptions(request, runtime);
|
|
18839
20099
|
}
|
|
20100
|
+
/**
|
|
20101
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20102
|
+
*
|
|
20103
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20104
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20105
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20106
|
+
*/
|
|
18840
20107
|
async modifyDBClusterServerlessConfWithOptions(request, runtime) {
|
|
18841
20108
|
tea_util_1.default.validateModel(request);
|
|
18842
20109
|
let query = {};
|
|
@@ -18888,6 +20155,15 @@ class Client extends openapi_client_1.default {
|
|
|
18888
20155
|
if (!tea_util_1.default.isUnset(request.secondsUntilAutoPause)) {
|
|
18889
20156
|
query["SecondsUntilAutoPause"] = request.secondsUntilAutoPause;
|
|
18890
20157
|
}
|
|
20158
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuEnlargeThreshold)) {
|
|
20159
|
+
query["ServerlessRuleCpuEnlargeThreshold"] = request.serverlessRuleCpuEnlargeThreshold;
|
|
20160
|
+
}
|
|
20161
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleCpuShrinkThreshold)) {
|
|
20162
|
+
query["ServerlessRuleCpuShrinkThreshold"] = request.serverlessRuleCpuShrinkThreshold;
|
|
20163
|
+
}
|
|
20164
|
+
if (!tea_util_1.default.isUnset(request.serverlessRuleMode)) {
|
|
20165
|
+
query["ServerlessRuleMode"] = request.serverlessRuleMode;
|
|
20166
|
+
}
|
|
18891
20167
|
let req = new $OpenApi.OpenApiRequest({
|
|
18892
20168
|
query: openapi_util_1.default.query(query),
|
|
18893
20169
|
});
|
|
@@ -18904,10 +20180,23 @@ class Client extends openapi_client_1.default {
|
|
|
18904
20180
|
});
|
|
18905
20181
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
|
|
18906
20182
|
}
|
|
20183
|
+
/**
|
|
20184
|
+
* @summary Modifies the configurations of a serverless cluster.
|
|
20185
|
+
*
|
|
20186
|
+
* @param request ModifyDBClusterServerlessConfRequest
|
|
20187
|
+
* @return ModifyDBClusterServerlessConfResponse
|
|
20188
|
+
*/
|
|
18907
20189
|
async modifyDBClusterServerlessConf(request) {
|
|
18908
20190
|
let runtime = new $Util.RuntimeOptions({});
|
|
18909
20191
|
return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
|
|
18910
20192
|
}
|
|
20193
|
+
/**
|
|
20194
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20195
|
+
*
|
|
20196
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20197
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20198
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20199
|
+
*/
|
|
18911
20200
|
async modifyDBClusterStorageSpaceWithOptions(request, runtime) {
|
|
18912
20201
|
tea_util_1.default.validateModel(request);
|
|
18913
20202
|
let query = {};
|
|
@@ -18957,17 +20246,25 @@ class Client extends openapi_client_1.default {
|
|
|
18957
20246
|
});
|
|
18958
20247
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
18959
20248
|
}
|
|
20249
|
+
/**
|
|
20250
|
+
* @summary Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
20251
|
+
*
|
|
20252
|
+
* @param request ModifyDBClusterStorageSpaceRequest
|
|
20253
|
+
* @return ModifyDBClusterStorageSpaceResponse
|
|
20254
|
+
*/
|
|
18960
20255
|
async modifyDBClusterStorageSpace(request) {
|
|
18961
20256
|
let runtime = new $Util.RuntimeOptions({});
|
|
18962
20257
|
return await this.modifyDBClusterStorageSpaceWithOptions(request, runtime);
|
|
18963
20258
|
}
|
|
18964
20259
|
/**
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
20260
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20261
|
+
*
|
|
20262
|
+
* @description > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](https://help.aliyun.com/document_detail/153781.html).
|
|
20263
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20264
|
+
*
|
|
20265
|
+
* @param request ModifyDBClusterTDERequest
|
|
20266
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20267
|
+
* @return ModifyDBClusterTDEResponse
|
|
18971
20268
|
*/
|
|
18972
20269
|
async modifyDBClusterTDEWithOptions(request, runtime) {
|
|
18973
20270
|
tea_util_1.default.validateModel(request);
|
|
@@ -19016,16 +20313,25 @@ class Client extends openapi_client_1.default {
|
|
|
19016
20313
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
19017
20314
|
}
|
|
19018
20315
|
/**
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
20316
|
+
* @summary Enables the TDE feature or changes the encryption method for a specified PolarDB for MySQL cluster.
|
|
20317
|
+
*
|
|
20318
|
+
* @description > * To perform this operation, you must activate KMS first. For more information, see [Purchase a dedicated KMS instance](https://help.aliyun.com/document_detail/153781.html).
|
|
20319
|
+
* > * After TDE is enabled, you cannot disable TDE.
|
|
20320
|
+
*
|
|
20321
|
+
* @param request ModifyDBClusterTDERequest
|
|
20322
|
+
* @return ModifyDBClusterTDEResponse
|
|
19024
20323
|
*/
|
|
19025
20324
|
async modifyDBClusterTDE(request) {
|
|
19026
20325
|
let runtime = new $Util.RuntimeOptions({});
|
|
19027
20326
|
return await this.modifyDBClusterTDEWithOptions(request, runtime);
|
|
19028
20327
|
}
|
|
20328
|
+
/**
|
|
20329
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20330
|
+
*
|
|
20331
|
+
* @param request ModifyDBDescriptionRequest
|
|
20332
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20333
|
+
* @return ModifyDBDescriptionResponse
|
|
20334
|
+
*/
|
|
19029
20335
|
async modifyDBDescriptionWithOptions(request, runtime) {
|
|
19030
20336
|
tea_util_1.default.validateModel(request);
|
|
19031
20337
|
let query = {};
|
|
@@ -19066,10 +20372,23 @@ class Client extends openapi_client_1.default {
|
|
|
19066
20372
|
});
|
|
19067
20373
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
|
|
19068
20374
|
}
|
|
20375
|
+
/**
|
|
20376
|
+
* @summary Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
20377
|
+
*
|
|
20378
|
+
* @param request ModifyDBDescriptionRequest
|
|
20379
|
+
* @return ModifyDBDescriptionResponse
|
|
20380
|
+
*/
|
|
19069
20381
|
async modifyDBDescription(request) {
|
|
19070
20382
|
let runtime = new $Util.RuntimeOptions({});
|
|
19071
20383
|
return await this.modifyDBDescriptionWithOptions(request, runtime);
|
|
19072
20384
|
}
|
|
20385
|
+
/**
|
|
20386
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20387
|
+
*
|
|
20388
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20389
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20390
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20391
|
+
*/
|
|
19073
20392
|
async modifyDBEndpointAddressWithOptions(request, runtime) {
|
|
19074
20393
|
tea_util_1.default.validateModel(request);
|
|
19075
20394
|
let query = {};
|
|
@@ -19122,10 +20441,23 @@ class Client extends openapi_client_1.default {
|
|
|
19122
20441
|
});
|
|
19123
20442
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
|
|
19124
20443
|
}
|
|
20444
|
+
/**
|
|
20445
|
+
* @summary Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
20446
|
+
*
|
|
20447
|
+
* @param request ModifyDBEndpointAddressRequest
|
|
20448
|
+
* @return ModifyDBEndpointAddressResponse
|
|
20449
|
+
*/
|
|
19125
20450
|
async modifyDBEndpointAddress(request) {
|
|
19126
20451
|
let runtime = new $Util.RuntimeOptions({});
|
|
19127
20452
|
return await this.modifyDBEndpointAddressWithOptions(request, runtime);
|
|
19128
20453
|
}
|
|
20454
|
+
/**
|
|
20455
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20456
|
+
*
|
|
20457
|
+
* @param request ModifyDBNodeClassRequest
|
|
20458
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20459
|
+
* @return ModifyDBNodeClassResponse
|
|
20460
|
+
*/
|
|
19129
20461
|
async modifyDBNodeClassWithOptions(request, runtime) {
|
|
19130
20462
|
tea_util_1.default.validateModel(request);
|
|
19131
20463
|
let query = {};
|
|
@@ -19181,10 +20513,23 @@ class Client extends openapi_client_1.default {
|
|
|
19181
20513
|
});
|
|
19182
20514
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
|
|
19183
20515
|
}
|
|
20516
|
+
/**
|
|
20517
|
+
* @summary Changes the node specifications of a PolarDB cluster.
|
|
20518
|
+
*
|
|
20519
|
+
* @param request ModifyDBNodeClassRequest
|
|
20520
|
+
* @return ModifyDBNodeClassResponse
|
|
20521
|
+
*/
|
|
19184
20522
|
async modifyDBNodeClass(request) {
|
|
19185
20523
|
let runtime = new $Util.RuntimeOptions({});
|
|
19186
20524
|
return await this.modifyDBNodeClassWithOptions(request, runtime);
|
|
19187
20525
|
}
|
|
20526
|
+
/**
|
|
20527
|
+
* @summary Enables or disables a cluster node.
|
|
20528
|
+
*
|
|
20529
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20530
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20531
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20532
|
+
*/
|
|
19188
20533
|
async modifyDBNodeHotReplicaModeWithOptions(request, runtime) {
|
|
19189
20534
|
tea_util_1.default.validateModel(request);
|
|
19190
20535
|
let query = {};
|
|
@@ -19225,10 +20570,23 @@ class Client extends openapi_client_1.default {
|
|
|
19225
20570
|
});
|
|
19226
20571
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
19227
20572
|
}
|
|
20573
|
+
/**
|
|
20574
|
+
* @summary Enables or disables a cluster node.
|
|
20575
|
+
*
|
|
20576
|
+
* @param request ModifyDBNodeHotReplicaModeRequest
|
|
20577
|
+
* @return ModifyDBNodeHotReplicaModeResponse
|
|
20578
|
+
*/
|
|
19228
20579
|
async modifyDBNodeHotReplicaMode(request) {
|
|
19229
20580
|
let runtime = new $Util.RuntimeOptions({});
|
|
19230
20581
|
return await this.modifyDBNodeHotReplicaModeWithOptions(request, runtime);
|
|
19231
20582
|
}
|
|
20583
|
+
/**
|
|
20584
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20585
|
+
*
|
|
20586
|
+
* @param request ModifyDBNodesClassRequest
|
|
20587
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20588
|
+
* @return ModifyDBNodesClassResponse
|
|
20589
|
+
*/
|
|
19232
20590
|
async modifyDBNodesClassWithOptions(request, runtime) {
|
|
19233
20591
|
tea_util_1.default.validateModel(request);
|
|
19234
20592
|
let query = {};
|
|
@@ -19281,10 +20639,23 @@ class Client extends openapi_client_1.default {
|
|
|
19281
20639
|
});
|
|
19282
20640
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
|
|
19283
20641
|
}
|
|
20642
|
+
/**
|
|
20643
|
+
* @summary Changes the specifications of a node in a PolarDB cluster.
|
|
20644
|
+
*
|
|
20645
|
+
* @param request ModifyDBNodesClassRequest
|
|
20646
|
+
* @return ModifyDBNodesClassResponse
|
|
20647
|
+
*/
|
|
19284
20648
|
async modifyDBNodesClass(request) {
|
|
19285
20649
|
let runtime = new $Util.RuntimeOptions({});
|
|
19286
20650
|
return await this.modifyDBNodesClassWithOptions(request, runtime);
|
|
19287
20651
|
}
|
|
20652
|
+
/**
|
|
20653
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20654
|
+
*
|
|
20655
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20656
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20657
|
+
* @return ModifyDBNodesParametersResponse
|
|
20658
|
+
*/
|
|
19288
20659
|
async modifyDBNodesParametersWithOptions(request, runtime) {
|
|
19289
20660
|
tea_util_1.default.validateModel(request);
|
|
19290
20661
|
let query = {};
|
|
@@ -19337,10 +20708,23 @@ class Client extends openapi_client_1.default {
|
|
|
19337
20708
|
});
|
|
19338
20709
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
|
|
19339
20710
|
}
|
|
20711
|
+
/**
|
|
20712
|
+
* @summary Modifies the parameters of a node and applies them to specified nodes.
|
|
20713
|
+
*
|
|
20714
|
+
* @param request ModifyDBNodesParametersRequest
|
|
20715
|
+
* @return ModifyDBNodesParametersResponse
|
|
20716
|
+
*/
|
|
19340
20717
|
async modifyDBNodesParameters(request) {
|
|
19341
20718
|
let runtime = new $Util.RuntimeOptions({});
|
|
19342
20719
|
return await this.modifyDBNodesParametersWithOptions(request, runtime);
|
|
19343
20720
|
}
|
|
20721
|
+
/**
|
|
20722
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20723
|
+
*
|
|
20724
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20726
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20727
|
+
*/
|
|
19344
20728
|
async modifyGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19345
20729
|
tea_util_1.default.validateModel(request);
|
|
19346
20730
|
let query = {};
|
|
@@ -19384,10 +20768,23 @@ class Client extends openapi_client_1.default {
|
|
|
19384
20768
|
});
|
|
19385
20769
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
|
|
19386
20770
|
}
|
|
20771
|
+
/**
|
|
20772
|
+
* @summary Modifies a Global Database Network (GDN).
|
|
20773
|
+
*
|
|
20774
|
+
* @param request ModifyGlobalDatabaseNetworkRequest
|
|
20775
|
+
* @return ModifyGlobalDatabaseNetworkResponse
|
|
20776
|
+
*/
|
|
19387
20777
|
async modifyGlobalDatabaseNetwork(request) {
|
|
19388
20778
|
let runtime = new $Util.RuntimeOptions({});
|
|
19389
20779
|
return await this.modifyGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19390
20780
|
}
|
|
20781
|
+
/**
|
|
20782
|
+
* @summary Modifies an IP whitelist template.
|
|
20783
|
+
*
|
|
20784
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20785
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20786
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20787
|
+
*/
|
|
19391
20788
|
async modifyGlobalSecurityIPGroupWithOptions(request, runtime) {
|
|
19392
20789
|
tea_util_1.default.validateModel(request);
|
|
19393
20790
|
let query = {};
|
|
@@ -19437,10 +20834,23 @@ class Client extends openapi_client_1.default {
|
|
|
19437
20834
|
});
|
|
19438
20835
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
|
|
19439
20836
|
}
|
|
20837
|
+
/**
|
|
20838
|
+
* @summary Modifies an IP whitelist template.
|
|
20839
|
+
*
|
|
20840
|
+
* @param request ModifyGlobalSecurityIPGroupRequest
|
|
20841
|
+
* @return ModifyGlobalSecurityIPGroupResponse
|
|
20842
|
+
*/
|
|
19440
20843
|
async modifyGlobalSecurityIPGroup(request) {
|
|
19441
20844
|
let runtime = new $Util.RuntimeOptions({});
|
|
19442
20845
|
return await this.modifyGlobalSecurityIPGroupWithOptions(request, runtime);
|
|
19443
20846
|
}
|
|
20847
|
+
/**
|
|
20848
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20849
|
+
*
|
|
20850
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20851
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20852
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20853
|
+
*/
|
|
19444
20854
|
async modifyGlobalSecurityIPGroupNameWithOptions(request, runtime) {
|
|
19445
20855
|
tea_util_1.default.validateModel(request);
|
|
19446
20856
|
let query = {};
|
|
@@ -19487,10 +20897,23 @@ class Client extends openapi_client_1.default {
|
|
|
19487
20897
|
});
|
|
19488
20898
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
|
|
19489
20899
|
}
|
|
20900
|
+
/**
|
|
20901
|
+
* @summary Modifies the name of a global IP whitelist template.
|
|
20902
|
+
*
|
|
20903
|
+
* @param request ModifyGlobalSecurityIPGroupNameRequest
|
|
20904
|
+
* @return ModifyGlobalSecurityIPGroupNameResponse
|
|
20905
|
+
*/
|
|
19490
20906
|
async modifyGlobalSecurityIPGroupName(request) {
|
|
19491
20907
|
let runtime = new $Util.RuntimeOptions({});
|
|
19492
20908
|
return await this.modifyGlobalSecurityIPGroupNameWithOptions(request, runtime);
|
|
19493
20909
|
}
|
|
20910
|
+
/**
|
|
20911
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20912
|
+
*
|
|
20913
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20914
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20915
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20916
|
+
*/
|
|
19494
20917
|
async modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime) {
|
|
19495
20918
|
tea_util_1.default.validateModel(request);
|
|
19496
20919
|
let query = {};
|
|
@@ -19537,10 +20960,23 @@ class Client extends openapi_client_1.default {
|
|
|
19537
20960
|
});
|
|
19538
20961
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
|
|
19539
20962
|
}
|
|
20963
|
+
/**
|
|
20964
|
+
* @summary Modifies the relationship between a cluster and a global IP whitelist template.
|
|
20965
|
+
*
|
|
20966
|
+
* @param request ModifyGlobalSecurityIPGroupRelationRequest
|
|
20967
|
+
* @return ModifyGlobalSecurityIPGroupRelationResponse
|
|
20968
|
+
*/
|
|
19540
20969
|
async modifyGlobalSecurityIPGroupRelation(request) {
|
|
19541
20970
|
let runtime = new $Util.RuntimeOptions({});
|
|
19542
20971
|
return await this.modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime);
|
|
19543
20972
|
}
|
|
20973
|
+
/**
|
|
20974
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
20975
|
+
*
|
|
20976
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
20977
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20978
|
+
* @return ModifyLogBackupPolicyResponse
|
|
20979
|
+
*/
|
|
19544
20980
|
async modifyLogBackupPolicyWithOptions(request, runtime) {
|
|
19545
20981
|
tea_util_1.default.validateModel(request);
|
|
19546
20982
|
let query = {};
|
|
@@ -19584,10 +21020,23 @@ class Client extends openapi_client_1.default {
|
|
|
19584
21020
|
});
|
|
19585
21021
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
|
|
19586
21022
|
}
|
|
21023
|
+
/**
|
|
21024
|
+
* @summary Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
21025
|
+
*
|
|
21026
|
+
* @param request ModifyLogBackupPolicyRequest
|
|
21027
|
+
* @return ModifyLogBackupPolicyResponse
|
|
21028
|
+
*/
|
|
19587
21029
|
async modifyLogBackupPolicy(request) {
|
|
19588
21030
|
let runtime = new $Util.RuntimeOptions({});
|
|
19589
21031
|
return await this.modifyLogBackupPolicyWithOptions(request, runtime);
|
|
19590
21032
|
}
|
|
21033
|
+
/**
|
|
21034
|
+
* @summary Modifies or adds a data masking rule.
|
|
21035
|
+
*
|
|
21036
|
+
* @param request ModifyMaskingRulesRequest
|
|
21037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21038
|
+
* @return ModifyMaskingRulesResponse
|
|
21039
|
+
*/
|
|
19591
21040
|
async modifyMaskingRulesWithOptions(request, runtime) {
|
|
19592
21041
|
tea_util_1.default.validateModel(request);
|
|
19593
21042
|
let query = {};
|
|
@@ -19625,10 +21074,23 @@ class Client extends openapi_client_1.default {
|
|
|
19625
21074
|
});
|
|
19626
21075
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
|
|
19627
21076
|
}
|
|
21077
|
+
/**
|
|
21078
|
+
* @summary Modifies or adds a data masking rule.
|
|
21079
|
+
*
|
|
21080
|
+
* @param request ModifyMaskingRulesRequest
|
|
21081
|
+
* @return ModifyMaskingRulesResponse
|
|
21082
|
+
*/
|
|
19628
21083
|
async modifyMaskingRules(request) {
|
|
19629
21084
|
let runtime = new $Util.RuntimeOptions({});
|
|
19630
21085
|
return await this.modifyMaskingRulesWithOptions(request, runtime);
|
|
19631
21086
|
}
|
|
21087
|
+
/**
|
|
21088
|
+
* @summary Modifies the switching time of a pending event.
|
|
21089
|
+
*
|
|
21090
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21091
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21092
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21093
|
+
*/
|
|
19632
21094
|
async modifyPendingMaintenanceActionWithOptions(request, runtime) {
|
|
19633
21095
|
tea_util_1.default.validateModel(request);
|
|
19634
21096
|
let query = {};
|
|
@@ -19675,10 +21137,23 @@ class Client extends openapi_client_1.default {
|
|
|
19675
21137
|
});
|
|
19676
21138
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
|
|
19677
21139
|
}
|
|
21140
|
+
/**
|
|
21141
|
+
* @summary Modifies the switching time of a pending event.
|
|
21142
|
+
*
|
|
21143
|
+
* @param request ModifyPendingMaintenanceActionRequest
|
|
21144
|
+
* @return ModifyPendingMaintenanceActionResponse
|
|
21145
|
+
*/
|
|
19678
21146
|
async modifyPendingMaintenanceAction(request) {
|
|
19679
21147
|
let runtime = new $Util.RuntimeOptions({});
|
|
19680
21148
|
return await this.modifyPendingMaintenanceActionWithOptions(request, runtime);
|
|
19681
21149
|
}
|
|
21150
|
+
/**
|
|
21151
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21152
|
+
*
|
|
21153
|
+
* @param request OpenAITaskRequest
|
|
21154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21155
|
+
* @return OpenAITaskResponse
|
|
21156
|
+
*/
|
|
19682
21157
|
async openAITaskWithOptions(request, runtime) {
|
|
19683
21158
|
tea_util_1.default.validateModel(request);
|
|
19684
21159
|
let query = {};
|
|
@@ -19728,10 +21203,23 @@ class Client extends openapi_client_1.default {
|
|
|
19728
21203
|
});
|
|
19729
21204
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
|
|
19730
21205
|
}
|
|
21206
|
+
/**
|
|
21207
|
+
* @summary Enables the PolarDB for AI feature for a cluster.
|
|
21208
|
+
*
|
|
21209
|
+
* @param request OpenAITaskRequest
|
|
21210
|
+
* @return OpenAITaskResponse
|
|
21211
|
+
*/
|
|
19731
21212
|
async openAITask(request) {
|
|
19732
21213
|
let runtime = new $Util.RuntimeOptions({});
|
|
19733
21214
|
return await this.openAITaskWithOptions(request, runtime);
|
|
19734
21215
|
}
|
|
21216
|
+
/**
|
|
21217
|
+
* @summary Updates the storage usage of a cluster.
|
|
21218
|
+
*
|
|
21219
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21220
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21221
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21222
|
+
*/
|
|
19735
21223
|
async refreshDBClusterStorageUsageWithOptions(request, runtime) {
|
|
19736
21224
|
tea_util_1.default.validateModel(request);
|
|
19737
21225
|
let query = {};
|
|
@@ -19766,16 +21254,24 @@ class Client extends openapi_client_1.default {
|
|
|
19766
21254
|
});
|
|
19767
21255
|
return $tea.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
|
|
19768
21256
|
}
|
|
21257
|
+
/**
|
|
21258
|
+
* @summary Updates the storage usage of a cluster.
|
|
21259
|
+
*
|
|
21260
|
+
* @param request RefreshDBClusterStorageUsageRequest
|
|
21261
|
+
* @return RefreshDBClusterStorageUsageResponse
|
|
21262
|
+
*/
|
|
19769
21263
|
async refreshDBClusterStorageUsage(request) {
|
|
19770
21264
|
let runtime = new $Util.RuntimeOptions({});
|
|
19771
21265
|
return await this.refreshDBClusterStorageUsageWithOptions(request, runtime);
|
|
19772
21266
|
}
|
|
19773
21267
|
/**
|
|
19774
|
-
|
|
19775
|
-
|
|
19776
|
-
|
|
19777
|
-
|
|
19778
|
-
|
|
21268
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21269
|
+
*
|
|
21270
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21271
|
+
*
|
|
21272
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21273
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21274
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19779
21275
|
*/
|
|
19780
21276
|
async removeDBClusterFromGDNWithOptions(request, runtime) {
|
|
19781
21277
|
tea_util_1.default.validateModel(request);
|
|
@@ -19818,22 +21314,26 @@ class Client extends openapi_client_1.default {
|
|
|
19818
21314
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
19819
21315
|
}
|
|
19820
21316
|
/**
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
21317
|
+
* @summary Removes a secondary cluster from a GDN.
|
|
21318
|
+
*
|
|
21319
|
+
* @description > You cannot remove the primary cluster from a GDN.
|
|
21320
|
+
*
|
|
21321
|
+
* @param request RemoveDBClusterFromGDNRequest
|
|
21322
|
+
* @return RemoveDBClusterFromGDNResponse
|
|
19825
21323
|
*/
|
|
19826
21324
|
async removeDBClusterFromGDN(request) {
|
|
19827
21325
|
let runtime = new $Util.RuntimeOptions({});
|
|
19828
21326
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
19829
21327
|
}
|
|
19830
21328
|
/**
|
|
19831
|
-
|
|
19832
|
-
|
|
19833
|
-
|
|
19834
|
-
|
|
19835
|
-
|
|
19836
|
-
|
|
21329
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21330
|
+
*
|
|
21331
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21332
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
21333
|
+
*
|
|
21334
|
+
* @param request ResetAccountRequest
|
|
21335
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21336
|
+
* @return ResetAccountResponse
|
|
19837
21337
|
*/
|
|
19838
21338
|
async resetAccountWithOptions(request, runtime) {
|
|
19839
21339
|
tea_util_1.default.validateModel(request);
|
|
@@ -19876,16 +21376,25 @@ class Client extends openapi_client_1.default {
|
|
|
19876
21376
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
19877
21377
|
}
|
|
19878
21378
|
/**
|
|
19879
|
-
|
|
19880
|
-
|
|
19881
|
-
|
|
19882
|
-
|
|
19883
|
-
|
|
21379
|
+
* @summary Resets the permissions of a privileged account for a PolarDB cluster.
|
|
21380
|
+
*
|
|
21381
|
+
* @description >- Only PolarDB for MySQL clusters support this operation.
|
|
21382
|
+
* >- If the privileged account of your cluster encounters exceptions, you can call this operation to reset the permissions. For example, the permissions are accidentally revoked.
|
|
21383
|
+
*
|
|
21384
|
+
* @param request ResetAccountRequest
|
|
21385
|
+
* @return ResetAccountResponse
|
|
19884
21386
|
*/
|
|
19885
21387
|
async resetAccount(request) {
|
|
19886
21388
|
let runtime = new $Util.RuntimeOptions({});
|
|
19887
21389
|
return await this.resetAccountWithOptions(request, runtime);
|
|
19888
21390
|
}
|
|
21391
|
+
/**
|
|
21392
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21393
|
+
*
|
|
21394
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21395
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21396
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21397
|
+
*/
|
|
19889
21398
|
async resetGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
19890
21399
|
tea_util_1.default.validateModel(request);
|
|
19891
21400
|
let query = {};
|
|
@@ -19929,10 +21438,77 @@ class Client extends openapi_client_1.default {
|
|
|
19929
21438
|
});
|
|
19930
21439
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
19931
21440
|
}
|
|
21441
|
+
/**
|
|
21442
|
+
* @summary Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
21443
|
+
*
|
|
21444
|
+
* @param request ResetGlobalDatabaseNetworkRequest
|
|
21445
|
+
* @return ResetGlobalDatabaseNetworkResponse
|
|
21446
|
+
*/
|
|
19932
21447
|
async resetGlobalDatabaseNetwork(request) {
|
|
19933
21448
|
let runtime = new $Util.RuntimeOptions({});
|
|
19934
21449
|
return await this.resetGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
19935
21450
|
}
|
|
21451
|
+
/**
|
|
21452
|
+
* @summary 重启代理
|
|
21453
|
+
*
|
|
21454
|
+
* @param request RestartDBLinkRequest
|
|
21455
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21456
|
+
* @return RestartDBLinkResponse
|
|
21457
|
+
*/
|
|
21458
|
+
async restartDBLinkWithOptions(request, runtime) {
|
|
21459
|
+
tea_util_1.default.validateModel(request);
|
|
21460
|
+
let query = {};
|
|
21461
|
+
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
21462
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
21463
|
+
}
|
|
21464
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
21465
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
21466
|
+
}
|
|
21467
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
21468
|
+
query["OwnerId"] = request.ownerId;
|
|
21469
|
+
}
|
|
21470
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
21471
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
21472
|
+
}
|
|
21473
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
21474
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
21475
|
+
}
|
|
21476
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
21477
|
+
query["SecurityToken"] = request.securityToken;
|
|
21478
|
+
}
|
|
21479
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21480
|
+
query: openapi_util_1.default.query(query),
|
|
21481
|
+
});
|
|
21482
|
+
let params = new $OpenApi.Params({
|
|
21483
|
+
action: "RestartDBLink",
|
|
21484
|
+
version: "2017-08-01",
|
|
21485
|
+
protocol: "HTTPS",
|
|
21486
|
+
pathname: "/",
|
|
21487
|
+
method: "POST",
|
|
21488
|
+
authType: "AK",
|
|
21489
|
+
style: "RPC",
|
|
21490
|
+
reqBodyType: "formData",
|
|
21491
|
+
bodyType: "json",
|
|
21492
|
+
});
|
|
21493
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
21494
|
+
}
|
|
21495
|
+
/**
|
|
21496
|
+
* @summary 重启代理
|
|
21497
|
+
*
|
|
21498
|
+
* @param request RestartDBLinkRequest
|
|
21499
|
+
* @return RestartDBLinkResponse
|
|
21500
|
+
*/
|
|
21501
|
+
async restartDBLink(request) {
|
|
21502
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
21503
|
+
return await this.restartDBLinkWithOptions(request, runtime);
|
|
21504
|
+
}
|
|
21505
|
+
/**
|
|
21506
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21507
|
+
*
|
|
21508
|
+
* @param request RestartDBNodeRequest
|
|
21509
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21510
|
+
* @return RestartDBNodeResponse
|
|
21511
|
+
*/
|
|
19936
21512
|
async restartDBNodeWithOptions(request, runtime) {
|
|
19937
21513
|
tea_util_1.default.validateModel(request);
|
|
19938
21514
|
let query = {};
|
|
@@ -19967,10 +21543,23 @@ class Client extends openapi_client_1.default {
|
|
|
19967
21543
|
});
|
|
19968
21544
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
|
|
19969
21545
|
}
|
|
21546
|
+
/**
|
|
21547
|
+
* @summary Restarts a node in a PolarDB cluster.
|
|
21548
|
+
*
|
|
21549
|
+
* @param request RestartDBNodeRequest
|
|
21550
|
+
* @return RestartDBNodeResponse
|
|
21551
|
+
*/
|
|
19970
21552
|
async restartDBNode(request) {
|
|
19971
21553
|
let runtime = new $Util.RuntimeOptions({});
|
|
19972
21554
|
return await this.restartDBNodeWithOptions(request, runtime);
|
|
19973
21555
|
}
|
|
21556
|
+
/**
|
|
21557
|
+
* @summary Restores PolarDB databases and tables.
|
|
21558
|
+
*
|
|
21559
|
+
* @param request RestoreTableRequest
|
|
21560
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21561
|
+
* @return RestoreTableResponse
|
|
21562
|
+
*/
|
|
19974
21563
|
async restoreTableWithOptions(request, runtime) {
|
|
19975
21564
|
tea_util_1.default.validateModel(request);
|
|
19976
21565
|
let query = {};
|
|
@@ -20017,10 +21606,23 @@ class Client extends openapi_client_1.default {
|
|
|
20017
21606
|
});
|
|
20018
21607
|
return $tea.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
|
|
20019
21608
|
}
|
|
21609
|
+
/**
|
|
21610
|
+
* @summary Restores PolarDB databases and tables.
|
|
21611
|
+
*
|
|
21612
|
+
* @param request RestoreTableRequest
|
|
21613
|
+
* @return RestoreTableResponse
|
|
21614
|
+
*/
|
|
20020
21615
|
async restoreTable(request) {
|
|
20021
21616
|
let runtime = new $Util.RuntimeOptions({});
|
|
20022
21617
|
return await this.restoreTableWithOptions(request, runtime);
|
|
20023
21618
|
}
|
|
21619
|
+
/**
|
|
21620
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21621
|
+
*
|
|
21622
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21623
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21624
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21625
|
+
*/
|
|
20024
21626
|
async revokeAccountPrivilegeWithOptions(request, runtime) {
|
|
20025
21627
|
tea_util_1.default.validateModel(request);
|
|
20026
21628
|
let query = {};
|
|
@@ -20061,10 +21663,21 @@ class Client extends openapi_client_1.default {
|
|
|
20061
21663
|
});
|
|
20062
21664
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
|
|
20063
21665
|
}
|
|
21666
|
+
/**
|
|
21667
|
+
* @summary Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
21668
|
+
*
|
|
21669
|
+
* @param request RevokeAccountPrivilegeRequest
|
|
21670
|
+
* @return RevokeAccountPrivilegeResponse
|
|
21671
|
+
*/
|
|
20064
21672
|
async revokeAccountPrivilege(request) {
|
|
20065
21673
|
let runtime = new $Util.RuntimeOptions({});
|
|
20066
21674
|
return await this.revokeAccountPrivilegeWithOptions(request, runtime);
|
|
20067
21675
|
}
|
|
21676
|
+
/**
|
|
21677
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21678
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21679
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21680
|
+
*/
|
|
20068
21681
|
async switchOverGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
20069
21682
|
tea_util_1.default.validateModel(request);
|
|
20070
21683
|
let query = {};
|
|
@@ -20114,10 +21727,19 @@ class Client extends openapi_client_1.default {
|
|
|
20114
21727
|
});
|
|
20115
21728
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
|
|
20116
21729
|
}
|
|
21730
|
+
/**
|
|
21731
|
+
* @param request SwitchOverGlobalDatabaseNetworkRequest
|
|
21732
|
+
* @return SwitchOverGlobalDatabaseNetworkResponse
|
|
21733
|
+
*/
|
|
20117
21734
|
async switchOverGlobalDatabaseNetwork(request) {
|
|
20118
21735
|
let runtime = new $Util.RuntimeOptions({});
|
|
20119
21736
|
return await this.switchOverGlobalDatabaseNetworkWithOptions(request, runtime);
|
|
20120
21737
|
}
|
|
21738
|
+
/**
|
|
21739
|
+
* @param request TagResourcesRequest
|
|
21740
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21741
|
+
* @return TagResourcesResponse
|
|
21742
|
+
*/
|
|
20121
21743
|
async tagResourcesWithOptions(request, runtime) {
|
|
20122
21744
|
tea_util_1.default.validateModel(request);
|
|
20123
21745
|
let query = {};
|
|
@@ -20161,10 +21783,21 @@ class Client extends openapi_client_1.default {
|
|
|
20161
21783
|
});
|
|
20162
21784
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
20163
21785
|
}
|
|
21786
|
+
/**
|
|
21787
|
+
* @param request TagResourcesRequest
|
|
21788
|
+
* @return TagResourcesResponse
|
|
21789
|
+
*/
|
|
20164
21790
|
async tagResources(request) {
|
|
20165
21791
|
let runtime = new $Util.RuntimeOptions({});
|
|
20166
21792
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
20167
21793
|
}
|
|
21794
|
+
/**
|
|
21795
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21796
|
+
*
|
|
21797
|
+
* @param request TempModifyDBNodeRequest
|
|
21798
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21799
|
+
* @return TempModifyDBNodeResponse
|
|
21800
|
+
*/
|
|
20168
21801
|
async tempModifyDBNodeWithOptions(request, runtime) {
|
|
20169
21802
|
tea_util_1.default.validateModel(request);
|
|
20170
21803
|
let query = {};
|
|
@@ -20214,18 +21847,26 @@ class Client extends openapi_client_1.default {
|
|
|
20214
21847
|
});
|
|
20215
21848
|
return $tea.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
20216
21849
|
}
|
|
21850
|
+
/**
|
|
21851
|
+
* @summary Temporarily upgrades the configuration of a PolarDB cluster or adds one or more nodes to a cluster.
|
|
21852
|
+
*
|
|
21853
|
+
* @param request TempModifyDBNodeRequest
|
|
21854
|
+
* @return TempModifyDBNodeResponse
|
|
21855
|
+
*/
|
|
20217
21856
|
async tempModifyDBNode(request) {
|
|
20218
21857
|
let runtime = new $Util.RuntimeOptions({});
|
|
20219
21858
|
return await this.tempModifyDBNodeWithOptions(request, runtime);
|
|
20220
21859
|
}
|
|
20221
21860
|
/**
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20225
|
-
|
|
20226
|
-
|
|
20227
|
-
|
|
20228
|
-
|
|
21861
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21862
|
+
*
|
|
21863
|
+
* @description > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
21864
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21865
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21866
|
+
*
|
|
21867
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21868
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21869
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20229
21870
|
*/
|
|
20230
21871
|
async transformDBClusterPayTypeWithOptions(request, runtime) {
|
|
20231
21872
|
tea_util_1.default.validateModel(request);
|
|
@@ -20280,17 +21921,26 @@ class Client extends openapi_client_1.default {
|
|
|
20280
21921
|
return $tea.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
20281
21922
|
}
|
|
20282
21923
|
/**
|
|
20283
|
-
|
|
20284
|
-
|
|
20285
|
-
|
|
20286
|
-
|
|
20287
|
-
|
|
20288
|
-
|
|
21924
|
+
* @summary Changes the billing method of a PolarDB cluster.
|
|
21925
|
+
*
|
|
21926
|
+
* @description > * PolarDB clusters support the subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
|
|
21927
|
+
* >* You cannot change the billing method from pay-as-you-go to subscription if your account balance is insufficient.
|
|
21928
|
+
* >* If you change the billing method from subscription to pay-as-you-go, the system automatically refunds the balance of the prepaid subscription fees.
|
|
21929
|
+
*
|
|
21930
|
+
* @param request TransformDBClusterPayTypeRequest
|
|
21931
|
+
* @return TransformDBClusterPayTypeResponse
|
|
20289
21932
|
*/
|
|
20290
21933
|
async transformDBClusterPayType(request) {
|
|
20291
21934
|
let runtime = new $Util.RuntimeOptions({});
|
|
20292
21935
|
return await this.transformDBClusterPayTypeWithOptions(request, runtime);
|
|
20293
21936
|
}
|
|
21937
|
+
/**
|
|
21938
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
21939
|
+
*
|
|
21940
|
+
* @param request UntagResourcesRequest
|
|
21941
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21942
|
+
* @return UntagResourcesResponse
|
|
21943
|
+
*/
|
|
20294
21944
|
async untagResourcesWithOptions(request, runtime) {
|
|
20295
21945
|
tea_util_1.default.validateModel(request);
|
|
20296
21946
|
let query = {};
|
|
@@ -20337,17 +21987,25 @@ class Client extends openapi_client_1.default {
|
|
|
20337
21987
|
});
|
|
20338
21988
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
20339
21989
|
}
|
|
21990
|
+
/**
|
|
21991
|
+
* @summary Unbinds tags from PolarDB clusters.
|
|
21992
|
+
*
|
|
21993
|
+
* @param request UntagResourcesRequest
|
|
21994
|
+
* @return UntagResourcesResponse
|
|
21995
|
+
*/
|
|
20340
21996
|
async untagResources(request) {
|
|
20341
21997
|
let runtime = new $Util.RuntimeOptions({});
|
|
20342
21998
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
20343
21999
|
}
|
|
20344
22000
|
/**
|
|
20345
|
-
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
|
|
20349
|
-
|
|
20350
|
-
|
|
22001
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22002
|
+
*
|
|
22003
|
+
* @description > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
22004
|
+
* >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
22005
|
+
*
|
|
22006
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22008
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20351
22009
|
*/
|
|
20352
22010
|
async upgradeDBClusterVersionWithOptions(request, runtime) {
|
|
20353
22011
|
tea_util_1.default.validateModel(request);
|
|
@@ -20405,11 +22063,13 @@ class Client extends openapi_client_1.default {
|
|
|
20405
22063
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
20406
22064
|
}
|
|
20407
22065
|
/**
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
22066
|
+
* @summary Upgrades the kernel version of a PolarDB for MySQL cluster.
|
|
22067
|
+
*
|
|
22068
|
+
* @description > * You can update only the revision version of a PolarDB for MySQL cluster, for example, from 8.0.1.1.3 to 8.0.1.1.4.
|
|
22069
|
+
* >* You can use only your Alibaba Cloud account to create scheduled tasks that update the kernel version of a PolarDB for MySQL cluster. RAM users are not authorized to update the kernel version of a PolarDB for MySQL cluster.
|
|
22070
|
+
*
|
|
22071
|
+
* @param request UpgradeDBClusterVersionRequest
|
|
22072
|
+
* @return UpgradeDBClusterVersionResponse
|
|
20413
22073
|
*/
|
|
20414
22074
|
async upgradeDBClusterVersion(request) {
|
|
20415
22075
|
let runtime = new $Util.RuntimeOptions({});
|