tencentcloud-sdk-es 3.0.719 → 3.0.721

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: 5820d960e39c39f191a4bee22a129a177c8d7fbb
4
- data.tar.gz: f944ff47c0058593663039a7b0af5ca688f38e1b
3
+ metadata.gz: c787563540aa400847a903e09576a45ce80cc3f4
4
+ data.tar.gz: d52f666f6c9a0072f0e6a6d658a70029f70a9691
5
5
  SHA512:
6
- metadata.gz: f0336a1c575d21403be6e439b5f6a7aea49f3eb518dcc53ee78b9770ea1afe379ccb92cc85799244d0a2821c9b2a0d6f6fc7e7d8d59979a3ae4dc513733d3358
7
- data.tar.gz: 64dbb6b0852ec4eb32498a42b12f29f2e10b210acfdae27c3ac2b79152d900096fd6886f665b1d8fb51990560f9e1331a791de0bc5722184bab1acf72499580c
6
+ metadata.gz: 13fb04c40b2e91bc1370642c255cc780b51adb2848ea36d1ca115cd60ffeced43ecafbcf4793fe0509dc50c1f93c2c99703515ca2df1e51d44d85d6157b86290
7
+ data.tar.gz: 06ff26c8fcc46080ea98bd5db9054a823346ccafec127578e233ba0a160f9712a134fabc0cbd9058d9bc348292865dc3d7cb2eb41d7448268941656ae18b50c4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.719
1
+ 3.0.721
@@ -557,6 +557,30 @@ module TencentCloud
557
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
558
  end
559
559
 
560
+ # 集群续费询价接口,续费前通过调用该接口,可获取集群续费的价格。
561
+
562
+ # @param request: Request instance for InquirePriceRenewInstance.
563
+ # @type request: :class:`Tencentcloud::es::V20180416::InquirePriceRenewInstanceRequest`
564
+ # @rtype: :class:`Tencentcloud::es::V20180416::InquirePriceRenewInstanceResponse`
565
+ def InquirePriceRenewInstance(request)
566
+ body = send_request('InquirePriceRenewInstance', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = InquirePriceRenewInstanceResponse.new
570
+ model.deserialize(response['Response'])
571
+ model
572
+ else
573
+ code = response['Response']['Error']['Code']
574
+ message = response['Response']['Error']['Message']
575
+ reqid = response['Response']['RequestId']
576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
+ end
578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
579
+ raise e
580
+ rescue StandardError => e
581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
+ end
583
+
560
584
  # 修改绑定VIP的安全组,传安全组id列表
561
585
 
562
586
  # @param request: Request instance for ModifyEsVipSecurityGroup.
@@ -255,7 +255,7 @@ module TencentCloud
255
255
  # 节点规格<li>ES.S1.SMALL2:1核2G</li><li>ES.S1.MEDIUM4:2核4G</li><li>ES.S1.MEDIUM8:2核8G</li><li>ES.S1.LARGE16:4核16G</li><li>ES.S1.2XLARGE32:8核32G</li><li>ES.S1.4XLARGE32:16核32G</li><li>ES.S1.4XLARGE64:16核64G</li>
256
256
  # @type NodeType: String
257
257
  # @param DiskType: 已废弃请使用NodeInfoList
258
- # 节点磁盘类型<li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li>默认值CLOUD_SSD
258
+ # 节点磁盘类型<li>CLOUD_SSD:SSD云硬盘</li><li>CLOUD_PREMIUM:高性能云硬盘</li><li> CLOUD_HSSD:增强型SSD云硬盘</li><li> CLOUD_BSSD:通用型SSD云硬盘</li>默认值CLOUD_SSD
259
259
  # @type DiskType: String
260
260
  # @param DiskSize: 已废弃请使用NodeInfoList
261
261
  # 节点磁盘容量(单位GB)
@@ -280,7 +280,7 @@ module TencentCloud
280
280
  # @type MasterNodeDiskSize: Integer
281
281
  # @param ClusterNameInConf: 集群配置文件中的ClusterName(系统默认配置为实例ID,暂不支持自定义)
282
282
  # @type ClusterNameInConf: String
283
- # @param DeployMode: 集群部署方式<li>0:单可用区部署</li><li>1:多可用区部署</li>默认为0
283
+ # @param DeployMode: 集群部署方式<li>0:单可用区部署</li><li>1:多可用区部署,北京、上海、上海金融、广州、南京、香港、新加坡、法兰克福(白名单控制)</li>默认为0
284
284
  # @type DeployMode: Integer
285
285
  # @param MultiZoneInfo: 多可用区部署时可用区的详细信息(DeployMode为1时必传)
286
286
  # @type MultiZoneInfo: Array
@@ -2264,6 +2264,54 @@ module TencentCloud
2264
2264
  end
2265
2265
  end
2266
2266
 
2267
+ # InquirePriceRenewInstance请求参数结构体
2268
+ class InquirePriceRenewInstanceRequest < TencentCloud::Common::AbstractModel
2269
+ # @param InstanceId: 集群实例Id
2270
+ # @type InstanceId: String
2271
+
2272
+ attr_accessor :InstanceId
2273
+
2274
+ def initialize(instanceid=nil)
2275
+ @InstanceId = instanceid
2276
+ end
2277
+
2278
+ def deserialize(params)
2279
+ @InstanceId = params['InstanceId']
2280
+ end
2281
+ end
2282
+
2283
+ # InquirePriceRenewInstance返回参数结构体
2284
+ class InquirePriceRenewInstanceResponse < TencentCloud::Common::AbstractModel
2285
+ # @param OriginalPrice: 刊例价,即集群原始价格
2286
+ # @type OriginalPrice: Float
2287
+ # @param DiscountPrice: 折后价
2288
+ # @type DiscountPrice: Float
2289
+ # @param Discount: 折扣,如65折
2290
+ # @type Discount: Float
2291
+ # @param Currency: 货币,如CNY代表人民币
2292
+ # @type Currency: String
2293
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2294
+ # @type RequestId: String
2295
+
2296
+ attr_accessor :OriginalPrice, :DiscountPrice, :Discount, :Currency, :RequestId
2297
+
2298
+ def initialize(originalprice=nil, discountprice=nil, discount=nil, currency=nil, requestid=nil)
2299
+ @OriginalPrice = originalprice
2300
+ @DiscountPrice = discountprice
2301
+ @Discount = discount
2302
+ @Currency = currency
2303
+ @RequestId = requestid
2304
+ end
2305
+
2306
+ def deserialize(params)
2307
+ @OriginalPrice = params['OriginalPrice']
2308
+ @DiscountPrice = params['DiscountPrice']
2309
+ @Discount = params['Discount']
2310
+ @Currency = params['Currency']
2311
+ @RequestId = params['RequestId']
2312
+ end
2313
+ end
2314
+
2267
2315
  # 实例详细信息
2268
2316
  class InstanceInfo < TencentCloud::Common::AbstractModel
2269
2317
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.719
4
+ version: 3.0.721
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-04 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common