tencentcloud-sdk-nodejs-intl-en 3.0.508 → 3.0.511
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/as/v20180419/as_client.js +129 -9
- package/tencentcloud/as/v20180419/models.js +1684 -269
- package/tencentcloud/billing/v20180709/models.js +67 -0
- package/tencentcloud/cdb/v20170320/cdb_client.js +83 -17
- package/tencentcloud/cdb/v20170320/models.js +619 -86
- package/tencentcloud/cdn/v20180606/models.js +6 -5
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +14 -1
- package/tencentcloud/ckafka/v20190819/models.js +121 -20
- package/tencentcloud/cls/v20201016/models.js +9 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/live/v20180801/live_client.js +37 -72
- package/tencentcloud/live/v20180801/models.js +777 -652
- package/tencentcloud/monitor/v20180724/models.js +58 -0
- package/tencentcloud/monitor/v20180724/monitor_client.js +1 -0
- package/tencentcloud/ocr/v20181119/models.js +201 -43
- package/tencentcloud/ocr/v20181119/ocr_client.js +16 -1
- package/tencentcloud/redis/v20180412/models.js +65 -0
- package/tencentcloud/redis/v20180412/redis_client.js +13 -0
- package/tencentcloud/tke/v20180525/models.js +451 -58
- package/tencentcloud/tke/v20180525/tke_client.js +548 -483
- package/tencentcloud/trtc/v20190722/models.js +170 -13
- package/tencentcloud/trtc/v20190722/trtc_client.js +30 -26
- package/tencentcloud/tts/v20190823/models.js +79 -0
- package/tencentcloud/tts/v20190823/tts_client.js +1 -0
- package/tencentcloud/vod/v20180717/models.js +200 -55
- package/tencentcloud/vod/v20180717/vod_client.js +46 -22
- package/tencentcloud/vpc/v20170312/models.js +812 -279
- package/tencentcloud/vpc/v20170312/vpc_client.js +71 -17
|
@@ -734,6 +734,12 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
734
734
|
*/
|
|
735
735
|
this.TotalCost = null;
|
|
736
736
|
|
|
737
|
+
/**
|
|
738
|
+
* Payment by commission credits
|
|
739
|
+
* @type {string || null}
|
|
740
|
+
*/
|
|
741
|
+
this.TransferPayAmount = null;
|
|
742
|
+
|
|
737
743
|
}
|
|
738
744
|
|
|
739
745
|
/**
|
|
@@ -752,6 +758,7 @@ Note: This field may return null, indicating that no valid value was found.
|
|
|
752
758
|
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
753
759
|
this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
|
|
754
760
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
761
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
755
762
|
|
|
756
763
|
}
|
|
757
764
|
}
|
|
@@ -1124,6 +1131,12 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
1124
1131
|
*/
|
|
1125
1132
|
this.TotalCost = null;
|
|
1126
1133
|
|
|
1134
|
+
/**
|
|
1135
|
+
* Payment by commission credits
|
|
1136
|
+
* @type {string || null}
|
|
1137
|
+
*/
|
|
1138
|
+
this.TransferPayAmount = null;
|
|
1139
|
+
|
|
1127
1140
|
}
|
|
1128
1141
|
|
|
1129
1142
|
/**
|
|
@@ -1142,6 +1155,7 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
1142
1155
|
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
1143
1156
|
this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
|
|
1144
1157
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
1158
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
1145
1159
|
|
|
1146
1160
|
}
|
|
1147
1161
|
}
|
|
@@ -2321,6 +2335,34 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2321
2335
|
*/
|
|
2322
2336
|
this.TotalCost = null;
|
|
2323
2337
|
|
|
2338
|
+
/**
|
|
2339
|
+
* Payment by cash credits
|
|
2340
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2341
|
+
* @type {string || null}
|
|
2342
|
+
*/
|
|
2343
|
+
this.CashPayAmount = null;
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Payment by free credits
|
|
2347
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2348
|
+
* @type {string || null}
|
|
2349
|
+
*/
|
|
2350
|
+
this.IncentivePayAmount = null;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Payment by vouchers
|
|
2354
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2355
|
+
* @type {string || null}
|
|
2356
|
+
*/
|
|
2357
|
+
this.VoucherPayAmount = null;
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* Payment by commission credits
|
|
2361
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2362
|
+
* @type {string || null}
|
|
2363
|
+
*/
|
|
2364
|
+
this.TransferPayAmount = null;
|
|
2365
|
+
|
|
2324
2366
|
}
|
|
2325
2367
|
|
|
2326
2368
|
/**
|
|
@@ -2334,6 +2376,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2334
2376
|
this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
|
|
2335
2377
|
this.RealTotalCostRatio = 'RealTotalCostRatio' in params ? params.RealTotalCostRatio : null;
|
|
2336
2378
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
2379
|
+
this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
|
|
2380
|
+
this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
|
|
2381
|
+
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
2382
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
2337
2383
|
|
|
2338
2384
|
}
|
|
2339
2385
|
}
|
|
@@ -2400,6 +2446,12 @@ class ProjectSummaryOverviewItem extends AbstractModel {
|
|
|
2400
2446
|
*/
|
|
2401
2447
|
this.TotalCost = null;
|
|
2402
2448
|
|
|
2449
|
+
/**
|
|
2450
|
+
* Payment by commission credits
|
|
2451
|
+
* @type {string || null}
|
|
2452
|
+
*/
|
|
2453
|
+
this.TransferPayAmount = null;
|
|
2454
|
+
|
|
2403
2455
|
}
|
|
2404
2456
|
|
|
2405
2457
|
/**
|
|
@@ -2418,6 +2470,7 @@ class ProjectSummaryOverviewItem extends AbstractModel {
|
|
|
2418
2470
|
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
2419
2471
|
this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
|
|
2420
2472
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
2473
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
2421
2474
|
|
|
2422
2475
|
}
|
|
2423
2476
|
}
|
|
@@ -2679,6 +2732,12 @@ class PayModeSummaryOverviewItem extends AbstractModel {
|
|
|
2679
2732
|
*/
|
|
2680
2733
|
this.TotalCost = null;
|
|
2681
2734
|
|
|
2735
|
+
/**
|
|
2736
|
+
* Payment by commission credits
|
|
2737
|
+
* @type {string || null}
|
|
2738
|
+
*/
|
|
2739
|
+
this.TransferPayAmount = null;
|
|
2740
|
+
|
|
2682
2741
|
}
|
|
2683
2742
|
|
|
2684
2743
|
/**
|
|
@@ -2705,6 +2764,7 @@ class PayModeSummaryOverviewItem extends AbstractModel {
|
|
|
2705
2764
|
this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
|
|
2706
2765
|
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
2707
2766
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
2767
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
2708
2768
|
|
|
2709
2769
|
}
|
|
2710
2770
|
}
|
|
@@ -2747,6 +2807,12 @@ class BusinessSummaryTotal extends AbstractModel {
|
|
|
2747
2807
|
*/
|
|
2748
2808
|
this.TotalCost = null;
|
|
2749
2809
|
|
|
2810
|
+
/**
|
|
2811
|
+
* Payment by commission credits
|
|
2812
|
+
* @type {string || null}
|
|
2813
|
+
*/
|
|
2814
|
+
this.TransferPayAmount = null;
|
|
2815
|
+
|
|
2750
2816
|
}
|
|
2751
2817
|
|
|
2752
2818
|
/**
|
|
@@ -2761,6 +2827,7 @@ class BusinessSummaryTotal extends AbstractModel {
|
|
|
2761
2827
|
this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
|
|
2762
2828
|
this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
|
|
2763
2829
|
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
2830
|
+
this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
|
|
2764
2831
|
|
|
2765
2832
|
}
|
|
2766
2833
|
}
|
|
@@ -27,6 +27,7 @@ const DescribeDatabasesRequest = models.DescribeDatabasesRequest;
|
|
|
27
27
|
const DescribeBackupConfigRequest = models.DescribeBackupConfigRequest;
|
|
28
28
|
const ParamRecord = models.ParamRecord;
|
|
29
29
|
const ModifyAccountMaxUserConnectionsResponse = models.ModifyAccountMaxUserConnectionsResponse;
|
|
30
|
+
const DescribeAccountsRequest = models.DescribeAccountsRequest;
|
|
30
31
|
const StopDBImportJobRequest = models.StopDBImportJobRequest;
|
|
31
32
|
const DescribeUploadedFilesResponse = models.DescribeUploadedFilesResponse;
|
|
32
33
|
const DescribeSlowLogDataResponse = models.DescribeSlowLogDataResponse;
|
|
@@ -40,7 +41,7 @@ const DescribeSlowLogsRequest = models.DescribeSlowLogsRequest;
|
|
|
40
41
|
const Inbound = models.Inbound;
|
|
41
42
|
const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
|
|
42
43
|
const ApplyCDBProxyRequest = models.ApplyCDBProxyRequest;
|
|
43
|
-
const
|
|
44
|
+
const CreateAccountsResponse = models.CreateAccountsResponse;
|
|
44
45
|
const RegionSellConf = models.RegionSellConf;
|
|
45
46
|
const InstanceRollbackRangeTime = models.InstanceRollbackRangeTime;
|
|
46
47
|
const SqlFileInfo = models.SqlFileInfo;
|
|
@@ -59,7 +60,7 @@ const DescribeDefaultParamsRequest = models.DescribeDefaultParamsRequest;
|
|
|
59
60
|
const RoGroupAttr = models.RoGroupAttr;
|
|
60
61
|
const DBSwitchInfo = models.DBSwitchInfo;
|
|
61
62
|
const StartReplicationResponse = models.StartReplicationResponse;
|
|
62
|
-
const
|
|
63
|
+
const ModifyNameOrDescByDpIdResponse = models.ModifyNameOrDescByDpIdResponse;
|
|
63
64
|
const InitDBInstancesResponse = models.InitDBInstancesResponse;
|
|
64
65
|
const CloseCDBProxyResponse = models.CloseCDBProxyResponse;
|
|
65
66
|
const CustomConfig = models.CustomConfig;
|
|
@@ -111,6 +112,7 @@ const CloseWanServiceResponse = models.CloseWanServiceResponse;
|
|
|
111
112
|
const CreateCloneInstanceRequest = models.CreateCloneInstanceRequest;
|
|
112
113
|
const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
|
|
113
114
|
const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
|
|
115
|
+
const ModifyDBInstanceVipVportResponse = models.ModifyDBInstanceVipVportResponse;
|
|
114
116
|
const CloseCDBProxyRequest = models.CloseCDBProxyRequest;
|
|
115
117
|
const DescribeDBSwitchRecordsResponse = models.DescribeDBSwitchRecordsResponse;
|
|
116
118
|
const ModifyCDBProxyConnectionPoolResponse = models.ModifyCDBProxyConnectionPoolResponse;
|
|
@@ -128,10 +130,10 @@ const DescribeDBSwitchRecordsRequest = models.DescribeDBSwitchRecordsRequest;
|
|
|
128
130
|
const DescribeSupportedPrivilegesRequest = models.DescribeSupportedPrivilegesRequest;
|
|
129
131
|
const DescribeAsyncRequestInfoResponse = models.DescribeAsyncRequestInfoResponse;
|
|
130
132
|
const ModifyInstanceTagRequest = models.ModifyInstanceTagRequest;
|
|
131
|
-
const
|
|
133
|
+
const DescribeDBInstanceCharsetResponse = models.DescribeDBInstanceCharsetResponse;
|
|
132
134
|
const DeleteAccountsResponse = models.DeleteAccountsResponse;
|
|
133
135
|
const OpenAuditServiceResponse = models.OpenAuditServiceResponse;
|
|
134
|
-
const
|
|
136
|
+
const CloseWanServiceRequest = models.CloseWanServiceRequest;
|
|
135
137
|
const RestartDBInstancesResponse = models.RestartDBInstancesResponse;
|
|
136
138
|
const CreateRoInstanceIpResponse = models.CreateRoInstanceIpResponse;
|
|
137
139
|
const CreateAuditPolicyResponse = models.CreateAuditPolicyResponse;
|
|
@@ -192,8 +194,10 @@ const TablePrivilege = models.TablePrivilege;
|
|
|
192
194
|
const BalanceRoGroupLoadRequest = models.BalanceRoGroupLoadRequest;
|
|
193
195
|
const QueryCDBProxyRequest = models.QueryCDBProxyRequest;
|
|
194
196
|
const DescribeAuditRulesRequest = models.DescribeAuditRulesRequest;
|
|
197
|
+
const ModifyNameOrDescByDpIdRequest = models.ModifyNameOrDescByDpIdRequest;
|
|
195
198
|
const DescribeBackupOverviewResponse = models.DescribeBackupOverviewResponse;
|
|
196
199
|
const ColumnPrivilege = models.ColumnPrivilege;
|
|
200
|
+
const DescribeUploadedFilesRequest = models.DescribeUploadedFilesRequest;
|
|
197
201
|
const ErrlogItem = models.ErrlogItem;
|
|
198
202
|
const DescribeTablesResponse = models.DescribeTablesResponse;
|
|
199
203
|
const DescribeDeviceMonitorInfoRequest = models.DescribeDeviceMonitorInfoRequest;
|
|
@@ -234,6 +238,7 @@ const PoolConf = models.PoolConf;
|
|
|
234
238
|
const DescribeAuditPoliciesRequest = models.DescribeAuditPoliciesRequest;
|
|
235
239
|
const DescribeTablesRequest = models.DescribeTablesRequest;
|
|
236
240
|
const InstanceRebootTime = models.InstanceRebootTime;
|
|
241
|
+
const ModifyInstancePasswordComplexityRequest = models.ModifyInstancePasswordComplexityRequest;
|
|
237
242
|
const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
|
|
238
243
|
const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
|
|
239
244
|
const ModifyParamTemplateRequest = models.ModifyParamTemplateRequest;
|
|
@@ -244,8 +249,10 @@ const DescribeAuditRulesResponse = models.DescribeAuditRulesResponse;
|
|
|
244
249
|
const BaseGroupInfo = models.BaseGroupInfo;
|
|
245
250
|
const DescribeBinlogBackupOverviewResponse = models.DescribeBinlogBackupOverviewResponse;
|
|
246
251
|
const ModifyCDBProxyConnectionPoolRequest = models.ModifyCDBProxyConnectionPoolRequest;
|
|
252
|
+
const ModifyTimeWindowResponse = models.ModifyTimeWindowResponse;
|
|
247
253
|
const SlaveConfig = models.SlaveConfig;
|
|
248
254
|
const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
|
|
255
|
+
const CreateAccountsRequest = models.CreateAccountsRequest;
|
|
249
256
|
const IsolateDBInstanceRequest = models.IsolateDBInstanceRequest;
|
|
250
257
|
const ModifyBackupDownloadRestrictionResponse = models.ModifyBackupDownloadRestrictionResponse;
|
|
251
258
|
const ModifyTimeWindowRequest = models.ModifyTimeWindowRequest;
|
|
@@ -254,9 +261,10 @@ const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
|
|
|
254
261
|
const Account = models.Account;
|
|
255
262
|
const CreateBackupRequest = models.CreateBackupRequest;
|
|
256
263
|
const CommonTimeWindow = models.CommonTimeWindow;
|
|
264
|
+
const AccountInfo = models.AccountInfo;
|
|
257
265
|
const DescribeDBInstanceCharsetRequest = models.DescribeDBInstanceCharsetRequest;
|
|
258
266
|
const DescribeTimeWindowRequest = models.DescribeTimeWindowRequest;
|
|
259
|
-
const
|
|
267
|
+
const ModifyInstancePasswordComplexityResponse = models.ModifyInstancePasswordComplexityResponse;
|
|
260
268
|
const LocalBinlogConfigDefault = models.LocalBinlogConfigDefault;
|
|
261
269
|
const DeviceMemInfo = models.DeviceMemInfo;
|
|
262
270
|
const ModifyAutoRenewFlagRequest = models.ModifyAutoRenewFlagRequest;
|
|
@@ -266,7 +274,7 @@ const ModifyBackupConfigRequest = models.ModifyBackupConfigRequest;
|
|
|
266
274
|
const DescribeSlowLogDataRequest = models.DescribeSlowLogDataRequest;
|
|
267
275
|
const DatabasesWithCharacterLists = models.DatabasesWithCharacterLists;
|
|
268
276
|
const UpgradeDBInstanceResponse = models.UpgradeDBInstanceResponse;
|
|
269
|
-
const
|
|
277
|
+
const ModifyDBInstanceVipVportRequest = models.ModifyDBInstanceVipVportRequest;
|
|
270
278
|
const ModifyBackupConfigResponse = models.ModifyBackupConfigResponse;
|
|
271
279
|
const DescribeDBImportRecordsRequest = models.DescribeDBImportRecordsRequest;
|
|
272
280
|
const CreateDBImportJobResponse = models.CreateDBImportJobResponse;
|
|
@@ -279,6 +287,7 @@ const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
|
|
|
279
287
|
const ModifyCDBProxyResponse = models.ModifyCDBProxyResponse;
|
|
280
288
|
const DescribeParamTemplateInfoRequest = models.DescribeParamTemplateInfoRequest;
|
|
281
289
|
const DescribeBackupDownloadRestrictionRequest = models.DescribeBackupDownloadRestrictionRequest;
|
|
290
|
+
const ReleaseIsolatedDBInstancesResponse = models.ReleaseIsolatedDBInstancesResponse;
|
|
282
291
|
const DescribeDataBackupOverviewRequest = models.DescribeDataBackupOverviewRequest;
|
|
283
292
|
const DescribeParamTemplateInfoResponse = models.DescribeParamTemplateInfoResponse;
|
|
284
293
|
const DescribeTasksResponse = models.DescribeTasksResponse;
|
|
@@ -291,11 +300,13 @@ const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsReque
|
|
|
291
300
|
const DeleteAccountsRequest = models.DeleteAccountsRequest;
|
|
292
301
|
const SwitchDrInstanceToMasterResponse = models.SwitchDrInstanceToMasterResponse;
|
|
293
302
|
const Rule = models.Rule;
|
|
303
|
+
const ZoneConf = models.ZoneConf;
|
|
294
304
|
const AuditFilter = models.AuditFilter;
|
|
295
305
|
const DescribeAccountPrivilegesRequest = models.DescribeAccountPrivilegesRequest;
|
|
296
306
|
const AddTimeWindowResponse = models.AddTimeWindowResponse;
|
|
297
|
-
const
|
|
307
|
+
const DescribeAccountsResponse = models.DescribeAccountsResponse;
|
|
298
308
|
const RollbackTimeRange = models.RollbackTimeRange;
|
|
309
|
+
const StopRollbackRequest = models.StopRollbackRequest;
|
|
299
310
|
const DeleteBackupRequest = models.DeleteBackupRequest;
|
|
300
311
|
const DescribeParamTemplatesRequest = models.DescribeParamTemplatesRequest;
|
|
301
312
|
const UpgradeCDBProxyRequest = models.UpgradeCDBProxyRequest;
|
|
@@ -396,6 +407,21 @@ class CdbClient extends AbstractClient {
|
|
|
396
407
|
this.request("IsolateDBInstance", req, resp, cb);
|
|
397
408
|
}
|
|
398
409
|
|
|
410
|
+
/**
|
|
411
|
+
* This API (RestartDBInstances) is used to restart TencentDB instances.
|
|
412
|
+
|
|
413
|
+
Note:
|
|
414
|
+
1. This API only supports restarting primary instances.
|
|
415
|
+
2. The instance status must be normal, and no other async tasks are in progress.
|
|
416
|
+
* @param {RestartDBInstancesRequest} req
|
|
417
|
+
* @param {function(string, RestartDBInstancesResponse):void} cb
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
RestartDBInstances(req, cb) {
|
|
421
|
+
let resp = new RestartDBInstancesResponse();
|
|
422
|
+
this.request("RestartDBInstances", req, resp, cb);
|
|
423
|
+
}
|
|
424
|
+
|
|
399
425
|
/**
|
|
400
426
|
* This API (ModifyInstanceTag) is used to add, modify, or delete an instance tag.
|
|
401
427
|
* @param {ModifyInstanceTagRequest} req
|
|
@@ -687,6 +713,17 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
687
713
|
this.request("CreateCloneInstance", req, resp, cb);
|
|
688
714
|
}
|
|
689
715
|
|
|
716
|
+
/**
|
|
717
|
+
* This API is used to modify the password complexity of a TencentDB instance.
|
|
718
|
+
* @param {ModifyInstancePasswordComplexityRequest} req
|
|
719
|
+
* @param {function(string, ModifyInstancePasswordComplexityResponse):void} cb
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
ModifyInstancePasswordComplexity(req, cb) {
|
|
723
|
+
let resp = new ModifyInstancePasswordComplexityResponse();
|
|
724
|
+
this.request("ModifyInstancePasswordComplexity", req, resp, cb);
|
|
725
|
+
}
|
|
726
|
+
|
|
690
727
|
/**
|
|
691
728
|
* This API (ModifyTimeWindow) is used to update the maintenance time window of a TencentDB instance.
|
|
692
729
|
* @param {ModifyTimeWindowRequest} req
|
|
@@ -805,6 +842,17 @@ This is an asynchronous API. You can also use the [DescribeDBInstances](https://
|
|
|
805
842
|
this.request("CreateBackup", req, resp, cb);
|
|
806
843
|
}
|
|
807
844
|
|
|
845
|
+
/**
|
|
846
|
+
* This API (ModifyDBInstanceVipVport) is used to modify the IP and port number of a TencentDB instance, switch from the basic network to VPC, or change VPC subnets.
|
|
847
|
+
* @param {ModifyDBInstanceVipVportRequest} req
|
|
848
|
+
* @param {function(string, ModifyDBInstanceVipVportResponse):void} cb
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
ModifyDBInstanceVipVport(req, cb) {
|
|
852
|
+
let resp = new ModifyDBInstanceVipVportResponse();
|
|
853
|
+
this.request("ModifyDBInstanceVipVport", req, resp, cb);
|
|
854
|
+
}
|
|
855
|
+
|
|
808
856
|
/**
|
|
809
857
|
* This API (DescribeDBInstanceConfig) is used to query the configuration information of a TencentDB instance, such as its synchronization mode and deployment mode.
|
|
810
858
|
* @param {DescribeDBInstanceConfigRequest} req
|
|
@@ -915,6 +963,17 @@ This is an asynchronous API. You can also use the [DescribeDBInstances](https://
|
|
|
915
963
|
this.request("StopDBImportJob", req, resp, cb);
|
|
916
964
|
}
|
|
917
965
|
|
|
966
|
+
/**
|
|
967
|
+
* This API is used to create one or more TencentDB instance accounts. The account names, host addresses, and passwords are required, and account remarks and the maximum connections are optional.
|
|
968
|
+
* @param {CreateAccountsRequest} req
|
|
969
|
+
* @param {function(string, CreateAccountsResponse):void} cb
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
CreateAccounts(req, cb) {
|
|
973
|
+
let resp = new CreateAccountsResponse();
|
|
974
|
+
this.request("CreateAccounts", req, resp, cb);
|
|
975
|
+
}
|
|
976
|
+
|
|
918
977
|
/**
|
|
919
978
|
* This API is used to upgrade the configuration of database proxy.
|
|
920
979
|
* @param {UpgradeCDBProxyRequest} req
|
|
@@ -1240,18 +1299,14 @@ Note that the files for a data import task must be uploaded to Tencent Cloud in
|
|
|
1240
1299
|
}
|
|
1241
1300
|
|
|
1242
1301
|
/**
|
|
1243
|
-
* This API (
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
1. This API only supports restarting primary instances.
|
|
1247
|
-
2. The instance status must be normal, and no other async tasks are in progress.
|
|
1248
|
-
* @param {RestartDBInstancesRequest} req
|
|
1249
|
-
* @param {function(string, RestartDBInstancesResponse):void} cb
|
|
1302
|
+
* This API (DescribeAccounts) is used to query information of all TencentDB accounts.
|
|
1303
|
+
* @param {DescribeAccountsRequest} req
|
|
1304
|
+
* @param {function(string, DescribeAccountsResponse):void} cb
|
|
1250
1305
|
* @public
|
|
1251
1306
|
*/
|
|
1252
|
-
|
|
1253
|
-
let resp = new
|
|
1254
|
-
this.request("
|
|
1307
|
+
DescribeAccounts(req, cb) {
|
|
1308
|
+
let resp = new DescribeAccountsResponse();
|
|
1309
|
+
this.request("DescribeAccounts", req, resp, cb);
|
|
1255
1310
|
}
|
|
1256
1311
|
|
|
1257
1312
|
/**
|
|
@@ -1532,6 +1587,17 @@ Note that before enabling public network access, you need to first [initialize t
|
|
|
1532
1587
|
this.request("DescribeCloneList", req, resp, cb);
|
|
1533
1588
|
}
|
|
1534
1589
|
|
|
1590
|
+
/**
|
|
1591
|
+
* This API is used to modify the name or description of a placement group.
|
|
1592
|
+
* @param {ModifyNameOrDescByDpIdRequest} req
|
|
1593
|
+
* @param {function(string, ModifyNameOrDescByDpIdResponse):void} cb
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
ModifyNameOrDescByDpId(req, cb) {
|
|
1597
|
+
let resp = new ModifyNameOrDescByDpIdResponse();
|
|
1598
|
+
this.request("ModifyNameOrDescByDpId", req, resp, cb);
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1535
1601
|
/**
|
|
1536
1602
|
* This API is used to upgrade or downgrade a TencentDB instance, which can be a primary instance, disaster recovery instance, or read-only instance.
|
|
1537
1603
|
* @param {UpgradeDBInstanceRequest} req
|