tencentcloud-sdk-tke 3.0.512 → 3.0.513
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/client.rb +1 -1
- data/lib/v20180525/models.rb +78 -36
- 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: ed7648b916432fc773dc7e127294780c0a616737
|
4
|
+
data.tar.gz: 74516d82ea925637b21ff5f39199c908d12abf24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cb2973625deba7c62748a16d831abb0ab3de7f04c74d1e88dbc36b48b5d5d70f559862baf95a715c50099f3db00b6c5df43714db29e17c7fbccf6f7f4fac716
|
7
|
+
data.tar.gz: f27728d7bcacc0d39620a9387c6ecca5e74d51410e087a360c91153a2237edc11ea569b54943df7e72f9a2b7a993ff9ec424575b0c5b16c4bdd9b75089f4ed1b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.513
|
data/lib/v20180525/client.rb
CHANGED
@@ -1709,7 +1709,7 @@ module TencentCloud
|
|
1709
1709
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
1710
|
end
|
1711
1711
|
|
1712
|
-
#
|
1712
|
+
# 查询集群下节点实例信息
|
1713
1713
|
|
1714
1714
|
# @param request: Request instance for DescribeClusterInstances.
|
1715
1715
|
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterInstancesRequest`
|
data/lib/v20180525/models.rb
CHANGED
@@ -597,16 +597,20 @@ module TencentCloud
|
|
597
597
|
# @param Total: 总数
|
598
598
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
599
599
|
# @type Total: Integer
|
600
|
+
# @param UnavailableVersionReason: 不可升级原因
|
601
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
602
|
+
# @type UnavailableVersionReason: Array
|
600
603
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
601
604
|
# @type RequestId: String
|
602
605
|
|
603
|
-
attr_accessor :ClusterVersion, :LatestVersion, :UpgradeAbleInstances, :Total, :RequestId
|
606
|
+
attr_accessor :ClusterVersion, :LatestVersion, :UpgradeAbleInstances, :Total, :UnavailableVersionReason, :RequestId
|
604
607
|
|
605
|
-
def initialize(clusterversion=nil, latestversion=nil, upgradeableinstances=nil, total=nil, requestid=nil)
|
608
|
+
def initialize(clusterversion=nil, latestversion=nil, upgradeableinstances=nil, total=nil, unavailableversionreason=nil, requestid=nil)
|
606
609
|
@ClusterVersion = clusterversion
|
607
610
|
@LatestVersion = latestversion
|
608
611
|
@UpgradeAbleInstances = upgradeableinstances
|
609
612
|
@Total = total
|
613
|
+
@UnavailableVersionReason = unavailableversionreason
|
610
614
|
@RequestId = requestid
|
611
615
|
end
|
612
616
|
|
@@ -622,6 +626,14 @@ module TencentCloud
|
|
622
626
|
end
|
623
627
|
end
|
624
628
|
@Total = params['Total']
|
629
|
+
unless params['UnavailableVersionReason'].nil?
|
630
|
+
@UnavailableVersionReason = []
|
631
|
+
params['UnavailableVersionReason'].each do |i|
|
632
|
+
unavailablereason_tmp = UnavailableReason.new
|
633
|
+
unavailablereason_tmp.deserialize(i)
|
634
|
+
@UnavailableVersionReason << unavailablereason_tmp
|
635
|
+
end
|
636
|
+
end
|
625
637
|
@RequestId = params['RequestId']
|
626
638
|
end
|
627
639
|
end
|
@@ -10872,6 +10884,18 @@ module TencentCloud
|
|
10872
10884
|
|
10873
10885
|
# 描述了k8s集群相关配置与信息。
|
10874
10886
|
class InstanceAdvancedSettings < TencentCloud::Common::AbstractModel
|
10887
|
+
# @param DesiredPodNumber: 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
|
10888
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10889
|
+
# @type DesiredPodNumber: Integer
|
10890
|
+
# @param GPUArgs: GPU驱动相关参数
|
10891
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10892
|
+
# @type GPUArgs: :class:`Tencentcloud::Tke.v20180525.models.GPUArgs`
|
10893
|
+
# @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
|
10894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10895
|
+
# @type PreStartUserScript: String
|
10896
|
+
# @param Taints: 节点污点
|
10897
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10898
|
+
# @type Taints: Array
|
10875
10899
|
# @param MountTarget: 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
10876
10900
|
# 注意,注意,多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
10877
10901
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -10893,22 +10917,14 @@ module TencentCloud
|
|
10893
10917
|
# @param ExtraArgs: 节点相关的自定义参数信息
|
10894
10918
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10895
10919
|
# @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.InstanceExtraArgs`
|
10896
|
-
# @param DesiredPodNumber: 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
|
10897
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10898
|
-
# @type DesiredPodNumber: Integer
|
10899
|
-
# @param GPUArgs: GPU驱动相关参数
|
10900
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10901
|
-
# @type GPUArgs: :class:`Tencentcloud::Tke.v20180525.models.GPUArgs`
|
10902
|
-
# @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
|
10903
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10904
|
-
# @type PreStartUserScript: String
|
10905
|
-
# @param Taints: 节点污点
|
10906
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10907
|
-
# @type Taints: Array
|
10908
10920
|
|
10909
|
-
attr_accessor :
|
10921
|
+
attr_accessor :DesiredPodNumber, :GPUArgs, :PreStartUserScript, :Taints, :MountTarget, :DockerGraphPath, :UserScript, :Unschedulable, :Labels, :DataDisks, :ExtraArgs
|
10910
10922
|
|
10911
|
-
def initialize(
|
10923
|
+
def initialize(desiredpodnumber=nil, gpuargs=nil, prestartuserscript=nil, taints=nil, mounttarget=nil, dockergraphpath=nil, userscript=nil, unschedulable=nil, labels=nil, datadisks=nil, extraargs=nil)
|
10924
|
+
@DesiredPodNumber = desiredpodnumber
|
10925
|
+
@GPUArgs = gpuargs
|
10926
|
+
@PreStartUserScript = prestartuserscript
|
10927
|
+
@Taints = taints
|
10912
10928
|
@MountTarget = mounttarget
|
10913
10929
|
@DockerGraphPath = dockergraphpath
|
10914
10930
|
@UserScript = userscript
|
@@ -10916,13 +10932,23 @@ module TencentCloud
|
|
10916
10932
|
@Labels = labels
|
10917
10933
|
@DataDisks = datadisks
|
10918
10934
|
@ExtraArgs = extraargs
|
10919
|
-
@DesiredPodNumber = desiredpodnumber
|
10920
|
-
@GPUArgs = gpuargs
|
10921
|
-
@PreStartUserScript = prestartuserscript
|
10922
|
-
@Taints = taints
|
10923
10935
|
end
|
10924
10936
|
|
10925
10937
|
def deserialize(params)
|
10938
|
+
@DesiredPodNumber = params['DesiredPodNumber']
|
10939
|
+
unless params['GPUArgs'].nil?
|
10940
|
+
@GPUArgs = GPUArgs.new
|
10941
|
+
@GPUArgs.deserialize(params['GPUArgs'])
|
10942
|
+
end
|
10943
|
+
@PreStartUserScript = params['PreStartUserScript']
|
10944
|
+
unless params['Taints'].nil?
|
10945
|
+
@Taints = []
|
10946
|
+
params['Taints'].each do |i|
|
10947
|
+
taint_tmp = Taint.new
|
10948
|
+
taint_tmp.deserialize(i)
|
10949
|
+
@Taints << taint_tmp
|
10950
|
+
end
|
10951
|
+
end
|
10926
10952
|
@MountTarget = params['MountTarget']
|
10927
10953
|
@DockerGraphPath = params['DockerGraphPath']
|
10928
10954
|
@UserScript = params['UserScript']
|
@@ -10947,20 +10973,6 @@ module TencentCloud
|
|
10947
10973
|
@ExtraArgs = InstanceExtraArgs.new
|
10948
10974
|
@ExtraArgs.deserialize(params['ExtraArgs'])
|
10949
10975
|
end
|
10950
|
-
@DesiredPodNumber = params['DesiredPodNumber']
|
10951
|
-
unless params['GPUArgs'].nil?
|
10952
|
-
@GPUArgs = GPUArgs.new
|
10953
|
-
@GPUArgs.deserialize(params['GPUArgs'])
|
10954
|
-
end
|
10955
|
-
@PreStartUserScript = params['PreStartUserScript']
|
10956
|
-
unless params['Taints'].nil?
|
10957
|
-
@Taints = []
|
10958
|
-
params['Taints'].each do |i|
|
10959
|
-
taint_tmp = Taint.new
|
10960
|
-
taint_tmp.deserialize(i)
|
10961
|
-
@Taints << taint_tmp
|
10962
|
-
end
|
10963
|
-
end
|
10964
10976
|
end
|
10965
10977
|
end
|
10966
10978
|
|
@@ -15052,6 +15064,28 @@ module TencentCloud
|
|
15052
15064
|
end
|
15053
15065
|
end
|
15054
15066
|
|
15067
|
+
# 不可用原因
|
15068
|
+
class UnavailableReason < TencentCloud::Common::AbstractModel
|
15069
|
+
# @param InstanceId: 实例ID
|
15070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15071
|
+
# @type InstanceId: String
|
15072
|
+
# @param Reason: 原因
|
15073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15074
|
+
# @type Reason: String
|
15075
|
+
|
15076
|
+
attr_accessor :InstanceId, :Reason
|
15077
|
+
|
15078
|
+
def initialize(instanceid=nil, reason=nil)
|
15079
|
+
@InstanceId = instanceid
|
15080
|
+
@Reason = reason
|
15081
|
+
end
|
15082
|
+
|
15083
|
+
def deserialize(params)
|
15084
|
+
@InstanceId = params['InstanceId']
|
15085
|
+
@Reason = params['Reason']
|
15086
|
+
end
|
15087
|
+
end
|
15088
|
+
|
15055
15089
|
# UninstallClusterRelease请求参数结构体
|
15056
15090
|
class UninstallClusterReleaseRequest < TencentCloud::Common::AbstractModel
|
15057
15091
|
# @param ClusterId: 集群ID
|
@@ -15595,19 +15629,27 @@ module TencentCloud
|
|
15595
15629
|
# @param LatestVersion: 当前版本的最新小版本
|
15596
15630
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15597
15631
|
# @type LatestVersion: String
|
15632
|
+
# @param RuntimeVersion: RuntimeVersion
|
15633
|
+
# @type RuntimeVersion: String
|
15634
|
+
# @param RuntimeLatestVersion: RuntimeLatestVersion
|
15635
|
+
# @type RuntimeLatestVersion: String
|
15598
15636
|
|
15599
|
-
attr_accessor :InstanceId, :Version, :LatestVersion
|
15637
|
+
attr_accessor :InstanceId, :Version, :LatestVersion, :RuntimeVersion, :RuntimeLatestVersion
|
15600
15638
|
|
15601
|
-
def initialize(instanceid=nil, version=nil, latestversion=nil)
|
15639
|
+
def initialize(instanceid=nil, version=nil, latestversion=nil, runtimeversion=nil, runtimelatestversion=nil)
|
15602
15640
|
@InstanceId = instanceid
|
15603
15641
|
@Version = version
|
15604
15642
|
@LatestVersion = latestversion
|
15643
|
+
@RuntimeVersion = runtimeversion
|
15644
|
+
@RuntimeLatestVersion = runtimelatestversion
|
15605
15645
|
end
|
15606
15646
|
|
15607
15647
|
def deserialize(params)
|
15608
15648
|
@InstanceId = params['InstanceId']
|
15609
15649
|
@Version = params['Version']
|
15610
15650
|
@LatestVersion = params['LatestVersion']
|
15651
|
+
@RuntimeVersion = params['RuntimeVersion']
|
15652
|
+
@RuntimeLatestVersion = params['RuntimeLatestVersion']
|
15611
15653
|
end
|
15612
15654
|
end
|
15613
15655
|
|
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.513
|
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-02-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|