tencentcloud-sdk-monitor 3.0.546 → 3.0.548
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/v20180724/models.rb +77 -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: 56a3f3dd2e70943f773b426247dbc8a724fbe548
|
4
|
+
data.tar.gz: 0b567209352f6a1b7cc8f6b8513a0077ad1450a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ed555a2435e85d9975805120920e82a3ea479154c588a4b6475613c4cd33342adaac682814cbda343a0f11e10a8994017c607e38ab7d58b05fe64849e3e1fb
|
7
|
+
data.tar.gz: ba9a0944aca9f90061b47e98f0ade87b4cd1e32bfdb81584ad0b91d12c49c6054b8801577b1bc5c3a95d792003a8d620061ebf01ef2d1ac1d889002105576c60
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.548
|
data/lib/v20180724/models.rb
CHANGED
@@ -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
|
@@ -10899,7 +10911,7 @@ module TencentCloud
|
|
10899
10911
|
end
|
10900
10912
|
end
|
10901
10913
|
|
10902
|
-
#
|
10914
|
+
# 云产品监控支持的产品简要信息
|
10903
10915
|
class ProductSimple < TencentCloud::Common::AbstractModel
|
10904
10916
|
# @param Namespace: 命名空间
|
10905
10917
|
# @type Namespace: String
|
@@ -11202,7 +11214,7 @@ module TencentCloud
|
|
11202
11214
|
end
|
11203
11215
|
end
|
11204
11216
|
|
11205
|
-
#
|
11217
|
+
# 与腾讯云可观测平台融合托管 Prometheus 实例,关联集群基础信息
|
11206
11218
|
class PrometheusClusterAgentBasic < TencentCloud::Common::AbstractModel
|
11207
11219
|
# @param Region: 集群ID
|
11208
11220
|
# @type Region: String
|
@@ -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: 步骤名称
|
@@ -12902,7 +12969,7 @@ module TencentCloud
|
|
12902
12969
|
end
|
12903
12970
|
end
|
12904
12971
|
|
12905
|
-
#
|
12972
|
+
# 告警通知模板 - 回调通知详情
|
12906
12973
|
class URLNotice < TencentCloud::Common::AbstractModel
|
12907
12974
|
# @param URL: 回调 url(限长256字符)
|
12908
12975
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -13941,7 +14008,7 @@ module TencentCloud
|
|
13941
14008
|
end
|
13942
14009
|
end
|
13943
14010
|
|
13944
|
-
#
|
14011
|
+
# 告警通知模板 - 用户通知详情
|
13945
14012
|
class UserNotice < TencentCloud::Common::AbstractModel
|
13946
14013
|
# @param ReceiverType: 接收者类型 USER=用户 GROUP=用户组
|
13947
14014
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
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.
|
4
|
+
version: 3.0.548
|
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-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|