tencentcloud-sdk-redis 3.0.553 → 3.0.554

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: 027a9d31ca0669e78a0ac24c2da8d961a0154cb5
4
- data.tar.gz: 35bc23c20c0c8af2cbabe68c386a8d1697c82373
3
+ metadata.gz: 2db6eb962a0599f572776d2460c8f2e2b095c443
4
+ data.tar.gz: 65987c42ced7f6b2851c4f054d6e29ad2b3020d2
5
5
  SHA512:
6
- metadata.gz: 282af89a8b14bb5492888cbd44c1affda27c99744f8324c76738e7424dd97b626a88cfbea57d30d53ad10a5737229e8ac67f0f1a96e441c0cfb9606d3cd5239c
7
- data.tar.gz: a12b433077f1fca060509dc8aee3a6443722fa57afd26faebd54d81dbdde3f531a67cdf1951d6054b6fe61c7e2da3c4e6dfa1283f6c1f3b1de049e2bb050e6de
6
+ metadata.gz: 904dd179f65c36c2c639e087d8c86514a703880bb311576bca00547ebeab41dd489a4e3e3c4c33018d9b7c208eabcfc3233dae1af3d549fad5d518bdc47696c7
7
+ data.tar.gz: 5cc122af2d24b6c437dc12fd404680521f221cac31325993282885e9050434a58d9f5054c7e6abaec567ac6da78890b5ebd56e8694ce23a1b4994c6852699575
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.553
1
+ 3.0.554
@@ -317,7 +317,7 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
- # 本接口(CreateInstances)用于创建redis实例。
320
+ # 本接口(CreateInstances)用于创建 Redis 实例。
321
321
 
322
322
  # @param request: Request instance for CreateInstances.
323
323
  # @type request: :class:`Tencentcloud::redis::V20180412::CreateInstancesRequest`
@@ -781,58 +781,85 @@ module TencentCloud
781
781
 
782
782
  # CreateInstances请求参数结构体
783
783
  class CreateInstancesRequest < TencentCloud::Common::AbstractModel
784
- # @param TypeId: 实例类型:2 – Redis2.8内存版(标准架构),3 – CKV 3.2内存版(标准架构),4 – CKV 3.2内存版(集群架构),6 – Redis4.0内存版(标准架构),7 – Redis4.0内存版(集群架构),8 – Redis5.0内存版(标准架构),9 – Redis5.0内存版(集群架构),15 – Redis6.0内存版(标准架构),16 – Redis6.0内存版(集群架构)。
784
+ # @param TypeId: 实例类型。
785
+ # <ul><li>2:Redis 2.8 内存版(标准架构)。</li><li>3:CKV 3.2 内存版(标准架构)。</li><li>4:CKV 3.2 内存版(集群架构)。</li><li>6:Redis 4.0 内存版(标准架构)。</li><li>7:Redis 4.0 内存版(集群架构)。</li><li>8:Redis 5.0 内存版(标准架构)。</li><li>9:Redis 5.0 内存版(集群架构)。</li><li>15:Redis 6.2 内存版(标准架构)。</li><li>16:Redis 6.2 内存版(集群架构)。</li></ul>
785
786
  # @type TypeId: Integer
786
- # @param MemSize: 内存容量,单位为MB, 数值需为1024的整数倍,具体规格以 [查询产品售卖规格](https://cloud.tencent.com/document/api/239/30600) 返回的规格为准。
787
- # TypeId为标准架构时,MemSize是实例总内存容量;TypeId为集群架构时,MemSize是单分片内存容量。
787
+ # @param MemSize: 内存容量,单位为MB, 数值需为1024的整数倍。具体规格,请通过 [DescribeProductInfo](https://cloud.tencent.com/document/api/239/30600) 接口查询全地域的售卖规格。
788
+ # - **TypeId**为标准架构时,**MemSize**是实例总内存容量;
789
+ # - **TypeId**为集群架构时,**MemSize**是单分片内存容量。
788
790
  # @type MemSize: Integer
789
- # @param GoodsNum: 实例数量,单次购买实例数量以 [查询产品售卖规格](https://cloud.tencent.com/document/api/239/30600) 返回的规格为准。
791
+ # @param GoodsNum: 实例数量,单次购买实例数量。具体信息,请通过 [DescribeProductInfo](https://cloud.tencent.com/document/api/239/30600) 接口查询全地域的售卖规格。
790
792
  # @type GoodsNum: Integer
791
- # @param Period: 购买时长,在创建包年包月实例的时候需要填写,按量计费实例填1即可,单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
793
+ # @param Period: 购买实例的时长。
794
+ # - 若 **BillingMode**为**1**,即计费方式为包年包月时,需设置该参数,指定所购买实例的时长。单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
795
+ # - 若 **BillingMode**为**0**,即计费方式为按量计费时,该参数配置为1。
792
796
  # @type Period: Integer
793
- # @param BillingMode: 付费方式:0-按量计费,1-包年包月。
797
+ # @param BillingMode: 计费方式。
798
+ # - 0:按量计费。
799
+ # - 1:包年包月。
794
800
  # @type BillingMode: Integer
795
801
  # @param ZoneId: 实例所属的可用区ID,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
796
802
  # @type ZoneId: Integer
797
- # @param Password: 实例密码,当输入参数NoAuth为true且使用私有网络VPC时,Password为非必填,否则Password为必填参数。
798
- # 当实例类型TypeId为Redis2.8、4.0和5.0时,其密码格式为:8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头;
799
- # 当实例类型TypeId为CKV 3.2时,其密码格式为:8-30个字符,必须包含字母和数字 且 不包含其他字符。
803
+ # @param Password: 访问实例的密码。
804
+ # - 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
805
+ # - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-30个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
806
+ # - 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且 不包含其他字符。
800
807
  # @type Password: String
801
- # @param VpcId: 私有网络ID,如果不传则默认选择基础网络,请使用私有网络列表查询,如:vpc-sad23jfdfk
808
+ # @param VpcId: 私有网络ID。如果不配置该参数则默认选择基础网络。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询具体的ID
802
809
  # @type VpcId: String
803
- # @param SubnetId: 基础网络下, subnetId无效; vpc子网下,取值以查询子网列表,如:subnet-fdj24n34j2
810
+ # @param SubnetId: 私有网络VPC的子网。基础网络下, 该参数无需配置。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询子网列表获取具体的 ID
804
811
  # @type SubnetId: String
805
- # @param ProjectId: 项目id,取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准。
812
+ # @param ProjectId: 项目 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/),在右上角的账户信息菜单中,选择**项目管理**查询项目 ID。
806
813
  # @type ProjectId: Integer
807
- # @param AutoRenew: 自动续费标识。0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费。
814
+ # @param AutoRenew: 自动续费标识。
815
+ # - 0:默认状态(手动续费)。
816
+ # - 1:自动续费。
817
+ # - 2:到期不续费。
808
818
  # @type AutoRenew: Integer
809
- # @param SecurityGroupIdList: 安全组id数组。
819
+ # @param SecurityGroupIdList: 安全组 ID 数组。请通过[DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447)接口获取实例的安全组 ID。
810
820
  # @type SecurityGroupIdList: Array
811
- # @param VPort: 用户自定义的端口 不填则默认为6379,范围[1024,65535]。
821
+ # @param VPort: 用户自定义的网络端口。默认为6379,范围为 [1024,65535]。
812
822
  # @type VPort: Integer
813
- # @param RedisShardNum: 实例分片数量,购买标准版实例不需要填写,集群版分片数量范围[3,5,8,12,16,24,32,64,96,128]。
823
+ # @param RedisShardNum: 实例分片数量。
824
+ # - 标准版实例无需配置该参数。
825
+ # - 集群版实例,分片数量范围为:[1、3、5、8、12、16、24、32、40、48、64、80、96、128]。
814
826
  # @type RedisShardNum: Integer
815
- # @param RedisReplicasNum: 实例副本数量,Redis 2.8标准版、CKV标准版只支持1副本,4.0、5.0标准版和集群版支持1-5个副本。
827
+ # @param RedisReplicasNum: 实例副本数量。
828
+ # - Redis 内存版 4.0、5.0、6.2 标准架构和集群架构支持副本数量范围为[1,5]。
829
+ # - Redis 2.8标准版、CKV标准版只支持1副本。
816
830
  # @type RedisReplicasNum: Integer
817
- # @param ReplicasReadonly: 是否支持副本只读,Redis 2.8标准版、CKV标准版不支持副本只读,开启副本只读,实例将自动读写分离,写请求路由到主节点,读请求路由到副本节点,如需开启副本只读建议副本数>=2。
831
+ # @param ReplicasReadonly: 标识实例是否需支持副本只读。
832
+ # - Redis 2.8 标准版、CKV标准版不支持副本只读。
833
+ # - 开启副本只读,实例将自动读写分离,写请求路由到主节点,读请求路由到副本节点。
834
+ # - 如需开启副本只读,建议副本数量大于等于2。
818
835
  # @type ReplicasReadonly: Boolean
819
- # @param InstanceName: 实例名称,长度小于60的中文/英文/数字/"-"/"_"。
836
+ # @param InstanceName: 实例名称。命名要求:仅支持长度小于60的中文、英文或者数字,短划线"-"、下划线"_"。
820
837
  # @type InstanceName: String
821
- # @param NoAuth: 是否支持免密,true-免密实例,false-非免密实例,默认为非免密实例,仅VPC网络的实例支持免密码访问。
838
+ # @param NoAuth: 配置实例是否支持免密码访问。
839
+ # - true:免密访问实例。
840
+ # - false:非免密访问实例。默认为非免密方式,仅VPC网络的实例支持免密码访问。
822
841
  # @type NoAuth: Boolean
823
- # @param NodeSet: 实例的节点信息,目前支持传入节点的类型(主节点或者副本节点),节点的可用区。单可用区部署不需要传递此参数。
842
+ # @param NodeSet: 实例的节点信息,包含节点 ID、节点类型、节点可用区 ID等。具体信息,请参见[RedisNodeInfo ](https://cloud.tencent.com/document/product/239/20022)。
843
+ # 目前支持传入节点的类型(主节点或者副本节点),节点的可用区。单可用区部署不需要传递此参数。
824
844
  # @type NodeSet: Array
825
- # @param ResourceTags: 购买实例绑定标签
845
+ # @param ResourceTags: 给实例设定标签。
826
846
  # @type ResourceTags: Array
827
- # @param ZoneName: 实例所属的可用区名称,可参考[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
847
+ # @param ZoneName: 指定实例所属的可用区名称。具体信息,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
828
848
  # @type ZoneName: String
829
- # @param TemplateId: 创建实例需要应用的参数模板ID,不传则应用默认的参数模板
849
+ # @param TemplateId: 指定实例相关的参数模板 ID
850
+ # - 若不配置该参数,则系统会依据所选择的兼容版本及架构,自动适配对应的默认模板。
851
+ # - 请通过[DescribeParamTemplates](https://cloud.tencent.com/document/product/239/58750)接口,查询实例的参数模板列表,获取模板 ID 编号。
830
852
  # @type TemplateId: String
831
- # @param DryRun: false :默认值,发送正常请求,通过检查后直接创建实例 true:发送检查请求,不会创建实例。
853
+ # @param DryRun: 内部参数,标识创建实例是否需要检查。
854
+ # - false :默认值。发送正常请求,通过检查后直接创建实例。
855
+ # - true:发送检查请求,不会创建实例。
832
856
  # @type DryRun: Boolean
833
- # @param ProductVersion: "local"本地盘版,"cloud"云盘版,"cdc"独享集群版,如果不传默认发货为本地盘版本
857
+ # @param ProductVersion: 指定实例的产品版本。
858
+ # - local:本地盘版。
859
+ # - cloud:云盘版,
860
+ # - cdc:独享集群版。如果不传默认发货为本地盘版本。
834
861
  # @type ProductVersion: String
835
- # @param RedisClusterId: 独享集群id,ProductVersion="cdc"时必传
862
+ # @param RedisClusterId: 独享集群 ID。当**ProductVersion**设置为**cdc**时,该参数必须设置。
836
863
  # @type RedisClusterId: String
837
864
 
838
865
  attr_accessor :TypeId, :MemSize, :GoodsNum, :Period, :BillingMode, :ZoneId, :Password, :VpcId, :SubnetId, :ProjectId, :AutoRenew, :SecurityGroupIdList, :VPort, :RedisShardNum, :RedisReplicasNum, :ReplicasReadonly, :InstanceName, :NoAuth, :NodeSet, :ResourceTags, :ZoneName, :TemplateId, :DryRun, :ProductVersion, :RedisClusterId
@@ -910,9 +937,9 @@ module TencentCloud
910
937
 
911
938
  # CreateInstances返回参数结构体
912
939
  class CreateInstancesResponse < TencentCloud::Common::AbstractModel
913
- # @param DealId: 交易的ID
940
+ # @param DealId: 交易的ID
914
941
  # @type DealId: String
915
- # @param InstanceIds: 实例ID
942
+ # @param InstanceIds: 实例ID
916
943
  # @type InstanceIds: Array
917
944
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
918
945
  # @type RequestId: String
@@ -4151,23 +4178,27 @@ module TencentCloud
4151
4178
 
4152
4179
  # 实例分片列表信息
4153
4180
  class InstanceClusterShard < TencentCloud::Common::AbstractModel
4154
- # @param ShardName: 分片节点名称
4181
+ # @param ShardName: 分片节点名称。
4155
4182
  # @type ShardName: String
4156
- # @param ShardId: 分片节点Id
4183
+ # @param ShardId: 分片节点序号。
4157
4184
  # @type ShardId: String
4158
- # @param Role: 角色
4185
+ # @param Role: 分片节点的角色。
4186
+ # - 0:主节点。
4187
+ # - 1:副本节点。
4159
4188
  # @type Role: Integer
4160
- # @param Keys: Key数量
4189
+ # @param Keys: Key数量。
4161
4190
  # @type Keys: Integer
4162
- # @param Slots: slot信息
4191
+ # @param Slots: Slot信息。
4163
4192
  # @type Slots: String
4164
- # @param Storage: 使用容量
4193
+ # @param Storage: 已使用容量。
4165
4194
  # @type Storage: Integer
4166
- # @param StorageSlope: 容量倾斜率
4195
+ # @param StorageSlope: 容量倾斜率。
4167
4196
  # @type StorageSlope: Float
4168
- # @param Runid: 实例运行时节点Id
4197
+ # @param Runid: 实例运行时节点 ID。
4169
4198
  # @type Runid: String
4170
- # @param Connected: 服务状态:0-down;1-on
4199
+ # @param Connected: 服务状态。
4200
+ # - 0:down。
4201
+ # - 1:on。
4171
4202
  # @type Connected: Integer
4172
4203
 
4173
4204
  attr_accessor :ShardName, :ShardId, :Role, :Keys, :Slots, :Storage, :StorageSlope, :Runid, :Connected
@@ -4485,7 +4516,7 @@ module TencentCloud
4485
4516
  # @type InstanceName: String
4486
4517
  # @param InstanceId: 实例 ID。
4487
4518
  # @type InstanceId: String
4488
- # @param Appid: 用户的 AppID
4519
+ # @param Appid: 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID
4489
4520
  # @type Appid: Integer
4490
4521
  # @param ProjectId: 项目 ID。
4491
4522
  # @type ProjectId: Integer
@@ -4503,9 +4534,9 @@ module TencentCloud
4503
4534
  # @type WanIp: String
4504
4535
  # @param Port: 实例端口号。
4505
4536
  # @type Port: Integer
4506
- # @param Createtime: 实例创建时间。
4537
+ # @param Createtime: 实例创建时间。格式如:2020-01-15 10:20:00。
4507
4538
  # @type Createtime: String
4508
- # @param Size: 实例容量大小,单位:MB。
4539
+ # @param Size: 实例内存容量大小。单位:MB,1MB=1024KB
4509
4540
  # @type Size: Float
4510
4541
  # @param SizeUsed: 该字段已废弃。请使用腾讯云可观测平台API 接口 [GetMonitorData](https://cloud.tencent.com/document/product/248/31014) 获取实例已使用的内存容量。
4511
4542
  # @type SizeUsed: Float
@@ -4523,7 +4554,7 @@ module TencentCloud
4523
4554
  # @type Type: Integer
4524
4555
  # @param AutoRenewFlag: 实例是否设置自动续费标识。<ul><li>1:设置自动续费。</li><li>0:未设置自动续费。</li></ul>
4525
4556
  # @type AutoRenewFlag: Integer
4526
- # @param DeadlineTime: 实例到期时间。
4557
+ # @param DeadlineTime: 包年包月计费实例到期的时间。
4527
4558
  # @type DeadlineTime: String
4528
4559
  # @param Engine: 引擎:社区版Redis、腾讯云CKV。
4529
4560
  # @type Engine: String
@@ -4537,7 +4568,7 @@ module TencentCloud
4537
4568
  # @type BillingMode: Integer
4538
4569
  # @param InstanceTitle: 实例运行状态描述:如”实例运行中“。
4539
4570
  # @type InstanceTitle: String
4540
- # @param OfflineTime: 计划下线时间。
4571
+ # @param OfflineTime: 已隔离实例默认下线时间。按量计费实例隔离后默认两小时后下线,包年包月默认7天后下线。格式如:2020-02-15 10:20:00。
4541
4572
  # @type OfflineTime: String
4542
4573
  # @param SubStatus: 流程中的实例,返回子状态。
4543
4574
  # @type SubStatus: Integer
@@ -4553,7 +4584,7 @@ module TencentCloud
4553
4584
  # @type RedisReplicasNum: Integer
4554
4585
  # @param PriceId: 计费 ID。
4555
4586
  # @type PriceId: Integer
4556
- # @param CloseTime: 隔离时间。
4587
+ # @param CloseTime: 实例隔离开始的时间。
4557
4588
  # @type CloseTime: String
4558
4589
  # @param SlaveReadWeight: 从节点读取权重。
4559
4590
  # @type SlaveReadWeight: Integer
@@ -4590,7 +4621,7 @@ module TencentCloud
4590
4621
  # @param DiskSize: Redis实例请忽略该参数。
4591
4622
  # 注意:此字段可能返回 null,表示取不到有效值。
4592
4623
  # @type DiskSize: Integer
4593
- # @param MonitorVersion: 监控版本。<ul><li>1m:1分钟粒度监控。</li><li>5s:5秒粒度监控。</li></ul>
4624
+ # @param MonitorVersion: 监控版本。<ul><li>1m:1分钟粒度监控。目前该监控粒度已下线,具体信息,请参见[云数据库 Redis 1分钟粒度下线公告](https://cloud.tencent.com/document/product/239/80653)。</li><li>5s:5秒粒度监控。</li></ul>
4594
4625
  # 注意:此字段可能返回 null,表示取不到有效值。
4595
4626
  # @type MonitorVersion: String
4596
4627
  # @param ClientLimitMin: 客户端最大连接数可设置的最小值。
@@ -4608,7 +4639,7 @@ module TencentCloud
4608
4639
  # @param WanAddress: 外网地址。
4609
4640
  # 注意:此字段可能返回 null,表示取不到有效值。
4610
4641
  # @type WanAddress: String
4611
- # @param PolarisServer: 北极星服务地址。
4642
+ # @param PolarisServer: 北极星服务地址,内部使用。
4612
4643
  # 注意:此字段可能返回 null,表示取不到有效值。
4613
4644
  # @type PolarisServer: String
4614
4645
  # @param CurrentProxyVersion: 实例当前Proxy版本。
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.553
4
+ version: 3.0.554
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-18 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common