tencentcloud-sdk-tke 1.0.279 → 1.0.280

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180525/models.rb +57 -6
  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: 656df8d5d1895161fa943f50fcc47c16ad79ae51
4
+ data.tar.gz: af3be1274a17701836eced1eedc2b82be6e806f1
5
5
  SHA512:
6
- metadata.gz: 8c5f05bdbc4a1410ae67e72c821d66d3382d1d8927a9721777c592aae0209e253cee48e7abb24858e535a8964a8ec8a567ea0f4f6f3122e27d85e0a4a2dbb1ab
7
- data.tar.gz: d14593b6597bf30bc1aee4bb85eb26d0af095d71ba08ccdc7389e2b022769cac53d1f5398ea188b16701c87e5bdf939bd96f1146b08b2b651ffc92f90462c938
6
+ metadata.gz: 1d62b5ef8922051c6c8f5e48f5a163b441bac7f66d421446fb1edcae5cdd35d8cb89507be01b5757ae19f868db7efa66f0819e153a72df0a8983773904ad8725
7
+ data.tar.gz: b5d7bdd74156e74804e30d070436cde636cd90be00ce4170dd0da86d91c6fecd1d739993797f656451f7d4cbc10fd91ed797cc4692341e513fb85c702dbed3e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.280
@@ -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
 
@@ -7124,14 +7151,20 @@ module TencentCloud
7124
7151
  # @type ClusterName: String
7125
7152
  # @param ClusterDesc: 集群描述
7126
7153
  # @type ClusterDesc: String
7154
+ # @param ClusterLevel: 集群等级
7155
+ # @type ClusterLevel: String
7156
+ # @param AutoUpgradeClusterLevel: 自动变配集群等级
7157
+ # @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
7127
7158
 
7128
- attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc
7159
+ attr_accessor :ClusterId, :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel
7129
7160
 
7130
- def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil)
7161
+ def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil)
7131
7162
  @ClusterId = clusterid
7132
7163
  @ProjectId = projectid
7133
7164
  @ClusterName = clustername
7134
7165
  @ClusterDesc = clusterdesc
7166
+ @ClusterLevel = clusterlevel
7167
+ @AutoUpgradeClusterLevel = autoupgradeclusterlevel
7135
7168
  end
7136
7169
 
7137
7170
  def deserialize(params)
@@ -7139,6 +7172,11 @@ module TencentCloud
7139
7172
  @ProjectId = params['ProjectId']
7140
7173
  @ClusterName = params['ClusterName']
7141
7174
  @ClusterDesc = params['ClusterDesc']
7175
+ @ClusterLevel = params['ClusterLevel']
7176
+ unless params['AutoUpgradeClusterLevel'].nil?
7177
+ @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
7178
+ @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
7179
+ end
7142
7180
  end
7143
7181
  end
7144
7182
 
@@ -7153,15 +7191,23 @@ module TencentCloud
7153
7191
  # @param ClusterDesc: 集群描述
7154
7192
  # 注意:此字段可能返回 null,表示取不到有效值。
7155
7193
  # @type ClusterDesc: String
7194
+ # @param ClusterLevel: 集群等级
7195
+ # 注意:此字段可能返回 null,表示取不到有效值。
7196
+ # @type ClusterLevel: String
7197
+ # @param AutoUpgradeClusterLevel: 自动变配集群等级
7198
+ # 注意:此字段可能返回 null,表示取不到有效值。
7199
+ # @type AutoUpgradeClusterLevel: :class:`Tencentcloud::Tke.v20180525.models.AutoUpgradeClusterLevel`
7156
7200
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7157
7201
  # @type RequestId: String
7158
7202
 
7159
- attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :RequestId
7203
+ attr_accessor :ProjectId, :ClusterName, :ClusterDesc, :ClusterLevel, :AutoUpgradeClusterLevel, :RequestId
7160
7204
 
7161
- def initialize(projectid=nil, clustername=nil, clusterdesc=nil, requestid=nil)
7205
+ def initialize(projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, requestid=nil)
7162
7206
  @ProjectId = projectid
7163
7207
  @ClusterName = clustername
7164
7208
  @ClusterDesc = clusterdesc
7209
+ @ClusterLevel = clusterlevel
7210
+ @AutoUpgradeClusterLevel = autoupgradeclusterlevel
7165
7211
  @RequestId = requestid
7166
7212
  end
7167
7213
 
@@ -7169,6 +7215,11 @@ module TencentCloud
7169
7215
  @ProjectId = params['ProjectId']
7170
7216
  @ClusterName = params['ClusterName']
7171
7217
  @ClusterDesc = params['ClusterDesc']
7218
+ @ClusterLevel = params['ClusterLevel']
7219
+ unless params['AutoUpgradeClusterLevel'].nil?
7220
+ @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
7221
+ @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
7222
+ end
7172
7223
  @RequestId = params['RequestId']
7173
7224
  end
7174
7225
  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.280
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common