tencentcloud-sdk-scf 3.0.615 → 3.0.617
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/v20180416/models.rb +144 -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: fd4add39be4739463691d089dcb69aa012b688b5
|
4
|
+
data.tar.gz: 8c900064c265f4f40abc791d7995da4e66492080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9566f40b67af243f7f5f5050301ab239b8da24061dc70e945610cd666107c823a7a8d6d9dc1e3ee0a33797bb79502ec6b869756f8b1d8aec5e0d6a79132bc86
|
7
|
+
data.tar.gz: 5a993c34dd7c3a03c177c15aa712273bbb218a87130101f5d338b37b8300a70d0ca7e42d70ca391458d43cf81b7f176d0bf72b83dddf9e3aafde07582d8f4aad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.617
|
data/lib/v20180416/models.rb
CHANGED
@@ -627,17 +627,24 @@ module TencentCloud
|
|
627
627
|
# @type Namespace: String
|
628
628
|
# @param Description: 命名空间描述
|
629
629
|
# @type Description: String
|
630
|
+
# @param ResourceEnv: 资源池配置
|
631
|
+
# @type ResourceEnv: :class:`Tencentcloud::Scf.v20180416.models.NamespaceResourceEnv`
|
630
632
|
|
631
|
-
attr_accessor :Namespace, :Description
|
633
|
+
attr_accessor :Namespace, :Description, :ResourceEnv
|
632
634
|
|
633
|
-
def initialize(namespace=nil, description=nil)
|
635
|
+
def initialize(namespace=nil, description=nil, resourceenv=nil)
|
634
636
|
@Namespace = namespace
|
635
637
|
@Description = description
|
638
|
+
@ResourceEnv = resourceenv
|
636
639
|
end
|
637
640
|
|
638
641
|
def deserialize(params)
|
639
642
|
@Namespace = params['Namespace']
|
640
643
|
@Description = params['Description']
|
644
|
+
unless params['ResourceEnv'].nil?
|
645
|
+
@ResourceEnv = NamespaceResourceEnv.new
|
646
|
+
@ResourceEnv.deserialize(params['ResourceEnv'])
|
647
|
+
end
|
641
648
|
end
|
642
649
|
end
|
643
650
|
|
@@ -2392,6 +2399,63 @@ module TencentCloud
|
|
2392
2399
|
end
|
2393
2400
|
end
|
2394
2401
|
|
2402
|
+
# k8s label
|
2403
|
+
class K8SLabel < TencentCloud::Common::AbstractModel
|
2404
|
+
# @param Key: label的名称
|
2405
|
+
# @type Key: String
|
2406
|
+
# @param Value: label的值
|
2407
|
+
# @type Value: String
|
2408
|
+
|
2409
|
+
attr_accessor :Key, :Value
|
2410
|
+
|
2411
|
+
def initialize(key=nil, value=nil)
|
2412
|
+
@Key = key
|
2413
|
+
@Value = value
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
def deserialize(params)
|
2417
|
+
@Key = params['Key']
|
2418
|
+
@Value = params['Value']
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
# Kubernetes污点容忍,使用时请注意您的Kubernetes版本所支持的字段情况。
|
2423
|
+
# 可参考 https://kubernetes.io/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration/
|
2424
|
+
class K8SToleration < TencentCloud::Common::AbstractModel
|
2425
|
+
# @param Key: 匹配的污点名
|
2426
|
+
# @type Key: String
|
2427
|
+
# @param Operator: 匹配方式,默认值为: Equal
|
2428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2429
|
+
# @type Operator: String
|
2430
|
+
# @param Effect: 执行策略
|
2431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2432
|
+
# @type Effect: String
|
2433
|
+
# @param Value: 匹配的污点值,当Operator为Equal时必填
|
2434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2435
|
+
# @type Value: String
|
2436
|
+
# @param TolerationSeconds: 当污点不被容忍时,Pod还能在节点上运行多久
|
2437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2438
|
+
# @type TolerationSeconds: Integer
|
2439
|
+
|
2440
|
+
attr_accessor :Key, :Operator, :Effect, :Value, :TolerationSeconds
|
2441
|
+
|
2442
|
+
def initialize(key=nil, operator=nil, effect=nil, value=nil, tolerationseconds=nil)
|
2443
|
+
@Key = key
|
2444
|
+
@Operator = operator
|
2445
|
+
@Effect = effect
|
2446
|
+
@Value = value
|
2447
|
+
@TolerationSeconds = tolerationseconds
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
def deserialize(params)
|
2451
|
+
@Key = params['Key']
|
2452
|
+
@Operator = params['Operator']
|
2453
|
+
@Effect = params['Effect']
|
2454
|
+
@Value = params['Value']
|
2455
|
+
@TolerationSeconds = params['TolerationSeconds']
|
2456
|
+
end
|
2457
|
+
end
|
2458
|
+
|
2395
2459
|
# 层版本信息
|
2396
2460
|
class LayerVersionInfo < TencentCloud::Common::AbstractModel
|
2397
2461
|
# @param CompatibleRuntimes: 版本适用的运行时
|
@@ -3200,6 +3264,84 @@ module TencentCloud
|
|
3200
3264
|
end
|
3201
3265
|
end
|
3202
3266
|
|
3267
|
+
# 命名空间资源池配置
|
3268
|
+
class NamespaceResourceEnv < TencentCloud::Common::AbstractModel
|
3269
|
+
# @param TKE: 基于TKE集群的资源池
|
3270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3271
|
+
# @type TKE: :class:`Tencentcloud::Scf.v20180416.models.NamespaceResourceEnvTKE`
|
3272
|
+
|
3273
|
+
attr_accessor :TKE
|
3274
|
+
|
3275
|
+
def initialize(tke=nil)
|
3276
|
+
@TKE = tke
|
3277
|
+
end
|
3278
|
+
|
3279
|
+
def deserialize(params)
|
3280
|
+
unless params['TKE'].nil?
|
3281
|
+
@TKE = NamespaceResourceEnvTKE.new
|
3282
|
+
@TKE.deserialize(params['TKE'])
|
3283
|
+
end
|
3284
|
+
end
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
# 基于TKE的资源池选项
|
3288
|
+
class NamespaceResourceEnvTKE < TencentCloud::Common::AbstractModel
|
3289
|
+
# @param ClusterID: 集群ID
|
3290
|
+
# @type ClusterID: String
|
3291
|
+
# @param SubnetID: 子网ID
|
3292
|
+
# @type SubnetID: String
|
3293
|
+
# @param Namespace: 命名空间
|
3294
|
+
# @type Namespace: String
|
3295
|
+
# @param DataPath: 数据存储地址
|
3296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3297
|
+
# @type DataPath: String
|
3298
|
+
# @param NodeSelector: node选择器
|
3299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3300
|
+
# @type NodeSelector: Array
|
3301
|
+
# @param Tolerations: 污点容忍
|
3302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3303
|
+
# @type Tolerations: Array
|
3304
|
+
# @param Port: scf组件将占用的节点端口起始号
|
3305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3306
|
+
# @type Port: Integer
|
3307
|
+
|
3308
|
+
attr_accessor :ClusterID, :SubnetID, :Namespace, :DataPath, :NodeSelector, :Tolerations, :Port
|
3309
|
+
|
3310
|
+
def initialize(clusterid=nil, subnetid=nil, namespace=nil, datapath=nil, nodeselector=nil, tolerations=nil, port=nil)
|
3311
|
+
@ClusterID = clusterid
|
3312
|
+
@SubnetID = subnetid
|
3313
|
+
@Namespace = namespace
|
3314
|
+
@DataPath = datapath
|
3315
|
+
@NodeSelector = nodeselector
|
3316
|
+
@Tolerations = tolerations
|
3317
|
+
@Port = port
|
3318
|
+
end
|
3319
|
+
|
3320
|
+
def deserialize(params)
|
3321
|
+
@ClusterID = params['ClusterID']
|
3322
|
+
@SubnetID = params['SubnetID']
|
3323
|
+
@Namespace = params['Namespace']
|
3324
|
+
@DataPath = params['DataPath']
|
3325
|
+
unless params['NodeSelector'].nil?
|
3326
|
+
@NodeSelector = []
|
3327
|
+
params['NodeSelector'].each do |i|
|
3328
|
+
k8slabel_tmp = K8SLabel.new
|
3329
|
+
k8slabel_tmp.deserialize(i)
|
3330
|
+
@NodeSelector << k8slabel_tmp
|
3331
|
+
end
|
3332
|
+
end
|
3333
|
+
unless params['Tolerations'].nil?
|
3334
|
+
@Tolerations = []
|
3335
|
+
params['Tolerations'].each do |i|
|
3336
|
+
k8stoleration_tmp = K8SToleration.new
|
3337
|
+
k8stoleration_tmp.deserialize(i)
|
3338
|
+
@Tolerations << k8stoleration_tmp
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
@Port = params['Port']
|
3342
|
+
end
|
3343
|
+
end
|
3344
|
+
|
3203
3345
|
# 名称空间已使用信息
|
3204
3346
|
class NamespaceUsage < TencentCloud::Common::AbstractModel
|
3205
3347
|
# @param Functions: 函数数组
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-scf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.617
|
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-07-
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|