tencentcloud-sdk-nodejs-intl-en 3.0.577 → 3.0.579

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.577",
3
+ "version": "3.0.579",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.577";
1
+ const sdkVersion = "3.0.579";
2
2
  module.exports = sdkVersion
@@ -2119,7 +2119,7 @@ class RenewInstanceRequest extends AbstractModel {
2119
2119
  super();
2120
2120
 
2121
2121
  /**
2122
- * Length of purchase in months
2122
+ * Validity period in months
2123
2123
  * @type {number || null}
2124
2124
  */
2125
2125
  this.Period = null;
@@ -2130,6 +2130,12 @@ class RenewInstanceRequest extends AbstractModel {
2130
2130
  */
2131
2131
  this.InstanceId = null;
2132
2132
 
2133
+ /**
2134
+ * The parameter used to determine whether to modify the billing mode. <ul><li>If you want to change the billing mode from pay-as-you-go to monthly subscription, specify this parameter as <b>prepaid</b>. </li><li>If the current instance is monthly subscribed, this parameter is not required. </li></ul>
2135
+ * @type {string || null}
2136
+ */
2137
+ this.ModifyPayMode = null;
2138
+
2133
2139
  }
2134
2140
 
2135
2141
  /**
@@ -2141,6 +2147,7 @@ class RenewInstanceRequest extends AbstractModel {
2141
2147
  }
2142
2148
  this.Period = 'Period' in params ? params.Period : null;
2143
2149
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2150
+ this.ModifyPayMode = 'ModifyPayMode' in params ? params.ModifyPayMode : null;
2144
2151
 
2145
2152
  }
2146
2153
  }
@@ -3147,11 +3154,18 @@ class ProxyNodes extends AbstractModel {
3147
3154
 
3148
3155
  /**
3149
3156
  * Node ID
3150
- Note: This field may return `null`, indicating that no valid values can be obtained.
3157
+ Note: This field may return null, indicating that no valid values can be obtained.
3151
3158
  * @type {string || null}
3152
3159
  */
3153
3160
  this.NodeId = null;
3154
3161
 
3162
+ /**
3163
+ * AZ ID
3164
+ Note: This field may return null, indicating that no valid values can be obtained.
3165
+ * @type {number || null}
3166
+ */
3167
+ this.ZoneId = null;
3168
+
3155
3169
  }
3156
3170
 
3157
3171
  /**
@@ -3162,6 +3176,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
3162
3176
  return;
3163
3177
  }
3164
3178
  this.NodeId = 'NodeId' in params ? params.NodeId : null;
3179
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
3165
3180
 
3166
3181
  }
3167
3182
  }
@@ -10422,31 +10437,31 @@ class UpgradeInstanceRequest extends AbstractModel {
10422
10437
  super();
10423
10438
 
10424
10439
  /**
10425
- * Instance ID
10440
+ * The ID of instance to be modified.
10426
10441
  * @type {string || null}
10427
10442
  */
10428
10443
  this.InstanceId = null;
10429
10444
 
10430
10445
  /**
10431
- * Shard size in MB. This parameter cannot be passed in at the same time as `RedisShardNum`/`RedisReplicasNum`.
10446
+ * New memory size of an instance shard. <ul><li>Unit: MB. </li><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>
10432
10447
  * @type {number || null}
10433
10448
  */
10434
10449
  this.MemSize = null;
10435
10450
 
10436
10451
  /**
10437
- * Number of shards. This parameter is not required by standard architecture instances and cannot be passed in at the same time as `RedisReplicasNum`/`MemSize`.
10452
+ * New number of instance shards. <ul><li>This parameter is not required for standard architecture instances, but for cluster architecture instances. </li><li>For cluster architecture, you can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>
10438
10453
  * @type {number || null}
10439
10454
  */
10440
10455
  this.RedisShardNum = null;
10441
10456
 
10442
10457
  /**
10443
- * Number of replicas. This parameter cannot be passed in at the same time as `RedisShardNum`/`MemSize`. To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in.
10458
+ * New replica quantity. <ul><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in.</li></ul>
10444
10459
  * @type {number || null}
10445
10460
  */
10446
10461
  this.RedisReplicasNum = null;
10447
10462
 
10448
10463
  /**
10449
- * Additional information for adding replicas for multi-AZ instances. This parameter is not required for single-AZ instances but is required when adding replicas for multi-AZ instances. It contains the information of the replicas to be added, including replica AZ and type (`NodeType` is 1).
10464
+ * Additional information for adding replicas for multi-AZ instances, including replica AZ and type (`NodeType` is `1`). This parameter is not required for single-AZ instances.
10450
10465
  * @type {Array.<RedisNodeInfo> || null}
10451
10466
  */
10452
10467
  this.NodeSet = null;
@@ -360,7 +360,7 @@ class RedisClient extends AbstractClient {
360
360
  }
361
361
 
362
362
  /**
363
- * This API is used to upgrade an instance.
363
+ * This API is used to modify the instance configuration.
364
364
  * @param {UpgradeInstanceRequest} req
365
365
  * @param {function(string, UpgradeInstanceResponse):void} cb
366
366
  * @public
@@ -91,7 +91,7 @@ class CreateDBInstancesRequest extends AbstractModel {
91
91
  this.VoucherIds = null;
92
92
 
93
93
  /**
94
- * SQL Server version. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise). The version purchasable varies by region and can be queried by calling the `DescribeProductConfig` API. If this parameter is left empty, 2008R2 will be used by default.
94
+ * SQL Server version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The available version varies by region, and you can pull the version information by calling the `DescribeProductConfig` API.
95
95
  * @type {string || null}
96
96
  */
97
97
  this.DBVersion = null;
@@ -347,6 +347,36 @@ class ModifyBackupStrategyRequest extends AbstractModel {
347
347
  */
348
348
  this.BackupSaveDays = null;
349
349
 
350
+ /**
351
+ * Archive backup status. Valid values: `enable` (enabled); `disable` (disabled). Default value: `disable`.
352
+ * @type {string || null}
353
+ */
354
+ this.RegularBackupEnable = null;
355
+
356
+ /**
357
+ * Archive backup retention days. Value range: 90–3650 days. Default value: 365 days.
358
+ * @type {number || null}
359
+ */
360
+ this.RegularBackupSaveDays = null;
361
+
362
+ /**
363
+ * Archive backup policy. Valid values: `years` (yearly); `quarters (quarterly); `months` (monthly); Default value: `months`.
364
+ * @type {string || null}
365
+ */
366
+ this.RegularBackupStrategy = null;
367
+
368
+ /**
369
+ * The number of retained archive backups. Default value: `1`.
370
+ * @type {number || null}
371
+ */
372
+ this.RegularBackupCounts = null;
373
+
374
+ /**
375
+ * Archive backup start date in YYYY-MM-DD format, which is the current time by default.
376
+ * @type {string || null}
377
+ */
378
+ this.RegularBackupStartTime = null;
379
+
350
380
  }
351
381
 
352
382
  /**
@@ -363,6 +393,11 @@ class ModifyBackupStrategyRequest extends AbstractModel {
363
393
  this.BackupModel = 'BackupModel' in params ? params.BackupModel : null;
364
394
  this.BackupCycle = 'BackupCycle' in params ? params.BackupCycle : null;
365
395
  this.BackupSaveDays = 'BackupSaveDays' in params ? params.BackupSaveDays : null;
396
+ this.RegularBackupEnable = 'RegularBackupEnable' in params ? params.RegularBackupEnable : null;
397
+ this.RegularBackupSaveDays = 'RegularBackupSaveDays' in params ? params.RegularBackupSaveDays : null;
398
+ this.RegularBackupStrategy = 'RegularBackupStrategy' in params ? params.RegularBackupStrategy : null;
399
+ this.RegularBackupCounts = 'RegularBackupCounts' in params ? params.RegularBackupCounts : null;
400
+ this.RegularBackupStartTime = 'RegularBackupStartTime' in params ? params.RegularBackupStartTime : null;
366
401
 
367
402
  }
368
403
  }
@@ -1542,7 +1577,7 @@ class DescribeBackupsRequest extends AbstractModel {
1542
1577
  this.Strategy = null;
1543
1578
 
1544
1579
  /**
1545
- * Filter by backup mode. Valid values: 0 (automatic backup on a regular basis), 1 (manual backup performed by the user at any time). If this parameter is left empty, backup mode will not be used in filtering.
1580
+ * Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`.
1546
1581
  * @type {number || null}
1547
1582
  */
1548
1583
  this.BackupWay = null;
@@ -6769,7 +6804,7 @@ class Backup extends AbstractModel {
6769
6804
  this.Strategy = null;
6770
6805
 
6771
6806
  /**
6772
- * Backup mode. 0: scheduled, 1: manual
6807
+ * Backup Mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup).
6773
6808
  * @type {number || null}
6774
6809
  */
6775
6810
  this.BackupWay = null;