tencentcloud-sdk-tke 3.0.953 → 3.0.954
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/v20220501/models.rb +80 -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: ca9518cc9e2a0dbd4d12a8a6ba2166ef2b81a63e
|
4
|
+
data.tar.gz: 0451a897938fb343d437d89cd5f14dde041814e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c353d61edcdbc6a5f07c1b4e750a1518e479946af93b9d726ca282fc604aab67162fb8fbc749945f156c66c3ba8f83abd33222a2adfc294feb9b450aaef184a6
|
7
|
+
data.tar.gz: 007db134ac1f3282859d475e80c1d5866bf0f5d543f81d2323d1993cf549d6c71e070313455a1ff1a521c726fe720dbb2aef8f11f1c26f5078447ebb522cebc2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.954
|
data/lib/v20220501/models.rb
CHANGED
@@ -944,6 +944,73 @@ module TencentCloud
|
|
944
944
|
end
|
945
945
|
end
|
946
946
|
|
947
|
+
# 机型名称与GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等相关配置信息
|
948
|
+
class GPUConfig < TencentCloud::Common::AbstractModel
|
949
|
+
# @param InstanceType: 机型名称
|
950
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
951
|
+
# @type InstanceType: String
|
952
|
+
# @param GPUParams: GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
|
953
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
954
|
+
# @type GPUParams: :class:`Tencentcloud::Tke.v20220501.models.GPUParams`
|
955
|
+
|
956
|
+
attr_accessor :InstanceType, :GPUParams
|
957
|
+
|
958
|
+
def initialize(instancetype=nil, gpuparams=nil)
|
959
|
+
@InstanceType = instancetype
|
960
|
+
@GPUParams = gpuparams
|
961
|
+
end
|
962
|
+
|
963
|
+
def deserialize(params)
|
964
|
+
@InstanceType = params['InstanceType']
|
965
|
+
unless params['GPUParams'].nil?
|
966
|
+
@GPUParams = GPUParams.new
|
967
|
+
@GPUParams.deserialize(params['GPUParams'])
|
968
|
+
end
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
972
|
+
# GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric
|
973
|
+
class GPUParams < TencentCloud::Common::AbstractModel
|
974
|
+
# @param Driver: GPU驱动版本
|
975
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
976
|
+
# @type Driver: String
|
977
|
+
# @param CUDA: CUDA版本
|
978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
979
|
+
# @type CUDA: String
|
980
|
+
# @param CUDNN: CUDNN版本
|
981
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
982
|
+
# @type CUDNN: String
|
983
|
+
# @param MIGEnable: 是否启用MIG特性
|
984
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
985
|
+
# @type MIGEnable: Boolean
|
986
|
+
# @param Fabric: 是否启用Fabric特性
|
987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
988
|
+
# @type Fabric: Boolean
|
989
|
+
# @param CustomGPUDriver: 自定义驱动下载地址
|
990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
991
|
+
# @type CustomGPUDriver: String
|
992
|
+
|
993
|
+
attr_accessor :Driver, :CUDA, :CUDNN, :MIGEnable, :Fabric, :CustomGPUDriver
|
994
|
+
|
995
|
+
def initialize(driver=nil, cuda=nil, cudnn=nil, migenable=nil, fabric=nil, customgpudriver=nil)
|
996
|
+
@Driver = driver
|
997
|
+
@CUDA = cuda
|
998
|
+
@CUDNN = cudnn
|
999
|
+
@MIGEnable = migenable
|
1000
|
+
@Fabric = fabric
|
1001
|
+
@CustomGPUDriver = customgpudriver
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
def deserialize(params)
|
1005
|
+
@Driver = params['Driver']
|
1006
|
+
@CUDA = params['CUDA']
|
1007
|
+
@CUDNN = params['CUDNN']
|
1008
|
+
@MIGEnable = params['MIGEnable']
|
1009
|
+
@Fabric = params['Fabric']
|
1010
|
+
@CustomGPUDriver = params['CustomGPUDriver']
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
947
1014
|
# 健康检测规则
|
948
1015
|
class HealthCheckPolicy < TencentCloud::Common::AbstractModel
|
949
1016
|
# @param Name: 健康检测策略名称
|
@@ -2499,10 +2566,12 @@ module TencentCloud
|
|
2499
2566
|
# @type DataDisks: Array
|
2500
2567
|
# @param KeyIds: ssh公钥id数组
|
2501
2568
|
# @type KeyIds: Array
|
2569
|
+
# @param GPUConfigs: 节点池 GPU 配置
|
2570
|
+
# @type GPUConfigs: Array
|
2502
2571
|
|
2503
|
-
attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :DataDisks, :KeyIds
|
2572
|
+
attr_accessor :Scaling, :SubnetIds, :SecurityGroupIds, :UpgradeSettings, :AutoRepair, :InstanceChargeType, :InstanceChargePrepaid, :SystemDisk, :Management, :HealthCheckPolicyName, :HostNamePattern, :KubeletArgs, :Lifecycle, :RuntimeRootDir, :EnableAutoscaling, :InstanceTypes, :Replicas, :DataDisks, :KeyIds, :GPUConfigs
|
2504
2573
|
|
2505
|
-
def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, datadisks=nil, keyids=nil)
|
2574
|
+
def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, datadisks=nil, keyids=nil, gpuconfigs=nil)
|
2506
2575
|
@Scaling = scaling
|
2507
2576
|
@SubnetIds = subnetids
|
2508
2577
|
@SecurityGroupIds = securitygroupids
|
@@ -2522,6 +2591,7 @@ module TencentCloud
|
|
2522
2591
|
@Replicas = replicas
|
2523
2592
|
@DataDisks = datadisks
|
2524
2593
|
@KeyIds = keyids
|
2594
|
+
@GPUConfigs = gpuconfigs
|
2525
2595
|
end
|
2526
2596
|
|
2527
2597
|
def deserialize(params)
|
@@ -2569,6 +2639,14 @@ module TencentCloud
|
|
2569
2639
|
end
|
2570
2640
|
end
|
2571
2641
|
@KeyIds = params['KeyIds']
|
2642
|
+
unless params['GPUConfigs'].nil?
|
2643
|
+
@GPUConfigs = []
|
2644
|
+
params['GPUConfigs'].each do |i|
|
2645
|
+
gpuconfig_tmp = GPUConfig.new
|
2646
|
+
gpuconfig_tmp.deserialize(i)
|
2647
|
+
@GPUConfigs << gpuconfig_tmp
|
2648
|
+
end
|
2649
|
+
end
|
2572
2650
|
end
|
2573
2651
|
end
|
2574
2652
|
|
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: 3.0.
|
4
|
+
version: 3.0.954
|
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-12-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|