tencentcloud-sdk-cynosdb 1.0.351 → 1.0.354
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190107/models.rb +26 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53752355f288f566d37219c5db4eb2d66580d30f
|
4
|
+
data.tar.gz: 8dc697496d3e886cc33299012a439c9cd51ba07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e44f26a07636226ce8e7cce93449b2d3ef2e3099bfec295e38d412ac2e4651c24240b51ff0ac58f2a91dec959581a125dd3994610f5eaa2af80dc1d9439dd0d
|
7
|
+
data.tar.gz: d10b108e4dbff34459cbccfa8f4d5b54dc63d891671d8933d6cb56a689c9cbc3cc262b425c50941a7a862027e83b16855d15ee3666680ce7a1dc817cd5ea339c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.354
|
data/lib/v20190107/models.rb
CHANGED
@@ -324,17 +324,21 @@ module TencentCloud
|
|
324
324
|
# @type ClusterId: String
|
325
325
|
# @param InstanceIds: 实例ID列表
|
326
326
|
# @type InstanceIds: Array
|
327
|
+
# @param DealName: 订单ID
|
328
|
+
# @type DealName: String
|
327
329
|
|
328
|
-
attr_accessor :ClusterId, :InstanceIds
|
330
|
+
attr_accessor :ClusterId, :InstanceIds, :DealName
|
329
331
|
|
330
|
-
def initialize(clusterid=nil, instanceids=nil)
|
332
|
+
def initialize(clusterid=nil, instanceids=nil, dealname=nil)
|
331
333
|
@ClusterId = clusterid
|
332
334
|
@InstanceIds = instanceids
|
335
|
+
@DealName = dealname
|
333
336
|
end
|
334
337
|
|
335
338
|
def deserialize(params)
|
336
339
|
@ClusterId = params['ClusterId']
|
337
340
|
@InstanceIds = params['InstanceIds']
|
341
|
+
@DealName = params['DealName']
|
338
342
|
end
|
339
343
|
end
|
340
344
|
|
@@ -522,7 +526,7 @@ module TencentCloud
|
|
522
526
|
# @type ClusterName: String
|
523
527
|
# @param AdminPassword: 账号密码(8-64个字符,包含大小写英文字母、数字和符号~!@#$%^&*_-+=`|\(){}[]:;'<>,.?/中的任意三种)
|
524
528
|
# @type AdminPassword: String
|
525
|
-
# @param Port: 端口,默认
|
529
|
+
# @param Port: 端口,默认3306,取值范围[0, 65535)
|
526
530
|
# @type Port: Integer
|
527
531
|
# @param PayMode: 计费模式,按量计费:0,包年包月:1。默认按量计费。
|
528
532
|
# @type PayMode: Integer
|
@@ -545,13 +549,13 @@ module TencentCloud
|
|
545
549
|
# @param StorageLimit: 普通实例存储上限,单位GB
|
546
550
|
# 当DbType为MYSQL,且存储计费模式为预付费时,该参数需不大于cpu与memory对应存储规格上限
|
547
551
|
# @type StorageLimit: Integer
|
548
|
-
# @param InstanceCount:
|
552
|
+
# @param InstanceCount: 实例数量,数量范围为(0,16]
|
549
553
|
# @type InstanceCount: Integer
|
550
554
|
# @param TimeSpan: 包年包月购买时长
|
551
555
|
# @type TimeSpan: Integer
|
552
556
|
# @param TimeUnit: 包年包月购买时长单位,['s','d','m','y']
|
553
557
|
# @type TimeUnit: String
|
554
|
-
# @param AutoRenewFlag:
|
558
|
+
# @param AutoRenewFlag: 包年包月购买是否自动续费,默认为0
|
555
559
|
# @type AutoRenewFlag: Integer
|
556
560
|
# @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
|
557
561
|
# @type AutoVoucher: Integer
|
@@ -592,12 +596,14 @@ module TencentCloud
|
|
592
596
|
# @type ClusterParams: Array
|
593
597
|
# @param DealMode: 交易模式,0-下单且支付,1-下单
|
594
598
|
# @type DealMode: Integer
|
595
|
-
# @param ParamTemplateId: 参数模版ID
|
599
|
+
# @param ParamTemplateId: 参数模版ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
596
600
|
# @type ParamTemplateId: Integer
|
601
|
+
# @param SlaveZone: 多可用区地址
|
602
|
+
# @type SlaveZone: String
|
597
603
|
|
598
|
-
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
|
599
605
|
|
600
|
-
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)
|
601
607
|
@Zone = zone
|
602
608
|
@VpcId = vpcid
|
603
609
|
@SubnetId = subnetid
|
@@ -637,6 +643,7 @@ module TencentCloud
|
|
637
643
|
@ClusterParams = clusterparams
|
638
644
|
@DealMode = dealmode
|
639
645
|
@ParamTemplateId = paramtemplateid
|
646
|
+
@SlaveZone = slavezone
|
640
647
|
end
|
641
648
|
|
642
649
|
def deserialize(params)
|
@@ -693,6 +700,7 @@ module TencentCloud
|
|
693
700
|
end
|
694
701
|
@DealMode = params['DealMode']
|
695
702
|
@ParamTemplateId = params['ParamTemplateId']
|
703
|
+
@SlaveZone = params['SlaveZone']
|
696
704
|
end
|
697
705
|
end
|
698
706
|
|
@@ -2532,17 +2540,21 @@ module TencentCloud
|
|
2532
2540
|
|
2533
2541
|
# DescribeResourcesByDealName请求参数结构体
|
2534
2542
|
class DescribeResourcesByDealNameRequest < TencentCloud::Common::AbstractModel
|
2535
|
-
# @param DealName: 计费订单
|
2543
|
+
# @param DealName: 计费订单ID(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
|
2536
2544
|
# @type DealName: String
|
2545
|
+
# @param DealNames: 计费订单ID列表,可以一次查询若干条订单ID对应资源信息(如果计费还没回调业务发货,可能出现错误码InvalidParameterValue.DealNameNotFound,这种情况需要业务重试DescribeResourcesByDealName接口直到成功)
|
2546
|
+
# @type DealNames: Array
|
2537
2547
|
|
2538
|
-
attr_accessor :DealName
|
2548
|
+
attr_accessor :DealName, :DealNames
|
2539
2549
|
|
2540
|
-
def initialize(dealname=nil)
|
2550
|
+
def initialize(dealname=nil, dealnames=nil)
|
2541
2551
|
@DealName = dealname
|
2552
|
+
@DealNames = dealnames
|
2542
2553
|
end
|
2543
2554
|
|
2544
2555
|
def deserialize(params)
|
2545
2556
|
@DealName = params['DealName']
|
2557
|
+
@DealNames = params['DealNames']
|
2546
2558
|
end
|
2547
2559
|
end
|
2548
2560
|
|
@@ -3156,7 +3168,7 @@ module TencentCloud
|
|
3156
3168
|
class ModifyClusterParamRequest < TencentCloud::Common::AbstractModel
|
3157
3169
|
# @param ClusterId: 集群ID
|
3158
3170
|
# @type ClusterId: String
|
3159
|
-
# @param ParamList: 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue
|
3171
|
+
# @param ParamList: 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验
|
3160
3172
|
# @type ParamList: Array
|
3161
3173
|
# @param IsInMaintainPeriod: 维护期间执行-yes,立即执行-no
|
3162
3174
|
# @type IsInMaintainPeriod: String
|
@@ -3803,9 +3815,9 @@ module TencentCloud
|
|
3803
3815
|
|
3804
3816
|
# 回滚数据库信息
|
3805
3817
|
class RollbackDatabase < TencentCloud::Common::AbstractModel
|
3806
|
-
# @param OldDatabase:
|
3818
|
+
# @param OldDatabase: 旧数据库名称
|
3807
3819
|
# @type OldDatabase: String
|
3808
|
-
# @param NewDatabase:
|
3820
|
+
# @param NewDatabase: 新数据库名称
|
3809
3821
|
# @type NewDatabase: String
|
3810
3822
|
|
3811
3823
|
attr_accessor :OldDatabase, :NewDatabase
|
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.
|
4
|
+
version: 1.0.354
|
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-
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|