tencentcloud-sdk-tke 1.0.279 → 1.0.282

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180525/models.rb +63 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ff944e4acef6f6a1d205a97341f8b1900cfff1c
4
- data.tar.gz: f31dfd4c3c19bcff9f7fe0e78dba8430335ddfa9
3
+ metadata.gz: bf31909c807f129fc020d87a89d3eda07119d718
4
+ data.tar.gz: d514d3f8a65d5aa27a2b8796fdd5b12a83d65600
5
5
  SHA512:
6
- metadata.gz: 8c5f05bdbc4a1410ae67e72c821d66d3382d1d8927a9721777c592aae0209e253cee48e7abb24858e535a8964a8ec8a567ea0f4f6f3122e27d85e0a4a2dbb1ab
7
- data.tar.gz: d14593b6597bf30bc1aee4bb85eb26d0af095d71ba08ccdc7389e2b022769cac53d1f5398ea188b16701c87e5bdf939bd96f1146b08b2b651ffc92f90462c938
6
+ metadata.gz: 29a378fb7197f96f8ca8d5be52a13d32e46d5d515f952e73caa68da68e57941c7deadaf58bdf746cf7b9413c2a29bca5e450d7d70ddc8c1450dbfbc34ea528b4
7
+ data.tar.gz: 28a939d5ae7bd71f6ed517d1d8288a00d38f384feaf930d7a3dfbe304525f0ae0ad8c40d6c7caafeaace46e053b80c8ed0663ac9e32ef2061e237dd23cb05929
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.282
@@ -323,6 +323,22 @@ module TencentCloud
323
323
  end
324
324
  end
325
325
 
326
+ # 自动变配集群等级
327
+ class AutoUpgradeClusterLevel < TencentCloud::Common::AbstractModel
328
+ # @param IsAutoUpgrade: 是否开启自动变配集群等级
329
+ # @type IsAutoUpgrade: Boolean
330
+
331
+ attr_accessor :IsAutoUpgrade
332
+
333
+ def initialize(isautoupgrade=nil)
334
+ @IsAutoUpgrade = isautoupgrade
335
+ end
336
+
337
+ def deserialize(params)
338
+ @IsAutoUpgrade = params['IsAutoUpgrade']
339
+ end
340
+ end
341
+
326
342
  # 自动扩所容的节点
327
343
  class AutoscalingAdded < TencentCloud::Common::AbstractModel
328
344
  # @param Joining: 正在加入中的节点数量
@@ -839,10 +855,14 @@ module TencentCloud
839
855
  # @type NeedWorkSecurityGroup: Boolean
840
856
  # @param SubnetId: 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡
841
857
  # @type SubnetId: String
858
+ # @param ClusterLevel: 集群等级,针对托管集群生效
859
+ # @type ClusterLevel: String
860
+ # @param AutoUpgradeClusterLevel: 自动变配集群等级,针对托管集群生效
861
+ # @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
842
862
 
843
- attr_accessor :ClusterOs, :ClusterVersion, :ClusterName, :ClusterDescription, :VpcId, :ProjectId, :TagSpecification, :OsCustomizeType, :NeedWorkSecurityGroup, :SubnetId
863
+ attr_accessor :ClusterOs, :ClusterVersion, :ClusterName, :ClusterDescription, :VpcId, :ProjectId, :TagSpecification, :OsCustomizeType, :NeedWorkSecurityGroup, :SubnetId, :ClusterLevel, :AutoUpgradeClusterLevel
844
864
 
845
- def initialize(clusteros=nil, clusterversion=nil, clustername=nil, clusterdescription=nil, vpcid=nil, projectid=nil, tagspecification=nil, oscustomizetype=nil, needworksecuritygroup=nil, subnetid=nil)
865
+ def initialize(clusteros=nil, clusterversion=nil, clustername=nil, clusterdescription=nil, vpcid=nil, projectid=nil, tagspecification=nil, oscustomizetype=nil, needworksecuritygroup=nil, subnetid=nil, clusterlevel=nil, autoupgradeclusterlevel=nil)
846
866
  @ClusterOs = clusteros
847
867
  @ClusterVersion = clusterversion
848
868
  @ClusterName = clustername
@@ -853,6 +873,8 @@ module TencentCloud
853
873
  @OsCustomizeType = oscustomizetype
854
874
  @NeedWorkSecurityGroup = needworksecuritygroup
855
875
  @SubnetId = subnetid
876
+ @ClusterLevel = clusterlevel
877
+ @AutoUpgradeClusterLevel = autoupgradeclusterlevel
856
878
  end
857
879
 
858
880
  def deserialize(params)
@@ -873,6 +895,11 @@ module TencentCloud
873
895
  @OsCustomizeType = params['OsCustomizeType']
874
896
  @NeedWorkSecurityGroup = params['NeedWorkSecurityGroup']
875
897
  @SubnetId = params['SubnetId']
898
+ @ClusterLevel = params['ClusterLevel']
899
+ unless params['AutoUpgradeClusterLevel'].nil?
900
+ @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
901
+ @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
902
+ end
876
903
  end
877
904
  end
878
905
 
@@ -3927,17 +3954,20 @@ module TencentCloud
3927
3954
  # @type InternalLB: :class:`Tencentcloud::Tke.v20180525.models.ClusterInternalLB`
3928
3955
  # @param ProxyLB: 标记是否新的内外网功能
3929
3956
  # @type ProxyLB: Boolean
3957
+ # @param Kubeconfig: 连接用户集群k8s 的Config
3958
+ # @type Kubeconfig: String
3930
3959
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3931
3960
  # @type RequestId: String
3932
3961
 
3933
- attr_accessor :Addresses, :Credential, :PublicLB, :InternalLB, :ProxyLB, :RequestId
3962
+ attr_accessor :Addresses, :Credential, :PublicLB, :InternalLB, :ProxyLB, :Kubeconfig, :RequestId
3934
3963
 
3935
- def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, proxylb=nil, requestid=nil)
3964
+ def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, proxylb=nil, kubeconfig=nil, requestid=nil)
3936
3965
  @Addresses = addresses
3937
3966
  @Credential = credential
3938
3967
  @PublicLB = publiclb
3939
3968
  @InternalLB = internallb
3940
3969
  @ProxyLB = proxylb
3970
+ @Kubeconfig = kubeconfig
3941
3971
  @RequestId = requestid
3942
3972
  end
3943
3973
 
@@ -3963,6 +3993,7 @@ module TencentCloud
3963
3993
  @InternalLB.deserialize(params['InternalLB'])
3964
3994
  end
3965
3995
  @ProxyLB = params['ProxyLB']
3996
+ @Kubeconfig = params['Kubeconfig']
3966
3997
  @RequestId = params['RequestId']
3967
3998
  end
3968
3999
  end
@@ -7124,14 +7155,20 @@ module TencentCloud
7124
7155
  # @type ClusterName: String
7125
7156
  # @param ClusterDesc: 集群描述
7126
7157
  # @type ClusterDesc: String
7158
+ # @param ClusterLevel: 集群等级
7159
+ # @type ClusterLevel: String
7160
+ # @param AutoUpgradeClusterLevel: 自动变配集群等级
7161
+ # @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
7127
7162
 
7128
- attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc
7163
+ attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel
7129
7164
 
7130
- def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil)
7165
+ def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil)
7131
7166
  @ClusterId = clusterid
7132
7167
  @ProjectId = projectid
7133
7168
  @ClusterName = clustername
7134
7169
  @ClusterDesc = clusterdesc
7170
+ @ClusterLevel = clusterlevel
7171
+ @AutoUpgradeClusterLevel = autoupgradeclusterlevel
7135
7172
  end
7136
7173
 
7137
7174
  def deserialize(params)
@@ -7139,6 +7176,11 @@ module TencentCloud
7139
7176
  @ProjectId = params['ProjectId']
7140
7177
  @ClusterName = params['ClusterName']
7141
7178
  @ClusterDesc = params['ClusterDesc']
7179
+ @ClusterLevel = params['ClusterLevel']
7180
+ unless params['AutoUpgradeClusterLevel'].nil?
7181
+ @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
7182
+ @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
7183
+ end
7142
7184
  end
7143
7185
  end
7144
7186
 
@@ -7153,15 +7195,23 @@ module TencentCloud
7153
7195
  # @param ClusterDesc: 集群描述
7154
7196
  # 注意:此字段可能返回 null,表示取不到有效值。
7155
7197
  # @type ClusterDesc: String
7198
+ # @param ClusterLevel: 集群等级
7199
+ # 注意:此字段可能返回 null,表示取不到有效值。
7200
+ # @type ClusterLevel: String
7201
+ # @param AutoUpgradeClusterLevel: 自动变配集群等级
7202
+ # 注意:此字段可能返回 null,表示取不到有效值。
7203
+ # @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
7156
7204
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7157
7205
  # @type RequestId: String
7158
7206
 
7159
- attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :RequestId
7207
+ attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel, :RequestId
7160
7208
 
7161
- def initialize(projectid=nil, clustername=nil, clusterdesc=nil, requestid=nil)
7209
+ def initialize(projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, requestid=nil)
7162
7210
  @ProjectId = projectid
7163
7211
  @ClusterName = clustername
7164
7212
  @ClusterDesc = clusterdesc
7213
+ @ClusterLevel = clusterlevel
7214
+ @AutoUpgradeClusterLevel = autoupgradeclusterlevel
7165
7215
  @RequestId = requestid
7166
7216
  end
7167
7217
 
@@ -7169,6 +7219,11 @@ module TencentCloud
7169
7219
  @ProjectId = params['ProjectId']
7170
7220
  @ClusterName = params['ClusterName']
7171
7221
  @ClusterDesc = params['ClusterDesc']
7222
+ @ClusterLevel = params['ClusterLevel']
7223
+ unless params['AutoUpgradeClusterLevel'].nil?
7224
+ @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
7225
+ @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
7226
+ end
7172
7227
  @RequestId = params['RequestId']
7173
7228
  end
7174
7229
  end
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: 1.0.279
4
+ version: 1.0.282
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-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common