tencentcloud-sdk-nodejs-intl-en 3.0.1470 → 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/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 +76 -76
|
@@ -31,7 +31,7 @@ class UpgradeProxyVersionRequest extends AbstractModel {
|
|
|
31
31
|
this.InstanceId = null;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Current
|
|
34
|
+
* Current Proxy version. Get the current Proxy version of an instance through the [DescribeInstances](https://www.tencentcloud.com/document/product/239/20018?from_cn_redirect=1) API.
|
|
35
35
|
* @type {string || null}
|
|
36
36
|
*/
|
|
37
37
|
this.CurrentProxyVersion = null;
|
|
@@ -195,13 +195,13 @@ class UpgradeSmallVersionRequest extends AbstractModel {
|
|
|
195
195
|
this.InstanceId = null;
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* Current Redis minor version. For minor version information, see
|
|
198
|
+
* Current Redis minor version. For minor version information, please see Upgrade Instance Version (https://www.tencentcloud.com/document/product/239/46457?from_cn_redirect=1).
|
|
199
199
|
* @type {string || null}
|
|
200
200
|
*/
|
|
201
201
|
this.CurrentRedisVersion = null;
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
|
-
*
|
|
204
|
+
* Redis minor version upgrade. For minor version information, please refer to upgrade instance version (https://www.tencentcloud.com/document/product/239/46457?from_cn_redirect=1).
|
|
205
205
|
* @type {string || null}
|
|
206
206
|
*/
|
|
207
207
|
this.UpgradeRedisVersion = null;
|
|
@@ -426,8 +426,8 @@ class ModifyInstanceAvailabilityZonesRequest extends AbstractModel {
|
|
|
426
426
|
this.SwitchOption = null;
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
430
|
-
For
|
|
429
|
+
* Node information of the instance, including node ID, node type, and node availability zone ID. For details, see [RedisNodeInfo](https://www.tencentcloud.com/document/product/239/20022?from_cn_redirect=1).
|
|
430
|
+
For a single-AZ instance, no need to pass in NodeId. For a multi-AZ instance, NodeId is required.
|
|
431
431
|
* @type {Array.<RedisNodeInfo> || null}
|
|
432
432
|
*/
|
|
433
433
|
this.NodeSet = null;
|
|
@@ -704,25 +704,25 @@ class ModifyAutoBackupConfigResponse extends AbstractModel {
|
|
|
704
704
|
super();
|
|
705
705
|
|
|
706
706
|
/**
|
|
707
|
-
* Automatic backup type.
|
|
707
|
+
* <p>Automatic backup type. Currently, it can only be configured as: 1, scheduled backup.</p>
|
|
708
708
|
* @type {number || null}
|
|
709
709
|
*/
|
|
710
710
|
this.AutoBackupType = null;
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
|
-
* Automatic backup cycle.
|
|
713
|
+
* <p>Automatic backup cycle. Value: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.</p>
|
|
714
714
|
* @type {Array.<string> || null}
|
|
715
715
|
*/
|
|
716
716
|
this.WeekDays = null;
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
|
-
*
|
|
719
|
+
* <p>Automatic scheduled backup time period. Format: 00:00-01:00, 01:00-02:00...... 23:00-00:00.</p>
|
|
720
720
|
* @type {string || null}
|
|
721
721
|
*/
|
|
722
722
|
this.TimePeriod = null;
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
|
-
*
|
|
725
|
+
* <p>Number of days to save full backup files, in days.</p>
|
|
726
726
|
* @type {number || null}
|
|
727
727
|
*/
|
|
728
728
|
this.BackupStorageDays = null;
|
|
@@ -766,7 +766,7 @@ class RestoreInstanceRequest extends AbstractModel {
|
|
|
766
766
|
this.InstanceId = null;
|
|
767
767
|
|
|
768
768
|
/**
|
|
769
|
-
* Backup ID, which can be obtained through the
|
|
769
|
+
* Backup ID, which can be obtained through the RedisBackupSet parameter in the API response of [DescribeInstanceBackups](https://www.tencentcloud.com/document/product/239/20011?from_cn_redirect=1).
|
|
770
770
|
* @type {string || null}
|
|
771
771
|
*/
|
|
772
772
|
this.BackupId = null;
|
|
@@ -943,13 +943,13 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
943
943
|
this.TypeId = null;
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
|
-
* <p>Memory capacity, measured in MB
|
|
946
|
+
* <p>Memory capacity, measured in MB. The value must be an integral multiple of 1024. For detailed parameter information, query the sales specifications for all regions through the <a href="https://www.tencentcloud.com/document/api/239/30600?from_cn_redirect=1">DescribeProductInfo</a> API.</p><ul><li>When <strong>TypeId</strong> is the standard architecture, <strong>MemSize</strong> is the total memory capacity of the instance.</li><li>When <strong>TypeId</strong> is the cluster architecture, <strong>MemSize</strong> is the sharded memory capacity.</li></ul>
|
|
947
947
|
* @type {number || null}
|
|
948
948
|
*/
|
|
949
949
|
this.MemSize = null;
|
|
950
950
|
|
|
951
951
|
/**
|
|
952
|
-
* <p>Instance count.
|
|
952
|
+
* <p>Instance count. The number of instances to purchase at a time. For details, use the <a href="https://www.tencentcloud.com/document/api/239/30600?from_cn_redirect=1">DescribeProductInfo</a> API to query the sales specifications in all regions.</p>
|
|
953
953
|
* @type {number || null}
|
|
954
954
|
*/
|
|
955
955
|
this.GoodsNum = null;
|
|
@@ -1003,7 +1003,7 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
1003
1003
|
this.AutoRenew = null;
|
|
1004
1004
|
|
|
1005
1005
|
/**
|
|
1006
|
-
* <p>Security group ID array.</p><ul><li>A security group is a virtual firewall
|
|
1006
|
+
* <p>Security group ID array.</p><ul><li>A security group is a virtual firewall to control network access to cloud database instances. It is recommended to bind the corresponding security group when creating an instance.</li><li>Obtain the security group ID of an instance through the <a href="https://www.tencentcloud.com/document/product/239/34447?from_cn_redirect=1">DescribeInstanceSecurityGroup</a> API.</li></ul>
|
|
1007
1007
|
* @type {Array.<string> || null}
|
|
1008
1008
|
*/
|
|
1009
1009
|
this.SecurityGroupIdList = null;
|
|
@@ -1045,7 +1045,7 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
1045
1045
|
this.NoAuth = null;
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
1048
|
-
* <p>Node information of instance, including node ID, node type, node availability zone ID. For details,
|
|
1048
|
+
* <p>Node information of the instance, including node ID, node type, and node availability zone ID. For details, see <a href="https://www.tencentcloud.com/document/product/239/20022?from_cn_redirect=1">RedisNodeInfo </a>.<br>Currently supports inputting the node type (primary node or replica node) and the availability zone of the node. If this parameter is not specified, the system defaults to creating a multi-availability zone architecture instance in regions that support multi-availability zone deployment.</p>
|
|
1049
1049
|
* @type {Array.<RedisNodeInfo> || null}
|
|
1050
1050
|
*/
|
|
1051
1051
|
this.NodeSet = null;
|
|
@@ -1057,13 +1057,13 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
1057
1057
|
this.ResourceTags = null;
|
|
1058
1058
|
|
|
1059
1059
|
/**
|
|
1060
|
-
* <p>Specify the name of the
|
|
1060
|
+
* <p>Specify the name of the availability zone to which the instance belongs. For details, see <a href="https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1">Regions and Availability Zones</a>.</p>
|
|
1061
1061
|
* @type {string || null}
|
|
1062
1062
|
*/
|
|
1063
1063
|
this.ZoneName = null;
|
|
1064
1064
|
|
|
1065
1065
|
/**
|
|
1066
|
-
* <p>Parameter template ID
|
|
1066
|
+
* <p>Parameter template ID associated with the specified instance.</p><ul><li>If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.</li><li>Query the parameter template list of the instance through the <a href="https://www.tencentcloud.com/document/product/239/58750?from_cn_redirect=1">DescribeParamTemplates</a> API to obtain the template ID number.</li></ul>
|
|
1067
1067
|
* @type {string || null}
|
|
1068
1068
|
*/
|
|
1069
1069
|
this.TemplateId = null;
|
|
@@ -1081,7 +1081,7 @@ class CreateInstancesRequest extends AbstractModel {
|
|
|
1081
1081
|
this.ProductVersion = null;
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
|
-
* <p>Dedicated cluster ID.</p><ul><li>When <strong>ProductVersion</strong> is set to <strong>cdc</strong>, this parameter must be set.</li><li>Get cluster ID through the API <a href="https://www.tencentcloud.com/document/product/239/109628?from_cn_redirect=1">DescribeRedisClusters</a>.</li></ul>
|
|
1084
|
+
* <p>Dedicated cluster ID.</p><ul><li>When <strong>ProductVersion</strong> is set to <strong>cdc</strong>, this parameter must be set.</li><li>Get the cluster ID through the API <a href="https://www.tencentcloud.com/document/product/239/109628?from_cn_redirect=1">DescribeRedisClusters</a>.</li></ul>
|
|
1085
1085
|
* @type {string || null}
|
|
1086
1086
|
*/
|
|
1087
1087
|
this.RedisClusterId = null;
|
|
@@ -1486,7 +1486,7 @@ class ModifyNetworkConfigResponse extends AbstractModel {
|
|
|
1486
1486
|
this.Vip = null;
|
|
1487
1487
|
|
|
1488
1488
|
/**
|
|
1489
|
-
* Task ID. Obtain **taskId** and query the task execution status through the API [DescribeTaskInfo](https://
|
|
1489
|
+
* Task ID. Obtain **taskId** and query the task execution status through the API [DescribeTaskInfo](https://www.tencentcloud.com/document/product/239/30601?from_cn_redirect=1).
|
|
1490
1490
|
* @type {number || null}
|
|
1491
1491
|
*/
|
|
1492
1492
|
this.TaskId = null;
|
|
@@ -2163,7 +2163,7 @@ class RedisNodeInfo extends AbstractModel {
|
|
|
2163
2163
|
this.NodeType = null;
|
|
2164
2164
|
|
|
2165
2165
|
/**
|
|
2166
|
-
* ID of the
|
|
2166
|
+
* ID of the primary or replica node.<ul><li>This parameter does not need to be set for the Create Redis Instance API [CreateInstances](https://www.tencentcloud.com/document/product/239/20026?from_cn_redirect=1), but needs to be set when deleting replicas through the instance configuration change API [UpgradeInstance](https://www.tencentcloud.com/document/product/239/20013?from_cn_redirect=1).</li><li>This parameter can be used to obtain the Integer type node ID through the API [DescribeInstances](https://www.tencentcloud.com/document/product/239/20018?from_cn_redirect=1).</li></ul>
|
|
2167
2167
|
* @type {number || null}
|
|
2168
2168
|
*/
|
|
2169
2169
|
this.NodeId = null;
|
|
@@ -2304,13 +2304,13 @@ class DescribeInstancesResponse extends AbstractModel {
|
|
|
2304
2304
|
super();
|
|
2305
2305
|
|
|
2306
2306
|
/**
|
|
2307
|
-
* Total number of instances
|
|
2307
|
+
* <p>Total number of instances.</p>
|
|
2308
2308
|
* @type {number || null}
|
|
2309
2309
|
*/
|
|
2310
2310
|
this.TotalCount = null;
|
|
2311
2311
|
|
|
2312
2312
|
/**
|
|
2313
|
-
*
|
|
2313
|
+
* <p>Instance detail list.</p>
|
|
2314
2314
|
* @type {Array.<InstanceSet> || null}
|
|
2315
2315
|
*/
|
|
2316
2316
|
this.InstanceSet = null;
|
|
@@ -3488,32 +3488,31 @@ class ModifyAutoBackupConfigRequest extends AbstractModel {
|
|
|
3488
3488
|
super();
|
|
3489
3489
|
|
|
3490
3490
|
/**
|
|
3491
|
-
*
|
|
3492
|
-
|
|
3491
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID in the instance list.</p>
|
|
3493
3492
|
* @type {string || null}
|
|
3494
3493
|
*/
|
|
3495
3494
|
this.InstanceId = null;
|
|
3496
3495
|
|
|
3497
3496
|
/**
|
|
3498
|
-
*
|
|
3497
|
+
* <p>Set the automatic backup cycle. It can be set to Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. This parameter cannot be modified for the moment.</p>
|
|
3499
3498
|
* @type {Array.<string> || null}
|
|
3500
3499
|
*/
|
|
3501
3500
|
this.WeekDays = null;
|
|
3502
3501
|
|
|
3503
3502
|
/**
|
|
3504
|
-
*
|
|
3503
|
+
* <p>Backup time period. It can be set to every full hour. Format: 00:00-01:00, 01:00-02:00...... 23:00-00:00.</p>
|
|
3505
3504
|
* @type {string || null}
|
|
3506
3505
|
*/
|
|
3507
3506
|
this.TimePeriod = null;
|
|
3508
3507
|
|
|
3509
3508
|
/**
|
|
3510
|
-
* Automatic backup type.
|
|
3509
|
+
* <p>Automatic backup type. Currently, it can only be configured as: 1, scheduled backup.</p>
|
|
3511
3510
|
* @type {number || null}
|
|
3512
3511
|
*/
|
|
3513
3512
|
this.AutoBackupType = null;
|
|
3514
3513
|
|
|
3515
3514
|
/**
|
|
3516
|
-
*
|
|
3515
|
+
* <p>Number of days to save full backup files. Only support setting to 7, unit: days. For a longer period, please <a href="https://console.cloud.tencent.com/workorder/category">submit a ticket</a> to apply.</p>
|
|
3517
3516
|
* @type {number || null}
|
|
3518
3517
|
*/
|
|
3519
3518
|
this.BackupStorageDays = null;
|
|
@@ -3545,53 +3544,83 @@ class InstanceMultiParam extends AbstractModel {
|
|
|
3545
3544
|
super();
|
|
3546
3545
|
|
|
3547
3546
|
/**
|
|
3548
|
-
* Parameter name
|
|
3547
|
+
* <p>Parameter name.</p>
|
|
3549
3548
|
* @type {string || null}
|
|
3550
3549
|
*/
|
|
3551
3550
|
this.ParamName = null;
|
|
3552
3551
|
|
|
3553
3552
|
/**
|
|
3554
|
-
* Parameter
|
|
3553
|
+
* <p>Parameter type. For example: multi.</p>
|
|
3555
3554
|
* @type {string || null}
|
|
3556
3555
|
*/
|
|
3557
3556
|
this.ValueType = null;
|
|
3558
3557
|
|
|
3559
3558
|
/**
|
|
3560
|
-
* Whether
|
|
3559
|
+
* <p>Whether restart is required after parameter modification.</p><ul><li>true: required.</li><li>false: not required.</li></ul>
|
|
3561
3560
|
* @type {string || null}
|
|
3562
3561
|
*/
|
|
3563
3562
|
this.NeedRestart = null;
|
|
3564
3563
|
|
|
3565
3564
|
/**
|
|
3566
|
-
* Default value
|
|
3565
|
+
* <p>Default parameter value.</p>
|
|
3567
3566
|
* @type {string || null}
|
|
3568
3567
|
*/
|
|
3569
3568
|
this.DefaultValue = null;
|
|
3570
3569
|
|
|
3571
3570
|
/**
|
|
3572
|
-
* Current value
|
|
3571
|
+
* <p>Current running parameter value.</p>
|
|
3573
3572
|
* @type {string || null}
|
|
3574
3573
|
*/
|
|
3575
3574
|
this.CurrentValue = null;
|
|
3576
3575
|
|
|
3577
3576
|
/**
|
|
3578
|
-
*
|
|
3577
|
+
* <p>Parameter description.</p>
|
|
3579
3578
|
* @type {string || null}
|
|
3580
3579
|
*/
|
|
3581
3580
|
this.Tips = null;
|
|
3582
3581
|
|
|
3583
3582
|
/**
|
|
3584
|
-
* Parameter enumeration value
|
|
3583
|
+
* <p>Parameter enumeration value.</p>
|
|
3585
3584
|
* @type {Array.<string> || null}
|
|
3586
3585
|
*/
|
|
3587
3586
|
this.EnumValue = null;
|
|
3588
3587
|
|
|
3589
3588
|
/**
|
|
3590
|
-
* Parameter modification status
|
|
3589
|
+
* <p>Parameter modification status.</p><ul><li>1: Modifying.</li><li>2: Modified.</li></ul>
|
|
3591
3590
|
* @type {number || null}
|
|
3592
3591
|
*/
|
|
3593
3592
|
this.Status = null;
|
|
3594
3593
|
|
|
3594
|
+
/**
|
|
3595
|
+
* <p>Parameter type</p><p>Enumeration values:</p><ul><li>redis: parameters supported by cache nodes</li><li>redis-interface: parameters supported by proxy</li><li>tendis: parameters supported by tendis</li></ul>
|
|
3596
|
+
* @type {string || null}
|
|
3597
|
+
*/
|
|
3598
|
+
this.ParamType = null;
|
|
3599
|
+
|
|
3600
|
+
/**
|
|
3601
|
+
* <p>Whether the current instance supports this feature</p>
|
|
3602
|
+
* @type {boolean || null}
|
|
3603
|
+
*/
|
|
3604
|
+
this.FeatureSupported = null;
|
|
3605
|
+
|
|
3606
|
+
/**
|
|
3607
|
+
* <p>New feature launch date</p><p>Parameter format: time format YYYY-MM-DD</p>
|
|
3608
|
+
* @type {string || null}
|
|
3609
|
+
*/
|
|
3610
|
+
this.NewFeatureOnlineTime = null;
|
|
3611
|
+
|
|
3612
|
+
/**
|
|
3613
|
+
* <p>Regular expression validation rule</p>
|
|
3614
|
+
* @type {string || null}
|
|
3615
|
+
*/
|
|
3616
|
+
this.Pattern = null;
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* <p>Input format description</p>
|
|
3620
|
+
* @type {string || null}
|
|
3621
|
+
*/
|
|
3622
|
+
this.InputDescription = null;
|
|
3623
|
+
|
|
3595
3624
|
}
|
|
3596
3625
|
|
|
3597
3626
|
/**
|
|
@@ -3609,6 +3638,11 @@ class InstanceMultiParam extends AbstractModel {
|
|
|
3609
3638
|
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
3610
3639
|
this.EnumValue = 'EnumValue' in params ? params.EnumValue : null;
|
|
3611
3640
|
this.Status = 'Status' in params ? params.Status : null;
|
|
3641
|
+
this.ParamType = 'ParamType' in params ? params.ParamType : null;
|
|
3642
|
+
this.FeatureSupported = 'FeatureSupported' in params ? params.FeatureSupported : null;
|
|
3643
|
+
this.NewFeatureOnlineTime = 'NewFeatureOnlineTime' in params ? params.NewFeatureOnlineTime : null;
|
|
3644
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
3645
|
+
this.InputDescription = 'InputDescription' in params ? params.InputDescription : null;
|
|
3612
3646
|
|
|
3613
3647
|
}
|
|
3614
3648
|
}
|
|
@@ -3622,7 +3656,7 @@ class DescribeInstanceDealDetailRequest extends AbstractModel {
|
|
|
3622
3656
|
super();
|
|
3623
3657
|
|
|
3624
3658
|
/**
|
|
3625
|
-
* Order
|
|
3659
|
+
* Order ID, which is the output parameter DealId of [CreateInstances](https://www.tencentcloud.com/document/api/239/20026?from_cn_redirect=1), with the maximum array length of 10.
|
|
3626
3660
|
* @type {Array.<string> || null}
|
|
3627
3661
|
*/
|
|
3628
3662
|
this.DealIds = null;
|
|
@@ -3757,7 +3791,7 @@ class DescribeProjectSecurityGroupRequest extends AbstractModel {
|
|
|
3757
3791
|
this.ProjectId = null;
|
|
3758
3792
|
|
|
3759
3793
|
/**
|
|
3760
|
-
* Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://
|
|
3794
|
+
* Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://www.tencentcloud.com/document/product/239/34447?from_cn_redirect=1).
|
|
3761
3795
|
* @type {string || null}
|
|
3762
3796
|
*/
|
|
3763
3797
|
this.SecurityGroupId = null;
|
|
@@ -4746,7 +4780,7 @@ class ChangeReplicaToMasterRequest extends AbstractModel {
|
|
|
4746
4780
|
this.InstanceId = null;
|
|
4747
4781
|
|
|
4748
4782
|
/**
|
|
4749
|
-
* <p>Replica node group ID. Use the interface <a href="https://www.tencentcloud.com/document/product/239/50312?from_cn_redirect=1">DescribeInstanceZoneInfo</a> to obtain the
|
|
4783
|
+
* <p>Replica node group ID. Use the interface <a href="https://www.tencentcloud.com/document/product/239/50312?from_cn_redirect=1">DescribeInstanceZoneInfo</a> to obtain the ID information of the multi-AZ replica node group. For single AZ, no need to configure this parameter.</p>
|
|
4750
4784
|
* @type {number || null}
|
|
4751
4785
|
*/
|
|
4752
4786
|
this.GroupId = null;
|
|
@@ -5436,6 +5470,18 @@ class ModifyInstanceAccountRequest extends AbstractModel {
|
|
|
5436
5470
|
*/
|
|
5437
5471
|
this.EncryptPassword = null;
|
|
5438
5472
|
|
|
5473
|
+
/**
|
|
5474
|
+
* <p>Disabled command configuration at the account level.</p><ul><li>Default value: [] (empty array, meaning no commands are disabled)</li><li>Input parameter limitation: Only the following specified database commands can be configured (multiple selections are supported)<br>flushall, flushdb, keys, hgetall, eval, evalsha, script, scan, psetex, set, hmset, hset, lpush, rpush, sadd, zadd, del, mget, mset, bitop, exists, msetnx, blpop, brpop, rpoplpush, brpoplpush, smove, sunion, sinter, sdiff, sunionstore, sinterstore, sdiffstore, zunionstore, zinterstore, pfmerge, pfcount, pfadd.</li></ul><p>Default value: ""</p>
|
|
5475
|
+
* @type {Array.<string> || null}
|
|
5476
|
+
*/
|
|
5477
|
+
this.DisableCommands = null;
|
|
5478
|
+
|
|
5479
|
+
/**
|
|
5480
|
+
* <p>Whether to modify the command disablement configuration at the account level. Pass in only when the command list needs to be updated.</p><ul><li>true: Modify (an overwrite update will be performed based on the new command list passed in).</li><li>false: Do not modify (default value).</li></ul>
|
|
5481
|
+
* @type {boolean || null}
|
|
5482
|
+
*/
|
|
5483
|
+
this.ModifyDisableCommands = null;
|
|
5484
|
+
|
|
5439
5485
|
}
|
|
5440
5486
|
|
|
5441
5487
|
/**
|
|
@@ -5453,6 +5499,8 @@ class ModifyInstanceAccountRequest extends AbstractModel {
|
|
|
5453
5499
|
this.Privilege = 'Privilege' in params ? params.Privilege : null;
|
|
5454
5500
|
this.NoAuth = 'NoAuth' in params ? params.NoAuth : null;
|
|
5455
5501
|
this.EncryptPassword = 'EncryptPassword' in params ? params.EncryptPassword : null;
|
|
5502
|
+
this.DisableCommands = 'DisableCommands' in params ? params.DisableCommands : null;
|
|
5503
|
+
this.ModifyDisableCommands = 'ModifyDisableCommands' in params ? params.ModifyDisableCommands : null;
|
|
5456
5504
|
|
|
5457
5505
|
}
|
|
5458
5506
|
}
|
|
@@ -5544,7 +5592,7 @@ class DescribeParamTemplateInfoRequest extends AbstractModel {
|
|
|
5544
5592
|
super();
|
|
5545
5593
|
|
|
5546
5594
|
/**
|
|
5547
|
-
*
|
|
5595
|
+
* Parameter template ID specified for query. Get the parameter template list through the API [DescribeParamTemplates](https://www.tencentcloud.com/document/product/239/58750?from_cn_redirect=1).
|
|
5548
5596
|
* @type {string || null}
|
|
5549
5597
|
*/
|
|
5550
5598
|
this.TemplateId = null;
|
|
@@ -6288,7 +6336,7 @@ class DescribeBackupDetailRequest extends AbstractModel {
|
|
|
6288
6336
|
this.InstanceId = null;
|
|
6289
6337
|
|
|
6290
6338
|
/**
|
|
6291
|
-
* <p>Backup ID, which can be obtained through the
|
|
6339
|
+
* <p>Backup ID, which can be obtained through the <strong>RedisBackupSet</strong> parameter in the API response of <a href="https://www.tencentcloud.com/document/product/239/20011?from_cn_redirect=1">DescribeInstanceBackups</a>.</p>
|
|
6292
6340
|
* @type {string || null}
|
|
6293
6341
|
*/
|
|
6294
6342
|
this.BackupId = null;
|
|
@@ -6445,65 +6493,95 @@ class InstanceIntegerParam extends AbstractModel {
|
|
|
6445
6493
|
super();
|
|
6446
6494
|
|
|
6447
6495
|
/**
|
|
6448
|
-
* Parameter name
|
|
6496
|
+
* <p>Parameter name</p>
|
|
6449
6497
|
* @type {string || null}
|
|
6450
6498
|
*/
|
|
6451
6499
|
this.ParamName = null;
|
|
6452
6500
|
|
|
6453
6501
|
/**
|
|
6454
|
-
* Parameter type:
|
|
6502
|
+
* <p>Parameter type: integer</p>
|
|
6455
6503
|
* @type {string || null}
|
|
6456
6504
|
*/
|
|
6457
6505
|
this.ValueType = null;
|
|
6458
6506
|
|
|
6459
6507
|
/**
|
|
6460
|
-
* Whether restart is required after
|
|
6508
|
+
* <p>Whether restart is required after modification: true, false</p>
|
|
6461
6509
|
* @type {string || null}
|
|
6462
6510
|
*/
|
|
6463
6511
|
this.NeedRestart = null;
|
|
6464
6512
|
|
|
6465
6513
|
/**
|
|
6466
|
-
* Default value
|
|
6514
|
+
* <p>Default parameter value</p>
|
|
6467
6515
|
* @type {string || null}
|
|
6468
6516
|
*/
|
|
6469
6517
|
this.DefaultValue = null;
|
|
6470
6518
|
|
|
6471
6519
|
/**
|
|
6472
|
-
* Current value
|
|
6520
|
+
* <p>Current running parameter value</p>
|
|
6473
6521
|
* @type {string || null}
|
|
6474
6522
|
*/
|
|
6475
6523
|
this.CurrentValue = null;
|
|
6476
6524
|
|
|
6477
6525
|
/**
|
|
6478
|
-
* Parameter description
|
|
6526
|
+
* <p>Parameter description</p>
|
|
6479
6527
|
* @type {string || null}
|
|
6480
6528
|
*/
|
|
6481
6529
|
this.Tips = null;
|
|
6482
6530
|
|
|
6483
6531
|
/**
|
|
6484
|
-
* Minimum value
|
|
6532
|
+
* <p>Minimum parameter value</p>
|
|
6485
6533
|
* @type {string || null}
|
|
6486
6534
|
*/
|
|
6487
6535
|
this.Min = null;
|
|
6488
6536
|
|
|
6489
6537
|
/**
|
|
6490
|
-
* Maximum value
|
|
6538
|
+
* <p>Maximum parameter value</p>
|
|
6491
6539
|
* @type {string || null}
|
|
6492
6540
|
*/
|
|
6493
6541
|
this.Max = null;
|
|
6494
6542
|
|
|
6495
6543
|
/**
|
|
6496
|
-
* Parameter status. 1: modifying
|
|
6544
|
+
* <p>Parameter status. 1: modifying, 2: modified</p>
|
|
6497
6545
|
* @type {number || null}
|
|
6498
6546
|
*/
|
|
6499
6547
|
this.Status = null;
|
|
6500
6548
|
|
|
6501
6549
|
/**
|
|
6502
|
-
* Parameter unit
|
|
6550
|
+
* <p>Parameter unit</p>
|
|
6503
6551
|
* @type {string || null}
|
|
6504
6552
|
*/
|
|
6505
6553
|
this.Unit = null;
|
|
6506
6554
|
|
|
6555
|
+
/**
|
|
6556
|
+
* <p>Parameter type</p><p>Enumeration values:</p><ul><li>redis: parameters supported by cache nodes</li><li>redis-interface: parameters supported by proxy</li><li>tendis: parameters supported by tendis</li></ul>
|
|
6557
|
+
* @type {string || null}
|
|
6558
|
+
*/
|
|
6559
|
+
this.ParamType = null;
|
|
6560
|
+
|
|
6561
|
+
/**
|
|
6562
|
+
* <p>Whether the current instance supports this feature</p>
|
|
6563
|
+
* @type {boolean || null}
|
|
6564
|
+
*/
|
|
6565
|
+
this.FeatureSupported = null;
|
|
6566
|
+
|
|
6567
|
+
/**
|
|
6568
|
+
* <p>New feature launch date</p><p>Parameter format: time format YYYY-MM-DD</p>
|
|
6569
|
+
* @type {string || null}
|
|
6570
|
+
*/
|
|
6571
|
+
this.NewFeatureOnlineTime = null;
|
|
6572
|
+
|
|
6573
|
+
/**
|
|
6574
|
+
* <p>Regular expression validation rule</p>
|
|
6575
|
+
* @type {string || null}
|
|
6576
|
+
*/
|
|
6577
|
+
this.Pattern = null;
|
|
6578
|
+
|
|
6579
|
+
/**
|
|
6580
|
+
* <p>Input format description</p>
|
|
6581
|
+
* @type {string || null}
|
|
6582
|
+
*/
|
|
6583
|
+
this.InputDescription = null;
|
|
6584
|
+
|
|
6507
6585
|
}
|
|
6508
6586
|
|
|
6509
6587
|
/**
|
|
@@ -6523,6 +6601,11 @@ class InstanceIntegerParam extends AbstractModel {
|
|
|
6523
6601
|
this.Max = 'Max' in params ? params.Max : null;
|
|
6524
6602
|
this.Status = 'Status' in params ? params.Status : null;
|
|
6525
6603
|
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
6604
|
+
this.ParamType = 'ParamType' in params ? params.ParamType : null;
|
|
6605
|
+
this.FeatureSupported = 'FeatureSupported' in params ? params.FeatureSupported : null;
|
|
6606
|
+
this.NewFeatureOnlineTime = 'NewFeatureOnlineTime' in params ? params.NewFeatureOnlineTime : null;
|
|
6607
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
6608
|
+
this.InputDescription = 'InputDescription' in params ? params.InputDescription : null;
|
|
6526
6609
|
|
|
6527
6610
|
}
|
|
6528
6611
|
}
|
|
@@ -6808,8 +6891,7 @@ class KillMasterGroupRequest extends AbstractModel {
|
|
|
6808
6891
|
this.Password = null;
|
|
6809
6892
|
|
|
6810
6893
|
/**
|
|
6811
|
-
*
|
|
6812
|
-
**Redis** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
|
|
6894
|
+
* Shard ID. Obtain it from the **ClusterId** field in the **Redis** response parameter through the [DescribeInstanceNodeInfo](https://www.tencentcloud.com/document/product/239/48603?from_cn_redirect=1) API.
|
|
6813
6895
|
* @type {Array.<number> || null}
|
|
6814
6896
|
*/
|
|
6815
6897
|
this.ShardIds = null;
|
|
@@ -7245,53 +7327,83 @@ class InstanceTextParam extends AbstractModel {
|
|
|
7245
7327
|
super();
|
|
7246
7328
|
|
|
7247
7329
|
/**
|
|
7248
|
-
* Parameter name
|
|
7330
|
+
* <p>Parameter name.</p>
|
|
7249
7331
|
* @type {string || null}
|
|
7250
7332
|
*/
|
|
7251
7333
|
this.ParamName = null;
|
|
7252
7334
|
|
|
7253
7335
|
/**
|
|
7254
|
-
* Parameter type
|
|
7336
|
+
* <p>Parameter type. For example: text.</p>
|
|
7255
7337
|
* @type {string || null}
|
|
7256
7338
|
*/
|
|
7257
7339
|
this.ValueType = null;
|
|
7258
7340
|
|
|
7259
7341
|
/**
|
|
7260
|
-
* Whether
|
|
7342
|
+
* <p>Whether restart is required after parameter modification.</p><ul><li>true: required.</li><li>false: not required.</li></ul>
|
|
7261
7343
|
* @type {string || null}
|
|
7262
7344
|
*/
|
|
7263
7345
|
this.NeedRestart = null;
|
|
7264
7346
|
|
|
7265
7347
|
/**
|
|
7266
|
-
* Default value
|
|
7348
|
+
* <p>Default parameter value.</p>
|
|
7267
7349
|
* @type {string || null}
|
|
7268
7350
|
*/
|
|
7269
7351
|
this.DefaultValue = null;
|
|
7270
7352
|
|
|
7271
7353
|
/**
|
|
7272
|
-
* Current value
|
|
7354
|
+
* <p>Current value of the parameter.</p>
|
|
7273
7355
|
* @type {string || null}
|
|
7274
7356
|
*/
|
|
7275
7357
|
this.CurrentValue = null;
|
|
7276
7358
|
|
|
7277
7359
|
/**
|
|
7278
|
-
*
|
|
7360
|
+
* <p>Parameter description.</p>
|
|
7279
7361
|
* @type {string || null}
|
|
7280
7362
|
*/
|
|
7281
7363
|
this.Tips = null;
|
|
7282
7364
|
|
|
7283
7365
|
/**
|
|
7284
|
-
*
|
|
7366
|
+
* <p>Available values of the parameter.</p>
|
|
7285
7367
|
* @type {Array.<string> || null}
|
|
7286
7368
|
*/
|
|
7287
7369
|
this.TextValue = null;
|
|
7288
7370
|
|
|
7289
7371
|
/**
|
|
7290
|
-
* Parameter modification status
|
|
7372
|
+
* <p>Parameter modification status.</p><ul><li>1: Modifying.</li><li>2: Modified.</li></ul>
|
|
7291
7373
|
* @type {number || null}
|
|
7292
7374
|
*/
|
|
7293
7375
|
this.Status = null;
|
|
7294
7376
|
|
|
7377
|
+
/**
|
|
7378
|
+
* <p>Parameter type</p><p>Enumeration values:</p><ul><li>redis: parameters supported by cache nodes</li><li>redis-interface: parameters supported by proxy</li><li>tendis: parameters supported by tendis</li></ul>
|
|
7379
|
+
* @type {string || null}
|
|
7380
|
+
*/
|
|
7381
|
+
this.ParamType = null;
|
|
7382
|
+
|
|
7383
|
+
/**
|
|
7384
|
+
* <p>Whether the current instance supports this feature</p>
|
|
7385
|
+
* @type {boolean || null}
|
|
7386
|
+
*/
|
|
7387
|
+
this.FeatureSupported = null;
|
|
7388
|
+
|
|
7389
|
+
/**
|
|
7390
|
+
* <p>New feature launch date</p><p>Parameter format: time format YYYY-MM-DD</p>
|
|
7391
|
+
* @type {string || null}
|
|
7392
|
+
*/
|
|
7393
|
+
this.NewFeatureOnlineTime = null;
|
|
7394
|
+
|
|
7395
|
+
/**
|
|
7396
|
+
* <p>Regular expression validation rule</p>
|
|
7397
|
+
* @type {string || null}
|
|
7398
|
+
*/
|
|
7399
|
+
this.Pattern = null;
|
|
7400
|
+
|
|
7401
|
+
/**
|
|
7402
|
+
* <p>Input format description</p>
|
|
7403
|
+
* @type {string || null}
|
|
7404
|
+
*/
|
|
7405
|
+
this.InputDescription = null;
|
|
7406
|
+
|
|
7295
7407
|
}
|
|
7296
7408
|
|
|
7297
7409
|
/**
|
|
@@ -7309,6 +7421,11 @@ class InstanceTextParam extends AbstractModel {
|
|
|
7309
7421
|
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
7310
7422
|
this.TextValue = 'TextValue' in params ? params.TextValue : null;
|
|
7311
7423
|
this.Status = 'Status' in params ? params.Status : null;
|
|
7424
|
+
this.ParamType = 'ParamType' in params ? params.ParamType : null;
|
|
7425
|
+
this.FeatureSupported = 'FeatureSupported' in params ? params.FeatureSupported : null;
|
|
7426
|
+
this.NewFeatureOnlineTime = 'NewFeatureOnlineTime' in params ? params.NewFeatureOnlineTime : null;
|
|
7427
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
7428
|
+
this.InputDescription = 'InputDescription' in params ? params.InputDescription : null;
|
|
7312
7429
|
|
|
7313
7430
|
}
|
|
7314
7431
|
}
|
|
@@ -7918,7 +8035,7 @@ class DescribeTaskInfoRequest extends AbstractModel {
|
|
|
7918
8035
|
super();
|
|
7919
8036
|
|
|
7920
8037
|
/**
|
|
7921
|
-
* Task ID, which can be obtained through the sub-parameter **TaskId** of the response parameter **Tasks** of the API [DescribeTaskList](https://
|
|
8038
|
+
* Task ID, which can be obtained through the sub-parameter **TaskId** of the response parameter **Tasks** of the API [DescribeTaskList](https://www.tencentcloud.com/document/product/239/39374?from_cn_redirect=1).
|
|
7922
8039
|
* @type {number || null}
|
|
7923
8040
|
*/
|
|
7924
8041
|
this.TaskId = null;
|
|
@@ -7958,7 +8075,7 @@ class CloneInstancesRequest extends AbstractModel {
|
|
|
7958
8075
|
this.GoodsNum = null;
|
|
7959
8076
|
|
|
7960
8077
|
/**
|
|
7961
|
-
* <p>Availability zone ID of the
|
|
8078
|
+
* <p>Availability zone ID of the clone instance. For supported availability zone IDs, see <a href="https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1">Regions and Availability Zones</a>.</p>
|
|
7962
8079
|
* @type {number || null}
|
|
7963
8080
|
*/
|
|
7964
8081
|
this.ZoneId = null;
|
|
@@ -7982,7 +8099,7 @@ class CloneInstancesRequest extends AbstractModel {
|
|
|
7982
8099
|
this.SecurityGroupIdList = null;
|
|
7983
8100
|
|
|
7984
8101
|
/**
|
|
7985
|
-
* <p>Backup ID used
|
|
8102
|
+
* <p>Backup ID used for cloning an instance. Obtain the backup ID through the API <a href="https://www.tencentcloud.com/document/product/239/20011?from_cn_redirect=1">DescribeInstanceBackups</a>.</p>
|
|
7986
8103
|
* @type {string || null}
|
|
7987
8104
|
*/
|
|
7988
8105
|
this.BackupId = null;
|
|
@@ -8030,7 +8147,7 @@ class CloneInstancesRequest extends AbstractModel {
|
|
|
8030
8147
|
this.VPort = null;
|
|
8031
8148
|
|
|
8032
8149
|
/**
|
|
8033
|
-
* <p>Node information of instance.<ul><li>Currently
|
|
8150
|
+
* <p>Node information of the instance.<ul><li>Currently, you can configure the node type (primary node or replica node) and its availability zone info. For details, see <a href="https://www.tencentcloud.com/document/product/239/20022?from_cn_redirect=1#RedisNodeInfo">RedisNodeInfo</a>.</li><li>This parameter can be left blank for single-AZ deployment.</li></ul></p>
|
|
8034
8151
|
* @type {Array.<RedisNodeInfo> || null}
|
|
8035
8152
|
*/
|
|
8036
8153
|
this.NodeSet = null;
|
|
@@ -8048,7 +8165,7 @@ class CloneInstancesRequest extends AbstractModel {
|
|
|
8048
8165
|
this.ResourceTags = null;
|
|
8049
8166
|
|
|
8050
8167
|
/**
|
|
8051
|
-
* <p>Specify the parameter template ID
|
|
8168
|
+
* <p>Specify the parameter template ID for cloning an instance.</p><ul><li>If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.</li><li>Query the parameter template list of the instance through the <a href="https://www.tencentcloud.com/document/product/239/58750?from_cn_redirect=1">DescribeParamTemplates</a> API to obtain the template ID number.</li></ul>
|
|
8052
8169
|
* @type {string || null}
|
|
8053
8170
|
*/
|
|
8054
8171
|
this.TemplateId = null;
|
|
@@ -8441,6 +8558,48 @@ class DescribeInstanceMonitorTopNCmdRequest extends AbstractModel {
|
|
|
8441
8558
|
}
|
|
8442
8559
|
}
|
|
8443
8560
|
|
|
8561
|
+
/**
|
|
8562
|
+
* ModifyValkeyModule request structure.
|
|
8563
|
+
* @class
|
|
8564
|
+
*/
|
|
8565
|
+
class ModifyValkeyModuleRequest extends AbstractModel {
|
|
8566
|
+
constructor(){
|
|
8567
|
+
super();
|
|
8568
|
+
|
|
8569
|
+
/**
|
|
8570
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
8571
|
+
* @type {string || null}
|
|
8572
|
+
*/
|
|
8573
|
+
this.InstanceId = null;
|
|
8574
|
+
|
|
8575
|
+
/**
|
|
8576
|
+
* <p>Specify the extension module to be modified.</p><p>Enumeration values:</p><ul><li>ValkeyBloom: Refers to the Bloom module, which can efficiently judge whether an element exists in a collection.</li><li>ValkeyJSON: Refers to the JSON module, which allows Redis to natively support the JSON data format, facilitating the storage and manipulation of JSON Objects.</li><li>ValkeySearch: Refers to the Search module, which provides a full-text search feature, enabling efficient search operations on data stored in Redis.</li></ul>
|
|
8577
|
+
* @type {string || null}
|
|
8578
|
+
*/
|
|
8579
|
+
this.Name = null;
|
|
8580
|
+
|
|
8581
|
+
/**
|
|
8582
|
+
* <p>Set the enable status of the extension module. Only support setting to ON to enable the extension module.</p>
|
|
8583
|
+
* @type {string || null}
|
|
8584
|
+
*/
|
|
8585
|
+
this.Status = null;
|
|
8586
|
+
|
|
8587
|
+
}
|
|
8588
|
+
|
|
8589
|
+
/**
|
|
8590
|
+
* @private
|
|
8591
|
+
*/
|
|
8592
|
+
deserialize(params) {
|
|
8593
|
+
if (!params) {
|
|
8594
|
+
return;
|
|
8595
|
+
}
|
|
8596
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
8597
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
8598
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
8599
|
+
|
|
8600
|
+
}
|
|
8601
|
+
}
|
|
8602
|
+
|
|
8444
8603
|
/**
|
|
8445
8604
|
* CreateExportTask request structure.
|
|
8446
8605
|
* @class
|
|
@@ -8809,11 +8968,10 @@ class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel {
|
|
|
8809
8968
|
this.Product = null;
|
|
8810
8969
|
|
|
8811
8970
|
/**
|
|
8812
|
-
*
|
|
8813
|
-
- To configure a security group for an instance for the first time,
|
|
8971
|
+
* Security group ID list. Replace it with a new one, which is an array of one or more security group IDs.
|
|
8972
|
+
- To configure a security group for an instance for the first time, bind the security group through the API [AssociateSecurityGroups](https://www.tencentcloud.com/document/product/239/41260?from_cn_redirect=1) first.
|
|
8814
8973
|
- To replace the security group, obtain the security group ID on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
|
|
8815
|
-
|
|
8816
|
-
**Note:** This input parameter performs a full replacement on all existing collections but not an incremental update. To modify it, import the expected full collections.
|
|
8974
|
+
**Note:** This input parameter performs a full replacement on all existing collections but not an incremental update. To modify it, import the expected full collections.
|
|
8817
8975
|
* @type {Array.<string> || null}
|
|
8818
8976
|
*/
|
|
8819
8977
|
this.SecurityGroupIds = null;
|
|
@@ -9013,31 +9171,31 @@ class DescribeAutoBackupConfigResponse extends AbstractModel {
|
|
|
9013
9171
|
super();
|
|
9014
9172
|
|
|
9015
9173
|
/**
|
|
9016
|
-
* This parameter is
|
|
9174
|
+
* <p>This parameter is temporarily reserved due to compatibility issues. Ignore it.</p>
|
|
9017
9175
|
* @type {number || null}
|
|
9018
9176
|
*/
|
|
9019
9177
|
this.AutoBackupType = null;
|
|
9020
9178
|
|
|
9021
9179
|
/**
|
|
9022
|
-
* Backup cycle
|
|
9180
|
+
* <p>Backup cycle. Automatic backup is performed every day by default: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.</p>
|
|
9023
9181
|
* @type {Array.<string> || null}
|
|
9024
9182
|
*/
|
|
9025
9183
|
this.WeekDays = null;
|
|
9026
9184
|
|
|
9027
9185
|
/**
|
|
9028
|
-
*
|
|
9186
|
+
* <p>Backup task initiation time range.</p>
|
|
9029
9187
|
* @type {string || null}
|
|
9030
9188
|
*/
|
|
9031
9189
|
this.TimePeriod = null;
|
|
9032
9190
|
|
|
9033
9191
|
/**
|
|
9034
|
-
*
|
|
9192
|
+
* <p>Number of days to save full backup files. Default value: 7 days. To save for more days, please <a href="https://console.cloud.tencent.com/workorder/category">submit a ticket</a> to apply.</p>
|
|
9035
9193
|
* @type {number || null}
|
|
9036
9194
|
*/
|
|
9037
9195
|
this.BackupStorageDays = null;
|
|
9038
9196
|
|
|
9039
9197
|
/**
|
|
9040
|
-
* This parameter
|
|
9198
|
+
* <p>This parameter is no longer in use. Ignore it.</p>
|
|
9041
9199
|
* @type {number || null}
|
|
9042
9200
|
*/
|
|
9043
9201
|
this.BinlogStorageDays = null;
|
|
@@ -9355,6 +9513,12 @@ class LogResult extends AbstractModel {
|
|
|
9355
9513
|
*/
|
|
9356
9514
|
this.ErrMsg = null;
|
|
9357
9515
|
|
|
9516
|
+
/**
|
|
9517
|
+
* <p>Node ID of the proxy</p>
|
|
9518
|
+
* @type {string || null}
|
|
9519
|
+
*/
|
|
9520
|
+
this.Node = null;
|
|
9521
|
+
|
|
9358
9522
|
}
|
|
9359
9523
|
|
|
9360
9524
|
/**
|
|
@@ -9373,6 +9537,7 @@ class LogResult extends AbstractModel {
|
|
|
9373
9537
|
this.CacheCode = 'CacheCode' in params ? params.CacheCode : null;
|
|
9374
9538
|
this.CommandDetail = 'CommandDetail' in params ? params.CommandDetail : null;
|
|
9375
9539
|
this.ErrMsg = 'ErrMsg' in params ? params.ErrMsg : null;
|
|
9540
|
+
this.Node = 'Node' in params ? params.Node : null;
|
|
9376
9541
|
|
|
9377
9542
|
}
|
|
9378
9543
|
}
|
|
@@ -10680,6 +10845,41 @@ class ModifyReplicationGroupRequest extends AbstractModel {
|
|
|
10680
10845
|
}
|
|
10681
10846
|
}
|
|
10682
10847
|
|
|
10848
|
+
/**
|
|
10849
|
+
* UpdateSSLCert response structure.
|
|
10850
|
+
* @class
|
|
10851
|
+
*/
|
|
10852
|
+
class UpdateSSLCertResponse extends AbstractModel {
|
|
10853
|
+
constructor(){
|
|
10854
|
+
super();
|
|
10855
|
+
|
|
10856
|
+
/**
|
|
10857
|
+
* <p>Task ID.</p>
|
|
10858
|
+
* @type {number || null}
|
|
10859
|
+
*/
|
|
10860
|
+
this.TaskId = null;
|
|
10861
|
+
|
|
10862
|
+
/**
|
|
10863
|
+
* 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.
|
|
10864
|
+
* @type {string || null}
|
|
10865
|
+
*/
|
|
10866
|
+
this.RequestId = null;
|
|
10867
|
+
|
|
10868
|
+
}
|
|
10869
|
+
|
|
10870
|
+
/**
|
|
10871
|
+
* @private
|
|
10872
|
+
*/
|
|
10873
|
+
deserialize(params) {
|
|
10874
|
+
if (!params) {
|
|
10875
|
+
return;
|
|
10876
|
+
}
|
|
10877
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
10878
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10879
|
+
|
|
10880
|
+
}
|
|
10881
|
+
}
|
|
10882
|
+
|
|
10683
10883
|
/**
|
|
10684
10884
|
* Replication group info
|
|
10685
10885
|
* @class
|
|
@@ -10794,198 +10994,163 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
10794
10994
|
super();
|
|
10795
10995
|
|
|
10796
10996
|
/**
|
|
10797
|
-
* Number of instances
|
|
10997
|
+
* <p>Number of instances output per page. Default parameter value: 20. Maximum value: 1000.</p>
|
|
10798
10998
|
* @type {number || null}
|
|
10799
10999
|
*/
|
|
10800
11000
|
this.Limit = null;
|
|
10801
11001
|
|
|
10802
11002
|
/**
|
|
10803
|
-
* Pagination offset, which is an
|
|
11003
|
+
* <p>Pagination offset, which is an integer multiple of Limit. Calculation formula: offset=limit*(page number-1).</p>
|
|
10804
11004
|
* @type {number || null}
|
|
10805
11005
|
*/
|
|
10806
11006
|
this.Offset = null;
|
|
10807
11007
|
|
|
10808
11008
|
/**
|
|
10809
|
-
*
|
|
10810
|
-
|
|
10811
|
-
|
|
11009
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
10812
11010
|
* @type {string || null}
|
|
10813
11011
|
*/
|
|
10814
11012
|
this.InstanceId = null;
|
|
10815
11013
|
|
|
10816
11014
|
/**
|
|
10817
|
-
*
|
|
10818
|
-
- projectId: By project ID.- createtime: By the creation time of instances.- instancename: By the name of instances.- type: By the type of instances.- curDeadline: By the expiration time of instances.
|
|
11015
|
+
* <p>Instance list sorting criteria. Enumeration values are as follows:</p><ul><li>projectId: by project ID.</li><li>createtime: sort by instance creation time.</li><li>instancename: by instance name sorting.</li><li>type: by instance type.</li><li>curDeadline: by instance expiration time.</li></ul>
|
|
10819
11016
|
* @type {string || null}
|
|
10820
11017
|
*/
|
|
10821
11018
|
this.OrderBy = null;
|
|
10822
11019
|
|
|
10823
11020
|
/**
|
|
10824
|
-
*
|
|
10825
|
-
- 1: Descending order.
|
|
10826
|
-
- 0: Ascending order.
|
|
11021
|
+
* <p>Instance sorting order, with a default value of reverse sorting.</p><ul><li>1: Reverse order.</li><li>0: Sequential order.</li></ul>
|
|
10827
11022
|
* @type {number || null}
|
|
10828
11023
|
*/
|
|
10829
11024
|
this.OrderType = null;
|
|
10830
11025
|
|
|
10831
11026
|
/**
|
|
10832
|
-
*
|
|
11027
|
+
* <p>VPC ID array. If this parameter is not configured or the array is empty, the basic network is selected by default. For example: 47525. This parameter is temporarily reserved and can be ignored. Set the VPC ID array according to the format of the UniqVpcIds parameter.</p>
|
|
10833
11028
|
* @type {Array.<string> || null}
|
|
10834
11029
|
*/
|
|
10835
11030
|
this.VpcIds = null;
|
|
10836
11031
|
|
|
10837
11032
|
/**
|
|
10838
|
-
* Array of
|
|
11033
|
+
* <p>Array of subnet IDs belonging to the private network, for example: 56854. This parameter is temporarily reserved and can be ignored. Set the private network subnet ID array according to the format of the UniqSubnetIds parameter.</p>
|
|
10839
11034
|
* @type {Array.<string> || null}
|
|
10840
11035
|
*/
|
|
10841
11036
|
this.SubnetIds = null;
|
|
10842
11037
|
|
|
10843
11038
|
/**
|
|
10844
|
-
*
|
|
11039
|
+
* <p>Set the key field for fuzzy query. Only instance names support fuzzy query.</p>
|
|
10845
11040
|
* @type {string || null}
|
|
10846
11041
|
*/
|
|
10847
11042
|
this.SearchKey = null;
|
|
10848
11043
|
|
|
10849
11044
|
/**
|
|
10850
|
-
* Array of project IDs
|
|
11045
|
+
* <p>Array of project IDs.</p>
|
|
10851
11046
|
* @type {Array.<number> || null}
|
|
10852
11047
|
*/
|
|
10853
11048
|
this.ProjectIds = null;
|
|
10854
11049
|
|
|
10855
11050
|
/**
|
|
10856
|
-
* Instance name
|
|
11051
|
+
* <p>Instance name.</p>
|
|
10857
11052
|
* @type {string || null}
|
|
10858
11053
|
*/
|
|
10859
11054
|
this.InstanceName = null;
|
|
10860
11055
|
|
|
10861
11056
|
/**
|
|
10862
|
-
*
|
|
11057
|
+
* <p>VPC ID array. If this parameter is not configured or the array is empty, the basic network is selected by default, for example: vpc-sad23jfdfk.</p>
|
|
10863
11058
|
* @type {Array.<string> || null}
|
|
10864
11059
|
*/
|
|
10865
11060
|
this.UniqVpcIds = null;
|
|
10866
11061
|
|
|
10867
11062
|
/**
|
|
10868
|
-
*
|
|
11063
|
+
* <p>Subnet ID array belonging to the private network, for example: subnet-fdj24n34j2.</p>
|
|
10869
11064
|
* @type {Array.<string> || null}
|
|
10870
11065
|
*/
|
|
10871
11066
|
this.UniqSubnetIds = null;
|
|
10872
11067
|
|
|
10873
11068
|
/**
|
|
10874
|
-
*
|
|
11069
|
+
* <p>Region ID array. This parameter has been deprecated. Use the common parameter Region to query the corresponding region.</p>
|
|
10875
11070
|
* @type {Array.<number> || null}
|
|
10876
11071
|
*/
|
|
10877
11072
|
this.RegionIds = null;
|
|
10878
11073
|
|
|
10879
11074
|
/**
|
|
10880
|
-
* Instance status
|
|
10881
|
-
- 0: To be initialized.
|
|
10882
|
-
- 1: In process.
|
|
10883
|
-
- 2: Running.
|
|
10884
|
-
- -2: Isolated.
|
|
10885
|
-
- -3: Pending Delete.
|
|
11075
|
+
* <p>Instance status.</p><ul><li>0: pending initialization.</li><li>1: in process.</li><li>2: running.</li><li>-2: isolated.</li><li>-3: pending deletion.</li></ul>
|
|
10886
11076
|
* @type {Array.<number> || null}
|
|
10887
11077
|
*/
|
|
10888
11078
|
this.Status = null;
|
|
10889
11079
|
|
|
10890
11080
|
/**
|
|
10891
|
-
* Instance architecture version
|
|
10892
|
-
- 1: Single-node edition.
|
|
10893
|
-
- 2: Master-replica edition.- 3: Cluster edition.
|
|
11081
|
+
* <p>Instance architecture version.</p><ul><li>1: standalone edition.</li><li>2: primary/secondary edition.</li><li>3: cluster version.</li></ul>
|
|
10894
11082
|
* @type {number || null}
|
|
10895
11083
|
*/
|
|
10896
11084
|
this.TypeVersion = null;
|
|
10897
11085
|
|
|
10898
11086
|
/**
|
|
10899
|
-
* Storage engine
|
|
11087
|
+
* <p>Storage engine info. It can be set to Redis-2.8, Redis-4.0, Redis-5.0, Redis-6.0, or CKV.</p>
|
|
10900
11088
|
* @type {string || null}
|
|
10901
11089
|
*/
|
|
10902
11090
|
this.EngineName = null;
|
|
10903
11091
|
|
|
10904
11092
|
/**
|
|
10905
|
-
* Renewal
|
|
10906
|
-
- 0: Manual renewal.
|
|
10907
|
-
- 1: Automatic renewal.
|
|
10908
|
-
- 2: No renewal after expiry.
|
|
11093
|
+
* <p>Renewal mode.</p><ul><li>0: Manual renewal.</li><li>1: Automatic renewal.</li><li>2: No renewal after expiry.</li></ul>
|
|
10909
11094
|
* @type {Array.<number> || null}
|
|
10910
11095
|
*/
|
|
10911
11096
|
this.AutoRenew = null;
|
|
10912
11097
|
|
|
10913
11098
|
/**
|
|
10914
|
-
* Billing mode
|
|
10915
|
-
- postpaid: pay-as-you-go.
|
|
10916
|
-
- prepaid: monthly subscription.
|
|
11099
|
+
* <p>Billing mode.</p><ul><li>postpaid: pay-as-you-go billing.</li><li>prepaid: annual/monthly subscription.</li></ul>
|
|
10917
11100
|
* @type {string || null}
|
|
10918
11101
|
*/
|
|
10919
11102
|
this.BillingMode = null;
|
|
10920
11103
|
|
|
10921
11104
|
/**
|
|
10922
|
-
* Instance type.
|
|
10923
|
-
|
|
10924
|
-
- 2: Redis 2.8 memory edition (standard architecture).
|
|
10925
|
-
- 3: CKV 3.2 memory edition (standard architecture).
|
|
10926
|
-
- 4: CKV 3.2 memory edition (cluster architecture).
|
|
10927
|
-
- 5: Redis 2.8 memory edition (standalone).
|
|
10928
|
-
- 6: Redis 4.0 memory edition (standard architecture).
|
|
10929
|
-
- 7: Redis 4.0 memory edition (cluster architecture).
|
|
10930
|
-
- 8: Redis 5.0 memory edition (standard architecture).
|
|
10931
|
-
- 9: Redis 5.0 memory edition (cluster architecture).
|
|
10932
|
-
- 15: Redis 6.2 memory edition (standard architecture).
|
|
10933
|
-
- 16: Redis 6.2 memory edition (cluster architecture).
|
|
10934
|
-
- 17: Redis 7.0 memory edition (standard architecture).
|
|
10935
|
-
- 18: Redis 7.0 memory edition (cluster architecture).
|
|
10936
|
-
- 200: Memcached 1.6 memory edition (cluster architecture).
|
|
11105
|
+
* <p>Instance type.</p><ul><li>2: Redis 2.8 memory edition (standard architecture).</li><li>3: CKV 3.2 memory edition (standard architecture).</li><li>4: CKV 3.2 memory edition (cluster architecture).</li><li>5: Redis 2.8 memory edition (standalone).</li><li>6: Redis 4.0 memory edition (standard architecture).</li><li>7: Redis 4.0 memory edition (cluster architecture).</li><li>8: Redis 5.0 memory edition (standard architecture).</li><li>9: Redis 5.0 memory edition (cluster architecture).</li><li>15: Redis 6.2 memory edition (standard architecture).</li><li>16: Redis 6.2 memory edition (cluster architecture).</li><li>17: Redis 7.0 memory edition (standard architecture).</li><li>18: Redis 7.0 memory edition (cluster architecture).</li><li>200: Memcached 1.6 memory edition (cluster architecture).</li></ul>
|
|
10937
11106
|
* @type {number || null}
|
|
10938
11107
|
*/
|
|
10939
11108
|
this.Type = null;
|
|
10940
11109
|
|
|
10941
11110
|
/**
|
|
10942
|
-
* This parameter is
|
|
10943
|
-
- Each element in the array is used for a union-based matching query.- When both **InstanceId** and **SearchKeys** are configured simultaneously, their intersection will be used for the matching query.
|
|
11111
|
+
* <p>This parameter is an array type and supports configuring instance name, instance ID, and IP address. Among them, instance name uses fuzzy matching, while instance ID and IP address use exact matching.</p><ul><li>Each element in the array uses union for match query.</li><li>If <strong>InstanceId</strong> and <strong>SearchKeys</strong> are configured concurrently, their intersection is used for matching query.</li></ul>
|
|
10944
11112
|
* @type {Array.<string> || null}
|
|
10945
11113
|
*/
|
|
10946
11114
|
this.SearchKeys = null;
|
|
10947
11115
|
|
|
10948
11116
|
/**
|
|
10949
|
-
* Internal parameter, which can be ignored
|
|
11117
|
+
* <p>Internal parameter, which can be ignored.</p>
|
|
10950
11118
|
* @type {Array.<number> || null}
|
|
10951
11119
|
*/
|
|
10952
11120
|
this.TypeList = null;
|
|
10953
11121
|
|
|
10954
11122
|
/**
|
|
10955
|
-
* Internal parameter, which can be ignored
|
|
11123
|
+
* <p>Internal parameter, which can be ignored.</p>
|
|
10956
11124
|
* @type {string || null}
|
|
10957
11125
|
*/
|
|
10958
11126
|
this.MonitorVersion = null;
|
|
10959
11127
|
|
|
10960
11128
|
/**
|
|
10961
|
-
*
|
|
11129
|
+
* <p>Filter resources by tag Key and Value. If this parameter is not configured or the array is set to empty, no tag-based filtering is applied.</p>
|
|
10962
11130
|
* @type {Array.<InstanceTagInfo> || null}
|
|
10963
11131
|
*/
|
|
10964
11132
|
this.InstanceTags = null;
|
|
10965
11133
|
|
|
10966
11134
|
/**
|
|
10967
|
-
*
|
|
11135
|
+
* <p>Filter resources by tag Key. If this parameter is not configured or the array is set to empty, no filtering by tag Key is performed.</p>
|
|
10968
11136
|
* @type {Array.<string> || null}
|
|
10969
11137
|
*/
|
|
10970
11138
|
this.TagKeys = null;
|
|
10971
11139
|
|
|
10972
11140
|
/**
|
|
10973
|
-
*
|
|
10974
|
-
- local: local Disk Edition.- cdc: Cluster dedicated edition.
|
|
10975
|
-
|
|
11141
|
+
* <p>Deployment type of the instance. If this parameter is not configured or the array is set to empty, instances will not be filtered based on this parameter by default.</p><p>Enumeration values:</p><ul><li>local: Common I.</li><li>localv2: Common II.</li><li>cdc: Dedicated cluster.</li></ul>
|
|
10976
11142
|
* @type {Array.<string> || null}
|
|
10977
11143
|
*/
|
|
10978
11144
|
this.ProductVersions = null;
|
|
10979
11145
|
|
|
10980
11146
|
/**
|
|
10981
|
-
* Batch query
|
|
11147
|
+
* <p>Batch query the specified instance IDs. The returned results are mainly limited by Limit.</p>
|
|
10982
11148
|
* @type {Array.<string> || null}
|
|
10983
11149
|
*/
|
|
10984
11150
|
this.InstanceIds = null;
|
|
10985
11151
|
|
|
10986
11152
|
/**
|
|
10987
|
-
* Availability zone mode
|
|
10988
|
-
- singleaz: Single availability zone.- multiaz: Multiple availability zones.
|
|
11153
|
+
* <p>Availability zone mode.</p><ul><li>singleaz: single availability zone.</li><li>multiaz: multi-availability zone.</li></ul>
|
|
10989
11154
|
* @type {string || null}
|
|
10990
11155
|
*/
|
|
10991
11156
|
this.AzMode = null;
|
|
@@ -11039,24 +11204,24 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
11039
11204
|
}
|
|
11040
11205
|
|
|
11041
11206
|
/**
|
|
11042
|
-
*
|
|
11207
|
+
* ModifyValkeyModule response structure.
|
|
11043
11208
|
* @class
|
|
11044
11209
|
*/
|
|
11045
|
-
class
|
|
11210
|
+
class ModifyValkeyModuleResponse extends AbstractModel {
|
|
11046
11211
|
constructor(){
|
|
11047
11212
|
super();
|
|
11048
11213
|
|
|
11049
11214
|
/**
|
|
11050
|
-
*
|
|
11051
|
-
* @type {
|
|
11215
|
+
* <p>Task ID.</p>
|
|
11216
|
+
* @type {number || null}
|
|
11052
11217
|
*/
|
|
11053
|
-
this.
|
|
11218
|
+
this.TaskId = null;
|
|
11054
11219
|
|
|
11055
11220
|
/**
|
|
11056
|
-
*
|
|
11057
|
-
* @type {
|
|
11221
|
+
* 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.
|
|
11222
|
+
* @type {string || null}
|
|
11058
11223
|
*/
|
|
11059
|
-
this.
|
|
11224
|
+
this.RequestId = null;
|
|
11060
11225
|
|
|
11061
11226
|
}
|
|
11062
11227
|
|
|
@@ -11067,8 +11232,8 @@ class SourceCommand extends AbstractModel {
|
|
|
11067
11232
|
if (!params) {
|
|
11068
11233
|
return;
|
|
11069
11234
|
}
|
|
11070
|
-
this.
|
|
11071
|
-
this.
|
|
11235
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
11236
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11072
11237
|
|
|
11073
11238
|
}
|
|
11074
11239
|
}
|
|
@@ -11431,7 +11596,7 @@ class DescribeAutoBackupConfigRequest extends AbstractModel {
|
|
|
11431
11596
|
super();
|
|
11432
11597
|
|
|
11433
11598
|
/**
|
|
11434
|
-
*
|
|
11599
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
11435
11600
|
* @type {string || null}
|
|
11436
11601
|
*/
|
|
11437
11602
|
this.InstanceId = null;
|
|
@@ -11465,7 +11630,7 @@ class DescribeBackupUrlRequest extends AbstractModel {
|
|
|
11465
11630
|
this.InstanceId = null;
|
|
11466
11631
|
|
|
11467
11632
|
/**
|
|
11468
|
-
* Backup ID, which can be obtained through the
|
|
11633
|
+
* Backup ID, which can be obtained through the RedisBackupSet parameter in the API response of [DescribeInstanceBackups](https://www.tencentcloud.com/document/product/239/20011?from_cn_redirect=1).
|
|
11469
11634
|
* @type {string || null}
|
|
11470
11635
|
*/
|
|
11471
11636
|
this.BackupId = null;
|
|
@@ -11649,7 +11814,7 @@ class DeleteInstanceAccountRequest extends AbstractModel {
|
|
|
11649
11814
|
this.InstanceId = null;
|
|
11650
11815
|
|
|
11651
11816
|
/**
|
|
11652
|
-
* Sub-account name. Log in to the [Redis console](https://console.
|
|
11817
|
+
* Sub-account name. Log in to the [Redis console](https://console.cloud.tencent.com/redis), switch to the **Account Management** page to get it. For details, see [Managing Accounts](https://www.tencentcloud.com/document/product/239/36710?from_cn_redirect=1).
|
|
11653
11818
|
* @type {string || null}
|
|
11654
11819
|
*/
|
|
11655
11820
|
this.AccountName = null;
|
|
@@ -12017,7 +12182,7 @@ class ModifyParamTemplateRequest extends AbstractModel {
|
|
|
12017
12182
|
super();
|
|
12018
12183
|
|
|
12019
12184
|
/**
|
|
12020
|
-
* Source parameter template ID, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://
|
|
12185
|
+
* Source parameter template ID, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://www.tencentcloud.com/document/product/239/58748?from_cn_redirect=1).
|
|
12021
12186
|
* @type {string || null}
|
|
12022
12187
|
*/
|
|
12023
12188
|
this.TemplateId = null;
|
|
@@ -12691,9 +12856,9 @@ class UpgradeInstanceRequest extends AbstractModel {
|
|
|
12691
12856
|
this.NodeSet = null;
|
|
12692
12857
|
|
|
12693
12858
|
/**
|
|
12694
|
-
* Switch time.
|
|
12695
|
-
|
|
12696
|
-
|
|
12859
|
+
* Switch time.
|
|
12860
|
+
- 1: Perform the operation within the maintenance window: Specification upgrade is executed within the set maintenance window. Use the API [DescribeMaintenanceWindow](https://www.tencentcloud.com/document/product/239/46336?from_cn_redirect=1) to query the time period of the set maintenance window. Replica addition/removal, shard addition/removal, and memory capacity expansion/shrinkage are supported within the maintenance window. Specification upgrade within the maintenance window is being gradually tested and published by region. It is already supported in some regions. For urgent integration in regions that do not support it, [submit a ticket](https://console.cloud.tencent.com/workorder/category) to apply for an allowlist.
|
|
12861
|
+
-2: Perform the operation immediately: The operation will be performed immediately, without the need to wait for the maintenance window. Operations will be performed immediately by default for the system.
|
|
12697
12862
|
* @type {number || null}
|
|
12698
12863
|
*/
|
|
12699
12864
|
this.SwitchOption = null;
|
|
@@ -12790,7 +12955,7 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
|
|
|
12790
12955
|
this.TypeId = null;
|
|
12791
12956
|
|
|
12792
12957
|
/**
|
|
12793
|
-
* <p>Memory capacity, measured in MB
|
|
12958
|
+
* <p>Memory capacity, measured in MB. The value must be a multiple of 1024. The specific specifications are subject to those returned by <a href="https://www.tencentcloud.com/document/api/239/30600?from_cn_redirect=1">Query Product Sales Specifications</a>. When TypeId is standard architecture, MemSize is the total memory capacity of the instance; when TypeId is cluster architecture, MemSize is the memory capacity of a single shard.</p>
|
|
12794
12959
|
* @type {number || null}
|
|
12795
12960
|
*/
|
|
12796
12961
|
this.MemSize = null;
|
|
@@ -12814,7 +12979,7 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
|
|
|
12814
12979
|
this.BillingMode = null;
|
|
12815
12980
|
|
|
12816
12981
|
/**
|
|
12817
|
-
* <p>ID of the AZ to which the instance belongs. See <a href="https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1">Regions and AZs</a
|
|
12982
|
+
* <p>ID of the AZ to which the instance belongs. See <a href="https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1">Regions and AZs</a>. <strong>Description</strong>: Please specify at least one of <strong>ZoneId</strong> and <strong>ZoneName</strong>.</p>
|
|
12818
12983
|
* @type {number || null}
|
|
12819
12984
|
*/
|
|
12820
12985
|
this.ZoneId = null;
|
|
@@ -12838,7 +13003,7 @@ class InquiryPriceCreateInstanceRequest extends AbstractModel {
|
|
|
12838
13003
|
this.ReplicasReadonly = null;
|
|
12839
13004
|
|
|
12840
13005
|
/**
|
|
12841
|
-
* <p>Name of the
|
|
13006
|
+
* <p>Name of the AZ to which the instance belongs. See <a href="https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1">Regions and AZs</a>. <strong>Description</strong>: Please specify at least one of <strong>ZoneId</strong> and <strong>ZoneName</strong>.</p>
|
|
12842
13007
|
* @type {string || null}
|
|
12843
13008
|
*/
|
|
12844
13009
|
this.ZoneName = null;
|
|
@@ -13057,6 +13222,12 @@ class DescribeSSLStatusRequest extends AbstractModel {
|
|
|
13057
13222
|
*/
|
|
13058
13223
|
this.InstanceId = null;
|
|
13059
13224
|
|
|
13225
|
+
/**
|
|
13226
|
+
* <p>Certificate download format type. Defaults to nginx if not passed. Only applicable to custom certificates (CertSource=1)</p><p>Enumeration values:</p><ul><li>nginx: nginx available</li><li>apache: apache available</li><li>tomcat: tomcat available</li><li>iis: iis available</li></ul>
|
|
13227
|
+
* @type {string || null}
|
|
13228
|
+
*/
|
|
13229
|
+
this.ServiceType = null;
|
|
13230
|
+
|
|
13060
13231
|
}
|
|
13061
13232
|
|
|
13062
13233
|
/**
|
|
@@ -13067,6 +13238,7 @@ class DescribeSSLStatusRequest extends AbstractModel {
|
|
|
13067
13238
|
return;
|
|
13068
13239
|
}
|
|
13069
13240
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
13241
|
+
this.ServiceType = 'ServiceType' in params ? params.ServiceType : null;
|
|
13070
13242
|
|
|
13071
13243
|
}
|
|
13072
13244
|
}
|
|
@@ -13091,6 +13263,36 @@ class OpenSSLRequest extends AbstractModel {
|
|
|
13091
13263
|
*/
|
|
13092
13264
|
this.AddressType = null;
|
|
13093
13265
|
|
|
13266
|
+
/**
|
|
13267
|
+
* <p>Key type.</p><p>Enumeration values:</p><ul><li>0: Tencent Cloud provides</li><li>1: User-defined certificate</li></ul><p>Default value: 0</p>
|
|
13268
|
+
* @type {number || null}
|
|
13269
|
+
*/
|
|
13270
|
+
this.CertSource = null;
|
|
13271
|
+
|
|
13272
|
+
/**
|
|
13273
|
+
* <p>Switch time. (This parameter is deprecated and no longer effective.)</p><p>Enumeration values:</p><ul><li>1: Operate within the maintenance window: SSL encryption will be enabled and executed within the set maintenance window. Use the DescribeMaintenanceWindow interface to query the set maintenance time period.</li><li>2: Immediate operation: The operation will be executed immediately with no waiting for the maintenance window. The system default setting is immediate operation.</li></ul>
|
|
13274
|
+
* @type {number || null}
|
|
13275
|
+
*/
|
|
13276
|
+
this.SwitchOption = null;
|
|
13277
|
+
|
|
13278
|
+
/**
|
|
13279
|
+
* <p>Certificate ID of the SSL certificate service. Required when CertSource=1</p>
|
|
13280
|
+
* @type {string || null}
|
|
13281
|
+
*/
|
|
13282
|
+
this.CertId = null;
|
|
13283
|
+
|
|
13284
|
+
/**
|
|
13285
|
+
* <p>Min TLS version</p><p>Enumeration values:</p><ul><li>TLSv1.0: TLSv1.0</li><li>TLSv1.1: TLSv1.1</li><li>TLSv1.2: TLSv1.2</li></ul>
|
|
13286
|
+
* @type {string || null}
|
|
13287
|
+
*/
|
|
13288
|
+
this.SSLMinVersion = null;
|
|
13289
|
+
|
|
13290
|
+
/**
|
|
13291
|
+
* <p>Target encryption mode</p><p>Enumeration values:</p><ul><li>required: Enforced encryption</li><li>flexible: Compatible mode</li></ul><p>Default value: flexible</p>
|
|
13292
|
+
* @type {string || null}
|
|
13293
|
+
*/
|
|
13294
|
+
this.EncryptionMode = null;
|
|
13295
|
+
|
|
13094
13296
|
}
|
|
13095
13297
|
|
|
13096
13298
|
/**
|
|
@@ -13102,6 +13304,11 @@ class OpenSSLRequest extends AbstractModel {
|
|
|
13102
13304
|
}
|
|
13103
13305
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
13104
13306
|
this.AddressType = 'AddressType' in params ? params.AddressType : null;
|
|
13307
|
+
this.CertSource = 'CertSource' in params ? params.CertSource : null;
|
|
13308
|
+
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
13309
|
+
this.CertId = 'CertId' in params ? params.CertId : null;
|
|
13310
|
+
this.SSLMinVersion = 'SSLMinVersion' in params ? params.SSLMinVersion : null;
|
|
13311
|
+
this.EncryptionMode = 'EncryptionMode' in params ? params.EncryptionMode : null;
|
|
13105
13312
|
|
|
13106
13313
|
}
|
|
13107
13314
|
}
|
|
@@ -13375,7 +13582,7 @@ class AddReplicationInstanceRequest extends AbstractModel {
|
|
|
13375
13582
|
|
|
13376
13583
|
/**
|
|
13377
13584
|
* Instance ID.
|
|
13378
|
-
- There are region and AZ limitations for adding a replication group instance. For detailed information, see [
|
|
13585
|
+
- There are region and AZ limitations for adding a replication group instance. For detailed information, see [Usage Limits](https://www.tencentcloud.com/document/product/239/71934?from_cn_redirect=1).
|
|
13379
13586
|
- Currently, only Redis 4.0 and 5.0 cluster architecture instances support being added to the replication groups.
|
|
13380
13587
|
- Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy the ID of the instance that needs to be added to the replication group in the instance list.
|
|
13381
13588
|
* @type {string || null}
|
|
@@ -13566,6 +13773,54 @@ class DescribeSSLStatusResponse extends AbstractModel {
|
|
|
13566
13773
|
*/
|
|
13567
13774
|
this.EncryptAddress = null;
|
|
13568
13775
|
|
|
13776
|
+
/**
|
|
13777
|
+
* <p>Key source</p><p>Enumeration values:</p><ul><li>0: Tencent Cloud provides</li><li>1: Custom certificate</li></ul>
|
|
13778
|
+
* @type {number || null}
|
|
13779
|
+
*/
|
|
13780
|
+
this.CertSource = null;
|
|
13781
|
+
|
|
13782
|
+
/**
|
|
13783
|
+
* <p>Certificate validity</p><p>Enumeration values:</p><ul><li>0: valid</li><li>1: expiring soon (within 30 days)</li><li>2: expired</li><li>404: cert deleted</li><li>500: query exception</li></ul>
|
|
13784
|
+
* @type {number || null}
|
|
13785
|
+
*/
|
|
13786
|
+
this.CertStatus = null;
|
|
13787
|
+
|
|
13788
|
+
/**
|
|
13789
|
+
* <p>Certificate ID of the SSL certificate service. Required when CertSource=1</p>
|
|
13790
|
+
* @type {string || null}
|
|
13791
|
+
*/
|
|
13792
|
+
this.CertId = null;
|
|
13793
|
+
|
|
13794
|
+
/**
|
|
13795
|
+
* <p>Cert alias</p>
|
|
13796
|
+
* @type {string || null}
|
|
13797
|
+
*/
|
|
13798
|
+
this.CertAlias = null;
|
|
13799
|
+
|
|
13800
|
+
/**
|
|
13801
|
+
* <p>Certificate expiration time</p><p>Parameter format: time format YYYY-MM-DD hh:mm:ss</p>
|
|
13802
|
+
* @type {string || null}
|
|
13803
|
+
*/
|
|
13804
|
+
this.CertExpireTime = null;
|
|
13805
|
+
|
|
13806
|
+
/**
|
|
13807
|
+
* <p>Certificate-associated domain name (SAN)</p><p>Includes IP</p>
|
|
13808
|
+
* @type {string || null}
|
|
13809
|
+
*/
|
|
13810
|
+
this.Domain = null;
|
|
13811
|
+
|
|
13812
|
+
/**
|
|
13813
|
+
* <p>Minimum TLS version</p><p>Enumeration values:</p><ul><li>TLSv1.0: TLSv1.0</li><li>TLSv1.1: TLSv1.1</li><li>TLSv1.2: TLSv1.2</li></ul>
|
|
13814
|
+
* @type {string || null}
|
|
13815
|
+
*/
|
|
13816
|
+
this.SSLMinVersion = null;
|
|
13817
|
+
|
|
13818
|
+
/**
|
|
13819
|
+
* <p>Current encryption mode</p><p>Enumeration values:</p><ul><li>required: Enforced encryption</li><li>flexible: Compatible mode</li></ul>
|
|
13820
|
+
* @type {string || null}
|
|
13821
|
+
*/
|
|
13822
|
+
this.EncryptionMode = null;
|
|
13823
|
+
|
|
13569
13824
|
/**
|
|
13570
13825
|
* 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.
|
|
13571
13826
|
* @type {string || null}
|
|
@@ -13588,6 +13843,14 @@ class DescribeSSLStatusResponse extends AbstractModel {
|
|
|
13588
13843
|
this.Status = 'Status' in params ? params.Status : null;
|
|
13589
13844
|
this.AddressType = 'AddressType' in params ? params.AddressType : null;
|
|
13590
13845
|
this.EncryptAddress = 'EncryptAddress' in params ? params.EncryptAddress : null;
|
|
13846
|
+
this.CertSource = 'CertSource' in params ? params.CertSource : null;
|
|
13847
|
+
this.CertStatus = 'CertStatus' in params ? params.CertStatus : null;
|
|
13848
|
+
this.CertId = 'CertId' in params ? params.CertId : null;
|
|
13849
|
+
this.CertAlias = 'CertAlias' in params ? params.CertAlias : null;
|
|
13850
|
+
this.CertExpireTime = 'CertExpireTime' in params ? params.CertExpireTime : null;
|
|
13851
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
13852
|
+
this.SSLMinVersion = 'SSLMinVersion' in params ? params.SSLMinVersion : null;
|
|
13853
|
+
this.EncryptionMode = 'EncryptionMode' in params ? params.EncryptionMode : null;
|
|
13591
13854
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
13592
13855
|
|
|
13593
13856
|
}
|
|
@@ -14143,7 +14406,7 @@ class InstanceSet extends AbstractModel {
|
|
|
14143
14406
|
this.DiskSize = null;
|
|
14144
14407
|
|
|
14145
14408
|
/**
|
|
14146
|
-
* <p>Monitoring version.<ul><li>1m: 1-minute granularity monitoring. This monitoring granularity
|
|
14409
|
+
* <p>Monitoring version.<ul><li>1m: 1-minute granularity monitoring. This monitoring granularity has been deprecated. For details, see <a href="https://www.tencentcloud.com/document/product/239/80653?from_cn_redirect=1">TencentDB for Redis 1-Minute Granularity Deprecation Notice</a>.</li><li>5s: 5-second granularity monitoring.</li></ul></p>
|
|
14147
14410
|
* @type {string || null}
|
|
14148
14411
|
*/
|
|
14149
14412
|
this.MonitorVersion = null;
|
|
@@ -14515,6 +14778,41 @@ class DescribeInstanceMonitorBigKeyRequest extends AbstractModel {
|
|
|
14515
14778
|
}
|
|
14516
14779
|
}
|
|
14517
14780
|
|
|
14781
|
+
/**
|
|
14782
|
+
* ModifySSLEncryptionMode response structure.
|
|
14783
|
+
* @class
|
|
14784
|
+
*/
|
|
14785
|
+
class ModifySSLEncryptionModeResponse extends AbstractModel {
|
|
14786
|
+
constructor(){
|
|
14787
|
+
super();
|
|
14788
|
+
|
|
14789
|
+
/**
|
|
14790
|
+
* <p>Task ID.</p>
|
|
14791
|
+
* @type {number || null}
|
|
14792
|
+
*/
|
|
14793
|
+
this.TaskId = null;
|
|
14794
|
+
|
|
14795
|
+
/**
|
|
14796
|
+
* 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.
|
|
14797
|
+
* @type {string || null}
|
|
14798
|
+
*/
|
|
14799
|
+
this.RequestId = null;
|
|
14800
|
+
|
|
14801
|
+
}
|
|
14802
|
+
|
|
14803
|
+
/**
|
|
14804
|
+
* @private
|
|
14805
|
+
*/
|
|
14806
|
+
deserialize(params) {
|
|
14807
|
+
if (!params) {
|
|
14808
|
+
return;
|
|
14809
|
+
}
|
|
14810
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
14811
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14812
|
+
|
|
14813
|
+
}
|
|
14814
|
+
}
|
|
14815
|
+
|
|
14518
14816
|
/**
|
|
14519
14817
|
* DescribeBackupDownloadRestriction request structure.
|
|
14520
14818
|
* @class
|
|
@@ -14683,13 +14981,13 @@ class SwitchProxyRequest extends AbstractModel {
|
|
|
14683
14981
|
this.InstanceId = null;
|
|
14684
14982
|
|
|
14685
14983
|
/**
|
|
14686
|
-
*
|
|
14984
|
+
* Instance ProxyID. Obtain it through the NodeId in the Proxy response parameter of the DescribeInstanceNodeInfo interface (https://www.tencentcloud.com/document/product/239/48603?from_cn_redirect=1).
|
|
14687
14985
|
* @type {string || null}
|
|
14688
14986
|
*/
|
|
14689
14987
|
this.ProxyID = null;
|
|
14690
14988
|
|
|
14691
14989
|
/**
|
|
14692
|
-
*
|
|
14990
|
+
* List of instance ProxyIDs. Obtain it through the NodeId in the Proxy response parameter of the DescribeInstanceNodeInfo interface (https://www.tencentcloud.com/document/product/239/48603?from_cn_redirect=1).
|
|
14693
14991
|
* @type {Array.<string> || null}
|
|
14694
14992
|
*/
|
|
14695
14993
|
this.ProxyIDList = null;
|
|
@@ -14710,6 +15008,41 @@ class SwitchProxyRequest extends AbstractModel {
|
|
|
14710
15008
|
}
|
|
14711
15009
|
}
|
|
14712
15010
|
|
|
15011
|
+
/**
|
|
15012
|
+
* Access command
|
|
15013
|
+
* @class
|
|
15014
|
+
*/
|
|
15015
|
+
class SourceCommand extends AbstractModel {
|
|
15016
|
+
constructor(){
|
|
15017
|
+
super();
|
|
15018
|
+
|
|
15019
|
+
/**
|
|
15020
|
+
* Command name.
|
|
15021
|
+
* @type {string || null}
|
|
15022
|
+
*/
|
|
15023
|
+
this.Cmd = null;
|
|
15024
|
+
|
|
15025
|
+
/**
|
|
15026
|
+
* Number of executions.
|
|
15027
|
+
* @type {number || null}
|
|
15028
|
+
*/
|
|
15029
|
+
this.Count = null;
|
|
15030
|
+
|
|
15031
|
+
}
|
|
15032
|
+
|
|
15033
|
+
/**
|
|
15034
|
+
* @private
|
|
15035
|
+
*/
|
|
15036
|
+
deserialize(params) {
|
|
15037
|
+
if (!params) {
|
|
15038
|
+
return;
|
|
15039
|
+
}
|
|
15040
|
+
this.Cmd = 'Cmd' in params ? params.Cmd : null;
|
|
15041
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
15042
|
+
|
|
15043
|
+
}
|
|
15044
|
+
}
|
|
15045
|
+
|
|
14713
15046
|
/**
|
|
14714
15047
|
* DescribeInstanceSpecBandwidth request structure.
|
|
14715
15048
|
* @class
|
|
@@ -14843,6 +15176,41 @@ class BackupLimitVpcItem extends AbstractModel {
|
|
|
14843
15176
|
}
|
|
14844
15177
|
}
|
|
14845
15178
|
|
|
15179
|
+
/**
|
|
15180
|
+
* ModifySSLEncryptionMode request structure.
|
|
15181
|
+
* @class
|
|
15182
|
+
*/
|
|
15183
|
+
class ModifySSLEncryptionModeRequest extends AbstractModel {
|
|
15184
|
+
constructor(){
|
|
15185
|
+
super();
|
|
15186
|
+
|
|
15187
|
+
/**
|
|
15188
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
15189
|
+
* @type {string || null}
|
|
15190
|
+
*/
|
|
15191
|
+
this.InstanceId = null;
|
|
15192
|
+
|
|
15193
|
+
/**
|
|
15194
|
+
* <p>Target encryption mode</p><p>Enumeration values:</p><ul><li>required: Enforced encryption</li><li>flexible: Compatible mode</li></ul>
|
|
15195
|
+
* @type {string || null}
|
|
15196
|
+
*/
|
|
15197
|
+
this.EncryptionMode = null;
|
|
15198
|
+
|
|
15199
|
+
}
|
|
15200
|
+
|
|
15201
|
+
/**
|
|
15202
|
+
* @private
|
|
15203
|
+
*/
|
|
15204
|
+
deserialize(params) {
|
|
15205
|
+
if (!params) {
|
|
15206
|
+
return;
|
|
15207
|
+
}
|
|
15208
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
15209
|
+
this.EncryptionMode = 'EncryptionMode' in params ? params.EncryptionMode : null;
|
|
15210
|
+
|
|
15211
|
+
}
|
|
15212
|
+
}
|
|
15213
|
+
|
|
14846
15214
|
/**
|
|
14847
15215
|
* DisassociateSecurityGroups request structure.
|
|
14848
15216
|
* @class
|
|
@@ -14858,7 +15226,7 @@ class DisassociateSecurityGroupsRequest extends AbstractModel {
|
|
|
14858
15226
|
this.Product = null;
|
|
14859
15227
|
|
|
14860
15228
|
/**
|
|
14861
|
-
* Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter InstanceSecurityGroupsDetail of the API [DescribeInstanceSecurityGroup](https://
|
|
15229
|
+
* Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter InstanceSecurityGroupsDetail of the API [DescribeInstanceSecurityGroup](https://www.tencentcloud.com/document/product/239/34447?from_cn_redirect=1).
|
|
14862
15230
|
* @type {string || null}
|
|
14863
15231
|
*/
|
|
14864
15232
|
this.SecurityGroupId = null;
|
|
@@ -15061,53 +15429,83 @@ class InstanceEnumParam extends AbstractModel {
|
|
|
15061
15429
|
super();
|
|
15062
15430
|
|
|
15063
15431
|
/**
|
|
15064
|
-
* Parameter name
|
|
15432
|
+
* <p>Parameter name.</p>
|
|
15065
15433
|
* @type {string || null}
|
|
15066
15434
|
*/
|
|
15067
15435
|
this.ParamName = null;
|
|
15068
15436
|
|
|
15069
15437
|
/**
|
|
15070
|
-
* Parameter type
|
|
15438
|
+
* <p>Parameter type. For example: Enum.</p>
|
|
15071
15439
|
* @type {string || null}
|
|
15072
15440
|
*/
|
|
15073
15441
|
this.ValueType = null;
|
|
15074
15442
|
|
|
15075
15443
|
/**
|
|
15076
|
-
* Whether
|
|
15444
|
+
* <p>Whether restart is required after parameter values are modified.</p><ul><li>true: required.</li><li>false: not required.</li></ul>
|
|
15077
15445
|
* @type {string || null}
|
|
15078
15446
|
*/
|
|
15079
15447
|
this.NeedRestart = null;
|
|
15080
15448
|
|
|
15081
15449
|
/**
|
|
15082
|
-
* Default value
|
|
15450
|
+
* <p>Default parameter value.</p>
|
|
15083
15451
|
* @type {string || null}
|
|
15084
15452
|
*/
|
|
15085
15453
|
this.DefaultValue = null;
|
|
15086
15454
|
|
|
15087
15455
|
/**
|
|
15088
|
-
* Current value
|
|
15456
|
+
* <p>Current value of the parameter.</p>
|
|
15089
15457
|
* @type {string || null}
|
|
15090
15458
|
*/
|
|
15091
15459
|
this.CurrentValue = null;
|
|
15092
15460
|
|
|
15093
15461
|
/**
|
|
15094
|
-
*
|
|
15462
|
+
* <p>Parameter description.</p>
|
|
15095
15463
|
* @type {string || null}
|
|
15096
15464
|
*/
|
|
15097
15465
|
this.Tips = null;
|
|
15098
15466
|
|
|
15099
15467
|
/**
|
|
15100
|
-
*
|
|
15468
|
+
* <p>Available values of the parameter.</p>
|
|
15101
15469
|
* @type {Array.<string> || null}
|
|
15102
15470
|
*/
|
|
15103
15471
|
this.EnumValue = null;
|
|
15104
15472
|
|
|
15105
15473
|
/**
|
|
15106
|
-
* Parameter modification status
|
|
15474
|
+
* <p>Parameter modification status.</p><ul><li>1: Modifying.</li><li>2: Modified.</li></ul>
|
|
15107
15475
|
* @type {number || null}
|
|
15108
15476
|
*/
|
|
15109
15477
|
this.Status = null;
|
|
15110
15478
|
|
|
15479
|
+
/**
|
|
15480
|
+
* <p>Parameter type</p><p>Enumeration values:</p><ul><li>redis: parameters supported by cache nodes</li><li>redis-interface: parameters supported by proxy</li><li>tendis: parameters supported by tendis</li></ul>
|
|
15481
|
+
* @type {string || null}
|
|
15482
|
+
*/
|
|
15483
|
+
this.ParamType = null;
|
|
15484
|
+
|
|
15485
|
+
/**
|
|
15486
|
+
* <p>Whether the current instance supports this feature</p>
|
|
15487
|
+
* @type {boolean || null}
|
|
15488
|
+
*/
|
|
15489
|
+
this.FeatureSupported = null;
|
|
15490
|
+
|
|
15491
|
+
/**
|
|
15492
|
+
* <p>New feature launch date</p><p>Parameter format: time format YYYY-MM-DD</p>
|
|
15493
|
+
* @type {string || null}
|
|
15494
|
+
*/
|
|
15495
|
+
this.NewFeatureOnlineTime = null;
|
|
15496
|
+
|
|
15497
|
+
/**
|
|
15498
|
+
* <p>Regular expression validation rule</p>
|
|
15499
|
+
* @type {string || null}
|
|
15500
|
+
*/
|
|
15501
|
+
this.Pattern = null;
|
|
15502
|
+
|
|
15503
|
+
/**
|
|
15504
|
+
* <p>Input format description</p>
|
|
15505
|
+
* @type {string || null}
|
|
15506
|
+
*/
|
|
15507
|
+
this.InputDescription = null;
|
|
15508
|
+
|
|
15111
15509
|
}
|
|
15112
15510
|
|
|
15113
15511
|
/**
|
|
@@ -15125,6 +15523,11 @@ class InstanceEnumParam extends AbstractModel {
|
|
|
15125
15523
|
this.Tips = 'Tips' in params ? params.Tips : null;
|
|
15126
15524
|
this.EnumValue = 'EnumValue' in params ? params.EnumValue : null;
|
|
15127
15525
|
this.Status = 'Status' in params ? params.Status : null;
|
|
15526
|
+
this.ParamType = 'ParamType' in params ? params.ParamType : null;
|
|
15527
|
+
this.FeatureSupported = 'FeatureSupported' in params ? params.FeatureSupported : null;
|
|
15528
|
+
this.NewFeatureOnlineTime = 'NewFeatureOnlineTime' in params ? params.NewFeatureOnlineTime : null;
|
|
15529
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
15530
|
+
this.InputDescription = 'InputDescription' in params ? params.InputDescription : null;
|
|
15128
15531
|
|
|
15129
15532
|
}
|
|
15130
15533
|
}
|
|
@@ -15841,13 +16244,13 @@ class ModifyInstanceLogDeliveryRequest extends AbstractModel {
|
|
|
15841
16244
|
this.Enabled = null;
|
|
15842
16245
|
|
|
15843
16246
|
/**
|
|
15844
|
-
* ID of the shipped logset. It can be obtained through the API [DescribeLogsets](https://
|
|
16247
|
+
* ID of the shipped logset. It can be obtained through the API [DescribeLogsets](https://www.tencentcloud.com/document/api/614/58624?from_cn_redirect=1).
|
|
15845
16248
|
* @type {string || null}
|
|
15846
16249
|
*/
|
|
15847
16250
|
this.LogsetId = null;
|
|
15848
16251
|
|
|
15849
16252
|
/**
|
|
15850
|
-
* ID of the shipped log topic. It can be obtained through the API [DescribeTopics](https://
|
|
16253
|
+
* ID of the shipped log topic. It can be obtained through the API [DescribeTopics](https://www.tencentcloud.com/document/api/614/56454?from_cn_redirect=1).
|
|
15851
16254
|
* @type {string || null}
|
|
15852
16255
|
*/
|
|
15853
16256
|
this.TopicId = null;
|
|
@@ -16016,7 +16419,7 @@ class ModifyBackupEncryptRequest extends AbstractModel {
|
|
|
16016
16419
|
this.KmsKeyId = null;
|
|
16017
16420
|
|
|
16018
16421
|
/**
|
|
16019
|
-
* <p>Regional information.</p><p>Parameter format: ap-xxxx</p><p>For
|
|
16422
|
+
* <p>Regional information.</p><p>Parameter format: ap-xxxx</p><p>For parameter values, see <a href="https://www.tencentcloud.com/document/api/573/34406?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">KMS supported region list</a></p>
|
|
16020
16423
|
* @type {string || null}
|
|
16021
16424
|
*/
|
|
16022
16425
|
this.KmsRegion = null;
|
|
@@ -16164,11 +16567,11 @@ class UpgradeInstanceVersionRequest extends AbstractModel {
|
|
|
16164
16567
|
super();
|
|
16165
16568
|
|
|
16166
16569
|
/**
|
|
16167
|
-
* Target instance type
|
|
16168
|
-
- For Redis 4.0 or
|
|
16169
|
-
-
|
|
16170
|
-
-
|
|
16171
|
-
-
|
|
16570
|
+
* Target instance type, same as **TypeId** in [CreateInstances](https://www.tencentcloud.com/document/api/239/20026?from_cn_redirect=1), which is the target type to change the instance to.
|
|
16571
|
+
- For Redis 4.0 or higher, instances of the same version support upgrading from standard architecture to cluster architecture. For example, Redis 4.0 standard architecture can be upgraded to Redis 4.0 cluster architecture.
|
|
16572
|
+
-Cross-version architecture upgrade is not supported, for example, upgrading from Redis 4.0 standard architecture to Redis 5.0 cluster architecture.
|
|
16573
|
+
-Architecture upgrade from Redis 2.8 is not supported.
|
|
16574
|
+
-Downgrade from cluster architecture to standard architecture is not supported.
|
|
16172
16575
|
|
|
16173
16576
|
* @type {string || null}
|
|
16174
16577
|
*/
|
|
@@ -16627,13 +17030,13 @@ class InstanceParam extends AbstractModel {
|
|
|
16627
17030
|
super();
|
|
16628
17031
|
|
|
16629
17032
|
/**
|
|
16630
|
-
* Parameter name
|
|
17033
|
+
* Parameter name. For example, timeout. For customizable parameters, see <a href="https://www.tencentcloud.com/document/product/239/49925?from_cn_redirect=1">Parameter Configuration</a>.
|
|
16631
17034
|
* @type {string || null}
|
|
16632
17035
|
*/
|
|
16633
17036
|
this.Key = null;
|
|
16634
17037
|
|
|
16635
17038
|
/**
|
|
16636
|
-
*
|
|
17039
|
+
* Set the running value corresponding to the parameter name. For example, the running value corresponding to timeout can be set to 120, in seconds (s). When the client connection idle time reaches 120 s, the connection closed. For more parameter value information, please refer to <a href="https://www.tencentcloud.com/document/product/239/49925?from_cn_redirect=1">parameter configuration</a>.
|
|
16637
17040
|
* @type {string || null}
|
|
16638
17041
|
*/
|
|
16639
17042
|
this.Value = null;
|
|
@@ -16716,6 +17119,90 @@ class ClearInstanceResponse extends AbstractModel {
|
|
|
16716
17119
|
}
|
|
16717
17120
|
}
|
|
16718
17121
|
|
|
17122
|
+
/**
|
|
17123
|
+
* UpdateSSLCert request structure.
|
|
17124
|
+
* @class
|
|
17125
|
+
*/
|
|
17126
|
+
class UpdateSSLCertRequest extends AbstractModel {
|
|
17127
|
+
constructor(){
|
|
17128
|
+
super();
|
|
17129
|
+
|
|
17130
|
+
/**
|
|
17131
|
+
* <p>Specifies the instance ID. Example: crs-xjhsdj****. Log in to the <a href="https://console.cloud.tencent.com/redis">Redis console</a> and copy the instance ID from the instance list.</p>
|
|
17132
|
+
* @type {string || null}
|
|
17133
|
+
*/
|
|
17134
|
+
this.InstanceId = null;
|
|
17135
|
+
|
|
17136
|
+
/**
|
|
17137
|
+
* <p>Key type.</p><p>Enumeration value:</p><ul><li>0: Tencent Cloud provides</li><li>1: User-customized KMS</li></ul>
|
|
17138
|
+
* @type {number || null}
|
|
17139
|
+
*/
|
|
17140
|
+
this.CertSource = null;
|
|
17141
|
+
|
|
17142
|
+
/**
|
|
17143
|
+
* <p>Switch time. (This parameter is deprecated and no longer effective.)</p><p>Enumeration values:</p><ul><li>1: Maintenance window operation: SSL encryption is enabled and executed within the set maintenance window. Use the DescribeMaintenanceWindow API to query the set maintenance time window period.</li><li>2: Immediate operation: The operation will be executed immediately with no waiting for the maintenance window. The system default setting is immediate operation.</li></ul>
|
|
17144
|
+
* @type {number || null}
|
|
17145
|
+
*/
|
|
17146
|
+
this.SwitchOption = null;
|
|
17147
|
+
|
|
17148
|
+
/**
|
|
17149
|
+
* <p>SSL address type.</p><p>Enumeration value:</p><ul><li>0: Unlimited.</li><li>1: Private IPv4 address.</li><li>2: Private IPv6 address.</li><li>3: Public network.</li><li>-1: Unspecified.</li></ul>
|
|
17150
|
+
* @type {number || null}
|
|
17151
|
+
*/
|
|
17152
|
+
this.AddressType = null;
|
|
17153
|
+
|
|
17154
|
+
/**
|
|
17155
|
+
* <p>Key ID of KMS. (This parameter is deprecated and no longer effective)</p><p>Parameter format: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx</p>
|
|
17156
|
+
* @type {string || null}
|
|
17157
|
+
*/
|
|
17158
|
+
this.KmsKeyId = null;
|
|
17159
|
+
|
|
17160
|
+
/**
|
|
17161
|
+
* <p>KMS regional information. (This parameter is deprecated and no longer effective.)</p><p>Parameter format: ap-xxxx</p><p>For parameter values, see <a href="https://www.tencentcloud.com/document/api/573/34406?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">KMS supported region list</a></p>
|
|
17162
|
+
* @type {string || null}
|
|
17163
|
+
*/
|
|
17164
|
+
this.KmsRegion = null;
|
|
17165
|
+
|
|
17166
|
+
/**
|
|
17167
|
+
* <p>Certificate ID of the SSL certificate service. Required when CertSource=1</p>
|
|
17168
|
+
* @type {string || null}
|
|
17169
|
+
*/
|
|
17170
|
+
this.CertId = null;
|
|
17171
|
+
|
|
17172
|
+
/**
|
|
17173
|
+
* <p>Min TLS version</p><p>Enumeration values:</p><ul><li>TLSv1.0: TLSv1.0</li><li>TLSv1.1: TLSv1.1</li><li>TLSv1.2: TLSv1.2</li></ul>
|
|
17174
|
+
* @type {string || null}
|
|
17175
|
+
*/
|
|
17176
|
+
this.SSLMinVersion = null;
|
|
17177
|
+
|
|
17178
|
+
/**
|
|
17179
|
+
* <p>Targeted encryption mode</p><p>Enumeration values:</p><ul><li>required: Enforced encryption</li><li>flexible: Compatible mode</li></ul>
|
|
17180
|
+
* @type {string || null}
|
|
17181
|
+
*/
|
|
17182
|
+
this.EncryptionMode = null;
|
|
17183
|
+
|
|
17184
|
+
}
|
|
17185
|
+
|
|
17186
|
+
/**
|
|
17187
|
+
* @private
|
|
17188
|
+
*/
|
|
17189
|
+
deserialize(params) {
|
|
17190
|
+
if (!params) {
|
|
17191
|
+
return;
|
|
17192
|
+
}
|
|
17193
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
17194
|
+
this.CertSource = 'CertSource' in params ? params.CertSource : null;
|
|
17195
|
+
this.SwitchOption = 'SwitchOption' in params ? params.SwitchOption : null;
|
|
17196
|
+
this.AddressType = 'AddressType' in params ? params.AddressType : null;
|
|
17197
|
+
this.KmsKeyId = 'KmsKeyId' in params ? params.KmsKeyId : null;
|
|
17198
|
+
this.KmsRegion = 'KmsRegion' in params ? params.KmsRegion : null;
|
|
17199
|
+
this.CertId = 'CertId' in params ? params.CertId : null;
|
|
17200
|
+
this.SSLMinVersion = 'SSLMinVersion' in params ? params.SSLMinVersion : null;
|
|
17201
|
+
this.EncryptionMode = 'EncryptionMode' in params ? params.EncryptionMode : null;
|
|
17202
|
+
|
|
17203
|
+
}
|
|
17204
|
+
}
|
|
17205
|
+
|
|
16719
17206
|
/**
|
|
16720
17207
|
* DescribeTendisSlowLog request structure.
|
|
16721
17208
|
* @class
|
|
@@ -17003,6 +17490,7 @@ module.exports = {
|
|
|
17003
17490
|
DescribeInstanceSupportFeatureRequest: DescribeInstanceSupportFeatureRequest,
|
|
17004
17491
|
RedisNodes: RedisNodes,
|
|
17005
17492
|
DescribeInstanceMonitorTopNCmdRequest: DescribeInstanceMonitorTopNCmdRequest,
|
|
17493
|
+
ModifyValkeyModuleRequest: ModifyValkeyModuleRequest,
|
|
17006
17494
|
CreateExportTaskRequest: CreateExportTaskRequest,
|
|
17007
17495
|
DescribeInstanceSecurityGroupRequest: DescribeInstanceSecurityGroupRequest,
|
|
17008
17496
|
InstanceParamHistory: InstanceParamHistory,
|
|
@@ -17045,9 +17533,10 @@ module.exports = {
|
|
|
17045
17533
|
CleanUpInstanceRequest: CleanUpInstanceRequest,
|
|
17046
17534
|
DescribeInstanceDealDetailResponse: DescribeInstanceDealDetailResponse,
|
|
17047
17535
|
ModifyReplicationGroupRequest: ModifyReplicationGroupRequest,
|
|
17536
|
+
UpdateSSLCertResponse: UpdateSSLCertResponse,
|
|
17048
17537
|
Groups: Groups,
|
|
17049
17538
|
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
17050
|
-
|
|
17539
|
+
ModifyValkeyModuleResponse: ModifyValkeyModuleResponse,
|
|
17051
17540
|
ModfiyInstancePasswordRequest: ModfiyInstancePasswordRequest,
|
|
17052
17541
|
DescribeSlowLogRequest: DescribeSlowLogRequest,
|
|
17053
17542
|
Filter: Filter,
|
|
@@ -17112,13 +17601,16 @@ module.exports = {
|
|
|
17112
17601
|
ModifyInstanceReadOnlyRequest: ModifyInstanceReadOnlyRequest,
|
|
17113
17602
|
DescribeInstanceAccountResponse: DescribeInstanceAccountResponse,
|
|
17114
17603
|
DescribeInstanceMonitorBigKeyRequest: DescribeInstanceMonitorBigKeyRequest,
|
|
17604
|
+
ModifySSLEncryptionModeResponse: ModifySSLEncryptionModeResponse,
|
|
17115
17605
|
DescribeBackupDownloadRestrictionRequest: DescribeBackupDownloadRestrictionRequest,
|
|
17116
17606
|
TendisNodes: TendisNodes,
|
|
17117
17607
|
DescribeParamTemplateInfoResponse: DescribeParamTemplateInfoResponse,
|
|
17118
17608
|
SwitchProxyRequest: SwitchProxyRequest,
|
|
17609
|
+
SourceCommand: SourceCommand,
|
|
17119
17610
|
DescribeInstanceSpecBandwidthRequest: DescribeInstanceSpecBandwidthRequest,
|
|
17120
17611
|
SwitchInstanceVipResponse: SwitchInstanceVipResponse,
|
|
17121
17612
|
BackupLimitVpcItem: BackupLimitVpcItem,
|
|
17613
|
+
ModifySSLEncryptionModeRequest: ModifySSLEncryptionModeRequest,
|
|
17122
17614
|
DisassociateSecurityGroupsRequest: DisassociateSecurityGroupsRequest,
|
|
17123
17615
|
ModifyNetworkConfigRequest: ModifyNetworkConfigRequest,
|
|
17124
17616
|
HotKeyInfo: HotKeyInfo,
|
|
@@ -17151,6 +17643,7 @@ module.exports = {
|
|
|
17151
17643
|
InstanceParam: InstanceParam,
|
|
17152
17644
|
DisassociateSecurityGroupsResponse: DisassociateSecurityGroupsResponse,
|
|
17153
17645
|
ClearInstanceResponse: ClearInstanceResponse,
|
|
17646
|
+
UpdateSSLCertRequest: UpdateSSLCertRequest,
|
|
17154
17647
|
DescribeTendisSlowLogRequest: DescribeTendisSlowLogRequest,
|
|
17155
17648
|
InstanceSlowlogDetail: InstanceSlowlogDetail,
|
|
17156
17649
|
|