tencentcloud-sdk-batch 3.0.643 → 3.0.644
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/v20170312/models.rb +31 -2
- 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: c3d0500f5372c4b55abcb796af78e03a032979b1
|
4
|
+
data.tar.gz: 002c10ee6db30a3f67608399bdfce03b139ba4bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d77f9c2cff61a0ff2e4c3702cd1d0653c7a8d596e5bf05eb14fdd0e02c012fb177a361fd9ee5e83bdf374b12052f585e6f2040cd9c01937ec47b4dd7e2b7f4e4
|
7
|
+
data.tar.gz: 14d2d8795c5c9d13ac521c1bb75e1ae81c95037c42e5af338f73cc8bd65747f1cf165f6468b7857d2d6d7be4bc080082b343be08b4d4882e17069998976a9fa0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.644
|
data/lib/v20170312/models.rb
CHANGED
@@ -150,14 +150,18 @@ module TencentCloud
|
|
150
150
|
# @param Docker: 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。
|
151
151
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
152
152
|
# @type Docker: :class:`Tencentcloud::Batch.v20170312.models.Docker`
|
153
|
+
# @param Commands: 任务执行命令信息。与Command不能同时指定。
|
154
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
155
|
+
# @type Commands: Array
|
153
156
|
|
154
|
-
attr_accessor :DeliveryForm, :Command, :PackagePath, :Docker
|
157
|
+
attr_accessor :DeliveryForm, :Command, :PackagePath, :Docker, :Commands
|
155
158
|
|
156
|
-
def initialize(deliveryform=nil, command=nil, packagepath=nil, docker=nil)
|
159
|
+
def initialize(deliveryform=nil, command=nil, packagepath=nil, docker=nil, commands=nil)
|
157
160
|
@DeliveryForm = deliveryform
|
158
161
|
@Command = command
|
159
162
|
@PackagePath = packagepath
|
160
163
|
@Docker = docker
|
164
|
+
@Commands = commands
|
161
165
|
end
|
162
166
|
|
163
167
|
def deserialize(params)
|
@@ -168,6 +172,14 @@ module TencentCloud
|
|
168
172
|
@Docker = Docker.new
|
169
173
|
@Docker.deserialize(params['Docker'])
|
170
174
|
end
|
175
|
+
unless params['Commands'].nil?
|
176
|
+
@Commands = []
|
177
|
+
params['Commands'].each do |i|
|
178
|
+
commandline_tmp = CommandLine.new
|
179
|
+
commandline_tmp.deserialize(i)
|
180
|
+
@Commands << commandline_tmp
|
181
|
+
end
|
182
|
+
end
|
171
183
|
end
|
172
184
|
end
|
173
185
|
|
@@ -238,6 +250,23 @@ module TencentCloud
|
|
238
250
|
end
|
239
251
|
end
|
240
252
|
|
253
|
+
# 任务执行信息描述。
|
254
|
+
class CommandLine < TencentCloud::Common::AbstractModel
|
255
|
+
# @param Command: 任务执行命令。
|
256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
257
|
+
# @type Command: String
|
258
|
+
|
259
|
+
attr_accessor :Command
|
260
|
+
|
261
|
+
def initialize(command=nil)
|
262
|
+
@Command = command
|
263
|
+
end
|
264
|
+
|
265
|
+
def deserialize(params)
|
266
|
+
@Command = params['Command']
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
241
270
|
# 计算环境创建信息。
|
242
271
|
class ComputeEnvCreateInfo < TencentCloud::Common::AbstractModel
|
243
272
|
# @param EnvId: 计算环境 ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.644
|
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-08-
|
11
|
+
date: 2023-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|