tencentcloud-sdk-nodejs-intl-en 3.0.1337 → 3.0.1339

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.
@@ -67,6 +67,48 @@ class UpgradeProxyVersionRequest extends AbstractModel {
67
67
  }
68
68
  }
69
69
 
70
+ /**
71
+ * ModifyInstanceChargeType request structure.
72
+ * @class
73
+ */
74
+ class ModifyInstanceChargeTypeRequest extends AbstractModel {
75
+ constructor(){
76
+ super();
77
+
78
+ /**
79
+ * <p>Instance ID Array</p><p>Input parameter limitation: Length of batch operation array not exceeding 20</p>
80
+ * @type {Array.<string> || null}
81
+ */
82
+ this.InstanceIds = null;
83
+
84
+ /**
85
+ * <p>Operation type for billing mode change</p><p>Enumeration value:</p><ul><li>PREPAID: Transition from pay-as-you-go to monthly subscription</li><li>POSTPAID: Monthly subscription to pay-as-you-go</li></ul>
86
+ * @type {string || null}
87
+ */
88
+ this.InstanceChargeType = null;
89
+
90
+ /**
91
+ * <p>Purchase duration is required only when InstanceChargeType=PREPAID.</p><p>Valid values: 1 to 36.</p><p>Unit: months.</p>
92
+ * @type {number || null}
93
+ */
94
+ this.Period = null;
95
+
96
+ }
97
+
98
+ /**
99
+ * @private
100
+ */
101
+ deserialize(params) {
102
+ if (!params) {
103
+ return;
104
+ }
105
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
106
+ this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
107
+ this.Period = 'Period' in params ? params.Period : null;
108
+
109
+ }
110
+ }
111
+
70
112
  /**
71
113
  * RemoveReplicationGroup request structure.
72
114
  * @class
@@ -10882,399 +10924,238 @@ class AvailableRegion extends AbstractModel {
10882
10924
  }
10883
10925
 
10884
10926
  /**
10885
- * List of instance details
10927
+ * Switch failed instance info
10886
10928
  * @class
10887
10929
  */
10888
- class InstanceSet extends AbstractModel {
10930
+ class FailedInstance extends AbstractModel {
10889
10931
  constructor(){
10890
10932
  super();
10891
10933
 
10892
10934
  /**
10893
- * Instance name.
10935
+ * <p>Failed instance ID</p>
10894
10936
  * @type {string || null}
10895
10937
  */
10896
- this.InstanceName = null;
10938
+ this.InstanceId = null;
10897
10939
 
10898
10940
  /**
10899
- * Instance ID.
10941
+ * <p>Failure information</p>
10900
10942
  * @type {string || null}
10901
10943
  */
10902
- this.InstanceId = null;
10944
+ this.Message = null;
10903
10945
 
10904
- /**
10905
- * App ID of a user, which is an application ID that uniquely corresponds to the account ID. Certain Tencent Cloud products use this app ID.
10946
+ }
10906
10947
 
10907
- * @type {number || null}
10908
- */
10909
- this.Appid = null;
10948
+ /**
10949
+ * @private
10950
+ */
10951
+ deserialize(params) {
10952
+ if (!params) {
10953
+ return;
10954
+ }
10955
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10956
+ this.Message = 'Message' in params ? params.Message : null;
10910
10957
 
10911
- /**
10912
- * Project ID.
10913
- * @type {number || null}
10914
- */
10915
- this.ProjectId = null;
10958
+ }
10959
+ }
10916
10960
 
10917
- /**
10918
- * Region ID.<ul><li>1: Guangzhou.</li><li>4: Shanghai.</li><li>5: Hong Kong (China).</li><li>7: Shanghai Finance.</li><li>8: Beijing.</li><li>9: Singapore.</li><li>11: Shenzhen Finance.</li><li>15: Western US (Silicon Valley).</li><li>16: Chengdu.</li><li>17: Frankfurt.</li><li>18: Seoul.</li><li>19: Chongqing.</li><li>22: Eastern US (Virginia).</li><li>23: Bangkok.</li><li>25: Tokyo.</li></ul>
10919
- * @type {number || null}
10920
- */
10921
- this.RegionId = null;
10961
+ /**
10962
+ * ReleaseWanAddress request structure.
10963
+ * @class
10964
+ */
10965
+ class ReleaseWanAddressRequest extends AbstractModel {
10966
+ constructor(){
10967
+ super();
10922
10968
 
10923
10969
  /**
10924
- * Zone ID.
10925
- * @type {number || null}
10970
+ * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
10971
+ * @type {string || null}
10926
10972
  */
10927
- this.ZoneId = null;
10973
+ this.InstanceId = null;
10928
10974
 
10929
- /**
10930
- * VPC ID, for example, 75101.
10931
- * @type {number || null}
10932
- */
10933
- this.VpcId = null;
10975
+ }
10934
10976
 
10935
- /**
10936
- * ID of the subnet under VPC, for example, 46315.
10937
- * @type {number || null}
10938
- */
10939
- this.SubnetId = null;
10977
+ /**
10978
+ * @private
10979
+ */
10980
+ deserialize(params) {
10981
+ if (!params) {
10982
+ return;
10983
+ }
10984
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
10985
+
10986
+ }
10987
+ }
10988
+
10989
+ /**
10990
+ * CloseSSL response structure.
10991
+ * @class
10992
+ */
10993
+ class CloseSSLResponse extends AbstractModel {
10994
+ constructor(){
10995
+ super();
10940
10996
 
10941
10997
  /**
10942
- * Current instance status. <ul><li>0: to be initialized;</li> <li>1: in process;</li> <li>2: running;</li> <li>-2: isolated;</li> <li>-3: to be deleted.</li></ul>
10998
+ * Task ID
10943
10999
  * @type {number || null}
10944
11000
  */
10945
- this.Status = null;
11001
+ this.TaskId = null;
10946
11002
 
10947
11003
  /**
10948
- * Instance VIP.
11004
+ * 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.
10949
11005
  * @type {string || null}
10950
11006
  */
10951
- this.WanIp = null;
11007
+ this.RequestId = null;
10952
11008
 
10953
- /**
10954
- * Instance port number.
10955
- * @type {number || null}
10956
- */
10957
- this.Port = null;
11009
+ }
11010
+
11011
+ /**
11012
+ * @private
11013
+ */
11014
+ deserialize(params) {
11015
+ if (!params) {
11016
+ return;
11017
+ }
11018
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
11019
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
11020
+
11021
+ }
11022
+ }
11023
+
11024
+ /**
11025
+ * ModifyMaintenanceWindow response structure.
11026
+ * @class
11027
+ */
11028
+ class ModifyMaintenanceWindowResponse extends AbstractModel {
11029
+ constructor(){
11030
+ super();
10958
11031
 
10959
11032
  /**
10960
- * Instance creation time, for example, in the format of 2020-01-15 10:20:00.
11033
+ * Modification status. Valid values: success, failed.
10961
11034
  * @type {string || null}
10962
11035
  */
10963
- this.Createtime = null;
11036
+ this.Status = null;
10964
11037
 
10965
11038
  /**
10966
- * Instance memory capacity. Unit: MB (1 MB = 1024 KB).
10967
- * @type {number || null}
11039
+ * 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.
11040
+ * @type {string || null}
10968
11041
  */
10969
- this.Size = null;
11042
+ this.RequestId = null;
10970
11043
 
10971
- /**
10972
- * This parameter has been deprecated. Obtain the memory capacity used by the instance through the TCOP API [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1).
10973
- * @type {number || null}
10974
- */
10975
- this.SizeUsed = null;
11044
+ }
10976
11045
 
10977
- /**
10978
- * Instance type.
11046
+ /**
11047
+ * @private
11048
+ */
11049
+ deserialize(params) {
11050
+ if (!params) {
11051
+ return;
11052
+ }
11053
+ this.Status = 'Status' in params ? params.Status : null;
11054
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10979
11055
 
10980
- - 2: Redis 2.8 memory edition (standard architecture).
10981
- - 3: CKV 3.2 memory edition (standard architecture).
10982
- - 4: CKV 3.2 memory edition (cluster architecture).
10983
- - 5: Redis 2.8 memory edition (standalone).
10984
- - 6: Redis 4.0 memory edition (standard architecture).
10985
- - 7: Redis 4.0 memory edition (cluster architecture).
10986
- - 8: Redis 5.0 memory edition (standard architecture).
10987
- - 9: Redis 5.0 memory edition (cluster architecture).
10988
- - 15: Redis 6.2 memory edition (standard architecture).
10989
- - 16: Redis 6.2 memory edition (cluster architecture).
10990
- - 17: Redis 7.0 memory edition (standard architecture).
10991
- - 18: Redis 7.0 memory edition (cluster architecture).
10992
- - 200: Memcached 1.6 memory edition (cluster architecture).
10993
- * @type {number || null}
10994
- */
10995
- this.Type = null;
11056
+ }
11057
+ }
11058
+
11059
+ /**
11060
+ * CreateReplicationGroup response structure.
11061
+ * @class
11062
+ */
11063
+ class CreateReplicationGroupResponse extends AbstractModel {
11064
+ constructor(){
11065
+ super();
10996
11066
 
10997
11067
  /**
10998
- * Whether the automatic renewal flag is set for an instance. <ul><li>1: set;</li> <li>0: not set.</li></ul>
11068
+ * Asynchronous process ID.
10999
11069
  * @type {number || null}
11000
11070
  */
11001
- this.AutoRenewFlag = null;
11071
+ this.TaskId = null;
11002
11072
 
11003
11073
  /**
11004
- * Expiration time of a monthly subscription instance.
11074
+ * Replication group ID of the string type.
11005
11075
  * @type {string || null}
11006
11076
  */
11007
- this.DeadlineTime = null;
11077
+ this.GroupId = null;
11008
11078
 
11009
11079
  /**
11010
- * Engine. Valid values: Redis Community Edition and Tencent Cloud CKV.
11080
+ * 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.
11011
11081
  * @type {string || null}
11012
11082
  */
11013
- this.Engine = null;
11083
+ this.RequestId = null;
11014
11084
 
11015
- /**
11016
- * Product type. <ul><li>standalone: Standard Edition;</li> <li>cluster: Cluster Edition.</li></ul>
11017
- * @type {string || null}
11018
- */
11019
- this.ProductType = null;
11085
+ }
11086
+
11087
+ /**
11088
+ * @private
11089
+ */
11090
+ deserialize(params) {
11091
+ if (!params) {
11092
+ return;
11093
+ }
11094
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
11095
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
11096
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
11097
+
11098
+ }
11099
+ }
11100
+
11101
+ /**
11102
+ * DescribeInstanceMonitorBigKeyTypeDist request structure.
11103
+ * @class
11104
+ */
11105
+ class DescribeInstanceMonitorBigKeyTypeDistRequest extends AbstractModel {
11106
+ constructor(){
11107
+ super();
11020
11108
 
11021
11109
  /**
11022
- * VPC ID, for example, vpc-fk33jsf43kgv.
11110
+ * Instance ID
11023
11111
  * @type {string || null}
11024
11112
  */
11025
- this.UniqVpcId = null;
11113
+ this.InstanceId = null;
11026
11114
 
11027
11115
  /**
11028
- * ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.
11116
+ * Time, such as "20190219"
11029
11117
  * @type {string || null}
11030
11118
  */
11031
- this.UniqSubnetId = null;
11119
+ this.Date = null;
11032
11120
 
11033
- /**
11034
- * Billing mode. Only pay-as-you-go billing is supported.
11035
- * @type {number || null}
11036
- */
11037
- this.BillingMode = null;
11121
+ }
11038
11122
 
11039
- /**
11040
- * Description of the instance running status, for example, running.
11041
- * @type {string || null}
11042
- */
11043
- this.InstanceTitle = null;
11044
-
11045
- /**
11046
- * Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00. By default, a pay-as-you-go instance will be terminated after 2 hours of isolation, and a monthly subscription instance will be terminated after 7 days.
11047
- * @type {string || null}
11048
- */
11049
- this.OfflineTime = null;
11050
-
11051
- /**
11052
- * Sub-status returned for the instance in the process.
11053
- - 0: disk read-write status.
11054
- - 1: disk read-only status because the upper limit is exceeded.
11055
- * @type {number || null}
11056
- */
11057
- this.SubStatus = null;
11058
-
11059
- /**
11060
- * Anti-affinity tag.
11061
- * @type {Array.<string> || null}
11062
- */
11063
- this.Tags = null;
11064
-
11065
- /**
11066
- * Instance node information.
11067
- * @type {Array.<InstanceNode> || null}
11068
- */
11069
- this.InstanceNode = null;
11070
-
11071
- /**
11072
- * Shard size.
11073
- * @type {number || null}
11074
- */
11075
- this.RedisShardSize = null;
11076
-
11077
- /**
11078
- * Number of shards.
11079
- * @type {number || null}
11080
- */
11081
- this.RedisShardNum = null;
11082
-
11083
- /**
11084
- * Number of replicas.
11085
- * @type {number || null}
11086
- */
11087
- this.RedisReplicasNum = null;
11088
-
11089
- /**
11090
- * Billing ID.
11091
- * @type {number || null}
11092
- */
11093
- this.PriceId = null;
11094
-
11095
- /**
11096
- * Time when an instance starts to be isolated.
11097
- * @type {string || null}
11098
- */
11099
- this.CloseTime = null;
11100
-
11101
- /**
11102
- * Read weight of a secondary node.
11103
- - 0: disable read-only replicas.
11104
- - 100: enable read-only replicas.
11105
- * @type {number || null}
11106
- */
11107
- this.SlaveReadWeight = null;
11108
-
11109
- /**
11110
- * Information on tags associated with the instance.
11111
- * @type {Array.<InstanceTagInfo> || null}
11112
- */
11113
- this.InstanceTags = null;
11114
-
11115
- /**
11116
- * Project name
11117
- * @type {string || null}
11118
- */
11119
- this.ProjectName = null;
11120
-
11121
- /**
11122
- * Whether the instance is password-free.<ul><li>true: password-free instance.</li><li>false: password required by the instance.</li></ul>
11123
- * @type {boolean || null}
11124
- */
11125
- this.NoAuth = null;
11126
-
11127
- /**
11128
- * Number of client connections.
11129
- * @type {number || null}
11130
- */
11131
- this.ClientLimit = null;
11132
-
11133
- /**
11134
- * DTS status. (Internal parameter, which can be ignored.)
11135
- * @type {number || null}
11136
- */
11137
- this.DtsStatus = null;
11138
-
11139
- /**
11140
- * Shard bandwidth limit. Unit: MB.
11141
- * @type {number || null}
11142
- */
11143
- this.NetLimit = null;
11144
-
11145
- /**
11146
- * Password-free instance flag. (Internal parameter, which can be ignored.)
11147
- * @type {number || null}
11148
- */
11149
- this.PasswordFree = null;
11150
-
11151
- /**
11152
- * This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
11153
- * @type {string || null}
11154
- */
11155
- this.Vip6 = null;
11156
-
11157
- /**
11158
- * Internal parameter, which can be ignored.
11159
- * @type {string || null}
11160
- */
11161
- this.IPv6 = null;
11162
-
11163
- /**
11164
- * Instance read-only flag. (Internal parameter, which can be ignored.)
11165
- * @type {number || null}
11166
- */
11167
- this.ReadOnly = null;
11168
-
11169
- /**
11170
- * Internal parameter, which can be ignored.
11171
- * @type {string || null}
11172
- */
11173
- this.RemainBandwidthDuration = null;
11174
-
11175
- /**
11176
- * For TencentDB for Redis® instances, ignore this parameter.
11177
- * @type {number || null}
11178
- */
11179
- this.DiskSize = null;
11180
-
11181
- /**
11182
- * Monitoring version.<ul><li>1m: monitoring with the 1-minute granularity. Currently, this monitoring granularity is unavailable. For details, see [1-Minute Granularity Will Be Disused](https://intl.cloud.tencent.com/document/product/239/80653?from_cn_redirect=1).</li><li>5s: monitoring with the 5-second granularity.</li></ul>
11183
- * @type {string || null}
11184
- */
11185
- this.MonitorVersion = null;
11186
-
11187
- /**
11188
- * Minimum value that can be set for the maximum number of client connections.
11189
- * @type {number || null}
11190
- */
11191
- this.ClientLimitMin = null;
11192
-
11193
- /**
11194
- * Maximum value that can be set for the maximum number of client connections.
11195
- * @type {number || null}
11196
- */
11197
- this.ClientLimitMax = null;
11198
-
11199
- /**
11200
- * Node details of the instance.
11201
-
11202
- It is returned only for multi-AZ instances.
11203
- * @type {Array.<RedisNodeInfo> || null}
11204
- */
11205
- this.NodeSet = null;
11206
-
11207
- /**
11208
- * Region information on the instance. For example, ap-guangzhou.
11209
- * @type {string || null}
11210
- */
11211
- this.Region = null;
11212
-
11213
- /**
11214
- * Public network address.
11215
- * @type {string || null}
11216
- */
11217
- this.WanAddress = null;
11218
-
11219
- /**
11220
- * Polaris service address for internal use.
11221
- * @type {string || null}
11222
- */
11223
- this.PolarisServer = null;
11224
-
11225
- /**
11226
- * CDC cluster ID of TencentDB for Redis®.
11227
- * @type {string || null}
11228
- */
11229
- this.RedisClusterId = null;
11230
-
11231
- /**
11232
- * CDC cluster ID.
11233
- * @type {string || null}
11234
- */
11235
- this.DedicatedClusterId = null;
11236
-
11237
- /**
11238
- * Product edition.<ul><li>local: local disk.</li><li>cloud: cloud disk edition.</li><li>cdc: CDC cluster edition.</li></ul>
11239
- * @type {string || null}
11240
- */
11241
- this.ProductVersion = null;
11242
-
11243
- /**
11244
- * Current proxy version of the instance.
11245
- * @type {string || null}
11246
- */
11247
- this.CurrentProxyVersion = null;
11248
-
11249
- /**
11250
- * Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.
11251
- * @type {string || null}
11252
- */
11253
- this.CurrentRedisVersion = null;
11123
+ /**
11124
+ * @private
11125
+ */
11126
+ deserialize(params) {
11127
+ if (!params) {
11128
+ return;
11129
+ }
11130
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11131
+ this.Date = 'Date' in params ? params.Date : null;
11254
11132
 
11255
- /**
11256
- * Upgradable proxy version for the instance.
11257
- * @type {string || null}
11258
- */
11259
- this.UpgradeProxyVersion = null;
11133
+ }
11134
+ }
11260
11135
 
11261
- /**
11262
- * Upgradable cache minor version for the instance.
11263
- * @type {string || null}
11264
- */
11265
- this.UpgradeRedisVersion = null;
11136
+ /**
11137
+ * DescribeInstanceMonitorTopNCmdTook request structure.
11138
+ * @class
11139
+ */
11140
+ class DescribeInstanceMonitorTopNCmdTookRequest extends AbstractModel {
11141
+ constructor(){
11142
+ super();
11266
11143
 
11267
11144
  /**
11268
- * Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
11145
+ * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11269
11146
  * @type {string || null}
11270
11147
  */
11271
- this.BackupMode = null;
11148
+ this.InstanceId = null;
11272
11149
 
11273
11150
  /**
11274
- * Deletion protection switch. 0: disabled; 1: enabled.
11151
+ * Query time range.
11152
+ - 1: real-time.
11153
+ - 2: last 30 minutes.
11154
+ - 3: last 6 hours.
11155
+ - 4: last 24 hours.
11275
11156
  * @type {number || null}
11276
11157
  */
11277
- this.DeleteProtectionSwitch = null;
11158
+ this.SpanType = null;
11278
11159
 
11279
11160
  }
11280
11161
 
@@ -11285,108 +11166,31 @@ It is returned only for multi-AZ instances.
11285
11166
  if (!params) {
11286
11167
  return;
11287
11168
  }
11288
- this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
11289
11169
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11290
- this.Appid = 'Appid' in params ? params.Appid : null;
11291
- this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
11292
- this.RegionId = 'RegionId' in params ? params.RegionId : null;
11293
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
11294
- this.VpcId = 'VpcId' in params ? params.VpcId : null;
11295
- this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
11296
- this.Status = 'Status' in params ? params.Status : null;
11297
- this.WanIp = 'WanIp' in params ? params.WanIp : null;
11298
- this.Port = 'Port' in params ? params.Port : null;
11299
- this.Createtime = 'Createtime' in params ? params.Createtime : null;
11300
- this.Size = 'Size' in params ? params.Size : null;
11301
- this.SizeUsed = 'SizeUsed' in params ? params.SizeUsed : null;
11302
- this.Type = 'Type' in params ? params.Type : null;
11303
- this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
11304
- this.DeadlineTime = 'DeadlineTime' in params ? params.DeadlineTime : null;
11305
- this.Engine = 'Engine' in params ? params.Engine : null;
11306
- this.ProductType = 'ProductType' in params ? params.ProductType : null;
11307
- this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
11308
- this.UniqSubnetId = 'UniqSubnetId' in params ? params.UniqSubnetId : null;
11309
- this.BillingMode = 'BillingMode' in params ? params.BillingMode : null;
11310
- this.InstanceTitle = 'InstanceTitle' in params ? params.InstanceTitle : null;
11311
- this.OfflineTime = 'OfflineTime' in params ? params.OfflineTime : null;
11312
- this.SubStatus = 'SubStatus' in params ? params.SubStatus : null;
11313
- this.Tags = 'Tags' in params ? params.Tags : null;
11314
-
11315
- if (params.InstanceNode) {
11316
- this.InstanceNode = new Array();
11317
- for (let z in params.InstanceNode) {
11318
- let obj = new InstanceNode();
11319
- obj.deserialize(params.InstanceNode[z]);
11320
- this.InstanceNode.push(obj);
11321
- }
11322
- }
11323
- this.RedisShardSize = 'RedisShardSize' in params ? params.RedisShardSize : null;
11324
- this.RedisShardNum = 'RedisShardNum' in params ? params.RedisShardNum : null;
11325
- this.RedisReplicasNum = 'RedisReplicasNum' in params ? params.RedisReplicasNum : null;
11326
- this.PriceId = 'PriceId' in params ? params.PriceId : null;
11327
- this.CloseTime = 'CloseTime' in params ? params.CloseTime : null;
11328
- this.SlaveReadWeight = 'SlaveReadWeight' in params ? params.SlaveReadWeight : null;
11329
-
11330
- if (params.InstanceTags) {
11331
- this.InstanceTags = new Array();
11332
- for (let z in params.InstanceTags) {
11333
- let obj = new InstanceTagInfo();
11334
- obj.deserialize(params.InstanceTags[z]);
11335
- this.InstanceTags.push(obj);
11336
- }
11337
- }
11338
- this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
11339
- this.NoAuth = 'NoAuth' in params ? params.NoAuth : null;
11340
- this.ClientLimit = 'ClientLimit' in params ? params.ClientLimit : null;
11341
- this.DtsStatus = 'DtsStatus' in params ? params.DtsStatus : null;
11342
- this.NetLimit = 'NetLimit' in params ? params.NetLimit : null;
11343
- this.PasswordFree = 'PasswordFree' in params ? params.PasswordFree : null;
11344
- this.Vip6 = 'Vip6' in params ? params.Vip6 : null;
11345
- this.IPv6 = 'IPv6' in params ? params.IPv6 : null;
11346
- this.ReadOnly = 'ReadOnly' in params ? params.ReadOnly : null;
11347
- this.RemainBandwidthDuration = 'RemainBandwidthDuration' in params ? params.RemainBandwidthDuration : null;
11348
- this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
11349
- this.MonitorVersion = 'MonitorVersion' in params ? params.MonitorVersion : null;
11350
- this.ClientLimitMin = 'ClientLimitMin' in params ? params.ClientLimitMin : null;
11351
- this.ClientLimitMax = 'ClientLimitMax' in params ? params.ClientLimitMax : null;
11352
-
11353
- if (params.NodeSet) {
11354
- this.NodeSet = new Array();
11355
- for (let z in params.NodeSet) {
11356
- let obj = new RedisNodeInfo();
11357
- obj.deserialize(params.NodeSet[z]);
11358
- this.NodeSet.push(obj);
11359
- }
11360
- }
11361
- this.Region = 'Region' in params ? params.Region : null;
11362
- this.WanAddress = 'WanAddress' in params ? params.WanAddress : null;
11363
- this.PolarisServer = 'PolarisServer' in params ? params.PolarisServer : null;
11364
- this.RedisClusterId = 'RedisClusterId' in params ? params.RedisClusterId : null;
11365
- this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
11366
- this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
11367
- this.CurrentProxyVersion = 'CurrentProxyVersion' in params ? params.CurrentProxyVersion : null;
11368
- this.CurrentRedisVersion = 'CurrentRedisVersion' in params ? params.CurrentRedisVersion : null;
11369
- this.UpgradeProxyVersion = 'UpgradeProxyVersion' in params ? params.UpgradeProxyVersion : null;
11370
- this.UpgradeRedisVersion = 'UpgradeRedisVersion' in params ? params.UpgradeRedisVersion : null;
11371
- this.BackupMode = 'BackupMode' in params ? params.BackupMode : null;
11372
- this.DeleteProtectionSwitch = 'DeleteProtectionSwitch' in params ? params.DeleteProtectionSwitch : null;
11170
+ this.SpanType = 'SpanType' in params ? params.SpanType : null;
11373
11171
 
11374
11172
  }
11375
11173
  }
11376
11174
 
11377
11175
  /**
11378
- * ReleaseWanAddress request structure.
11176
+ * DestroyPrepaidInstance response structure.
11379
11177
  * @class
11380
11178
  */
11381
- class ReleaseWanAddressRequest extends AbstractModel {
11179
+ class DestroyPrepaidInstanceResponse extends AbstractModel {
11382
11180
  constructor(){
11383
11181
  super();
11384
11182
 
11385
11183
  /**
11386
- * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11184
+ * Order ID
11185
+ * @type {string || null}
11186
+ */
11187
+ this.DealId = null;
11188
+
11189
+ /**
11190
+ * 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.
11387
11191
  * @type {string || null}
11388
11192
  */
11389
- this.InstanceId = null;
11193
+ this.RequestId = null;
11390
11194
 
11391
11195
  }
11392
11196
 
@@ -11397,30 +11201,49 @@ class ReleaseWanAddressRequest extends AbstractModel {
11397
11201
  if (!params) {
11398
11202
  return;
11399
11203
  }
11400
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11204
+ this.DealId = 'DealId' in params ? params.DealId : null;
11205
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
11401
11206
 
11402
11207
  }
11403
11208
  }
11404
11209
 
11405
11210
  /**
11406
- * CloseSSL response structure.
11211
+ * Information of the instance node group
11407
11212
  * @class
11408
11213
  */
11409
- class CloseSSLResponse extends AbstractModel {
11214
+ class ReplicaGroup extends AbstractModel {
11410
11215
  constructor(){
11411
11216
  super();
11412
11217
 
11413
11218
  /**
11414
- * Task ID
11219
+ * Node group ID
11415
11220
  * @type {number || null}
11416
11221
  */
11417
- this.TaskId = null;
11222
+ this.GroupId = null;
11418
11223
 
11419
11224
  /**
11420
- * 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.
11225
+ * Node group name, which is empty for the master node
11421
11226
  * @type {string || null}
11422
11227
  */
11423
- this.RequestId = null;
11228
+ this.GroupName = null;
11229
+
11230
+ /**
11231
+ * Node AZ ID, such as ap-guangzhou-1
11232
+ * @type {string || null}
11233
+ */
11234
+ this.ZoneId = null;
11235
+
11236
+ /**
11237
+ * Node group type. master: primary node; replica: replica node.
11238
+ * @type {string || null}
11239
+ */
11240
+ this.Role = null;
11241
+
11242
+ /**
11243
+ * List of nodes in the node group
11244
+ * @type {Array.<RedisNode> || null}
11245
+ */
11246
+ this.RedisNodes = null;
11424
11247
 
11425
11248
  }
11426
11249
 
@@ -11431,31 +11254,37 @@ class CloseSSLResponse extends AbstractModel {
11431
11254
  if (!params) {
11432
11255
  return;
11433
11256
  }
11434
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
11435
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
11257
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
11258
+ this.GroupName = 'GroupName' in params ? params.GroupName : null;
11259
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
11260
+ this.Role = 'Role' in params ? params.Role : null;
11261
+
11262
+ if (params.RedisNodes) {
11263
+ this.RedisNodes = new Array();
11264
+ for (let z in params.RedisNodes) {
11265
+ let obj = new RedisNode();
11266
+ obj.deserialize(params.RedisNodes[z]);
11267
+ this.RedisNodes.push(obj);
11268
+ }
11269
+ }
11436
11270
 
11437
11271
  }
11438
11272
  }
11439
11273
 
11440
11274
  /**
11441
- * ModifyMaintenanceWindow response structure.
11275
+ * DescribeRedisClusterOverview request structure.
11442
11276
  * @class
11443
11277
  */
11444
- class ModifyMaintenanceWindowResponse extends AbstractModel {
11278
+ class DescribeRedisClusterOverviewRequest extends AbstractModel {
11445
11279
  constructor(){
11446
11280
  super();
11447
11281
 
11448
11282
  /**
11449
- * Modification status. Valid values: success, failed.
11450
- * @type {string || null}
11451
- */
11452
- this.Status = null;
11453
-
11454
- /**
11455
- * 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.
11283
+ * CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
11284
+ and obtain the cluster ID in the instance list.
11456
11285
  * @type {string || null}
11457
11286
  */
11458
- this.RequestId = null;
11287
+ this.DedicatedClusterId = null;
11459
11288
 
11460
11289
  }
11461
11290
 
@@ -11466,31 +11295,30 @@ class ModifyMaintenanceWindowResponse extends AbstractModel {
11466
11295
  if (!params) {
11467
11296
  return;
11468
11297
  }
11469
- this.Status = 'Status' in params ? params.Status : null;
11470
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
11298
+ this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
11471
11299
 
11472
11300
  }
11473
11301
  }
11474
11302
 
11475
11303
  /**
11476
- * CreateReplicationGroup response structure.
11304
+ * DescribeCommonDBInstances response structure.
11477
11305
  * @class
11478
11306
  */
11479
- class CreateReplicationGroupResponse extends AbstractModel {
11307
+ class DescribeCommonDBInstancesResponse extends AbstractModel {
11480
11308
  constructor(){
11481
11309
  super();
11482
11310
 
11483
11311
  /**
11484
- * Asynchronous process ID.
11312
+ * Number of instances
11485
11313
  * @type {number || null}
11486
11314
  */
11487
- this.TaskId = null;
11315
+ this.TotalCount = null;
11488
11316
 
11489
11317
  /**
11490
- * Replication group ID of the string type.
11491
- * @type {string || null}
11318
+ * Instance information
11319
+ * @type {Array.<RedisCommonInstanceList> || null}
11492
11320
  */
11493
- this.GroupId = null;
11321
+ this.InstanceDetails = null;
11494
11322
 
11495
11323
  /**
11496
11324
  * 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.
@@ -11507,32 +11335,117 @@ class CreateReplicationGroupResponse extends AbstractModel {
11507
11335
  if (!params) {
11508
11336
  return;
11509
11337
  }
11510
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
11511
- this.GroupId = 'GroupId' in params ? params.GroupId : null;
11338
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
11339
+
11340
+ if (params.InstanceDetails) {
11341
+ this.InstanceDetails = new Array();
11342
+ for (let z in params.InstanceDetails) {
11343
+ let obj = new RedisCommonInstanceList();
11344
+ obj.deserialize(params.InstanceDetails[z]);
11345
+ this.InstanceDetails.push(obj);
11346
+ }
11347
+ }
11512
11348
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
11513
11349
 
11514
11350
  }
11515
11351
  }
11516
11352
 
11517
11353
  /**
11518
- * DescribeInstanceMonitorBigKeyTypeDist request structure.
11354
+ * InquiryPriceCreateInstance request structure.
11519
11355
  * @class
11520
11356
  */
11521
- class DescribeInstanceMonitorBigKeyTypeDistRequest extends AbstractModel {
11357
+ class InquiryPriceCreateInstanceRequest extends AbstractModel {
11522
11358
  constructor(){
11523
11359
  super();
11524
11360
 
11525
11361
  /**
11526
- * Instance ID
11362
+ * Instance type.
11363
+
11364
+ - 2: Redis 2.8 memory edition (standard architecture).
11365
+ - 6: Redis 4.0 memory edition (standard architecture).
11366
+ - 7: Redis 4.0 memory edition (cluster architecture).
11367
+ - 8: Redis 5.0 memory edition (standard architecture).
11368
+ - 9: Redis 5.0 memory edition (cluster architecture).
11369
+ - 15: Redis 6.2 memory edition (standard architecture).
11370
+ - 16: Redis 6.2 memory edition (cluster architecture).
11371
+ - 17: Redis 7.0 memory edition (standard architecture).
11372
+ - 18: Redis 7.0 memory edition (cluster architecture).
11373
+ - 200: Memcached 1.6 memory edition (cluster architecture).
11374
+ * @type {number || null}
11375
+ */
11376
+ this.TypeId = null;
11377
+
11378
+ /**
11379
+ * Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
11380
+ If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.
11381
+ * @type {number || null}
11382
+ */
11383
+ this.MemSize = null;
11384
+
11385
+ /**
11386
+ * Number of instances. The actual quantity purchasable at a time is subject to the specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
11387
+ * @type {number || null}
11388
+ */
11389
+ this.GoodsNum = null;
11390
+
11391
+ /**
11392
+ * Length of purchase in months, which is required when creating a monthly-subscribed instance. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. For pay-as-you-go instances, set the parameter to `1`.
11393
+ * @type {number || null}
11394
+ */
11395
+ this.Period = null;
11396
+
11397
+ /**
11398
+ * Billing mode.
11399
+ - 0: pay-as-you-go.
11400
+ - 1: monthly subscription.
11401
+ * @type {number || null}
11402
+ */
11403
+ this.BillingMode = null;
11404
+
11405
+ /**
11406
+ * ID of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1).
11407
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11408
+ * @type {number || null}
11409
+ */
11410
+ this.ZoneId = null;
11411
+
11412
+ /**
11413
+ * Number of instance shards.
11414
+ - The number of shards is required to be set to 1 for the standard architecture.
11415
+ - The number of shards can be set to 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, or 128 for the cluster architecture.
11416
+ * @type {number || null}
11417
+ */
11418
+ this.RedisShardNum = null;
11419
+
11420
+ /**
11421
+ * Number of instance replicas. Valid values: 1, 2, 3, 4, and 5.
11422
+ * @type {number || null}
11423
+ */
11424
+ this.RedisReplicasNum = null;
11425
+
11426
+ /**
11427
+ * Whether replica read-only is supported. For the standard architecture of Redis 2.8 and CKV, this parameter does not need to be configured.
11428
+ - true: Replica read-only is not required.
11429
+ - false: Replica read-only is required.
11430
+ * @type {boolean || null}
11431
+ */
11432
+ this.ReplicasReadonly = null;
11433
+
11434
+ /**
11435
+ * Name of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1).
11436
+ **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11527
11437
  * @type {string || null}
11528
11438
  */
11529
- this.InstanceId = null;
11439
+ this.ZoneName = null;
11530
11440
 
11531
11441
  /**
11532
- * Time, such as "20190219"
11442
+ * Deployment mode.
11443
+ - local: local disk. This is the default value.
11444
+ - cloud: cloud disk.
11445
+ - cdc: CDC.
11533
11446
  * @type {string || null}
11534
11447
  */
11535
- this.Date = null;
11448
+ this.ProductVersion = null;
11536
11449
 
11537
11450
  }
11538
11451
 
@@ -11543,35 +11456,90 @@ class DescribeInstanceMonitorBigKeyTypeDistRequest extends AbstractModel {
11543
11456
  if (!params) {
11544
11457
  return;
11545
11458
  }
11546
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11547
- this.Date = 'Date' in params ? params.Date : null;
11459
+ this.TypeId = 'TypeId' in params ? params.TypeId : null;
11460
+ this.MemSize = 'MemSize' in params ? params.MemSize : null;
11461
+ this.GoodsNum = 'GoodsNum' in params ? params.GoodsNum : null;
11462
+ this.Period = 'Period' in params ? params.Period : null;
11463
+ this.BillingMode = 'BillingMode' in params ? params.BillingMode : null;
11464
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
11465
+ this.RedisShardNum = 'RedisShardNum' in params ? params.RedisShardNum : null;
11466
+ this.RedisReplicasNum = 'RedisReplicasNum' in params ? params.RedisReplicasNum : null;
11467
+ this.ReplicasReadonly = 'ReplicasReadonly' in params ? params.ReplicasReadonly : null;
11468
+ this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
11469
+ this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
11548
11470
 
11549
11471
  }
11550
11472
  }
11551
11473
 
11552
11474
  /**
11553
- * DescribeInstanceMonitorTopNCmdTook request structure.
11475
+ * DescribeRedisClusters request structure.
11554
11476
  * @class
11555
11477
  */
11556
- class DescribeInstanceMonitorTopNCmdTookRequest extends AbstractModel {
11478
+ class DescribeRedisClustersRequest extends AbstractModel {
11557
11479
  constructor(){
11558
11480
  super();
11559
11481
 
11560
11482
  /**
11561
- * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11483
+ * Dedicated Redis cluster ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1),
11484
+ switch to the **Cloud Service Management** page, select **TencentDB for Redis** from the drop-down list, and obtain the dedicated cluster ID.
11485
+ * @type {Array.<string> || null}
11486
+ */
11487
+ this.RedisClusterIds = null;
11488
+
11489
+ /**
11490
+ * Cluster status.
11491
+ - 1: in process.
11492
+ - 2: running.
11493
+ - 3: isolated.
11494
+ * @type {Array.<number> || null}
11495
+ */
11496
+ this.Status = null;
11497
+
11498
+ /**
11499
+ * Project ID array. Log in to the [project management](https://console.tencentcloud.com/project) page and copy the project ID in **Project Name**.
11500
+ * @type {Array.<number> || null}
11501
+ */
11502
+ this.ProjectIds = null;
11503
+
11504
+ /**
11505
+ * Renewal mode.
11506
+ - 0: default status (manual renewal).
11507
+ - 1: automatic renewal.
11508
+ - 2: no automatic renewal.
11509
+ * @type {Array.<number> || null}
11510
+ */
11511
+ this.AutoRenewFlag = null;
11512
+
11513
+ /**
11514
+ * Dedicated Redis cluster name.
11562
11515
  * @type {string || null}
11563
11516
  */
11564
- this.InstanceId = null;
11517
+ this.ClusterName = null;
11565
11518
 
11566
11519
  /**
11567
- * Query time range.
11568
- - 1: real-time.
11569
- - 2: last 30 minutes.
11570
- - 3: last 6 hours.
11571
- - 4: last 24 hours.
11520
+ * Search keyword. Valid values: cluster ID and cluster name.
11521
+ * @type {string || null}
11522
+ */
11523
+ this.SearchKey = null;
11524
+
11525
+ /**
11526
+ * Limit on the number of records returned in pagination mode. If this parameter is not specified, the value 20 will be used by default.
11572
11527
  * @type {number || null}
11573
11528
  */
11574
- this.SpanType = null;
11529
+ this.Limit = null;
11530
+
11531
+ /**
11532
+ * Offset, which is an integer multiple of Limit.
11533
+ * @type {number || null}
11534
+ */
11535
+ this.Offset = null;
11536
+
11537
+ /**
11538
+ * CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
11539
+ and obtain the cluster ID in the instance list.
11540
+ * @type {string || null}
11541
+ */
11542
+ this.DedicatedClusterId = null;
11575
11543
 
11576
11544
  }
11577
11545
 
@@ -11582,25 +11550,32 @@ class DescribeInstanceMonitorTopNCmdTookRequest extends AbstractModel {
11582
11550
  if (!params) {
11583
11551
  return;
11584
11552
  }
11585
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11586
- this.SpanType = 'SpanType' in params ? params.SpanType : null;
11553
+ this.RedisClusterIds = 'RedisClusterIds' in params ? params.RedisClusterIds : null;
11554
+ this.Status = 'Status' in params ? params.Status : null;
11555
+ this.ProjectIds = 'ProjectIds' in params ? params.ProjectIds : null;
11556
+ this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
11557
+ this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
11558
+ this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
11559
+ this.Limit = 'Limit' in params ? params.Limit : null;
11560
+ this.Offset = 'Offset' in params ? params.Offset : null;
11561
+ this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
11587
11562
 
11588
11563
  }
11589
11564
  }
11590
11565
 
11591
11566
  /**
11592
- * DestroyPrepaidInstance response structure.
11567
+ * UpgradeSmallVersion response structure.
11593
11568
  * @class
11594
11569
  */
11595
- class DestroyPrepaidInstanceResponse extends AbstractModel {
11570
+ class UpgradeSmallVersionResponse extends AbstractModel {
11596
11571
  constructor(){
11597
11572
  super();
11598
11573
 
11599
11574
  /**
11600
- * Order ID
11601
- * @type {string || null}
11575
+ * Async task ID
11576
+ * @type {number || null}
11602
11577
  */
11603
- this.DealId = null;
11578
+ this.FlowId = null;
11604
11579
 
11605
11580
  /**
11606
11581
  * 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.
@@ -11617,49 +11592,31 @@ class DestroyPrepaidInstanceResponse extends AbstractModel {
11617
11592
  if (!params) {
11618
11593
  return;
11619
11594
  }
11620
- this.DealId = 'DealId' in params ? params.DealId : null;
11595
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
11621
11596
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
11622
11597
 
11623
11598
  }
11624
11599
  }
11625
11600
 
11626
11601
  /**
11627
- * Information of the instance node group
11602
+ * ModifyInstanceParams request structure.
11628
11603
  * @class
11629
11604
  */
11630
- class ReplicaGroup extends AbstractModel {
11605
+ class ModifyInstanceParamsRequest extends AbstractModel {
11631
11606
  constructor(){
11632
11607
  super();
11633
11608
 
11634
11609
  /**
11635
- * Node group ID
11636
- * @type {number || null}
11637
- */
11638
- this.GroupId = null;
11639
-
11640
- /**
11641
- * Node group name, which is empty for the master node
11642
- * @type {string || null}
11643
- */
11644
- this.GroupName = null;
11645
-
11646
- /**
11647
- * Node AZ ID, such as ap-guangzhou-1
11648
- * @type {string || null}
11649
- */
11650
- this.ZoneId = null;
11651
-
11652
- /**
11653
- * Node group type. master: primary node; replica: replica node.
11610
+ * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11654
11611
  * @type {string || null}
11655
11612
  */
11656
- this.Role = null;
11613
+ this.InstanceId = null;
11657
11614
 
11658
11615
  /**
11659
- * List of nodes in the node group
11660
- * @type {Array.<RedisNode> || null}
11616
+ * List of instance parameters modified
11617
+ * @type {Array.<InstanceParam> || null}
11661
11618
  */
11662
- this.RedisNodes = null;
11619
+ this.InstanceParams = null;
11663
11620
 
11664
11621
  }
11665
11622
 
@@ -11670,17 +11627,14 @@ class ReplicaGroup extends AbstractModel {
11670
11627
  if (!params) {
11671
11628
  return;
11672
11629
  }
11673
- this.GroupId = 'GroupId' in params ? params.GroupId : null;
11674
- this.GroupName = 'GroupName' in params ? params.GroupName : null;
11675
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
11676
- this.Role = 'Role' in params ? params.Role : null;
11630
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11677
11631
 
11678
- if (params.RedisNodes) {
11679
- this.RedisNodes = new Array();
11680
- for (let z in params.RedisNodes) {
11681
- let obj = new RedisNode();
11682
- obj.deserialize(params.RedisNodes[z]);
11683
- this.RedisNodes.push(obj);
11632
+ if (params.InstanceParams) {
11633
+ this.InstanceParams = new Array();
11634
+ for (let z in params.InstanceParams) {
11635
+ let obj = new InstanceParam();
11636
+ obj.deserialize(params.InstanceParams[z]);
11637
+ this.InstanceParams.push(obj);
11684
11638
  }
11685
11639
  }
11686
11640
 
@@ -11688,19 +11642,18 @@ class ReplicaGroup extends AbstractModel {
11688
11642
  }
11689
11643
 
11690
11644
  /**
11691
- * DescribeRedisClusterOverview request structure.
11645
+ * DescribeSSLStatus request structure.
11692
11646
  * @class
11693
11647
  */
11694
- class DescribeRedisClusterOverviewRequest extends AbstractModel {
11648
+ class DescribeSSLStatusRequest extends AbstractModel {
11695
11649
  constructor(){
11696
11650
  super();
11697
11651
 
11698
11652
  /**
11699
- * CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
11700
- and obtain the cluster ID in the instance list.
11653
+ * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
11701
11654
  * @type {string || null}
11702
11655
  */
11703
- this.DedicatedClusterId = null;
11656
+ this.InstanceId = null;
11704
11657
 
11705
11658
  }
11706
11659
 
@@ -11711,36 +11664,24 @@ and obtain the cluster ID in the instance list.
11711
11664
  if (!params) {
11712
11665
  return;
11713
11666
  }
11714
- this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
11667
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11715
11668
 
11716
11669
  }
11717
11670
  }
11718
11671
 
11719
11672
  /**
11720
- * DescribeCommonDBInstances response structure.
11673
+ * OpenSSL request structure.
11721
11674
  * @class
11722
11675
  */
11723
- class DescribeCommonDBInstancesResponse extends AbstractModel {
11676
+ class OpenSSLRequest extends AbstractModel {
11724
11677
  constructor(){
11725
11678
  super();
11726
11679
 
11727
11680
  /**
11728
- * Number of instances
11729
- * @type {number || null}
11730
- */
11731
- this.TotalCount = null;
11732
-
11733
- /**
11734
- * Instance information
11735
- * @type {Array.<RedisCommonInstanceList> || null}
11736
- */
11737
- this.InstanceDetails = null;
11738
-
11739
- /**
11740
- * 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.
11681
+ * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11741
11682
  * @type {string || null}
11742
11683
  */
11743
- this.RequestId = null;
11684
+ this.InstanceId = null;
11744
11685
 
11745
11686
  }
11746
11687
 
@@ -11751,117 +11692,42 @@ class DescribeCommonDBInstancesResponse extends AbstractModel {
11751
11692
  if (!params) {
11752
11693
  return;
11753
11694
  }
11754
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
11755
-
11756
- if (params.InstanceDetails) {
11757
- this.InstanceDetails = new Array();
11758
- for (let z in params.InstanceDetails) {
11759
- let obj = new RedisCommonInstanceList();
11760
- obj.deserialize(params.InstanceDetails[z]);
11761
- this.InstanceDetails.push(obj);
11762
- }
11763
- }
11764
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
11695
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11765
11696
 
11766
11697
  }
11767
11698
  }
11768
11699
 
11769
11700
  /**
11770
- * InquiryPriceCreateInstance request structure.
11701
+ * Backup download information
11771
11702
  * @class
11772
11703
  */
11773
- class InquiryPriceCreateInstanceRequest extends AbstractModel {
11704
+ class BackupDownloadInfo extends AbstractModel {
11774
11705
  constructor(){
11775
11706
  super();
11776
11707
 
11777
11708
  /**
11778
- * Instance type.
11779
-
11780
- - 2: Redis 2.8 memory edition (standard architecture).
11781
- - 6: Redis 4.0 memory edition (standard architecture).
11782
- - 7: Redis 4.0 memory edition (cluster architecture).
11783
- - 8: Redis 5.0 memory edition (standard architecture).
11784
- - 9: Redis 5.0 memory edition (cluster architecture).
11785
- - 15: Redis 6.2 memory edition (standard architecture).
11786
- - 16: Redis 6.2 memory edition (cluster architecture).
11787
- - 17: Redis 7.0 memory edition (standard architecture).
11788
- - 18: Redis 7.0 memory edition (cluster architecture).
11789
- - 200: Memcached 1.6 memory edition (cluster architecture).
11790
- * @type {number || null}
11791
- */
11792
- this.TypeId = null;
11793
-
11794
- /**
11795
- * Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
11796
- If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.
11797
- * @type {number || null}
11798
- */
11799
- this.MemSize = null;
11800
-
11801
- /**
11802
- * Number of instances. The actual quantity purchasable at a time is subject to the specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
11803
- * @type {number || null}
11804
- */
11805
- this.GoodsNum = null;
11806
-
11807
- /**
11808
- * Length of purchase in months, which is required when creating a monthly-subscribed instance. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. For pay-as-you-go instances, set the parameter to `1`.
11809
- * @type {number || null}
11810
- */
11811
- this.Period = null;
11812
-
11813
- /**
11814
- * Billing mode.
11815
- - 0: pay-as-you-go.
11816
- - 1: monthly subscription.
11817
- * @type {number || null}
11818
- */
11819
- this.BillingMode = null;
11820
-
11821
- /**
11822
- * ID of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1).
11823
- **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11824
- * @type {number || null}
11825
- */
11826
- this.ZoneId = null;
11827
-
11828
- /**
11829
- * Number of instance shards.
11830
- - The number of shards is required to be set to 1 for the standard architecture.
11831
- - The number of shards can be set to 1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, or 128 for the cluster architecture.
11832
- * @type {number || null}
11709
+ * Backup file name
11710
+ * @type {string || null}
11833
11711
  */
11834
- this.RedisShardNum = null;
11712
+ this.FileName = null;
11835
11713
 
11836
11714
  /**
11837
- * Number of instance replicas. Valid values: 1, 2, 3, 4, and 5.
11715
+ * Backup file size in bytes. If the parameter value is `0`, the backup file size is unknown.
11838
11716
  * @type {number || null}
11839
11717
  */
11840
- this.RedisReplicasNum = null;
11841
-
11842
- /**
11843
- * Whether replica read-only is supported. For the standard architecture of Redis 2.8 and CKV, this parameter does not need to be configured.
11844
- - true: Replica read-only is not required.
11845
- - false: Replica read-only is required.
11846
- * @type {boolean || null}
11847
- */
11848
- this.ReplicasReadonly = null;
11718
+ this.FileSize = null;
11849
11719
 
11850
11720
  /**
11851
- * Name of the AZ to which the instance belongs. See [Regions and AZs](https://www.tencentcloud.com/document/product/239/4106?from_cn_redirect=1).
11852
- **Note**: Specify at least one parameter from **ZoneId** and **ZoneName**.
11721
+ * Address (valid for six hours) used to download the backup file over the public network
11853
11722
  * @type {string || null}
11854
11723
  */
11855
- this.ZoneName = null;
11724
+ this.DownloadUrl = null;
11856
11725
 
11857
11726
  /**
11858
- * Deployment mode.
11859
- - local: local disk. This is the default value.
11860
- - cloud: cloud disk.
11861
- - cdc: CDC.
11727
+ * Address (valid for six hours) used to download the backup file over the private network
11862
11728
  * @type {string || null}
11863
11729
  */
11864
- this.ProductVersion = null;
11730
+ this.InnerDownloadUrl = null;
11865
11731
 
11866
11732
  }
11867
11733
 
@@ -11872,90 +11738,118 @@ If `TypeId` indicates the standard architecture, `MemSize` indicates the total m
11872
11738
  if (!params) {
11873
11739
  return;
11874
11740
  }
11875
- this.TypeId = 'TypeId' in params ? params.TypeId : null;
11876
- this.MemSize = 'MemSize' in params ? params.MemSize : null;
11877
- this.GoodsNum = 'GoodsNum' in params ? params.GoodsNum : null;
11878
- this.Period = 'Period' in params ? params.Period : null;
11879
- this.BillingMode = 'BillingMode' in params ? params.BillingMode : null;
11880
- this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
11881
- this.RedisShardNum = 'RedisShardNum' in params ? params.RedisShardNum : null;
11882
- this.RedisReplicasNum = 'RedisReplicasNum' in params ? params.RedisReplicasNum : null;
11883
- this.ReplicasReadonly = 'ReplicasReadonly' in params ? params.ReplicasReadonly : null;
11884
- this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
11885
- this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
11741
+ this.FileName = 'FileName' in params ? params.FileName : null;
11742
+ this.FileSize = 'FileSize' in params ? params.FileSize : null;
11743
+ this.DownloadUrl = 'DownloadUrl' in params ? params.DownloadUrl : null;
11744
+ this.InnerDownloadUrl = 'InnerDownloadUrl' in params ? params.InnerDownloadUrl : null;
11886
11745
 
11887
11746
  }
11888
11747
  }
11889
11748
 
11890
11749
  /**
11891
- * DescribeRedisClusters request structure.
11750
+ * Big key type distribution details
11892
11751
  * @class
11893
11752
  */
11894
- class DescribeRedisClustersRequest extends AbstractModel {
11753
+ class BigKeyTypeInfo extends AbstractModel {
11895
11754
  constructor(){
11896
11755
  super();
11897
11756
 
11898
11757
  /**
11899
- * Dedicated Redis cluster ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1),
11900
- switch to the **Cloud Service Management** page, select **TencentDB for Redis** from the drop-down list, and obtain the dedicated cluster ID.
11901
- * @type {Array.<string> || null}
11902
- */
11903
- this.RedisClusterIds = null;
11904
-
11905
- /**
11906
- * Cluster status.
11907
- - 1: in process.
11908
- - 2: running.
11909
- - 3: isolated.
11910
- * @type {Array.<number> || null}
11758
+ * Type
11759
+ * @type {string || null}
11911
11760
  */
11912
- this.Status = null;
11761
+ this.Type = null;
11913
11762
 
11914
11763
  /**
11915
- * Project ID array. Log in to the [project management](https://console.tencentcloud.com/project) page and copy the project ID in **Project Name**.
11916
- * @type {Array.<number> || null}
11764
+ * Count
11765
+ * @type {number || null}
11917
11766
  */
11918
- this.ProjectIds = null;
11919
-
11920
- /**
11921
- * Renewal mode.
11922
- - 0: default status (manual renewal).
11923
- - 1: automatic renewal.
11924
- - 2: no automatic renewal.
11925
- * @type {Array.<number> || null}
11767
+ this.Count = null;
11768
+
11769
+ /**
11770
+ * Size
11771
+ * @type {number || null}
11926
11772
  */
11927
- this.AutoRenewFlag = null;
11773
+ this.Size = null;
11928
11774
 
11929
11775
  /**
11930
- * Dedicated Redis cluster name.
11931
- * @type {string || null}
11776
+ * Timestamp
11777
+ * @type {number || null}
11932
11778
  */
11933
- this.ClusterName = null;
11779
+ this.Updatetime = null;
11780
+
11781
+ }
11782
+
11783
+ /**
11784
+ * @private
11785
+ */
11786
+ deserialize(params) {
11787
+ if (!params) {
11788
+ return;
11789
+ }
11790
+ this.Type = 'Type' in params ? params.Type : null;
11791
+ this.Count = 'Count' in params ? params.Count : null;
11792
+ this.Size = 'Size' in params ? params.Size : null;
11793
+ this.Updatetime = 'Updatetime' in params ? params.Updatetime : null;
11794
+
11795
+ }
11796
+ }
11797
+
11798
+ /**
11799
+ * DescribeInstanceNodeInfo request structure.
11800
+ * @class
11801
+ */
11802
+ class DescribeInstanceNodeInfoRequest extends AbstractModel {
11803
+ constructor(){
11804
+ super();
11934
11805
 
11935
11806
  /**
11936
- * Search keyword. Valid values: cluster ID and cluster name.
11807
+ * ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
11937
11808
  * @type {string || null}
11938
11809
  */
11939
- this.SearchKey = null;
11810
+ this.InstanceId = null;
11940
11811
 
11941
11812
  /**
11942
- * Limit on the number of records returned in pagination mode. If this parameter is not specified, the value 20 will be used by default.
11813
+ * List size Size of node information returned per page. Default value: `20`. Maximum value: `1000`. This field has been disused.
11943
11814
  * @type {number || null}
11944
11815
  */
11945
11816
  this.Limit = null;
11946
11817
 
11947
11818
  /**
11948
- * Offset, which is an integer multiple of Limit.
11819
+ * Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1). This field has been disused.
11949
11820
  * @type {number || null}
11950
11821
  */
11951
11822
  this.Offset = null;
11952
11823
 
11824
+ }
11825
+
11826
+ /**
11827
+ * @private
11828
+ */
11829
+ deserialize(params) {
11830
+ if (!params) {
11831
+ return;
11832
+ }
11833
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11834
+ this.Limit = 'Limit' in params ? params.Limit : null;
11835
+ this.Offset = 'Offset' in params ? params.Offset : null;
11836
+
11837
+ }
11838
+ }
11839
+
11840
+ /**
11841
+ * DescribeMaintenanceWindow request structure.
11842
+ * @class
11843
+ */
11844
+ class DescribeMaintenanceWindowRequest extends AbstractModel {
11845
+ constructor(){
11846
+ super();
11847
+
11953
11848
  /**
11954
- * CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
11955
- and obtain the cluster ID in the instance list.
11849
+ * Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
11956
11850
  * @type {string || null}
11957
11851
  */
11958
- this.DedicatedClusterId = null;
11852
+ this.InstanceId = null;
11959
11853
 
11960
11854
  }
11961
11855
 
@@ -11966,32 +11860,24 @@ and obtain the cluster ID in the instance list.
11966
11860
  if (!params) {
11967
11861
  return;
11968
11862
  }
11969
- this.RedisClusterIds = 'RedisClusterIds' in params ? params.RedisClusterIds : null;
11970
- this.Status = 'Status' in params ? params.Status : null;
11971
- this.ProjectIds = 'ProjectIds' in params ? params.ProjectIds : null;
11972
- this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
11973
- this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
11974
- this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
11975
- this.Limit = 'Limit' in params ? params.Limit : null;
11976
- this.Offset = 'Offset' in params ? params.Offset : null;
11977
- this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
11863
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11978
11864
 
11979
11865
  }
11980
11866
  }
11981
11867
 
11982
11868
  /**
11983
- * UpgradeSmallVersion response structure.
11869
+ * DescribeInstanceSupportFeature response structure.
11984
11870
  * @class
11985
11871
  */
11986
- class UpgradeSmallVersionResponse extends AbstractModel {
11872
+ class DescribeInstanceSupportFeatureResponse extends AbstractModel {
11987
11873
  constructor(){
11988
11874
  super();
11989
11875
 
11990
11876
  /**
11991
- * Async task ID
11992
- * @type {number || null}
11877
+ * Whether to support.
11878
+ * @type {boolean || null}
11993
11879
  */
11994
- this.FlowId = null;
11880
+ this.Support = null;
11995
11881
 
11996
11882
  /**
11997
11883
  * 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.
@@ -12008,32 +11894,26 @@ class UpgradeSmallVersionResponse extends AbstractModel {
12008
11894
  if (!params) {
12009
11895
  return;
12010
11896
  }
12011
- this.FlowId = 'FlowId' in params ? params.FlowId : null;
11897
+ this.Support = 'Support' in params ? params.Support : null;
12012
11898
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
12013
11899
 
12014
11900
  }
12015
11901
  }
12016
11902
 
12017
11903
  /**
12018
- * ModifyInstanceParams request structure.
11904
+ * DescribeInstanceLogDelivery request structure.
12019
11905
  * @class
12020
11906
  */
12021
- class ModifyInstanceParamsRequest extends AbstractModel {
11907
+ class DescribeInstanceLogDeliveryRequest extends AbstractModel {
12022
11908
  constructor(){
12023
11909
  super();
12024
11910
 
12025
11911
  /**
12026
- * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11912
+ * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance), and copy it from the instance list.
12027
11913
  * @type {string || null}
12028
11914
  */
12029
11915
  this.InstanceId = null;
12030
11916
 
12031
- /**
12032
- * List of instance parameters modified
12033
- * @type {Array.<InstanceParam> || null}
12034
- */
12035
- this.InstanceParams = null;
12036
-
12037
11917
  }
12038
11918
 
12039
11919
  /**
@@ -12045,32 +11925,38 @@ class ModifyInstanceParamsRequest extends AbstractModel {
12045
11925
  }
12046
11926
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12047
11927
 
12048
- if (params.InstanceParams) {
12049
- this.InstanceParams = new Array();
12050
- for (let z in params.InstanceParams) {
12051
- let obj = new InstanceParam();
12052
- obj.deserialize(params.InstanceParams[z]);
12053
- this.InstanceParams.push(obj);
12054
- }
12055
- }
12056
-
12057
11928
  }
12058
11929
  }
12059
11930
 
12060
11931
  /**
12061
- * DescribeSSLStatus request structure.
11932
+ * AddReplicationInstance request structure.
12062
11933
  * @class
12063
11934
  */
12064
- class DescribeSSLStatusRequest extends AbstractModel {
11935
+ class AddReplicationInstanceRequest extends AbstractModel {
12065
11936
  constructor(){
12066
11937
  super();
12067
11938
 
12068
11939
  /**
12069
- * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
11940
+ * Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
11941
+ * @type {string || null}
11942
+ */
11943
+ this.GroupId = null;
11944
+
11945
+ /**
11946
+ * Instance ID.
11947
+ - There are region and AZ limitations for adding a replication group instance. For detailed information, see [Use Limits](https://www.tencentcloud.com/document/product/239/71934?from_cn_redirect=1).
11948
+ - Currently, only Redis 4.0 and 5.0 cluster architecture instances support being added to the replication groups.
11949
+ - 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.
12070
11950
  * @type {string || null}
12071
11951
  */
12072
11952
  this.InstanceId = null;
12073
11953
 
11954
+ /**
11955
+ * Assigns roles to instances added to the replication group. <ul><li>rw: read-write;</li> <li>r: read-only.</li></ul>
11956
+ * @type {string || null}
11957
+ */
11958
+ this.InstanceRole = null;
11959
+
12074
11960
  }
12075
11961
 
12076
11962
  /**
@@ -12080,24 +11966,98 @@ class DescribeSSLStatusRequest extends AbstractModel {
12080
11966
  if (!params) {
12081
11967
  return;
12082
11968
  }
11969
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
12083
11970
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
11971
+ this.InstanceRole = 'InstanceRole' in params ? params.InstanceRole : null;
12084
11972
 
12085
11973
  }
12086
11974
  }
12087
11975
 
12088
11976
  /**
12089
- * OpenSSL request structure.
11977
+ * Instance node type
12090
11978
  * @class
12091
11979
  */
12092
- class OpenSSLRequest extends AbstractModel {
11980
+ class InstanceClusterNode extends AbstractModel {
12093
11981
  constructor(){
12094
11982
  super();
12095
11983
 
12096
11984
  /**
12097
- * Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
11985
+ * Node group name.
12098
11986
  * @type {string || null}
12099
11987
  */
12100
- this.InstanceId = null;
11988
+ this.Name = null;
11989
+
11990
+ /**
11991
+ * ID of the runtime node of an instance
11992
+ * @type {string || null}
11993
+ */
11994
+ this.RunId = null;
11995
+
11996
+ /**
11997
+ * Cluster role. Valid values: - `0` (master) - `1` (replica)
11998
+ * @type {number || null}
11999
+ */
12000
+ this.Role = null;
12001
+
12002
+ /**
12003
+ * Node status. Valid values: - `0` (read/write) - `1` (read) - `2` (backup)
12004
+ * @type {number || null}
12005
+ */
12006
+ this.Status = null;
12007
+
12008
+ /**
12009
+ * Service status. Valid values: `0` (down), `1` (on).
12010
+ * @type {number || null}
12011
+ */
12012
+ this.Connected = null;
12013
+
12014
+ /**
12015
+ * Node creation time
12016
+ * @type {string || null}
12017
+ */
12018
+ this.CreateTime = null;
12019
+
12020
+ /**
12021
+ * Node elimination time
12022
+ * @type {string || null}
12023
+ */
12024
+ this.DownTime = null;
12025
+
12026
+ /**
12027
+ * Node slot distribution range
12028
+ * @type {string || null}
12029
+ */
12030
+ this.Slots = null;
12031
+
12032
+ /**
12033
+ * Distribution of node keys
12034
+ * @type {number || null}
12035
+ */
12036
+ this.Keys = null;
12037
+
12038
+ /**
12039
+ * Node QPS Number of executions per second on sharded nodes Unit: Counts/sec
12040
+ * @type {number || null}
12041
+ */
12042
+ this.Qps = null;
12043
+
12044
+ /**
12045
+ * QPS slope of a node
12046
+ * @type {number || null}
12047
+ */
12048
+ this.QpsSlope = null;
12049
+
12050
+ /**
12051
+ * Node storage
12052
+ * @type {number || null}
12053
+ */
12054
+ this.Storage = null;
12055
+
12056
+ /**
12057
+ * Node storage slope
12058
+ * @type {number || null}
12059
+ */
12060
+ this.StorageSlope = null;
12101
12061
 
12102
12062
  }
12103
12063
 
@@ -12108,42 +12068,72 @@ class OpenSSLRequest extends AbstractModel {
12108
12068
  if (!params) {
12109
12069
  return;
12110
12070
  }
12111
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12071
+ this.Name = 'Name' in params ? params.Name : null;
12072
+ this.RunId = 'RunId' in params ? params.RunId : null;
12073
+ this.Role = 'Role' in params ? params.Role : null;
12074
+ this.Status = 'Status' in params ? params.Status : null;
12075
+ this.Connected = 'Connected' in params ? params.Connected : null;
12076
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
12077
+ this.DownTime = 'DownTime' in params ? params.DownTime : null;
12078
+ this.Slots = 'Slots' in params ? params.Slots : null;
12079
+ this.Keys = 'Keys' in params ? params.Keys : null;
12080
+ this.Qps = 'Qps' in params ? params.Qps : null;
12081
+ this.QpsSlope = 'QpsSlope' in params ? params.QpsSlope : null;
12082
+ this.Storage = 'Storage' in params ? params.Storage : null;
12083
+ this.StorageSlope = 'StorageSlope' in params ? params.StorageSlope : null;
12112
12084
 
12113
12085
  }
12114
12086
  }
12115
12087
 
12116
12088
  /**
12117
- * Backup download information
12089
+ * DescribeSSLStatus response structure.
12118
12090
  * @class
12119
12091
  */
12120
- class BackupDownloadInfo extends AbstractModel {
12092
+ class DescribeSSLStatusResponse extends AbstractModel {
12121
12093
  constructor(){
12122
12094
  super();
12123
12095
 
12124
12096
  /**
12125
- * Backup file name
12097
+ * Download address for SSL certificate
12126
12098
  * @type {string || null}
12127
12099
  */
12128
- this.FileName = null;
12100
+ this.CertDownloadUrl = null;
12101
+
12102
+ /**
12103
+ * Expiration time of the certificate download address
12104
+ * @type {string || null}
12105
+ */
12106
+ this.UrlExpiredTime = null;
12107
+
12108
+ /**
12109
+ * Whether the SSL is enabled for the identified instance.
12110
+ - `true`: Enabled
12111
+ - `false`: Disabled
12112
+ * @type {boolean || null}
12113
+ */
12114
+ this.SSLConfig = null;
12129
12115
 
12130
12116
  /**
12131
- * Backup file size in bytes. If the parameter value is `0`, the backup file size is unknown.
12132
- * @type {number || null}
12117
+ * Whether SSL is supported for the identified instance.
12118
+ -`true`: Supported
12119
+ -`false`: Not supported
12120
+ * @type {boolean || null}
12133
12121
  */
12134
- this.FileSize = null;
12122
+ this.FeatureSupport = null;
12135
12123
 
12136
12124
  /**
12137
- * Address (valid for six hours) used to download the backup file over the public network
12138
- * @type {string || null}
12125
+ * Status of SSL configuration
12126
+ - `1`: Configuring
12127
+ - `2`: Configured successfully
12128
+ * @type {number || null}
12139
12129
  */
12140
- this.DownloadUrl = null;
12130
+ this.Status = null;
12141
12131
 
12142
12132
  /**
12143
- * Address (valid for six hours) used to download the backup file over the private network
12133
+ * 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.
12144
12134
  * @type {string || null}
12145
12135
  */
12146
- this.InnerDownloadUrl = null;
12136
+ this.RequestId = null;
12147
12137
 
12148
12138
  }
12149
12139
 
@@ -12154,45 +12144,59 @@ class BackupDownloadInfo extends AbstractModel {
12154
12144
  if (!params) {
12155
12145
  return;
12156
12146
  }
12157
- this.FileName = 'FileName' in params ? params.FileName : null;
12158
- this.FileSize = 'FileSize' in params ? params.FileSize : null;
12159
- this.DownloadUrl = 'DownloadUrl' in params ? params.DownloadUrl : null;
12160
- this.InnerDownloadUrl = 'InnerDownloadUrl' in params ? params.InnerDownloadUrl : null;
12147
+ this.CertDownloadUrl = 'CertDownloadUrl' in params ? params.CertDownloadUrl : null;
12148
+ this.UrlExpiredTime = 'UrlExpiredTime' in params ? params.UrlExpiredTime : null;
12149
+ this.SSLConfig = 'SSLConfig' in params ? params.SSLConfig : null;
12150
+ this.FeatureSupport = 'FeatureSupport' in params ? params.FeatureSupport : null;
12151
+ this.Status = 'Status' in params ? params.Status : null;
12152
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
12161
12153
 
12162
12154
  }
12163
12155
  }
12164
12156
 
12165
12157
  /**
12166
- * Big key type distribution details
12158
+ * DescribeTendisSlowLog request structure.
12167
12159
  * @class
12168
12160
  */
12169
- class BigKeyTypeInfo extends AbstractModel {
12161
+ class DescribeTendisSlowLogRequest extends AbstractModel {
12170
12162
  constructor(){
12171
12163
  super();
12172
12164
 
12173
12165
  /**
12174
- * Type
12166
+ * Instance ID. Log in to the [Tendis console](https://console.cloud.tencent.com/tendis) and copy it in the instance list.
12175
12167
  * @type {string || null}
12176
12168
  */
12177
- this.Type = null;
12169
+ this.InstanceId = null;
12178
12170
 
12179
12171
  /**
12180
- * Count
12172
+ * Start time for a query, for example, 2019-09-08 12:12:41, with a maximum query span of 30 days.
12173
+ * @type {string || null}
12174
+ */
12175
+ this.BeginTime = null;
12176
+
12177
+ /**
12178
+ * End time for a query, for example, 2019-09-09 12:12:41, with a maximum query span of 30 days.
12179
+ * @type {string || null}
12180
+ */
12181
+ this.EndTime = null;
12182
+
12183
+ /**
12184
+ * Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
12181
12185
  * @type {number || null}
12182
12186
  */
12183
- this.Count = null;
12187
+ this.MinQueryTime = null;
12184
12188
 
12185
12189
  /**
12186
- * Size
12190
+ * Page size. The default value is 20, the minimum value is 1, and the maximum value is 100.
12187
12191
  * @type {number || null}
12188
12192
  */
12189
- this.Size = null;
12193
+ this.Limit = null;
12190
12194
 
12191
12195
  /**
12192
- * Timestamp
12196
+ * Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number – 1). The default value is 0.
12193
12197
  * @type {number || null}
12194
12198
  */
12195
- this.Updatetime = null;
12199
+ this.Offset = null;
12196
12200
 
12197
12201
  }
12198
12202
 
@@ -12203,36 +12207,57 @@ class BigKeyTypeInfo extends AbstractModel {
12203
12207
  if (!params) {
12204
12208
  return;
12205
12209
  }
12206
- this.Type = 'Type' in params ? params.Type : null;
12207
- this.Count = 'Count' in params ? params.Count : null;
12208
- this.Size = 'Size' in params ? params.Size : null;
12209
- this.Updatetime = 'Updatetime' in params ? params.Updatetime : null;
12210
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12211
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
12212
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
12213
+ this.MinQueryTime = 'MinQueryTime' in params ? params.MinQueryTime : null;
12214
+ this.Limit = 'Limit' in params ? params.Limit : null;
12215
+ this.Offset = 'Offset' in params ? params.Offset : null;
12210
12216
 
12211
12217
  }
12212
12218
  }
12213
12219
 
12214
12220
  /**
12215
- * DescribeInstanceNodeInfo request structure.
12221
+ * DescribeProxySlowLog request structure.
12216
12222
  * @class
12217
12223
  */
12218
- class DescribeInstanceNodeInfoRequest extends AbstractModel {
12224
+ class DescribeProxySlowLogRequest extends AbstractModel {
12219
12225
  constructor(){
12220
12226
  super();
12221
12227
 
12222
12228
  /**
12223
12229
  * ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
12230
+
12224
12231
  * @type {string || null}
12225
12232
  */
12226
12233
  this.InstanceId = null;
12227
12234
 
12228
12235
  /**
12229
- * List size Size of node information returned per page. Default value: `20`. Maximum value: `1000`. This field has been disused.
12236
+ * Start time of a slow query, with a maximum query span of 30 days.
12237
+ * @type {string || null}
12238
+ */
12239
+ this.BeginTime = null;
12240
+
12241
+ /**
12242
+ * End time of a slow query, with a maximum query span of 30 days.
12243
+ * @type {string || null}
12244
+ */
12245
+ this.EndTime = null;
12246
+
12247
+ /**
12248
+ * Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
12249
+ * @type {number || null}
12250
+ */
12251
+ this.MinQueryTime = null;
12252
+
12253
+ /**
12254
+ * Size of the output task list per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
12230
12255
  * @type {number || null}
12231
12256
  */
12232
12257
  this.Limit = null;
12233
12258
 
12234
12259
  /**
12235
- * Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1). This field has been disused.
12260
+ * Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
12236
12261
  * @type {number || null}
12237
12262
  */
12238
12263
  this.Offset = null;
@@ -12247,6 +12272,9 @@ class DescribeInstanceNodeInfoRequest extends AbstractModel {
12247
12272
  return;
12248
12273
  }
12249
12274
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12275
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
12276
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
12277
+ this.MinQueryTime = 'MinQueryTime' in params ? params.MinQueryTime : null;
12250
12278
  this.Limit = 'Limit' in params ? params.Limit : null;
12251
12279
  this.Offset = 'Offset' in params ? params.Offset : null;
12252
12280
 
@@ -12254,46 +12282,24 @@ class DescribeInstanceNodeInfoRequest extends AbstractModel {
12254
12282
  }
12255
12283
 
12256
12284
  /**
12257
- * DescribeMaintenanceWindow request structure.
12285
+ * DescribeRedisClusters response structure.
12258
12286
  * @class
12259
12287
  */
12260
- class DescribeMaintenanceWindowRequest extends AbstractModel {
12288
+ class DescribeRedisClustersResponse extends AbstractModel {
12261
12289
  constructor(){
12262
12290
  super();
12263
12291
 
12264
12292
  /**
12265
- * Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
12266
- * @type {string || null}
12293
+ * Total number of clusters.
12294
+ * @type {number || null}
12267
12295
  */
12268
- this.InstanceId = null;
12269
-
12270
- }
12271
-
12272
- /**
12273
- * @private
12274
- */
12275
- deserialize(params) {
12276
- if (!params) {
12277
- return;
12278
- }
12279
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12280
-
12281
- }
12282
- }
12283
-
12284
- /**
12285
- * DescribeInstanceSupportFeature response structure.
12286
- * @class
12287
- */
12288
- class DescribeInstanceSupportFeatureResponse extends AbstractModel {
12289
- constructor(){
12290
- super();
12296
+ this.Total = null;
12291
12297
 
12292
12298
  /**
12293
- * Whether to support.
12294
- * @type {boolean || null}
12299
+ * CDC cluster resource list.
12300
+ * @type {Array.<CDCResource> || null}
12295
12301
  */
12296
- this.Support = null;
12302
+ this.Resources = null;
12297
12303
 
12298
12304
  /**
12299
12305
  * 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.
@@ -12310,26 +12316,43 @@ class DescribeInstanceSupportFeatureResponse extends AbstractModel {
12310
12316
  if (!params) {
12311
12317
  return;
12312
12318
  }
12313
- this.Support = 'Support' in params ? params.Support : null;
12319
+ this.Total = 'Total' in params ? params.Total : null;
12320
+
12321
+ if (params.Resources) {
12322
+ this.Resources = new Array();
12323
+ for (let z in params.Resources) {
12324
+ let obj = new CDCResource();
12325
+ obj.deserialize(params.Resources[z]);
12326
+ this.Resources.push(obj);
12327
+ }
12328
+ }
12314
12329
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
12315
12330
 
12316
12331
  }
12317
12332
  }
12318
12333
 
12319
12334
  /**
12320
- * DescribeInstanceLogDelivery request structure.
12335
+ * ModifyInstanceBackupMode request structure.
12321
12336
  * @class
12322
12337
  */
12323
- class DescribeInstanceLogDeliveryRequest extends AbstractModel {
12338
+ class ModifyInstanceBackupModeRequest extends AbstractModel {
12324
12339
  constructor(){
12325
12340
  super();
12326
12341
 
12327
12342
  /**
12328
- * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance), and copy it from the instance list.
12343
+ * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
12329
12344
  * @type {string || null}
12330
12345
  */
12331
12346
  this.InstanceId = null;
12332
12347
 
12348
+ /**
12349
+ * Backup mode:
12350
+ - SecondLevelBackup: second-level backup.
12351
+ - NormalLevelBackup: ordinary backup.
12352
+ * @type {string || null}
12353
+ */
12354
+ this.BackupMode = null;
12355
+
12333
12356
  }
12334
12357
 
12335
12358
  /**
@@ -12340,435 +12363,406 @@ class DescribeInstanceLogDeliveryRequest extends AbstractModel {
12340
12363
  return;
12341
12364
  }
12342
12365
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12366
+ this.BackupMode = 'BackupMode' in params ? params.BackupMode : null;
12343
12367
 
12344
12368
  }
12345
12369
  }
12346
12370
 
12347
12371
  /**
12348
- * AddReplicationInstance request structure.
12372
+ * List of instance details
12349
12373
  * @class
12350
12374
  */
12351
- class AddReplicationInstanceRequest extends AbstractModel {
12375
+ class InstanceSet extends AbstractModel {
12352
12376
  constructor(){
12353
12377
  super();
12354
12378
 
12355
12379
  /**
12356
- * Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
12380
+ * Instance name.
12357
12381
  * @type {string || null}
12358
12382
  */
12359
- this.GroupId = null;
12383
+ this.InstanceName = null;
12360
12384
 
12361
12385
  /**
12362
12386
  * Instance ID.
12363
- - There are region and AZ limitations for adding a replication group instance. For detailed information, see [Use Limits](https://www.tencentcloud.com/document/product/239/71934?from_cn_redirect=1).
12364
- - Currently, only Redis 4.0 and 5.0 cluster architecture instances support being added to the replication groups.
12365
- - 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.
12366
12387
  * @type {string || null}
12367
12388
  */
12368
12389
  this.InstanceId = null;
12369
12390
 
12370
12391
  /**
12371
- * Assigns roles to instances added to the replication group. <ul><li>rw: read-write;</li> <li>r: read-only.</li></ul>
12372
- * @type {string || null}
12392
+ * App ID of a user, which is an application ID that uniquely corresponds to the account ID. Certain Tencent Cloud products use this app ID.
12393
+
12394
+ * @type {number || null}
12373
12395
  */
12374
- this.InstanceRole = null;
12396
+ this.Appid = null;
12375
12397
 
12376
- }
12398
+ /**
12399
+ * Project ID.
12400
+ * @type {number || null}
12401
+ */
12402
+ this.ProjectId = null;
12377
12403
 
12378
- /**
12379
- * @private
12380
- */
12381
- deserialize(params) {
12382
- if (!params) {
12383
- return;
12384
- }
12385
- this.GroupId = 'GroupId' in params ? params.GroupId : null;
12386
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12387
- this.InstanceRole = 'InstanceRole' in params ? params.InstanceRole : null;
12404
+ /**
12405
+ * Region ID.<ul><li>1: Guangzhou.</li><li>4: Shanghai.</li><li>5: Hong Kong (China).</li><li>7: Shanghai Finance.</li><li>8: Beijing.</li><li>9: Singapore.</li><li>11: Shenzhen Finance.</li><li>15: Western US (Silicon Valley).</li><li>16: Chengdu.</li><li>17: Frankfurt.</li><li>18: Seoul.</li><li>19: Chongqing.</li><li>22: Eastern US (Virginia).</li><li>23: Bangkok.</li><li>25: Tokyo.</li></ul>
12406
+ * @type {number || null}
12407
+ */
12408
+ this.RegionId = null;
12388
12409
 
12389
- }
12390
- }
12410
+ /**
12411
+ * Zone ID.
12412
+ * @type {number || null}
12413
+ */
12414
+ this.ZoneId = null;
12391
12415
 
12392
- /**
12393
- * Instance node type
12394
- * @class
12395
- */
12396
- class InstanceClusterNode extends AbstractModel {
12397
- constructor(){
12398
- super();
12416
+ /**
12417
+ * VPC ID, for example, 75101.
12418
+ * @type {number || null}
12419
+ */
12420
+ this.VpcId = null;
12399
12421
 
12400
12422
  /**
12401
- * Node group name.
12423
+ * ID of the subnet under VPC, for example, 46315.
12424
+ * @type {number || null}
12425
+ */
12426
+ this.SubnetId = null;
12427
+
12428
+ /**
12429
+ * Current instance status. <ul><li>0: to be initialized;</li> <li>1: in process;</li> <li>2: running;</li> <li>-2: isolated;</li> <li>-3: to be deleted.</li></ul>
12430
+ * @type {number || null}
12431
+ */
12432
+ this.Status = null;
12433
+
12434
+ /**
12435
+ * Instance VIP.
12402
12436
  * @type {string || null}
12403
12437
  */
12404
- this.Name = null;
12438
+ this.WanIp = null;
12405
12439
 
12406
12440
  /**
12407
- * ID of the runtime node of an instance
12441
+ * Instance port number.
12442
+ * @type {number || null}
12443
+ */
12444
+ this.Port = null;
12445
+
12446
+ /**
12447
+ * Instance creation time, for example, in the format of 2020-01-15 10:20:00.
12408
12448
  * @type {string || null}
12409
12449
  */
12410
- this.RunId = null;
12450
+ this.Createtime = null;
12451
+
12452
+ /**
12453
+ * Instance memory capacity. Unit: MB (1 MB = 1024 KB).
12454
+ * @type {number || null}
12455
+ */
12456
+ this.Size = null;
12411
12457
 
12412
12458
  /**
12413
- * Cluster role. Valid values: - `0` (master) - `1` (replica)
12459
+ * This parameter has been deprecated. Obtain the memory capacity used by the instance through the TCOP API [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1).
12414
12460
  * @type {number || null}
12415
12461
  */
12416
- this.Role = null;
12462
+ this.SizeUsed = null;
12417
12463
 
12418
12464
  /**
12419
- * Node status. Valid values: - `0` (read/write) - `1` (read) - `2` (backup)
12465
+ * Instance type.
12466
+
12467
+ - 2: Redis 2.8 memory edition (standard architecture).
12468
+ - 3: CKV 3.2 memory edition (standard architecture).
12469
+ - 4: CKV 3.2 memory edition (cluster architecture).
12470
+ - 5: Redis 2.8 memory edition (standalone).
12471
+ - 6: Redis 4.0 memory edition (standard architecture).
12472
+ - 7: Redis 4.0 memory edition (cluster architecture).
12473
+ - 8: Redis 5.0 memory edition (standard architecture).
12474
+ - 9: Redis 5.0 memory edition (cluster architecture).
12475
+ - 15: Redis 6.2 memory edition (standard architecture).
12476
+ - 16: Redis 6.2 memory edition (cluster architecture).
12477
+ - 17: Redis 7.0 memory edition (standard architecture).
12478
+ - 18: Redis 7.0 memory edition (cluster architecture).
12479
+ - 200: Memcached 1.6 memory edition (cluster architecture).
12420
12480
  * @type {number || null}
12421
12481
  */
12422
- this.Status = null;
12482
+ this.Type = null;
12423
12483
 
12424
12484
  /**
12425
- * Service status. Valid values: `0` (down), `1` (on).
12485
+ * Whether the automatic renewal flag is set for an instance. <ul><li>1: set;</li> <li>0: not set.</li></ul>
12426
12486
  * @type {number || null}
12427
12487
  */
12428
- this.Connected = null;
12488
+ this.AutoRenewFlag = null;
12429
12489
 
12430
12490
  /**
12431
- * Node creation time
12491
+ * Expiration time of a monthly subscription instance.
12432
12492
  * @type {string || null}
12433
12493
  */
12434
- this.CreateTime = null;
12494
+ this.DeadlineTime = null;
12435
12495
 
12436
12496
  /**
12437
- * Node elimination time
12497
+ * Engine. Valid values: Redis Community Edition and Tencent Cloud CKV.
12438
12498
  * @type {string || null}
12439
12499
  */
12440
- this.DownTime = null;
12500
+ this.Engine = null;
12441
12501
 
12442
12502
  /**
12443
- * Node slot distribution range
12503
+ * Product type. <ul><li>standalone: Standard Edition;</li> <li>cluster: Cluster Edition.</li></ul>
12444
12504
  * @type {string || null}
12445
12505
  */
12446
- this.Slots = null;
12506
+ this.ProductType = null;
12447
12507
 
12448
12508
  /**
12449
- * Distribution of node keys
12450
- * @type {number || null}
12509
+ * VPC ID, for example, vpc-fk33jsf43kgv.
12510
+ * @type {string || null}
12451
12511
  */
12452
- this.Keys = null;
12512
+ this.UniqVpcId = null;
12453
12513
 
12454
12514
  /**
12455
- * Node QPS Number of executions per second on sharded nodes Unit: Counts/sec
12456
- * @type {number || null}
12515
+ * ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.
12516
+ * @type {string || null}
12457
12517
  */
12458
- this.Qps = null;
12518
+ this.UniqSubnetId = null;
12459
12519
 
12460
12520
  /**
12461
- * QPS slope of a node
12521
+ * Billing mode. Only pay-as-you-go billing is supported.
12462
12522
  * @type {number || null}
12463
12523
  */
12464
- this.QpsSlope = null;
12524
+ this.BillingMode = null;
12465
12525
 
12466
12526
  /**
12467
- * Node storage
12468
- * @type {number || null}
12527
+ * Description of the instance running status, for example, running.
12528
+ * @type {string || null}
12469
12529
  */
12470
- this.Storage = null;
12530
+ this.InstanceTitle = null;
12471
12531
 
12472
12532
  /**
12473
- * Node storage slope
12474
- * @type {number || null}
12533
+ * Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00. By default, a pay-as-you-go instance will be terminated after 2 hours of isolation, and a monthly subscription instance will be terminated after 7 days.
12534
+ * @type {string || null}
12475
12535
  */
12476
- this.StorageSlope = null;
12477
-
12478
- }
12479
-
12480
- /**
12481
- * @private
12482
- */
12483
- deserialize(params) {
12484
- if (!params) {
12485
- return;
12486
- }
12487
- this.Name = 'Name' in params ? params.Name : null;
12488
- this.RunId = 'RunId' in params ? params.RunId : null;
12489
- this.Role = 'Role' in params ? params.Role : null;
12490
- this.Status = 'Status' in params ? params.Status : null;
12491
- this.Connected = 'Connected' in params ? params.Connected : null;
12492
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
12493
- this.DownTime = 'DownTime' in params ? params.DownTime : null;
12494
- this.Slots = 'Slots' in params ? params.Slots : null;
12495
- this.Keys = 'Keys' in params ? params.Keys : null;
12496
- this.Qps = 'Qps' in params ? params.Qps : null;
12497
- this.QpsSlope = 'QpsSlope' in params ? params.QpsSlope : null;
12498
- this.Storage = 'Storage' in params ? params.Storage : null;
12499
- this.StorageSlope = 'StorageSlope' in params ? params.StorageSlope : null;
12536
+ this.OfflineTime = null;
12500
12537
 
12501
- }
12502
- }
12538
+ /**
12539
+ * Sub-status returned for the instance in the process.
12540
+ - 0: disk read-write status.
12541
+ - 1: disk read-only status because the upper limit is exceeded.
12542
+ * @type {number || null}
12543
+ */
12544
+ this.SubStatus = null;
12503
12545
 
12504
- /**
12505
- * DescribeSSLStatus response structure.
12506
- * @class
12507
- */
12508
- class DescribeSSLStatusResponse extends AbstractModel {
12509
- constructor(){
12510
- super();
12546
+ /**
12547
+ * Anti-affinity tag.
12548
+ * @type {Array.<string> || null}
12549
+ */
12550
+ this.Tags = null;
12511
12551
 
12512
12552
  /**
12513
- * Download address for SSL certificate
12514
- * @type {string || null}
12553
+ * Instance node information.
12554
+ * @type {Array.<InstanceNode> || null}
12515
12555
  */
12516
- this.CertDownloadUrl = null;
12556
+ this.InstanceNode = null;
12517
12557
 
12518
12558
  /**
12519
- * Expiration time of the certificate download address
12520
- * @type {string || null}
12559
+ * Shard size.
12560
+ * @type {number || null}
12521
12561
  */
12522
- this.UrlExpiredTime = null;
12562
+ this.RedisShardSize = null;
12523
12563
 
12524
12564
  /**
12525
- * Whether the SSL is enabled for the identified instance.
12526
- - `true`: Enabled
12527
- - `false`: Disabled
12528
- * @type {boolean || null}
12565
+ * Number of shards.
12566
+ * @type {number || null}
12529
12567
  */
12530
- this.SSLConfig = null;
12568
+ this.RedisShardNum = null;
12531
12569
 
12532
12570
  /**
12533
- * Whether SSL is supported for the identified instance.
12534
- -`true`: Supported
12535
- -`false`: Not supported
12536
- * @type {boolean || null}
12571
+ * Number of replicas.
12572
+ * @type {number || null}
12537
12573
  */
12538
- this.FeatureSupport = null;
12574
+ this.RedisReplicasNum = null;
12539
12575
 
12540
12576
  /**
12541
- * Status of SSL configuration
12542
- - `1`: Configuring
12543
- - `2`: Configured successfully
12577
+ * Billing ID.
12544
12578
  * @type {number || null}
12545
12579
  */
12546
- this.Status = null;
12580
+ this.PriceId = null;
12547
12581
 
12548
12582
  /**
12549
- * 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.
12583
+ * Time when an instance starts to be isolated.
12550
12584
  * @type {string || null}
12551
12585
  */
12552
- this.RequestId = null;
12553
-
12554
- }
12555
-
12556
- /**
12557
- * @private
12558
- */
12559
- deserialize(params) {
12560
- if (!params) {
12561
- return;
12562
- }
12563
- this.CertDownloadUrl = 'CertDownloadUrl' in params ? params.CertDownloadUrl : null;
12564
- this.UrlExpiredTime = 'UrlExpiredTime' in params ? params.UrlExpiredTime : null;
12565
- this.SSLConfig = 'SSLConfig' in params ? params.SSLConfig : null;
12566
- this.FeatureSupport = 'FeatureSupport' in params ? params.FeatureSupport : null;
12567
- this.Status = 'Status' in params ? params.Status : null;
12568
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
12569
-
12570
- }
12571
- }
12586
+ this.CloseTime = null;
12572
12587
 
12573
- /**
12574
- * DescribeTendisSlowLog request structure.
12575
- * @class
12576
- */
12577
- class DescribeTendisSlowLogRequest extends AbstractModel {
12578
- constructor(){
12579
- super();
12588
+ /**
12589
+ * Read weight of a secondary node.
12590
+ - 0: disable read-only replicas.
12591
+ - 100: enable read-only replicas.
12592
+ * @type {number || null}
12593
+ */
12594
+ this.SlaveReadWeight = null;
12580
12595
 
12581
12596
  /**
12582
- * Instance ID. Log in to the [Tendis console](https://console.cloud.tencent.com/tendis) and copy it in the instance list.
12583
- * @type {string || null}
12597
+ * Information on tags associated with the instance.
12598
+ * @type {Array.<InstanceTagInfo> || null}
12584
12599
  */
12585
- this.InstanceId = null;
12600
+ this.InstanceTags = null;
12586
12601
 
12587
12602
  /**
12588
- * Start time for a query, for example, 2019-09-08 12:12:41, with a maximum query span of 30 days.
12603
+ * Project name
12589
12604
  * @type {string || null}
12590
12605
  */
12591
- this.BeginTime = null;
12606
+ this.ProjectName = null;
12592
12607
 
12593
12608
  /**
12594
- * End time for a query, for example, 2019-09-09 12:12:41, with a maximum query span of 30 days.
12595
- * @type {string || null}
12609
+ * Whether the instance is password-free.<ul><li>true: password-free instance.</li><li>false: password required by the instance.</li></ul>
12610
+ * @type {boolean || null}
12596
12611
  */
12597
- this.EndTime = null;
12612
+ this.NoAuth = null;
12598
12613
 
12599
12614
  /**
12600
- * Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
12615
+ * Number of client connections.
12601
12616
  * @type {number || null}
12602
12617
  */
12603
- this.MinQueryTime = null;
12618
+ this.ClientLimit = null;
12604
12619
 
12605
12620
  /**
12606
- * Page size. The default value is 20, the minimum value is 1, and the maximum value is 100.
12621
+ * DTS status. (Internal parameter, which can be ignored.)
12607
12622
  * @type {number || null}
12608
12623
  */
12609
- this.Limit = null;
12624
+ this.DtsStatus = null;
12610
12625
 
12611
12626
  /**
12612
- * Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number – 1). The default value is 0.
12627
+ * Shard bandwidth limit. Unit: MB.
12613
12628
  * @type {number || null}
12614
12629
  */
12615
- this.Offset = null;
12616
-
12617
- }
12618
-
12619
- /**
12620
- * @private
12621
- */
12622
- deserialize(params) {
12623
- if (!params) {
12624
- return;
12625
- }
12626
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12627
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
12628
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
12629
- this.MinQueryTime = 'MinQueryTime' in params ? params.MinQueryTime : null;
12630
- this.Limit = 'Limit' in params ? params.Limit : null;
12631
- this.Offset = 'Offset' in params ? params.Offset : null;
12632
-
12633
- }
12634
- }
12635
-
12636
- /**
12637
- * DescribeProxySlowLog request structure.
12638
- * @class
12639
- */
12640
- class DescribeProxySlowLogRequest extends AbstractModel {
12641
- constructor(){
12642
- super();
12630
+ this.NetLimit = null;
12643
12631
 
12644
12632
  /**
12645
- * ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
12633
+ * Password-free instance flag. (Internal parameter, which can be ignored.)
12634
+ * @type {number || null}
12635
+ */
12636
+ this.PasswordFree = null;
12646
12637
 
12638
+ /**
12639
+ * This parameter encounters a naming issue. It is recommended to use the parameter IPv6 instead. It is an internal parameter and can be ignored.
12647
12640
  * @type {string || null}
12648
12641
  */
12649
- this.InstanceId = null;
12642
+ this.Vip6 = null;
12650
12643
 
12651
12644
  /**
12652
- * Start time of a slow query, with a maximum query span of 30 days.
12645
+ * Internal parameter, which can be ignored.
12653
12646
  * @type {string || null}
12654
12647
  */
12655
- this.BeginTime = null;
12648
+ this.IPv6 = null;
12649
+
12650
+ /**
12651
+ * Instance read-only flag. (Internal parameter, which can be ignored.)
12652
+ * @type {number || null}
12653
+ */
12654
+ this.ReadOnly = null;
12656
12655
 
12657
12656
  /**
12658
- * End time of a slow query, with a maximum query span of 30 days.
12657
+ * Internal parameter, which can be ignored.
12659
12658
  * @type {string || null}
12660
12659
  */
12661
- this.EndTime = null;
12660
+ this.RemainBandwidthDuration = null;
12662
12661
 
12663
12662
  /**
12664
- * Slow query threshold, in milliseconds. The value is a positive integer greater than 0.
12663
+ * For TencentDB for Redis® instances, ignore this parameter.
12665
12664
  * @type {number || null}
12666
12665
  */
12667
- this.MinQueryTime = null;
12666
+ this.DiskSize = null;
12668
12667
 
12669
12668
  /**
12670
- * Size of the output task list per page. The default value is 20, the minimum value is 1, and the maximum value is 100.
12671
- * @type {number || null}
12669
+ * Monitoring version.<ul><li>1m: monitoring with the 1-minute granularity. Currently, this monitoring granularity is unavailable. For details, see [1-Minute Granularity Will Be Disused](https://intl.cloud.tencent.com/document/product/239/80653?from_cn_redirect=1).</li><li>5s: monitoring with the 5-second granularity.</li></ul>
12670
+ * @type {string || null}
12672
12671
  */
12673
- this.Limit = null;
12672
+ this.MonitorVersion = null;
12674
12673
 
12675
12674
  /**
12676
- * Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number 1). The default value is 0.
12675
+ * Minimum value that can be set for the maximum number of client connections.
12677
12676
  * @type {number || null}
12678
12677
  */
12679
- this.Offset = null;
12678
+ this.ClientLimitMin = null;
12680
12679
 
12681
- }
12680
+ /**
12681
+ * Maximum value that can be set for the maximum number of client connections.
12682
+ * @type {number || null}
12683
+ */
12684
+ this.ClientLimitMax = null;
12682
12685
 
12683
- /**
12684
- * @private
12685
- */
12686
- deserialize(params) {
12687
- if (!params) {
12688
- return;
12689
- }
12690
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12691
- this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
12692
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
12693
- this.MinQueryTime = 'MinQueryTime' in params ? params.MinQueryTime : null;
12694
- this.Limit = 'Limit' in params ? params.Limit : null;
12695
- this.Offset = 'Offset' in params ? params.Offset : null;
12686
+ /**
12687
+ * Node details of the instance.
12696
12688
 
12697
- }
12698
- }
12689
+ It is returned only for multi-AZ instances.
12690
+ * @type {Array.<RedisNodeInfo> || null}
12691
+ */
12692
+ this.NodeSet = null;
12699
12693
 
12700
- /**
12701
- * DescribeRedisClusters response structure.
12702
- * @class
12703
- */
12704
- class DescribeRedisClustersResponse extends AbstractModel {
12705
- constructor(){
12706
- super();
12694
+ /**
12695
+ * Region information on the instance. For example, ap-guangzhou.
12696
+ * @type {string || null}
12697
+ */
12698
+ this.Region = null;
12707
12699
 
12708
12700
  /**
12709
- * Total number of clusters.
12710
- * @type {number || null}
12701
+ * Public network address.
12702
+ * @type {string || null}
12711
12703
  */
12712
- this.Total = null;
12704
+ this.WanAddress = null;
12713
12705
 
12714
12706
  /**
12715
- * CDC cluster resource list.
12716
- * @type {Array.<CDCResource> || null}
12707
+ * Polaris service address for internal use.
12708
+ * @type {string || null}
12717
12709
  */
12718
- this.Resources = null;
12710
+ this.PolarisServer = null;
12719
12711
 
12720
12712
  /**
12721
- * 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.
12713
+ * CDC cluster ID of TencentDB for Redis®.
12722
12714
  * @type {string || null}
12723
12715
  */
12724
- this.RequestId = null;
12716
+ this.RedisClusterId = null;
12725
12717
 
12726
- }
12718
+ /**
12719
+ * CDC cluster ID.
12720
+ * @type {string || null}
12721
+ */
12722
+ this.DedicatedClusterId = null;
12727
12723
 
12728
- /**
12729
- * @private
12730
- */
12731
- deserialize(params) {
12732
- if (!params) {
12733
- return;
12734
- }
12735
- this.Total = 'Total' in params ? params.Total : null;
12724
+ /**
12725
+ * Product edition.<ul><li>local: local disk.</li><li>cloud: cloud disk edition.</li><li>cdc: CDC cluster edition.</li></ul>
12726
+ * @type {string || null}
12727
+ */
12728
+ this.ProductVersion = null;
12736
12729
 
12737
- if (params.Resources) {
12738
- this.Resources = new Array();
12739
- for (let z in params.Resources) {
12740
- let obj = new CDCResource();
12741
- obj.deserialize(params.Resources[z]);
12742
- this.Resources.push(obj);
12743
- }
12744
- }
12745
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
12730
+ /**
12731
+ * Current proxy version of the instance.
12732
+ * @type {string || null}
12733
+ */
12734
+ this.CurrentProxyVersion = null;
12746
12735
 
12747
- }
12748
- }
12736
+ /**
12737
+ * Current cache minor version of the instance. If the instance is added to a global replication group, the global replication kernel version is displayed.
12738
+ * @type {string || null}
12739
+ */
12740
+ this.CurrentRedisVersion = null;
12749
12741
 
12750
- /**
12751
- * ModifyInstanceBackupMode request structure.
12752
- * @class
12753
- */
12754
- class ModifyInstanceBackupModeRequest extends AbstractModel {
12755
- constructor(){
12756
- super();
12742
+ /**
12743
+ * Upgradable proxy version for the instance.
12744
+ * @type {string || null}
12745
+ */
12746
+ this.UpgradeProxyVersion = null;
12757
12747
 
12758
12748
  /**
12759
- * Instance ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis/instance/list), and copy it from the instance list.
12749
+ * Upgradable cache minor version for the instance.
12760
12750
  * @type {string || null}
12761
12751
  */
12762
- this.InstanceId = null;
12752
+ this.UpgradeRedisVersion = null;
12763
12753
 
12764
12754
  /**
12765
- * Backup mode:
12766
- - SecondLevelBackup: second-level backup.
12767
- - NormalLevelBackup: ordinary backup.
12755
+ * Backup mode. - SecondLevelBackup: second-level backup. - NormalLevelBackup: ordinary backup.
12768
12756
  * @type {string || null}
12769
12757
  */
12770
12758
  this.BackupMode = null;
12771
12759
 
12760
+ /**
12761
+ * Deletion protection switch. 0: disabled; 1: enabled.
12762
+ * @type {number || null}
12763
+ */
12764
+ this.DeleteProtectionSwitch = null;
12765
+
12772
12766
  }
12773
12767
 
12774
12768
  /**
@@ -12778,8 +12772,91 @@ class ModifyInstanceBackupModeRequest extends AbstractModel {
12778
12772
  if (!params) {
12779
12773
  return;
12780
12774
  }
12775
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
12781
12776
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
12777
+ this.Appid = 'Appid' in params ? params.Appid : null;
12778
+ this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
12779
+ this.RegionId = 'RegionId' in params ? params.RegionId : null;
12780
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
12781
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
12782
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
12783
+ this.Status = 'Status' in params ? params.Status : null;
12784
+ this.WanIp = 'WanIp' in params ? params.WanIp : null;
12785
+ this.Port = 'Port' in params ? params.Port : null;
12786
+ this.Createtime = 'Createtime' in params ? params.Createtime : null;
12787
+ this.Size = 'Size' in params ? params.Size : null;
12788
+ this.SizeUsed = 'SizeUsed' in params ? params.SizeUsed : null;
12789
+ this.Type = 'Type' in params ? params.Type : null;
12790
+ this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
12791
+ this.DeadlineTime = 'DeadlineTime' in params ? params.DeadlineTime : null;
12792
+ this.Engine = 'Engine' in params ? params.Engine : null;
12793
+ this.ProductType = 'ProductType' in params ? params.ProductType : null;
12794
+ this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
12795
+ this.UniqSubnetId = 'UniqSubnetId' in params ? params.UniqSubnetId : null;
12796
+ this.BillingMode = 'BillingMode' in params ? params.BillingMode : null;
12797
+ this.InstanceTitle = 'InstanceTitle' in params ? params.InstanceTitle : null;
12798
+ this.OfflineTime = 'OfflineTime' in params ? params.OfflineTime : null;
12799
+ this.SubStatus = 'SubStatus' in params ? params.SubStatus : null;
12800
+ this.Tags = 'Tags' in params ? params.Tags : null;
12801
+
12802
+ if (params.InstanceNode) {
12803
+ this.InstanceNode = new Array();
12804
+ for (let z in params.InstanceNode) {
12805
+ let obj = new InstanceNode();
12806
+ obj.deserialize(params.InstanceNode[z]);
12807
+ this.InstanceNode.push(obj);
12808
+ }
12809
+ }
12810
+ this.RedisShardSize = 'RedisShardSize' in params ? params.RedisShardSize : null;
12811
+ this.RedisShardNum = 'RedisShardNum' in params ? params.RedisShardNum : null;
12812
+ this.RedisReplicasNum = 'RedisReplicasNum' in params ? params.RedisReplicasNum : null;
12813
+ this.PriceId = 'PriceId' in params ? params.PriceId : null;
12814
+ this.CloseTime = 'CloseTime' in params ? params.CloseTime : null;
12815
+ this.SlaveReadWeight = 'SlaveReadWeight' in params ? params.SlaveReadWeight : null;
12816
+
12817
+ if (params.InstanceTags) {
12818
+ this.InstanceTags = new Array();
12819
+ for (let z in params.InstanceTags) {
12820
+ let obj = new InstanceTagInfo();
12821
+ obj.deserialize(params.InstanceTags[z]);
12822
+ this.InstanceTags.push(obj);
12823
+ }
12824
+ }
12825
+ this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
12826
+ this.NoAuth = 'NoAuth' in params ? params.NoAuth : null;
12827
+ this.ClientLimit = 'ClientLimit' in params ? params.ClientLimit : null;
12828
+ this.DtsStatus = 'DtsStatus' in params ? params.DtsStatus : null;
12829
+ this.NetLimit = 'NetLimit' in params ? params.NetLimit : null;
12830
+ this.PasswordFree = 'PasswordFree' in params ? params.PasswordFree : null;
12831
+ this.Vip6 = 'Vip6' in params ? params.Vip6 : null;
12832
+ this.IPv6 = 'IPv6' in params ? params.IPv6 : null;
12833
+ this.ReadOnly = 'ReadOnly' in params ? params.ReadOnly : null;
12834
+ this.RemainBandwidthDuration = 'RemainBandwidthDuration' in params ? params.RemainBandwidthDuration : null;
12835
+ this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
12836
+ this.MonitorVersion = 'MonitorVersion' in params ? params.MonitorVersion : null;
12837
+ this.ClientLimitMin = 'ClientLimitMin' in params ? params.ClientLimitMin : null;
12838
+ this.ClientLimitMax = 'ClientLimitMax' in params ? params.ClientLimitMax : null;
12839
+
12840
+ if (params.NodeSet) {
12841
+ this.NodeSet = new Array();
12842
+ for (let z in params.NodeSet) {
12843
+ let obj = new RedisNodeInfo();
12844
+ obj.deserialize(params.NodeSet[z]);
12845
+ this.NodeSet.push(obj);
12846
+ }
12847
+ }
12848
+ this.Region = 'Region' in params ? params.Region : null;
12849
+ this.WanAddress = 'WanAddress' in params ? params.WanAddress : null;
12850
+ this.PolarisServer = 'PolarisServer' in params ? params.PolarisServer : null;
12851
+ this.RedisClusterId = 'RedisClusterId' in params ? params.RedisClusterId : null;
12852
+ this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
12853
+ this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
12854
+ this.CurrentProxyVersion = 'CurrentProxyVersion' in params ? params.CurrentProxyVersion : null;
12855
+ this.CurrentRedisVersion = 'CurrentRedisVersion' in params ? params.CurrentRedisVersion : null;
12856
+ this.UpgradeProxyVersion = 'UpgradeProxyVersion' in params ? params.UpgradeProxyVersion : null;
12857
+ this.UpgradeRedisVersion = 'UpgradeRedisVersion' in params ? params.UpgradeRedisVersion : null;
12782
12858
  this.BackupMode = 'BackupMode' in params ? params.BackupMode : null;
12859
+ this.DeleteProtectionSwitch = 'DeleteProtectionSwitch' in params ? params.DeleteProtectionSwitch : null;
12783
12860
 
12784
12861
  }
12785
12862
  }
@@ -13361,6 +13438,49 @@ class HotKeyInfo extends AbstractModel {
13361
13438
  }
13362
13439
  }
13363
13440
 
13441
+ /**
13442
+ * ModifyInstanceChargeType response structure.
13443
+ * @class
13444
+ */
13445
+ class ModifyInstanceChargeTypeResponse extends AbstractModel {
13446
+ constructor(){
13447
+ super();
13448
+
13449
+ /**
13450
+ * <p>Summary of failed instance modification info</p>
13451
+ * @type {Array.<FailedInstance> || null}
13452
+ */
13453
+ this.FailedInstanceIds = null;
13454
+
13455
+ /**
13456
+ * 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.
13457
+ * @type {string || null}
13458
+ */
13459
+ this.RequestId = null;
13460
+
13461
+ }
13462
+
13463
+ /**
13464
+ * @private
13465
+ */
13466
+ deserialize(params) {
13467
+ if (!params) {
13468
+ return;
13469
+ }
13470
+
13471
+ if (params.FailedInstanceIds) {
13472
+ this.FailedInstanceIds = new Array();
13473
+ for (let z in params.FailedInstanceIds) {
13474
+ let obj = new FailedInstance();
13475
+ obj.deserialize(params.FailedInstanceIds[z]);
13476
+ this.FailedInstanceIds.push(obj);
13477
+ }
13478
+ }
13479
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
13480
+
13481
+ }
13482
+ }
13483
+
13364
13484
  /**
13365
13485
  * Description of the instance parameter in Enum type
13366
13486
  * @class
@@ -14805,6 +14925,7 @@ class InstanceSlowlogDetail extends AbstractModel {
14805
14925
 
14806
14926
  module.exports = {
14807
14927
  UpgradeProxyVersionRequest: UpgradeProxyVersionRequest,
14928
+ ModifyInstanceChargeTypeRequest: ModifyInstanceChargeTypeRequest,
14808
14929
  RemoveReplicationGroupRequest: RemoveReplicationGroupRequest,
14809
14930
  UpgradeSmallVersionRequest: UpgradeSmallVersionRequest,
14810
14931
  ModifyInstanceParamsResponse: ModifyInstanceParamsResponse,
@@ -15008,7 +15129,7 @@ module.exports = {
15008
15129
  DescribeReplicationGroupResponse: DescribeReplicationGroupResponse,
15009
15130
  ModifyParamTemplateRequest: ModifyParamTemplateRequest,
15010
15131
  AvailableRegion: AvailableRegion,
15011
- InstanceSet: InstanceSet,
15132
+ FailedInstance: FailedInstance,
15012
15133
  ReleaseWanAddressRequest: ReleaseWanAddressRequest,
15013
15134
  CloseSSLResponse: CloseSSLResponse,
15014
15135
  ModifyMaintenanceWindowResponse: ModifyMaintenanceWindowResponse,
@@ -15038,6 +15159,7 @@ module.exports = {
15038
15159
  DescribeProxySlowLogRequest: DescribeProxySlowLogRequest,
15039
15160
  DescribeRedisClustersResponse: DescribeRedisClustersResponse,
15040
15161
  ModifyInstanceBackupModeRequest: ModifyInstanceBackupModeRequest,
15162
+ InstanceSet: InstanceSet,
15041
15163
  DescribeProxySlowLogResponse: DescribeProxySlowLogResponse,
15042
15164
  ModifyInstanceReadOnlyRequest: ModifyInstanceReadOnlyRequest,
15043
15165
  DescribeInstanceAccountResponse: DescribeInstanceAccountResponse,
@@ -15052,6 +15174,7 @@ module.exports = {
15052
15174
  DisassociateSecurityGroupsRequest: DisassociateSecurityGroupsRequest,
15053
15175
  StartupInstanceRequest: StartupInstanceRequest,
15054
15176
  HotKeyInfo: HotKeyInfo,
15177
+ ModifyInstanceChargeTypeResponse: ModifyInstanceChargeTypeResponse,
15055
15178
  InstanceEnumParam: InstanceEnumParam,
15056
15179
  CreateInstanceAccountResponse: CreateInstanceAccountResponse,
15057
15180
  DescribeInstanceBackupsRequest: DescribeInstanceBackupsRequest,