tencentcloud-sdk-emr 3.0.782 → 3.0.784
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/models.rb +66 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3bb1d3d5f57b8df00aab3c9ecbc159fe30bce17
|
4
|
+
data.tar.gz: 78f1aeb13c29663303a5fb4b0233fb2580371b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75db3906b180cfd143384fb2218707fbbd027bb06c23fa86fcf55a6dae9f1ae097e6666618a92d2745531100e8ba1b57d801769507324874a3c10e58708a2ceb
|
7
|
+
data.tar.gz: cbabcd27eec0c7b9d8851014e6e392cb4d36c60d0ca0c2b4b8dd22921ec05d017884e19d3f456ecf4e81dab1dee03e1f427e253489ba4ce775a4587fc5d1a952
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.784
|
data/lib/v20190103/models.rb
CHANGED
@@ -221,6 +221,28 @@ module TencentCloud
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
|
224
|
+
# 通用的参数
|
225
|
+
class Arg < TencentCloud::Common::AbstractModel
|
226
|
+
# @param Key: key
|
227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
228
|
+
# @type Key: String
|
229
|
+
# @param Values: 值列表
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type Values: Array
|
232
|
+
|
233
|
+
attr_accessor :Key, :Values
|
234
|
+
|
235
|
+
def initialize(key=nil, values=nil)
|
236
|
+
@Key = key
|
237
|
+
@Values = values
|
238
|
+
end
|
239
|
+
|
240
|
+
def deserialize(params)
|
241
|
+
@Key = params['Key']
|
242
|
+
@Values = params['Values']
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
224
246
|
# 弹性扩缩容记录
|
225
247
|
class AutoScaleRecord < TencentCloud::Common::AbstractModel
|
226
248
|
# @param StrategyName: 扩缩容规则名。
|
@@ -7255,14 +7277,17 @@ module TencentCloud
|
|
7255
7277
|
# @type OpScope: :class:`Tencentcloud::Emr.v20190103.models.OpScope`
|
7256
7278
|
# @param StrategyConfig: 操作策略
|
7257
7279
|
# @type StrategyConfig: :class:`Tencentcloud::Emr.v20190103.models.StrategyConfig`
|
7280
|
+
# @param StopParams: 暂停服务时用的参数
|
7281
|
+
# @type StopParams: :class:`Tencentcloud::Emr.v20190103.models.StopParams`
|
7258
7282
|
|
7259
|
-
attr_accessor :InstanceId, :OpType, :OpScope, :StrategyConfig
|
7283
|
+
attr_accessor :InstanceId, :OpType, :OpScope, :StrategyConfig, :StopParams
|
7260
7284
|
|
7261
|
-
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil)
|
7285
|
+
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil, stopparams=nil)
|
7262
7286
|
@InstanceId = instanceid
|
7263
7287
|
@OpType = optype
|
7264
7288
|
@OpScope = opscope
|
7265
7289
|
@StrategyConfig = strategyconfig
|
7290
|
+
@StopParams = stopparams
|
7266
7291
|
end
|
7267
7292
|
|
7268
7293
|
def deserialize(params)
|
@@ -7276,6 +7301,10 @@ module TencentCloud
|
|
7276
7301
|
@StrategyConfig = StrategyConfig.new
|
7277
7302
|
@StrategyConfig.deserialize(params['StrategyConfig'])
|
7278
7303
|
end
|
7304
|
+
unless params['StopParams'].nil?
|
7305
|
+
@StopParams = StopParams.new
|
7306
|
+
@StopParams.deserialize(params['StopParams'])
|
7307
|
+
end
|
7279
7308
|
end
|
7280
7309
|
end
|
7281
7310
|
|
@@ -7328,6 +7357,27 @@ module TencentCloud
|
|
7328
7357
|
end
|
7329
7358
|
end
|
7330
7359
|
|
7360
|
+
# 停止服务时的参数
|
7361
|
+
class StopParams < TencentCloud::Common::AbstractModel
|
7362
|
+
# @param StopPolicy: 安全模式:safe
|
7363
|
+
# 默认模式:default
|
7364
|
+
# @type StopPolicy: String
|
7365
|
+
# @param ThreadCount: 线程数
|
7366
|
+
# @type ThreadCount: Integer
|
7367
|
+
|
7368
|
+
attr_accessor :StopPolicy, :ThreadCount
|
7369
|
+
|
7370
|
+
def initialize(stoppolicy=nil, threadcount=nil)
|
7371
|
+
@StopPolicy = stoppolicy
|
7372
|
+
@ThreadCount = threadcount
|
7373
|
+
end
|
7374
|
+
|
7375
|
+
def deserialize(params)
|
7376
|
+
@StopPolicy = params['StopPolicy']
|
7377
|
+
@ThreadCount = params['ThreadCount']
|
7378
|
+
end
|
7379
|
+
end
|
7380
|
+
|
7331
7381
|
# 重启/停止/启动服务/监控的配置
|
7332
7382
|
class StrategyConfig < TencentCloud::Common::AbstractModel
|
7333
7383
|
# @param RollingRestartSwitch: 0:关闭滚动重启
|
@@ -7343,14 +7393,18 @@ module TencentCloud
|
|
7343
7393
|
# @param DealOnFail: 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
|
7344
7394
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7345
7395
|
# @type DealOnFail: Integer
|
7396
|
+
# @param Args: 指令需要指定的参数
|
7397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7398
|
+
# @type Args: Array
|
7346
7399
|
|
7347
|
-
attr_accessor :RollingRestartSwitch, :BatchSize, :TimeWait, :DealOnFail
|
7400
|
+
attr_accessor :RollingRestartSwitch, :BatchSize, :TimeWait, :DealOnFail, :Args
|
7348
7401
|
|
7349
|
-
def initialize(rollingrestartswitch=nil, batchsize=nil, timewait=nil, dealonfail=nil)
|
7402
|
+
def initialize(rollingrestartswitch=nil, batchsize=nil, timewait=nil, dealonfail=nil, args=nil)
|
7350
7403
|
@RollingRestartSwitch = rollingrestartswitch
|
7351
7404
|
@BatchSize = batchsize
|
7352
7405
|
@TimeWait = timewait
|
7353
7406
|
@DealOnFail = dealonfail
|
7407
|
+
@Args = args
|
7354
7408
|
end
|
7355
7409
|
|
7356
7410
|
def deserialize(params)
|
@@ -7358,6 +7412,14 @@ module TencentCloud
|
|
7358
7412
|
@BatchSize = params['BatchSize']
|
7359
7413
|
@TimeWait = params['TimeWait']
|
7360
7414
|
@DealOnFail = params['DealOnFail']
|
7415
|
+
unless params['Args'].nil?
|
7416
|
+
@Args = []
|
7417
|
+
params['Args'].each do |i|
|
7418
|
+
arg_tmp = Arg.new
|
7419
|
+
arg_tmp.deserialize(i)
|
7420
|
+
@Args << arg_tmp
|
7421
|
+
end
|
7422
|
+
end
|
7361
7423
|
end
|
7362
7424
|
end
|
7363
7425
|
|
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.
|
4
|
+
version: 3.0.784
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|