tencentcloud-sdk-dcdb 3.0.451 → 3.0.452

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/v20180411/models.rb +48 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b91924b3aca9cccc170603a74001987488a641ba
4
- data.tar.gz: 7aa019f4072c706d004b4318718dbecfa7cdfcc2
3
+ metadata.gz: 28ae8b83648bb869874f37174ea7b7ce219d5478
4
+ data.tar.gz: fdd42e69e6e44439d7167948a64ea84d1d4f18d5
5
5
  SHA512:
6
- metadata.gz: ff7be3446bccbb4226412ba2dc899805b29b3824772aa30cec7852d2c76d4c689ff10ef567f2e1d7700f1242c93574c77181e17c57db30054778602524c8d54f
7
- data.tar.gz: cd7dd41572503b4d862fac7bbd3b87886484f5eb55f50e3d82e82c1b2b18ace0b377faebbb169d0571b3fb663a7235d1ef823e01cc66bded18f5cd233eee3d31
6
+ metadata.gz: 7e83d0db2b630c72136a026ad6ca342a30b69693e417871257d24636254b9c9bbf7ee9f0c4193ff49a8d1de5add433ea458bb1eb460fec25bd0af85513d9629a
7
+ data.tar.gz: 506d4a0218b8e9a200c9b92657e039174628003ef3e9a8d94ae4c3415fc30b905e7f60b077933b1fe7219f6dc574b1a9b3512ef388dd8b47b462d1f5d40706b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.451
1
+ 3.0.452
@@ -2017,10 +2017,14 @@ module TencentCloud
2017
2017
  # @type ShardCount: Integer
2018
2018
  # @param Paymode: 付费类型。postpaid:按量付费 prepaid:预付费
2019
2019
  # @type Paymode: String
2020
+ # @param AmountUnit: 价格金额单位,不传默认单位为分,取值:
2021
+ # * pent:分
2022
+ # * microPent:微分
2023
+ # @type AmountUnit: String
2020
2024
 
2021
- attr_accessor :Zone, :Count, :Period, :ShardNodeCount, :ShardMemory, :ShardStorage, :ShardCount, :Paymode
2025
+ attr_accessor :Zone, :Count, :Period, :ShardNodeCount, :ShardMemory, :ShardStorage, :ShardCount, :Paymode, :AmountUnit
2022
2026
 
2023
- def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil)
2027
+ def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil)
2024
2028
  @Zone = zone
2025
2029
  @Count = count
2026
2030
  @Period = period
@@ -2029,6 +2033,7 @@ module TencentCloud
2029
2033
  @ShardStorage = shardstorage
2030
2034
  @ShardCount = shardcount
2031
2035
  @Paymode = paymode
2036
+ @AmountUnit = amountunit
2032
2037
  end
2033
2038
 
2034
2039
  def deserialize(params)
@@ -2040,14 +2045,19 @@ module TencentCloud
2040
2045
  @ShardStorage = params['ShardStorage']
2041
2046
  @ShardCount = params['ShardCount']
2042
2047
  @Paymode = params['Paymode']
2048
+ @AmountUnit = params['AmountUnit']
2043
2049
  end
2044
2050
  end
2045
2051
 
2046
2052
  # DescribeDCDBPrice返回参数结构体
2047
2053
  class DescribeDCDBPriceResponse < TencentCloud::Common::AbstractModel
2048
- # @param OriginalPrice: 原价,单位:分
2054
+ # @param OriginalPrice: 原价
2055
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2056
+ # * 币种:国内站为人民币,国际站为美元
2049
2057
  # @type OriginalPrice: Integer
2050
- # @param Price: 实际价格,单位:分。受折扣等影响,可能和原价不同。
2058
+ # @param Price: 实际价格,受折扣等影响,可能和原价不同
2059
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2060
+ # * 币种:国内站人民币,国际站美元
2051
2061
  # @type Price: Integer
2052
2062
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2053
2063
  # @type RequestId: String
@@ -2073,25 +2083,35 @@ module TencentCloud
2073
2083
  # @type InstanceId: String
2074
2084
  # @param Period: 续费时长,单位:月。不传则默认为1个月。
2075
2085
  # @type Period: Integer
2086
+ # @param AmountUnit: 价格金额单位,不传默认单位为分,取值:
2087
+ # * pent:分
2088
+ # * microPent:微分
2089
+ # @type AmountUnit: String
2076
2090
 
2077
- attr_accessor :InstanceId, :Period
2091
+ attr_accessor :InstanceId, :Period, :AmountUnit
2078
2092
 
2079
- def initialize(instanceid=nil, period=nil)
2093
+ def initialize(instanceid=nil, period=nil, amountunit=nil)
2080
2094
  @InstanceId = instanceid
2081
2095
  @Period = period
2096
+ @AmountUnit = amountunit
2082
2097
  end
2083
2098
 
2084
2099
  def deserialize(params)
2085
2100
  @InstanceId = params['InstanceId']
2086
2101
  @Period = params['Period']
2102
+ @AmountUnit = params['AmountUnit']
2087
2103
  end
2088
2104
  end
2089
2105
 
2090
2106
  # DescribeDCDBRenewalPrice返回参数结构体
2091
2107
  class DescribeDCDBRenewalPriceResponse < TencentCloud::Common::AbstractModel
2092
- # @param OriginalPrice: 原价,单位:分
2108
+ # @param OriginalPrice: 原价
2109
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2110
+ # * 币种:国内站为人民币,国际站为美元
2093
2111
  # @type OriginalPrice: Integer
2094
- # @param Price: 实际价格,单位:分。受折扣等影响,可能和原价不同。
2112
+ # @param Price: 实际价格,受折扣等影响,可能和原价不同
2113
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2114
+ # * 币种:国内站人民币,国际站美元
2095
2115
  # @type Price: Integer
2096
2116
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2097
2117
  # @type RequestId: String
@@ -2236,15 +2256,20 @@ module TencentCloud
2236
2256
  # @type ExpandShardConfig: :class:`Tencentcloud::Dcdb.v20180411.models.ExpandShardConfig`
2237
2257
  # @param SplitShardConfig: 切分分片配置,当UpgradeType为SPLIT时生效。
2238
2258
  # @type SplitShardConfig: :class:`Tencentcloud::Dcdb.v20180411.models.SplitShardConfig`
2259
+ # @param AmountUnit: 价格金额单位,不传默认单位为分,取值:
2260
+ # * pent:分
2261
+ # * microPent:微分
2262
+ # @type AmountUnit: String
2239
2263
 
2240
- attr_accessor :InstanceId, :UpgradeType, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig
2264
+ attr_accessor :InstanceId, :UpgradeType, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :AmountUnit
2241
2265
 
2242
- def initialize(instanceid=nil, upgradetype=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil)
2266
+ def initialize(instanceid=nil, upgradetype=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, amountunit=nil)
2243
2267
  @InstanceId = instanceid
2244
2268
  @UpgradeType = upgradetype
2245
2269
  @AddShardConfig = addshardconfig
2246
2270
  @ExpandShardConfig = expandshardconfig
2247
2271
  @SplitShardConfig = splitshardconfig
2272
+ @AmountUnit = amountunit
2248
2273
  end
2249
2274
 
2250
2275
  def deserialize(params)
@@ -2262,14 +2287,19 @@ module TencentCloud
2262
2287
  @SplitShardConfig = SplitShardConfig.new
2263
2288
  @SplitShardConfig.deserialize(params['SplitShardConfig'])
2264
2289
  end
2290
+ @AmountUnit = params['AmountUnit']
2265
2291
  end
2266
2292
  end
2267
2293
 
2268
2294
  # DescribeDCDBUpgradePrice返回参数结构体
2269
2295
  class DescribeDCDBUpgradePriceResponse < TencentCloud::Common::AbstractModel
2270
- # @param OriginalPrice: 原价,单位:分
2296
+ # @param OriginalPrice: 原价
2297
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2298
+ # * 币种:国内站为人民币,国际站为美元
2271
2299
  # @type OriginalPrice: Integer
2272
- # @param Price: 实际价格,单位:分。受折扣等影响,可能和原价不同。
2300
+ # @param Price: 实际价格,受折扣等影响,可能和原价不同
2301
+ # * 单位:默认为分,若请求参数带有AmountUnit,参考AmountUnit描述
2302
+ # * 币种:国内站人民币,国际站美元
2273
2303
  # @type Price: Integer
2274
2304
  # @param Formula: 变配明细计算公式
2275
2305
  # @type Formula: String
@@ -3062,19 +3092,23 @@ module TencentCloud
3062
3092
  # @type ShardMemory: Integer
3063
3093
  # @param ShardStorage: 分片存储大小,单位 GB
3064
3094
  # @type ShardStorage: Integer
3095
+ # @param ShardNodeCount: 分片节点数
3096
+ # @type ShardNodeCount: Integer
3065
3097
 
3066
- attr_accessor :ShardInstanceIds, :ShardMemory, :ShardStorage
3098
+ attr_accessor :ShardInstanceIds, :ShardMemory, :ShardStorage, :ShardNodeCount
3067
3099
 
3068
- def initialize(shardinstanceids=nil, shardmemory=nil, shardstorage=nil)
3100
+ def initialize(shardinstanceids=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil)
3069
3101
  @ShardInstanceIds = shardinstanceids
3070
3102
  @ShardMemory = shardmemory
3071
3103
  @ShardStorage = shardstorage
3104
+ @ShardNodeCount = shardnodecount
3072
3105
  end
3073
3106
 
3074
3107
  def deserialize(params)
3075
3108
  @ShardInstanceIds = params['ShardInstanceIds']
3076
3109
  @ShardMemory = params['ShardMemory']
3077
3110
  @ShardStorage = params['ShardStorage']
3111
+ @ShardNodeCount = params['ShardNodeCount']
3078
3112
  end
3079
3113
  end
3080
3114
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.451
4
+ version: 3.0.452
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-11-14 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common