tencentcloud-sdk-tke 1.0.276 → 1.0.277
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/v20180525/models.rb +10 -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: fea4b811abc37468f6aa2fa44e38b9e8a3e57586
|
4
|
+
data.tar.gz: e6eaa213746716f46ff4c29408d29ac942ff5660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7569e40e647fa1e431af8ffd24b306b6cb452362d95dad6af2a17e0b6aa40f2349319f90b245fdf8d198421b36e9f8622e94beb3f537f94300377b732646a047
|
7
|
+
data.tar.gz: d346badb405f09066337ed9a38d42ba0e9e0901512c9c6425f3ba5e23756583edcf244beb94be73d0c62b25009aa1df70f7d57a90a9626e0f46f9af5cf785230
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.277
|
data/lib/v20180525/models.rb
CHANGED
@@ -1212,10 +1212,13 @@ module TencentCloud
|
|
1212
1212
|
# @param GpuLimit: Gpu限制
|
1213
1213
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1214
1214
|
# @type GpuLimit: Integer
|
1215
|
+
# @param SecurityContext: 容器的安全上下文
|
1216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1217
|
+
# @type SecurityContext: :class:`Tencentcloud::Tke.v20180525.models.SecurityContext`
|
1215
1218
|
|
1216
|
-
attr_accessor :Image, :Name, :Commands, :Args, :EnvironmentVars, :Cpu, :Memory, :VolumeMounts, :CurrentState, :RestartCount, :WorkingDir, :LivenessProbe, :ReadinessProbe, :GpuLimit
|
1219
|
+
attr_accessor :Image, :Name, :Commands, :Args, :EnvironmentVars, :Cpu, :Memory, :VolumeMounts, :CurrentState, :RestartCount, :WorkingDir, :LivenessProbe, :ReadinessProbe, :GpuLimit, :SecurityContext
|
1217
1220
|
|
1218
|
-
def initialize(image=nil, name=nil, commands=nil, args=nil, environmentvars=nil, cpu=nil, memory=nil, volumemounts=nil, currentstate=nil, restartcount=nil, workingdir=nil, livenessprobe=nil, readinessprobe=nil, gpulimit=nil)
|
1221
|
+
def initialize(image=nil, name=nil, commands=nil, args=nil, environmentvars=nil, cpu=nil, memory=nil, volumemounts=nil, currentstate=nil, restartcount=nil, workingdir=nil, livenessprobe=nil, readinessprobe=nil, gpulimit=nil, securitycontext=nil)
|
1219
1222
|
@Image = image
|
1220
1223
|
@Name = name
|
1221
1224
|
@Commands = commands
|
@@ -1230,6 +1233,7 @@ module TencentCloud
|
|
1230
1233
|
@LivenessProbe = livenessprobe
|
1231
1234
|
@ReadinessProbe = readinessprobe
|
1232
1235
|
@GpuLimit = gpulimit
|
1236
|
+
@SecurityContext = securitycontext
|
1233
1237
|
end
|
1234
1238
|
|
1235
1239
|
def deserialize(params)
|
@@ -1270,6 +1274,10 @@ module TencentCloud
|
|
1270
1274
|
@ReadinessProbe.deserialize(params['ReadinessProbe'])
|
1271
1275
|
end
|
1272
1276
|
@GpuLimit = params['GpuLimit']
|
1277
|
+
unless params['SecurityContext'].nil?
|
1278
|
+
@SecurityContext = SecurityContext.new
|
1279
|
+
@SecurityContext.deserialize(params['SecurityContext'])
|
1280
|
+
end
|
1273
1281
|
end
|
1274
1282
|
end
|
1275
1283
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.277
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|