tencentcloud-sdk-tke 1.0.236 → 1.0.237

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 +22 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab2ee97253ec2bdf572da86467948d2e709e52a1
4
- data.tar.gz: 8275d16f8e320ea399e69d1d869ceb1d4bb2c2f7
3
+ metadata.gz: 64ed9c468395df4a991bf9571155e8997e29a07c
4
+ data.tar.gz: 74cb935ddbd492aba5eeaced5fd456213b3c46fd
5
5
  SHA512:
6
- metadata.gz: 8f26b9891d4988f274e6adff676c9646c865a29643bf00fb78b0b0923ac4fcfa6f7015f640aece1fa509a58ed54ca4780e1f8fc8fd9d11f576ad99b610600bfe
7
- data.tar.gz: cea734e9f5c5ff3e2fb567dce056dea21b30485afd74e9f2c1dbf29fcf85150ea3a9156eff8ab7d394d4f9b396aeb3be8b2f91720379b29be375ae2fb10220f4
6
+ metadata.gz: 1da847eaacd5d17997fd49e4319fd2a022425208386e88b60a04541fbdf6a709a1877eb3853ab08dbccb6c5c2df6d8411590384cac88a8b792093a9a4e09c0a1
7
+ data.tar.gz: 514f5c9a42e74b9ed559deafbadd997abd4cae732c4c8d412e26b873f4142678ee2fda51fa0604dfa41b695e54a28cf4e406915a1efc9faa2ac0a5f3a1cca035
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.236
1
+ 1.0.237
@@ -7285,14 +7285,19 @@ module TencentCloud
7285
7285
  # @type Status: String
7286
7286
  # @param ClusterName: 集群名称
7287
7287
  # @type ClusterName: String
7288
+ # @param ExternalLabels: 额外labels
7289
+ # 本集群的所有指标都会带上这几个label
7290
+ # 注意:此字段可能返回 null,表示取不到有效值。
7291
+ # @type ExternalLabels: Array
7288
7292
 
7289
- attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName
7293
+ attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels
7290
7294
 
7291
- def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil)
7295
+ def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil)
7292
7296
  @ClusterType = clustertype
7293
7297
  @ClusterId = clusterid
7294
7298
  @Status = status
7295
7299
  @ClusterName = clustername
7300
+ @ExternalLabels = externallabels
7296
7301
  end
7297
7302
 
7298
7303
  def deserialize(params)
@@ -7300,6 +7305,14 @@ module TencentCloud
7300
7305
  @ClusterId = params['ClusterId']
7301
7306
  @Status = params['Status']
7302
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
7303
7316
  end
7304
7317
  end
7305
7318
 
@@ -7365,10 +7378,13 @@ module TencentCloud
7365
7378
  # @param Annotations: 参考prometheus rule中的annotations
7366
7379
  # 注意:此字段可能返回 null,表示取不到有效值。
7367
7380
  # @type Annotations: Array
7381
+ # @param RuleState: 告警规则状态
7382
+ # 注意:此字段可能返回 null,表示取不到有效值。
7383
+ # @type RuleState: Integer
7368
7384
 
7369
- attr_accessor :Name, :Rule, :Labels, :Template, :For, :Describe, :Annotations
7385
+ attr_accessor :Name, :Rule, :Labels, :Template, :For, :Describe, :Annotations, :RuleState
7370
7386
 
7371
- 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)
7372
7388
  @Name = name
7373
7389
  @Rule = rule
7374
7390
  @Labels = labels
@@ -7376,6 +7392,7 @@ module TencentCloud
7376
7392
  @For = _for
7377
7393
  @Describe = describe
7378
7394
  @Annotations = annotations
7395
+ @RuleState = rulestate
7379
7396
  end
7380
7397
 
7381
7398
  def deserialize(params)
@@ -7400,6 +7417,7 @@ module TencentCloud
7400
7417
  @Annotations << label_tmp
7401
7418
  end
7402
7419
  end
7420
+ @RuleState = params['RuleState']
7403
7421
  end
7404
7422
  end
7405
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.236
4
+ version: 1.0.237
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-01-06 00:00:00.000000000 Z
11
+ date: 2022-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common