tencentcloud-sdk-redis 3.0.1016 → 3.0.1017

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea2bb13bcd46dbb9bc15cbda595517c115c5cce8
4
- data.tar.gz: d216f677ba5b1cfb3ec7b85ad27494c3b15a1218
3
+ metadata.gz: 205ec28b4777e4f8ffc4acde3b7beee75518ada8
4
+ data.tar.gz: f00655b0acab0873573763b5f9524b81477ed81c
5
5
  SHA512:
6
- metadata.gz: 4d7c6a99863a7cb1df0797462ec4673a9e88baa049970ce86d0ea25dfb1cbcf39f4d574fac3cb26d0fd088ed1bffa0c6a8adeb279d7f652aa7a58fd599620292
7
- data.tar.gz: f48e3747bd8e84161309de9aae1da788dac99458b6ca1031a92cc87b6cdca26bd3011dbf8b15a3f825ea70f2b813afa84a1c6dff2bcc4d41e6e062b9f40772ec
6
+ metadata.gz: 31f8db68bae654e4e7f0428f308a2bdfd205fae3c2d863e73490b8249e9561601c5bd28d544bf149e5f5f828306ff46d085f3a7fb81edee7303b3ff2393bc144
7
+ data.tar.gz: f961fc5803980d51e56e7c54f08653f922cbc83a5ae2e7b79824e84ee64530b0f799c64a56466d3a38f6b5b7cce942d03d843685aecd0c6ff256e6fc0d559ec9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1016
1
+ 3.0.1017
@@ -8498,7 +8498,7 @@ module TencentCloud
8498
8498
 
8499
8499
  # UpgradeInstance请求参数结构体
8500
8500
  class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
8501
- # @param InstanceId: 待变更实例 ID。
8501
+ # @param InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
8502
8502
  # @type InstanceId: String
8503
8503
  # @param MemSize: 指实例每个分片内存变更后的大小。<ul><li>单位 MB。</li><li>每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。</li><li>缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。</li></ul>
8504
8504
  # @type MemSize: Integer
@@ -8508,15 +8508,20 @@ module TencentCloud
8508
8508
  # @type RedisReplicasNum: Integer
8509
8509
  # @param NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
8510
8510
  # @type NodeSet: Array
8511
+ # @param SwitchOption: 切换时间。
8512
+ # - 1:维护时间窗操作:在设置的维护时间窗内执行操作。请通过接口[DescribeMaintenanceWindow](https://cloud.tencent.com/document/product/239/46336)查询设置的维护时间窗时间段。缩副本、扩缩分片、扩内存均支持在维护时间窗执行操作。
8513
+ # - 2:立即操作:默认切换时刻。操作将立即执行,无需等待维护时间窗。
8514
+ # @type SwitchOption: Integer
8511
8515
 
8512
- attr_accessor :InstanceId, :MemSize, :RedisShardNum, :RedisReplicasNum, :NodeSet
8516
+ attr_accessor :InstanceId, :MemSize, :RedisShardNum, :RedisReplicasNum, :NodeSet, :SwitchOption
8513
8517
 
8514
- def initialize(instanceid=nil, memsize=nil, redisshardnum=nil, redisreplicasnum=nil, nodeset=nil)
8518
+ def initialize(instanceid=nil, memsize=nil, redisshardnum=nil, redisreplicasnum=nil, nodeset=nil, switchoption=nil)
8515
8519
  @InstanceId = instanceid
8516
8520
  @MemSize = memsize
8517
8521
  @RedisShardNum = redisshardnum
8518
8522
  @RedisReplicasNum = redisreplicasnum
8519
8523
  @NodeSet = nodeset
8524
+ @SwitchOption = switchoption
8520
8525
  end
8521
8526
 
8522
8527
  def deserialize(params)
@@ -8532,6 +8537,7 @@ module TencentCloud
8532
8537
  @NodeSet << redisnodeinfo_tmp
8533
8538
  end
8534
8539
  end
8540
+ @SwitchOption = params['SwitchOption']
8535
8541
  end
8536
8542
  end
8537
8543
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1016
4
+ version: 3.0.1017
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-11 00:00:00.000000000 Z
11
+ date: 2025-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common