tencentcloud-sdk-tke 3.0.390 → 3.0.398

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c51593a4c5fc2e300b31dc38eb24f83cb9cf960
4
- data.tar.gz: 45978834457ef5cab448b024815f753b8903d6ef
3
+ metadata.gz: ea52c402a78f441dd5afe96769065683a86d4f25
4
+ data.tar.gz: fcd0fd4bb0dd19a491bd8e707caf3d9dcc2d5202
5
5
  SHA512:
6
- metadata.gz: 6f5a87e94ced8925c22dccfc9f1c2ea5a826bcea8634791098a25ddf21cf241fbde8cfc1c50bc51c7f5c2b4d93fbf3a2c689151e9856a4a46a4a45d75393ca3b
7
- data.tar.gz: 163c77c1675aa800587e7af71d4680d32dcd524b8cdecec43b579987cf5b5263eaba9d04085eee481d56378d88335bfd66023a2ac8805fbd49773972c5742dcd
6
+ metadata.gz: ee67ac2421397b18dd0f1714f138d1382e69569a18085ebf804be80bf8574eaacf8ec965c117f2654650375c9f03c8b52a1e7a8cee8c41fd839c31ee9950a484
7
+ data.tar.gz: bdc8de25c8fb62d98407270e8d7e802a4cd9c4e2d35fe8f0a031a4c0bc9f34168440bf8b915d5497633466807df511412f8b6fdc0de3a8b0fbc6e0737fe54a29
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.398
@@ -1157,7 +1157,7 @@ module TencentCloud
1157
1157
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1158
  end
1159
1159
 
1160
- # 解除2.0实例的集群关联
1160
+ # 解除TMP实例的集群关联
1161
1161
 
1162
1162
  # @param request: Request instance for DeletePrometheusClusterAgent.
1163
1163
  # @type request: :class:`Tencentcloud::tke::V20180525::DeletePrometheusClusterAgentRequest`
@@ -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地址列表
@@ -3817,12 +3862,28 @@ module TencentCloud
3817
3862
 
3818
3863
  # DeletePrometheusClusterAgent请求参数结构体
3819
3864
  class DeletePrometheusClusterAgentRequest < TencentCloud::Common::AbstractModel
3865
+ # @param Agents: agent列表
3866
+ # @type Agents: Array
3867
+ # @param InstanceId: 实例id
3868
+ # @type InstanceId: String
3820
3869
 
3870
+ attr_accessor :Agents, :InstanceId
3821
3871
 
3822
- def initialize()
3872
+ def initialize(agents=nil, instanceid=nil)
3873
+ @Agents = agents
3874
+ @InstanceId = instanceid
3823
3875
  end
3824
3876
 
3825
3877
  def deserialize(params)
3878
+ unless params['Agents'].nil?
3879
+ @Agents = []
3880
+ params['Agents'].each do |i|
3881
+ prometheusagentinfo_tmp = PrometheusAgentInfo.new
3882
+ prometheusagentinfo_tmp.deserialize(i)
3883
+ @Agents << prometheusagentinfo_tmp
3884
+ end
3885
+ end
3886
+ @InstanceId = params['InstanceId']
3826
3887
  end
3827
3888
  end
3828
3889
 
@@ -4551,17 +4612,29 @@ module TencentCloud
4551
4612
  # @param ClusterExternalACL: 集群APIServer的外网访问ACL列表
4552
4613
  # 注意:此字段可能返回 null,表示取不到有效值。
4553
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
4554
4624
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4555
4625
  # @type RequestId: String
4556
4626
 
4557
- attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :RequestId
4627
+ attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :ClusterExternalDomain, :ClusterIntranetDomain, :SecurityGroup, :RequestId
4558
4628
 
4559
- 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)
4560
4630
  @CertificationAuthority = certificationauthority
4561
4631
  @ClusterExternalEndpoint = clusterexternalendpoint
4562
4632
  @ClusterIntranetEndpoint = clusterintranetendpoint
4563
4633
  @ClusterDomain = clusterdomain
4564
4634
  @ClusterExternalACL = clusterexternalacl
4635
+ @ClusterExternalDomain = clusterexternaldomain
4636
+ @ClusterIntranetDomain = clusterintranetdomain
4637
+ @SecurityGroup = securitygroup
4565
4638
  @RequestId = requestid
4566
4639
  end
4567
4640
 
@@ -4571,6 +4644,9 @@ module TencentCloud
4571
4644
  @ClusterIntranetEndpoint = params['ClusterIntranetEndpoint']
4572
4645
  @ClusterDomain = params['ClusterDomain']
4573
4646
  @ClusterExternalACL = params['ClusterExternalACL']
4647
+ @ClusterExternalDomain = params['ClusterExternalDomain']
4648
+ @ClusterIntranetDomain = params['ClusterIntranetDomain']
4649
+ @SecurityGroup = params['SecurityGroup']
4574
4650
  @RequestId = params['RequestId']
4575
4651
  end
4576
4652
  end
@@ -8020,6 +8096,26 @@ module TencentCloud
8020
8096
  end
8021
8097
  end
8022
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
+
8023
8119
  # ECM增强服务
8024
8120
  class ECMEnhancedService < TencentCloud::Common::AbstractModel
8025
8121
  # @param SecurityService: 是否开启云监控服务
@@ -9283,6 +9379,54 @@ module TencentCloud
9283
9379
  end
9284
9380
  end
9285
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
+
9286
9430
  # GetClusterLevelPrice请求参数结构体
9287
9431
  class GetClusterLevelPriceRequest < TencentCloud::Common::AbstractModel
9288
9432
  # @param ClusterLevel: 集群规格,托管集群询价
@@ -9861,6 +10005,9 @@ module TencentCloud
9861
10005
  # @param DesiredPodNumber: 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
9862
10006
  # 注意:此字段可能返回 null,表示取不到有效值。
9863
10007
  # @type DesiredPodNumber: Integer
10008
+ # @param GPUArgs: GPU驱动相关参数
10009
+ # 注意:此字段可能返回 null,表示取不到有效值。
10010
+ # @type GPUArgs: :class:`Tencentcloud::Tke.v20180525.models.GPUArgs`
9864
10011
  # @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
9865
10012
  # 注意:此字段可能返回 null,表示取不到有效值。
9866
10013
  # @type PreStartUserScript: String
@@ -9868,9 +10015,9 @@ module TencentCloud
9868
10015
  # 注意:此字段可能返回 null,表示取不到有效值。
9869
10016
  # @type Taints: Array
9870
10017
 
9871
- 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
9872
10019
 
9873
- 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)
9874
10021
  @MountTarget = mounttarget
9875
10022
  @DockerGraphPath = dockergraphpath
9876
10023
  @UserScript = userscript
@@ -9879,6 +10026,7 @@ module TencentCloud
9879
10026
  @DataDisks = datadisks
9880
10027
  @ExtraArgs = extraargs
9881
10028
  @DesiredPodNumber = desiredpodnumber
10029
+ @GPUArgs = gpuargs
9882
10030
  @PreStartUserScript = prestartuserscript
9883
10031
  @Taints = taints
9884
10032
  end
@@ -9909,6 +10057,10 @@ module TencentCloud
9909
10057
  @ExtraArgs.deserialize(params['ExtraArgs'])
9910
10058
  end
9911
10059
  @DesiredPodNumber = params['DesiredPodNumber']
10060
+ unless params['GPUArgs'].nil?
10061
+ @GPUArgs = GPUArgs.new
10062
+ @GPUArgs.deserialize(params['GPUArgs'])
10063
+ end
9912
10064
  @PreStartUserScript = params['PreStartUserScript']
9913
10065
  unless params['Taints'].nil?
9914
10066
  @Taints = []
@@ -10445,17 +10597,21 @@ module TencentCloud
10445
10597
  # @type ClusterId: String
10446
10598
  # @param SecurityPolicies: 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
10447
10599
  # @type SecurityPolicies: Array
10600
+ # @param SecurityGroup: 修改外网访问安全组
10601
+ # @type SecurityGroup: String
10448
10602
 
10449
- attr_accessor :ClusterId, :SecurityPolicies
10603
+ attr_accessor :ClusterId, :SecurityPolicies, :SecurityGroup
10450
10604
 
10451
- def initialize(clusterid=nil, securitypolicies=nil)
10605
+ def initialize(clusterid=nil, securitypolicies=nil, securitygroup=nil)
10452
10606
  @ClusterId = clusterid
10453
10607
  @SecurityPolicies = securitypolicies
10608
+ @SecurityGroup = securitygroup
10454
10609
  end
10455
10610
 
10456
10611
  def deserialize(params)
10457
10612
  @ClusterId = params['ClusterId']
10458
10613
  @SecurityPolicies = params['SecurityPolicies']
10614
+ @SecurityGroup = params['SecurityGroup']
10459
10615
  end
10460
10616
  end
10461
10617
 
@@ -11325,6 +11481,30 @@ module TencentCloud
11325
11481
  end
11326
11482
  end
11327
11483
 
11484
+ # 托管Prometheus agent信息
11485
+ class PrometheusAgentInfo < TencentCloud::Common::AbstractModel
11486
+ # @param ClusterType: 集群类型
11487
+ # @type ClusterType: String
11488
+ # @param ClusterId: 集群id
11489
+ # @type ClusterId: String
11490
+ # @param Describe: 备注
11491
+ # @type Describe: String
11492
+
11493
+ attr_accessor :ClusterType, :ClusterId, :Describe
11494
+
11495
+ def initialize(clustertype=nil, clusterid=nil, describe=nil)
11496
+ @ClusterType = clustertype
11497
+ @ClusterId = clusterid
11498
+ @Describe = describe
11499
+ end
11500
+
11501
+ def deserialize(params)
11502
+ @ClusterType = params['ClusterType']
11503
+ @ClusterId = params['ClusterId']
11504
+ @Describe = params['Describe']
11505
+ end
11506
+ end
11507
+
11328
11508
  # 托管prometheus agent概览
11329
11509
  class PrometheusAgentOverview < TencentCloud::Common::AbstractModel
11330
11510
  # @param ClusterType: 集群类型
@@ -13260,17 +13440,21 @@ module TencentCloud
13260
13440
  # @type SubnetId: String
13261
13441
  # @param Name: 子网节点名称
13262
13442
  # @type Name: String
13443
+ # @param SecurityGroups: 安全组id
13444
+ # @type SecurityGroups: Array
13263
13445
 
13264
- attr_accessor :SubnetId, :Name
13446
+ attr_accessor :SubnetId, :Name, :SecurityGroups
13265
13447
 
13266
- def initialize(subnetid=nil, name=nil)
13448
+ def initialize(subnetid=nil, name=nil, securitygroups=nil)
13267
13449
  @SubnetId = subnetid
13268
13450
  @Name = name
13451
+ @SecurityGroups = securitygroups
13269
13452
  end
13270
13453
 
13271
13454
  def deserialize(params)
13272
13455
  @SubnetId = params['SubnetId']
13273
13456
  @Name = params['Name']
13457
+ @SecurityGroups = params['SecurityGroups']
13274
13458
  end
13275
13459
  end
13276
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.390
4
+ version: 3.0.398
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-18 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common