tencentcloud-sdk-cls 3.0.977 → 3.0.978
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/v20201016/models.rb +14 -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: b3fd8a007b5fb58934ddfa9cb9d82511aa440ea8
|
4
|
+
data.tar.gz: 1df704618ebf4cb2f071d7e5cd6ea3c36e20dfbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 473d6712c85468be1d7e48be5e90282f8b9efe651347d89f3508034877db7e28121ec32dfa92eba78ab03c217664c777c7217b7b9a6eaee899ad1febf849f7cd
|
7
|
+
data.tar.gz: 5858fd8003c462f00c8b3c3b0568d984b0f0c13e1775baca069acf783bcc0bc8e22e4ed52c673af187a2ee62278fed881904a6448f449de4db043a01e261908b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.978
|
data/lib/v20201016/models.rb
CHANGED
@@ -184,14 +184,17 @@ module TencentCloud
|
|
184
184
|
# @param AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
185
185
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
186
186
|
# @type AlarmLevel: Integer
|
187
|
+
# @param Classifications: 告警附加分类字段。
|
188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
189
|
+
# @type Classifications: Array
|
187
190
|
# @param MultiConditions: 多触发条件。与
|
188
191
|
# Condition互斥。
|
189
192
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
190
193
|
# @type MultiConditions: Array
|
191
194
|
|
192
|
-
attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :MultiConditions
|
195
|
+
attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :Classifications, :MultiConditions
|
193
196
|
|
194
|
-
def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil, alarmlevel=nil, multiconditions=nil)
|
197
|
+
def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil, alarmlevel=nil, classifications=nil, multiconditions=nil)
|
195
198
|
@Name = name
|
196
199
|
@AlarmTargets = alarmtargets
|
197
200
|
@MonitorTime = monitortime
|
@@ -210,6 +213,7 @@ module TencentCloud
|
|
210
213
|
@GroupTriggerCondition = grouptriggercondition
|
211
214
|
@MonitorObjectType = monitorobjecttype
|
212
215
|
@AlarmLevel = alarmlevel
|
216
|
+
@Classifications = classifications
|
213
217
|
@MultiConditions = multiconditions
|
214
218
|
end
|
215
219
|
|
@@ -252,6 +256,14 @@ module TencentCloud
|
|
252
256
|
@GroupTriggerCondition = params['GroupTriggerCondition']
|
253
257
|
@MonitorObjectType = params['MonitorObjectType']
|
254
258
|
@AlarmLevel = params['AlarmLevel']
|
259
|
+
unless params['Classifications'].nil?
|
260
|
+
@Classifications = []
|
261
|
+
params['Classifications'].each do |i|
|
262
|
+
alarmclassification_tmp = AlarmClassification.new
|
263
|
+
alarmclassification_tmp.deserialize(i)
|
264
|
+
@Classifications << alarmclassification_tmp
|
265
|
+
end
|
266
|
+
end
|
255
267
|
unless params['MultiConditions'].nil?
|
256
268
|
@MultiConditions = []
|
257
269
|
params['MultiConditions'].each do |i|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.978
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|