tencentcloud-sdk-emr 3.0.782 → 3.0.783
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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5406830ed3067be66a1d7370765e974f92d1e9b2
|
4
|
+
data.tar.gz: bcc9df59d0199cfda788628c753314677934a307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 794404f419b5ae204c97876d254d4cd1b84f2943cf4415e2f9cc585d4d589f734036b88cc57cc8d9b905d358b281d6a3fbeb02c944721377eb9e0a6917d150ce
|
7
|
+
data.tar.gz: ea8a7f96e5b917670ef077a4b1198961c8015bf5408c5092dd857738ef7950167af8c03b4398c185f6dcd4ca904222d0c2d281842accd2e16c097755759cea14
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.783
|
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
|
|