tencentcloud-sdk-emr 3.0.588 → 3.0.590

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 +43 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8969850e4ab47aa943d11b7615457d8e93b53b8
4
- data.tar.gz: fc9fbfaa136c91a51413ee8396eb2b256e7bf414
3
+ metadata.gz: 56f2b336e4e4320054d5adb34c072b43479b24a1
4
+ data.tar.gz: d3548e892cb40f68c5bc73b7023fe80bb09db6fb
5
5
  SHA512:
6
- metadata.gz: bbd189c2bc479d2932149c062e52483d6d639aff6cbeaf9084f806d9ae0d59c87ad245e471c3748c1273776eed0fa6e871206187c8341e7e4a2047dc243ed582
7
- data.tar.gz: e66fd719a047f260bfc363f7e61b71349f26c7953af47f5ecbf63a4310b56df3d6bdf2a91d41136a8cfdc20c9f7f3d419596b12f960c175694e1a3aac640a8d5
6
+ metadata.gz: c23272ddeb8241c2cf5993944bf01b8fcdb2cf64a22c4e9a18091519abf1a647be903395bb2a5de0751c9ee6b7f925bd60b3930af6378de270bdcd424f51cc87
7
+ data.tar.gz: e129382e43b3edaa35603937c07f1e64c0962ddc4b80a16bb8404fe78f8ccab754000e72fe5fc79f8758af54511b4fae17d71f5d35f556cb2605a24c74393a4d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.588
1
+ 3.0.590
@@ -5645,16 +5645,20 @@ module TencentCloud
5645
5645
  # <li>StopService:停止服务</li>
5646
5646
  # <li>StartMonitor:退出维护</li>
5647
5647
  # <li>StopMonitor:进入维护</li>
5648
+ # <li>RestartService:重启服务</li>
5648
5649
  # @type OpType: String
5649
5650
  # @param OpScope: 操作范围
5650
5651
  # @type OpScope: :class:`Tencentcloud::Emr.v20190103.models.OpScope`
5652
+ # @param StrategyConfig: 操作策略
5653
+ # @type StrategyConfig: :class:`Tencentcloud::Emr.v20190103.models.StrategyConfig`
5651
5654
 
5652
- attr_accessor :InstanceId, :OpType, :OpScope
5655
+ attr_accessor :InstanceId, :OpType, :OpScope, :StrategyConfig
5653
5656
 
5654
- def initialize(instanceid=nil, optype=nil, opscope=nil)
5657
+ def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil)
5655
5658
  @InstanceId = instanceid
5656
5659
  @OpType = optype
5657
5660
  @OpScope = opscope
5661
+ @StrategyConfig = strategyconfig
5658
5662
  end
5659
5663
 
5660
5664
  def deserialize(params)
@@ -5664,6 +5668,10 @@ module TencentCloud
5664
5668
  @OpScope = OpScope.new
5665
5669
  @OpScope.deserialize(params['OpScope'])
5666
5670
  end
5671
+ unless params['StrategyConfig'].nil?
5672
+ @StrategyConfig = StrategyConfig.new
5673
+ @StrategyConfig.deserialize(params['StrategyConfig'])
5674
+ end
5667
5675
  end
5668
5676
  end
5669
5677
 
@@ -5716,6 +5724,39 @@ module TencentCloud
5716
5724
  end
5717
5725
  end
5718
5726
 
5727
+ # 重启/停止/启动服务/监控的配置
5728
+ class StrategyConfig < TencentCloud::Common::AbstractModel
5729
+ # @param RollingRestartSwitch: 0:关闭滚动重启
5730
+ # 1:开启滚动启动
5731
+ # 注意:此字段可能返回 null,表示取不到有效值。
5732
+ # @type RollingRestartSwitch: Integer
5733
+ # @param BatchSize: 滚动重启每批次的重启数量
5734
+ # 注意:此字段可能返回 null,表示取不到有效值。
5735
+ # @type BatchSize: Integer
5736
+ # @param TimeWait: 滚动重启每批停止等待时间 ,最大重启台数为 99999 台,最大间隔为 5 分钟 单位是秒
5737
+ # 注意:此字段可能返回 null,表示取不到有效值。
5738
+ # @type TimeWait: Integer
5739
+ # @param DealOnFail: 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
5740
+ # 注意:此字段可能返回 null,表示取不到有效值。
5741
+ # @type DealOnFail: Integer
5742
+
5743
+ attr_accessor :RollingRestartSwitch, :BatchSize, :TimeWait, :DealOnFail
5744
+
5745
+ def initialize(rollingrestartswitch=nil, batchsize=nil, timewait=nil, dealonfail=nil)
5746
+ @RollingRestartSwitch = rollingrestartswitch
5747
+ @BatchSize = batchsize
5748
+ @TimeWait = timewait
5749
+ @DealOnFail = dealonfail
5750
+ end
5751
+
5752
+ def deserialize(params)
5753
+ @RollingRestartSwitch = params['RollingRestartSwitch']
5754
+ @BatchSize = params['BatchSize']
5755
+ @TimeWait = params['TimeWait']
5756
+ @DealOnFail = params['DealOnFail']
5757
+ end
5758
+ end
5759
+
5719
5760
  # 子网信息
5720
5761
  class SubnetInfo < TencentCloud::Common::AbstractModel
5721
5762
  # @param SubnetName: 子网信息(名字)
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.588
4
+ version: 3.0.590
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-06-08 00:00:00.000000000 Z
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common