tencentcloud-sdk-nodejs-intl-en 3.0.1368 → 3.0.1370
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/package.json +1 -1
- package/tencentcloud/cdb/v20170320/cdb_client.js +338 -138
- package/tencentcloud/cdb/v20170320/models.js +3697 -1474
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +3 -2
- package/tencentcloud/cynosdb/v20190107/models.js +164 -120
- package/tencentcloud/mdc/v20200828/models.js +112 -0
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const TaskDetail = models.TaskDetail;
|
|
20
|
+
const DescribeTableColumnsResponse = models.DescribeTableColumnsResponse;
|
|
20
21
|
const CdbZoneSellConf = models.CdbZoneSellConf;
|
|
21
22
|
const CreateDBImportJobRequest = models.CreateDBImportJobRequest;
|
|
22
23
|
const DescribeDatabasesRequest = models.DescribeDatabasesRequest;
|
|
@@ -33,13 +34,15 @@ const DescribeRollbackRangeTimeRequest = models.DescribeRollbackRangeTimeRequest
|
|
|
33
34
|
const DescribeBackupOverviewRequest = models.DescribeBackupOverviewRequest;
|
|
34
35
|
const DescribeAuditInstanceListResponse = models.DescribeAuditInstanceListResponse;
|
|
35
36
|
const ModifyDBInstanceProjectResponse = models.ModifyDBInstanceProjectResponse;
|
|
36
|
-
const
|
|
37
|
+
const ModifyDBInstanceModesResponse = models.ModifyDBInstanceModesResponse;
|
|
37
38
|
const DeleteAuditPolicyRequest = models.DeleteAuditPolicyRequest;
|
|
38
39
|
const BackupSummaryItem = models.BackupSummaryItem;
|
|
39
40
|
const CreateDatabaseRequest = models.CreateDatabaseRequest;
|
|
40
41
|
const ModifyInstanceParamRequest = models.ModifyInstanceParamRequest;
|
|
42
|
+
const ModifyProtectModeResponse = models.ModifyProtectModeResponse;
|
|
41
43
|
const CreateParamTemplateRequest = models.CreateParamTemplateRequest;
|
|
42
|
-
const
|
|
44
|
+
const RemoteBackupInfo = models.RemoteBackupInfo;
|
|
45
|
+
const PeriodStrategy = models.PeriodStrategy;
|
|
43
46
|
const DescribeParamTemplateInfoRequest = models.DescribeParamTemplateInfoRequest;
|
|
44
47
|
const ModifyCdbProxyAddressVipAndVPortResponse = models.ModifyCdbProxyAddressVipAndVPortResponse;
|
|
45
48
|
const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
|
|
@@ -48,12 +51,13 @@ const ModifyCdbProxyAddressDescRequest = models.ModifyCdbProxyAddressDescRequest
|
|
|
48
51
|
const CdbRegionSellConf = models.CdbRegionSellConf;
|
|
49
52
|
const ReadWriteNode = models.ReadWriteNode;
|
|
50
53
|
const DescribeRoGroupsRequest = models.DescribeRoGroupsRequest;
|
|
51
|
-
const
|
|
54
|
+
const DescribeInstanceUpgradeTypeResponse = models.DescribeInstanceUpgradeTypeResponse;
|
|
52
55
|
const CreateCdbProxyAddressResponse = models.CreateCdbProxyAddressResponse;
|
|
53
56
|
const RollbackTableName = models.RollbackTableName;
|
|
54
57
|
const CloseWanServiceRequest = models.CloseWanServiceRequest;
|
|
55
58
|
const DescribeAuditConfigRequest = models.DescribeAuditConfigRequest;
|
|
56
59
|
const CreateRoInstanceIpResponse = models.CreateRoInstanceIpResponse;
|
|
60
|
+
const CloseSSLRequest = models.CloseSSLRequest;
|
|
57
61
|
const CreateAuditPolicyResponse = models.CreateAuditPolicyResponse;
|
|
58
62
|
const LogRuleTemplateInfo = models.LogRuleTemplateInfo;
|
|
59
63
|
const DescribeInstanceParamRecordsRequest = models.DescribeInstanceParamRecordsRequest;
|
|
@@ -66,6 +70,7 @@ const DescribeRoMinScaleResponse = models.DescribeRoMinScaleResponse;
|
|
|
66
70
|
const StopDBImportJobResponse = models.StopDBImportJobResponse;
|
|
67
71
|
const ProxyAllocation = models.ProxyAllocation;
|
|
68
72
|
const StopCpuExpandRequest = models.StopCpuExpandRequest;
|
|
73
|
+
const DescribeInstancePasswordComplexityRequest = models.DescribeInstancePasswordComplexityRequest;
|
|
69
74
|
const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
|
|
70
75
|
const TagInfoUnit = models.TagInfoUnit;
|
|
71
76
|
const DescribeAuditRulesRequest = models.DescribeAuditRulesRequest;
|
|
@@ -73,12 +78,12 @@ const UpgradeDBInstanceEngineVersionResponse = models.UpgradeDBInstanceEngineVer
|
|
|
73
78
|
const ErrlogItem = models.ErrlogItem;
|
|
74
79
|
const ProxyGroupInfo = models.ProxyGroupInfo;
|
|
75
80
|
const AssociateSecurityGroupsResponse = models.AssociateSecurityGroupsResponse;
|
|
76
|
-
const
|
|
81
|
+
const DescribeCPUExpandStrategyInfoResponse = models.DescribeCPUExpandStrategyInfoResponse;
|
|
77
82
|
const Rule = models.Rule;
|
|
78
83
|
const AuditPolicy = models.AuditPolicy;
|
|
79
84
|
const ProxyNode = models.ProxyNode;
|
|
80
85
|
const DescribeCdbZoneConfigResponse = models.DescribeCdbZoneConfigResponse;
|
|
81
|
-
const
|
|
86
|
+
const ReadonlyNode = models.ReadonlyNode;
|
|
82
87
|
const DescribeTablesRequest = models.DescribeTablesRequest;
|
|
83
88
|
const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
|
|
84
89
|
const ModifyParamTemplateRequest = models.ModifyParamTemplateRequest;
|
|
@@ -88,15 +93,18 @@ const DescribeDBInstanceLogToCLSResponse = models.DescribeDBInstanceLogToCLSResp
|
|
|
88
93
|
const SwitchDBInstanceMasterSlaveRequest = models.SwitchDBInstanceMasterSlaveRequest;
|
|
89
94
|
const ModifyCdbProxyAddressVipAndVPortRequest = models.ModifyCdbProxyAddressVipAndVPortRequest;
|
|
90
95
|
const ModifyAutoRenewFlagRequest = models.ModifyAutoRenewFlagRequest;
|
|
96
|
+
const OpenSSLRequest = models.OpenSSLRequest;
|
|
91
97
|
const DescribeAuditConfigResponse = models.DescribeAuditConfigResponse;
|
|
92
98
|
const ModifyBackupConfigResponse = models.ModifyBackupConfigResponse;
|
|
93
99
|
const OpenWanServiceRequest = models.OpenWanServiceRequest;
|
|
94
100
|
const DeleteAuditPolicyResponse = models.DeleteAuditPolicyResponse;
|
|
95
101
|
const DescribeParamTemplateInfoResponse = models.DescribeParamTemplateInfoResponse;
|
|
96
102
|
const DescribeInstanceParamsResponse = models.DescribeInstanceParamsResponse;
|
|
103
|
+
const DeleteDatabaseRequest = models.DeleteDatabaseRequest;
|
|
97
104
|
const UploadInfo = models.UploadInfo;
|
|
98
|
-
const
|
|
105
|
+
const NodeDistribution = models.NodeDistribution;
|
|
99
106
|
const AuditRuleFilters = models.AuditRuleFilters;
|
|
107
|
+
const SubmitInstanceUpgradeCheckJobRequest = models.SubmitInstanceUpgradeCheckJobRequest;
|
|
100
108
|
const ModifyLocalBinlogConfigRequest = models.ModifyLocalBinlogConfigRequest;
|
|
101
109
|
const StartBatchRollbackResponse = models.StartBatchRollbackResponse;
|
|
102
110
|
const DescribeDeviceMonitorInfoResponse = models.DescribeDeviceMonitorInfoResponse;
|
|
@@ -105,22 +113,27 @@ const ModifyRoGroupInfoRequest = models.ModifyRoGroupInfoRequest;
|
|
|
105
113
|
const ReleaseResult = models.ReleaseResult;
|
|
106
114
|
const ModifyDBInstanceVipVportRequest = models.ModifyDBInstanceVipVportRequest;
|
|
107
115
|
const AuditRule = models.AuditRule;
|
|
116
|
+
const DescribeInstanceAlarmEventsRequest = models.DescribeInstanceAlarmEventsRequest;
|
|
108
117
|
const DescribeBinlogsRequest = models.DescribeBinlogsRequest;
|
|
118
|
+
const TimeIntervalStrategy = models.TimeIntervalStrategy;
|
|
109
119
|
const DescribeCdbProxyInfoRequest = models.DescribeCdbProxyInfoRequest;
|
|
110
120
|
const RollbackDBName = models.RollbackDBName;
|
|
111
121
|
const RuleFilters = models.RuleFilters;
|
|
112
122
|
const ModifyAuditRuleTemplatesRequest = models.ModifyAuditRuleTemplatesRequest;
|
|
123
|
+
const StopDBImportJobRequest = models.StopDBImportJobRequest;
|
|
113
124
|
const ModifyRemoteBackupConfigResponse = models.ModifyRemoteBackupConfigResponse;
|
|
114
125
|
const DescribeDBInstanceInfoResponse = models.DescribeDBInstanceInfoResponse;
|
|
115
126
|
const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
|
|
116
|
-
const
|
|
127
|
+
const DescribeInstanceUpgradeCheckJobRequest = models.DescribeInstanceUpgradeCheckJobRequest;
|
|
117
128
|
const DescribeDBFeaturesResponse = models.DescribeDBFeaturesResponse;
|
|
129
|
+
const SubmitInstanceUpgradeCheckJobResponse = models.SubmitInstanceUpgradeCheckJobResponse;
|
|
118
130
|
const DescribeBinlogsResponse = models.DescribeBinlogsResponse;
|
|
119
131
|
const DescribeRoMinScaleRequest = models.DescribeRoMinScaleRequest;
|
|
120
132
|
const DescribeDefaultParamsRequest = models.DescribeDefaultParamsRequest;
|
|
121
133
|
const AuditInstanceInfo = models.AuditInstanceInfo;
|
|
122
134
|
const CustomConfig = models.CustomConfig;
|
|
123
135
|
const SwitchDBInstanceMasterSlaveResponse = models.SwitchDBInstanceMasterSlaveResponse;
|
|
136
|
+
const DescribeDataBackupOverviewResponse = models.DescribeDataBackupOverviewResponse;
|
|
124
137
|
const DescribeBackupsRequest = models.DescribeBackupsRequest;
|
|
125
138
|
const DescribeInstanceParamRecordsResponse = models.DescribeInstanceParamRecordsResponse;
|
|
126
139
|
const DescribeDBInstanceGTIDResponse = models.DescribeDBInstanceGTIDResponse;
|
|
@@ -136,7 +149,8 @@ const DescribeErrorLogDataResponse = models.DescribeErrorLogDataResponse;
|
|
|
136
149
|
const AddTimeWindowRequest = models.AddTimeWindowRequest;
|
|
137
150
|
const ImportRecord = models.ImportRecord;
|
|
138
151
|
const DeleteAuditLogFileResponse = models.DeleteAuditLogFileResponse;
|
|
139
|
-
const
|
|
152
|
+
const DescribeSlowLogsResponse = models.DescribeSlowLogsResponse;
|
|
153
|
+
const DescribeCPUExpandStrategyInfoRequest = models.DescribeCPUExpandStrategyInfoRequest;
|
|
140
154
|
const SlaveInfo = models.SlaveInfo;
|
|
141
155
|
const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
|
|
142
156
|
const DescribeDBSwitchRecordsResponse = models.DescribeDBSwitchRecordsResponse;
|
|
@@ -146,7 +160,7 @@ const CreateAuditLogFileResponse = models.CreateAuditLogFileResponse;
|
|
|
146
160
|
const ModifyCdbProxyParamResponse = models.ModifyCdbProxyParamResponse;
|
|
147
161
|
const ModifyInstanceTagResponse = models.ModifyInstanceTagResponse;
|
|
148
162
|
const DescribeDBSwitchRecordsRequest = models.DescribeDBSwitchRecordsRequest;
|
|
149
|
-
const
|
|
163
|
+
const DescribeSupportedPrivilegesRequest = models.DescribeSupportedPrivilegesRequest;
|
|
150
164
|
const DescribeAsyncRequestInfoResponse = models.DescribeAsyncRequestInfoResponse;
|
|
151
165
|
const DeleteAccountsResponse = models.DeleteAccountsResponse;
|
|
152
166
|
const ParamTemplateInfo = models.ParamTemplateInfo;
|
|
@@ -167,6 +181,7 @@ const StopReplicationRequest = models.StopReplicationRequest;
|
|
|
167
181
|
const StartCpuExpandResponse = models.StartCpuExpandResponse;
|
|
168
182
|
const CreateCloneInstanceResponse = models.CreateCloneInstanceResponse;
|
|
169
183
|
const DescribeCdbZoneConfigRequest = models.DescribeCdbZoneConfigRequest;
|
|
184
|
+
const ResetPasswordRequest = models.ResetPasswordRequest;
|
|
170
185
|
const DeviceCpuInfo = models.DeviceCpuInfo;
|
|
171
186
|
const DescribeAsyncRequestInfoRequest = models.DescribeAsyncRequestInfoRequest;
|
|
172
187
|
const BalanceRoGroupLoadRequest = models.BalanceRoGroupLoadRequest;
|
|
@@ -174,7 +189,7 @@ const DescribeBackupOverviewResponse = models.DescribeBackupOverviewResponse;
|
|
|
174
189
|
const DescribeLocalBinlogConfigRequest = models.DescribeLocalBinlogConfigRequest;
|
|
175
190
|
const TagsInfoOfInstance = models.TagsInfoOfInstance;
|
|
176
191
|
const DescribeDeviceMonitorInfoRequest = models.DescribeDeviceMonitorInfoRequest;
|
|
177
|
-
const
|
|
192
|
+
const DescribeInstanceUpgradeTypeRequest = models.DescribeInstanceUpgradeTypeRequest;
|
|
178
193
|
const DescribeDBInstanceConfigResponse = models.DescribeDBInstanceConfigResponse;
|
|
179
194
|
const SlaveConfig = models.SlaveConfig;
|
|
180
195
|
const ModifyAccountPrivilegesResponse = models.ModifyAccountPrivilegesResponse;
|
|
@@ -182,7 +197,7 @@ const StopRollbackRequest = models.StopRollbackRequest;
|
|
|
182
197
|
const LogToCLSConfig = models.LogToCLSConfig;
|
|
183
198
|
const ResetRootAccountRequest = models.ResetRootAccountRequest;
|
|
184
199
|
const DescribeDBInstanceConfigRequest = models.DescribeDBInstanceConfigRequest;
|
|
185
|
-
const
|
|
200
|
+
const DescribeTableColumnsRequest = models.DescribeTableColumnsRequest;
|
|
186
201
|
const DescribeProxyCustomConfResponse = models.DescribeProxyCustomConfResponse;
|
|
187
202
|
const ModifyAuditConfigResponse = models.ModifyAuditConfigResponse;
|
|
188
203
|
const SwitchDrInstanceToMasterResponse = models.SwitchDrInstanceToMasterResponse;
|
|
@@ -204,10 +219,10 @@ const TagInfo = models.TagInfo;
|
|
|
204
219
|
const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
|
|
205
220
|
const DescribeBackupDownloadRestrictionRequest = models.DescribeBackupDownloadRestrictionRequest;
|
|
206
221
|
const DeleteAccountsRequest = models.DeleteAccountsRequest;
|
|
207
|
-
const
|
|
222
|
+
const DeleteRotationPasswordResponse = models.DeleteRotationPasswordResponse;
|
|
208
223
|
const DescribeAccountsResponse = models.DescribeAccountsResponse;
|
|
209
224
|
const RollbackTimeRange = models.RollbackTimeRange;
|
|
210
|
-
const
|
|
225
|
+
const ModifyProtectModeRequest = models.ModifyProtectModeRequest;
|
|
211
226
|
const DescribeAuditRuleTemplateModifyHistoryResponse = models.DescribeAuditRuleTemplateModifyHistoryResponse;
|
|
212
227
|
const DescribeAuditLogFilesRequest = models.DescribeAuditLogFilesRequest;
|
|
213
228
|
const ModifyBackupConfigRequest = models.ModifyBackupConfigRequest;
|
|
@@ -222,14 +237,17 @@ const DescribeAuditLogsRequest = models.DescribeAuditLogsRequest;
|
|
|
222
237
|
const DescribeBackupConfigRequest = models.DescribeBackupConfigRequest;
|
|
223
238
|
const RoVipInfo = models.RoVipInfo;
|
|
224
239
|
const DescribeAccountsRequest = models.DescribeAccountsRequest;
|
|
240
|
+
const ModifyAuditServiceRequest = models.ModifyAuditServiceRequest;
|
|
225
241
|
const DescribeErrorLogDataRequest = models.DescribeErrorLogDataRequest;
|
|
226
242
|
const DescribeAuditLogFilesResponse = models.DescribeAuditLogFilesResponse;
|
|
227
243
|
const DescribeDBInstanceRebootTimeRequest = models.DescribeDBInstanceRebootTimeRequest;
|
|
228
244
|
const Inbound = models.Inbound;
|
|
229
245
|
const CreateAccountsResponse = models.CreateAccountsResponse;
|
|
246
|
+
const ModifyDBInstanceModesRequest = models.ModifyDBInstanceModesRequest;
|
|
230
247
|
const CdbSellType = models.CdbSellType;
|
|
231
248
|
const MasterInfo = models.MasterInfo;
|
|
232
249
|
const ResetRootAccountResponse = models.ResetRootAccountResponse;
|
|
250
|
+
const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
|
|
233
251
|
const Account = models.Account;
|
|
234
252
|
const ModifyNameOrDescByDpIdResponse = models.ModifyNameOrDescByDpIdResponse;
|
|
235
253
|
const DescribeDBPriceResponse = models.DescribeDBPriceResponse;
|
|
@@ -241,8 +259,10 @@ const ModifyCdbProxyParamRequest = models.ModifyCdbProxyParamRequest;
|
|
|
241
259
|
const RoGroup = models.RoGroup;
|
|
242
260
|
const ParameterDetail = models.ParameterDetail;
|
|
243
261
|
const SwitchForUpgradeRequest = models.SwitchForUpgradeRequest;
|
|
262
|
+
const CreateRotationPasswordRequest = models.CreateRotationPasswordRequest;
|
|
244
263
|
const CreateDBInstanceHourResponse = models.CreateDBInstanceHourResponse;
|
|
245
264
|
const DescribeBackupDownloadRestrictionResponse = models.DescribeBackupDownloadRestrictionResponse;
|
|
265
|
+
const DescribeBackupDecryptionKeyRequest = models.DescribeBackupDecryptionKeyRequest;
|
|
246
266
|
const CloneItem = models.CloneItem;
|
|
247
267
|
const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
|
|
248
268
|
const CreateAccountsRequest = models.CreateAccountsRequest;
|
|
@@ -253,7 +273,8 @@ const CloseWanServiceResponse = models.CloseWanServiceResponse;
|
|
|
253
273
|
const RenewDBInstanceRequest = models.RenewDBInstanceRequest;
|
|
254
274
|
const SlowLogInfo = models.SlowLogInfo;
|
|
255
275
|
const ModifyLocalBinlogConfigResponse = models.ModifyLocalBinlogConfigResponse;
|
|
256
|
-
const
|
|
276
|
+
const DeleteDatabaseResponse = models.DeleteDatabaseResponse;
|
|
277
|
+
const DescribeInstanceUpgradeCheckJobResponse = models.DescribeInstanceUpgradeCheckJobResponse;
|
|
257
278
|
const DescribeCloneListRequest = models.DescribeCloneListRequest;
|
|
258
279
|
const ModifyInstanceTagRequest = models.ModifyInstanceTagRequest;
|
|
259
280
|
const DescribeProxySupportParamRequest = models.DescribeProxySupportParamRequest;
|
|
@@ -262,7 +283,7 @@ const RollbackTask = models.RollbackTask;
|
|
|
262
283
|
const StartReplicationRequest = models.StartReplicationRequest;
|
|
263
284
|
const ProxyInst = models.ProxyInst;
|
|
264
285
|
const ReloadBalanceProxyNodeResponse = models.ReloadBalanceProxyNodeResponse;
|
|
265
|
-
const
|
|
286
|
+
const DescribeRemoteBackupConfigResponse = models.DescribeRemoteBackupConfigResponse;
|
|
266
287
|
const DescribeDBImportRecordsResponse = models.DescribeDBImportRecordsResponse;
|
|
267
288
|
const BackupItem = models.BackupItem;
|
|
268
289
|
const AuditFilter = models.AuditFilter;
|
|
@@ -273,6 +294,7 @@ const AdjustCdbProxyResponse = models.AdjustCdbProxyResponse;
|
|
|
273
294
|
const ModifyParamTemplateResponse = models.ModifyParamTemplateResponse;
|
|
274
295
|
const BalanceRoGroupLoadResponse = models.BalanceRoGroupLoadResponse;
|
|
275
296
|
const DeviceNetInfo = models.DeviceNetInfo;
|
|
297
|
+
const ModifyRoGroupVipVportResponse = models.ModifyRoGroupVipVportResponse;
|
|
276
298
|
const ModifyDBInstanceVipVportResponse = models.ModifyDBInstanceVipVportResponse;
|
|
277
299
|
const IsolateDBInstanceRequest = models.IsolateDBInstanceRequest;
|
|
278
300
|
const InstanceAuditLogFilters = models.InstanceAuditLogFilters;
|
|
@@ -280,13 +302,16 @@ const DescribeUploadedFilesRequest = models.DescribeUploadedFilesRequest;
|
|
|
280
302
|
const InstanceInfo = models.InstanceInfo;
|
|
281
303
|
const DescribeDefaultParamsResponse = models.DescribeDefaultParamsResponse;
|
|
282
304
|
const SwitchCDBProxyRequest = models.SwitchCDBProxyRequest;
|
|
305
|
+
const StartReplicationResponse = models.StartReplicationResponse;
|
|
283
306
|
const DescribeTagsOfInstanceIdsResponse = models.DescribeTagsOfInstanceIdsResponse;
|
|
284
307
|
const OfflineIsolatedInstancesResponse = models.OfflineIsolatedInstancesResponse;
|
|
285
308
|
const CreateAuditRuleTemplateRequest = models.CreateAuditRuleTemplateRequest;
|
|
286
309
|
const DatabasePrivilege = models.DatabasePrivilege;
|
|
287
310
|
const DescribeAuditPoliciesRequest = models.DescribeAuditPoliciesRequest;
|
|
311
|
+
const DescribeInstancePasswordComplexityResponse = models.DescribeInstancePasswordComplexityResponse;
|
|
288
312
|
const AdjustCdbProxyAddressRequest = models.AdjustCdbProxyAddressRequest;
|
|
289
313
|
const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
|
|
314
|
+
const TaskAttachInfo = models.TaskAttachInfo;
|
|
290
315
|
const DescribeRoGroupsResponse = models.DescribeRoGroupsResponse;
|
|
291
316
|
const CloseCdbProxyAddressResponse = models.CloseCdbProxyAddressResponse;
|
|
292
317
|
const DescribeAuditRulesResponse = models.DescribeAuditRulesResponse;
|
|
@@ -294,8 +319,9 @@ const RoInstanceInfo = models.RoInstanceInfo;
|
|
|
294
319
|
const DeviceCpuRateInfo = models.DeviceCpuRateInfo;
|
|
295
320
|
const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
|
|
296
321
|
const CreateBackupRequest = models.CreateBackupRequest;
|
|
297
|
-
const
|
|
298
|
-
const
|
|
322
|
+
const AccountInfo = models.AccountInfo;
|
|
323
|
+
const DescribeTimeWindowRequest = models.DescribeTimeWindowRequest;
|
|
324
|
+
const UpgradeAnalysisInstanceVersionInfo = models.UpgradeAnalysisInstanceVersionInfo;
|
|
299
325
|
const AdjustCdbProxyAddressResponse = models.AdjustCdbProxyAddressResponse;
|
|
300
326
|
const CreateAuditLogFileRequest = models.CreateAuditLogFileRequest;
|
|
301
327
|
const DescribeSSLStatusResponse = models.DescribeSSLStatusResponse;
|
|
@@ -303,7 +329,6 @@ const DescribeDBImportRecordsRequest = models.DescribeDBImportRecordsRequest;
|
|
|
303
329
|
const CreateDBImportJobResponse = models.CreateDBImportJobResponse;
|
|
304
330
|
const DescribeTagsOfInstanceIdsRequest = models.DescribeTagsOfInstanceIdsRequest;
|
|
305
331
|
const StartCpuExpandRequest = models.StartCpuExpandRequest;
|
|
306
|
-
const DescribeCpuExpandStrategyRequest = models.DescribeCpuExpandStrategyRequest;
|
|
307
332
|
const CloseCDBProxyResponse = models.CloseCDBProxyResponse;
|
|
308
333
|
const StopReplicationResponse = models.StopReplicationResponse;
|
|
309
334
|
const UpgradeDBInstanceEngineVersionRequest = models.UpgradeDBInstanceEngineVersionRequest;
|
|
@@ -313,11 +338,13 @@ const BackupLimitVpcItem = models.BackupLimitVpcItem;
|
|
|
313
338
|
const ModifyDBInstanceProjectRequest = models.ModifyDBInstanceProjectRequest;
|
|
314
339
|
const Bucket = models.Bucket;
|
|
315
340
|
const SwitchForUpgradeResponse = models.SwitchForUpgradeResponse;
|
|
341
|
+
const UpgradeEngineVersionParams = models.UpgradeEngineVersionParams;
|
|
316
342
|
const DescribeAccountPrivilegesRequest = models.DescribeAccountPrivilegesRequest;
|
|
317
343
|
const CdbSellConfig = models.CdbSellConfig;
|
|
318
344
|
const DescribeSupportedPrivilegesResponse = models.DescribeSupportedPrivilegesResponse;
|
|
319
345
|
const SlowLogItem = models.SlowLogItem;
|
|
320
346
|
const DescribeLocalBinlogConfigResponse = models.DescribeLocalBinlogConfigResponse;
|
|
347
|
+
const OpenSSLResponse = models.OpenSSLResponse;
|
|
321
348
|
const ModifyAuditServiceResponse = models.ModifyAuditServiceResponse;
|
|
322
349
|
const ModifyInstancePasswordComplexityRequest = models.ModifyInstancePasswordComplexityRequest;
|
|
323
350
|
const OpenWanServiceResponse = models.OpenWanServiceResponse;
|
|
@@ -326,8 +353,10 @@ const DescribeBackupEncryptionStatusResponse = models.DescribeBackupEncryptionSt
|
|
|
326
353
|
const DescribeCdbProxyInfoResponse = models.DescribeCdbProxyInfoResponse;
|
|
327
354
|
const ModifyAuditConfigRequest = models.ModifyAuditConfigRequest;
|
|
328
355
|
const DeviceDiskInfo = models.DeviceDiskInfo;
|
|
356
|
+
const DescribeInstanceAlarmEventsResponse = models.DescribeInstanceAlarmEventsResponse;
|
|
329
357
|
const RoWeightValue = models.RoWeightValue;
|
|
330
358
|
const DescribeSlowLogDataResponse = models.DescribeSlowLogDataResponse;
|
|
359
|
+
const DeleteRotationPasswordRequest = models.DeleteRotationPasswordRequest;
|
|
331
360
|
const RestartDBInstancesResponse = models.RestartDBInstancesResponse;
|
|
332
361
|
const DescribeSlowLogsRequest = models.DescribeSlowLogsRequest;
|
|
333
362
|
const TagInfoItem = models.TagInfoItem;
|
|
@@ -337,7 +366,9 @@ const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse
|
|
|
337
366
|
const CloseCdbProxyAddressRequest = models.CloseCdbProxyAddressRequest;
|
|
338
367
|
const ModifyRoGroupInfoResponse = models.ModifyRoGroupInfoResponse;
|
|
339
368
|
const DeleteParamTemplateResponse = models.DeleteParamTemplateResponse;
|
|
369
|
+
const TimeInterval = models.TimeInterval;
|
|
340
370
|
const DBSwitchInfo = models.DBSwitchInfo;
|
|
371
|
+
const ResetPasswordResponse = models.ResetPasswordResponse;
|
|
341
372
|
const DescribeAuditRuleTemplateModifyHistoryRequest = models.DescribeAuditRuleTemplateModifyHistoryRequest;
|
|
342
373
|
const DescribeTasksResponse = models.DescribeTasksResponse;
|
|
343
374
|
const DescribeAuditLogsResponse = models.DescribeAuditLogsResponse;
|
|
@@ -362,11 +393,15 @@ const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGrou
|
|
|
362
393
|
const DescribeBackupSummariesRequest = models.DescribeBackupSummariesRequest;
|
|
363
394
|
const AnalyzeAuditLogsResponse = models.AnalyzeAuditLogsResponse;
|
|
364
395
|
const CreateDBInstanceResponse = models.CreateDBInstanceResponse;
|
|
396
|
+
const ModifyRoGroupVipVportRequest = models.ModifyRoGroupVipVportRequest;
|
|
365
397
|
const OpenAuditServiceRequest = models.OpenAuditServiceRequest;
|
|
366
398
|
const DescribeDBInstanceCharsetResponse = models.DescribeDBInstanceCharsetResponse;
|
|
367
399
|
const DescribeDBFeaturesRequest = models.DescribeDBFeaturesRequest;
|
|
400
|
+
const TImeCycle = models.TImeCycle;
|
|
368
401
|
const DescribeBackupSummariesResponse = models.DescribeBackupSummariesResponse;
|
|
369
402
|
const DescribeBinlogBackupOverviewRequest = models.DescribeBinlogBackupOverviewRequest;
|
|
403
|
+
const InstEventInfo = models.InstEventInfo;
|
|
404
|
+
const ReloadBalanceProxyNodeRequest = models.ReloadBalanceProxyNodeRequest;
|
|
370
405
|
const ModifyDBInstanceSecurityGroupsRequest = models.ModifyDBInstanceSecurityGroupsRequest;
|
|
371
406
|
const CloseAuditServiceRequest = models.CloseAuditServiceRequest;
|
|
372
407
|
const AutoStrategy = models.AutoStrategy;
|
|
@@ -378,6 +413,7 @@ const DescribeBackupDecryptionKeyResponse = models.DescribeBackupDecryptionKeyRe
|
|
|
378
413
|
const SecurityGroup = models.SecurityGroup;
|
|
379
414
|
const OfflineIsolatedInstancesRequest = models.OfflineIsolatedInstancesRequest;
|
|
380
415
|
const ModifyInstanceParamResponse = models.ModifyInstanceParamResponse;
|
|
416
|
+
const AuditLog = models.AuditLog;
|
|
381
417
|
const ColumnPrivilege = models.ColumnPrivilege;
|
|
382
418
|
const DescribeUploadedFilesResponse = models.DescribeUploadedFilesResponse;
|
|
383
419
|
const DescribeDBPriceRequest = models.DescribeDBPriceRequest;
|
|
@@ -390,24 +426,25 @@ const RoGroupAttr = models.RoGroupAttr;
|
|
|
390
426
|
const UpgradeCDBProxyVersionResponse = models.UpgradeCDBProxyVersionResponse;
|
|
391
427
|
const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
|
|
392
428
|
const ModifyAccountPasswordRequest = models.ModifyAccountPasswordRequest;
|
|
393
|
-
const DescribeCpuExpandStrategyResponse = models.DescribeCpuExpandStrategyResponse;
|
|
394
429
|
const InstanceRebootTime = models.InstanceRebootTime;
|
|
395
430
|
const RenewDBInstanceResponse = models.RenewDBInstanceResponse;
|
|
396
431
|
const TablePrivilege = models.TablePrivilege;
|
|
397
432
|
const AddTimeWindowResponse = models.AddTimeWindowResponse;
|
|
433
|
+
const CloseSSLResponse = models.CloseSSLResponse;
|
|
398
434
|
const DescribeAuditInstanceListRequest = models.DescribeAuditInstanceListRequest;
|
|
399
435
|
const DescribeBackupEncryptionStatusRequest = models.DescribeBackupEncryptionStatusRequest;
|
|
400
436
|
const ModifyDBInstanceLogToCLSResponse = models.ModifyDBInstanceLogToCLSResponse;
|
|
437
|
+
const AuditRuleTemplateInfo = models.AuditRuleTemplateInfo;
|
|
401
438
|
const AuditLogFile = models.AuditLogFile;
|
|
402
439
|
const DescribeAuditRuleTemplatesRequest = models.DescribeAuditRuleTemplatesRequest;
|
|
403
440
|
const RollbackTables = models.RollbackTables;
|
|
404
|
-
const
|
|
441
|
+
const BackupConfig = models.BackupConfig;
|
|
405
442
|
const LocalBinlogConfigDefault = models.LocalBinlogConfigDefault;
|
|
406
443
|
const DescribeSSLStatusRequest = models.DescribeSSLStatusRequest;
|
|
407
444
|
const DescribeSlowLogDataRequest = models.DescribeSlowLogDataRequest;
|
|
408
445
|
const ReleaseIsolatedDBInstancesResponse = models.ReleaseIsolatedDBInstancesResponse;
|
|
409
446
|
const DeleteAuditLogFileRequest = models.DeleteAuditLogFileRequest;
|
|
410
|
-
const
|
|
447
|
+
const Parameter = models.Parameter;
|
|
411
448
|
const DeleteTimeWindowRequest = models.DeleteTimeWindowRequest;
|
|
412
449
|
const SwitchCDBProxyResponse = models.SwitchCDBProxyResponse;
|
|
413
450
|
const RestartDBInstancesRequest = models.RestartDBInstancesRequest;
|
|
@@ -464,7 +501,29 @@ class CdbClient extends AbstractClient {
|
|
|
464
501
|
}
|
|
465
502
|
|
|
466
503
|
/**
|
|
467
|
-
* This API is used to query
|
|
504
|
+
* This API is used to query table column information of a designated database in a cloud database instance. It only supports primary instance and disaster recovery instance.
|
|
505
|
+
* @param {DescribeTableColumnsRequest} req
|
|
506
|
+
* @param {function(string, DescribeTableColumnsResponse):void} cb
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
DescribeTableColumns(req, cb) {
|
|
510
|
+
let resp = new DescribeTableColumnsResponse();
|
|
511
|
+
this.request("DescribeTableColumns", req, resp, cb);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* This API is used to enable SSL connectivity function.
|
|
516
|
+
* @param {OpenSSLRequest} req
|
|
517
|
+
* @param {function(string, OpenSSLResponse):void} cb
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
OpenSSL(req, cb) {
|
|
521
|
+
let resp = new OpenSSLResponse();
|
|
522
|
+
this.request("OpenSSL", req, resp, cb);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* This API is used to query cloud database version attributes, including whether database encryption and database audit are supported, and other features.
|
|
468
527
|
* @param {DescribeDBFeaturesRequest} req
|
|
469
528
|
* @param {function(string, DescribeDBFeaturesResponse):void} cb
|
|
470
529
|
* @public
|
|
@@ -497,7 +556,7 @@ class CdbClient extends AbstractClient {
|
|
|
497
556
|
}
|
|
498
557
|
|
|
499
558
|
/**
|
|
500
|
-
* This API is used to isolate a
|
|
559
|
+
* This API is used to isolate a cloud database instance. After an instance is isolated, you cannot access the database via IP and port. The isolated instance can be started in the recycle bin. If the instance is isolated due to arrears, please recharge as soon as possible.
|
|
501
560
|
* @param {IsolateDBInstanceRequest} req
|
|
502
561
|
* @param {function(string, IsolateDBInstanceResponse):void} cb
|
|
503
562
|
* @public
|
|
@@ -508,11 +567,22 @@ class CdbClient extends AbstractClient {
|
|
|
508
567
|
}
|
|
509
568
|
|
|
510
569
|
/**
|
|
511
|
-
* This API
|
|
570
|
+
* This API is used to modify the vip and vport of a Ro group.
|
|
571
|
+
* @param {ModifyRoGroupVipVportRequest} req
|
|
572
|
+
* @param {function(string, ModifyRoGroupVipVportResponse):void} cb
|
|
573
|
+
* @public
|
|
574
|
+
*/
|
|
575
|
+
ModifyRoGroupVipVport(req, cb) {
|
|
576
|
+
let resp = new ModifyRoGroupVipVportResponse();
|
|
577
|
+
this.request("ModifyRoGroupVipVport", req, resp, cb);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* This API is used to restart cloud database instances.
|
|
512
582
|
|
|
513
583
|
Note:
|
|
514
|
-
|
|
515
|
-
2. The instance status must be normal
|
|
584
|
+
This API supports performing a restart operation on primary instances, read-only instances, and disaster recovery instances.
|
|
585
|
+
2. The instance status must be normal and no other async tasks are in progress.
|
|
516
586
|
* @param {RestartDBInstancesRequest} req
|
|
517
587
|
* @param {function(string, RestartDBInstancesResponse):void} cb
|
|
518
588
|
* @public
|
|
@@ -544,6 +614,17 @@ Note:
|
|
|
544
614
|
this.request("DescribeTimeWindow", req, resp, cb);
|
|
545
615
|
}
|
|
546
616
|
|
|
617
|
+
/**
|
|
618
|
+
* This API (CloseWanService) is used to disable public network access for TencentDB instance, which will make public IP addresses inaccessible.
|
|
619
|
+
* @param {CloseWanServiceRequest} req
|
|
620
|
+
* @param {function(string, CloseWanServiceResponse):void} cb
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
CloseWanService(req, cb) {
|
|
624
|
+
let resp = new CloseWanServiceResponse();
|
|
625
|
+
this.request("CloseWanService", req, resp, cb);
|
|
626
|
+
}
|
|
627
|
+
|
|
547
628
|
/**
|
|
548
629
|
* This API is used to query the backup overview of a user. It will return the user's current total number of backups, total capacity used by backups, capacity in the free tier, and paid capacity (all capacity values are in bytes).
|
|
549
630
|
* @param {DescribeBackupOverviewRequest} req
|
|
@@ -556,7 +637,7 @@ Note:
|
|
|
556
637
|
}
|
|
557
638
|
|
|
558
639
|
/**
|
|
559
|
-
* This API is used to stop
|
|
640
|
+
* This API is used to stop RO replication and interrupt data sync from the primary instance.
|
|
560
641
|
* @param {StopReplicationRequest} req
|
|
561
642
|
* @param {function(string, StopReplicationResponse):void} cb
|
|
562
643
|
* @public
|
|
@@ -622,7 +703,7 @@ Note:
|
|
|
622
703
|
}
|
|
623
704
|
|
|
624
705
|
/**
|
|
625
|
-
* This
|
|
706
|
+
* This api is used to revoke an ongoing rollback task of an instance. The api response returns an Asynchronous Task ID. The revocation result can be queried through [DescribeAsyncRequestInfo](https://www.tencentcloud.com/document/api/236/20410?from_cn_redirect=1) for task execution.
|
|
626
707
|
* @param {StopRollbackRequest} req
|
|
627
708
|
* @param {function(string, StopRollbackResponse):void} cb
|
|
628
709
|
* @public
|
|
@@ -633,11 +714,22 @@ Note:
|
|
|
633
714
|
}
|
|
634
715
|
|
|
635
716
|
/**
|
|
636
|
-
* This API
|
|
717
|
+
* This API is used to query the upgrade type of a database instance.
|
|
718
|
+
* @param {DescribeInstanceUpgradeTypeRequest} req
|
|
719
|
+
* @param {function(string, DescribeInstanceUpgradeTypeResponse):void} cb
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
DescribeInstanceUpgradeType(req, cb) {
|
|
723
|
+
let resp = new DescribeInstanceUpgradeTypeResponse();
|
|
724
|
+
this.request("DescribeInstanceUpgradeType", req, resp, cb);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* This api is used to deactivate cloud database instances in quarantined state now. The instance Status for row operations must be quarantined state, such as instances with Status value 5 queried through the query instance list api.
|
|
637
729
|
|
|
638
|
-
This is
|
|
730
|
+
This API is used to perform asynchronous operation, and delays may occur when reclaiming partial resources. You can query by using the query instance list API (https://www.tencentcloud.com/document/api/236/15872?from_cn_redirect=1) with specified instance InstanceId and status Status as [5,6,7]. Among them, 5 represents isolated, 6 represents offline, and 7 represents Offline. If the return instance is empty, all instance resources have been released.
|
|
639
731
|
|
|
640
|
-
Note that
|
|
732
|
+
Note that after the instance goes offline, relevant resources and data cannot be recovered. Proceed with caution.
|
|
641
733
|
* @param {OfflineIsolatedInstancesRequest} req
|
|
642
734
|
* @param {function(string, OfflineIsolatedInstancesResponse):void} cb
|
|
643
735
|
* @public
|
|
@@ -670,7 +762,7 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
670
762
|
}
|
|
671
763
|
|
|
672
764
|
/**
|
|
673
|
-
* This API is used to query the
|
|
765
|
+
* This API is used to query the rollback task detail of a cloud database instance.
|
|
674
766
|
* @param {DescribeRollbackTaskDetailRequest} req
|
|
675
767
|
* @param {function(string, DescribeRollbackTaskDetailResponse):void} cb
|
|
676
768
|
* @public
|
|
@@ -692,7 +784,8 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
692
784
|
}
|
|
693
785
|
|
|
694
786
|
/**
|
|
695
|
-
* This API is used to query the parameter template list.
|
|
787
|
+
* This API is used to query the parameter template list.
|
|
788
|
+
Description: The parameter template is a common component, effective across all regions once configured. For api calls, Guangzhou or Singapore is available to configure region.
|
|
696
789
|
* @param {DescribeParamTemplatesRequest} req
|
|
697
790
|
* @param {function(string, DescribeParamTemplatesResponse):void} cb
|
|
698
791
|
* @public
|
|
@@ -714,7 +807,7 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
714
807
|
}
|
|
715
808
|
|
|
716
809
|
/**
|
|
717
|
-
* This API
|
|
810
|
+
* This API is used to query database backup configuration info.
|
|
718
811
|
* @param {DescribeBackupConfigRequest} req
|
|
719
812
|
* @param {function(string, DescribeBackupConfigResponse):void} cb
|
|
720
813
|
* @public
|
|
@@ -725,14 +818,36 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
725
818
|
}
|
|
726
819
|
|
|
727
820
|
/**
|
|
728
|
-
* This API
|
|
729
|
-
|
|
730
|
-
|
|
821
|
+
* This API is used to enable data storage encryption for instance and support users to specify custom keys.
|
|
822
|
+
|
|
823
|
+
Note that before enabling data storage encryption for instance, perform the following operations:
|
|
824
|
+
|
|
825
|
+
1. Perform instance initialization (https://www.tencentcloud.com/document/api/236/15873?from_cn_redirect=1).
|
|
826
|
+
|
|
827
|
+
2. Enable the KMS service (https://console.cloud.tencent.com/kms2).
|
|
828
|
+
|
|
829
|
+
3. Grant the cloud database (MySQL) permission to access the KMS key (https://console.cloud.tencent.com/cam/role). The role name is MySQL_QCSRole and the preset policy name is QcloudAccessForMySQLRole.
|
|
830
|
+
4. Closing is not allowed after encryption being enabled.
|
|
831
|
+
|
|
832
|
+
This API may take up to 10s, and the client may timeout. If the API call returns InternalError, please call [DescribeDBInstanceInfo](https://www.tencentcloud.com/document/product/236/44160?from_cn_redirect=1) to confirm whether backend encryption is successfully enabled. After calling, if the parameter Encryption is YES, it means activation is successful.
|
|
833
|
+
* @param {OpenDBInstanceEncryptionRequest} req
|
|
834
|
+
* @param {function(string, OpenDBInstanceEncryptionResponse):void} cb
|
|
731
835
|
* @public
|
|
732
836
|
*/
|
|
733
|
-
|
|
734
|
-
let resp = new
|
|
735
|
-
this.request("
|
|
837
|
+
OpenDBInstanceEncryption(req, cb) {
|
|
838
|
+
let resp = new OpenDBInstanceEncryptionResponse();
|
|
839
|
+
this.request("OpenDBInstanceEncryption", req, resp, cb);
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* This API is used to query the instance version upgrade validation task.
|
|
844
|
+
* @param {DescribeInstanceUpgradeCheckJobRequest} req
|
|
845
|
+
* @param {function(string, DescribeInstanceUpgradeCheckJobResponse):void} cb
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
DescribeInstanceUpgradeCheckJob(req, cb) {
|
|
849
|
+
let resp = new DescribeInstanceUpgradeCheckJobResponse();
|
|
850
|
+
this.request("DescribeInstanceUpgradeCheckJob", req, resp, cb);
|
|
736
851
|
}
|
|
737
852
|
|
|
738
853
|
/**
|
|
@@ -747,7 +862,7 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
747
862
|
}
|
|
748
863
|
|
|
749
864
|
/**
|
|
750
|
-
* This API is used to query
|
|
865
|
+
* This API is used to query audit policies of cloud database instances.
|
|
751
866
|
* @param {DescribeAuditPoliciesRequest} req
|
|
752
867
|
* @param {function(string, DescribeAuditPoliciesResponse):void} cb
|
|
753
868
|
* @public
|
|
@@ -758,28 +873,18 @@ Note that once an instance is deactivated, its resources and data will not be re
|
|
|
758
873
|
}
|
|
759
874
|
|
|
760
875
|
/**
|
|
761
|
-
* This API is used to
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
1. [Initialize an instance](https://intl.cloud.tencent.com/document/api/236/15873?from_cn_redirect=1).
|
|
766
|
-
|
|
767
|
-
2. Enable [KMS service](https://console.cloud.tencent.com/kms2)
|
|
768
|
-
|
|
769
|
-
3. [Grant permission to access KMS](https://console.cloud.tencent.com/cam/role) for TencentDB for MySQL. The role name is `MySQL_QCSRole`, and the preset policy name is `QcloudAccessForMySQLRole`.
|
|
770
|
-
|
|
771
|
-
This API calling may take up to 10 seconds, causing the client to time out. If it returns `InternalError`, call `DescribeDBInstanceInfo` to confirm whether the backend encryption is enabled successfully.
|
|
772
|
-
* @param {OpenDBInstanceEncryptionRequest} req
|
|
773
|
-
* @param {function(string, OpenDBInstanceEncryptionResponse):void} cb
|
|
876
|
+
* This API is used to delete a database in a cloud database instance.
|
|
877
|
+
* @param {DeleteDatabaseRequest} req
|
|
878
|
+
* @param {function(string, DeleteDatabaseResponse):void} cb
|
|
774
879
|
* @public
|
|
775
880
|
*/
|
|
776
|
-
|
|
777
|
-
let resp = new
|
|
778
|
-
this.request("
|
|
881
|
+
DeleteDatabase(req, cb) {
|
|
882
|
+
let resp = new DeleteDatabaseResponse();
|
|
883
|
+
this.request("DeleteDatabase", req, resp, cb);
|
|
779
884
|
}
|
|
780
885
|
|
|
781
886
|
/**
|
|
782
|
-
* This API
|
|
887
|
+
* This API is used to access tag information of the instance for cloud databases.
|
|
783
888
|
* @param {DescribeTagsOfInstanceIdsRequest} req
|
|
784
889
|
* @param {function(string, DescribeTagsOfInstanceIdsResponse):void} cb
|
|
785
890
|
* @public
|
|
@@ -834,6 +939,17 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
834
939
|
this.request("CreateDatabase", req, resp, cb);
|
|
835
940
|
}
|
|
836
941
|
|
|
942
|
+
/**
|
|
943
|
+
* This API is used to query the CPU Elastic Scaling information of an instance.
|
|
944
|
+
* @param {DescribeCPUExpandStrategyInfoRequest} req
|
|
945
|
+
* @param {function(string, DescribeCPUExpandStrategyInfoResponse):void} cb
|
|
946
|
+
* @public
|
|
947
|
+
*/
|
|
948
|
+
DescribeCPUExpandStrategyInfo(req, cb) {
|
|
949
|
+
let resp = new DescribeCPUExpandStrategyInfoResponse();
|
|
950
|
+
this.request("DescribeCPUExpandStrategyInfo", req, resp, cb);
|
|
951
|
+
}
|
|
952
|
+
|
|
837
953
|
/**
|
|
838
954
|
* This API (DisassociateSecurityGroups) is used to unbind security groups from instances in batches.
|
|
839
955
|
* @param {DisassociateSecurityGroupsRequest} req
|
|
@@ -868,7 +984,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
868
984
|
}
|
|
869
985
|
|
|
870
986
|
/**
|
|
871
|
-
* This API
|
|
987
|
+
* This API is used to query the permission information supported by a cloud database account.
|
|
872
988
|
* @param {DescribeAccountPrivilegesRequest} req
|
|
873
989
|
* @param {function(string, DescribeAccountPrivilegesResponse):void} cb
|
|
874
990
|
* @public
|
|
@@ -890,7 +1006,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
890
1006
|
}
|
|
891
1007
|
|
|
892
1008
|
/**
|
|
893
|
-
* This API is used to
|
|
1009
|
+
* This API is used to restore isolated cloud database instances. It is only used for de-isolating pay-as-you-go instances. For monthly subscription instances, please use RenewDBInstance.
|
|
894
1010
|
* @param {ReleaseIsolatedDBInstancesRequest} req
|
|
895
1011
|
* @param {function(string, ReleaseIsolatedDBInstancesResponse):void} cb
|
|
896
1012
|
* @public
|
|
@@ -901,7 +1017,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
901
1017
|
}
|
|
902
1018
|
|
|
903
1019
|
/**
|
|
904
|
-
* This API is used to create a clone
|
|
1020
|
+
* This API is used to create a clone instance from the source instance. You can specify a physical backup file or a rollback time point for the clone instance.
|
|
905
1021
|
* @param {CreateCloneInstanceRequest} req
|
|
906
1022
|
* @param {function(string, CreateCloneInstanceResponse):void} cb
|
|
907
1023
|
* @public
|
|
@@ -923,7 +1039,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
923
1039
|
}
|
|
924
1040
|
|
|
925
1041
|
/**
|
|
926
|
-
* This API is used to modify the password complexity of a
|
|
1042
|
+
* This API is used to modify the password complexity of a cloud database instance.
|
|
927
1043
|
* @param {ModifyInstancePasswordComplexityRequest} req
|
|
928
1044
|
* @param {function(string, ModifyInstancePasswordComplexityResponse):void} cb
|
|
929
1045
|
* @public
|
|
@@ -978,7 +1094,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
978
1094
|
}
|
|
979
1095
|
|
|
980
1096
|
/**
|
|
981
|
-
* This API is used to query
|
|
1097
|
+
* This API is used to query database proxy detailed information.
|
|
982
1098
|
* @param {DescribeCdbProxyInfoRequest} req
|
|
983
1099
|
* @param {function(string, DescribeCdbProxyInfoResponse):void} cb
|
|
984
1100
|
* @public
|
|
@@ -989,7 +1105,8 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
989
1105
|
}
|
|
990
1106
|
|
|
991
1107
|
/**
|
|
992
|
-
* This API is used to create a parameter template.
|
|
1108
|
+
* This API is used to create a parameter template.
|
|
1109
|
+
Description: The parameter template is a common component, effective across all regions once configured. For api calls, Guangzhou or Singapore is available to configure region.
|
|
993
1110
|
* @param {CreateParamTemplateRequest} req
|
|
994
1111
|
* @param {function(string, CreateParamTemplateResponse):void} cb
|
|
995
1112
|
* @public
|
|
@@ -1000,15 +1117,14 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
1000
1117
|
}
|
|
1001
1118
|
|
|
1002
1119
|
/**
|
|
1003
|
-
* This API is used to create
|
|
1120
|
+
* This API is used to create pay-as-you-go instances. You can create a cloud database instance by inputting the instance specification, MySQL version number, quantity, etc. It supports the creation of primary instances, disaster recovery instances, and read-only instances.
|
|
1004
1121
|
|
|
1005
|
-
This is an async API. You can also use the
|
|
1122
|
+
This API is an async API. You can also use the API for the query (https://www.tencentcloud.com/document/api/236/15872?from_cn_redirect=1) to check the instance details. When the instance Status is 1 and TaskStatus is 0, it means the instance has been delivered successfully.
|
|
1006
1123
|
|
|
1007
|
-
1.
|
|
1008
|
-
2.
|
|
1009
|
-
3. MySQL 5.5, 5.6, 5.7, and 8.0
|
|
1010
|
-
4.
|
|
1011
|
-
5. If `Port`, `ParamList`, or `Password` is specified in the input parameters, the instance will be initialized.
|
|
1124
|
+
1. First, please use the API for the query (https://www.tencentcloud.com/document/api/236/17229?from_cn_redirect=1) to obtain the purchasable specifications of cloud databases, then please use the API for the query (https://www.tencentcloud.com/document/api/236/18566?from_cn_redirect=1) to query the instance selling price.
|
|
1125
|
+
2. Supports a maximum of 100 instances created at a time, with a maximum duration of 36 months;
|
|
1126
|
+
3. Support creating MySQL 5.5, MySQL 5.6, MySQL 5.7, and MySQL 8.0 versions.
|
|
1127
|
+
4. Support creating primary instances, disaster recovery instances, and read-only instances.
|
|
1012
1128
|
* @param {CreateDBInstanceHourRequest} req
|
|
1013
1129
|
* @param {function(string, CreateDBInstanceHourResponse):void} cb
|
|
1014
1130
|
* @public
|
|
@@ -1019,7 +1135,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1019
1135
|
}
|
|
1020
1136
|
|
|
1021
1137
|
/**
|
|
1022
|
-
* This API
|
|
1138
|
+
* This API is used to add a maintenance time window for cloud database instances to specify which time periods allow automatic execution of access operations.
|
|
1023
1139
|
* @param {AddTimeWindowRequest} req
|
|
1024
1140
|
* @param {function(string, AddTimeWindowResponse):void} cb
|
|
1025
1141
|
* @public
|
|
@@ -1030,7 +1146,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1030
1146
|
}
|
|
1031
1147
|
|
|
1032
1148
|
/**
|
|
1033
|
-
* This API is used to query
|
|
1149
|
+
* This API is used to query instance support proxy version and parameters.
|
|
1034
1150
|
* @param {DescribeProxySupportParamRequest} req
|
|
1035
1151
|
* @param {function(string, DescribeProxySupportParamResponse):void} cb
|
|
1036
1152
|
* @public
|
|
@@ -1052,7 +1168,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1052
1168
|
}
|
|
1053
1169
|
|
|
1054
1170
|
/**
|
|
1055
|
-
* This API
|
|
1171
|
+
* This API is used to create a database backup.
|
|
1056
1172
|
* @param {CreateBackupRequest} req
|
|
1057
1173
|
* @param {function(string, CreateBackupResponse):void} cb
|
|
1058
1174
|
* @public
|
|
@@ -1063,7 +1179,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1063
1179
|
}
|
|
1064
1180
|
|
|
1065
1181
|
/**
|
|
1066
|
-
* This API is used to modify the IP and port number of a
|
|
1182
|
+
* This API is used to modify the IP and port number of a cloud database instance. It can also perform basic network to VPC network and subnet change under VPC network.
|
|
1067
1183
|
* @param {ModifyDBInstanceVipVportRequest} req
|
|
1068
1184
|
* @param {function(string, ModifyDBInstanceVipVportResponse):void} cb
|
|
1069
1185
|
* @public
|
|
@@ -1074,7 +1190,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1074
1190
|
}
|
|
1075
1191
|
|
|
1076
1192
|
/**
|
|
1077
|
-
* This API
|
|
1193
|
+
* This API is used to query the configuration message of a cloud database instance, including sync mode and deployment mode.
|
|
1078
1194
|
* @param {DescribeDBInstanceConfigRequest} req
|
|
1079
1195
|
* @param {function(string, DescribeDBInstanceConfigResponse):void} cb
|
|
1080
1196
|
* @public
|
|
@@ -1085,7 +1201,18 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1085
1201
|
}
|
|
1086
1202
|
|
|
1087
1203
|
/**
|
|
1088
|
-
* This API is used to
|
|
1204
|
+
* This API is used to query the password complexity parameter list of the instance.
|
|
1205
|
+
* @param {DescribeInstancePasswordComplexityRequest} req
|
|
1206
|
+
* @param {function(string, DescribeInstancePasswordComplexityResponse):void} cb
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
DescribeInstancePasswordComplexity(req, cb) {
|
|
1210
|
+
let resp = new DescribeInstancePasswordComplexityResponse();
|
|
1211
|
+
this.request("DescribeInstancePasswordComplexity", req, resp, cb);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* This API is used to add a proxy address for database proxy.
|
|
1089
1216
|
* @param {CreateCdbProxyAddressRequest} req
|
|
1090
1217
|
* @param {function(string, CreateCdbProxyAddressResponse):void} cb
|
|
1091
1218
|
* @public
|
|
@@ -1118,7 +1245,8 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1118
1245
|
}
|
|
1119
1246
|
|
|
1120
1247
|
/**
|
|
1121
|
-
*
|
|
1248
|
+
* This API is used to obtain the slow query log of a cloud database instance.
|
|
1249
|
+
Description: If the data volume is too large in a single query, it may lead to response timeout. We recommend shortening the query time range per request, such as one hour, to avoid timeout.
|
|
1122
1250
|
* @param {DescribeSlowLogsRequest} req
|
|
1123
1251
|
* @param {function(string, DescribeSlowLogsResponse):void} cb
|
|
1124
1252
|
* @public
|
|
@@ -1129,7 +1257,7 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1129
1257
|
}
|
|
1130
1258
|
|
|
1131
1259
|
/**
|
|
1132
|
-
* This API is used to modify the retention policy of
|
|
1260
|
+
* This API is used to modify the local binlog retention policy of an instance.
|
|
1133
1261
|
* @param {ModifyLocalBinlogConfigRequest} req
|
|
1134
1262
|
* @param {function(string, ModifyLocalBinlogConfigResponse):void} cb
|
|
1135
1263
|
* @public
|
|
@@ -1159,7 +1287,8 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1159
1287
|
}
|
|
1160
1288
|
|
|
1161
1289
|
/**
|
|
1162
|
-
* This API is used to modify
|
|
1290
|
+
* This API is used to modify parameter templates.
|
|
1291
|
+
Description: The parameter template is a common component, effective across all regions once configured. For api calls, Guangzhou or Singapore is available to configure region.
|
|
1163
1292
|
* @param {ModifyParamTemplateRequest} req
|
|
1164
1293
|
* @param {function(string, ModifyParamTemplateResponse):void} cb
|
|
1165
1294
|
* @public
|
|
@@ -1203,7 +1332,8 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1203
1332
|
}
|
|
1204
1333
|
|
|
1205
1334
|
/**
|
|
1206
|
-
* This API
|
|
1335
|
+
* This API is used to terminate a data import task.
|
|
1336
|
+
Description: Only incomplete import jobs support termination, and the executed SQL part is retained after termination.
|
|
1207
1337
|
* @param {StopDBImportJobRequest} req
|
|
1208
1338
|
* @param {function(string, StopDBImportJobResponse):void} cb
|
|
1209
1339
|
* @public
|
|
@@ -1214,7 +1344,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1214
1344
|
}
|
|
1215
1345
|
|
|
1216
1346
|
/**
|
|
1217
|
-
* This API is used to
|
|
1347
|
+
* This API is used to perform aggregation statistics on specified data columns in audit log result sets with different filter criteria.
|
|
1218
1348
|
* @param {AnalyzeAuditLogsRequest} req
|
|
1219
1349
|
* @param {function(string, AnalyzeAuditLogsResponse):void} cb
|
|
1220
1350
|
* @public
|
|
@@ -1225,7 +1355,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1225
1355
|
}
|
|
1226
1356
|
|
|
1227
1357
|
/**
|
|
1228
|
-
* This API is used to create
|
|
1358
|
+
* This API is used to create cloud database accounts. It requires specifying a new account name and domain name as well as the corresponding password. You can also set the account's remark information and maximum number of available connections.
|
|
1229
1359
|
* @param {CreateAccountsRequest} req
|
|
1230
1360
|
* @param {function(string, CreateAccountsResponse):void} cb
|
|
1231
1361
|
* @public
|
|
@@ -1236,7 +1366,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1236
1366
|
}
|
|
1237
1367
|
|
|
1238
1368
|
/**
|
|
1239
|
-
* This API is used to adjust
|
|
1369
|
+
* This API is used to adjust database proxy configuration.
|
|
1240
1370
|
* @param {AdjustCdbProxyRequest} req
|
|
1241
1371
|
* @param {function(string, AdjustCdbProxyResponse):void} cb
|
|
1242
1372
|
* @public
|
|
@@ -1247,7 +1377,19 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1247
1377
|
}
|
|
1248
1378
|
|
|
1249
1379
|
/**
|
|
1250
|
-
* This API
|
|
1380
|
+
* This API is used to modify the sync method of an instance.
|
|
1381
|
+
Description: This API can be called only by an exclusive cluster. This API is about to go offline.
|
|
1382
|
+
* @param {ModifyProtectModeRequest} req
|
|
1383
|
+
* @param {function(string, ModifyProtectModeResponse):void} cb
|
|
1384
|
+
* @public
|
|
1385
|
+
*/
|
|
1386
|
+
ModifyProtectMode(req, cb) {
|
|
1387
|
+
let resp = new ModifyProtectModeResponse();
|
|
1388
|
+
this.request("ModifyProtectMode", req, resp, cb);
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* This API is used to upgrade the version of a cloud database instance. Supported instance types include primary instance, disaster recovery instance, and read-only instance. Before upgrade, submit an upgrade check task via SubmitInstanceUpgradeCheckJob (https://www.tencentcloud.com/document/product/236/110468?from_cn_redirect=1).
|
|
1251
1393
|
* @param {UpgradeDBInstanceEngineVersionRequest} req
|
|
1252
1394
|
* @param {function(string, UpgradeDBInstanceEngineVersionResponse):void} cb
|
|
1253
1395
|
* @public
|
|
@@ -1291,7 +1433,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1291
1433
|
}
|
|
1292
1434
|
|
|
1293
1435
|
/**
|
|
1294
|
-
* This API is used to query
|
|
1436
|
+
* This API is used to query backup statistics, return the occupied capacity of backups by instance as well as the count and capacity of data backup and log backup for each instance (in bytes).
|
|
1295
1437
|
* @param {DescribeBackupSummariesRequest} req
|
|
1296
1438
|
* @param {function(string, DescribeBackupSummariesResponse):void} cb
|
|
1297
1439
|
* @public
|
|
@@ -1302,7 +1444,8 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1302
1444
|
}
|
|
1303
1445
|
|
|
1304
1446
|
/**
|
|
1305
|
-
* This API is used to query parameter template details.
|
|
1447
|
+
* This API is used to query parameter template details.
|
|
1448
|
+
Description: The parameter template is a common component, effective across all regions once configured. For api calls, Guangzhou or Singapore is available to configure region.
|
|
1306
1449
|
* @param {DescribeParamTemplateInfoRequest} req
|
|
1307
1450
|
* @param {function(string, DescribeParamTemplateInfoResponse):void} cb
|
|
1308
1451
|
* @public
|
|
@@ -1324,7 +1467,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1324
1467
|
}
|
|
1325
1468
|
|
|
1326
1469
|
/**
|
|
1327
|
-
* This API is used to
|
|
1470
|
+
* This API is used to switch a cloud database disaster recovery instance to primary instance. Note that the request must be sent to the region where the disaster recovery instance is located.
|
|
1328
1471
|
* @param {SwitchDrInstanceToMasterRequest} req
|
|
1329
1472
|
* @param {function(string, SwitchDrInstanceToMasterResponse):void} cb
|
|
1330
1473
|
* @public
|
|
@@ -1335,7 +1478,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1335
1478
|
}
|
|
1336
1479
|
|
|
1337
1480
|
/**
|
|
1338
|
-
* This API
|
|
1481
|
+
* This API is used to delete CDB accounts.
|
|
1339
1482
|
* @param {DeleteAccountsRequest} req
|
|
1340
1483
|
* @param {function(string, DeleteAccountsResponse):void} cb
|
|
1341
1484
|
* @public
|
|
@@ -1346,7 +1489,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1346
1489
|
}
|
|
1347
1490
|
|
|
1348
1491
|
/**
|
|
1349
|
-
* This API is used to query the basic information of an instance
|
|
1492
|
+
* This API is used to query the basic information of an instance, including instance ID, instance name, and whether encryption is enabled. Querying read-only instances is not supported.
|
|
1350
1493
|
* @param {DescribeDBInstanceInfoRequest} req
|
|
1351
1494
|
* @param {function(string, DescribeDBInstanceInfoResponse):void} cb
|
|
1352
1495
|
* @public
|
|
@@ -1368,7 +1511,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1368
1511
|
}
|
|
1369
1512
|
|
|
1370
1513
|
/**
|
|
1371
|
-
* This API is used to disable
|
|
1514
|
+
* This API is used to disable database proxy.
|
|
1372
1515
|
* @param {CloseCdbProxyAddressRequest} req
|
|
1373
1516
|
* @param {function(string, CloseCdbProxyAddressResponse):void} cb
|
|
1374
1517
|
* @public
|
|
@@ -1379,7 +1522,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1379
1522
|
}
|
|
1380
1523
|
|
|
1381
1524
|
/**
|
|
1382
|
-
* This API is used to delete
|
|
1525
|
+
* This API is used to delete database backups. It only supports deleting manually initiated backups.
|
|
1383
1526
|
* @param {DeleteBackupRequest} req
|
|
1384
1527
|
* @param {function(string, DeleteBackupResponse):void} cb
|
|
1385
1528
|
* @public
|
|
@@ -1389,6 +1532,17 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1389
1532
|
this.request("DeleteBackup", req, resp, cb);
|
|
1390
1533
|
}
|
|
1391
1534
|
|
|
1535
|
+
/**
|
|
1536
|
+
* This API is used to change the mode of a cloud database.
|
|
1537
|
+
* @param {ModifyDBInstanceModesRequest} req
|
|
1538
|
+
* @param {function(string, ModifyDBInstanceModesResponse):void} cb
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
ModifyDBInstanceModes(req, cb) {
|
|
1542
|
+
let resp = new ModifyDBInstanceModesResponse();
|
|
1543
|
+
this.request("ModifyDBInstanceModes", req, resp, cb);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1392
1546
|
/**
|
|
1393
1547
|
* This API is used to query the minimum specification of a read-only instance that can be purchased or upgraded to.
|
|
1394
1548
|
* @param {DescribeRoMinScaleRequest} req
|
|
@@ -1401,7 +1555,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1401
1555
|
}
|
|
1402
1556
|
|
|
1403
1557
|
/**
|
|
1404
|
-
* This API is used to modify the
|
|
1558
|
+
* This API is used to modify the proxy address description.
|
|
1405
1559
|
* @param {ModifyCdbProxyAddressDescRequest} req
|
|
1406
1560
|
* @param {function(string, ModifyCdbProxyAddressDescResponse):void} cb
|
|
1407
1561
|
* @public
|
|
@@ -1412,7 +1566,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1412
1566
|
}
|
|
1413
1567
|
|
|
1414
1568
|
/**
|
|
1415
|
-
* This API is used to
|
|
1569
|
+
* This API is used to enable RO replication and sync data from the primary instance.
|
|
1416
1570
|
* @param {StartReplicationRequest} req
|
|
1417
1571
|
* @param {function(string, StartReplicationResponse):void} cb
|
|
1418
1572
|
* @public
|
|
@@ -1423,7 +1577,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1423
1577
|
}
|
|
1424
1578
|
|
|
1425
1579
|
/**
|
|
1426
|
-
* This API is used to adjust the database proxy address.
|
|
1580
|
+
* This API is used to adjust the database proxy address configuration.
|
|
1427
1581
|
* @param {AdjustCdbProxyAddressRequest} req
|
|
1428
1582
|
* @param {function(string, AdjustCdbProxyAddressResponse):void} cb
|
|
1429
1583
|
* @public
|
|
@@ -1455,6 +1609,17 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1455
1609
|
this.request("DescribeAuditConfig", req, resp, cb);
|
|
1456
1610
|
}
|
|
1457
1611
|
|
|
1612
|
+
/**
|
|
1613
|
+
* Manually refresh rotation passwords
|
|
1614
|
+
* @param {ResetPasswordRequest} req
|
|
1615
|
+
* @param {function(string, ResetPasswordResponse):void} cb
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
ResetPassword(req, cb) {
|
|
1619
|
+
let resp = new ResetPasswordResponse();
|
|
1620
|
+
this.request("ResetPassword", req, resp, cb);
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1458
1623
|
/**
|
|
1459
1624
|
* This API (ModifyInstanceParam) is used to modify instance parameters.
|
|
1460
1625
|
* @param {ModifyInstanceParamRequest} req
|
|
@@ -1467,7 +1632,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1467
1632
|
}
|
|
1468
1633
|
|
|
1469
1634
|
/**
|
|
1470
|
-
* This API is used to disable database proxy.
|
|
1635
|
+
* This API is used to disable the database proxy.
|
|
1471
1636
|
* @param {CloseCDBProxyRequest} req
|
|
1472
1637
|
* @param {function(string, CloseCDBProxyResponse):void} cb
|
|
1473
1638
|
* @public
|
|
@@ -1478,7 +1643,18 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1478
1643
|
}
|
|
1479
1644
|
|
|
1480
1645
|
/**
|
|
1481
|
-
* This API is used to modify the
|
|
1646
|
+
* This API is used to modify the name or description of a placement group.
|
|
1647
|
+
* @param {ModifyNameOrDescByDpIdRequest} req
|
|
1648
|
+
* @param {function(string, ModifyNameOrDescByDpIdResponse):void} cb
|
|
1649
|
+
* @public
|
|
1650
|
+
*/
|
|
1651
|
+
ModifyNameOrDescByDpId(req, cb) {
|
|
1652
|
+
let resp = new ModifyNameOrDescByDpIdResponse();
|
|
1653
|
+
this.request("ModifyNameOrDescByDpId", req, resp, cb);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* This API is used to modify the maximum number of available connections for a cloud database account.
|
|
1482
1658
|
* @param {ModifyAccountMaxUserConnectionsRequest} req
|
|
1483
1659
|
* @param {function(string, ModifyAccountMaxUserConnectionsResponse):void} cb
|
|
1484
1660
|
* @public
|
|
@@ -1500,7 +1676,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1500
1676
|
}
|
|
1501
1677
|
|
|
1502
1678
|
/**
|
|
1503
|
-
* This API is used to query
|
|
1679
|
+
* This API is used to query database audit logs.
|
|
1504
1680
|
* @param {DescribeAuditLogsRequest} req
|
|
1505
1681
|
* @param {function(string, DescribeAuditLogsResponse):void} cb
|
|
1506
1682
|
* @public
|
|
@@ -1511,7 +1687,7 @@ This API is an asynchronous API. You can also use the query instance list API (h
|
|
|
1511
1687
|
}
|
|
1512
1688
|
|
|
1513
1689
|
/**
|
|
1514
|
-
* This API
|
|
1690
|
+
* This API is used to query the expected time required to restart a cloud database instance.
|
|
1515
1691
|
* @param {DescribeDBInstanceRebootTimeRequest} req
|
|
1516
1692
|
* @param {function(string, DescribeDBInstanceRebootTimeResponse):void} cb
|
|
1517
1693
|
* @public
|
|
@@ -1605,7 +1781,7 @@ Note that when modifying account permissions, you need to pass in the full permi
|
|
|
1605
1781
|
}
|
|
1606
1782
|
|
|
1607
1783
|
/**
|
|
1608
|
-
* This API is used to query
|
|
1784
|
+
* This API is used to query SSL activation status. If SSL has been enabled, it will synchronously return the certificate download URL.
|
|
1609
1785
|
* @param {DescribeSSLStatusRequest} req
|
|
1610
1786
|
* @param {function(string, DescribeSSLStatusResponse):void} cb
|
|
1611
1787
|
* @public
|
|
@@ -1638,9 +1814,8 @@ Note that when modifying account permissions, you need to pass in the full permi
|
|
|
1638
1814
|
}
|
|
1639
1815
|
|
|
1640
1816
|
/**
|
|
1641
|
-
* This API
|
|
1642
|
-
|
|
1643
|
-
Note that the files for a data import task must be uploaded to Tencent Cloud in advance. You need to do so in the console.
|
|
1817
|
+
* This API is used to create a cloud database data import task.
|
|
1818
|
+
Note that the file for the data import task must be uploaded to Tencent Cloud in advance. The user must perform file import on the console.
|
|
1644
1819
|
* @param {CreateDBImportJobRequest} req
|
|
1645
1820
|
* @param {function(string, CreateDBImportJobResponse):void} cb
|
|
1646
1821
|
* @public
|
|
@@ -1651,7 +1826,7 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1651
1826
|
}
|
|
1652
1827
|
|
|
1653
1828
|
/**
|
|
1654
|
-
* This API is used to query information of
|
|
1829
|
+
* This API is used to query ALL account information of the cloud database.
|
|
1655
1830
|
* @param {DescribeAccountsRequest} req
|
|
1656
1831
|
* @param {function(string, DescribeAccountsResponse):void} cb
|
|
1657
1832
|
* @public
|
|
@@ -1661,17 +1836,6 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1661
1836
|
this.request("DescribeAccounts", req, resp, cb);
|
|
1662
1837
|
}
|
|
1663
1838
|
|
|
1664
|
-
/**
|
|
1665
|
-
* This API is used to query the elastic expansion policy of an instance.
|
|
1666
|
-
* @param {DescribeCpuExpandStrategyRequest} req
|
|
1667
|
-
* @param {function(string, DescribeCpuExpandStrategyResponse):void} cb
|
|
1668
|
-
* @public
|
|
1669
|
-
*/
|
|
1670
|
-
DescribeCpuExpandStrategy(req, cb) {
|
|
1671
|
-
let resp = new DescribeCpuExpandStrategyResponse();
|
|
1672
|
-
this.request("DescribeCpuExpandStrategy", req, resp, cb);
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
1839
|
/**
|
|
1676
1840
|
* This API is used to rebalance the load on database proxy.
|
|
1677
1841
|
* @param {ReloadBalanceProxyNodeRequest} req
|
|
@@ -1727,6 +1891,28 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1727
1891
|
this.request("ModifyAuditRuleTemplates", req, resp, cb);
|
|
1728
1892
|
}
|
|
1729
1893
|
|
|
1894
|
+
/**
|
|
1895
|
+
* This API is used to submit an instance version upgrade validation task.
|
|
1896
|
+
* @param {SubmitInstanceUpgradeCheckJobRequest} req
|
|
1897
|
+
* @param {function(string, SubmitInstanceUpgradeCheckJobResponse):void} cb
|
|
1898
|
+
* @public
|
|
1899
|
+
*/
|
|
1900
|
+
SubmitInstanceUpgradeCheckJob(req, cb) {
|
|
1901
|
+
let resp = new SubmitInstanceUpgradeCheckJobResponse();
|
|
1902
|
+
this.request("SubmitInstanceUpgradeCheckJob", req, resp, cb);
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* This API is used to close instance account password rotation.
|
|
1907
|
+
* @param {DeleteRotationPasswordRequest} req
|
|
1908
|
+
* @param {function(string, DeleteRotationPasswordResponse):void} cb
|
|
1909
|
+
* @public
|
|
1910
|
+
*/
|
|
1911
|
+
DeleteRotationPassword(req, cb) {
|
|
1912
|
+
let resp = new DeleteRotationPasswordResponse();
|
|
1913
|
+
this.request("DeleteRotationPassword", req, resp, cb);
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1730
1916
|
/**
|
|
1731
1917
|
* This API (ModifyAccountPassword) is used to modify the password of a TencentDB instance account.
|
|
1732
1918
|
* @param {ModifyAccountPasswordRequest} req
|
|
@@ -1761,8 +1947,8 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1761
1947
|
}
|
|
1762
1948
|
|
|
1763
1949
|
/**
|
|
1764
|
-
* This API is used to
|
|
1765
|
-
|
|
1950
|
+
* This API is used to search for instance slow logs under usage conditions. Only allow viewing slow logs within one month.
|
|
1951
|
+
During use, pay attention: a single slow log may be too large, causing the entire http request return content to be too large, furthermore leading to API timeout. Once timed out, narrow down the Limit parameter value when querying, thereby reducing the size and enabling the API to return content promptly.
|
|
1766
1952
|
* @param {DescribeSlowLogDataRequest} req
|
|
1767
1953
|
* @param {function(string, DescribeSlowLogDataResponse):void} cb
|
|
1768
1954
|
* @public
|
|
@@ -1773,7 +1959,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1773
1959
|
}
|
|
1774
1960
|
|
|
1775
1961
|
/**
|
|
1776
|
-
* This API is used to
|
|
1962
|
+
* This API is used to activate audit service for CDB instance.
|
|
1777
1963
|
* @param {OpenAuditServiceRequest} req
|
|
1778
1964
|
* @param {function(string, OpenAuditServiceResponse):void} cb
|
|
1779
1965
|
* @public
|
|
@@ -1806,7 +1992,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1806
1992
|
}
|
|
1807
1993
|
|
|
1808
1994
|
/**
|
|
1809
|
-
* This API
|
|
1995
|
+
* This API is used to modify database backup configuration.
|
|
1810
1996
|
* @param {ModifyBackupConfigRequest} req
|
|
1811
1997
|
* @param {function(string, ModifyBackupConfigResponse):void} cb
|
|
1812
1998
|
* @public
|
|
@@ -1817,7 +2003,9 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1817
2003
|
}
|
|
1818
2004
|
|
|
1819
2005
|
/**
|
|
1820
|
-
* This API is used to
|
|
2006
|
+
* This API is used to create audit rules no longer supported.
|
|
2007
|
+
|
|
2008
|
+
This API is used to query audit rules in current region.
|
|
1821
2009
|
* @param {DescribeAuditRulesRequest} req
|
|
1822
2010
|
* @param {function(string, DescribeAuditRulesResponse):void} cb
|
|
1823
2011
|
* @public
|
|
@@ -1839,7 +2027,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1839
2027
|
}
|
|
1840
2028
|
|
|
1841
2029
|
/**
|
|
1842
|
-
* This API is used to modify the
|
|
2030
|
+
* This API is used to modify the database proxy address VPC information.
|
|
1843
2031
|
* @param {ModifyCdbProxyAddressVipAndVPortRequest} req
|
|
1844
2032
|
* @param {function(string, ModifyCdbProxyAddressVipAndVPortResponse):void} cb
|
|
1845
2033
|
* @public
|
|
@@ -1850,7 +2038,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1850
2038
|
}
|
|
1851
2039
|
|
|
1852
2040
|
/**
|
|
1853
|
-
*
|
|
2041
|
+
* This API is used to query the configuration of slow log and error log delivery to CLS for an instance. It filters out the present instance log delivery configuration to CLS by AppId, Region, and instance ID.
|
|
1854
2042
|
* @param {DescribeDBInstanceLogToCLSRequest} req
|
|
1855
2043
|
* @param {function(string, DescribeDBInstanceLogToCLSResponse):void} cb
|
|
1856
2044
|
* @public
|
|
@@ -1872,7 +2060,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1872
2060
|
}
|
|
1873
2061
|
|
|
1874
2062
|
/**
|
|
1875
|
-
* This API is used create a database proxy for
|
|
2063
|
+
* This API is used to create a database proxy for the primary instance.
|
|
1876
2064
|
* @param {CreateCdbProxyRequest} req
|
|
1877
2065
|
* @param {function(string, CreateCdbProxyResponse):void} cb
|
|
1878
2066
|
* @public
|
|
@@ -1894,7 +2082,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1894
2082
|
}
|
|
1895
2083
|
|
|
1896
2084
|
/**
|
|
1897
|
-
* This API is used to
|
|
2085
|
+
* This API is used to manually initiate an immediate switch after database proxy configuration modification or edition upgrade.
|
|
1898
2086
|
* @param {SwitchCDBProxyRequest} req
|
|
1899
2087
|
* @param {function(string, SwitchCDBProxyResponse):void} cb
|
|
1900
2088
|
* @public
|
|
@@ -1916,7 +2104,7 @@ Note: the HTTP response packet will be very large if it contain a single large s
|
|
|
1916
2104
|
}
|
|
1917
2105
|
|
|
1918
2106
|
/**
|
|
1919
|
-
* This API is used to configure
|
|
2107
|
+
* This API is used to configure database proxy parameters.
|
|
1920
2108
|
* @param {ModifyCdbProxyParamRequest} req
|
|
1921
2109
|
* @param {function(string, ModifyCdbProxyParamResponse):void} cb
|
|
1922
2110
|
* @public
|
|
@@ -1984,7 +2172,7 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
1984
2172
|
}
|
|
1985
2173
|
|
|
1986
2174
|
/**
|
|
1987
|
-
*
|
|
2175
|
+
* This API is used to enable CPU Elastic Scaling, including one-time manual scale-out and automatic elastic scaling.
|
|
1988
2176
|
* @param {StartCpuExpandRequest} req
|
|
1989
2177
|
* @param {function(string, StartCpuExpandResponse):void} cb
|
|
1990
2178
|
* @public
|
|
@@ -2006,7 +2194,8 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2006
2194
|
}
|
|
2007
2195
|
|
|
2008
2196
|
/**
|
|
2009
|
-
* This API is used to delete
|
|
2197
|
+
* This API is used to delete parameter template.
|
|
2198
|
+
Description: The parameter template is a common component, effective across all regions once configured. For api calls, Guangzhou or Singapore is available to configure region.
|
|
2010
2199
|
* @param {DeleteParamTemplateRequest} req
|
|
2011
2200
|
* @param {function(string, DeleteParamTemplateResponse):void} cb
|
|
2012
2201
|
* @public
|
|
@@ -2039,7 +2228,7 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2039
2228
|
}
|
|
2040
2229
|
|
|
2041
2230
|
/**
|
|
2042
|
-
* This API is used to query
|
|
2231
|
+
* This API is used to query all RO groups of a cloud database instance.
|
|
2043
2232
|
* @param {DescribeRoGroupsRequest} req
|
|
2044
2233
|
* @param {function(string, DescribeRoGroupsResponse):void} cb
|
|
2045
2234
|
* @public
|
|
@@ -2050,7 +2239,7 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2050
2239
|
}
|
|
2051
2240
|
|
|
2052
2241
|
/**
|
|
2053
|
-
* This API is used to query the clone task list of
|
|
2242
|
+
* This API is used to query the clone task list of a user instance.
|
|
2054
2243
|
* @param {DescribeCloneListRequest} req
|
|
2055
2244
|
* @param {function(string, DescribeCloneListResponse):void} cb
|
|
2056
2245
|
* @public
|
|
@@ -2061,18 +2250,18 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2061
2250
|
}
|
|
2062
2251
|
|
|
2063
2252
|
/**
|
|
2064
|
-
* This API is used to
|
|
2065
|
-
* @param {
|
|
2066
|
-
* @param {function(string,
|
|
2253
|
+
* This API is used to query event information of instance occurrence.
|
|
2254
|
+
* @param {DescribeInstanceAlarmEventsRequest} req
|
|
2255
|
+
* @param {function(string, DescribeInstanceAlarmEventsResponse):void} cb
|
|
2067
2256
|
* @public
|
|
2068
2257
|
*/
|
|
2069
|
-
|
|
2070
|
-
let resp = new
|
|
2071
|
-
this.request("
|
|
2258
|
+
DescribeInstanceAlarmEvents(req, cb) {
|
|
2259
|
+
let resp = new DescribeInstanceAlarmEventsResponse();
|
|
2260
|
+
this.request("DescribeInstanceAlarmEvents", req, resp, cb);
|
|
2072
2261
|
}
|
|
2073
2262
|
|
|
2074
2263
|
/**
|
|
2075
|
-
* This API is used to upgrade or downgrade a
|
|
2264
|
+
* This API is used to upgrade or downgrade the configuration of a cloud database instance. Supported instance types include primary instance, disaster recovery instance and read-only instance. If you need to migrate business, fill in the instance specification (CPU, memory), otherwise the system will use the minimum allowed specification by default.
|
|
2076
2265
|
* @param {UpgradeDBInstanceRequest} req
|
|
2077
2266
|
* @param {function(string, UpgradeDBInstanceResponse):void} cb
|
|
2078
2267
|
* @public
|
|
@@ -2083,7 +2272,18 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2083
2272
|
}
|
|
2084
2273
|
|
|
2085
2274
|
/**
|
|
2086
|
-
* This API is used to
|
|
2275
|
+
* This API is used to close the SSL connectivity function.
|
|
2276
|
+
* @param {CloseSSLRequest} req
|
|
2277
|
+
* @param {function(string, CloseSSLResponse):void} cb
|
|
2278
|
+
* @public
|
|
2279
|
+
*/
|
|
2280
|
+
CloseSSL(req, cb) {
|
|
2281
|
+
let resp = new CloseSSLResponse();
|
|
2282
|
+
this.request("CloseSSL", req, resp, cb);
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* This API is used to upgrade the database proxy version.
|
|
2087
2287
|
* @param {UpgradeCDBProxyVersionRequest} req
|
|
2088
2288
|
* @param {function(string, UpgradeCDBProxyVersionResponse):void} cb
|
|
2089
2289
|
* @public
|
|
@@ -2105,7 +2305,7 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
2105
2305
|
}
|
|
2106
2306
|
|
|
2107
2307
|
/**
|
|
2108
|
-
* This API
|
|
2308
|
+
* This API is used to delete the maintenance time window of a cloud database instance. After deleting the instance maintenance window, the default maintenance period is 03:00-04:00 daily with a data validation delay threshold of 10 seconds. When switching to a new instance during the maintenance time window, the switch is performed by default at 03:00-04:00.
|
|
2109
2309
|
* @param {DeleteTimeWindowRequest} req
|
|
2110
2310
|
* @param {function(string, DeleteTimeWindowResponse):void} cb
|
|
2111
2311
|
* @public
|