tencentcloud-sdk-emr 3.0.485 → 3.0.486

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/v20190103/models.rb +200 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95db7369e8544052124f40ec9d38a6dac849b0e7
4
- data.tar.gz: 0ce7affa7f6722864d5dafc2d9d1511246452a4c
3
+ metadata.gz: d270ead25749e551bb43085890573c7977502a91
4
+ data.tar.gz: 9e699ac94d426143f3bd4d7a10638d6ad1c9273c
5
5
  SHA512:
6
- metadata.gz: 46fc8582b1d248f1dcaeb20cc5cc2d130a3d6e678150d1741da94b01407a2e17ad59022a47b1a81d4efdc39bd3d33d340569e9452db9806c066ae3c0b9d9f029
7
- data.tar.gz: 868c24b76ebf19f7f5749e57f26ac3d81df51387573d1470f28b6ec1e1eedcbfe9af67c1823822c4fa7b07b702f203261908f56e833990c96d72690d4deab89e
6
+ metadata.gz: 92814348875d4b6286ebf30fb1df8e324657eff1091419e41a2396521274c431e457bd03f44e0675662a2d16491adbffbbf7e62fedc8ad77881e10fca31fae92
7
+ data.tar.gz: 0c8b4b41727b5bcda2d339985a6408b9065ad99d5f3c525acb06b5ad1f1c479cdcf6cdd7b3c4fd16d21618f54a4a789f844694a26bc88e42904a9f89097a3299
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.485
1
+ 3.0.486
@@ -2127,10 +2127,13 @@ module TencentCloud
2127
2127
  # @param IsHandsCluster: 是否手戳集群
2128
2128
  # 注意:此字段可能返回 null,表示取不到有效值。
2129
2129
  # @type IsHandsCluster: Boolean
2130
+ # @param OutSideSoftInfo: 体外客户端组件信息
2131
+ # 注意:此字段可能返回 null,表示取不到有效值。
2132
+ # @type OutSideSoftInfo: Array
2130
2133
 
2131
- attr_accessor :ClusterId, :StatusDesc, :ClusterName, :ZoneId, :AppId, :AddTime, :RunTime, :MasterIp, :EmrVersion, :ChargeType, :Id, :ProductId, :ProjectId, :RegionId, :SubnetId, :VpcId, :Zone, :Status, :Tags, :AlarmInfo, :IsWoodpeckerCluster, :VpcName, :SubnetName, :UniqVpcId, :UniqSubnetId, :ClusterClass, :IsMultiZoneCluster, :IsHandsCluster
2134
+ attr_accessor :ClusterId, :StatusDesc, :ClusterName, :ZoneId, :AppId, :AddTime, :RunTime, :MasterIp, :EmrVersion, :ChargeType, :Id, :ProductId, :ProjectId, :RegionId, :SubnetId, :VpcId, :Zone, :Status, :Tags, :AlarmInfo, :IsWoodpeckerCluster, :VpcName, :SubnetName, :UniqVpcId, :UniqSubnetId, :ClusterClass, :IsMultiZoneCluster, :IsHandsCluster, :OutSideSoftInfo
2132
2135
 
2133
- def initialize(clusterid=nil, statusdesc=nil, clustername=nil, zoneid=nil, appid=nil, addtime=nil, runtime=nil, masterip=nil, emrversion=nil, chargetype=nil, id=nil, productid=nil, projectid=nil, regionid=nil, subnetid=nil, vpcid=nil, zone=nil, status=nil, tags=nil, alarminfo=nil, iswoodpeckercluster=nil, vpcname=nil, subnetname=nil, uniqvpcid=nil, uniqsubnetid=nil, clusterclass=nil, ismultizonecluster=nil, ishandscluster=nil)
2136
+ def initialize(clusterid=nil, statusdesc=nil, clustername=nil, zoneid=nil, appid=nil, addtime=nil, runtime=nil, masterip=nil, emrversion=nil, chargetype=nil, id=nil, productid=nil, projectid=nil, regionid=nil, subnetid=nil, vpcid=nil, zone=nil, status=nil, tags=nil, alarminfo=nil, iswoodpeckercluster=nil, vpcname=nil, subnetname=nil, uniqvpcid=nil, uniqsubnetid=nil, clusterclass=nil, ismultizonecluster=nil, ishandscluster=nil, outsidesoftinfo=nil)
2134
2137
  @ClusterId = clusterid
2135
2138
  @StatusDesc = statusdesc
2136
2139
  @ClusterName = clustername
@@ -2159,6 +2162,7 @@ module TencentCloud
2159
2162
  @ClusterClass = clusterclass
2160
2163
  @IsMultiZoneCluster = ismultizonecluster
2161
2164
  @IsHandsCluster = ishandscluster
2165
+ @OutSideSoftInfo = outsidesoftinfo
2162
2166
  end
2163
2167
 
2164
2168
  def deserialize(params)
@@ -2197,6 +2201,54 @@ module TencentCloud
2197
2201
  @ClusterClass = params['ClusterClass']
2198
2202
  @IsMultiZoneCluster = params['IsMultiZoneCluster']
2199
2203
  @IsHandsCluster = params['IsHandsCluster']
2204
+ unless params['OutSideSoftInfo'].nil?
2205
+ @OutSideSoftInfo = []
2206
+ params['OutSideSoftInfo'].each do |i|
2207
+ softdependinfo_tmp = SoftDependInfo.new
2208
+ softdependinfo_tmp.deserialize(i)
2209
+ @OutSideSoftInfo << softdependinfo_tmp
2210
+ end
2211
+ end
2212
+ end
2213
+ end
2214
+
2215
+ # Emr询价描述
2216
+ class EmrPrice < TencentCloud::Common::AbstractModel
2217
+ # @param OriginalCost: 刊例价格
2218
+ # 注意:此字段可能返回 null,表示取不到有效值。
2219
+ # @type OriginalCost: String
2220
+ # @param DiscountCost: 折扣价格
2221
+ # 注意:此字段可能返回 null,表示取不到有效值。
2222
+ # @type DiscountCost: String
2223
+ # @param Unit: 单位
2224
+ # 注意:此字段可能返回 null,表示取不到有效值。
2225
+ # @type Unit: String
2226
+ # @param PriceSpec: 询价配置
2227
+ # 注意:此字段可能返回 null,表示取不到有效值。
2228
+ # @type PriceSpec: :class:`Tencentcloud::Emr.v20190103.models.PriceResource`
2229
+ # @param SupportSpotPaid: 是否支持竞价实例
2230
+ # 注意:此字段可能返回 null,表示取不到有效值。
2231
+ # @type SupportSpotPaid: Boolean
2232
+
2233
+ attr_accessor :OriginalCost, :DiscountCost, :Unit, :PriceSpec, :SupportSpotPaid
2234
+
2235
+ def initialize(originalcost=nil, discountcost=nil, unit=nil, pricespec=nil, supportspotpaid=nil)
2236
+ @OriginalCost = originalcost
2237
+ @DiscountCost = discountcost
2238
+ @Unit = unit
2239
+ @PriceSpec = pricespec
2240
+ @SupportSpotPaid = supportspotpaid
2241
+ end
2242
+
2243
+ def deserialize(params)
2244
+ @OriginalCost = params['OriginalCost']
2245
+ @DiscountCost = params['DiscountCost']
2246
+ @Unit = params['Unit']
2247
+ unless params['PriceSpec'].nil?
2248
+ @PriceSpec = PriceResource.new
2249
+ @PriceSpec.deserialize(params['PriceSpec'])
2250
+ end
2251
+ @SupportSpotPaid = params['SupportSpotPaid']
2200
2252
  end
2201
2253
  end
2202
2254
 
@@ -2638,16 +2690,20 @@ module TencentCloud
2638
2690
  # @param TimeSpan: 购买实例的时长。
2639
2691
  # 注意:此字段可能返回 null,表示取不到有效值。
2640
2692
  # @type TimeSpan: Integer
2693
+ # @param PriceList: 价格清单
2694
+ # 注意:此字段可能返回 null,表示取不到有效值。
2695
+ # @type PriceList: Array
2641
2696
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2642
2697
  # @type RequestId: String
2643
2698
 
2644
- attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :RequestId
2699
+ attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :PriceList, :RequestId
2645
2700
 
2646
- def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, requestid=nil)
2701
+ def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricelist=nil, requestid=nil)
2647
2702
  @OriginalCost = originalcost
2648
2703
  @DiscountCost = discountcost
2649
2704
  @TimeUnit = timeunit
2650
2705
  @TimeSpan = timespan
2706
+ @PriceList = pricelist
2651
2707
  @RequestId = requestid
2652
2708
  end
2653
2709
 
@@ -2656,6 +2712,14 @@ module TencentCloud
2656
2712
  @DiscountCost = params['DiscountCost']
2657
2713
  @TimeUnit = params['TimeUnit']
2658
2714
  @TimeSpan = params['TimeSpan']
2715
+ unless params['PriceList'].nil?
2716
+ @PriceList = []
2717
+ params['PriceList'].each do |i|
2718
+ zonedetailpriceresult_tmp = ZoneDetailPriceResult.new
2719
+ zonedetailpriceresult_tmp.deserialize(i)
2720
+ @PriceList << zonedetailpriceresult_tmp
2721
+ end
2722
+ end
2659
2723
  @RequestId = params['RequestId']
2660
2724
  end
2661
2725
  end
@@ -2817,16 +2881,20 @@ module TencentCloud
2817
2881
  # @param PriceSpec: 询价的节点规格。
2818
2882
  # 注意:此字段可能返回 null,表示取不到有效值。
2819
2883
  # @type PriceSpec: :class:`Tencentcloud::Emr.v20190103.models.PriceResource`
2884
+ # @param MultipleEmrPrice: 对应入参MultipleResources中多个规格的询价结果,其它出参返回的是第一个规格的询价结果
2885
+ # 注意:此字段可能返回 null,表示取不到有效值。
2886
+ # @type MultipleEmrPrice: Array
2820
2887
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2821
2888
  # @type RequestId: String
2822
2889
 
2823
- attr_accessor :OriginalCost, :DiscountCost, :Unit, :PriceSpec, :RequestId
2890
+ attr_accessor :OriginalCost, :DiscountCost, :Unit, :PriceSpec, :MultipleEmrPrice, :RequestId
2824
2891
 
2825
- def initialize(originalcost=nil, discountcost=nil, unit=nil, pricespec=nil, requestid=nil)
2892
+ def initialize(originalcost=nil, discountcost=nil, unit=nil, pricespec=nil, multipleemrprice=nil, requestid=nil)
2826
2893
  @OriginalCost = originalcost
2827
2894
  @DiscountCost = discountcost
2828
2895
  @Unit = unit
2829
2896
  @PriceSpec = pricespec
2897
+ @MultipleEmrPrice = multipleemrprice
2830
2898
  @RequestId = requestid
2831
2899
  end
2832
2900
 
@@ -2838,6 +2906,14 @@ module TencentCloud
2838
2906
  @PriceSpec = PriceResource.new
2839
2907
  @PriceSpec.deserialize(params['PriceSpec'])
2840
2908
  end
2909
+ unless params['MultipleEmrPrice'].nil?
2910
+ @MultipleEmrPrice = []
2911
+ params['MultipleEmrPrice'].each do |i|
2912
+ emrprice_tmp = EmrPrice.new
2913
+ emrprice_tmp.deserialize(i)
2914
+ @MultipleEmrPrice << emrprice_tmp
2915
+ end
2916
+ end
2841
2917
  @RequestId = params['RequestId']
2842
2918
  end
2843
2919
  end
@@ -3441,6 +3517,34 @@ module TencentCloud
3441
3517
  end
3442
3518
  end
3443
3519
 
3520
+ # 用于创建集群价格清单 节点价格详情
3521
+ class NodeDetailPriceResult < TencentCloud::Common::AbstractModel
3522
+ # @param NodeType: 节点类型 master core task common router mysql
3523
+ # 注意:此字段可能返回 null,表示取不到有效值。
3524
+ # @type NodeType: String
3525
+ # @param PartDetailPrice: 节点组成部分价格详情
3526
+ # @type PartDetailPrice: Array
3527
+
3528
+ attr_accessor :NodeType, :PartDetailPrice
3529
+
3530
+ def initialize(nodetype=nil, partdetailprice=nil)
3531
+ @NodeType = nodetype
3532
+ @PartDetailPrice = partdetailprice
3533
+ end
3534
+
3535
+ def deserialize(params)
3536
+ @NodeType = params['NodeType']
3537
+ unless params['PartDetailPrice'].nil?
3538
+ @PartDetailPrice = []
3539
+ params['PartDetailPrice'].each do |i|
3540
+ partdetailpriceitem_tmp = PartDetailPriceItem.new
3541
+ partdetailpriceitem_tmp.deserialize(i)
3542
+ @PartDetailPrice << partdetailpriceitem_tmp
3543
+ end
3544
+ end
3545
+ end
3546
+ end
3547
+
3444
3548
  # 节点硬件信息
3445
3549
  class NodeHardwareInfo < TencentCloud::Common::AbstractModel
3446
3550
  # @param AppId: 用户APPID
@@ -3846,6 +3950,48 @@ module TencentCloud
3846
3950
  end
3847
3951
  end
3848
3952
 
3953
+ # 用于创建集群价格清单-节点组成部分价格
3954
+ class PartDetailPriceItem < TencentCloud::Common::AbstractModel
3955
+ # @param InstanceType: 类型包括:节点->node、系统盘->rootDisk、云数据盘->dataDisk、metaDB
3956
+ # 注意:此字段可能返回 null,表示取不到有效值。
3957
+ # @type InstanceType: String
3958
+ # @param Price: 单价(原价)
3959
+ # 注意:此字段可能返回 null,表示取不到有效值。
3960
+ # @type Price: Float
3961
+ # @param RealCost: 单价(折扣价)
3962
+ # 注意:此字段可能返回 null,表示取不到有效值。
3963
+ # @type RealCost: Float
3964
+ # @param RealTotalCost: 总价(折扣价)
3965
+ # 注意:此字段可能返回 null,表示取不到有效值。
3966
+ # @type RealTotalCost: Float
3967
+ # @param Policy: 折扣
3968
+ # 注意:此字段可能返回 null,表示取不到有效值。
3969
+ # @type Policy: Float
3970
+ # @param GoodsNum: 数量
3971
+ # 注意:此字段可能返回 null,表示取不到有效值。
3972
+ # @type GoodsNum: Integer
3973
+
3974
+ attr_accessor :InstanceType, :Price, :RealCost, :RealTotalCost, :Policy, :GoodsNum
3975
+
3976
+ def initialize(instancetype=nil, price=nil, realcost=nil, realtotalcost=nil, policy=nil, goodsnum=nil)
3977
+ @InstanceType = instancetype
3978
+ @Price = price
3979
+ @RealCost = realcost
3980
+ @RealTotalCost = realtotalcost
3981
+ @Policy = policy
3982
+ @GoodsNum = goodsnum
3983
+ end
3984
+
3985
+ def deserialize(params)
3986
+ @InstanceType = params['InstanceType']
3987
+ @Price = params['Price']
3988
+ @RealCost = params['RealCost']
3989
+ @RealTotalCost = params['RealTotalCost']
3990
+ @Policy = params['Policy']
3991
+ @GoodsNum = params['GoodsNum']
3992
+ end
3993
+ end
3994
+
3849
3995
  # Pod PVC存储方式描述
3850
3996
  class PersistentVolumeContext < TencentCloud::Common::AbstractModel
3851
3997
  # @param DiskSize: 磁盘大小,单位为GB。
@@ -5368,6 +5514,26 @@ module TencentCloud
5368
5514
  end
5369
5515
  end
5370
5516
 
5517
+ # 体外客户端组件依赖信息
5518
+ class SoftDependInfo < TencentCloud::Common::AbstractModel
5519
+ # @param SoftName: 组件名称
5520
+ # @type SoftName: String
5521
+ # @param Required: 是否必选
5522
+ # @type Required: Boolean
5523
+
5524
+ attr_accessor :SoftName, :Required
5525
+
5526
+ def initialize(softname=nil, required=nil)
5527
+ @SoftName = softname
5528
+ @Required = required
5529
+ end
5530
+
5531
+ def deserialize(params)
5532
+ @SoftName = params['SoftName']
5533
+ @Required = params['Required']
5534
+ end
5535
+ end
5536
+
5371
5537
  # 执行步骤
5372
5538
  class Step < TencentCloud::Common::AbstractModel
5373
5539
  # @param Name: 执行步骤名称。
@@ -5747,6 +5913,34 @@ module TencentCloud
5747
5913
  end
5748
5914
  end
5749
5915
 
5916
+ # 用于创建集群价格清单 不同可用区下价格详情
5917
+ class ZoneDetailPriceResult < TencentCloud::Common::AbstractModel
5918
+ # @param ZoneId: 可用区Id
5919
+ # 注意:此字段可能返回 null,表示取不到有效值。
5920
+ # @type ZoneId: String
5921
+ # @param NodeDetailPrice: 不同节点的价格详情
5922
+ # @type NodeDetailPrice: Array
5923
+
5924
+ attr_accessor :ZoneId, :NodeDetailPrice
5925
+
5926
+ def initialize(zoneid=nil, nodedetailprice=nil)
5927
+ @ZoneId = zoneid
5928
+ @NodeDetailPrice = nodedetailprice
5929
+ end
5930
+
5931
+ def deserialize(params)
5932
+ @ZoneId = params['ZoneId']
5933
+ unless params['NodeDetailPrice'].nil?
5934
+ @NodeDetailPrice = []
5935
+ params['NodeDetailPrice'].each do |i|
5936
+ nodedetailpriceresult_tmp = NodeDetailPriceResult.new
5937
+ nodedetailpriceresult_tmp.deserialize(i)
5938
+ @NodeDetailPrice << nodedetailpriceresult_tmp
5939
+ end
5940
+ end
5941
+ end
5942
+ end
5943
+
5750
5944
  # 可用区配置信息
5751
5945
  class ZoneResourceConfiguration < TencentCloud::Common::AbstractModel
5752
5946
  # @param VirtualPrivateCloud: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.485
4
+ version: 3.0.486
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-01-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common