tencentcloud-sdk-emr 3.0.781 → 3.0.783
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/models.rb +94 -8
- 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: 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: 扩缩容规则名。
|
@@ -2037,15 +2059,24 @@ module TencentCloud
|
|
2037
2059
|
# @type Offset: Integer
|
2038
2060
|
# @param Limit: 分页大小,合法范围[1,100]
|
2039
2061
|
# @type Limit: Integer
|
2062
|
+
# @param State: 执行状态,ERROR等
|
2063
|
+
# @type State: Array
|
2064
|
+
# @param EndTimeGte: 结束时间大于的时间点
|
2065
|
+
# @type EndTimeGte: Integer
|
2066
|
+
# @param EndTimeLte: 结束时间小于时间点
|
2067
|
+
# @type EndTimeLte: Integer
|
2040
2068
|
|
2041
|
-
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit
|
2069
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit, :State, :EndTimeGte, :EndTimeLte
|
2042
2070
|
|
2043
|
-
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
2071
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, state=nil, endtimegte=nil, endtimelte=nil)
|
2044
2072
|
@InstanceId = instanceid
|
2045
2073
|
@StartTime = starttime
|
2046
2074
|
@EndTime = endtime
|
2047
2075
|
@Offset = offset
|
2048
2076
|
@Limit = limit
|
2077
|
+
@State = state
|
2078
|
+
@EndTimeGte = endtimegte
|
2079
|
+
@EndTimeLte = endtimelte
|
2049
2080
|
end
|
2050
2081
|
|
2051
2082
|
def deserialize(params)
|
@@ -2054,6 +2085,9 @@ module TencentCloud
|
|
2054
2085
|
@EndTime = params['EndTime']
|
2055
2086
|
@Offset = params['Offset']
|
2056
2087
|
@Limit = params['Limit']
|
2088
|
+
@State = params['State']
|
2089
|
+
@EndTimeGte = params['EndTimeGte']
|
2090
|
+
@EndTimeLte = params['EndTimeLte']
|
2057
2091
|
end
|
2058
2092
|
end
|
2059
2093
|
|
@@ -2100,15 +2134,24 @@ module TencentCloud
|
|
2100
2134
|
# @type Offset: Integer
|
2101
2135
|
# @param Limit: 分页大小,合法范围[1,100]
|
2102
2136
|
# @type Limit: Integer
|
2137
|
+
# @param State: 执行状态,CREATED、INITIALIZED、COMPILED、RUNNING、FINISHED、EXCEPTION
|
2138
|
+
# @type State: Array
|
2139
|
+
# @param EndTimeGte: 结束时间大于的时间点
|
2140
|
+
# @type EndTimeGte: Integer
|
2141
|
+
# @param EndTimeLte: 结束时间小于的时间点
|
2142
|
+
# @type EndTimeLte: Integer
|
2103
2143
|
|
2104
|
-
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit
|
2144
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit, :State, :EndTimeGte, :EndTimeLte
|
2105
2145
|
|
2106
|
-
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
2146
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, state=nil, endtimegte=nil, endtimelte=nil)
|
2107
2147
|
@InstanceId = instanceid
|
2108
2148
|
@StartTime = starttime
|
2109
2149
|
@EndTime = endtime
|
2110
2150
|
@Offset = offset
|
2111
2151
|
@Limit = limit
|
2152
|
+
@State = state
|
2153
|
+
@EndTimeGte = endtimegte
|
2154
|
+
@EndTimeLte = endtimelte
|
2112
2155
|
end
|
2113
2156
|
|
2114
2157
|
def deserialize(params)
|
@@ -2117,6 +2160,9 @@ module TencentCloud
|
|
2117
2160
|
@EndTime = params['EndTime']
|
2118
2161
|
@Offset = params['Offset']
|
2119
2162
|
@Limit = params['Limit']
|
2163
|
+
@State = params['State']
|
2164
|
+
@EndTimeGte = params['EndTimeGte']
|
2165
|
+
@EndTimeLte = params['EndTimeLte']
|
2120
2166
|
end
|
2121
2167
|
end
|
2122
2168
|
|
@@ -7231,14 +7277,17 @@ module TencentCloud
|
|
7231
7277
|
# @type OpScope: :class:`Tencentcloud::Emr.v20190103.models.OpScope`
|
7232
7278
|
# @param StrategyConfig: 操作策略
|
7233
7279
|
# @type StrategyConfig: :class:`Tencentcloud::Emr.v20190103.models.StrategyConfig`
|
7280
|
+
# @param StopParams: 暂停服务时用的参数
|
7281
|
+
# @type StopParams: :class:`Tencentcloud::Emr.v20190103.models.StopParams`
|
7234
7282
|
|
7235
|
-
attr_accessor :InstanceId, :OpType, :OpScope, :StrategyConfig
|
7283
|
+
attr_accessor :InstanceId, :OpType, :OpScope, :StrategyConfig, :StopParams
|
7236
7284
|
|
7237
|
-
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil)
|
7285
|
+
def initialize(instanceid=nil, optype=nil, opscope=nil, strategyconfig=nil, stopparams=nil)
|
7238
7286
|
@InstanceId = instanceid
|
7239
7287
|
@OpType = optype
|
7240
7288
|
@OpScope = opscope
|
7241
7289
|
@StrategyConfig = strategyconfig
|
7290
|
+
@StopParams = stopparams
|
7242
7291
|
end
|
7243
7292
|
|
7244
7293
|
def deserialize(params)
|
@@ -7252,6 +7301,10 @@ module TencentCloud
|
|
7252
7301
|
@StrategyConfig = StrategyConfig.new
|
7253
7302
|
@StrategyConfig.deserialize(params['StrategyConfig'])
|
7254
7303
|
end
|
7304
|
+
unless params['StopParams'].nil?
|
7305
|
+
@StopParams = StopParams.new
|
7306
|
+
@StopParams.deserialize(params['StopParams'])
|
7307
|
+
end
|
7255
7308
|
end
|
7256
7309
|
end
|
7257
7310
|
|
@@ -7304,6 +7357,27 @@ module TencentCloud
|
|
7304
7357
|
end
|
7305
7358
|
end
|
7306
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
|
+
|
7307
7381
|
# 重启/停止/启动服务/监控的配置
|
7308
7382
|
class StrategyConfig < TencentCloud::Common::AbstractModel
|
7309
7383
|
# @param RollingRestartSwitch: 0:关闭滚动重启
|
@@ -7319,14 +7393,18 @@ module TencentCloud
|
|
7319
7393
|
# @param DealOnFail: 操作失败处理策略,0:失败阻塞, 1:失败自动跳过
|
7320
7394
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7321
7395
|
# @type DealOnFail: Integer
|
7396
|
+
# @param Args: 指令需要指定的参数
|
7397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7398
|
+
# @type Args: Array
|
7322
7399
|
|
7323
|
-
attr_accessor :RollingRestartSwitch, :BatchSize, :TimeWait, :DealOnFail
|
7400
|
+
attr_accessor :RollingRestartSwitch, :BatchSize, :TimeWait, :DealOnFail, :Args
|
7324
7401
|
|
7325
|
-
def initialize(rollingrestartswitch=nil, batchsize=nil, timewait=nil, dealonfail=nil)
|
7402
|
+
def initialize(rollingrestartswitch=nil, batchsize=nil, timewait=nil, dealonfail=nil, args=nil)
|
7326
7403
|
@RollingRestartSwitch = rollingrestartswitch
|
7327
7404
|
@BatchSize = batchsize
|
7328
7405
|
@TimeWait = timewait
|
7329
7406
|
@DealOnFail = dealonfail
|
7407
|
+
@Args = args
|
7330
7408
|
end
|
7331
7409
|
|
7332
7410
|
def deserialize(params)
|
@@ -7334,6 +7412,14 @@ module TencentCloud
|
|
7334
7412
|
@BatchSize = params['BatchSize']
|
7335
7413
|
@TimeWait = params['TimeWait']
|
7336
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
|
7337
7423
|
end
|
7338
7424
|
end
|
7339
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.783
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|