tencentcloud-sdk-nodejs-intl-en 3.0.1469 → 3.0.1471
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/cam/v20190116/cam_client.js +19 -6
- package/tencentcloud/cam/v20190116/models.js +72 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +217 -13
- package/tencentcloud/csip/v20221121/models.js +3033 -541
- package/tencentcloud/kms/v20190118/kms_client.js +36 -22
- package/tencentcloud/kms/v20190118/models.js +227 -57
- package/tencentcloud/redis/v20180412/models.js +673 -180
- package/tencentcloud/redis/v20180412/redis_client.js +52 -13
- package/tencentcloud/tdmysql/v20211122/models.js +170 -0
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +13 -0
- package/tencentcloud/teo/v20220901/models.js +31 -45
- package/tencentcloud/vod/v20180717/models.js +85 -85
- package/tencentcloud/vod/v20180717/vod_client.js +1 -1
|
@@ -176,6 +176,7 @@ const DescribeReplicationGroupRequest = models.DescribeReplicationGroupRequest;
|
|
|
176
176
|
const DescribeInstanceSupportFeatureRequest = models.DescribeInstanceSupportFeatureRequest;
|
|
177
177
|
const RedisNodes = models.RedisNodes;
|
|
178
178
|
const DescribeInstanceMonitorTopNCmdRequest = models.DescribeInstanceMonitorTopNCmdRequest;
|
|
179
|
+
const ModifyValkeyModuleRequest = models.ModifyValkeyModuleRequest;
|
|
179
180
|
const CreateExportTaskRequest = models.CreateExportTaskRequest;
|
|
180
181
|
const DescribeInstanceSecurityGroupRequest = models.DescribeInstanceSecurityGroupRequest;
|
|
181
182
|
const InstanceParamHistory = models.InstanceParamHistory;
|
|
@@ -218,9 +219,10 @@ const DeleteReplicationInstanceResponse = models.DeleteReplicationInstanceRespon
|
|
|
218
219
|
const CleanUpInstanceRequest = models.CleanUpInstanceRequest;
|
|
219
220
|
const DescribeInstanceDealDetailResponse = models.DescribeInstanceDealDetailResponse;
|
|
220
221
|
const ModifyReplicationGroupRequest = models.ModifyReplicationGroupRequest;
|
|
222
|
+
const UpdateSSLCertResponse = models.UpdateSSLCertResponse;
|
|
221
223
|
const Groups = models.Groups;
|
|
222
224
|
const DescribeInstancesRequest = models.DescribeInstancesRequest;
|
|
223
|
-
const
|
|
225
|
+
const ModifyValkeyModuleResponse = models.ModifyValkeyModuleResponse;
|
|
224
226
|
const ModfiyInstancePasswordRequest = models.ModfiyInstancePasswordRequest;
|
|
225
227
|
const DescribeSlowLogRequest = models.DescribeSlowLogRequest;
|
|
226
228
|
const Filter = models.Filter;
|
|
@@ -285,13 +287,16 @@ const DescribeProxySlowLogResponse = models.DescribeProxySlowLogResponse;
|
|
|
285
287
|
const ModifyInstanceReadOnlyRequest = models.ModifyInstanceReadOnlyRequest;
|
|
286
288
|
const DescribeInstanceAccountResponse = models.DescribeInstanceAccountResponse;
|
|
287
289
|
const DescribeInstanceMonitorBigKeyRequest = models.DescribeInstanceMonitorBigKeyRequest;
|
|
290
|
+
const ModifySSLEncryptionModeResponse = models.ModifySSLEncryptionModeResponse;
|
|
288
291
|
const DescribeBackupDownloadRestrictionRequest = models.DescribeBackupDownloadRestrictionRequest;
|
|
289
292
|
const TendisNodes = models.TendisNodes;
|
|
290
293
|
const DescribeParamTemplateInfoResponse = models.DescribeParamTemplateInfoResponse;
|
|
291
294
|
const SwitchProxyRequest = models.SwitchProxyRequest;
|
|
295
|
+
const SourceCommand = models.SourceCommand;
|
|
292
296
|
const DescribeInstanceSpecBandwidthRequest = models.DescribeInstanceSpecBandwidthRequest;
|
|
293
297
|
const SwitchInstanceVipResponse = models.SwitchInstanceVipResponse;
|
|
294
298
|
const BackupLimitVpcItem = models.BackupLimitVpcItem;
|
|
299
|
+
const ModifySSLEncryptionModeRequest = models.ModifySSLEncryptionModeRequest;
|
|
295
300
|
const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
|
|
296
301
|
const ModifyNetworkConfigRequest = models.ModifyNetworkConfigRequest;
|
|
297
302
|
const HotKeyInfo = models.HotKeyInfo;
|
|
@@ -324,6 +329,7 @@ const DescribeInstanceMonitorHotKeyResponse = models.DescribeInstanceMonitorHotK
|
|
|
324
329
|
const InstanceParam = models.InstanceParam;
|
|
325
330
|
const DisassociateSecurityGroupsResponse = models.DisassociateSecurityGroupsResponse;
|
|
326
331
|
const ClearInstanceResponse = models.ClearInstanceResponse;
|
|
332
|
+
const UpdateSSLCertRequest = models.UpdateSSLCertRequest;
|
|
327
333
|
const DescribeTendisSlowLogRequest = models.DescribeTendisSlowLogRequest;
|
|
328
334
|
const InstanceSlowlogDetail = models.InstanceSlowlogDetail;
|
|
329
335
|
|
|
@@ -350,7 +356,7 @@ class RedisClient extends AbstractClient {
|
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
/**
|
|
353
|
-
*
|
|
359
|
+
* TencentDB for Redis decommissioned the API for querying large keys in instances on October 31, 2022. For the specific announcement, please refer to the decommissioning announcement of the API for querying large keys in instances.
|
|
354
360
|
* @param {DescribeInstanceMonitorBigKeySizeDistRequest} req
|
|
355
361
|
* @param {function(string, DescribeInstanceMonitorBigKeySizeDistResponse):void} cb
|
|
356
362
|
* @public
|
|
@@ -372,7 +378,7 @@ class RedisClient extends AbstractClient {
|
|
|
372
378
|
}
|
|
373
379
|
|
|
374
380
|
/**
|
|
375
|
-
* This API is used to remove
|
|
381
|
+
* This API is used to remove replication group members. Note: This API is offline. Please use RemoveReplicationInstance.
|
|
376
382
|
* @param {DeleteReplicationInstanceRequest} req
|
|
377
383
|
* @param {function(string, DeleteReplicationInstanceResponse):void} cb
|
|
378
384
|
* @public
|
|
@@ -899,6 +905,17 @@ class RedisClient extends AbstractClient {
|
|
|
899
905
|
this.request("ModifyReplicationGroup", req, resp, cb);
|
|
900
906
|
}
|
|
901
907
|
|
|
908
|
+
/**
|
|
909
|
+
* This API is used to update SSL key information.
|
|
910
|
+
* @param {UpdateSSLCertRequest} req
|
|
911
|
+
* @param {function(string, UpdateSSLCertResponse):void} cb
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
UpdateSSLCert(req, cb) {
|
|
915
|
+
let resp = new UpdateSSLCertResponse();
|
|
916
|
+
this.request("UpdateSSLCert", req, resp, cb);
|
|
917
|
+
}
|
|
918
|
+
|
|
902
919
|
/**
|
|
903
920
|
* This API (DescribeInstanceSupportFeature) is used to query the supported features of the instance.
|
|
904
921
|
* @param {DescribeInstanceSupportFeatureRequest} req
|
|
@@ -922,7 +939,7 @@ class RedisClient extends AbstractClient {
|
|
|
922
939
|
}
|
|
923
940
|
|
|
924
941
|
/**
|
|
925
|
-
*
|
|
942
|
+
* TencentDB for Redis decommissioned the API for querying large keys in instances on October 31, 2022. For the specific announcement, please refer to the decommissioning announcement of the API for querying large keys in instances.
|
|
926
943
|
* @param {DescribeInstanceMonitorBigKeyTypeDistRequest} req
|
|
927
944
|
* @param {function(string, DescribeInstanceMonitorBigKeyTypeDistResponse):void} cb
|
|
928
945
|
* @public
|
|
@@ -1164,7 +1181,7 @@ class RedisClient extends AbstractClient {
|
|
|
1164
1181
|
}
|
|
1165
1182
|
|
|
1166
1183
|
/**
|
|
1167
|
-
* This API is no longer used. Please use the TencentDB for DBbrain API [DescribeProxyProcessStatistics](https://
|
|
1184
|
+
* This API is no longer used. Please use the TencentDB for DBbrain API [DescribeProxyProcessStatistics](https://www.tencentcloud.com/document/product/1130/84544?from_cn_redirect=1) to obtain the instance access source.
|
|
1168
1185
|
* @param {DescribeInstanceMonitorSIPRequest} req
|
|
1169
1186
|
* @param {function(string, DescribeInstanceMonitorSIPResponse):void} cb
|
|
1170
1187
|
* @public
|
|
@@ -1197,7 +1214,7 @@ class RedisClient extends AbstractClient {
|
|
|
1197
1214
|
}
|
|
1198
1215
|
|
|
1199
1216
|
/**
|
|
1200
|
-
* This API is used to change the instance access password.
|
|
1217
|
+
* This API is used to change the instance access password. As the API name contains a spelling error, it has been corrected to [ModifyInstancePassword](https://www.tencentcloud.com/document/product/239/111555?from_cn_redirect=1). The corrected API is recommended for use.
|
|
1201
1218
|
* @param {ModfiyInstancePasswordRequest} req
|
|
1202
1219
|
* @param {function(string, ModfiyInstancePasswordResponse):void} cb
|
|
1203
1220
|
* @public
|
|
@@ -1274,7 +1291,7 @@ class RedisClient extends AbstractClient {
|
|
|
1274
1291
|
}
|
|
1275
1292
|
|
|
1276
1293
|
/**
|
|
1277
|
-
*
|
|
1294
|
+
* Tencent Cloud Database Redis decommissioned the API for querying large keys of instances on October 31, 2022. For the specific notice, please refer to the decommissioning announcement of the API for querying large keys of instances.
|
|
1278
1295
|
* @param {DescribeInstanceMonitorBigKeyRequest} req
|
|
1279
1296
|
* @param {function(string, DescribeInstanceMonitorBigKeyResponse):void} cb
|
|
1280
1297
|
* @public
|
|
@@ -1427,6 +1444,17 @@ class RedisClient extends AbstractClient {
|
|
|
1427
1444
|
this.request("ModifyMaintenanceWindow", req, resp, cb);
|
|
1428
1445
|
}
|
|
1429
1446
|
|
|
1447
|
+
/**
|
|
1448
|
+
* This API is used to modify the enable status of the Valkey instance extension module.
|
|
1449
|
+
* @param {ModifyValkeyModuleRequest} req
|
|
1450
|
+
* @param {function(string, ModifyValkeyModuleResponse):void} cb
|
|
1451
|
+
* @public
|
|
1452
|
+
*/
|
|
1453
|
+
ModifyValkeyModule(req, cb) {
|
|
1454
|
+
let resp = new ModifyValkeyModuleResponse();
|
|
1455
|
+
this.request("ModifyValkeyModule", req, resp, cb);
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1430
1458
|
/**
|
|
1431
1459
|
* This API is used to create a log download task.
|
|
1432
1460
|
* @param {CreateExportTaskRequest} req
|
|
@@ -1483,14 +1511,14 @@ class RedisClient extends AbstractClient {
|
|
|
1483
1511
|
}
|
|
1484
1512
|
|
|
1485
1513
|
/**
|
|
1486
|
-
* This API is used to
|
|
1487
|
-
* @param {
|
|
1488
|
-
* @param {function(string,
|
|
1514
|
+
* This API is used to change the SSL encryption mode.
|
|
1515
|
+
* @param {ModifySSLEncryptionModeRequest} req
|
|
1516
|
+
* @param {function(string, ModifySSLEncryptionModeResponse):void} cb
|
|
1489
1517
|
* @public
|
|
1490
1518
|
*/
|
|
1491
|
-
|
|
1492
|
-
let resp = new
|
|
1493
|
-
this.request("
|
|
1519
|
+
ModifySSLEncryptionMode(req, cb) {
|
|
1520
|
+
let resp = new ModifySSLEncryptionModeResponse();
|
|
1521
|
+
this.request("ModifySSLEncryptionMode", req, resp, cb);
|
|
1494
1522
|
}
|
|
1495
1523
|
|
|
1496
1524
|
/**
|
|
@@ -1614,6 +1642,17 @@ class RedisClient extends AbstractClient {
|
|
|
1614
1642
|
this.request("ChangeMasterInstance", req, resp, cb);
|
|
1615
1643
|
}
|
|
1616
1644
|
|
|
1645
|
+
/**
|
|
1646
|
+
* This API is used to delete a replication group.
|
|
1647
|
+
* @param {RemoveReplicationGroupRequest} req
|
|
1648
|
+
* @param {function(string, RemoveReplicationGroupResponse):void} cb
|
|
1649
|
+
* @public
|
|
1650
|
+
*/
|
|
1651
|
+
RemoveReplicationGroup(req, cb) {
|
|
1652
|
+
let resp = new RemoveReplicationGroupResponse();
|
|
1653
|
+
this.request("RemoveReplicationGroup", req, resp, cb);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1617
1656
|
/**
|
|
1618
1657
|
* This API is used to change the configuration specifications of an instance.
|
|
1619
1658
|
* @param {UpgradeInstanceRequest} req
|
|
@@ -610,6 +610,111 @@ class DescribeDBParametersRequest extends AbstractModel {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
+
/**
|
|
614
|
+
* ModifyDBInstance request structure.
|
|
615
|
+
* @class
|
|
616
|
+
*/
|
|
617
|
+
class ModifyDBInstanceRequest extends AbstractModel {
|
|
618
|
+
constructor(){
|
|
619
|
+
super();
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* <p>Instance ID.</p>
|
|
623
|
+
* @type {string || null}
|
|
624
|
+
*/
|
|
625
|
+
this.InstanceId = null;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* <p>Whether to only perform pre-check without actually executing the configuration change. true: only return the configuration change plan and pre-check result; false: actually execute the configuration change (default)</p>
|
|
629
|
+
* @type {boolean || null}
|
|
630
|
+
*/
|
|
631
|
+
this.DryRun = null;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* <p>Number of CPU cores of peer nodes. If not passed, maintain current value unchanged</p>
|
|
635
|
+
* @type {number || null}
|
|
636
|
+
*/
|
|
637
|
+
this.HybridNodeCpu = null;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* <p>Peer-to-peer node memory size in GB. If not passed, maintain current value unchanged</p>
|
|
641
|
+
* @type {number || null}
|
|
642
|
+
*/
|
|
643
|
+
this.HybridNodeMem = null;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* <p>Number of peer nodes. If not passed, maintain current value unchanged</p>
|
|
647
|
+
* @type {number || null}
|
|
648
|
+
*/
|
|
649
|
+
this.HybridNodeNum = null;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* <p>Peer-to-peer node disk capacity in GB. If not passed, maintain current value unchanged</p>
|
|
653
|
+
* @type {number || null}
|
|
654
|
+
*/
|
|
655
|
+
this.Disk = null;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* <p>Storage type. Available values: CLOUD_HSSD (enhanced SSD cloud disk), CLOUD_TCS (local disk), CLOUD_BSSD (universal SSD cloud disk). If not specified, the current value remains unchanged.</p>
|
|
659
|
+
* @type {string || null}
|
|
660
|
+
*/
|
|
661
|
+
this.StorageType = null;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* <p>Specification code, for example, 4c8g, 16c32g</p>
|
|
665
|
+
* @type {string || null}
|
|
666
|
+
*/
|
|
667
|
+
this.SpecCode = null;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* <p>Target AZ list. If not passed, maintain current value unchanged</p>
|
|
671
|
+
* @type {Array.<string> || null}
|
|
672
|
+
*/
|
|
673
|
+
this.Zones = null;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* <p>Availability zone mode. 1: single availability zone. 3: multi-availability zone primary AZ mode</p>
|
|
677
|
+
* @type {number || null}
|
|
678
|
+
*/
|
|
679
|
+
this.AZMode = null;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* <p>Primary AZ. This parameter is valid only when AZMode is 3</p>
|
|
683
|
+
* @type {string || null}
|
|
684
|
+
*/
|
|
685
|
+
this.PrimaryAZ = null;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* <p>Number of replicas, value ranges from 1 to 3</p>
|
|
689
|
+
* @type {number || null}
|
|
690
|
+
*/
|
|
691
|
+
this.FullReplications = null;
|
|
692
|
+
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* @private
|
|
697
|
+
*/
|
|
698
|
+
deserialize(params) {
|
|
699
|
+
if (!params) {
|
|
700
|
+
return;
|
|
701
|
+
}
|
|
702
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
703
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
704
|
+
this.HybridNodeCpu = 'HybridNodeCpu' in params ? params.HybridNodeCpu : null;
|
|
705
|
+
this.HybridNodeMem = 'HybridNodeMem' in params ? params.HybridNodeMem : null;
|
|
706
|
+
this.HybridNodeNum = 'HybridNodeNum' in params ? params.HybridNodeNum : null;
|
|
707
|
+
this.Disk = 'Disk' in params ? params.Disk : null;
|
|
708
|
+
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
709
|
+
this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
|
|
710
|
+
this.Zones = 'Zones' in params ? params.Zones : null;
|
|
711
|
+
this.AZMode = 'AZMode' in params ? params.AZMode : null;
|
|
712
|
+
this.PrimaryAZ = 'PrimaryAZ' in params ? params.PrimaryAZ : null;
|
|
713
|
+
this.FullReplications = 'FullReplications' in params ? params.FullReplications : null;
|
|
714
|
+
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
|
|
613
718
|
/**
|
|
614
719
|
* ModifyInstanceNetwork response structure.
|
|
615
720
|
* @class
|
|
@@ -7847,6 +7952,69 @@ class AutoScalingConfig extends AbstractModel {
|
|
|
7847
7952
|
}
|
|
7848
7953
|
}
|
|
7849
7954
|
|
|
7955
|
+
/**
|
|
7956
|
+
* ModifyDBInstance response structure.
|
|
7957
|
+
* @class
|
|
7958
|
+
*/
|
|
7959
|
+
class ModifyDBInstanceResponse extends AbstractModel {
|
|
7960
|
+
constructor(){
|
|
7961
|
+
super();
|
|
7962
|
+
|
|
7963
|
+
/**
|
|
7964
|
+
* <p>Asynchronous task ID, returned when DryRun=false. You can call the Query Task API with this ID to get task status.</p>
|
|
7965
|
+
* @type {number || null}
|
|
7966
|
+
*/
|
|
7967
|
+
this.FlowId = null;
|
|
7968
|
+
|
|
7969
|
+
/**
|
|
7970
|
+
* <p>Order number, returned in prepaid scenarios</p>
|
|
7971
|
+
* @type {string || null}
|
|
7972
|
+
*/
|
|
7973
|
+
this.DealName = null;
|
|
7974
|
+
|
|
7975
|
+
/**
|
|
7976
|
+
* <p>Whether to perform in-place configuration changes. Returned when DryRun=true.</p>
|
|
7977
|
+
* @type {boolean || null}
|
|
7978
|
+
*/
|
|
7979
|
+
this.IsInPlaceModification = null;
|
|
7980
|
+
|
|
7981
|
+
/**
|
|
7982
|
+
* <p>Whether to perform configuration adjustment. Returned when DryRun=true</p>
|
|
7983
|
+
* @type {boolean || null}
|
|
7984
|
+
*/
|
|
7985
|
+
this.IsMigrateModification = null;
|
|
7986
|
+
|
|
7987
|
+
/**
|
|
7988
|
+
* <p>Configuration change plan description. Returned when DryRun=true, describing the sub-process orchestration to be executed</p>
|
|
7989
|
+
* @type {string || null}
|
|
7990
|
+
*/
|
|
7991
|
+
this.ModifyPlan = null;
|
|
7992
|
+
|
|
7993
|
+
/**
|
|
7994
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7995
|
+
* @type {string || null}
|
|
7996
|
+
*/
|
|
7997
|
+
this.RequestId = null;
|
|
7998
|
+
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
/**
|
|
8002
|
+
* @private
|
|
8003
|
+
*/
|
|
8004
|
+
deserialize(params) {
|
|
8005
|
+
if (!params) {
|
|
8006
|
+
return;
|
|
8007
|
+
}
|
|
8008
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
8009
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
8010
|
+
this.IsInPlaceModification = 'IsInPlaceModification' in params ? params.IsInPlaceModification : null;
|
|
8011
|
+
this.IsMigrateModification = 'IsMigrateModification' in params ? params.IsMigrateModification : null;
|
|
8012
|
+
this.ModifyPlan = 'ModifyPlan' in params ? params.ModifyPlan : null;
|
|
8013
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8014
|
+
|
|
8015
|
+
}
|
|
8016
|
+
}
|
|
8017
|
+
|
|
7850
8018
|
/**
|
|
7851
8019
|
* Database stored procedure information.
|
|
7852
8020
|
* @class
|
|
@@ -9701,6 +9869,7 @@ module.exports = {
|
|
|
9701
9869
|
BackupMethodStatisticsOutPut: BackupMethodStatisticsOutPut,
|
|
9702
9870
|
DescribeDatabasesRequest: DescribeDatabasesRequest,
|
|
9703
9871
|
DescribeDBParametersRequest: DescribeDBParametersRequest,
|
|
9872
|
+
ModifyDBInstanceRequest: ModifyDBInstanceRequest,
|
|
9704
9873
|
ModifyInstanceNetworkResponse: ModifyInstanceNetworkResponse,
|
|
9705
9874
|
ModifyInstanceSSLStatusResponse: ModifyInstanceSSLStatusResponse,
|
|
9706
9875
|
DescribeDBEnginesRequest: DescribeDBEnginesRequest,
|
|
@@ -9821,6 +9990,7 @@ module.exports = {
|
|
|
9821
9990
|
DescribeFlowRequest: DescribeFlowRequest,
|
|
9822
9991
|
ModifyDBSBackupSetCommentResponse: ModifyDBSBackupSetCommentResponse,
|
|
9823
9992
|
AutoScalingConfig: AutoScalingConfig,
|
|
9993
|
+
ModifyDBInstanceResponse: ModifyDBInstanceResponse,
|
|
9824
9994
|
DatabaseProcedure: DatabaseProcedure,
|
|
9825
9995
|
DescribeDBEnginesResponse: DescribeDBEnginesResponse,
|
|
9826
9996
|
ModifyAutoRenewFlagRequest: ModifyAutoRenewFlagRequest,
|
|
@@ -24,6 +24,7 @@ const DescribeSaleZonesInfo = models.DescribeSaleZonesInfo;
|
|
|
24
24
|
const BackupMethodStatisticsOutPut = models.BackupMethodStatisticsOutPut;
|
|
25
25
|
const DescribeDatabasesRequest = models.DescribeDatabasesRequest;
|
|
26
26
|
const DescribeDBParametersRequest = models.DescribeDBParametersRequest;
|
|
27
|
+
const ModifyDBInstanceRequest = models.ModifyDBInstanceRequest;
|
|
27
28
|
const ModifyInstanceNetworkResponse = models.ModifyInstanceNetworkResponse;
|
|
28
29
|
const ModifyInstanceSSLStatusResponse = models.ModifyInstanceSSLStatusResponse;
|
|
29
30
|
const DescribeDBEnginesRequest = models.DescribeDBEnginesRequest;
|
|
@@ -144,6 +145,7 @@ const IsolateDBInstanceRequest = models.IsolateDBInstanceRequest;
|
|
|
144
145
|
const DescribeFlowRequest = models.DescribeFlowRequest;
|
|
145
146
|
const ModifyDBSBackupSetCommentResponse = models.ModifyDBSBackupSetCommentResponse;
|
|
146
147
|
const AutoScalingConfig = models.AutoScalingConfig;
|
|
148
|
+
const ModifyDBInstanceResponse = models.ModifyDBInstanceResponse;
|
|
147
149
|
const DatabaseProcedure = models.DatabaseProcedure;
|
|
148
150
|
const DescribeDBEnginesResponse = models.DescribeDBEnginesResponse;
|
|
149
151
|
const ModifyAutoRenewFlagRequest = models.ModifyAutoRenewFlagRequest;
|
|
@@ -760,6 +762,17 @@ class TdmysqlClient extends AbstractClient {
|
|
|
760
762
|
this.request("DescribeFlowTypes", req, resp, cb);
|
|
761
763
|
}
|
|
762
764
|
|
|
765
|
+
/**
|
|
766
|
+
* This API is used to modify instance configurations. It combines the ability to vertically and horizontally modify instances, and supports composite modifications of CPU, memory, disk, number of nodes, availability zone, and storage type. It supports DryRun precheck mode, allowing you to obtain the modification plan without actual execution.
|
|
767
|
+
* @param {ModifyDBInstanceRequest} req
|
|
768
|
+
* @param {function(string, ModifyDBInstanceResponse):void} cb
|
|
769
|
+
* @public
|
|
770
|
+
*/
|
|
771
|
+
ModifyDBInstance(req, cb) {
|
|
772
|
+
let resp = new ModifyDBInstanceResponse();
|
|
773
|
+
this.request("ModifyDBInstance", req, resp, cb);
|
|
774
|
+
}
|
|
775
|
+
|
|
763
776
|
/**
|
|
764
777
|
* This API is used to query instance details.
|
|
765
778
|
* @param {DescribeDBInstanceDetailRequest} req
|
|
@@ -8244,7 +8244,7 @@ class SiteFailover extends AbstractModel {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
|
|
8246
8246
|
/**
|
|
8247
|
-
*
|
|
8247
|
+
* Back to site information
|
|
8248
8248
|
* @class
|
|
8249
8249
|
*/
|
|
8250
8250
|
class ZoneInfo extends AbstractModel {
|
|
@@ -8264,8 +8264,8 @@ class ZoneInfo extends AbstractModel {
|
|
|
8264
8264
|
this.ZoneName = null;
|
|
8265
8265
|
|
|
8266
8266
|
/**
|
|
8267
|
-
* Whether to disable the site.
|
|
8268
|
-
<li>true:
|
|
8267
|
+
* Whether to disable the site. Valid values: <li>false: not disabled;</li>
|
|
8268
|
+
<li>true: Disable.</li>
|
|
8269
8269
|
* @type {boolean || null}
|
|
8270
8270
|
*/
|
|
8271
8271
|
this.Paused = null;
|
|
@@ -30101,7 +30101,7 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
30101
30101
|
}
|
|
30102
30102
|
|
|
30103
30103
|
/**
|
|
30104
|
-
*
|
|
30104
|
+
* Plan information
|
|
30105
30105
|
* @class
|
|
30106
30106
|
*/
|
|
30107
30107
|
class Plan extends AbstractModel {
|
|
@@ -30109,142 +30109,127 @@ class Plan extends AbstractModel {
|
|
|
30109
30109
|
super();
|
|
30110
30110
|
|
|
30111
30111
|
/**
|
|
30112
|
-
*
|
|
30113
|
-
<Li>`Plan-Trial`: trial plan</li>.
|
|
30114
|
-
<Li>`Plan-Personal`: personal plan</li>.
|
|
30115
|
-
<Li>`Plan-Basic`: basic plan</li>.
|
|
30116
|
-
<Li>`Plan-Standard`: standard edition plan</li>.
|
|
30117
|
-
<li>plan-enterprise-v2: enterprise plan;</li>.
|
|
30118
|
-
<li>plan-enterprise-model-a: enterprise edition model a package.</li>.
|
|
30119
|
-
<Li>Plan-Enterprise: legacy enterprise plan.</li>.
|
|
30112
|
+
* <p>Plan type. Valid values:</p><li>plan-trial: Trial Edition plan;</li><li>plan-personal: Personal Edition plan;</li><li>plan-basic: Basic Edition plan;</li><li>plan-standard: Standard Edition plan;</li><li>plan-enterprise-v2: Enterprise Edition plan;</li><li>plan-enterprise-model-a: Enterprise Edition Model A plan;</li><li>plan-enterprise: Legacy Enterprise Edition plan;</li><li>plan-makers-pro: Makers Pro Edition plan;</li><li>plan-makers-business: Makers Business Edition plan;</li><p>Valid values:</p><ul><li>plan-trial: Trial Edition plan</li><li>plan-personal: Personal Edition plan</li><li>plan-basic: Basic Edition plan</li><li>plan-standard: Standard Edition plan</li><li>plan-enterprise-v2: Enterprise Edition plan</li><li>plan-enterprise-model-a: Enterprise Edition Model A plan</li><li>plan-enterprise: Legacy Enterprise Edition plan</li><li>plan-makers-pro: Makers Pro Edition plan</li><li>plan-makers-business: Makers Business Edition plan</li></ul>
|
|
30120
30113
|
* @type {string || null}
|
|
30121
30114
|
*/
|
|
30122
30115
|
this.PlanType = null;
|
|
30123
30116
|
|
|
30124
30117
|
/**
|
|
30125
|
-
*
|
|
30118
|
+
* <p>Plan ID, in the format of edgeone-2y041pblwaxe.</p>
|
|
30126
30119
|
* @type {string || null}
|
|
30127
30120
|
*/
|
|
30128
30121
|
this.PlanId = null;
|
|
30129
30122
|
|
|
30130
30123
|
/**
|
|
30131
|
-
* Service
|
|
30132
|
-
<Li>`Mainland`: chinese mainland</li>.
|
|
30133
|
-
<li>`overseas`: global (chinese mainland not included)</li>.
|
|
30134
|
-
<Li>`Global`: global (chinese mainland included)</li>.
|
|
30124
|
+
* <p>Service region. Valid values:</p><li>mainland: Chinese mainland;</li><li>overseas: Global (excluding the Chinese mainland);</li><li>global: Global (including the Chinese mainland).</li>
|
|
30135
30125
|
* @type {string || null}
|
|
30136
30126
|
*/
|
|
30137
30127
|
this.Area = null;
|
|
30138
30128
|
|
|
30139
30129
|
/**
|
|
30140
|
-
* Auto-
|
|
30141
|
-
<li>true: automatic renewal is enabled.</li>.
|
|
30142
|
-
<li>false: automatic renewal is not enabled.</li>.
|
|
30130
|
+
* <p>Auto-renewal switch. Valid values:</p><li>true: Auto-renewal enabled;</li><li>false: Auto-renewal disabled.</li>
|
|
30143
30131
|
* @type {boolean || null}
|
|
30144
30132
|
*/
|
|
30145
30133
|
this.AutoRenewal = null;
|
|
30146
30134
|
|
|
30147
30135
|
/**
|
|
30148
|
-
*
|
|
30149
|
-
<Li>Normal: indicates the normal status.</li>.
|
|
30150
|
-
<li>`expiring-soon`: will expire soon;</li>.
|
|
30151
|
-
<li>`expired`: expiration status;</li>.
|
|
30152
|
-
<Li>`Isolated`: isolated state</li>.
|
|
30153
|
-
<li>`overdue-isolated`: arrears isolated state.</li>.
|
|
30136
|
+
* <p>Plan status. Valid values:</p><li>normal: Normal;</li><li>expiring-soon: Expiring soon;</li><li>expired: Expired;</li><li>isolated: Isolated;</li><li>overdue-isolated: Isolated due to overdue payment.</li>
|
|
30154
30137
|
* @type {string || null}
|
|
30155
30138
|
*/
|
|
30156
30139
|
this.Status = null;
|
|
30157
30140
|
|
|
30158
30141
|
/**
|
|
30159
|
-
*
|
|
30160
|
-
<Li>0: postpaid;</li>.
|
|
30161
|
-
<Li>1: prepaid.</li>.
|
|
30142
|
+
* <p>Billing type. Valid values:</p><li>0: Postpaid;</li><li>1: Prepaid.</li>
|
|
30162
30143
|
* @type {number || null}
|
|
30163
30144
|
*/
|
|
30164
30145
|
this.PayMode = null;
|
|
30165
30146
|
|
|
30166
30147
|
/**
|
|
30167
|
-
*
|
|
30148
|
+
* <p>Information of the sites bound to the plan, including site id, site name, and site status.</p>
|
|
30168
30149
|
* @type {Array.<ZoneInfo> || null}
|
|
30169
30150
|
*/
|
|
30170
30151
|
this.ZonesInfo = null;
|
|
30171
30152
|
|
|
30172
30153
|
/**
|
|
30173
|
-
*
|
|
30154
|
+
* <p>Quota of smart acceleration requests in the plan, in the unit of requests.</p>
|
|
30174
30155
|
* @type {number || null}
|
|
30175
30156
|
*/
|
|
30176
30157
|
this.SmartRequestCapacity = null;
|
|
30177
30158
|
|
|
30178
30159
|
/**
|
|
30179
|
-
*
|
|
30160
|
+
* <p>VAU quota in the plan, in the unit of VAUs.</p>
|
|
30180
30161
|
* @type {number || null}
|
|
30181
30162
|
*/
|
|
30182
30163
|
this.VAUCapacity = null;
|
|
30183
30164
|
|
|
30184
30165
|
/**
|
|
30185
|
-
*
|
|
30166
|
+
* <p>Quota of content acceleration traffic in the plan, in the unit of bytes.</p>
|
|
30186
30167
|
* @type {number || null}
|
|
30187
30168
|
*/
|
|
30188
30169
|
this.AccTrafficCapacity = null;
|
|
30189
30170
|
|
|
30190
30171
|
/**
|
|
30191
|
-
*
|
|
30172
|
+
* <p>Quota of client authentication traffic in the plan, in the unit of bytes.</p>
|
|
30173
|
+
* @type {number || null}
|
|
30174
|
+
*/
|
|
30175
|
+
this.ClientAuthTrafficCapacity = null;
|
|
30176
|
+
|
|
30177
|
+
/**
|
|
30178
|
+
* <p>Quota of smart acceleration traffic in the plan, in the unit of bytes.</p>
|
|
30192
30179
|
* @type {number || null}
|
|
30193
30180
|
*/
|
|
30194
30181
|
this.SmartTrafficCapacity = null;
|
|
30195
30182
|
|
|
30196
30183
|
/**
|
|
30197
|
-
*
|
|
30184
|
+
* <p>Quota of DDoS protection traffic in the plan, in the unit of bytes.</p>
|
|
30198
30185
|
* @type {number || null}
|
|
30199
30186
|
*/
|
|
30200
30187
|
this.DDoSTrafficCapacity = null;
|
|
30201
30188
|
|
|
30202
30189
|
/**
|
|
30203
|
-
*
|
|
30190
|
+
* <p>Quota of security traffic in the plan, in the unit of bytes.</p>
|
|
30204
30191
|
* @type {number || null}
|
|
30205
30192
|
*/
|
|
30206
30193
|
this.SecTrafficCapacity = null;
|
|
30207
30194
|
|
|
30208
30195
|
/**
|
|
30209
|
-
*
|
|
30196
|
+
* <p>Quota of security requests in the plan, in the unit of requests.</p>
|
|
30210
30197
|
* @type {number || null}
|
|
30211
30198
|
*/
|
|
30212
30199
|
this.SecRequestCapacity = null;
|
|
30213
30200
|
|
|
30214
30201
|
/**
|
|
30215
|
-
*
|
|
30202
|
+
* <p>Quota of L4 acceleration traffic in the plan, in the unit of bytes.</p>
|
|
30216
30203
|
* @type {number || null}
|
|
30217
30204
|
*/
|
|
30218
30205
|
this.L4TrafficCapacity = null;
|
|
30219
30206
|
|
|
30220
30207
|
/**
|
|
30221
|
-
*
|
|
30208
|
+
* <p>Quota of network optimization traffic for the Chinese mainland in the plan, in the unit of bytes.</p>
|
|
30222
30209
|
* @type {number || null}
|
|
30223
30210
|
*/
|
|
30224
30211
|
this.CrossMLCTrafficCapacity = null;
|
|
30225
30212
|
|
|
30226
30213
|
/**
|
|
30227
|
-
*
|
|
30228
|
-
<li>true: allows binding a new site.</li>.
|
|
30229
|
-
<li>`false`: cannot bind new sites.</li>.
|
|
30214
|
+
* <p>Whether the plan allows binding new sites. Valid values:</p><li>true: Allows binding new sites;</li><li>false: Does not allow binding new sites.</li>
|
|
30230
30215
|
* @type {string || null}
|
|
30231
30216
|
*/
|
|
30232
30217
|
this.Bindable = null;
|
|
30233
30218
|
|
|
30234
30219
|
/**
|
|
30235
|
-
*
|
|
30220
|
+
* <p>Time when the plan takes effect.</p>
|
|
30236
30221
|
* @type {string || null}
|
|
30237
30222
|
*/
|
|
30238
30223
|
this.EnabledTime = null;
|
|
30239
30224
|
|
|
30240
30225
|
/**
|
|
30241
|
-
*
|
|
30226
|
+
* <p>Expiration time of the plan.</p>
|
|
30242
30227
|
* @type {string || null}
|
|
30243
30228
|
*/
|
|
30244
30229
|
this.ExpiredTime = null;
|
|
30245
30230
|
|
|
30246
30231
|
/**
|
|
30247
|
-
*
|
|
30232
|
+
* <p>Features supported by the plan. Valid values: <li>ContentAcceleration: content acceleration;</li><li>SmartAcceleration: smart acceleration;</li><li>L4: L4 acceleration;</li><li>Waf: advanced Web protection;</li><li>QUIC: QUIC;</li><li>CrossMLC: network optimization for the Chinese mainland;</li><li>ProcessMedia: media processing;</li><li>L4DDoS: L4 DDoS protection.</li>Only one of the following L7DDoS specifications can appear: <li>L7DDoS.CM30G: L7 DDoS protection - 30 Gbps guaranteed bandwidth in the Chinese mainland;</li><li>L7DDoS.CM60G: L7 DDoS protection - 60 Gbps guaranteed bandwidth in the Chinese mainland;</li><li>L7DDoS.CM100G: L7 DDoS protection - 100 Gbps guaranteed bandwidth in the Chinese mainland;</li><li>L7DDoS.Anycast300G: L7 DDoS protection - 300 Gbps Anycast guaranteed bandwidth outside the Chinese mainland;</li><li>L7DDoS.AnycastUnlimited: L7 DDoS protection - unlimited Anycast full protection outside the Chinese mainland;</li><li>L7DDoS.CM30G_Anycast300G: L7 DDoS protection - 30 Gbps guaranteed bandwidth in the Chinese mainland and 300 Gbps Anycast guaranteed bandwidth outside the Chinese mainland;</li><li>L7DDoS.CM60G_Anycast300G: L7 DDoS protection - 60 Gbps guaranteed bandwidth in the Chinese mainland and 300 Gbps Anycast guaranteed bandwidth outside the Chinese mainland;</li><li>L7DDoS.CM100G_Anycast300G: L7 DDoS protection - 100 Gbps guaranteed bandwidth in the Chinese mainland and 300 Gbps Anycast guaranteed bandwidth outside the Chinese mainland;</li><li>L7DDoS.CM30G_AnycastUnlimited: L7 DDoS protection - 30 Gbps guaranteed bandwidth in the Chinese mainland and unlimited Anycast full protection outside the Chinese mainland;</li><li>L7DDoS.CM60G_AnycastUnlimited: L7 DDoS protection - 60 Gbps guaranteed bandwidth in the Chinese mainland and unlimited Anycast full protection outside the Chinese mainland;</li><li>L7DDoS.CM100G_AnycastUnlimited: L7 DDoS protection - 100 Gbps guaranteed bandwidth in the Chinese mainland and unlimited Anycast full protection outside the Chinese mainland.</li></p>
|
|
30248
30233
|
* @type {Array.<string> || null}
|
|
30249
30234
|
*/
|
|
30250
30235
|
this.Features = null;
|
|
@@ -30276,6 +30261,7 @@ class Plan extends AbstractModel {
|
|
|
30276
30261
|
this.SmartRequestCapacity = 'SmartRequestCapacity' in params ? params.SmartRequestCapacity : null;
|
|
30277
30262
|
this.VAUCapacity = 'VAUCapacity' in params ? params.VAUCapacity : null;
|
|
30278
30263
|
this.AccTrafficCapacity = 'AccTrafficCapacity' in params ? params.AccTrafficCapacity : null;
|
|
30264
|
+
this.ClientAuthTrafficCapacity = 'ClientAuthTrafficCapacity' in params ? params.ClientAuthTrafficCapacity : null;
|
|
30279
30265
|
this.SmartTrafficCapacity = 'SmartTrafficCapacity' in params ? params.SmartTrafficCapacity : null;
|
|
30280
30266
|
this.DDoSTrafficCapacity = 'DDoSTrafficCapacity' in params ? params.DDoSTrafficCapacity : null;
|
|
30281
30267
|
this.SecTrafficCapacity = 'SecTrafficCapacity' in params ? params.SecTrafficCapacity : null;
|