tencentcloud-sdk-cynosdb 1.0.352 → 1.0.353

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +18 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5e544405fae1daea7d227e4c95f871ec5fbe071
4
- data.tar.gz: f08bf37ba9e8a28753aa1b9fc3c72b1298f1fcdc
3
+ metadata.gz: 88120b15da590152bd9670e82c4ee482a8214f0f
4
+ data.tar.gz: e69dc02f97e87e25242141461f44cb293a24fa7f
5
5
  SHA512:
6
- metadata.gz: 5b8efae28ff1a1383ccd3124c0cc67ef287fa9526635f79e3813d25d96fa49bbd9ef1497d0d696f0c59ff9746cd7c361c4d5333a90c99d3e50210ae8afc43d22
7
- data.tar.gz: ae39eae1621dbb6859cdea77b789bd5211fa9732251ff754aa0997a32287716d35ad115f3e1f9cc7ba0df73ff9bd3744121fcbf5180508a6222472ee08a77f5b
6
+ metadata.gz: 8e4bd58cc5ccd38e3f1baba6840bdf7a4054402e2fc35bb5f3bd6234509130af393464a5d0b694a4272c368d412d3d7d9371ecdc64c6674e19f9645b1db01d05
7
+ data.tar.gz: 8c997f7617a33eb800d50fe7b8f3289fc818c21da1f838f0c683a4767de57c60f20eb0ccdc776642555d4bade071d3052fba3c1e53be71e670d27985234aa5d5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.352
1
+ 1.0.353
@@ -526,7 +526,7 @@ module TencentCloud
526
526
  # @type ClusterName: String
527
527
  # @param AdminPassword: 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
528
528
  # @type AdminPassword: String
529
- # @param Port: 端口,默认5432
529
+ # @param Port: 端口,默认3306,取值范围[0, 65535)
530
530
  # @type Port: Integer
531
531
  # @param PayMode: 计费模式,按量计费:0,包年包月:1。默认按量计费。
532
532
  # @type PayMode: Integer
@@ -549,13 +549,13 @@ module TencentCloud
549
549
  # @param StorageLimit: 普通实例存储上限,单位GB
550
550
  # 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
551
551
  # @type StorageLimit: Integer
552
- # @param InstanceCount: 实例数量
552
+ # @param InstanceCount: 实例数量,数量范围为(0,16]
553
553
  # @type InstanceCount: Integer
554
554
  # @param TimeSpan: 包年包月购买时长
555
555
  # @type TimeSpan: Integer
556
556
  # @param TimeUnit: 包年包月购买时长单位,['s','d','m','y']
557
557
  # @type TimeUnit: String
558
- # @param AutoRenewFlag: 包年包月购买是否自动续费
558
+ # @param AutoRenewFlag: 包年包月购买是否自动续费,默认为0
559
559
  # @type AutoRenewFlag: Integer
560
560
  # @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
561
561
  # @type AutoVoucher: Integer
@@ -596,12 +596,14 @@ module TencentCloud
596
596
  # @type ClusterParams: Array
597
597
  # @param DealMode: 交易模式,0-下单且支付,1-下单
598
598
  # @type DealMode: Integer
599
- # @param ParamTemplateId: 参数模版ID
599
+ # @param ParamTemplateId: 参数模版ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
600
600
  # @type ParamTemplateId: Integer
601
+ # @param SlaveZone: 多可用区地址
602
+ # @type SlaveZone: String
601
603
 
602
- attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :InstanceCount, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :HaCount, :OrderSource, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId
604
+ attr_accessor :Zone, :VpcId, :SubnetId, :DbType, :DbVersion, :ProjectId, :Cpu, :Memory, :Storage, :ClusterName, :AdminPassword, :Port, :PayMode, :Count, :RollbackStrategy, :RollbackId, :OriginalClusterId, :ExpectTime, :ExpectTimeThresh, :StorageLimit, :InstanceCount, :TimeSpan, :TimeUnit, :AutoRenewFlag, :AutoVoucher, :HaCount, :OrderSource, :ResourceTags, :DbMode, :MinCpu, :MaxCpu, :AutoPause, :AutoPauseDelay, :StoragePayMode, :SecurityGroupIds, :AlarmPolicyIds, :ClusterParams, :DealMode, :ParamTemplateId, :SlaveZone
603
605
 
604
- def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil, instancecount=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, hacount=nil, ordersource=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil)
606
+ def initialize(zone=nil, vpcid=nil, subnetid=nil, dbtype=nil, dbversion=nil, projectid=nil, cpu=nil, memory=nil, storage=nil, clustername=nil, adminpassword=nil, port=nil, paymode=nil, count=nil, rollbackstrategy=nil, rollbackid=nil, originalclusterid=nil, expecttime=nil, expecttimethresh=nil, storagelimit=nil, instancecount=nil, timespan=nil, timeunit=nil, autorenewflag=nil, autovoucher=nil, hacount=nil, ordersource=nil, resourcetags=nil, dbmode=nil, mincpu=nil, maxcpu=nil, autopause=nil, autopausedelay=nil, storagepaymode=nil, securitygroupids=nil, alarmpolicyids=nil, clusterparams=nil, dealmode=nil, paramtemplateid=nil, slavezone=nil)
605
607
  @Zone = zone
606
608
  @VpcId = vpcid
607
609
  @SubnetId = subnetid
@@ -641,6 +643,7 @@ module TencentCloud
641
643
  @ClusterParams = clusterparams
642
644
  @DealMode = dealmode
643
645
  @ParamTemplateId = paramtemplateid
646
+ @SlaveZone = slavezone
644
647
  end
645
648
 
646
649
  def deserialize(params)
@@ -697,6 +700,7 @@ module TencentCloud
697
700
  end
698
701
  @DealMode = params['DealMode']
699
702
  @ParamTemplateId = params['ParamTemplateId']
703
+ @SlaveZone = params['SlaveZone']
700
704
  end
701
705
  end
702
706
 
@@ -2536,17 +2540,21 @@ module TencentCloud
2536
2540
 
2537
2541
  # DescribeResourcesByDealName请求参数结构体
2538
2542
  class DescribeResourcesByDealNameRequest < TencentCloud::Common::AbstractModel
2539
- # @param DealName: 计费订单id(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
2543
+ # @param DealName: 计费订单ID(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
2540
2544
  # @type DealName: String
2545
+ # @param DealNames: 计费订单ID列表,可以一次查询若干条订单ID对应资源信息(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
2546
+ # @type DealNames: Array
2541
2547
 
2542
- attr_accessor :DealName
2548
+ attr_accessor :DealName, :DealNames
2543
2549
 
2544
- def initialize(dealname=nil)
2550
+ def initialize(dealname=nil, dealnames=nil)
2545
2551
  @DealName = dealname
2552
+ @DealNames = dealnames
2546
2553
  end
2547
2554
 
2548
2555
  def deserialize(params)
2549
2556
  @DealName = params['DealName']
2557
+ @DealNames = params['DealNames']
2550
2558
  end
2551
2559
  end
2552
2560
 
@@ -3160,7 +3168,7 @@ module TencentCloud
3160
3168
  class ModifyClusterParamRequest < TencentCloud::Common::AbstractModel
3161
3169
  # @param ClusterId: 集群ID
3162
3170
  # @type ClusterId: String
3163
- # @param ParamList: 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值
3171
+ # @param ParamList: 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验
3164
3172
  # @type ParamList: Array
3165
3173
  # @param IsInMaintainPeriod: 维护期间执行-yes,立即执行-no
3166
3174
  # @type IsInMaintainPeriod: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.352
4
+ version: 1.0.353
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-10 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common