tencentcloud-sdk-tke 1.0.235 → 1.0.239

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: 0697ba1ae704916a17ee551a15182c2498331925
4
- data.tar.gz: 5704848610450d93a7f2b929d734881f8b27c1dc
3
+ metadata.gz: 1310eede5b12fe6a5931e55f7112422d9f3caebc
4
+ data.tar.gz: 863749d0d66a7d7e262df919df1742f8c1fc052f
5
5
  SHA512:
6
- metadata.gz: a04fcd51ceb09ffad03e2463afbac867541955a4d38feaaf79a4e70bfdc9a38299de1c99fd1d70560c11c6883fff7221320629eee8f97dcf2e968b481eb51fe0
7
- data.tar.gz: 32806a647f12ce24b352931c98de541e14085e695591a5a59417ba4d391e9190aa939ab67ff49e95ee2639b24dce94ea56b92046f0f96f08612bc0ea6c37c345
6
+ metadata.gz: 7880ad9500e0b3ede1a6743c2781e56ed218a0d91e2e663793f7c114f9817ee6449fbac68cd190b543df985b6e0abe4a6aeb5a92388e4c4901bcb50841c84470
7
+ data.tar.gz: 4b9c5946ee252b4db261157152df77da14057eef940bdc3414abb73a58da45f8d68d81e8949fadfb8adf5ad4fdc7498cd22109d433dd38d53ec6ee59719f6247
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.235
1
+ 1.0.239
@@ -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.235
4
+ version: 1.0.239
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-05 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common