@alicloud/polardb20170801 5.4.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +276 -46
- package/dist/client.js +1093 -161
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1330 -199
package/dist/client.js
CHANGED
|
@@ -44,10 +44,10 @@ exports.DescribeBackupsResponseBody = exports.DescribeBackupsRequest = exports.D
|
|
|
44
44
|
exports.DescribeDBClustersRequest = exports.DescribeDBClusterVersionResponse = exports.DescribeDBClusterVersionResponseBody = exports.DescribeDBClusterVersionRequest = exports.DescribeDBClusterTDEResponse = exports.DescribeDBClusterTDEResponseBody = exports.DescribeDBClusterTDERequest = exports.DescribeDBClusterServerlessConfResponse = exports.DescribeDBClusterServerlessConfResponseBody = exports.DescribeDBClusterServerlessConfRequest = exports.DescribeDBClusterSSLResponse = exports.DescribeDBClusterSSLResponseBody = exports.DescribeDBClusterSSLRequest = exports.DescribeDBClusterPerformanceResponse = exports.DescribeDBClusterPerformanceResponseBody = exports.DescribeDBClusterPerformanceRequest = exports.DescribeDBClusterParametersResponse = exports.DescribeDBClusterParametersResponseBody = exports.DescribeDBClusterParametersRequest = exports.DescribeDBClusterMonitorResponse = exports.DescribeDBClusterMonitorResponseBody = exports.DescribeDBClusterMonitorRequest = exports.DescribeDBClusterMigrationResponse = exports.DescribeDBClusterMigrationResponseBody = exports.DescribeDBClusterMigrationRequest = exports.DescribeDBClusterEndpointsResponse = exports.DescribeDBClusterEndpointsResponseBody = exports.DescribeDBClusterEndpointsRequest = exports.DescribeDBClusterConnectivityResponse = exports.DescribeDBClusterConnectivityResponseBody = exports.DescribeDBClusterConnectivityRequest = exports.DescribeDBClusterAvailableResourcesResponse = exports.DescribeDBClusterAvailableResourcesResponseBody = exports.DescribeDBClusterAvailableResourcesRequest = exports.DescribeDBClusterAuditLogCollectorResponse = exports.DescribeDBClusterAuditLogCollectorResponseBody = exports.DescribeDBClusterAuditLogCollectorRequest = exports.DescribeDBClusterAttributeResponse = exports.DescribeDBClusterAttributeResponseBody = exports.DescribeDBClusterAttributeRequest = exports.DescribeDBClusterAccessWhitelistResponse = exports.DescribeDBClusterAccessWhitelistResponseBody = exports.DescribeDBClusterAccessWhitelistRequest = exports.DescribeClassListResponse = exports.DescribeClassListResponseBody = exports.DescribeClassListRequest = exports.DescribeCharacterSetNameResponse = exports.DescribeCharacterSetNameResponseBody = exports.DescribeCharacterSetNameRequest = exports.DescribeBackupsResponse = void 0;
|
|
45
45
|
exports.DescribeLogBackupPolicyResponse = exports.DescribeLogBackupPolicyResponseBody = exports.DescribeLogBackupPolicyRequest = exports.DescribeLicenseOrdersResponse = exports.DescribeLicenseOrdersResponseBody = exports.DescribeLicenseOrdersRequest = exports.DescribeLicenseOrderDetailsResponse = exports.DescribeLicenseOrderDetailsResponseBody = exports.DescribeLicenseOrderDetailsRequest = exports.DescribeGlobalSecurityIPGroupRelationResponse = exports.DescribeGlobalSecurityIPGroupRelationResponseBody = exports.DescribeGlobalSecurityIPGroupRelationRequest = exports.DescribeGlobalSecurityIPGroupResponse = exports.DescribeGlobalSecurityIPGroupResponseBody = exports.DescribeGlobalSecurityIPGroupRequest = exports.DescribeGlobalDatabaseNetworksResponse = exports.DescribeGlobalDatabaseNetworksResponseBody = exports.DescribeGlobalDatabaseNetworksRequest = exports.DescribeGlobalDatabaseNetworkResponse = exports.DescribeGlobalDatabaseNetworkResponseBody = exports.DescribeGlobalDatabaseNetworkRequest = exports.DescribeDetachedBackupsResponse = exports.DescribeDetachedBackupsResponseBody = exports.DescribeDetachedBackupsRequest = exports.DescribeDatabasesResponse = exports.DescribeDatabasesResponseBody = exports.DescribeDatabasesRequest = exports.DescribeDasConfigResponse = exports.DescribeDasConfigResponseBody = exports.DescribeDasConfigRequest = exports.DescribeDBProxyPerformanceResponse = exports.DescribeDBProxyPerformanceResponseBody = exports.DescribeDBProxyPerformanceRequest = exports.DescribeDBNodesParametersResponse = exports.DescribeDBNodesParametersResponseBody = exports.DescribeDBNodesParametersRequest = exports.DescribeDBNodePerformanceResponse = exports.DescribeDBNodePerformanceResponseBody = exports.DescribeDBNodePerformanceRequest = exports.DescribeDBLinksResponse = exports.DescribeDBLinksResponseBody = exports.DescribeDBLinksRequest = exports.DescribeDBInitializeVariableResponse = exports.DescribeDBInitializeVariableResponseBody = exports.DescribeDBInitializeVariableRequest = exports.DescribeDBClustersWithBackupsResponse = exports.DescribeDBClustersWithBackupsResponseBody = exports.DescribeDBClustersWithBackupsRequest = exports.DescribeDBClustersResponse = exports.DescribeDBClustersResponseBody = void 0;
|
|
46
46
|
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 = 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 = void 0;
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
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 = void 0;
|
|
47
|
+
exports.ModifyDBClusterDeletionRequest = exports.ModifyDBClusterAuditLogCollectorResponse = exports.ModifyDBClusterAuditLogCollectorResponseBody = exports.ModifyDBClusterAuditLogCollectorRequest = exports.ModifyDBClusterArchResponse = exports.ModifyDBClusterArchResponseBody = exports.ModifyDBClusterArchRequest = exports.ModifyDBClusterAndNodesParametersResponse = exports.ModifyDBClusterAndNodesParametersResponseBody = exports.ModifyDBClusterAndNodesParametersRequest = 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.ModifyActiveOperationTasksResponse = exports.ModifyActiveOperationTasksResponseBody = exports.ModifyActiveOperationTasksRequest = 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 = void 0;
|
|
48
|
+
exports.ModifyDBNodeClassResponse = exports.ModifyDBNodeClassResponseBody = exports.ModifyDBNodeClassRequest = exports.ModifyDBEndpointAddressResponse = exports.ModifyDBEndpointAddressResponseBody = exports.ModifyDBEndpointAddressRequest = exports.ModifyDBDescriptionResponse = exports.ModifyDBDescriptionResponseBody = exports.ModifyDBDescriptionRequest = exports.ModifyDBClusterTDEResponse = exports.ModifyDBClusterTDEResponseBody = exports.ModifyDBClusterTDERequest = exports.ModifyDBClusterStorageSpaceResponse = exports.ModifyDBClusterStorageSpaceResponseBody = exports.ModifyDBClusterStorageSpaceRequest = exports.ModifyDBClusterStoragePerformanceResponse = exports.ModifyDBClusterStoragePerformanceResponseBody = exports.ModifyDBClusterStoragePerformanceRequest = 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 = void 0;
|
|
49
|
+
exports.RestartDBNodeResponseBody = exports.RestartDBNodeRequest = exports.RestartDBLinkResponse = exports.RestartDBLinkResponseBody = 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 = void 0;
|
|
50
|
+
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 = void 0;
|
|
51
51
|
// This file is auto-generated, don't edit it
|
|
52
52
|
/**
|
|
53
53
|
*/
|
|
@@ -908,6 +908,7 @@ class DescribeDBClusterEndpointsResponseBodyItemsAddressItems extends $dara.Mode
|
|
|
908
908
|
static names() {
|
|
909
909
|
return {
|
|
910
910
|
connectionString: 'ConnectionString',
|
|
911
|
+
dashboardUsed: 'DashboardUsed',
|
|
911
912
|
IPAddress: 'IPAddress',
|
|
912
913
|
netType: 'NetType',
|
|
913
914
|
port: 'Port',
|
|
@@ -920,6 +921,7 @@ class DescribeDBClusterEndpointsResponseBodyItemsAddressItems extends $dara.Mode
|
|
|
920
921
|
static types() {
|
|
921
922
|
return {
|
|
922
923
|
connectionString: 'string',
|
|
924
|
+
dashboardUsed: 'boolean',
|
|
923
925
|
IPAddress: 'string',
|
|
924
926
|
netType: 'string',
|
|
925
927
|
port: 'string',
|
|
@@ -3977,6 +3979,7 @@ class CreateAccountRequest extends $dara.Model {
|
|
|
3977
3979
|
clientToken: 'ClientToken',
|
|
3978
3980
|
DBClusterId: 'DBClusterId',
|
|
3979
3981
|
DBName: 'DBName',
|
|
3982
|
+
nodeType: 'NodeType',
|
|
3980
3983
|
ownerAccount: 'OwnerAccount',
|
|
3981
3984
|
ownerId: 'OwnerId',
|
|
3982
3985
|
privForAllDB: 'PrivForAllDB',
|
|
@@ -3994,6 +3997,7 @@ class CreateAccountRequest extends $dara.Model {
|
|
|
3994
3997
|
clientToken: 'string',
|
|
3995
3998
|
DBClusterId: 'string',
|
|
3996
3999
|
DBName: 'string',
|
|
4000
|
+
nodeType: 'string',
|
|
3997
4001
|
ownerAccount: 'string',
|
|
3998
4002
|
ownerId: 'number',
|
|
3999
4003
|
privForAllDB: 'string',
|
|
@@ -6309,12 +6313,14 @@ class DeleteMaskingRulesRequest extends $dara.Model {
|
|
|
6309
6313
|
static names() {
|
|
6310
6314
|
return {
|
|
6311
6315
|
DBClusterId: 'DBClusterId',
|
|
6316
|
+
interfaceVersion: 'InterfaceVersion',
|
|
6312
6317
|
ruleNameList: 'RuleNameList',
|
|
6313
6318
|
};
|
|
6314
6319
|
}
|
|
6315
6320
|
static types() {
|
|
6316
6321
|
return {
|
|
6317
6322
|
DBClusterId: 'string',
|
|
6323
|
+
interfaceVersion: 'string',
|
|
6318
6324
|
ruleNameList: 'string',
|
|
6319
6325
|
};
|
|
6320
6326
|
}
|
|
@@ -6547,6 +6553,7 @@ class DescribeAccountsRequest extends $dara.Model {
|
|
|
6547
6553
|
return {
|
|
6548
6554
|
accountName: 'AccountName',
|
|
6549
6555
|
DBClusterId: 'DBClusterId',
|
|
6556
|
+
nodeType: 'NodeType',
|
|
6550
6557
|
ownerAccount: 'OwnerAccount',
|
|
6551
6558
|
ownerId: 'OwnerId',
|
|
6552
6559
|
pageNumber: 'PageNumber',
|
|
@@ -6559,6 +6566,7 @@ class DescribeAccountsRequest extends $dara.Model {
|
|
|
6559
6566
|
return {
|
|
6560
6567
|
accountName: 'string',
|
|
6561
6568
|
DBClusterId: 'string',
|
|
6569
|
+
nodeType: 'string',
|
|
6562
6570
|
ownerAccount: 'string',
|
|
6563
6571
|
ownerId: 'number',
|
|
6564
6572
|
pageNumber: 'number',
|
|
@@ -6733,23 +6741,27 @@ class DescribeActivationCodesRequest extends $dara.Model {
|
|
|
6733
6741
|
static names() {
|
|
6734
6742
|
return {
|
|
6735
6743
|
aliyunOrderId: 'AliyunOrderId',
|
|
6744
|
+
macAddress: 'MacAddress',
|
|
6736
6745
|
ownerAccount: 'OwnerAccount',
|
|
6737
6746
|
ownerId: 'OwnerId',
|
|
6738
6747
|
pageNumber: 'PageNumber',
|
|
6739
6748
|
pageSize: 'PageSize',
|
|
6740
6749
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
6741
6750
|
resourceOwnerId: 'ResourceOwnerId',
|
|
6751
|
+
systemIdentifier: 'SystemIdentifier',
|
|
6742
6752
|
};
|
|
6743
6753
|
}
|
|
6744
6754
|
static types() {
|
|
6745
6755
|
return {
|
|
6746
6756
|
aliyunOrderId: 'string',
|
|
6757
|
+
macAddress: 'string',
|
|
6747
6758
|
ownerAccount: 'string',
|
|
6748
6759
|
ownerId: 'number',
|
|
6749
6760
|
pageNumber: 'number',
|
|
6750
6761
|
pageSize: 'number',
|
|
6751
6762
|
resourceOwnerAccount: 'string',
|
|
6752
6763
|
resourceOwnerId: 'number',
|
|
6764
|
+
systemIdentifier: 'string',
|
|
6753
6765
|
};
|
|
6754
6766
|
}
|
|
6755
6767
|
validate() {
|
|
@@ -10579,12 +10591,14 @@ class DescribeMaskingRulesRequest extends $dara.Model {
|
|
|
10579
10591
|
static names() {
|
|
10580
10592
|
return {
|
|
10581
10593
|
DBClusterId: 'DBClusterId',
|
|
10594
|
+
interfaceVersion: 'InterfaceVersion',
|
|
10582
10595
|
ruleNameList: 'RuleNameList',
|
|
10583
10596
|
};
|
|
10584
10597
|
}
|
|
10585
10598
|
static types() {
|
|
10586
10599
|
return {
|
|
10587
10600
|
DBClusterId: 'string',
|
|
10601
|
+
interfaceVersion: 'string',
|
|
10588
10602
|
ruleNameList: 'string',
|
|
10589
10603
|
};
|
|
10590
10604
|
}
|
|
@@ -13361,6 +13375,83 @@ class ModifyDBClusterAndNodesParametersResponse extends $dara.Model {
|
|
|
13361
13375
|
}
|
|
13362
13376
|
}
|
|
13363
13377
|
exports.ModifyDBClusterAndNodesParametersResponse = ModifyDBClusterAndNodesParametersResponse;
|
|
13378
|
+
class ModifyDBClusterArchRequest extends $dara.Model {
|
|
13379
|
+
static names() {
|
|
13380
|
+
return {
|
|
13381
|
+
DBClusterId: 'DBClusterId',
|
|
13382
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
13383
|
+
regionId: 'RegionId',
|
|
13384
|
+
standbyAZ: 'StandbyAZ',
|
|
13385
|
+
};
|
|
13386
|
+
}
|
|
13387
|
+
static types() {
|
|
13388
|
+
return {
|
|
13389
|
+
DBClusterId: 'string',
|
|
13390
|
+
hotStandbyCluster: 'string',
|
|
13391
|
+
regionId: 'string',
|
|
13392
|
+
standbyAZ: 'string',
|
|
13393
|
+
};
|
|
13394
|
+
}
|
|
13395
|
+
validate() {
|
|
13396
|
+
super.validate();
|
|
13397
|
+
}
|
|
13398
|
+
constructor(map) {
|
|
13399
|
+
super(map);
|
|
13400
|
+
}
|
|
13401
|
+
}
|
|
13402
|
+
exports.ModifyDBClusterArchRequest = ModifyDBClusterArchRequest;
|
|
13403
|
+
class ModifyDBClusterArchResponseBody extends $dara.Model {
|
|
13404
|
+
static names() {
|
|
13405
|
+
return {
|
|
13406
|
+
DBClusterId: 'DBClusterId',
|
|
13407
|
+
orderId: 'OrderId',
|
|
13408
|
+
requestId: 'RequestId',
|
|
13409
|
+
};
|
|
13410
|
+
}
|
|
13411
|
+
static types() {
|
|
13412
|
+
return {
|
|
13413
|
+
DBClusterId: 'string',
|
|
13414
|
+
orderId: 'string',
|
|
13415
|
+
requestId: 'string',
|
|
13416
|
+
};
|
|
13417
|
+
}
|
|
13418
|
+
validate() {
|
|
13419
|
+
super.validate();
|
|
13420
|
+
}
|
|
13421
|
+
constructor(map) {
|
|
13422
|
+
super(map);
|
|
13423
|
+
}
|
|
13424
|
+
}
|
|
13425
|
+
exports.ModifyDBClusterArchResponseBody = ModifyDBClusterArchResponseBody;
|
|
13426
|
+
class ModifyDBClusterArchResponse extends $dara.Model {
|
|
13427
|
+
static names() {
|
|
13428
|
+
return {
|
|
13429
|
+
headers: 'headers',
|
|
13430
|
+
statusCode: 'statusCode',
|
|
13431
|
+
body: 'body',
|
|
13432
|
+
};
|
|
13433
|
+
}
|
|
13434
|
+
static types() {
|
|
13435
|
+
return {
|
|
13436
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13437
|
+
statusCode: 'number',
|
|
13438
|
+
body: ModifyDBClusterArchResponseBody,
|
|
13439
|
+
};
|
|
13440
|
+
}
|
|
13441
|
+
validate() {
|
|
13442
|
+
if (this.headers) {
|
|
13443
|
+
$dara.Model.validateMap(this.headers);
|
|
13444
|
+
}
|
|
13445
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
13446
|
+
this.body.validate();
|
|
13447
|
+
}
|
|
13448
|
+
super.validate();
|
|
13449
|
+
}
|
|
13450
|
+
constructor(map) {
|
|
13451
|
+
super(map);
|
|
13452
|
+
}
|
|
13453
|
+
}
|
|
13454
|
+
exports.ModifyDBClusterArchResponse = ModifyDBClusterArchResponse;
|
|
13364
13455
|
class ModifyDBClusterAuditLogCollectorRequest extends $dara.Model {
|
|
13365
13456
|
static names() {
|
|
13366
13457
|
return {
|
|
@@ -15592,6 +15683,7 @@ class ModifyMaskingRulesRequest extends $dara.Model {
|
|
|
15592
15683
|
return {
|
|
15593
15684
|
DBClusterId: 'DBClusterId',
|
|
15594
15685
|
enable: 'Enable',
|
|
15686
|
+
interfaceVersion: 'InterfaceVersion',
|
|
15595
15687
|
ruleConfig: 'RuleConfig',
|
|
15596
15688
|
ruleName: 'RuleName',
|
|
15597
15689
|
ruleNameList: 'RuleNameList',
|
|
@@ -15602,6 +15694,7 @@ class ModifyMaskingRulesRequest extends $dara.Model {
|
|
|
15602
15694
|
return {
|
|
15603
15695
|
DBClusterId: 'string',
|
|
15604
15696
|
enable: 'string',
|
|
15697
|
+
interfaceVersion: 'string',
|
|
15605
15698
|
ruleConfig: 'string',
|
|
15606
15699
|
ruleName: 'string',
|
|
15607
15700
|
ruleNameList: 'string',
|
|
@@ -17123,7 +17216,12 @@ class Client extends openapi_core_1.default {
|
|
|
17123
17216
|
reqBodyType: "formData",
|
|
17124
17217
|
bodyType: "json",
|
|
17125
17218
|
});
|
|
17126
|
-
|
|
17219
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17220
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
|
|
17221
|
+
}
|
|
17222
|
+
else {
|
|
17223
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelActiveOperationTasksResponse({}));
|
|
17224
|
+
}
|
|
17127
17225
|
}
|
|
17128
17226
|
/**
|
|
17129
17227
|
* Cancels O\\&M events at a time.
|
|
@@ -17180,7 +17278,12 @@ class Client extends openapi_core_1.default {
|
|
|
17180
17278
|
reqBodyType: "formData",
|
|
17181
17279
|
bodyType: "json",
|
|
17182
17280
|
});
|
|
17183
|
-
|
|
17281
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17282
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
|
|
17283
|
+
}
|
|
17284
|
+
else {
|
|
17285
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelScheduleTasksResponse({}));
|
|
17286
|
+
}
|
|
17184
17287
|
}
|
|
17185
17288
|
/**
|
|
17186
17289
|
* Cancels scheduled tasks that are not yet started.
|
|
@@ -17234,7 +17337,12 @@ class Client extends openapi_core_1.default {
|
|
|
17234
17337
|
reqBodyType: "formData",
|
|
17235
17338
|
bodyType: "json",
|
|
17236
17339
|
});
|
|
17237
|
-
|
|
17340
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17341
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
|
|
17342
|
+
}
|
|
17343
|
+
else {
|
|
17344
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckAccountNameResponse({}));
|
|
17345
|
+
}
|
|
17238
17346
|
}
|
|
17239
17347
|
/**
|
|
17240
17348
|
* Checks whether an account name is valid or unique in a cluster.
|
|
@@ -17288,7 +17396,12 @@ class Client extends openapi_core_1.default {
|
|
|
17288
17396
|
reqBodyType: "formData",
|
|
17289
17397
|
bodyType: "json",
|
|
17290
17398
|
});
|
|
17291
|
-
|
|
17399
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17400
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
|
|
17401
|
+
}
|
|
17402
|
+
else {
|
|
17403
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckDBNameResponse({}));
|
|
17404
|
+
}
|
|
17292
17405
|
}
|
|
17293
17406
|
/**
|
|
17294
17407
|
* Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
|
|
@@ -17345,7 +17458,12 @@ class Client extends openapi_core_1.default {
|
|
|
17345
17458
|
reqBodyType: "formData",
|
|
17346
17459
|
bodyType: "json",
|
|
17347
17460
|
});
|
|
17348
|
-
|
|
17461
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17462
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
17463
|
+
}
|
|
17464
|
+
else {
|
|
17465
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckKMSAuthorizedResponse({}));
|
|
17466
|
+
}
|
|
17349
17467
|
}
|
|
17350
17468
|
/**
|
|
17351
17469
|
* Queries whether the cluster is authorized to use Key Management Service (KMS).
|
|
@@ -17393,7 +17511,12 @@ class Client extends openapi_core_1.default {
|
|
|
17393
17511
|
reqBodyType: "formData",
|
|
17394
17512
|
bodyType: "json",
|
|
17395
17513
|
});
|
|
17396
|
-
|
|
17514
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17515
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
17516
|
+
}
|
|
17517
|
+
else {
|
|
17518
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
|
|
17519
|
+
}
|
|
17397
17520
|
}
|
|
17398
17521
|
/**
|
|
17399
17522
|
* Checks whether a service-linked role (SLR) is created.
|
|
@@ -17447,7 +17570,12 @@ class Client extends openapi_core_1.default {
|
|
|
17447
17570
|
reqBodyType: "formData",
|
|
17448
17571
|
bodyType: "json",
|
|
17449
17572
|
});
|
|
17450
|
-
|
|
17573
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17574
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
|
|
17575
|
+
}
|
|
17576
|
+
else {
|
|
17577
|
+
return $dara.cast(await this.execute(params, req, runtime), new CloseAITaskResponse({}));
|
|
17578
|
+
}
|
|
17451
17579
|
}
|
|
17452
17580
|
/**
|
|
17453
17581
|
* 关闭DB4AI
|
|
@@ -17506,7 +17634,12 @@ class Client extends openapi_core_1.default {
|
|
|
17506
17634
|
reqBodyType: "formData",
|
|
17507
17635
|
bodyType: "json",
|
|
17508
17636
|
});
|
|
17509
|
-
|
|
17637
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17638
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
17639
|
+
}
|
|
17640
|
+
else {
|
|
17641
|
+
return $dara.cast(await this.execute(params, req, runtime), new CloseDBClusterMigrationResponse({}));
|
|
17642
|
+
}
|
|
17510
17643
|
}
|
|
17511
17644
|
/**
|
|
17512
17645
|
* Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
|
|
@@ -17557,6 +17690,9 @@ class Client extends openapi_core_1.default {
|
|
|
17557
17690
|
if (!$dara.isNull(request.DBName)) {
|
|
17558
17691
|
query["DBName"] = request.DBName;
|
|
17559
17692
|
}
|
|
17693
|
+
if (!$dara.isNull(request.nodeType)) {
|
|
17694
|
+
query["NodeType"] = request.nodeType;
|
|
17695
|
+
}
|
|
17560
17696
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
17561
17697
|
query["OwnerAccount"] = request.ownerAccount;
|
|
17562
17698
|
}
|
|
@@ -17586,7 +17722,12 @@ class Client extends openapi_core_1.default {
|
|
|
17586
17722
|
reqBodyType: "formData",
|
|
17587
17723
|
bodyType: "json",
|
|
17588
17724
|
});
|
|
17589
|
-
|
|
17725
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17726
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
|
|
17727
|
+
}
|
|
17728
|
+
else {
|
|
17729
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateAccountResponse({}));
|
|
17730
|
+
}
|
|
17590
17731
|
}
|
|
17591
17732
|
/**
|
|
17592
17733
|
* Creates a database account for a PolarDB cluster.
|
|
@@ -17649,7 +17790,12 @@ class Client extends openapi_core_1.default {
|
|
|
17649
17790
|
reqBodyType: "formData",
|
|
17650
17791
|
bodyType: "json",
|
|
17651
17792
|
});
|
|
17652
|
-
|
|
17793
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17794
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateActivationCodeResponse({}));
|
|
17795
|
+
}
|
|
17796
|
+
else {
|
|
17797
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateActivationCodeResponse({}));
|
|
17798
|
+
}
|
|
17653
17799
|
}
|
|
17654
17800
|
/**
|
|
17655
17801
|
* Generates a lightweight license activation code.
|
|
@@ -17709,7 +17855,12 @@ class Client extends openapi_core_1.default {
|
|
|
17709
17855
|
reqBodyType: "formData",
|
|
17710
17856
|
bodyType: "json",
|
|
17711
17857
|
});
|
|
17712
|
-
|
|
17858
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17859
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
|
|
17860
|
+
}
|
|
17861
|
+
else {
|
|
17862
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateBackupResponse({}));
|
|
17863
|
+
}
|
|
17713
17864
|
}
|
|
17714
17865
|
/**
|
|
17715
17866
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
@@ -17775,7 +17926,12 @@ class Client extends openapi_core_1.default {
|
|
|
17775
17926
|
reqBodyType: "formData",
|
|
17776
17927
|
bodyType: "json",
|
|
17777
17928
|
});
|
|
17778
|
-
|
|
17929
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17930
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
|
|
17931
|
+
}
|
|
17932
|
+
else {
|
|
17933
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateColdStorageInstanceResponse({}));
|
|
17934
|
+
}
|
|
17779
17935
|
}
|
|
17780
17936
|
/**
|
|
17781
17937
|
* Creates a cluster that is used to store cold data.
|
|
@@ -17985,7 +18141,12 @@ class Client extends openapi_core_1.default {
|
|
|
17985
18141
|
reqBodyType: "formData",
|
|
17986
18142
|
bodyType: "json",
|
|
17987
18143
|
});
|
|
17988
|
-
|
|
18144
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18145
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
|
|
18146
|
+
}
|
|
18147
|
+
else {
|
|
18148
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDBClusterResponse({}));
|
|
18149
|
+
}
|
|
17989
18150
|
}
|
|
17990
18151
|
/**
|
|
17991
18152
|
* CreateDBCluster.
|
|
@@ -18066,7 +18227,12 @@ class Client extends openapi_core_1.default {
|
|
|
18066
18227
|
reqBodyType: "formData",
|
|
18067
18228
|
bodyType: "json",
|
|
18068
18229
|
});
|
|
18069
|
-
|
|
18230
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18231
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
|
|
18232
|
+
}
|
|
18233
|
+
else {
|
|
18234
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDBClusterEndpointResponse({}));
|
|
18235
|
+
}
|
|
18070
18236
|
}
|
|
18071
18237
|
/**
|
|
18072
18238
|
* Creates a custom cluster endpoint for a PolarDB cluster.
|
|
@@ -18138,7 +18304,12 @@ class Client extends openapi_core_1.default {
|
|
|
18138
18304
|
reqBodyType: "formData",
|
|
18139
18305
|
bodyType: "json",
|
|
18140
18306
|
});
|
|
18141
|
-
|
|
18307
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18308
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
18309
|
+
}
|
|
18310
|
+
else {
|
|
18311
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDBEndpointAddressResponse({}));
|
|
18312
|
+
}
|
|
18142
18313
|
}
|
|
18143
18314
|
/**
|
|
18144
18315
|
* Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
|
|
@@ -18234,7 +18405,12 @@ class Client extends openapi_core_1.default {
|
|
|
18234
18405
|
reqBodyType: "formData",
|
|
18235
18406
|
bodyType: "json",
|
|
18236
18407
|
});
|
|
18237
|
-
|
|
18408
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18409
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
|
|
18410
|
+
}
|
|
18411
|
+
else {
|
|
18412
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDBLinkResponse({}));
|
|
18413
|
+
}
|
|
18238
18414
|
}
|
|
18239
18415
|
/**
|
|
18240
18416
|
* Creates a database link.
|
|
@@ -18315,7 +18491,12 @@ class Client extends openapi_core_1.default {
|
|
|
18315
18491
|
reqBodyType: "formData",
|
|
18316
18492
|
bodyType: "json",
|
|
18317
18493
|
});
|
|
18318
|
-
|
|
18494
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18495
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
|
|
18496
|
+
}
|
|
18497
|
+
else {
|
|
18498
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDBNodesResponse({}));
|
|
18499
|
+
}
|
|
18319
18500
|
}
|
|
18320
18501
|
/**
|
|
18321
18502
|
* Adds a read-only node to a PolarDB cluster.
|
|
@@ -18392,7 +18573,12 @@ class Client extends openapi_core_1.default {
|
|
|
18392
18573
|
reqBodyType: "formData",
|
|
18393
18574
|
bodyType: "json",
|
|
18394
18575
|
});
|
|
18395
|
-
|
|
18576
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18577
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
|
|
18578
|
+
}
|
|
18579
|
+
else {
|
|
18580
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateDatabaseResponse({}));
|
|
18581
|
+
}
|
|
18396
18582
|
}
|
|
18397
18583
|
/**
|
|
18398
18584
|
* Creates a database for a PolarDB cluster.
|
|
@@ -18463,7 +18649,12 @@ class Client extends openapi_core_1.default {
|
|
|
18463
18649
|
reqBodyType: "formData",
|
|
18464
18650
|
bodyType: "json",
|
|
18465
18651
|
});
|
|
18466
|
-
|
|
18652
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18653
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
18654
|
+
}
|
|
18655
|
+
else {
|
|
18656
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
|
|
18657
|
+
}
|
|
18467
18658
|
}
|
|
18468
18659
|
/**
|
|
18469
18660
|
* Creates a global database network (GDN).
|
|
@@ -18529,7 +18720,12 @@ class Client extends openapi_core_1.default {
|
|
|
18529
18720
|
reqBodyType: "formData",
|
|
18530
18721
|
bodyType: "json",
|
|
18531
18722
|
});
|
|
18532
|
-
|
|
18723
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18724
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
|
|
18725
|
+
}
|
|
18726
|
+
else {
|
|
18727
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
|
|
18728
|
+
}
|
|
18533
18729
|
}
|
|
18534
18730
|
/**
|
|
18535
18731
|
* Creates a global IP whitelist template.
|
|
@@ -18580,7 +18776,12 @@ class Client extends openapi_core_1.default {
|
|
|
18580
18776
|
reqBodyType: "formData",
|
|
18581
18777
|
bodyType: "json",
|
|
18582
18778
|
});
|
|
18583
|
-
|
|
18779
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18780
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
|
|
18781
|
+
}
|
|
18782
|
+
else {
|
|
18783
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
|
|
18784
|
+
}
|
|
18584
18785
|
}
|
|
18585
18786
|
/**
|
|
18586
18787
|
* Creates or obtains a virtual license order.
|
|
@@ -18653,7 +18854,12 @@ class Client extends openapi_core_1.default {
|
|
|
18653
18854
|
reqBodyType: "formData",
|
|
18654
18855
|
bodyType: "json",
|
|
18655
18856
|
});
|
|
18656
|
-
|
|
18857
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18858
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
18859
|
+
}
|
|
18860
|
+
else {
|
|
18861
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateParameterGroupResponse({}));
|
|
18862
|
+
}
|
|
18657
18863
|
}
|
|
18658
18864
|
/**
|
|
18659
18865
|
* Creates a parameter template.
|
|
@@ -18705,7 +18911,12 @@ class Client extends openapi_core_1.default {
|
|
|
18705
18911
|
reqBodyType: "formData",
|
|
18706
18912
|
bodyType: "json",
|
|
18707
18913
|
});
|
|
18708
|
-
|
|
18914
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18915
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
18916
|
+
}
|
|
18917
|
+
else {
|
|
18918
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
|
|
18919
|
+
}
|
|
18709
18920
|
}
|
|
18710
18921
|
/**
|
|
18711
18922
|
* Creates a service-linked role (SLR).
|
|
@@ -18768,7 +18979,12 @@ class Client extends openapi_core_1.default {
|
|
|
18768
18979
|
reqBodyType: "formData",
|
|
18769
18980
|
bodyType: "json",
|
|
18770
18981
|
});
|
|
18771
|
-
|
|
18982
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18983
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
|
|
18984
|
+
}
|
|
18985
|
+
else {
|
|
18986
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateStoragePlanResponse({}));
|
|
18987
|
+
}
|
|
18772
18988
|
}
|
|
18773
18989
|
/**
|
|
18774
18990
|
* Purchases a storage plan.
|
|
@@ -18825,7 +19041,12 @@ class Client extends openapi_core_1.default {
|
|
|
18825
19041
|
reqBodyType: "formData",
|
|
18826
19042
|
bodyType: "json",
|
|
18827
19043
|
});
|
|
18828
|
-
|
|
19044
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19045
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
|
|
19046
|
+
}
|
|
19047
|
+
else {
|
|
19048
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteAccountResponse({}));
|
|
19049
|
+
}
|
|
18829
19050
|
}
|
|
18830
19051
|
/**
|
|
18831
19052
|
* Deletes a database account for a PolarDB cluster.
|
|
@@ -18889,7 +19110,12 @@ class Client extends openapi_core_1.default {
|
|
|
18889
19110
|
reqBodyType: "formData",
|
|
18890
19111
|
bodyType: "json",
|
|
18891
19112
|
});
|
|
18892
|
-
|
|
19113
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19114
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
|
|
19115
|
+
}
|
|
19116
|
+
else {
|
|
19117
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteBackupResponse({}));
|
|
19118
|
+
}
|
|
18893
19119
|
}
|
|
18894
19120
|
/**
|
|
18895
19121
|
* Deletes the backup sets of a PolarDB cluster.
|
|
@@ -18950,7 +19176,12 @@ class Client extends openapi_core_1.default {
|
|
|
18950
19176
|
reqBodyType: "formData",
|
|
18951
19177
|
bodyType: "json",
|
|
18952
19178
|
});
|
|
18953
|
-
|
|
19179
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19180
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
19181
|
+
}
|
|
19182
|
+
else {
|
|
19183
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDBClusterResponse({}));
|
|
19184
|
+
}
|
|
18954
19185
|
}
|
|
18955
19186
|
/**
|
|
18956
19187
|
* Releases a pay-as-you-go PolarDB cluster.
|
|
@@ -19004,7 +19235,12 @@ class Client extends openapi_core_1.default {
|
|
|
19004
19235
|
reqBodyType: "formData",
|
|
19005
19236
|
bodyType: "json",
|
|
19006
19237
|
});
|
|
19007
|
-
|
|
19238
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19239
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
|
|
19240
|
+
}
|
|
19241
|
+
else {
|
|
19242
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
|
|
19243
|
+
}
|
|
19008
19244
|
}
|
|
19009
19245
|
/**
|
|
19010
19246
|
* Releases a custom cluster endpoint of a PolarDB cluster.
|
|
@@ -19065,7 +19301,12 @@ class Client extends openapi_core_1.default {
|
|
|
19065
19301
|
reqBodyType: "formData",
|
|
19066
19302
|
bodyType: "json",
|
|
19067
19303
|
});
|
|
19068
|
-
|
|
19304
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19305
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
19306
|
+
}
|
|
19307
|
+
else {
|
|
19308
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
|
|
19309
|
+
}
|
|
19069
19310
|
}
|
|
19070
19311
|
/**
|
|
19071
19312
|
* Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
|
|
@@ -19123,7 +19364,12 @@ class Client extends openapi_core_1.default {
|
|
|
19123
19364
|
reqBodyType: "formData",
|
|
19124
19365
|
bodyType: "json",
|
|
19125
19366
|
});
|
|
19126
|
-
|
|
19367
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19368
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
|
|
19369
|
+
}
|
|
19370
|
+
else {
|
|
19371
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDBLinkResponse({}));
|
|
19372
|
+
}
|
|
19127
19373
|
}
|
|
19128
19374
|
/**
|
|
19129
19375
|
* Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
@@ -19183,7 +19429,12 @@ class Client extends openapi_core_1.default {
|
|
|
19183
19429
|
reqBodyType: "formData",
|
|
19184
19430
|
bodyType: "json",
|
|
19185
19431
|
});
|
|
19186
|
-
|
|
19432
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19433
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
|
|
19434
|
+
}
|
|
19435
|
+
else {
|
|
19436
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDBNodesResponse({}));
|
|
19437
|
+
}
|
|
19187
19438
|
}
|
|
19188
19439
|
/**
|
|
19189
19440
|
* Deletes a read-only node from a PolarDB cluster.
|
|
@@ -19241,7 +19492,12 @@ class Client extends openapi_core_1.default {
|
|
|
19241
19492
|
reqBodyType: "formData",
|
|
19242
19493
|
bodyType: "json",
|
|
19243
19494
|
});
|
|
19244
|
-
|
|
19495
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19496
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
19497
|
+
}
|
|
19498
|
+
else {
|
|
19499
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteDatabaseResponse({}));
|
|
19500
|
+
}
|
|
19245
19501
|
}
|
|
19246
19502
|
/**
|
|
19247
19503
|
* Deletes a database from a PolarDB cluster.
|
|
@@ -19305,7 +19561,12 @@ class Client extends openapi_core_1.default {
|
|
|
19305
19561
|
reqBodyType: "formData",
|
|
19306
19562
|
bodyType: "json",
|
|
19307
19563
|
});
|
|
19308
|
-
|
|
19564
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19565
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
19566
|
+
}
|
|
19567
|
+
else {
|
|
19568
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
|
|
19569
|
+
}
|
|
19309
19570
|
}
|
|
19310
19571
|
/**
|
|
19311
19572
|
* Deletes a global database network (GDN).
|
|
@@ -19371,7 +19632,12 @@ class Client extends openapi_core_1.default {
|
|
|
19371
19632
|
reqBodyType: "formData",
|
|
19372
19633
|
bodyType: "json",
|
|
19373
19634
|
});
|
|
19374
|
-
|
|
19635
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19636
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
|
|
19637
|
+
}
|
|
19638
|
+
else {
|
|
19639
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
|
|
19640
|
+
}
|
|
19375
19641
|
}
|
|
19376
19642
|
/**
|
|
19377
19643
|
* Deletes a global IP whitelist template.
|
|
@@ -19396,6 +19662,9 @@ class Client extends openapi_core_1.default {
|
|
|
19396
19662
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
19397
19663
|
query["DBClusterId"] = request.DBClusterId;
|
|
19398
19664
|
}
|
|
19665
|
+
if (!$dara.isNull(request.interfaceVersion)) {
|
|
19666
|
+
query["InterfaceVersion"] = request.interfaceVersion;
|
|
19667
|
+
}
|
|
19399
19668
|
if (!$dara.isNull(request.ruleNameList)) {
|
|
19400
19669
|
query["RuleNameList"] = request.ruleNameList;
|
|
19401
19670
|
}
|
|
@@ -19413,7 +19682,12 @@ class Client extends openapi_core_1.default {
|
|
|
19413
19682
|
reqBodyType: "formData",
|
|
19414
19683
|
bodyType: "json",
|
|
19415
19684
|
});
|
|
19416
|
-
|
|
19685
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19686
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
|
|
19687
|
+
}
|
|
19688
|
+
else {
|
|
19689
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteMaskingRulesResponse({}));
|
|
19690
|
+
}
|
|
19417
19691
|
}
|
|
19418
19692
|
/**
|
|
19419
19693
|
* Deletes a data masking rule.
|
|
@@ -19474,7 +19748,12 @@ class Client extends openapi_core_1.default {
|
|
|
19474
19748
|
reqBodyType: "formData",
|
|
19475
19749
|
bodyType: "json",
|
|
19476
19750
|
});
|
|
19477
|
-
|
|
19751
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19752
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
19753
|
+
}
|
|
19754
|
+
else {
|
|
19755
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteParameterGroupResponse({}));
|
|
19756
|
+
}
|
|
19478
19757
|
}
|
|
19479
19758
|
/**
|
|
19480
19759
|
* Deletes a parameter template of a PolarDB cluster.
|
|
@@ -19514,7 +19793,12 @@ class Client extends openapi_core_1.default {
|
|
|
19514
19793
|
reqBodyType: "formData",
|
|
19515
19794
|
bodyType: "json",
|
|
19516
19795
|
});
|
|
19517
|
-
|
|
19796
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19797
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
|
|
19798
|
+
}
|
|
19799
|
+
else {
|
|
19800
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAITaskStatusResponse({}));
|
|
19801
|
+
}
|
|
19518
19802
|
}
|
|
19519
19803
|
/**
|
|
19520
19804
|
* Queries the status of the PolarDB for AI feature.
|
|
@@ -19542,6 +19826,9 @@ class Client extends openapi_core_1.default {
|
|
|
19542
19826
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
19543
19827
|
query["DBClusterId"] = request.DBClusterId;
|
|
19544
19828
|
}
|
|
19829
|
+
if (!$dara.isNull(request.nodeType)) {
|
|
19830
|
+
query["NodeType"] = request.nodeType;
|
|
19831
|
+
}
|
|
19545
19832
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
19546
19833
|
query["OwnerAccount"] = request.ownerAccount;
|
|
19547
19834
|
}
|
|
@@ -19574,7 +19861,12 @@ class Client extends openapi_core_1.default {
|
|
|
19574
19861
|
reqBodyType: "formData",
|
|
19575
19862
|
bodyType: "json",
|
|
19576
19863
|
});
|
|
19577
|
-
|
|
19864
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19865
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
|
|
19866
|
+
}
|
|
19867
|
+
else {
|
|
19868
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAccountsResponse({}));
|
|
19869
|
+
}
|
|
19578
19870
|
}
|
|
19579
19871
|
/**
|
|
19580
19872
|
* Queries information about a database account of a PolarDB cluster.
|
|
@@ -19628,7 +19920,12 @@ class Client extends openapi_core_1.default {
|
|
|
19628
19920
|
reqBodyType: "formData",
|
|
19629
19921
|
bodyType: "json",
|
|
19630
19922
|
});
|
|
19631
|
-
|
|
19923
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19924
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodeDetailsResponse({}));
|
|
19925
|
+
}
|
|
19926
|
+
else {
|
|
19927
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeActivationCodeDetailsResponse({}));
|
|
19928
|
+
}
|
|
19632
19929
|
}
|
|
19633
19930
|
/**
|
|
19634
19931
|
* Queries the details of an activation code.
|
|
@@ -19653,6 +19950,9 @@ class Client extends openapi_core_1.default {
|
|
|
19653
19950
|
if (!$dara.isNull(request.aliyunOrderId)) {
|
|
19654
19951
|
query["AliyunOrderId"] = request.aliyunOrderId;
|
|
19655
19952
|
}
|
|
19953
|
+
if (!$dara.isNull(request.macAddress)) {
|
|
19954
|
+
query["MacAddress"] = request.macAddress;
|
|
19955
|
+
}
|
|
19656
19956
|
if (!$dara.isNull(request.ownerAccount)) {
|
|
19657
19957
|
query["OwnerAccount"] = request.ownerAccount;
|
|
19658
19958
|
}
|
|
@@ -19671,6 +19971,9 @@ class Client extends openapi_core_1.default {
|
|
|
19671
19971
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
19672
19972
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
19673
19973
|
}
|
|
19974
|
+
if (!$dara.isNull(request.systemIdentifier)) {
|
|
19975
|
+
query["SystemIdentifier"] = request.systemIdentifier;
|
|
19976
|
+
}
|
|
19674
19977
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
19675
19978
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
19676
19979
|
});
|
|
@@ -19685,7 +19988,12 @@ class Client extends openapi_core_1.default {
|
|
|
19685
19988
|
reqBodyType: "formData",
|
|
19686
19989
|
bodyType: "json",
|
|
19687
19990
|
});
|
|
19688
|
-
|
|
19991
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19992
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodesResponse({}));
|
|
19993
|
+
}
|
|
19994
|
+
else {
|
|
19995
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeActivationCodesResponse({}));
|
|
19996
|
+
}
|
|
19689
19997
|
}
|
|
19690
19998
|
/**
|
|
19691
19999
|
* Queries a list of activation codes.
|
|
@@ -19766,7 +20074,12 @@ class Client extends openapi_core_1.default {
|
|
|
19766
20074
|
reqBodyType: "formData",
|
|
19767
20075
|
bodyType: "json",
|
|
19768
20076
|
});
|
|
19769
|
-
|
|
20077
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20078
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
|
|
20079
|
+
}
|
|
20080
|
+
else {
|
|
20081
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
|
|
20082
|
+
}
|
|
19770
20083
|
}
|
|
19771
20084
|
/**
|
|
19772
20085
|
* 用户侧查询运维任务
|
|
@@ -19829,7 +20142,12 @@ class Client extends openapi_core_1.default {
|
|
|
19829
20142
|
reqBodyType: "formData",
|
|
19830
20143
|
bodyType: "json",
|
|
19831
20144
|
});
|
|
19832
|
-
|
|
20145
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20146
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
|
|
20147
|
+
}
|
|
20148
|
+
else {
|
|
20149
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
|
|
20150
|
+
}
|
|
19833
20151
|
}
|
|
19834
20152
|
/**
|
|
19835
20153
|
* Queries the auto-renewal attributes of a subscription PolarDB cluster.
|
|
@@ -19895,7 +20213,12 @@ class Client extends openapi_core_1.default {
|
|
|
19895
20213
|
reqBodyType: "formData",
|
|
19896
20214
|
bodyType: "json",
|
|
19897
20215
|
});
|
|
19898
|
-
|
|
20216
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20217
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
|
|
20218
|
+
}
|
|
20219
|
+
else {
|
|
20220
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupLogsResponse({}));
|
|
20221
|
+
}
|
|
19899
20222
|
}
|
|
19900
20223
|
/**
|
|
19901
20224
|
* Queries backup logs and the URLs to download the backup logs.
|
|
@@ -19946,7 +20269,12 @@ class Client extends openapi_core_1.default {
|
|
|
19946
20269
|
reqBodyType: "formData",
|
|
19947
20270
|
bodyType: "json",
|
|
19948
20271
|
});
|
|
19949
|
-
|
|
20272
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20273
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
20274
|
+
}
|
|
20275
|
+
else {
|
|
20276
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupPolicyResponse({}));
|
|
20277
|
+
}
|
|
19950
20278
|
}
|
|
19951
20279
|
/**
|
|
19952
20280
|
* Queries the automatic backup policy of a PolarDB cluster.
|
|
@@ -20003,7 +20331,12 @@ class Client extends openapi_core_1.default {
|
|
|
20003
20331
|
reqBodyType: "formData",
|
|
20004
20332
|
bodyType: "json",
|
|
20005
20333
|
});
|
|
20006
|
-
|
|
20334
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20335
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
|
|
20336
|
+
}
|
|
20337
|
+
else {
|
|
20338
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupTasksResponse({}));
|
|
20339
|
+
}
|
|
20007
20340
|
}
|
|
20008
20341
|
/**
|
|
20009
20342
|
* Queries the backup tasks of a PolarDB cluster.
|
|
@@ -20078,7 +20411,12 @@ class Client extends openapi_core_1.default {
|
|
|
20078
20411
|
reqBodyType: "formData",
|
|
20079
20412
|
bodyType: "json",
|
|
20080
20413
|
});
|
|
20081
|
-
|
|
20414
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20415
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
|
|
20416
|
+
}
|
|
20417
|
+
else {
|
|
20418
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupsResponse({}));
|
|
20419
|
+
}
|
|
20082
20420
|
}
|
|
20083
20421
|
/**
|
|
20084
20422
|
* Queries the backup details of a PolarDB cluster.
|
|
@@ -20132,7 +20470,12 @@ class Client extends openapi_core_1.default {
|
|
|
20132
20470
|
reqBodyType: "formData",
|
|
20133
20471
|
bodyType: "json",
|
|
20134
20472
|
});
|
|
20135
|
-
|
|
20473
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20474
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
|
|
20475
|
+
}
|
|
20476
|
+
else {
|
|
20477
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeCharacterSetNameResponse({}));
|
|
20478
|
+
}
|
|
20136
20479
|
}
|
|
20137
20480
|
/**
|
|
20138
20481
|
* Queries character sets that are supported by a PolarDB for MySQL cluster.
|
|
@@ -20195,7 +20538,12 @@ class Client extends openapi_core_1.default {
|
|
|
20195
20538
|
reqBodyType: "formData",
|
|
20196
20539
|
bodyType: "json",
|
|
20197
20540
|
});
|
|
20198
|
-
|
|
20541
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20542
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
|
|
20543
|
+
}
|
|
20544
|
+
else {
|
|
20545
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClassListResponse({}));
|
|
20546
|
+
}
|
|
20199
20547
|
}
|
|
20200
20548
|
/**
|
|
20201
20549
|
* Queries the specifications of a cluster.
|
|
@@ -20246,7 +20594,12 @@ class Client extends openapi_core_1.default {
|
|
|
20246
20594
|
reqBodyType: "formData",
|
|
20247
20595
|
bodyType: "json",
|
|
20248
20596
|
});
|
|
20249
|
-
|
|
20597
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20598
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
|
|
20599
|
+
}
|
|
20600
|
+
else {
|
|
20601
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
|
|
20602
|
+
}
|
|
20250
20603
|
}
|
|
20251
20604
|
/**
|
|
20252
20605
|
* Queries the IP address whitelists and security groups of a PolarDB cluster.
|
|
@@ -20300,7 +20653,12 @@ class Client extends openapi_core_1.default {
|
|
|
20300
20653
|
reqBodyType: "formData",
|
|
20301
20654
|
bodyType: "json",
|
|
20302
20655
|
});
|
|
20303
|
-
|
|
20656
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
20658
|
+
}
|
|
20659
|
+
else {
|
|
20660
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
|
|
20661
|
+
}
|
|
20304
20662
|
}
|
|
20305
20663
|
/**
|
|
20306
20664
|
* Queries information about a PolarDB cluster.
|
|
@@ -20351,7 +20709,12 @@ class Client extends openapi_core_1.default {
|
|
|
20351
20709
|
reqBodyType: "formData",
|
|
20352
20710
|
bodyType: "json",
|
|
20353
20711
|
});
|
|
20354
|
-
|
|
20712
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20713
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
|
|
20714
|
+
}
|
|
20715
|
+
else {
|
|
20716
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
|
|
20717
|
+
}
|
|
20355
20718
|
}
|
|
20356
20719
|
/**
|
|
20357
20720
|
* Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
|
|
@@ -20417,7 +20780,12 @@ class Client extends openapi_core_1.default {
|
|
|
20417
20780
|
reqBodyType: "formData",
|
|
20418
20781
|
bodyType: "json",
|
|
20419
20782
|
});
|
|
20420
|
-
|
|
20783
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20784
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
|
|
20785
|
+
}
|
|
20786
|
+
else {
|
|
20787
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
|
|
20788
|
+
}
|
|
20421
20789
|
}
|
|
20422
20790
|
/**
|
|
20423
20791
|
* Queries available resources in a PolarDB cluster.
|
|
@@ -20477,7 +20845,12 @@ class Client extends openapi_core_1.default {
|
|
|
20477
20845
|
reqBodyType: "formData",
|
|
20478
20846
|
bodyType: "json",
|
|
20479
20847
|
});
|
|
20480
|
-
|
|
20848
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20849
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
20850
|
+
}
|
|
20851
|
+
else {
|
|
20852
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
|
|
20853
|
+
}
|
|
20481
20854
|
}
|
|
20482
20855
|
/**
|
|
20483
20856
|
* Queries whether the source IP address can access a cluster.
|
|
@@ -20534,7 +20907,12 @@ class Client extends openapi_core_1.default {
|
|
|
20534
20907
|
reqBodyType: "formData",
|
|
20535
20908
|
bodyType: "json",
|
|
20536
20909
|
});
|
|
20537
|
-
|
|
20910
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20911
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
|
|
20912
|
+
}
|
|
20913
|
+
else {
|
|
20914
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
|
|
20915
|
+
}
|
|
20538
20916
|
}
|
|
20539
20917
|
/**
|
|
20540
20918
|
* Queries the endpoints of a PolarDB cluster.
|
|
@@ -20588,7 +20966,12 @@ class Client extends openapi_core_1.default {
|
|
|
20588
20966
|
reqBodyType: "formData",
|
|
20589
20967
|
bodyType: "json",
|
|
20590
20968
|
});
|
|
20591
|
-
|
|
20969
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20970
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
20971
|
+
}
|
|
20972
|
+
else {
|
|
20973
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
|
|
20974
|
+
}
|
|
20592
20975
|
}
|
|
20593
20976
|
/**
|
|
20594
20977
|
* The ID of the synchronous task.
|
|
@@ -20642,7 +21025,12 @@ class Client extends openapi_core_1.default {
|
|
|
20642
21025
|
reqBodyType: "formData",
|
|
20643
21026
|
bodyType: "json",
|
|
20644
21027
|
});
|
|
20645
|
-
|
|
21028
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21029
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
|
|
21030
|
+
}
|
|
21031
|
+
else {
|
|
21032
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
|
|
21033
|
+
}
|
|
20646
21034
|
}
|
|
20647
21035
|
/**
|
|
20648
21036
|
* Queries the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
@@ -20696,7 +21084,12 @@ class Client extends openapi_core_1.default {
|
|
|
20696
21084
|
reqBodyType: "formData",
|
|
20697
21085
|
bodyType: "json",
|
|
20698
21086
|
});
|
|
20699
|
-
|
|
21087
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21088
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
|
|
21089
|
+
}
|
|
21090
|
+
else {
|
|
21091
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterParametersResponse({}));
|
|
21092
|
+
}
|
|
20700
21093
|
}
|
|
20701
21094
|
/**
|
|
20702
21095
|
* Queries the parameters of a PolarDB cluster.
|
|
@@ -20764,7 +21157,12 @@ class Client extends openapi_core_1.default {
|
|
|
20764
21157
|
reqBodyType: "formData",
|
|
20765
21158
|
bodyType: "json",
|
|
20766
21159
|
});
|
|
20767
|
-
|
|
21160
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21161
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
21162
|
+
}
|
|
21163
|
+
else {
|
|
21164
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
|
|
21165
|
+
}
|
|
20768
21166
|
}
|
|
20769
21167
|
/**
|
|
20770
21168
|
* Queries the performance data of a PolarDB cluster.
|
|
@@ -20829,7 +21227,12 @@ class Client extends openapi_core_1.default {
|
|
|
20829
21227
|
reqBodyType: "formData",
|
|
20830
21228
|
bodyType: "json",
|
|
20831
21229
|
});
|
|
20832
|
-
|
|
21230
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21231
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
|
|
21232
|
+
}
|
|
21233
|
+
else {
|
|
21234
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterSSLResponse({}));
|
|
21235
|
+
}
|
|
20833
21236
|
}
|
|
20834
21237
|
/**
|
|
20835
21238
|
* Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
|
|
@@ -20880,7 +21283,12 @@ class Client extends openapi_core_1.default {
|
|
|
20880
21283
|
reqBodyType: "formData",
|
|
20881
21284
|
bodyType: "json",
|
|
20882
21285
|
});
|
|
20883
|
-
|
|
21286
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21287
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
|
|
21288
|
+
}
|
|
21289
|
+
else {
|
|
21290
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
|
|
21291
|
+
}
|
|
20884
21292
|
}
|
|
20885
21293
|
/**
|
|
20886
21294
|
* Queries the serverless configurations of a serverless cluster.
|
|
@@ -20931,7 +21339,12 @@ class Client extends openapi_core_1.default {
|
|
|
20931
21339
|
reqBodyType: "formData",
|
|
20932
21340
|
bodyType: "json",
|
|
20933
21341
|
});
|
|
20934
|
-
|
|
21342
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21343
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
|
|
21344
|
+
}
|
|
21345
|
+
else {
|
|
21346
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterTDEResponse({}));
|
|
21347
|
+
}
|
|
20935
21348
|
}
|
|
20936
21349
|
/**
|
|
20937
21350
|
* Queries the transparent data encryption (TDE) settings of a PolarDB cluster.
|
|
@@ -20985,7 +21398,12 @@ class Client extends openapi_core_1.default {
|
|
|
20985
21398
|
reqBodyType: "formData",
|
|
20986
21399
|
bodyType: "json",
|
|
20987
21400
|
});
|
|
20988
|
-
|
|
21401
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21402
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
21403
|
+
}
|
|
21404
|
+
else {
|
|
21405
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterVersionResponse({}));
|
|
21406
|
+
}
|
|
20989
21407
|
}
|
|
20990
21408
|
/**
|
|
20991
21409
|
* Queries the information about the database engine version of a PolarDB for MySQL cluster.
|
|
@@ -21084,7 +21502,12 @@ class Client extends openapi_core_1.default {
|
|
|
21084
21502
|
reqBodyType: "formData",
|
|
21085
21503
|
bodyType: "json",
|
|
21086
21504
|
});
|
|
21087
|
-
|
|
21505
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21506
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
21507
|
+
}
|
|
21508
|
+
else {
|
|
21509
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClustersResponse({}));
|
|
21510
|
+
}
|
|
21088
21511
|
}
|
|
21089
21512
|
/**
|
|
21090
21513
|
* Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
|
|
@@ -21159,7 +21582,12 @@ class Client extends openapi_core_1.default {
|
|
|
21159
21582
|
reqBodyType: "formData",
|
|
21160
21583
|
bodyType: "json",
|
|
21161
21584
|
});
|
|
21162
|
-
|
|
21585
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21586
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
|
|
21587
|
+
}
|
|
21588
|
+
else {
|
|
21589
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
|
|
21590
|
+
}
|
|
21163
21591
|
}
|
|
21164
21592
|
/**
|
|
21165
21593
|
* Queries the information about PolarDB clusters that contain backup sets in a region.
|
|
@@ -21210,7 +21638,12 @@ class Client extends openapi_core_1.default {
|
|
|
21210
21638
|
reqBodyType: "formData",
|
|
21211
21639
|
bodyType: "json",
|
|
21212
21640
|
});
|
|
21213
|
-
|
|
21641
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21642
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
|
|
21643
|
+
}
|
|
21644
|
+
else {
|
|
21645
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
|
|
21646
|
+
}
|
|
21214
21647
|
}
|
|
21215
21648
|
/**
|
|
21216
21649
|
* Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
|
|
@@ -21267,7 +21700,12 @@ class Client extends openapi_core_1.default {
|
|
|
21267
21700
|
reqBodyType: "formData",
|
|
21268
21701
|
bodyType: "json",
|
|
21269
21702
|
});
|
|
21270
|
-
|
|
21703
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21704
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
21705
|
+
}
|
|
21706
|
+
else {
|
|
21707
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBLinksResponse({}));
|
|
21708
|
+
}
|
|
21271
21709
|
}
|
|
21272
21710
|
/**
|
|
21273
21711
|
* Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
|
|
@@ -21341,7 +21779,12 @@ class Client extends openapi_core_1.default {
|
|
|
21341
21779
|
reqBodyType: "formData",
|
|
21342
21780
|
bodyType: "json",
|
|
21343
21781
|
});
|
|
21344
|
-
|
|
21782
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21783
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
21784
|
+
}
|
|
21785
|
+
else {
|
|
21786
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
|
|
21787
|
+
}
|
|
21345
21788
|
}
|
|
21346
21789
|
/**
|
|
21347
21790
|
* Queries the performance data of a node in a PolarDB cluster.
|
|
@@ -21409,7 +21852,12 @@ class Client extends openapi_core_1.default {
|
|
|
21409
21852
|
reqBodyType: "formData",
|
|
21410
21853
|
bodyType: "json",
|
|
21411
21854
|
});
|
|
21412
|
-
|
|
21855
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21856
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
|
|
21857
|
+
}
|
|
21858
|
+
else {
|
|
21859
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBNodesParametersResponse({}));
|
|
21860
|
+
}
|
|
21413
21861
|
}
|
|
21414
21862
|
/**
|
|
21415
21863
|
* Queries the parameters of a specified node in a cluster.
|
|
@@ -21472,7 +21920,12 @@ class Client extends openapi_core_1.default {
|
|
|
21472
21920
|
reqBodyType: "formData",
|
|
21473
21921
|
bodyType: "json",
|
|
21474
21922
|
});
|
|
21475
|
-
|
|
21923
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21924
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
21925
|
+
}
|
|
21926
|
+
else {
|
|
21927
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
|
|
21928
|
+
}
|
|
21476
21929
|
}
|
|
21477
21930
|
/**
|
|
21478
21931
|
* Queries the performance data of PolarProxy.
|
|
@@ -21526,7 +21979,12 @@ class Client extends openapi_core_1.default {
|
|
|
21526
21979
|
reqBodyType: "formData",
|
|
21527
21980
|
bodyType: "json",
|
|
21528
21981
|
});
|
|
21529
|
-
|
|
21982
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21983
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
21984
|
+
}
|
|
21985
|
+
else {
|
|
21986
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
21987
|
+
}
|
|
21530
21988
|
}
|
|
21531
21989
|
/**
|
|
21532
21990
|
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
@@ -21586,7 +22044,12 @@ class Client extends openapi_core_1.default {
|
|
|
21586
22044
|
reqBodyType: "formData",
|
|
21587
22045
|
bodyType: "json",
|
|
21588
22046
|
});
|
|
21589
|
-
|
|
22047
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22048
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
|
|
22049
|
+
}
|
|
22050
|
+
else {
|
|
22051
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDatabasesResponse({}));
|
|
22052
|
+
}
|
|
21590
22053
|
}
|
|
21591
22054
|
/**
|
|
21592
22055
|
* Queries the information about databases in a PolarDB cluster.
|
|
@@ -21603,7 +22066,7 @@ class Client extends openapi_core_1.default {
|
|
|
21603
22066
|
*
|
|
21604
22067
|
* @remarks
|
|
21605
22068
|
* 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.
|
|
21606
|
-
* >
|
|
22069
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
21607
22070
|
*
|
|
21608
22071
|
* @param request - DescribeDetachedBackupsRequest
|
|
21609
22072
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21665,14 +22128,19 @@ class Client extends openapi_core_1.default {
|
|
|
21665
22128
|
reqBodyType: "formData",
|
|
21666
22129
|
bodyType: "json",
|
|
21667
22130
|
});
|
|
21668
|
-
|
|
22131
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22132
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
22133
|
+
}
|
|
22134
|
+
else {
|
|
22135
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeDetachedBackupsResponse({}));
|
|
22136
|
+
}
|
|
21669
22137
|
}
|
|
21670
22138
|
/**
|
|
21671
22139
|
* Queries the information about the backup sets in a released PolarDB cluster.
|
|
21672
22140
|
*
|
|
21673
22141
|
* @remarks
|
|
21674
22142
|
* 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.
|
|
21675
|
-
* >
|
|
22143
|
+
* > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
|
|
21676
22144
|
*
|
|
21677
22145
|
* @param request - DescribeDetachedBackupsRequest
|
|
21678
22146
|
* @returns DescribeDetachedBackupsResponse
|
|
@@ -21726,7 +22194,12 @@ class Client extends openapi_core_1.default {
|
|
|
21726
22194
|
reqBodyType: "formData",
|
|
21727
22195
|
bodyType: "json",
|
|
21728
22196
|
});
|
|
21729
|
-
|
|
22197
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22198
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
|
|
22199
|
+
}
|
|
22200
|
+
else {
|
|
22201
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
|
|
22202
|
+
}
|
|
21730
22203
|
}
|
|
21731
22204
|
/**
|
|
21732
22205
|
* Queries the information about a Global Database Network (GDN).
|
|
@@ -21798,7 +22271,12 @@ class Client extends openapi_core_1.default {
|
|
|
21798
22271
|
reqBodyType: "formData",
|
|
21799
22272
|
bodyType: "json",
|
|
21800
22273
|
});
|
|
21801
|
-
|
|
22274
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22275
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
|
|
22276
|
+
}
|
|
22277
|
+
else {
|
|
22278
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
|
|
22279
|
+
}
|
|
21802
22280
|
}
|
|
21803
22281
|
/**
|
|
21804
22282
|
* Queries the information about all Global Database Networks (GDNs) that belong to an account.
|
|
@@ -21858,7 +22336,12 @@ class Client extends openapi_core_1.default {
|
|
|
21858
22336
|
reqBodyType: "formData",
|
|
21859
22337
|
bodyType: "json",
|
|
21860
22338
|
});
|
|
21861
|
-
|
|
22339
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22340
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
|
|
22341
|
+
}
|
|
22342
|
+
else {
|
|
22343
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
|
|
22344
|
+
}
|
|
21862
22345
|
}
|
|
21863
22346
|
/**
|
|
21864
22347
|
* Queries global IP whitelist templates.
|
|
@@ -21918,7 +22401,12 @@ class Client extends openapi_core_1.default {
|
|
|
21918
22401
|
reqBodyType: "formData",
|
|
21919
22402
|
bodyType: "json",
|
|
21920
22403
|
});
|
|
21921
|
-
|
|
22404
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22405
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
22406
|
+
}
|
|
22407
|
+
else {
|
|
22408
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
|
|
22409
|
+
}
|
|
21922
22410
|
}
|
|
21923
22411
|
/**
|
|
21924
22412
|
* Queries the relationship between a cluster and a global IP whitelist template.
|
|
@@ -21969,7 +22457,12 @@ class Client extends openapi_core_1.default {
|
|
|
21969
22457
|
reqBodyType: "formData",
|
|
21970
22458
|
bodyType: "json",
|
|
21971
22459
|
});
|
|
21972
|
-
|
|
22460
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22461
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrderDetailsResponse({}));
|
|
22462
|
+
}
|
|
22463
|
+
else {
|
|
22464
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeLicenseOrderDetailsResponse({}));
|
|
22465
|
+
}
|
|
21973
22466
|
}
|
|
21974
22467
|
/**
|
|
21975
22468
|
* Queries the information of a license order.
|
|
@@ -22035,7 +22528,12 @@ class Client extends openapi_core_1.default {
|
|
|
22035
22528
|
reqBodyType: "formData",
|
|
22036
22529
|
bodyType: "json",
|
|
22037
22530
|
});
|
|
22038
|
-
|
|
22531
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22532
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrdersResponse({}));
|
|
22533
|
+
}
|
|
22534
|
+
else {
|
|
22535
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeLicenseOrdersResponse({}));
|
|
22536
|
+
}
|
|
22039
22537
|
}
|
|
22040
22538
|
/**
|
|
22041
22539
|
* Queries a list of license orders.
|
|
@@ -22086,7 +22584,12 @@ class Client extends openapi_core_1.default {
|
|
|
22086
22584
|
reqBodyType: "formData",
|
|
22087
22585
|
bodyType: "json",
|
|
22088
22586
|
});
|
|
22089
|
-
|
|
22587
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22588
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
|
|
22589
|
+
}
|
|
22590
|
+
else {
|
|
22591
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
|
|
22592
|
+
}
|
|
22090
22593
|
}
|
|
22091
22594
|
/**
|
|
22092
22595
|
* Queries the retention policy of log backups in a PolarDB cluster.
|
|
@@ -22111,6 +22614,9 @@ class Client extends openapi_core_1.default {
|
|
|
22111
22614
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
22112
22615
|
query["DBClusterId"] = request.DBClusterId;
|
|
22113
22616
|
}
|
|
22617
|
+
if (!$dara.isNull(request.interfaceVersion)) {
|
|
22618
|
+
query["InterfaceVersion"] = request.interfaceVersion;
|
|
22619
|
+
}
|
|
22114
22620
|
if (!$dara.isNull(request.ruleNameList)) {
|
|
22115
22621
|
query["RuleNameList"] = request.ruleNameList;
|
|
22116
22622
|
}
|
|
@@ -22128,7 +22634,12 @@ class Client extends openapi_core_1.default {
|
|
|
22128
22634
|
reqBodyType: "formData",
|
|
22129
22635
|
bodyType: "json",
|
|
22130
22636
|
});
|
|
22131
|
-
|
|
22637
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22638
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
|
|
22639
|
+
}
|
|
22640
|
+
else {
|
|
22641
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeMaskingRulesResponse({}));
|
|
22642
|
+
}
|
|
22132
22643
|
}
|
|
22133
22644
|
/**
|
|
22134
22645
|
* Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
|
|
@@ -22200,7 +22711,12 @@ class Client extends openapi_core_1.default {
|
|
|
22200
22711
|
reqBodyType: "formData",
|
|
22201
22712
|
bodyType: "json",
|
|
22202
22713
|
});
|
|
22203
|
-
|
|
22714
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22715
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
|
|
22716
|
+
}
|
|
22717
|
+
else {
|
|
22718
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeMetaListResponse({}));
|
|
22719
|
+
}
|
|
22204
22720
|
}
|
|
22205
22721
|
/**
|
|
22206
22722
|
* Queries the details of the databases or tables that can be restored.
|
|
@@ -22261,7 +22777,12 @@ class Client extends openapi_core_1.default {
|
|
|
22261
22777
|
reqBodyType: "formData",
|
|
22262
22778
|
bodyType: "json",
|
|
22263
22779
|
});
|
|
22264
|
-
|
|
22780
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22781
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
22782
|
+
}
|
|
22783
|
+
else {
|
|
22784
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterGroupResponse({}));
|
|
22785
|
+
}
|
|
22265
22786
|
}
|
|
22266
22787
|
/**
|
|
22267
22788
|
* Queries the information about a parameter template.
|
|
@@ -22329,7 +22850,12 @@ class Client extends openapi_core_1.default {
|
|
|
22329
22850
|
reqBodyType: "formData",
|
|
22330
22851
|
bodyType: "json",
|
|
22331
22852
|
});
|
|
22332
|
-
|
|
22853
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22854
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
22855
|
+
}
|
|
22856
|
+
else {
|
|
22857
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterGroupsResponse({}));
|
|
22858
|
+
}
|
|
22333
22859
|
}
|
|
22334
22860
|
/**
|
|
22335
22861
|
* Queries parameter templates that are available in a specified region.
|
|
@@ -22393,7 +22919,12 @@ class Client extends openapi_core_1.default {
|
|
|
22393
22919
|
reqBodyType: "formData",
|
|
22394
22920
|
bodyType: "json",
|
|
22395
22921
|
});
|
|
22396
|
-
|
|
22922
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22923
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
|
|
22924
|
+
}
|
|
22925
|
+
else {
|
|
22926
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterTemplatesResponse({}));
|
|
22927
|
+
}
|
|
22397
22928
|
}
|
|
22398
22929
|
/**
|
|
22399
22930
|
* Queries the default parameters in a cluster.
|
|
@@ -22462,7 +22993,12 @@ class Client extends openapi_core_1.default {
|
|
|
22462
22993
|
reqBodyType: "formData",
|
|
22463
22994
|
bodyType: "json",
|
|
22464
22995
|
});
|
|
22465
|
-
|
|
22996
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22997
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
|
|
22998
|
+
}
|
|
22999
|
+
else {
|
|
23000
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
|
|
23001
|
+
}
|
|
22466
23002
|
}
|
|
22467
23003
|
/**
|
|
22468
23004
|
* Queries the information about a pending event.
|
|
@@ -22475,7 +23011,7 @@ class Client extends openapi_core_1.default {
|
|
|
22475
23011
|
return await this.describePendingMaintenanceActionWithOptions(request, runtime);
|
|
22476
23012
|
}
|
|
22477
23013
|
/**
|
|
22478
|
-
* Queries the numbers of
|
|
23014
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
22479
23015
|
*
|
|
22480
23016
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
22481
23017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22522,10 +23058,15 @@ class Client extends openapi_core_1.default {
|
|
|
22522
23058
|
reqBodyType: "formData",
|
|
22523
23059
|
bodyType: "json",
|
|
22524
23060
|
});
|
|
22525
|
-
|
|
23061
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23062
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
|
|
23063
|
+
}
|
|
23064
|
+
else {
|
|
23065
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
|
|
23066
|
+
}
|
|
22526
23067
|
}
|
|
22527
23068
|
/**
|
|
22528
|
-
* Queries the numbers of
|
|
23069
|
+
* Queries the numbers of scheduled events for different types of tasks.
|
|
22529
23070
|
*
|
|
22530
23071
|
* @param request - DescribePendingMaintenanceActionsRequest
|
|
22531
23072
|
* @returns DescribePendingMaintenanceActionsResponse
|
|
@@ -22558,7 +23099,12 @@ class Client extends openapi_core_1.default {
|
|
|
22558
23099
|
reqBodyType: "formData",
|
|
22559
23100
|
bodyType: "json",
|
|
22560
23101
|
});
|
|
22561
|
-
|
|
23102
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23103
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
|
|
23104
|
+
}
|
|
23105
|
+
else {
|
|
23106
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
|
|
23107
|
+
}
|
|
22562
23108
|
}
|
|
22563
23109
|
/**
|
|
22564
23110
|
* Queries whether the SQL Explorer feature is enabled for the cluster.
|
|
@@ -22606,7 +23152,12 @@ class Client extends openapi_core_1.default {
|
|
|
22606
23152
|
reqBodyType: "formData",
|
|
22607
23153
|
bodyType: "json",
|
|
22608
23154
|
});
|
|
22609
|
-
|
|
23155
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23156
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
23157
|
+
}
|
|
23158
|
+
else {
|
|
23159
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
|
|
23160
|
+
}
|
|
22610
23161
|
}
|
|
22611
23162
|
/**
|
|
22612
23163
|
* Queries the regions and zones available for PolarDB.
|
|
@@ -22687,7 +23238,12 @@ class Client extends openapi_core_1.default {
|
|
|
22687
23238
|
reqBodyType: "formData",
|
|
22688
23239
|
bodyType: "json",
|
|
22689
23240
|
});
|
|
22690
|
-
|
|
23241
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23242
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
|
|
23243
|
+
}
|
|
23244
|
+
else {
|
|
23245
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeScheduleTasksResponse({}));
|
|
23246
|
+
}
|
|
22691
23247
|
}
|
|
22692
23248
|
/**
|
|
22693
23249
|
* Queries the details of all scheduled tasks.
|
|
@@ -22766,7 +23322,12 @@ class Client extends openapi_core_1.default {
|
|
|
22766
23322
|
reqBodyType: "formData",
|
|
22767
23323
|
bodyType: "json",
|
|
22768
23324
|
});
|
|
22769
|
-
|
|
23325
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23326
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
23327
|
+
}
|
|
23328
|
+
else {
|
|
23329
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
|
|
23330
|
+
}
|
|
22770
23331
|
}
|
|
22771
23332
|
/**
|
|
22772
23333
|
* Slow Log Details
|
|
@@ -22842,7 +23403,12 @@ class Client extends openapi_core_1.default {
|
|
|
22842
23403
|
reqBodyType: "formData",
|
|
22843
23404
|
bodyType: "json",
|
|
22844
23405
|
});
|
|
22845
|
-
|
|
23406
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23407
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
23408
|
+
}
|
|
23409
|
+
else {
|
|
23410
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSlowLogsResponse({}));
|
|
23411
|
+
}
|
|
22846
23412
|
}
|
|
22847
23413
|
/**
|
|
22848
23414
|
* Queries the statistics about the slow query logs of a PolarDB cluster.
|
|
@@ -22918,7 +23484,12 @@ class Client extends openapi_core_1.default {
|
|
|
22918
23484
|
reqBodyType: "formData",
|
|
22919
23485
|
bodyType: "json",
|
|
22920
23486
|
});
|
|
22921
|
-
|
|
23487
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23488
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
23489
|
+
}
|
|
23490
|
+
else {
|
|
23491
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTasksResponse({}));
|
|
23492
|
+
}
|
|
22922
23493
|
}
|
|
22923
23494
|
/**
|
|
22924
23495
|
* Queries the status of the tasks that are generated based on API operations, such as the status of instance creation tasks.
|
|
@@ -22979,7 +23550,12 @@ class Client extends openapi_core_1.default {
|
|
|
22979
23550
|
reqBodyType: "formData",
|
|
22980
23551
|
bodyType: "json",
|
|
22981
23552
|
});
|
|
22982
|
-
|
|
23553
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23554
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
23555
|
+
}
|
|
23556
|
+
else {
|
|
23557
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
|
|
23558
|
+
}
|
|
22983
23559
|
}
|
|
22984
23560
|
/**
|
|
22985
23561
|
* Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
|
|
@@ -23051,7 +23627,12 @@ class Client extends openapi_core_1.default {
|
|
|
23051
23627
|
reqBodyType: "formData",
|
|
23052
23628
|
bodyType: "json",
|
|
23053
23629
|
});
|
|
23054
|
-
|
|
23630
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23631
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
23632
|
+
}
|
|
23633
|
+
else {
|
|
23634
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeVSwitchesResponse({}));
|
|
23635
|
+
}
|
|
23055
23636
|
}
|
|
23056
23637
|
/**
|
|
23057
23638
|
* Queries a vSwitch.
|
|
@@ -23102,7 +23683,12 @@ class Client extends openapi_core_1.default {
|
|
|
23102
23683
|
reqBodyType: "formData",
|
|
23103
23684
|
bodyType: "json",
|
|
23104
23685
|
});
|
|
23105
|
-
|
|
23686
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23687
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
|
|
23688
|
+
}
|
|
23689
|
+
else {
|
|
23690
|
+
return $dara.cast(await this.execute(params, req, runtime), new DisableDBClusterServerlessResponse({}));
|
|
23691
|
+
}
|
|
23106
23692
|
}
|
|
23107
23693
|
/**
|
|
23108
23694
|
* Disables a stable serverless cluster.
|
|
@@ -23171,7 +23757,12 @@ class Client extends openapi_core_1.default {
|
|
|
23171
23757
|
reqBodyType: "formData",
|
|
23172
23758
|
bodyType: "json",
|
|
23173
23759
|
});
|
|
23174
|
-
|
|
23760
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23761
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
|
|
23762
|
+
}
|
|
23763
|
+
else {
|
|
23764
|
+
return $dara.cast(await this.execute(params, req, runtime), new EnableDBClusterServerlessResponse({}));
|
|
23765
|
+
}
|
|
23175
23766
|
}
|
|
23176
23767
|
/**
|
|
23177
23768
|
* Enables a stable serverless cluster.
|
|
@@ -23228,7 +23819,12 @@ class Client extends openapi_core_1.default {
|
|
|
23228
23819
|
reqBodyType: "formData",
|
|
23229
23820
|
bodyType: "json",
|
|
23230
23821
|
});
|
|
23231
|
-
|
|
23822
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23823
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
|
|
23824
|
+
}
|
|
23825
|
+
else {
|
|
23826
|
+
return $dara.cast(await this.execute(params, req, runtime), new EnableFirewallRulesResponse({}));
|
|
23827
|
+
}
|
|
23232
23828
|
}
|
|
23233
23829
|
/**
|
|
23234
23830
|
* Modifies the status of SQL firewall rules for a cluster.
|
|
@@ -23306,7 +23902,12 @@ class Client extends openapi_core_1.default {
|
|
|
23306
23902
|
reqBodyType: "formData",
|
|
23307
23903
|
bodyType: "json",
|
|
23308
23904
|
});
|
|
23309
|
-
|
|
23905
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23906
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
|
|
23907
|
+
}
|
|
23908
|
+
else {
|
|
23909
|
+
return $dara.cast(await this.execute(params, req, runtime), new EvaluateRegionResourceResponse({}));
|
|
23910
|
+
}
|
|
23310
23911
|
}
|
|
23311
23912
|
/**
|
|
23312
23913
|
* Evaluates available resources.
|
|
@@ -23369,7 +23970,12 @@ class Client extends openapi_core_1.default {
|
|
|
23369
23970
|
reqBodyType: "formData",
|
|
23370
23971
|
bodyType: "json",
|
|
23371
23972
|
});
|
|
23372
|
-
|
|
23973
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
23974
|
+
return $dara.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
|
|
23975
|
+
}
|
|
23976
|
+
else {
|
|
23977
|
+
return $dara.cast(await this.execute(params, req, runtime), new FailoverDBClusterResponse({}));
|
|
23978
|
+
}
|
|
23373
23979
|
}
|
|
23374
23980
|
/**
|
|
23375
23981
|
* Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
|
|
@@ -23436,7 +24042,12 @@ class Client extends openapi_core_1.default {
|
|
|
23436
24042
|
reqBodyType: "formData",
|
|
23437
24043
|
bodyType: "json",
|
|
23438
24044
|
});
|
|
23439
|
-
|
|
24045
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24046
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
24047
|
+
}
|
|
24048
|
+
else {
|
|
24049
|
+
return $dara.cast(await this.execute(params, req, runtime), new GrantAccountPrivilegeResponse({}));
|
|
24050
|
+
}
|
|
23440
24051
|
}
|
|
23441
24052
|
/**
|
|
23442
24053
|
* Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
|
|
@@ -23506,7 +24117,12 @@ class Client extends openapi_core_1.default {
|
|
|
23506
24117
|
reqBodyType: "formData",
|
|
23507
24118
|
bodyType: "json",
|
|
23508
24119
|
});
|
|
23509
|
-
|
|
24120
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24121
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
24122
|
+
}
|
|
24123
|
+
else {
|
|
24124
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
24125
|
+
}
|
|
23510
24126
|
}
|
|
23511
24127
|
/**
|
|
23512
24128
|
* Queries the tags that are added to one or more PolarDB clusters, or the PolarDB clusters to which one or more tags are added.
|
|
@@ -23560,7 +24176,12 @@ class Client extends openapi_core_1.default {
|
|
|
23560
24176
|
reqBodyType: "formData",
|
|
23561
24177
|
bodyType: "json",
|
|
23562
24178
|
});
|
|
23563
|
-
|
|
24179
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24180
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
24181
|
+
}
|
|
24182
|
+
else {
|
|
24183
|
+
return $dara.cast(await this.execute(params, req, runtime), new ManuallyStartDBClusterResponse({}));
|
|
24184
|
+
}
|
|
23564
24185
|
}
|
|
23565
24186
|
/**
|
|
23566
24187
|
* Manually starts a cluster.
|
|
@@ -23617,7 +24238,12 @@ class Client extends openapi_core_1.default {
|
|
|
23617
24238
|
reqBodyType: "formData",
|
|
23618
24239
|
bodyType: "json",
|
|
23619
24240
|
});
|
|
23620
|
-
|
|
24241
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24242
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
24243
|
+
}
|
|
24244
|
+
else {
|
|
24245
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyAccountDescriptionResponse({}));
|
|
24246
|
+
}
|
|
23621
24247
|
}
|
|
23622
24248
|
/**
|
|
23623
24249
|
* Modifies the description of a database account of a PolarDB cluster.
|
|
@@ -23677,7 +24303,12 @@ class Client extends openapi_core_1.default {
|
|
|
23677
24303
|
reqBodyType: "formData",
|
|
23678
24304
|
bodyType: "json",
|
|
23679
24305
|
});
|
|
23680
|
-
|
|
24306
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24307
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
|
|
24308
|
+
}
|
|
24309
|
+
else {
|
|
24310
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyAccountPasswordResponse({}));
|
|
24311
|
+
}
|
|
23681
24312
|
}
|
|
23682
24313
|
/**
|
|
23683
24314
|
* Changes the password of a database account for a specified PolarDB cluster.
|
|
@@ -23740,7 +24371,12 @@ class Client extends openapi_core_1.default {
|
|
|
23740
24371
|
reqBodyType: "formData",
|
|
23741
24372
|
bodyType: "json",
|
|
23742
24373
|
});
|
|
23743
|
-
|
|
24374
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24375
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
|
|
24376
|
+
}
|
|
24377
|
+
else {
|
|
24378
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
|
|
24379
|
+
}
|
|
23744
24380
|
}
|
|
23745
24381
|
/**
|
|
23746
24382
|
* Modifies the switching time of scheduled O\\&M events for an instance.
|
|
@@ -23806,7 +24442,12 @@ class Client extends openapi_core_1.default {
|
|
|
23806
24442
|
reqBodyType: "formData",
|
|
23807
24443
|
bodyType: "json",
|
|
23808
24444
|
});
|
|
23809
|
-
|
|
24445
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24446
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
|
|
24447
|
+
}
|
|
24448
|
+
else {
|
|
24449
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
|
|
24450
|
+
}
|
|
23810
24451
|
}
|
|
23811
24452
|
/**
|
|
23812
24453
|
* Modifies the auto-renewal attributes of a subscription PolarDB cluster.
|
|
@@ -23896,7 +24537,12 @@ class Client extends openapi_core_1.default {
|
|
|
23896
24537
|
reqBodyType: "formData",
|
|
23897
24538
|
bodyType: "json",
|
|
23898
24539
|
});
|
|
23899
|
-
|
|
24540
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24541
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
24542
|
+
}
|
|
24543
|
+
else {
|
|
24544
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyBackupPolicyResponse({}));
|
|
24545
|
+
}
|
|
23900
24546
|
}
|
|
23901
24547
|
/**
|
|
23902
24548
|
* Modifies the automatic backup policy of a PolarDB cluster.
|
|
@@ -23983,7 +24629,12 @@ class Client extends openapi_core_1.default {
|
|
|
23983
24629
|
reqBodyType: "formData",
|
|
23984
24630
|
bodyType: "json",
|
|
23985
24631
|
});
|
|
23986
|
-
|
|
24632
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24633
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
24634
|
+
}
|
|
24635
|
+
else {
|
|
24636
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterResponse({}));
|
|
24637
|
+
}
|
|
23987
24638
|
}
|
|
23988
24639
|
/**
|
|
23989
24640
|
* Modifies the configurations of a PolarDB for MySQL cluster.
|
|
@@ -24052,7 +24703,12 @@ class Client extends openapi_core_1.default {
|
|
|
24052
24703
|
reqBodyType: "formData",
|
|
24053
24704
|
bodyType: "json",
|
|
24054
24705
|
});
|
|
24055
|
-
|
|
24706
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24707
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
|
|
24708
|
+
}
|
|
24709
|
+
else {
|
|
24710
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
|
|
24711
|
+
}
|
|
24056
24712
|
}
|
|
24057
24713
|
/**
|
|
24058
24714
|
* Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
|
|
@@ -24124,7 +24780,12 @@ class Client extends openapi_core_1.default {
|
|
|
24124
24780
|
reqBodyType: "formData",
|
|
24125
24781
|
bodyType: "json",
|
|
24126
24782
|
});
|
|
24127
|
-
|
|
24783
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24784
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
|
|
24785
|
+
}
|
|
24786
|
+
else {
|
|
24787
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
|
|
24788
|
+
}
|
|
24128
24789
|
}
|
|
24129
24790
|
/**
|
|
24130
24791
|
* Modifies cluster parameters and applies them to specified nodes.
|
|
@@ -24136,6 +24797,59 @@ class Client extends openapi_core_1.default {
|
|
|
24136
24797
|
let runtime = new $dara.RuntimeOptions({});
|
|
24137
24798
|
return await this.modifyDBClusterAndNodesParametersWithOptions(request, runtime);
|
|
24138
24799
|
}
|
|
24800
|
+
/**
|
|
24801
|
+
* 变更standby模式
|
|
24802
|
+
*
|
|
24803
|
+
* @param request - ModifyDBClusterArchRequest
|
|
24804
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
24805
|
+
* @returns ModifyDBClusterArchResponse
|
|
24806
|
+
*/
|
|
24807
|
+
async modifyDBClusterArchWithOptions(request, runtime) {
|
|
24808
|
+
request.validate();
|
|
24809
|
+
let query = {};
|
|
24810
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
24811
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
24812
|
+
}
|
|
24813
|
+
if (!$dara.isNull(request.hotStandbyCluster)) {
|
|
24814
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
24815
|
+
}
|
|
24816
|
+
if (!$dara.isNull(request.regionId)) {
|
|
24817
|
+
query["RegionId"] = request.regionId;
|
|
24818
|
+
}
|
|
24819
|
+
if (!$dara.isNull(request.standbyAZ)) {
|
|
24820
|
+
query["StandbyAZ"] = request.standbyAZ;
|
|
24821
|
+
}
|
|
24822
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
24823
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
24824
|
+
});
|
|
24825
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
24826
|
+
action: "ModifyDBClusterArch",
|
|
24827
|
+
version: "2017-08-01",
|
|
24828
|
+
protocol: "HTTPS",
|
|
24829
|
+
pathname: "/",
|
|
24830
|
+
method: "POST",
|
|
24831
|
+
authType: "AK",
|
|
24832
|
+
style: "RPC",
|
|
24833
|
+
reqBodyType: "formData",
|
|
24834
|
+
bodyType: "json",
|
|
24835
|
+
});
|
|
24836
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24837
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterArchResponse({}));
|
|
24838
|
+
}
|
|
24839
|
+
else {
|
|
24840
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterArchResponse({}));
|
|
24841
|
+
}
|
|
24842
|
+
}
|
|
24843
|
+
/**
|
|
24844
|
+
* 变更standby模式
|
|
24845
|
+
*
|
|
24846
|
+
* @param request - ModifyDBClusterArchRequest
|
|
24847
|
+
* @returns ModifyDBClusterArchResponse
|
|
24848
|
+
*/
|
|
24849
|
+
async modifyDBClusterArch(request) {
|
|
24850
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
24851
|
+
return await this.modifyDBClusterArchWithOptions(request, runtime);
|
|
24852
|
+
}
|
|
24139
24853
|
/**
|
|
24140
24854
|
* Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
24141
24855
|
*
|
|
@@ -24178,7 +24892,12 @@ class Client extends openapi_core_1.default {
|
|
|
24178
24892
|
reqBodyType: "formData",
|
|
24179
24893
|
bodyType: "json",
|
|
24180
24894
|
});
|
|
24181
|
-
|
|
24895
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24896
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
|
|
24897
|
+
}
|
|
24898
|
+
else {
|
|
24899
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
|
|
24900
|
+
}
|
|
24182
24901
|
}
|
|
24183
24902
|
/**
|
|
24184
24903
|
* Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
|
|
@@ -24232,7 +24951,12 @@ class Client extends openapi_core_1.default {
|
|
|
24232
24951
|
reqBodyType: "formData",
|
|
24233
24952
|
bodyType: "json",
|
|
24234
24953
|
});
|
|
24235
|
-
|
|
24954
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
24955
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
|
|
24956
|
+
}
|
|
24957
|
+
else {
|
|
24958
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
|
|
24959
|
+
}
|
|
24236
24960
|
}
|
|
24237
24961
|
/**
|
|
24238
24962
|
* Enables or disables the cluster lock feature for a PolarDB cluster.
|
|
@@ -24286,7 +25010,12 @@ class Client extends openapi_core_1.default {
|
|
|
24286
25010
|
reqBodyType: "formData",
|
|
24287
25011
|
bodyType: "json",
|
|
24288
25012
|
});
|
|
24289
|
-
|
|
25013
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25014
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
25015
|
+
}
|
|
25016
|
+
else {
|
|
25017
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
|
|
25018
|
+
}
|
|
24290
25019
|
}
|
|
24291
25020
|
/**
|
|
24292
25021
|
* Modifies the name of a PolarDB cluster.
|
|
@@ -24364,7 +25093,12 @@ class Client extends openapi_core_1.default {
|
|
|
24364
25093
|
reqBodyType: "formData",
|
|
24365
25094
|
bodyType: "json",
|
|
24366
25095
|
});
|
|
24367
|
-
|
|
25096
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25097
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
|
|
25098
|
+
}
|
|
25099
|
+
else {
|
|
25100
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
|
|
25101
|
+
}
|
|
24368
25102
|
}
|
|
24369
25103
|
/**
|
|
24370
25104
|
* 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.
|
|
@@ -24421,7 +25155,12 @@ class Client extends openapi_core_1.default {
|
|
|
24421
25155
|
reqBodyType: "formData",
|
|
24422
25156
|
bodyType: "json",
|
|
24423
25157
|
});
|
|
24424
|
-
|
|
25158
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25159
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
25160
|
+
}
|
|
25161
|
+
else {
|
|
25162
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
25163
|
+
}
|
|
24425
25164
|
}
|
|
24426
25165
|
/**
|
|
24427
25166
|
* Modifies the maintenance window of a PolarDB cluster.
|
|
@@ -24495,7 +25234,12 @@ class Client extends openapi_core_1.default {
|
|
|
24495
25234
|
reqBodyType: "formData",
|
|
24496
25235
|
bodyType: "json",
|
|
24497
25236
|
});
|
|
24498
|
-
|
|
25237
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25238
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
25239
|
+
}
|
|
25240
|
+
else {
|
|
25241
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
|
|
25242
|
+
}
|
|
24499
25243
|
}
|
|
24500
25244
|
/**
|
|
24501
25245
|
* Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
|
|
@@ -24567,7 +25311,12 @@ class Client extends openapi_core_1.default {
|
|
|
24567
25311
|
reqBodyType: "formData",
|
|
24568
25312
|
bodyType: "json",
|
|
24569
25313
|
});
|
|
24570
|
-
|
|
25314
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25315
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
25316
|
+
}
|
|
25317
|
+
else {
|
|
25318
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
|
|
25319
|
+
}
|
|
24571
25320
|
}
|
|
24572
25321
|
/**
|
|
24573
25322
|
* Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
|
|
@@ -24651,7 +25400,12 @@ class Client extends openapi_core_1.default {
|
|
|
24651
25400
|
reqBodyType: "formData",
|
|
24652
25401
|
bodyType: "json",
|
|
24653
25402
|
});
|
|
24654
|
-
|
|
25403
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25404
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
25405
|
+
}
|
|
25406
|
+
else {
|
|
25407
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterParametersResponse({}));
|
|
25408
|
+
}
|
|
24655
25409
|
}
|
|
24656
25410
|
/**
|
|
24657
25411
|
* Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
|
|
@@ -24731,7 +25485,12 @@ class Client extends openapi_core_1.default {
|
|
|
24731
25485
|
reqBodyType: "formData",
|
|
24732
25486
|
bodyType: "json",
|
|
24733
25487
|
});
|
|
24734
|
-
|
|
25488
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
25490
|
+
}
|
|
25491
|
+
else {
|
|
25492
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
|
|
25493
|
+
}
|
|
24735
25494
|
}
|
|
24736
25495
|
/**
|
|
24737
25496
|
* Changes the primary zone of a PolarDB cluster.
|
|
@@ -24788,7 +25547,12 @@ class Client extends openapi_core_1.default {
|
|
|
24788
25547
|
reqBodyType: "formData",
|
|
24789
25548
|
bodyType: "json",
|
|
24790
25549
|
});
|
|
24791
|
-
|
|
25550
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25551
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
|
|
25552
|
+
}
|
|
25553
|
+
else {
|
|
25554
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
|
|
25555
|
+
}
|
|
24792
25556
|
}
|
|
24793
25557
|
/**
|
|
24794
25558
|
* Modifies the configurations of a resource group for a database cluster.
|
|
@@ -24851,7 +25615,12 @@ class Client extends openapi_core_1.default {
|
|
|
24851
25615
|
reqBodyType: "formData",
|
|
24852
25616
|
bodyType: "json",
|
|
24853
25617
|
});
|
|
24854
|
-
|
|
25618
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25619
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
|
|
25620
|
+
}
|
|
25621
|
+
else {
|
|
25622
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterSSLResponse({}));
|
|
25623
|
+
}
|
|
24855
25624
|
}
|
|
24856
25625
|
/**
|
|
24857
25626
|
* Enables or disables the SSL encryption feature for a PolarDB cluster, or updates the CA certificate of the cluster.
|
|
@@ -24950,7 +25719,12 @@ class Client extends openapi_core_1.default {
|
|
|
24950
25719
|
reqBodyType: "formData",
|
|
24951
25720
|
bodyType: "json",
|
|
24952
25721
|
});
|
|
24953
|
-
|
|
25722
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25723
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
|
|
25724
|
+
}
|
|
25725
|
+
else {
|
|
25726
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
|
|
25727
|
+
}
|
|
24954
25728
|
}
|
|
24955
25729
|
/**
|
|
24956
25730
|
* Modifies the configurations of a serverless cluster.
|
|
@@ -25007,7 +25781,12 @@ class Client extends openapi_core_1.default {
|
|
|
25007
25781
|
reqBodyType: "formData",
|
|
25008
25782
|
bodyType: "json",
|
|
25009
25783
|
});
|
|
25010
|
-
|
|
25784
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25785
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStoragePerformanceResponse({}));
|
|
25786
|
+
}
|
|
25787
|
+
else {
|
|
25788
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterStoragePerformanceResponse({}));
|
|
25789
|
+
}
|
|
25011
25790
|
}
|
|
25012
25791
|
/**
|
|
25013
25792
|
* 修改存储性能
|
|
@@ -25073,7 +25852,12 @@ class Client extends openapi_core_1.default {
|
|
|
25073
25852
|
reqBodyType: "formData",
|
|
25074
25853
|
bodyType: "json",
|
|
25075
25854
|
});
|
|
25076
|
-
|
|
25855
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25856
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
25857
|
+
}
|
|
25858
|
+
else {
|
|
25859
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
|
|
25860
|
+
}
|
|
25077
25861
|
}
|
|
25078
25862
|
/**
|
|
25079
25863
|
* Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
|
|
@@ -25143,7 +25927,12 @@ class Client extends openapi_core_1.default {
|
|
|
25143
25927
|
reqBodyType: "formData",
|
|
25144
25928
|
bodyType: "json",
|
|
25145
25929
|
});
|
|
25146
|
-
|
|
25930
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25931
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
25932
|
+
}
|
|
25933
|
+
else {
|
|
25934
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterTDEResponse({}));
|
|
25935
|
+
}
|
|
25147
25936
|
}
|
|
25148
25937
|
/**
|
|
25149
25938
|
* Enables the transparent data encryption (TDE) feature for a PolarDB cluster.
|
|
@@ -25204,7 +25993,12 @@ class Client extends openapi_core_1.default {
|
|
|
25204
25993
|
reqBodyType: "formData",
|
|
25205
25994
|
bodyType: "json",
|
|
25206
25995
|
});
|
|
25207
|
-
|
|
25996
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
25997
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
|
|
25998
|
+
}
|
|
25999
|
+
else {
|
|
26000
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBDescriptionResponse({}));
|
|
26001
|
+
}
|
|
25208
26002
|
}
|
|
25209
26003
|
/**
|
|
25210
26004
|
* Modifies the description of a database in a PolarDB for MySQL cluster.
|
|
@@ -25273,7 +26067,12 @@ class Client extends openapi_core_1.default {
|
|
|
25273
26067
|
reqBodyType: "formData",
|
|
25274
26068
|
bodyType: "json",
|
|
25275
26069
|
});
|
|
25276
|
-
|
|
26070
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26071
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
|
|
26072
|
+
}
|
|
26073
|
+
else {
|
|
26074
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
|
|
26075
|
+
}
|
|
25277
26076
|
}
|
|
25278
26077
|
/**
|
|
25279
26078
|
* Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
|
|
@@ -25348,7 +26147,12 @@ class Client extends openapi_core_1.default {
|
|
|
25348
26147
|
reqBodyType: "formData",
|
|
25349
26148
|
bodyType: "json",
|
|
25350
26149
|
});
|
|
25351
|
-
|
|
26150
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26151
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
|
|
26152
|
+
}
|
|
26153
|
+
else {
|
|
26154
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodeClassResponse({}));
|
|
26155
|
+
}
|
|
25352
26156
|
}
|
|
25353
26157
|
/**
|
|
25354
26158
|
* Changes the node specifications of a PolarDB cluster.
|
|
@@ -25405,7 +26209,12 @@ class Client extends openapi_core_1.default {
|
|
|
25405
26209
|
reqBodyType: "formData",
|
|
25406
26210
|
bodyType: "json",
|
|
25407
26211
|
});
|
|
25408
|
-
|
|
26212
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26213
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
26214
|
+
}
|
|
26215
|
+
else {
|
|
26216
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
|
|
26217
|
+
}
|
|
25409
26218
|
}
|
|
25410
26219
|
/**
|
|
25411
26220
|
* Enables or disables the failover with hot replica feature for a node in a cluster.
|
|
@@ -25477,7 +26286,12 @@ class Client extends openapi_core_1.default {
|
|
|
25477
26286
|
reqBodyType: "formData",
|
|
25478
26287
|
bodyType: "json",
|
|
25479
26288
|
});
|
|
25480
|
-
|
|
26289
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26290
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
|
|
26291
|
+
}
|
|
26292
|
+
else {
|
|
26293
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodesClassResponse({}));
|
|
26294
|
+
}
|
|
25481
26295
|
}
|
|
25482
26296
|
/**
|
|
25483
26297
|
* Changes the specifications of a node in a PolarDB cluster.
|
|
@@ -25546,7 +26360,12 @@ class Client extends openapi_core_1.default {
|
|
|
25546
26360
|
reqBodyType: "formData",
|
|
25547
26361
|
bodyType: "json",
|
|
25548
26362
|
});
|
|
25549
|
-
|
|
26363
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26364
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
|
|
26365
|
+
}
|
|
26366
|
+
else {
|
|
26367
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodesParametersResponse({}));
|
|
26368
|
+
}
|
|
25550
26369
|
}
|
|
25551
26370
|
/**
|
|
25552
26371
|
* Modifies the parameters of a node and applies them to specified nodes.
|
|
@@ -25609,7 +26428,12 @@ class Client extends openapi_core_1.default {
|
|
|
25609
26428
|
reqBodyType: "formData",
|
|
25610
26429
|
bodyType: "json",
|
|
25611
26430
|
});
|
|
25612
|
-
|
|
26431
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26432
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
|
|
26433
|
+
}
|
|
26434
|
+
else {
|
|
26435
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
|
|
26436
|
+
}
|
|
25613
26437
|
}
|
|
25614
26438
|
/**
|
|
25615
26439
|
* Modifies a global database network (GDN).
|
|
@@ -25675,7 +26499,12 @@ class Client extends openapi_core_1.default {
|
|
|
25675
26499
|
reqBodyType: "formData",
|
|
25676
26500
|
bodyType: "json",
|
|
25677
26501
|
});
|
|
25678
|
-
|
|
26502
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26503
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
|
|
26504
|
+
}
|
|
26505
|
+
else {
|
|
26506
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
|
|
26507
|
+
}
|
|
25679
26508
|
}
|
|
25680
26509
|
/**
|
|
25681
26510
|
* Modifies an IP whitelist template.
|
|
@@ -25738,7 +26567,12 @@ class Client extends openapi_core_1.default {
|
|
|
25738
26567
|
reqBodyType: "formData",
|
|
25739
26568
|
bodyType: "json",
|
|
25740
26569
|
});
|
|
25741
|
-
|
|
26570
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26571
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
|
|
26572
|
+
}
|
|
26573
|
+
else {
|
|
26574
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
|
|
26575
|
+
}
|
|
25742
26576
|
}
|
|
25743
26577
|
/**
|
|
25744
26578
|
* Modifies the name of a global IP whitelist template.
|
|
@@ -25801,7 +26635,12 @@ class Client extends openapi_core_1.default {
|
|
|
25801
26635
|
reqBodyType: "formData",
|
|
25802
26636
|
bodyType: "json",
|
|
25803
26637
|
});
|
|
25804
|
-
|
|
26638
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26639
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
|
|
26640
|
+
}
|
|
26641
|
+
else {
|
|
26642
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
|
|
26643
|
+
}
|
|
25805
26644
|
}
|
|
25806
26645
|
/**
|
|
25807
26646
|
* Modifies the relationship between a cluster and a global IP whitelist template.
|
|
@@ -25861,7 +26700,12 @@ class Client extends openapi_core_1.default {
|
|
|
25861
26700
|
reqBodyType: "formData",
|
|
25862
26701
|
bodyType: "json",
|
|
25863
26702
|
});
|
|
25864
|
-
|
|
26703
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26704
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
|
|
26705
|
+
}
|
|
26706
|
+
else {
|
|
26707
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
|
|
26708
|
+
}
|
|
25865
26709
|
}
|
|
25866
26710
|
/**
|
|
25867
26711
|
* Modifies the retention policy of the log backups in a PolarDB cluster.
|
|
@@ -25889,6 +26733,9 @@ class Client extends openapi_core_1.default {
|
|
|
25889
26733
|
if (!$dara.isNull(request.enable)) {
|
|
25890
26734
|
query["Enable"] = request.enable;
|
|
25891
26735
|
}
|
|
26736
|
+
if (!$dara.isNull(request.interfaceVersion)) {
|
|
26737
|
+
query["InterfaceVersion"] = request.interfaceVersion;
|
|
26738
|
+
}
|
|
25892
26739
|
if (!$dara.isNull(request.ruleConfig)) {
|
|
25893
26740
|
query["RuleConfig"] = request.ruleConfig;
|
|
25894
26741
|
}
|
|
@@ -25915,7 +26762,12 @@ class Client extends openapi_core_1.default {
|
|
|
25915
26762
|
reqBodyType: "formData",
|
|
25916
26763
|
bodyType: "json",
|
|
25917
26764
|
});
|
|
25918
|
-
|
|
26765
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26766
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
|
|
26767
|
+
}
|
|
26768
|
+
else {
|
|
26769
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyMaskingRulesResponse({}));
|
|
26770
|
+
}
|
|
25919
26771
|
}
|
|
25920
26772
|
/**
|
|
25921
26773
|
* Modifies or adds a data masking rule.
|
|
@@ -25978,7 +26830,12 @@ class Client extends openapi_core_1.default {
|
|
|
25978
26830
|
reqBodyType: "formData",
|
|
25979
26831
|
bodyType: "json",
|
|
25980
26832
|
});
|
|
25981
|
-
|
|
26833
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26834
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
|
|
26835
|
+
}
|
|
26836
|
+
else {
|
|
26837
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
|
|
26838
|
+
}
|
|
25982
26839
|
}
|
|
25983
26840
|
/**
|
|
25984
26841
|
* Modifies the switching time of a pending event.
|
|
@@ -26044,7 +26901,12 @@ class Client extends openapi_core_1.default {
|
|
|
26044
26901
|
reqBodyType: "formData",
|
|
26045
26902
|
bodyType: "json",
|
|
26046
26903
|
});
|
|
26047
|
-
|
|
26904
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26905
|
+
return $dara.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
|
|
26906
|
+
}
|
|
26907
|
+
else {
|
|
26908
|
+
return $dara.cast(await this.execute(params, req, runtime), new OpenAITaskResponse({}));
|
|
26909
|
+
}
|
|
26048
26910
|
}
|
|
26049
26911
|
/**
|
|
26050
26912
|
* Enables the PolarDB for AI feature for a cluster.
|
|
@@ -26095,7 +26957,12 @@ class Client extends openapi_core_1.default {
|
|
|
26095
26957
|
reqBodyType: "formData",
|
|
26096
26958
|
bodyType: "json",
|
|
26097
26959
|
});
|
|
26098
|
-
|
|
26960
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
26961
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
|
|
26962
|
+
}
|
|
26963
|
+
else {
|
|
26964
|
+
return $dara.cast(await this.execute(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
|
|
26965
|
+
}
|
|
26099
26966
|
}
|
|
26100
26967
|
/**
|
|
26101
26968
|
* Updates the storage usage of a cluster.
|
|
@@ -26155,7 +27022,12 @@ class Client extends openapi_core_1.default {
|
|
|
26155
27022
|
reqBodyType: "formData",
|
|
26156
27023
|
bodyType: "json",
|
|
26157
27024
|
});
|
|
26158
|
-
|
|
27025
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27026
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
27027
|
+
}
|
|
27028
|
+
else {
|
|
27029
|
+
return $dara.cast(await this.execute(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
|
|
27030
|
+
}
|
|
26159
27031
|
}
|
|
26160
27032
|
/**
|
|
26161
27033
|
* Removes a secondary cluster from a GDN.
|
|
@@ -26219,7 +27091,12 @@ class Client extends openapi_core_1.default {
|
|
|
26219
27091
|
reqBodyType: "formData",
|
|
26220
27092
|
bodyType: "json",
|
|
26221
27093
|
});
|
|
26222
|
-
|
|
27094
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27095
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
|
|
27096
|
+
}
|
|
27097
|
+
else {
|
|
27098
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetAccountResponse({}));
|
|
27099
|
+
}
|
|
26223
27100
|
}
|
|
26224
27101
|
/**
|
|
26225
27102
|
* Resets the permissions of a privileged account for a PolarDB cluster.
|
|
@@ -26283,7 +27160,12 @@ class Client extends openapi_core_1.default {
|
|
|
26283
27160
|
reqBodyType: "formData",
|
|
26284
27161
|
bodyType: "json",
|
|
26285
27162
|
});
|
|
26286
|
-
|
|
27163
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27164
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
27165
|
+
}
|
|
27166
|
+
else {
|
|
27167
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
|
|
27168
|
+
}
|
|
26287
27169
|
}
|
|
26288
27170
|
/**
|
|
26289
27171
|
* Rebuilds a secondary cluster in a Global Database Network (GDN).
|
|
@@ -26337,7 +27219,12 @@ class Client extends openapi_core_1.default {
|
|
|
26337
27219
|
reqBodyType: "formData",
|
|
26338
27220
|
bodyType: "json",
|
|
26339
27221
|
});
|
|
26340
|
-
|
|
27222
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27223
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
|
|
27224
|
+
}
|
|
27225
|
+
else {
|
|
27226
|
+
return $dara.cast(await this.execute(params, req, runtime), new RestartDBLinkResponse({}));
|
|
27227
|
+
}
|
|
26341
27228
|
}
|
|
26342
27229
|
/**
|
|
26343
27230
|
* Restarts database links.
|
|
@@ -26388,7 +27275,12 @@ class Client extends openapi_core_1.default {
|
|
|
26388
27275
|
reqBodyType: "formData",
|
|
26389
27276
|
bodyType: "json",
|
|
26390
27277
|
});
|
|
26391
|
-
|
|
27278
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27279
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
|
|
27280
|
+
}
|
|
27281
|
+
else {
|
|
27282
|
+
return $dara.cast(await this.execute(params, req, runtime), new RestartDBNodeResponse({}));
|
|
27283
|
+
}
|
|
26392
27284
|
}
|
|
26393
27285
|
/**
|
|
26394
27286
|
* Restarts a node in a PolarDB cluster.
|
|
@@ -26451,7 +27343,12 @@ class Client extends openapi_core_1.default {
|
|
|
26451
27343
|
reqBodyType: "formData",
|
|
26452
27344
|
bodyType: "json",
|
|
26453
27345
|
});
|
|
26454
|
-
|
|
27346
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27347
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
|
|
27348
|
+
}
|
|
27349
|
+
else {
|
|
27350
|
+
return $dara.cast(await this.execute(params, req, runtime), new RestoreTableResponse({}));
|
|
27351
|
+
}
|
|
26455
27352
|
}
|
|
26456
27353
|
/**
|
|
26457
27354
|
* Restores PolarDB databases and tables.
|
|
@@ -26508,7 +27405,12 @@ class Client extends openapi_core_1.default {
|
|
|
26508
27405
|
reqBodyType: "formData",
|
|
26509
27406
|
bodyType: "json",
|
|
26510
27407
|
});
|
|
26511
|
-
|
|
27408
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27409
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
|
|
27410
|
+
}
|
|
27411
|
+
else {
|
|
27412
|
+
return $dara.cast(await this.execute(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
|
|
27413
|
+
}
|
|
26512
27414
|
}
|
|
26513
27415
|
/**
|
|
26514
27416
|
* Revokes the access permissions on one or more databases from a specified PolarDB standard account.
|
|
@@ -26572,7 +27474,12 @@ class Client extends openapi_core_1.default {
|
|
|
26572
27474
|
reqBodyType: "formData",
|
|
26573
27475
|
bodyType: "json",
|
|
26574
27476
|
});
|
|
26575
|
-
|
|
27477
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27478
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
|
|
27479
|
+
}
|
|
27480
|
+
else {
|
|
27481
|
+
return $dara.cast(await this.execute(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
|
|
27482
|
+
}
|
|
26576
27483
|
}
|
|
26577
27484
|
/**
|
|
26578
27485
|
* @param request - SwitchOverGlobalDatabaseNetworkRequest
|
|
@@ -26630,7 +27537,12 @@ class Client extends openapi_core_1.default {
|
|
|
26630
27537
|
reqBodyType: "formData",
|
|
26631
27538
|
bodyType: "json",
|
|
26632
27539
|
});
|
|
26633
|
-
|
|
27540
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27541
|
+
return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
27542
|
+
}
|
|
27543
|
+
else {
|
|
27544
|
+
return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
27545
|
+
}
|
|
26634
27546
|
}
|
|
26635
27547
|
/**
|
|
26636
27548
|
* Creates tags for a PolarDB cluster.
|
|
@@ -26696,7 +27608,12 @@ class Client extends openapi_core_1.default {
|
|
|
26696
27608
|
reqBodyType: "formData",
|
|
26697
27609
|
bodyType: "json",
|
|
26698
27610
|
});
|
|
26699
|
-
|
|
27611
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27612
|
+
return $dara.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
27613
|
+
}
|
|
27614
|
+
else {
|
|
27615
|
+
return $dara.cast(await this.execute(params, req, runtime), new TempModifyDBNodeResponse({}));
|
|
27616
|
+
}
|
|
26700
27617
|
}
|
|
26701
27618
|
/**
|
|
26702
27619
|
* Temporarily changes the node configurations.
|
|
@@ -26771,7 +27688,12 @@ class Client extends openapi_core_1.default {
|
|
|
26771
27688
|
reqBodyType: "formData",
|
|
26772
27689
|
bodyType: "json",
|
|
26773
27690
|
});
|
|
26774
|
-
|
|
27691
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27692
|
+
return $dara.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
27693
|
+
}
|
|
27694
|
+
else {
|
|
27695
|
+
return $dara.cast(await this.execute(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
|
|
27696
|
+
}
|
|
26775
27697
|
}
|
|
26776
27698
|
/**
|
|
26777
27699
|
* Changes the billing method of a PolarDB cluster.
|
|
@@ -26840,7 +27762,12 @@ class Client extends openapi_core_1.default {
|
|
|
26840
27762
|
reqBodyType: "formData",
|
|
26841
27763
|
bodyType: "json",
|
|
26842
27764
|
});
|
|
26843
|
-
|
|
27765
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27766
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
27767
|
+
}
|
|
27768
|
+
else {
|
|
27769
|
+
return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
|
|
27770
|
+
}
|
|
26844
27771
|
}
|
|
26845
27772
|
/**
|
|
26846
27773
|
* Unbinds tags from PolarDB clusters.
|
|
@@ -26919,7 +27846,12 @@ class Client extends openapi_core_1.default {
|
|
|
26919
27846
|
reqBodyType: "formData",
|
|
26920
27847
|
bodyType: "json",
|
|
26921
27848
|
});
|
|
26922
|
-
|
|
27849
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
27850
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
27851
|
+
}
|
|
27852
|
+
else {
|
|
27853
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
|
|
27854
|
+
}
|
|
26923
27855
|
}
|
|
26924
27856
|
/**
|
|
26925
27857
|
* Upgrades the kernel version of a PolarDB for MySQL cluster.
|