tencentcloud-sdk-cynosdb 3.0.396 → 3.0.397

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +56 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffdd9a7847dec8d0e6c92f57672de4e355a33e11
4
- data.tar.gz: b895d54c128d4e30d875a2196ab34f220b80f739
3
+ metadata.gz: 2fb73e4a3a92c1168ba4dd9adec9ec914dbbab61
4
+ data.tar.gz: 42f85fc9fa2a2a54eadc692dc8b4893967d636f2
5
5
  SHA512:
6
- metadata.gz: 673057774342f218334ed245e3f9344b1e405cd35271ae932685e16fb13a1ea86e1528b26c157dd419a8d3323e6337d05e2cc20738f65aef8fe720405dbb39b8
7
- data.tar.gz: 83e641e15fc48ff62c6a617a041d0af35be01ab1976344fe2b1d459b774979638c74a2970d86b459b036c7e8206b19779e3ef066ee65bf86a0e5c290926261c3
6
+ metadata.gz: cbfc0d556a4596e8e3394a745a4b59b6e680957339d174430418d34db2bd166b76eeb1e8efa5bf49bcddf219eb7914f391cc801c466d1b8e94f59908ed17b8e3
7
+ data.tar.gz: 8aec16059a85076fc9a4a1a23cc2ecdaf4a189df196d9a58d9d6925f5f65dd137952b72ee352af0337492df3472fc3875a5396507e1c48dfd87df91ab2a8cf9b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.396
1
+ 3.0.397
@@ -2406,15 +2406,19 @@ module TencentCloud
2406
2406
  # @param DbType: 数据库类型,取值范围:
2407
2407
  # <li> MYSQL </li>
2408
2408
  # @type DbType: String
2409
+ # @param IncludeZoneStocks: 是否需要返回可用区信息
2410
+ # @type IncludeZoneStocks: Boolean
2409
2411
 
2410
- attr_accessor :DbType
2412
+ attr_accessor :DbType, :IncludeZoneStocks
2411
2413
 
2412
- def initialize(dbtype=nil)
2414
+ def initialize(dbtype=nil, includezonestocks=nil)
2413
2415
  @DbType = dbtype
2416
+ @IncludeZoneStocks = includezonestocks
2414
2417
  end
2415
2418
 
2416
2419
  def deserialize(params)
2417
2420
  @DbType = params['DbType']
2421
+ @IncludeZoneStocks = params['IncludeZoneStocks']
2418
2422
  end
2419
2423
  end
2420
2424
 
@@ -3162,14 +3166,30 @@ module TencentCloud
3162
3166
  # @type MaxStorageSize: Integer
3163
3167
  # @param MinStorageSize: 实例最小可用存储,单位:GB
3164
3168
  # @type MinStorageSize: Integer
3169
+ # @param HasStock: 是否有库存
3170
+ # @type HasStock: Boolean
3171
+ # @param MachineType: 机器类型
3172
+ # @type MachineType: String
3173
+ # @param MaxIops: 最大IOPS
3174
+ # @type MaxIops: Integer
3175
+ # @param MaxIoBandWidth: 最大IO带宽
3176
+ # @type MaxIoBandWidth: Integer
3177
+ # @param ZoneStockInfos: 地域库存信息
3178
+ # 注意:此字段可能返回 null,表示取不到有效值。
3179
+ # @type ZoneStockInfos: Array
3165
3180
 
3166
- attr_accessor :Cpu, :Memory, :MaxStorageSize, :MinStorageSize
3181
+ attr_accessor :Cpu, :Memory, :MaxStorageSize, :MinStorageSize, :HasStock, :MachineType, :MaxIops, :MaxIoBandWidth, :ZoneStockInfos
3167
3182
 
3168
- def initialize(cpu=nil, memory=nil, maxstoragesize=nil, minstoragesize=nil)
3183
+ def initialize(cpu=nil, memory=nil, maxstoragesize=nil, minstoragesize=nil, hasstock=nil, machinetype=nil, maxiops=nil, maxiobandwidth=nil, zonestockinfos=nil)
3169
3184
  @Cpu = cpu
3170
3185
  @Memory = memory
3171
3186
  @MaxStorageSize = maxstoragesize
3172
3187
  @MinStorageSize = minstoragesize
3188
+ @HasStock = hasstock
3189
+ @MachineType = machinetype
3190
+ @MaxIops = maxiops
3191
+ @MaxIoBandWidth = maxiobandwidth
3192
+ @ZoneStockInfos = zonestockinfos
3173
3193
  end
3174
3194
 
3175
3195
  def deserialize(params)
@@ -3177,6 +3197,18 @@ module TencentCloud
3177
3197
  @Memory = params['Memory']
3178
3198
  @MaxStorageSize = params['MaxStorageSize']
3179
3199
  @MinStorageSize = params['MinStorageSize']
3200
+ @HasStock = params['HasStock']
3201
+ @MachineType = params['MachineType']
3202
+ @MaxIops = params['MaxIops']
3203
+ @MaxIoBandWidth = params['MaxIoBandWidth']
3204
+ unless params['ZoneStockInfos'].nil?
3205
+ @ZoneStockInfos = []
3206
+ params['ZoneStockInfos'].each do |i|
3207
+ zonestockinfo_tmp = ZoneStockInfo.new
3208
+ zonestockinfo_tmp.deserialize(i)
3209
+ @ZoneStockInfos << zonestockinfo_tmp
3210
+ end
3211
+ end
3180
3212
  end
3181
3213
  end
3182
3214
 
@@ -4729,6 +4761,26 @@ module TencentCloud
4729
4761
  end
4730
4762
  end
4731
4763
 
4764
+ # 可用区库存信息
4765
+ class ZoneStockInfo < TencentCloud::Common::AbstractModel
4766
+ # @param Zone: 可用区
4767
+ # @type Zone: String
4768
+ # @param HasStock: 是否有库存
4769
+ # @type HasStock: Boolean
4770
+
4771
+ attr_accessor :Zone, :HasStock
4772
+
4773
+ def initialize(zone=nil, hasstock=nil)
4774
+ @Zone = zone
4775
+ @HasStock = hasstock
4776
+ end
4777
+
4778
+ def deserialize(params)
4779
+ @Zone = params['Zone']
4780
+ @HasStock = params['HasStock']
4781
+ end
4782
+ end
4783
+
4732
4784
  end
4733
4785
  end
4734
4786
  end
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: 3.0.396
4
+ version: 3.0.397
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-08-29 00:00:00.000000000 Z
11
+ date: 2022-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common