tencentcloud-sdk-monitor 3.0.545 → 3.0.547

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/v20180724/models.rb +73 -6
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b80f5311895053fd87c75823edeeb585d758c9
4
- data.tar.gz: e7714872e158c74c9e6fb1ba7e5db38c6ab31716
3
+ metadata.gz: d1c41aa0f1203a8cf1133deb9efa2c89c54785a8
4
+ data.tar.gz: 9836c547885653ecae8a1ec144cb35f9b79e8d81
5
5
  SHA512:
6
- metadata.gz: 9a480a8a0f04e956c59fdf5edbd5162d95fd754d3056c6aec567267c8011b06d85262bbce968fb1a2cc74dbe566bac259d55c32a1f005fe3776f61706d943b49
7
- data.tar.gz: 71ffb8f1ea7e173f42bbeea31b4d0a31b62ba9d7ab9bd9d9c035c54dd4871b258e12c95bf965e08af4b0e014a679897ebf040a3d12b10ea3c90266bdb8333340
6
+ metadata.gz: 74c736709fbf6fa48227228bf2b7d9c1fe5723f7f55b9004c1e9b8d7ffa59d2e01043d60aae8838c3fddc0028821ad2d135714c44902dabdf87924d6d0e7377e
7
+ data.tar.gz: 986e4f08e123bbbf5dfe36a26883e3dd1958a7b7c5b095f2266902b6d3df3c9f446e6dc885b93eee9752b271fe1ebfa1d8043f69d461339ec011c99d8a10eaf6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.545
1
+ 3.0.547
@@ -7247,16 +7247,20 @@ module TencentCloud
7247
7247
  # @param RawJobs: RawJobs列表以及对应targets信息
7248
7248
  # 注意:此字段可能返回 null,表示取不到有效值。
7249
7249
  # @type RawJobs: Array
7250
+ # @param Probes: Probes列表以及对应targets信息
7251
+ # 注意:此字段可能返回 null,表示取不到有效值。
7252
+ # @type Probes: Array
7250
7253
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7251
7254
  # @type RequestId: String
7252
7255
 
7253
- attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :RequestId
7256
+ attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes, :RequestId
7254
7257
 
7255
- def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, requestid=nil)
7258
+ def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil, requestid=nil)
7256
7259
  @Config = config
7257
7260
  @ServiceMonitors = servicemonitors
7258
7261
  @PodMonitors = podmonitors
7259
7262
  @RawJobs = rawjobs
7263
+ @Probes = probes
7260
7264
  @RequestId = requestid
7261
7265
  end
7262
7266
 
@@ -7286,6 +7290,14 @@ module TencentCloud
7286
7290
  @RawJobs << prometheusconfigitem_tmp
7287
7291
  end
7288
7292
  end
7293
+ unless params['Probes'].nil?
7294
+ @Probes = []
7295
+ params['Probes'].each do |i|
7296
+ prometheusconfigitem_tmp = PrometheusConfigItem.new
7297
+ prometheusconfigitem_tmp.deserialize(i)
7298
+ @Probes << prometheusconfigitem_tmp
7299
+ end
7300
+ end
7289
7301
  @RequestId = params['RequestId']
7290
7302
  end
7291
7303
  end
@@ -11307,19 +11319,27 @@ module TencentCloud
11307
11319
  # @param TemplateId: 用于出参,如果该配置来至模板,则为模板id
11308
11320
  # 注意:此字段可能返回 null,表示取不到有效值。
11309
11321
  # @type TemplateId: String
11322
+ # @param Targets: 目标数
11323
+ # 注意:此字段可能返回 null,表示取不到有效值。
11324
+ # @type Targets: :class:`Tencentcloud::Monitor.v20180724.models.Targets`
11310
11325
 
11311
- attr_accessor :Name, :Config, :TemplateId
11326
+ attr_accessor :Name, :Config, :TemplateId, :Targets
11312
11327
 
11313
- def initialize(name=nil, config=nil, templateid=nil)
11328
+ def initialize(name=nil, config=nil, templateid=nil, targets=nil)
11314
11329
  @Name = name
11315
11330
  @Config = config
11316
11331
  @TemplateId = templateid
11332
+ @Targets = targets
11317
11333
  end
11318
11334
 
11319
11335
  def deserialize(params)
11320
11336
  @Name = params['Name']
11321
11337
  @Config = params['Config']
11322
11338
  @TemplateId = params['TemplateId']
11339
+ unless params['Targets'].nil?
11340
+ @Targets = Targets.new
11341
+ @Targets.deserialize(params['Targets'])
11342
+ end
11323
11343
  end
11324
11344
  end
11325
11345
 
@@ -11801,15 +11821,27 @@ module TencentCloud
11801
11821
  # @param ClusterId: 该聚合规则如果来源于用户集群crd资源定义,则ClusterId为所属集群ID
11802
11822
  # 注意:此字段可能返回 null,表示取不到有效值。
11803
11823
  # @type ClusterId: String
11824
+ # @param Status: 状态
11825
+ # 注意:此字段可能返回 null,表示取不到有效值。
11826
+ # @type Status: Integer
11827
+ # @param Id: id
11828
+ # 注意:此字段可能返回 null,表示取不到有效值。
11829
+ # @type Id: String
11830
+ # @param Count: 规则数量
11831
+ # 注意:此字段可能返回 null,表示取不到有效值。
11832
+ # @type Count: Integer
11804
11833
 
11805
- attr_accessor :Name, :UpdateTime, :TemplateId, :Content, :ClusterId
11834
+ attr_accessor :Name, :UpdateTime, :TemplateId, :Content, :ClusterId, :Status, :Id, :Count
11806
11835
 
11807
- def initialize(name=nil, updatetime=nil, templateid=nil, content=nil, clusterid=nil)
11836
+ def initialize(name=nil, updatetime=nil, templateid=nil, content=nil, clusterid=nil, status=nil, id=nil, count=nil)
11808
11837
  @Name = name
11809
11838
  @UpdateTime = updatetime
11810
11839
  @TemplateId = templateid
11811
11840
  @Content = content
11812
11841
  @ClusterId = clusterid
11842
+ @Status = status
11843
+ @Id = id
11844
+ @Count = count
11813
11845
  end
11814
11846
 
11815
11847
  def deserialize(params)
@@ -11818,6 +11850,9 @@ module TencentCloud
11818
11850
  @TemplateId = params['TemplateId']
11819
11851
  @Content = params['Content']
11820
11852
  @ClusterId = params['ClusterId']
11853
+ @Status = params['Status']
11854
+ @Id = params['Id']
11855
+ @Count = params['Count']
11821
11856
  end
11822
11857
  end
11823
11858
 
@@ -12727,6 +12762,38 @@ module TencentCloud
12727
12762
  end
12728
12763
  end
12729
12764
 
12765
+ # 抓取目标数
12766
+ class Targets < TencentCloud::Common::AbstractModel
12767
+ # @param Total: 总数
12768
+ # 注意:此字段可能返回 null,表示取不到有效值。
12769
+ # @type Total: Integer
12770
+ # @param Up: 在线数
12771
+ # 注意:此字段可能返回 null,表示取不到有效值。
12772
+ # @type Up: Integer
12773
+ # @param Down: 不在线数
12774
+ # 注意:此字段可能返回 null,表示取不到有效值。
12775
+ # @type Down: Integer
12776
+ # @param Unknown: 未知状态数
12777
+ # 注意:此字段可能返回 null,表示取不到有效值。
12778
+ # @type Unknown: Integer
12779
+
12780
+ attr_accessor :Total, :Up, :Down, :Unknown
12781
+
12782
+ def initialize(total=nil, up=nil, down=nil, unknown=nil)
12783
+ @Total = total
12784
+ @Up = up
12785
+ @Down = down
12786
+ @Unknown = unknown
12787
+ end
12788
+
12789
+ def deserialize(params)
12790
+ @Total = params['Total']
12791
+ @Up = params['Up']
12792
+ @Down = params['Down']
12793
+ @Unknown = params['Unknown']
12794
+ end
12795
+ end
12796
+
12730
12797
  # 任务步骤信息
12731
12798
  class TaskStepInfo < TencentCloud::Common::AbstractModel
12732
12799
  # @param Step: 步骤名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.545
4
+ version: 3.0.547
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-monitor.rb
37
- - lib/v20180724/models.rb
38
37
  - lib/v20180724/client.rb
38
+ - lib/v20180724/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: