tencentcloud-sdk-monitor 3.0.430 → 3.0.431
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 +37 -2
- 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: a872bff2914e4ba15ed349c5c1ed188d579d11e8
|
4
|
+
data.tar.gz: efe1f3b5f56bb043caa3532a0a94865cb72357b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f481c31404b3d0254798c5227b3d6c1687ffd04d1c3198e3c75c0ab45f5cd3b1b9db46926f9199e34c1073c25aae0d3a4714d16692239d420f73f59e760b1a
|
7
|
+
data.tar.gz: 424f780b3173319d908b6c1de172e92d140c0caa045f5f227336af3c0517c89e11b7387964bdaa3c340234c0686079cb2354bb2153daa85a35134d0ec0313d95
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.431
|
data/lib/v20180724/models.rb
CHANGED
@@ -41,6 +41,33 @@ module TencentCloud
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# 告警分级阈值配置
|
45
|
+
class AlarmHierarchicalValue < TencentCloud::Common::AbstractModel
|
46
|
+
# @param Remind: 提醒等级阈值
|
47
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
48
|
+
# @type Remind: String
|
49
|
+
# @param Warn: 警告等级阈值
|
50
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
# @type Warn: String
|
52
|
+
# @param Serious: 严重等级阈值
|
53
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
# @type Serious: String
|
55
|
+
|
56
|
+
attr_accessor :Remind, :Warn, :Serious
|
57
|
+
|
58
|
+
def initialize(remind=nil, warn=nil, serious=nil)
|
59
|
+
@Remind = remind
|
60
|
+
@Warn = warn
|
61
|
+
@Serious = serious
|
62
|
+
end
|
63
|
+
|
64
|
+
def deserialize(params)
|
65
|
+
@Remind = params['Remind']
|
66
|
+
@Warn = params['Warn']
|
67
|
+
@Serious = params['Serious']
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
44
71
|
# 告警历史数据
|
45
72
|
class AlarmHistory < TencentCloud::Common::AbstractModel
|
46
73
|
# @param AlarmId: 告警历史Id
|
@@ -672,10 +699,13 @@ module TencentCloud
|
|
672
699
|
# @param ValueMin: 最小值
|
673
700
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
674
701
|
# @type ValueMin: Float
|
702
|
+
# @param HierarchicalValue: 告警分级阈值配置
|
703
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
704
|
+
# @type HierarchicalValue: :class:`Tencentcloud::Monitor.v20180724.models.AlarmHierarchicalValue`
|
675
705
|
|
676
|
-
attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType, :IsAdvanced, :IsOpen, :ProductId, :ValueMax, :ValueMin
|
706
|
+
attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType, :IsAdvanced, :IsOpen, :ProductId, :ValueMax, :ValueMin, :HierarchicalValue
|
677
707
|
|
678
|
-
def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil, isadvanced=nil, isopen=nil, productid=nil, valuemax=nil, valuemin=nil)
|
708
|
+
def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil, isadvanced=nil, isopen=nil, productid=nil, valuemax=nil, valuemin=nil, hierarchicalvalue=nil)
|
679
709
|
@MetricName = metricname
|
680
710
|
@Period = period
|
681
711
|
@Operator = operator
|
@@ -692,6 +722,7 @@ module TencentCloud
|
|
692
722
|
@ProductId = productid
|
693
723
|
@ValueMax = valuemax
|
694
724
|
@ValueMin = valuemin
|
725
|
+
@HierarchicalValue = hierarchicalvalue
|
695
726
|
end
|
696
727
|
|
697
728
|
def deserialize(params)
|
@@ -714,6 +745,10 @@ module TencentCloud
|
|
714
745
|
@ProductId = params['ProductId']
|
715
746
|
@ValueMax = params['ValueMax']
|
716
747
|
@ValueMin = params['ValueMin']
|
748
|
+
unless params['HierarchicalValue'].nil?
|
749
|
+
@HierarchicalValue = AlarmHierarchicalValue.new
|
750
|
+
@HierarchicalValue.deserialize(params['HierarchicalValue'])
|
751
|
+
end
|
717
752
|
end
|
718
753
|
end
|
719
754
|
|
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.431
|
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-10-
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|