tencentcloud-sdk-cdb 3.0.1152 → 3.0.1157

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: f6c123149adcf9467bd2188610fae5ffaa27c549
4
- data.tar.gz: bcd7eee7a4a0a0f793b23626c7dabe5aaa06135f
3
+ metadata.gz: afc6f4961d81127705581bcafd3a4b9a87b45d2d
4
+ data.tar.gz: 1e26ae3694abb963c80d64491a31610cf8ce27a4
5
5
  SHA512:
6
- metadata.gz: 9873abf559a3cf93433abd4dad1ecb2a32bb6352637b6a1e95d1eb6b3cfce63e76789ad4642c26f7bc6fcfaab18311cab28d97e6b4ac59266d474148d309ef85
7
- data.tar.gz: 5765fbfe883be6a4f76d94073a9d0b5dbecf5bdf0e13b4e8f37161bdbd2a5d557a928490b738ad2783fe18244d1409f61fa3ee9c2ad55222c9a46cea5f05493a
6
+ metadata.gz: 14b484669313185aece5bed34eda5d45c8e23e25aa339ec014b146b0827f694e8a06cbef93cf124e8732b6fe7fa862e1ac2df3d9098b614e1ebe5d2cb0b0d8bf
7
+ data.tar.gz: 330c7c12c07c6e6d36bcede5dd162b3f296ba63d3b16b315450e2fa16bc0f57c4ae2ececabf168356d3f757024bb4b290bd446e17b3f00772b9af3ce4d14cc44
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1152
1
+ 3.0.1157
@@ -2144,6 +2144,30 @@ module TencentCloud
2144
2144
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2145
2145
  end
2146
2146
 
2147
+ # 该接口(DescribeInstancePasswordComplexity)用于查询实例的密码复杂度参数列表。
2148
+
2149
+ # @param request: Request instance for DescribeInstancePasswordComplexity.
2150
+ # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeInstancePasswordComplexityRequest`
2151
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeInstancePasswordComplexityResponse`
2152
+ def DescribeInstancePasswordComplexity(request)
2153
+ body = send_request('DescribeInstancePasswordComplexity', request.serialize)
2154
+ response = JSON.parse(body)
2155
+ if response['Response'].key?('Error') == false
2156
+ model = DescribeInstancePasswordComplexityResponse.new
2157
+ model.deserialize(response['Response'])
2158
+ model
2159
+ else
2160
+ code = response['Response']['Error']['Code']
2161
+ message = response['Response']['Error']['Message']
2162
+ reqid = response['Response']['RequestId']
2163
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2164
+ end
2165
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2166
+ raise e
2167
+ rescue StandardError => e
2168
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2169
+ end
2170
+
2147
2171
  # 该接口(DescribeInstanceUpgradeCheckJob)查询实例版本升级校验任务。
2148
2172
 
2149
2173
  # @param request: Request instance for DescribeInstanceUpgradeCheckJob.
@@ -1584,7 +1584,13 @@ module TencentCloud
1584
1584
 
1585
1585
  # 售卖实例类型
1586
1586
  class CdbSellType < TencentCloud::Common::AbstractModel
1587
- # @param TypeName: 售卖实例名称。Z3是高可用类型对应规格中的DeviceType包含UNIVERSAL,EXCLUSIVE;CVM是基础版类型对应规格中的DeviceType是BASIC;TKE是基础型v2类型对应规格中的DeviceType是BASIC_V2。
1587
+ # @param TypeName: 售卖实例名称。
1588
+ # Z3:是高可用类型,对应规格中的 DeviceType,包含 UNIVERSAL,EXCLUSIVE。
1589
+ # CVM:是基础版类型,对应规格中的 DeviceType 是 BASIC(已下线)。
1590
+ # TKE:是基础版v2类型,对应规格中的 DeviceType 是 BASIC_V2。
1591
+ # CLOUD_NATIVE_CLUSTER:表示云盘版标准型。
1592
+ # CLOUD_NATIVE_CLUSTER_EXCLUSIVE:表示云盘版加强型。
1593
+ # ECONOMICAL:表示经济型。
1588
1594
  # @type TypeName: String
1589
1595
  # @param EngineVersion: 引擎版本号
1590
1596
  # @type EngineVersion: Array
@@ -1686,9 +1692,9 @@ module TencentCloud
1686
1692
  # @type IsSupportIpv6: Boolean
1687
1693
  # @param EngineType: 可支持的售卖数据库引擎类型
1688
1694
  # @type EngineType: Array
1689
- # @param CloudNativeClusterStatus: 集群版实例在当前可用区的售卖状态。可能的返回值为:1-上线;3-停售;4-不展示
1695
+ # @param CloudNativeClusterStatus: 云盘版实例在当前可用区的售卖状态。可能的返回值为:1-上线;3-停售;4-不展示
1690
1696
  # @type CloudNativeClusterStatus: Integer
1691
- # @param DiskTypeConf: 集群版或者单节点基础型支持的磁盘类型。
1697
+ # @param DiskTypeConf: 云盘版或者单节点基础型支持的磁盘类型。
1692
1698
  # @type DiskTypeConf: Array
1693
1699
 
1694
1700
  attr_accessor :Status, :ZoneName, :IsCustom, :IsSupportDr, :IsSupportVpc, :HourInstanceSaleMaxNum, :IsDefaultZone, :IsBm, :PayType, :ProtectMode, :Zone, :ZoneConf, :DrZone, :IsSupportRemoteRo, :RemoteRoZone, :ExClusterStatus, :ExClusterRemoteRoZone, :ExClusterZoneConf, :SellType, :ZoneId, :IsSupportIpv6, :EngineType, :CloudNativeClusterStatus, :DiskTypeConf
@@ -1853,7 +1859,7 @@ module TencentCloud
1853
1859
  end
1854
1860
  end
1855
1861
 
1856
- # 迁移集群版校验结果
1862
+ # 迁移云盘版校验结果
1857
1863
  class CheckMigrateResult < TencentCloud::Common::AbstractModel
1858
1864
  # @param Name: 校验名称
1859
1865
  # @type Name: String
@@ -2117,7 +2123,7 @@ module TencentCloud
2117
2123
  end
2118
2124
  end
2119
2125
 
2120
- # 集群版节点信息
2126
+ # 云盘版节点信息
2121
2127
  class ClusterInfo < TencentCloud::Common::AbstractModel
2122
2128
  # @param NodeId: 节点id
2123
2129
  # @type NodeId: String
@@ -2141,7 +2147,7 @@ module TencentCloud
2141
2147
  end
2142
2148
  end
2143
2149
 
2144
- # 集群版实例节点信息
2150
+ # 云盘版实例节点信息
2145
2151
  class ClusterNodeInfo < TencentCloud::Common::AbstractModel
2146
2152
  # @param NodeId: 节点id。
2147
2153
  # @type NodeId: String
@@ -7343,6 +7349,53 @@ module TencentCloud
7343
7349
  end
7344
7350
  end
7345
7351
 
7352
+ # DescribeInstancePasswordComplexity请求参数结构体
7353
+ class DescribeInstancePasswordComplexityRequest < TencentCloud::Common::AbstractModel
7354
+ # @param InstanceId: 实例ID
7355
+ # @type InstanceId: String
7356
+
7357
+ attr_accessor :InstanceId
7358
+
7359
+ def initialize(instanceid=nil)
7360
+ @InstanceId = instanceid
7361
+ end
7362
+
7363
+ def deserialize(params)
7364
+ @InstanceId = params['InstanceId']
7365
+ end
7366
+ end
7367
+
7368
+ # DescribeInstancePasswordComplexity返回参数结构体
7369
+ class DescribeInstancePasswordComplexityResponse < TencentCloud::Common::AbstractModel
7370
+ # @param TotalCount: 实例的参数总数
7371
+ # @type TotalCount: Integer
7372
+ # @param Items: 参数详情
7373
+ # @type Items: Array
7374
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7375
+ # @type RequestId: String
7376
+
7377
+ attr_accessor :TotalCount, :Items, :RequestId
7378
+
7379
+ def initialize(totalcount=nil, items=nil, requestid=nil)
7380
+ @TotalCount = totalcount
7381
+ @Items = items
7382
+ @RequestId = requestid
7383
+ end
7384
+
7385
+ def deserialize(params)
7386
+ @TotalCount = params['TotalCount']
7387
+ unless params['Items'].nil?
7388
+ @Items = []
7389
+ params['Items'].each do |i|
7390
+ parameterdetail_tmp = ParameterDetail.new
7391
+ parameterdetail_tmp.deserialize(i)
7392
+ @Items << parameterdetail_tmp
7393
+ end
7394
+ end
7395
+ @RequestId = params['RequestId']
7396
+ end
7397
+ end
7398
+
7346
7399
  # DescribeInstanceUpgradeCheckJob请求参数结构体
7347
7400
  class DescribeInstanceUpgradeCheckJobRequest < TencentCloud::Common::AbstractModel
7348
7401
  # @param InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
@@ -8899,7 +8952,7 @@ module TencentCloud
8899
8952
 
8900
8953
  # 磁盘售卖类型
8901
8954
  class DiskTypeConfigItem < TencentCloud::Common::AbstractModel
8902
- # @param DeviceType: 磁盘对应的实例类型。仅支持单节点基础型和集群版。
8955
+ # @param DeviceType: 磁盘对应的实例类型。仅支持单节点(云盘)和云盘版。
8903
8956
  # @type DeviceType: String
8904
8957
  # @param DiskType: 可以选择的磁盘类型列表。
8905
8958
  # @type DiskType: Array
@@ -9488,20 +9541,26 @@ module TencentCloud
9488
9541
  # @type EngineType: String
9489
9542
  # @param MaxDelayTime: 最大延迟阈值
9490
9543
  # @type MaxDelayTime: Integer
9491
- # @param DiskType: 实例磁盘类型,仅云盘版实例才返回该值。可能的值为 CLOUD_SSD:SSD云硬盘, CLOUD_HSSD:增强型SSD云硬盘
9544
+ # @param DiskType: 实例磁盘类型,仅云盘版和单节点(云盘)实例才会返回有效值。
9545
+ # 说明:
9546
+ # 1. 若返回:"DiskType": "CLOUD_HSSD",则表示该实例磁盘类型为增强型 SSD 云硬盘。
9547
+ # 2. 若返回:"DiskType": "CLOUD_SSD",则表示该实例磁盘类型为 SSD 云硬盘。
9548
+ # 3. 若返回:"DiskType": "",且参数 DeviceType 值为 UNIVERSAL 或 EXCLUSIVE,则表示该实例采用的是本地 SSD 盘。
9492
9549
  # @type DiskType: String
9493
9550
  # @param ExpandCpu: 当前扩容的CPU核心数。
9494
9551
  # @type ExpandCpu: Integer
9495
- # @param ClusterInfo: 实例集群版节点信息
9552
+ # @param ClusterInfo: 云盘版实例节点信息
9496
9553
  # @type ClusterInfo: Array
9497
9554
  # @param AnalysisNodeInfos: 分析引擎节点列表
9498
9555
  # @type AnalysisNodeInfos: Array
9499
9556
  # @param DeviceBandwidth: 设备带宽,单位G。当DeviceClass不为空时此参数才有效。例:25-表示当前设备带宽为25G;10-表示当前设备带宽为10G。
9500
9557
  # @type DeviceBandwidth: Integer
9558
+ # @param DestroyProtect: 实例销毁保护状态,on表示开启保护,否则为关闭保护
9559
+ # @type DestroyProtect: String
9501
9560
 
9502
- attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu, :ClusterInfo, :AnalysisNodeInfos, :DeviceBandwidth
9561
+ attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu, :ClusterInfo, :AnalysisNodeInfos, :DeviceBandwidth, :DestroyProtect
9503
9562
 
9504
- def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil, clusterinfo=nil, analysisnodeinfos=nil, devicebandwidth=nil)
9563
+ def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil, clusterinfo=nil, analysisnodeinfos=nil, devicebandwidth=nil, destroyprotect=nil)
9505
9564
  @WanStatus = wanstatus
9506
9565
  @Zone = zone
9507
9566
  @InitFlag = initflag
@@ -9552,6 +9611,7 @@ module TencentCloud
9552
9611
  @ClusterInfo = clusterinfo
9553
9612
  @AnalysisNodeInfos = analysisnodeinfos
9554
9613
  @DeviceBandwidth = devicebandwidth
9614
+ @DestroyProtect = destroyprotect
9555
9615
  end
9556
9616
 
9557
9617
  def deserialize(params)
@@ -9649,6 +9709,7 @@ module TencentCloud
9649
9709
  end
9650
9710
  end
9651
9711
  @DeviceBandwidth = params['DeviceBandwidth']
9712
+ @DestroyProtect = params['DestroyProtect']
9652
9713
  end
9653
9714
  end
9654
9715
 
@@ -9926,7 +9987,7 @@ module TencentCloud
9926
9987
  end
9927
9988
  end
9928
9989
 
9929
- # 一键迁移集群版只读实例信息
9990
+ # 一键迁移云盘版只读实例信息
9930
9991
  class MigrateClusterRoInfo < TencentCloud::Common::AbstractModel
9931
9992
  # @param RoInstanceId: 只读实例名称
9932
9993
  # @type RoInstanceId: String
@@ -9940,7 +10001,7 @@ module TencentCloud
9940
10001
  # @type DiskType: String
9941
10002
  # @param Zone: 可用区
9942
10003
  # @type Zone: String
9943
- # @param DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。
10004
+ # @param DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 云盘版标准型实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型实例。
9944
10005
  # @type DeviceType: String
9945
10006
  # @param RoGroupId: 只读实例所在ro组,例:cdbrg-xxx
9946
10007
  # @type RoGroupId: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1152
4
+ version: 3.0.1157
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-10-12 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20170320/client.rb
37
36
  - lib/v20170320/models.rb
37
+ - lib/v20170320/client.rb
38
38
  - lib/tencentcloud-sdk-cdb.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby