tencentcloud-sdk-tke 1.0.234 → 1.0.235

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 +40 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9e6c8c12810587084b1fe8a2dd3ceb924b016f6
4
- data.tar.gz: 87ece9e0c4a0efc7e4da1a9607bfc704221064eb
3
+ metadata.gz: 0697ba1ae704916a17ee551a15182c2498331925
4
+ data.tar.gz: 5704848610450d93a7f2b929d734881f8b27c1dc
5
5
  SHA512:
6
- metadata.gz: b0cf1710bb621c45ed0e92ffc5f4ea04e1b59d1462b65ad46c85b91c7fec154edaac01c3eb278e6c0726b48ff0baa4ca72285af18c82497f96ca43d103d857b0
7
- data.tar.gz: 92e93110a6b59652f15f42d2dae2b95f0d2d4b8e9cf8d569853f23ecaccbdcd13ebbfac3dbd70c7069ba6c38a1e09aed64772acc6ef9513eb7519ad4c8e2045f
6
+ metadata.gz: a04fcd51ceb09ffad03e2463afbac867541955a4d38feaaf79a4e70bfdc9a38299de1c99fd1d70560c11c6883fff7221320629eee8f97dcf2e968b481eb51fe0
7
+ data.tar.gz: 32806a647f12ce24b352931c98de541e14085e695591a5a59417ba4d391e9190aa939ab67ff49e95ee2639b24dce94ea56b92046f0f96f08612bc0ea6c37c345
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.234
1
+ 1.0.235
@@ -1538,10 +1538,12 @@ module TencentCloud
1538
1538
  # @type NodePoolOs: String
1539
1539
  # @param OsCustomizeType: 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
1540
1540
  # @type OsCustomizeType: String
1541
+ # @param Tags: 资源标签
1542
+ # @type Tags: Array
1541
1543
 
1542
- attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :NodePoolOs, :OsCustomizeType
1544
+ attr_accessor :ClusterId, :AutoScalingGroupPara, :LaunchConfigurePara, :InstanceAdvancedSettings, :EnableAutoscale, :Name, :Labels, :Taints, :NodePoolOs, :OsCustomizeType, :Tags
1543
1545
 
1544
- def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, enableautoscale=nil, name=nil, labels=nil, taints=nil, nodepoolos=nil, oscustomizetype=nil)
1546
+ def initialize(clusterid=nil, autoscalinggrouppara=nil, launchconfigurepara=nil, instanceadvancedsettings=nil, enableautoscale=nil, name=nil, labels=nil, taints=nil, nodepoolos=nil, oscustomizetype=nil, tags=nil)
1545
1547
  @ClusterId = clusterid
1546
1548
  @AutoScalingGroupPara = autoscalinggrouppara
1547
1549
  @LaunchConfigurePara = launchconfigurepara
@@ -1552,6 +1554,7 @@ module TencentCloud
1552
1554
  @Taints = taints
1553
1555
  @NodePoolOs = nodepoolos
1554
1556
  @OsCustomizeType = oscustomizetype
1557
+ @Tags = tags
1555
1558
  end
1556
1559
 
1557
1560
  def deserialize(params)
@@ -1582,6 +1585,14 @@ module TencentCloud
1582
1585
  end
1583
1586
  @NodePoolOs = params['NodePoolOs']
1584
1587
  @OsCustomizeType = params['OsCustomizeType']
1588
+ unless params['Tags'].nil?
1589
+ @Tags = []
1590
+ params['Tags'].each do |i|
1591
+ tag_tmp = Tag.new
1592
+ tag_tmp.deserialize(i)
1593
+ @Tags << tag_tmp
1594
+ end
1595
+ end
1585
1596
  end
1586
1597
  end
1587
1598
 
@@ -6726,10 +6737,12 @@ module TencentCloud
6726
6737
  # @type OsCustomizeType: String
6727
6738
  # @param ExtraArgs: 节点自定义参数
6728
6739
  # @type ExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.InstanceExtraArgs`
6740
+ # @param Tags: 资源标签
6741
+ # @type Tags: Array
6729
6742
 
6730
- attr_accessor :ClusterId, :NodePoolId, :Name, :MaxNodesNum, :MinNodesNum, :Labels, :Taints, :EnableAutoscale, :OsName, :OsCustomizeType, :ExtraArgs
6743
+ attr_accessor :ClusterId, :NodePoolId, :Name, :MaxNodesNum, :MinNodesNum, :Labels, :Taints, :EnableAutoscale, :OsName, :OsCustomizeType, :ExtraArgs, :Tags
6731
6744
 
6732
- def initialize(clusterid=nil, nodepoolid=nil, name=nil, maxnodesnum=nil, minnodesnum=nil, labels=nil, taints=nil, enableautoscale=nil, osname=nil, oscustomizetype=nil, extraargs=nil)
6745
+ def initialize(clusterid=nil, nodepoolid=nil, name=nil, maxnodesnum=nil, minnodesnum=nil, labels=nil, taints=nil, enableautoscale=nil, osname=nil, oscustomizetype=nil, extraargs=nil, tags=nil)
6733
6746
  @ClusterId = clusterid
6734
6747
  @NodePoolId = nodepoolid
6735
6748
  @Name = name
@@ -6741,6 +6754,7 @@ module TencentCloud
6741
6754
  @OsName = osname
6742
6755
  @OsCustomizeType = oscustomizetype
6743
6756
  @ExtraArgs = extraargs
6757
+ @Tags = tags
6744
6758
  end
6745
6759
 
6746
6760
  def deserialize(params)
@@ -6772,6 +6786,14 @@ module TencentCloud
6772
6786
  @ExtraArgs = InstanceExtraArgs.new
6773
6787
  @ExtraArgs.deserialize(params['ExtraArgs'])
6774
6788
  end
6789
+ unless params['Tags'].nil?
6790
+ @Tags = []
6791
+ params['Tags'].each do |i|
6792
+ tag_tmp = Tag.new
6793
+ tag_tmp.deserialize(i)
6794
+ @Tags << tag_tmp
6795
+ end
6796
+ end
6775
6797
  end
6776
6798
  end
6777
6799
 
@@ -7052,10 +7074,13 @@ module TencentCloud
7052
7074
  # @param UserScript: 用户自定义脚本
7053
7075
  # 注意:此字段可能返回 null,表示取不到有效值。
7054
7076
  # @type UserScript: String
7077
+ # @param Tags: 资源标签
7078
+ # 注意:此字段可能返回 null,表示取不到有效值。
7079
+ # @type Tags: Array
7055
7080
 
7056
- attr_accessor :NodePoolId, :Name, :ClusterInstanceId, :LifeState, :LaunchConfigurationId, :AutoscalingGroupId, :Labels, :Taints, :NodeCountSummary, :AutoscalingGroupStatus, :MaxNodesNum, :MinNodesNum, :DesiredNodesNum, :NodePoolOs, :OsCustomizeType, :ImageId, :DesiredPodNum, :UserScript
7081
+ attr_accessor :NodePoolId, :Name, :ClusterInstanceId, :LifeState, :LaunchConfigurationId, :AutoscalingGroupId, :Labels, :Taints, :NodeCountSummary, :AutoscalingGroupStatus, :MaxNodesNum, :MinNodesNum, :DesiredNodesNum, :NodePoolOs, :OsCustomizeType, :ImageId, :DesiredPodNum, :UserScript, :Tags
7057
7082
 
7058
- def initialize(nodepoolid=nil, name=nil, clusterinstanceid=nil, lifestate=nil, launchconfigurationid=nil, autoscalinggroupid=nil, labels=nil, taints=nil, nodecountsummary=nil, autoscalinggroupstatus=nil, maxnodesnum=nil, minnodesnum=nil, desirednodesnum=nil, nodepoolos=nil, oscustomizetype=nil, imageid=nil, desiredpodnum=nil, userscript=nil)
7083
+ def initialize(nodepoolid=nil, name=nil, clusterinstanceid=nil, lifestate=nil, launchconfigurationid=nil, autoscalinggroupid=nil, labels=nil, taints=nil, nodecountsummary=nil, autoscalinggroupstatus=nil, maxnodesnum=nil, minnodesnum=nil, desirednodesnum=nil, nodepoolos=nil, oscustomizetype=nil, imageid=nil, desiredpodnum=nil, userscript=nil, tags=nil)
7059
7084
  @NodePoolId = nodepoolid
7060
7085
  @Name = name
7061
7086
  @ClusterInstanceId = clusterinstanceid
@@ -7074,6 +7099,7 @@ module TencentCloud
7074
7099
  @ImageId = imageid
7075
7100
  @DesiredPodNum = desiredpodnum
7076
7101
  @UserScript = userscript
7102
+ @Tags = tags
7077
7103
  end
7078
7104
 
7079
7105
  def deserialize(params)
@@ -7112,6 +7138,14 @@ module TencentCloud
7112
7138
  @ImageId = params['ImageId']
7113
7139
  @DesiredPodNum = params['DesiredPodNum']
7114
7140
  @UserScript = params['UserScript']
7141
+ unless params['Tags'].nil?
7142
+ @Tags = []
7143
+ params['Tags'].each do |i|
7144
+ tag_tmp = Tag.new
7145
+ tag_tmp.deserialize(i)
7146
+ @Tags << tag_tmp
7147
+ end
7148
+ end
7115
7149
  end
7116
7150
  end
7117
7151
 
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.234
4
+ version: 1.0.235
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-30 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common