tencentcloud-sdk-tke 3.0.396 → 3.0.397
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 +152 -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: 75ad3a689736169226f8bac678f75b4354b06ab7
|
4
|
+
data.tar.gz: 6ce44f245ff840e424d23fb26aaab8b386a6f51d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c17cae185784b2874714a8e0328fb5ac80f096e28062d17f5bb1e6dd831d7bdbf711920f5eebb9ee287416f92b556e2afd7452c36a6bf238945e1e374dbe72f
|
7
|
+
data.tar.gz: b12b485b66d9b1dbd1b1add0b7c6fc40fdaab0fe023ba41477096c60cb27a2c06a741ecdc0363c4de085dc718a1599679018aa57dccbdcc46738e97e6767d8ae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.397
|
data/lib/v20180525/models.rb
CHANGED
@@ -371,6 +371,34 @@ module TencentCloud
|
|
371
371
|
end
|
372
372
|
end
|
373
373
|
|
374
|
+
# cuDNN的版本信息
|
375
|
+
class CUDNN < TencentCloud::Common::AbstractModel
|
376
|
+
# @param Version: cuDNN的版本
|
377
|
+
# @type Version: String
|
378
|
+
# @param Name: cuDNN的名字
|
379
|
+
# @type Name: String
|
380
|
+
# @param DocName: cuDNN的Doc名字
|
381
|
+
# @type DocName: String
|
382
|
+
# @param DevName: cuDNN的Dev名字
|
383
|
+
# @type DevName: String
|
384
|
+
|
385
|
+
attr_accessor :Version, :Name, :DocName, :DevName
|
386
|
+
|
387
|
+
def initialize(version=nil, name=nil, docname=nil, devname=nil)
|
388
|
+
@Version = version
|
389
|
+
@Name = name
|
390
|
+
@DocName = docname
|
391
|
+
@DevName = devname
|
392
|
+
end
|
393
|
+
|
394
|
+
def deserialize(params)
|
395
|
+
@Version = params['Version']
|
396
|
+
@Name = params['Name']
|
397
|
+
@DocName = params['DocName']
|
398
|
+
@DevName = params['DevName']
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
374
402
|
# cloudrun安全特性能力
|
375
403
|
class Capabilities < TencentCloud::Common::AbstractModel
|
376
404
|
# @param Add: 启用安全能力项列表
|
@@ -3107,6 +3135,23 @@ module TencentCloud
|
|
3107
3135
|
end
|
3108
3136
|
end
|
3109
3137
|
|
3138
|
+
# 自定义驱动信息
|
3139
|
+
class CustomDriver < TencentCloud::Common::AbstractModel
|
3140
|
+
# @param Address: 自定义GPU驱动地址链接
|
3141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3142
|
+
# @type Address: String
|
3143
|
+
|
3144
|
+
attr_accessor :Address
|
3145
|
+
|
3146
|
+
def initialize(address=nil)
|
3147
|
+
@Address = address
|
3148
|
+
end
|
3149
|
+
|
3150
|
+
def deserialize(params)
|
3151
|
+
@Address = params['Address']
|
3152
|
+
end
|
3153
|
+
end
|
3154
|
+
|
3110
3155
|
# 自定义DNS配置
|
3111
3156
|
class DNSConfig < TencentCloud::Common::AbstractModel
|
3112
3157
|
# @param Nameservers: DNS 服务器IP地址列表
|
@@ -4567,17 +4612,29 @@ module TencentCloud
|
|
4567
4612
|
# @param ClusterExternalACL: 集群APIServer的外网访问ACL列表
|
4568
4613
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4569
4614
|
# @type ClusterExternalACL: Array
|
4615
|
+
# @param ClusterExternalDomain: 外网域名
|
4616
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4617
|
+
# @type ClusterExternalDomain: String
|
4618
|
+
# @param ClusterIntranetDomain: 内网域名
|
4619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4620
|
+
# @type ClusterIntranetDomain: String
|
4621
|
+
# @param SecurityGroup: 外网安全组
|
4622
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4623
|
+
# @type SecurityGroup: String
|
4570
4624
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4571
4625
|
# @type RequestId: String
|
4572
4626
|
|
4573
|
-
attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :RequestId
|
4627
|
+
attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :ClusterExternalDomain, :ClusterIntranetDomain, :SecurityGroup, :RequestId
|
4574
4628
|
|
4575
|
-
def initialize(certificationauthority=nil, clusterexternalendpoint=nil, clusterintranetendpoint=nil, clusterdomain=nil, clusterexternalacl=nil, requestid=nil)
|
4629
|
+
def initialize(certificationauthority=nil, clusterexternalendpoint=nil, clusterintranetendpoint=nil, clusterdomain=nil, clusterexternalacl=nil, clusterexternaldomain=nil, clusterintranetdomain=nil, securitygroup=nil, requestid=nil)
|
4576
4630
|
@CertificationAuthority = certificationauthority
|
4577
4631
|
@ClusterExternalEndpoint = clusterexternalendpoint
|
4578
4632
|
@ClusterIntranetEndpoint = clusterintranetendpoint
|
4579
4633
|
@ClusterDomain = clusterdomain
|
4580
4634
|
@ClusterExternalACL = clusterexternalacl
|
4635
|
+
@ClusterExternalDomain = clusterexternaldomain
|
4636
|
+
@ClusterIntranetDomain = clusterintranetdomain
|
4637
|
+
@SecurityGroup = securitygroup
|
4581
4638
|
@RequestId = requestid
|
4582
4639
|
end
|
4583
4640
|
|
@@ -4587,6 +4644,9 @@ module TencentCloud
|
|
4587
4644
|
@ClusterIntranetEndpoint = params['ClusterIntranetEndpoint']
|
4588
4645
|
@ClusterDomain = params['ClusterDomain']
|
4589
4646
|
@ClusterExternalACL = params['ClusterExternalACL']
|
4647
|
+
@ClusterExternalDomain = params['ClusterExternalDomain']
|
4648
|
+
@ClusterIntranetDomain = params['ClusterIntranetDomain']
|
4649
|
+
@SecurityGroup = params['SecurityGroup']
|
4590
4650
|
@RequestId = params['RequestId']
|
4591
4651
|
end
|
4592
4652
|
end
|
@@ -8036,6 +8096,26 @@ module TencentCloud
|
|
8036
8096
|
end
|
8037
8097
|
end
|
8038
8098
|
|
8099
|
+
# GPU驱动和CUDA的版本信息
|
8100
|
+
class DriverVersion < TencentCloud::Common::AbstractModel
|
8101
|
+
# @param Version: GPU驱动或者CUDA的版本
|
8102
|
+
# @type Version: String
|
8103
|
+
# @param Name: GPU驱动或者CUDA的名字
|
8104
|
+
# @type Name: String
|
8105
|
+
|
8106
|
+
attr_accessor :Version, :Name
|
8107
|
+
|
8108
|
+
def initialize(version=nil, name=nil)
|
8109
|
+
@Version = version
|
8110
|
+
@Name = name
|
8111
|
+
end
|
8112
|
+
|
8113
|
+
def deserialize(params)
|
8114
|
+
@Version = params['Version']
|
8115
|
+
@Name = params['Name']
|
8116
|
+
end
|
8117
|
+
end
|
8118
|
+
|
8039
8119
|
# ECM增强服务
|
8040
8120
|
class ECMEnhancedService < TencentCloud::Common::AbstractModel
|
8041
8121
|
# @param SecurityService: 是否开启云监控服务
|
@@ -9299,6 +9379,54 @@ module TencentCloud
|
|
9299
9379
|
end
|
9300
9380
|
end
|
9301
9381
|
|
9382
|
+
# GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本以及是否开启MIG
|
9383
|
+
class GPUArgs < TencentCloud::Common::AbstractModel
|
9384
|
+
# @param MIGEnable: 是否启用MIG特性
|
9385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9386
|
+
# @type MIGEnable: Boolean
|
9387
|
+
# @param Driver: GPU驱动版本信息
|
9388
|
+
# @type Driver: :class:`Tencentcloud::Tke.v20180525.models.DriverVersion`
|
9389
|
+
# @param CUDA: CUDA版本信息
|
9390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9391
|
+
# @type CUDA: :class:`Tencentcloud::Tke.v20180525.models.DriverVersion`
|
9392
|
+
# @param CUDNN: cuDNN版本信息
|
9393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9394
|
+
# @type CUDNN: :class:`Tencentcloud::Tke.v20180525.models.CUDNN`
|
9395
|
+
# @param CustomDriver: 自定义GPU驱动信息
|
9396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9397
|
+
# @type CustomDriver: :class:`Tencentcloud::Tke.v20180525.models.CustomDriver`
|
9398
|
+
|
9399
|
+
attr_accessor :MIGEnable, :Driver, :CUDA, :CUDNN, :CustomDriver
|
9400
|
+
|
9401
|
+
def initialize(migenable=nil, driver=nil, cuda=nil, cudnn=nil, customdriver=nil)
|
9402
|
+
@MIGEnable = migenable
|
9403
|
+
@Driver = driver
|
9404
|
+
@CUDA = cuda
|
9405
|
+
@CUDNN = cudnn
|
9406
|
+
@CustomDriver = customdriver
|
9407
|
+
end
|
9408
|
+
|
9409
|
+
def deserialize(params)
|
9410
|
+
@MIGEnable = params['MIGEnable']
|
9411
|
+
unless params['Driver'].nil?
|
9412
|
+
@Driver = DriverVersion.new
|
9413
|
+
@Driver.deserialize(params['Driver'])
|
9414
|
+
end
|
9415
|
+
unless params['CUDA'].nil?
|
9416
|
+
@CUDA = DriverVersion.new
|
9417
|
+
@CUDA.deserialize(params['CUDA'])
|
9418
|
+
end
|
9419
|
+
unless params['CUDNN'].nil?
|
9420
|
+
@CUDNN = CUDNN.new
|
9421
|
+
@CUDNN.deserialize(params['CUDNN'])
|
9422
|
+
end
|
9423
|
+
unless params['CustomDriver'].nil?
|
9424
|
+
@CustomDriver = CustomDriver.new
|
9425
|
+
@CustomDriver.deserialize(params['CustomDriver'])
|
9426
|
+
end
|
9427
|
+
end
|
9428
|
+
end
|
9429
|
+
|
9302
9430
|
# GetClusterLevelPrice请求参数结构体
|
9303
9431
|
class GetClusterLevelPriceRequest < TencentCloud::Common::AbstractModel
|
9304
9432
|
# @param ClusterLevel: 集群规格,托管集群询价
|
@@ -9877,6 +10005,9 @@ module TencentCloud
|
|
9877
10005
|
# @param DesiredPodNumber: 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
|
9878
10006
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9879
10007
|
# @type DesiredPodNumber: Integer
|
10008
|
+
# @param GPUArgs: GPU驱动相关参数
|
10009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10010
|
+
# @type GPUArgs: :class:`Tencentcloud::Tke.v20180525.models.GPUArgs`
|
9880
10011
|
# @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
|
9881
10012
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9882
10013
|
# @type PreStartUserScript: String
|
@@ -9884,9 +10015,9 @@ module TencentCloud
|
|
9884
10015
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9885
10016
|
# @type Taints: Array
|
9886
10017
|
|
9887
|
-
attr_accessor :MountTarget, :DockerGraphPath, :UserScript, :Unschedulable, :Labels, :DataDisks, :ExtraArgs, :DesiredPodNumber, :PreStartUserScript, :Taints
|
10018
|
+
attr_accessor :MountTarget, :DockerGraphPath, :UserScript, :Unschedulable, :Labels, :DataDisks, :ExtraArgs, :DesiredPodNumber, :GPUArgs, :PreStartUserScript, :Taints
|
9888
10019
|
|
9889
|
-
def initialize(mounttarget=nil, dockergraphpath=nil, userscript=nil, unschedulable=nil, labels=nil, datadisks=nil, extraargs=nil, desiredpodnumber=nil, prestartuserscript=nil, taints=nil)
|
10020
|
+
def initialize(mounttarget=nil, dockergraphpath=nil, userscript=nil, unschedulable=nil, labels=nil, datadisks=nil, extraargs=nil, desiredpodnumber=nil, gpuargs=nil, prestartuserscript=nil, taints=nil)
|
9890
10021
|
@MountTarget = mounttarget
|
9891
10022
|
@DockerGraphPath = dockergraphpath
|
9892
10023
|
@UserScript = userscript
|
@@ -9895,6 +10026,7 @@ module TencentCloud
|
|
9895
10026
|
@DataDisks = datadisks
|
9896
10027
|
@ExtraArgs = extraargs
|
9897
10028
|
@DesiredPodNumber = desiredpodnumber
|
10029
|
+
@GPUArgs = gpuargs
|
9898
10030
|
@PreStartUserScript = prestartuserscript
|
9899
10031
|
@Taints = taints
|
9900
10032
|
end
|
@@ -9925,6 +10057,10 @@ module TencentCloud
|
|
9925
10057
|
@ExtraArgs.deserialize(params['ExtraArgs'])
|
9926
10058
|
end
|
9927
10059
|
@DesiredPodNumber = params['DesiredPodNumber']
|
10060
|
+
unless params['GPUArgs'].nil?
|
10061
|
+
@GPUArgs = GPUArgs.new
|
10062
|
+
@GPUArgs.deserialize(params['GPUArgs'])
|
10063
|
+
end
|
9928
10064
|
@PreStartUserScript = params['PreStartUserScript']
|
9929
10065
|
unless params['Taints'].nil?
|
9930
10066
|
@Taints = []
|
@@ -10461,17 +10597,21 @@ module TencentCloud
|
|
10461
10597
|
# @type ClusterId: String
|
10462
10598
|
# @param SecurityPolicies: 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
|
10463
10599
|
# @type SecurityPolicies: Array
|
10600
|
+
# @param SecurityGroup: 修改外网访问安全组
|
10601
|
+
# @type SecurityGroup: String
|
10464
10602
|
|
10465
|
-
attr_accessor :ClusterId, :SecurityPolicies
|
10603
|
+
attr_accessor :ClusterId, :SecurityPolicies, :SecurityGroup
|
10466
10604
|
|
10467
|
-
def initialize(clusterid=nil, securitypolicies=nil)
|
10605
|
+
def initialize(clusterid=nil, securitypolicies=nil, securitygroup=nil)
|
10468
10606
|
@ClusterId = clusterid
|
10469
10607
|
@SecurityPolicies = securitypolicies
|
10608
|
+
@SecurityGroup = securitygroup
|
10470
10609
|
end
|
10471
10610
|
|
10472
10611
|
def deserialize(params)
|
10473
10612
|
@ClusterId = params['ClusterId']
|
10474
10613
|
@SecurityPolicies = params['SecurityPolicies']
|
10614
|
+
@SecurityGroup = params['SecurityGroup']
|
10475
10615
|
end
|
10476
10616
|
end
|
10477
10617
|
|
@@ -13300,17 +13440,21 @@ module TencentCloud
|
|
13300
13440
|
# @type SubnetId: String
|
13301
13441
|
# @param Name: 子网节点名称
|
13302
13442
|
# @type Name: String
|
13443
|
+
# @param SecurityGroups: 安全组id
|
13444
|
+
# @type SecurityGroups: Array
|
13303
13445
|
|
13304
|
-
attr_accessor :SubnetId, :Name
|
13446
|
+
attr_accessor :SubnetId, :Name, :SecurityGroups
|
13305
13447
|
|
13306
|
-
def initialize(subnetid=nil, name=nil)
|
13448
|
+
def initialize(subnetid=nil, name=nil, securitygroups=nil)
|
13307
13449
|
@SubnetId = subnetid
|
13308
13450
|
@Name = name
|
13451
|
+
@SecurityGroups = securitygroups
|
13309
13452
|
end
|
13310
13453
|
|
13311
13454
|
def deserialize(params)
|
13312
13455
|
@SubnetId = params['SubnetId']
|
13313
13456
|
@Name = params['Name']
|
13457
|
+
@SecurityGroups = params['SecurityGroups']
|
13314
13458
|
end
|
13315
13459
|
end
|
13316
13460
|
|
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.397
|
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-08-
|
11
|
+
date: 2022-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|