tencentcloud-sdk-tke 1.0.234 → 1.0.238
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/models.rb +62 -10
- 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: 763b31bbcc08d378e91345fb0e28280fe8154a1c
|
4
|
+
data.tar.gz: 056ac75d8397657509d60339cbe708562283977c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dedc52b83cb79911712b434d790c1ea76dad89a1044dba84c2ed007fef5a5f0155b4d6f917d32be1dab214d7d575584e042f854ba3b7d5ba934b57e8cdf3c8ad
|
7
|
+
data.tar.gz: c1ffe975d8a92f3be109bb74b1b43b26bc801d8cb2e850209bd978cf7f4403112ddf3048abf0e34849cd04aaa29c4e364d47a051d7c71632c8ab1727263ec21b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.238
|
data/lib/v20180525/models.rb
CHANGED
@@ -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
|
|
@@ -7251,14 +7285,19 @@ module TencentCloud
|
|
7251
7285
|
# @type Status: String
|
7252
7286
|
# @param ClusterName: 集群名称
|
7253
7287
|
# @type ClusterName: String
|
7288
|
+
# @param ExternalLabels: 额外labels
|
7289
|
+
# 本集群的所有指标都会带上这几个label
|
7290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7291
|
+
# @type ExternalLabels: Array
|
7254
7292
|
|
7255
|
-
attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName
|
7293
|
+
attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels
|
7256
7294
|
|
7257
|
-
def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil)
|
7295
|
+
def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil)
|
7258
7296
|
@ClusterType = clustertype
|
7259
7297
|
@ClusterId = clusterid
|
7260
7298
|
@Status = status
|
7261
7299
|
@ClusterName = clustername
|
7300
|
+
@ExternalLabels = externallabels
|
7262
7301
|
end
|
7263
7302
|
|
7264
7303
|
def deserialize(params)
|
@@ -7266,6 +7305,14 @@ module TencentCloud
|
|
7266
7305
|
@ClusterId = params['ClusterId']
|
7267
7306
|
@Status = params['Status']
|
7268
7307
|
@ClusterName = params['ClusterName']
|
7308
|
+
unless params['ExternalLabels'].nil?
|
7309
|
+
@ExternalLabels = []
|
7310
|
+
params['ExternalLabels'].each do |i|
|
7311
|
+
label_tmp = Label.new
|
7312
|
+
label_tmp.deserialize(i)
|
7313
|
+
@ExternalLabels << label_tmp
|
7314
|
+
end
|
7315
|
+
end
|
7269
7316
|
end
|
7270
7317
|
end
|
7271
7318
|
|
@@ -7331,10 +7378,13 @@ module TencentCloud
|
|
7331
7378
|
# @param Annotations: 参考prometheus rule中的annotations
|
7332
7379
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7333
7380
|
# @type Annotations: Array
|
7381
|
+
# @param RuleState: 告警规则状态
|
7382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7383
|
+
# @type RuleState: Integer
|
7334
7384
|
|
7335
|
-
attr_accessor :Name, :Rule, :Labels, :Template, :For, :Describe, :Annotations
|
7385
|
+
attr_accessor :Name, :Rule, :Labels, :Template, :For, :Describe, :Annotations, :RuleState
|
7336
7386
|
|
7337
|
-
def initialize(name=nil, rule=nil, labels=nil, template=nil, _for=nil, describe=nil, annotations=nil)
|
7387
|
+
def initialize(name=nil, rule=nil, labels=nil, template=nil, _for=nil, describe=nil, annotations=nil, rulestate=nil)
|
7338
7388
|
@Name = name
|
7339
7389
|
@Rule = rule
|
7340
7390
|
@Labels = labels
|
@@ -7342,6 +7392,7 @@ module TencentCloud
|
|
7342
7392
|
@For = _for
|
7343
7393
|
@Describe = describe
|
7344
7394
|
@Annotations = annotations
|
7395
|
+
@RuleState = rulestate
|
7345
7396
|
end
|
7346
7397
|
|
7347
7398
|
def deserialize(params)
|
@@ -7366,6 +7417,7 @@ module TencentCloud
|
|
7366
7417
|
@Annotations << label_tmp
|
7367
7418
|
end
|
7368
7419
|
end
|
7420
|
+
@RuleState = params['RuleState']
|
7369
7421
|
end
|
7370
7422
|
end
|
7371
7423
|
|
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.
|
4
|
+
version: 1.0.238
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|