tencentcloud-sdk-emr 3.0.456 → 3.0.458

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5de6c5a45c5cd858ab6721d12561efb3b400d97
4
- data.tar.gz: d8a4d3588977d33106069c1017a1eacecc155cbc
3
+ metadata.gz: d699c525b706664626ef6a955fa546dd162c9193
4
+ data.tar.gz: d7505a02de24d916b9d41f0daee94fc786f8a519
5
5
  SHA512:
6
- metadata.gz: f3f0238377b51d73a43627b85d93d5c08baa3ae142f7d72260989bc66ee75d79815e0dc9a1c29042f6fbfadcddaf32bc2997d80d5eeab0a7e787b96946289377
7
- data.tar.gz: 39e9c8c14967ad097c03ab27825d11bdfc28287aacc50ad383af6cdecd5bd11ede2bef8d3ab6021858b21c6308f36a9141be088e21180c6e95036d5d89584899
6
+ metadata.gz: 0a4b69fd76c521bec91ef3c255779ef387738547fe5e04367986b226234f34e3803aa20d983be392f6a51e8cde70a9a1a30dc4cea3ccd3973bcfd91015c00471
7
+ data.tar.gz: e87b4d585db87d6505717f2a619160d52f67702a7bdaf662274d9172d3caabf481fb409e5c1d00af32907acf71c74182ee1e03e852de637c4d00a681db731d0a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.456
1
+ 3.0.458
@@ -78,7 +78,7 @@ module TencentCloud
78
78
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
79
79
  end
80
80
 
81
- # 查询硬件节点信息
81
+ # 查询集群节点信息
82
82
 
83
83
  # @param request: Request instance for DescribeClusterNodes.
84
84
  # @type request: :class:`Tencentcloud::emr::V20190103::DescribeClusterNodesRequest`
@@ -439,7 +439,7 @@ module TencentCloud
439
439
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
440
440
  end
441
441
 
442
- # 修改yarn资源调度的资源配置
442
+ # 修改YARN资源调度的资源配置
443
443
 
444
444
  # @param request: Request instance for ModifyResourceScheduleConfig.
445
445
  # @type request: :class:`Tencentcloud::emr::V20190103::ModifyResourceScheduleConfigRequest`
@@ -511,7 +511,7 @@ module TencentCloud
511
511
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
512
512
  end
513
513
 
514
- # 实例扩容
514
+ # 扩容节点
515
515
 
516
516
  # @param request: Request instance for ScaleOutInstance.
517
517
  # @type request: :class:`Tencentcloud::emr::V20190103::ScaleOutInstanceRequest`
@@ -2502,16 +2502,19 @@ module TencentCloud
2502
2502
  # @param Currency: 货币种类。取值范围:
2503
2503
  # <li>CNY:表示人民币。</li>
2504
2504
  # @type Currency: String
2505
+ # @param ResourceIdList: 批量变配资源ID列表
2506
+ # @type ResourceIdList: Array
2505
2507
 
2506
- attr_accessor :TimeUnit, :TimeSpan, :UpdateSpec, :PayMode, :Placement, :Currency
2508
+ attr_accessor :TimeUnit, :TimeSpan, :UpdateSpec, :PayMode, :Placement, :Currency, :ResourceIdList
2507
2509
 
2508
- def initialize(timeunit=nil, timespan=nil, updatespec=nil, paymode=nil, placement=nil, currency=nil)
2510
+ def initialize(timeunit=nil, timespan=nil, updatespec=nil, paymode=nil, placement=nil, currency=nil, resourceidlist=nil)
2509
2511
  @TimeUnit = timeunit
2510
2512
  @TimeSpan = timespan
2511
2513
  @UpdateSpec = updatespec
2512
2514
  @PayMode = paymode
2513
2515
  @Placement = placement
2514
2516
  @Currency = currency
2517
+ @ResourceIdList = resourceidlist
2515
2518
  end
2516
2519
 
2517
2520
  def deserialize(params)
@@ -2527,6 +2530,7 @@ module TencentCloud
2527
2530
  @Placement.deserialize(params['Placement'])
2528
2531
  end
2529
2532
  @Currency = params['Currency']
2533
+ @ResourceIdList = params['ResourceIdList']
2530
2534
  end
2531
2535
  end
2532
2536
 
@@ -2546,16 +2550,20 @@ module TencentCloud
2546
2550
  # @param TimeSpan: 变配的时长。
2547
2551
  # 注意:此字段可能返回 null,表示取不到有效值。
2548
2552
  # @type TimeSpan: Integer
2553
+ # @param PriceDetail: 价格详情
2554
+ # 注意:此字段可能返回 null,表示取不到有效值。
2555
+ # @type PriceDetail: Array
2549
2556
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2550
2557
  # @type RequestId: String
2551
2558
 
2552
- attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :RequestId
2559
+ attr_accessor :OriginalCost, :DiscountCost, :TimeUnit, :TimeSpan, :PriceDetail, :RequestId
2553
2560
 
2554
- def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, requestid=nil)
2561
+ def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricedetail=nil, requestid=nil)
2555
2562
  @OriginalCost = originalcost
2556
2563
  @DiscountCost = discountcost
2557
2564
  @TimeUnit = timeunit
2558
2565
  @TimeSpan = timespan
2566
+ @PriceDetail = pricedetail
2559
2567
  @RequestId = requestid
2560
2568
  end
2561
2569
 
@@ -2564,6 +2572,14 @@ module TencentCloud
2564
2572
  @DiscountCost = params['DiscountCost']
2565
2573
  @TimeUnit = params['TimeUnit']
2566
2574
  @TimeSpan = params['TimeSpan']
2575
+ unless params['PriceDetail'].nil?
2576
+ @PriceDetail = []
2577
+ params['PriceDetail'].each do |i|
2578
+ pricedetail_tmp = PriceDetail.new
2579
+ pricedetail_tmp.deserialize(i)
2580
+ @PriceDetail << pricedetail_tmp
2581
+ end
2582
+ end
2567
2583
  @RequestId = params['RequestId']
2568
2584
  end
2569
2585
  end
@@ -2851,20 +2867,25 @@ module TencentCloud
2851
2867
  # @param ErrorMsg: 校验错误信息,如果不为空,则说明校验失败,配置没有成功
2852
2868
  # 注意:此字段可能返回 null,表示取不到有效值。
2853
2869
  # @type ErrorMsg: String
2870
+ # @param Data: 返回数据
2871
+ # 注意:此字段可能返回 null,表示取不到有效值。
2872
+ # @type Data: String
2854
2873
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2855
2874
  # @type RequestId: String
2856
2875
 
2857
- attr_accessor :IsDraft, :ErrorMsg, :RequestId
2876
+ attr_accessor :IsDraft, :ErrorMsg, :Data, :RequestId
2858
2877
 
2859
- def initialize(isdraft=nil, errormsg=nil, requestid=nil)
2878
+ def initialize(isdraft=nil, errormsg=nil, data=nil, requestid=nil)
2860
2879
  @IsDraft = isdraft
2861
2880
  @ErrorMsg = errormsg
2881
+ @Data = data
2862
2882
  @RequestId = requestid
2863
2883
  end
2864
2884
 
2865
2885
  def deserialize(params)
2866
2886
  @IsDraft = params['IsDraft']
2867
2887
  @ErrorMsg = params['ErrorMsg']
2888
+ @Data = params['Data']
2868
2889
  @RequestId = params['RequestId']
2869
2890
  end
2870
2891
  end
@@ -3204,10 +3225,16 @@ module TencentCloud
3204
3225
  # @param ServiceClient: 服务
3205
3226
  # 注意:此字段可能返回 null,表示取不到有效值。
3206
3227
  # @type ServiceClient: String
3228
+ # @param DisableApiTermination: 该实例是否开启实例保护,true为开启 false为关闭
3229
+ # 注意:此字段可能返回 null,表示取不到有效值。
3230
+ # @type DisableApiTermination: Boolean
3231
+ # @param TradeVersion: 0表示老计费,1表示新计费
3232
+ # 注意:此字段可能返回 null,表示取不到有效值。
3233
+ # @type TradeVersion: Integer
3207
3234
 
3208
- attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient
3235
+ attr_accessor :AppId, :SerialNo, :OrderNo, :WanIp, :Flag, :Spec, :CpuNum, :MemSize, :MemDesc, :RegionId, :ZoneId, :ApplyTime, :FreeTime, :DiskSize, :NameTag, :Services, :StorageType, :RootSize, :ChargeType, :CdbIp, :CdbPort, :HwDiskSize, :HwDiskSizeDesc, :HwMemSize, :HwMemSizeDesc, :ExpireTime, :EmrResourceId, :IsAutoRenew, :DeviceClass, :Mutable, :MCMultiDisk, :CdbNodeInfo, :Ip, :Destroyable, :Tags, :AutoFlag, :HardwareResourceType, :IsDynamicSpec, :DynamicPodSpec, :SupportModifyPayMode, :RootStorageType, :Zone, :SubnetInfo, :Clients, :CurrentTime, :IsFederation, :DeviceName, :ServiceClient, :DisableApiTermination, :TradeVersion
3209
3236
 
3210
- def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil)
3237
+ def initialize(appid=nil, serialno=nil, orderno=nil, wanip=nil, flag=nil, spec=nil, cpunum=nil, memsize=nil, memdesc=nil, regionid=nil, zoneid=nil, applytime=nil, freetime=nil, disksize=nil, nametag=nil, services=nil, storagetype=nil, rootsize=nil, chargetype=nil, cdbip=nil, cdbport=nil, hwdisksize=nil, hwdisksizedesc=nil, hwmemsize=nil, hwmemsizedesc=nil, expiretime=nil, emrresourceid=nil, isautorenew=nil, deviceclass=nil, mutable=nil, mcmultidisk=nil, cdbnodeinfo=nil, ip=nil, destroyable=nil, tags=nil, autoflag=nil, hardwareresourcetype=nil, isdynamicspec=nil, dynamicpodspec=nil, supportmodifypaymode=nil, rootstoragetype=nil, zone=nil, subnetinfo=nil, clients=nil, currenttime=nil, isfederation=nil, devicename=nil, serviceclient=nil, disableapitermination=nil, tradeversion=nil)
3211
3238
  @AppId = appid
3212
3239
  @SerialNo = serialno
3213
3240
  @OrderNo = orderno
@@ -3256,6 +3283,8 @@ module TencentCloud
3256
3283
  @IsFederation = isfederation
3257
3284
  @DeviceName = devicename
3258
3285
  @ServiceClient = serviceclient
3286
+ @DisableApiTermination = disableapitermination
3287
+ @TradeVersion = tradeversion
3259
3288
  end
3260
3289
 
3261
3290
  def deserialize(params)
@@ -3327,6 +3356,8 @@ module TencentCloud
3327
3356
  @IsFederation = params['IsFederation']
3328
3357
  @DeviceName = params['DeviceName']
3329
3358
  @ServiceClient = params['ServiceClient']
3359
+ @DisableApiTermination = params['DisableApiTermination']
3360
+ @TradeVersion = params['TradeVersion']
3330
3361
  end
3331
3362
  end
3332
3363
 
@@ -3416,21 +3447,21 @@ module TencentCloud
3416
3447
 
3417
3448
  # 描述集群实例位置信息
3418
3449
  class Placement < TencentCloud::Common::AbstractModel
3419
- # @param ProjectId: 实例所属项目ID。该参数可以通过调用 DescribeProject 的返回值中的 projectId 字段来获取。填0为默认项目。
3420
- # @type ProjectId: Integer
3421
- # @param Zone: 实例所属的可用区,例如ap-guangzhou-1。该参数也可以通过调用 DescribeZones 的返回值中的Zone字段来获取。
3450
+ # @param Zone: 实例所属的可用区,例如ap-guangzhou-1。该参数也可以通过调用[DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
3422
3451
  # @type Zone: String
3452
+ # @param ProjectId: 实例所属项目ID。该参数可以通过调用[DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
3453
+ # @type ProjectId: Integer
3423
3454
 
3424
- attr_accessor :ProjectId, :Zone
3455
+ attr_accessor :Zone, :ProjectId
3425
3456
 
3426
- def initialize(projectid=nil, zone=nil)
3427
- @ProjectId = projectid
3457
+ def initialize(zone=nil, projectid=nil)
3428
3458
  @Zone = zone
3459
+ @ProjectId = projectid
3429
3460
  end
3430
3461
 
3431
3462
  def deserialize(params)
3432
- @ProjectId = params['ProjectId']
3433
3463
  @Zone = params['Zone']
3464
+ @ProjectId = params['ProjectId']
3434
3465
  end
3435
3466
  end
3436
3467
 
@@ -3801,6 +3832,34 @@ module TencentCloud
3801
3832
  end
3802
3833
  end
3803
3834
 
3835
+ # 价格详情
3836
+ class PriceDetail < TencentCloud::Common::AbstractModel
3837
+ # @param ResourceId: 节点ID
3838
+ # @type ResourceId: String
3839
+ # @param Formula: 价格计算公式
3840
+ # @type Formula: String
3841
+ # @param OriginalCost: 原价
3842
+ # @type OriginalCost: Float
3843
+ # @param DiscountCost: 折扣价
3844
+ # @type DiscountCost: Float
3845
+
3846
+ attr_accessor :ResourceId, :Formula, :OriginalCost, :DiscountCost
3847
+
3848
+ def initialize(resourceid=nil, formula=nil, originalcost=nil, discountcost=nil)
3849
+ @ResourceId = resourceid
3850
+ @Formula = formula
3851
+ @OriginalCost = originalcost
3852
+ @DiscountCost = discountcost
3853
+ end
3854
+
3855
+ def deserialize(params)
3856
+ @ResourceId = params['ResourceId']
3857
+ @Formula = params['Formula']
3858
+ @OriginalCost = params['OriginalCost']
3859
+ @DiscountCost = params['DiscountCost']
3860
+ end
3861
+ end
3862
+
3804
3863
  # 询价资源
3805
3864
  class PriceResource < TencentCloud::Common::AbstractModel
3806
3865
  # @param Spec: 需要的规格
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.456
4
+ version: 3.0.458
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-22 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common