tencentcloud-sdk-monitor 3.0.802 → 3.0.804

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 +17 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 779bbb103fa5a6518f318cb02409e193bdcb98b2
4
- data.tar.gz: 2e279a20fcb192c162158e8f492a4bd8d92e8a44
3
+ metadata.gz: 3ac195d1bae54328c3e417c25cde4744755817de
4
+ data.tar.gz: ef9c038e2944d2cde4bbed12c84e7941d2aca1e8
5
5
  SHA512:
6
- metadata.gz: 15d6015d33d41039a7b34e594fc493a950786916af5740d34b0b03a7678cdc0c4bc081e08b6595dd4bfd9011edcbf7297ad58c81dc417a84ddbe88d85d77cc1e
7
- data.tar.gz: 38b57769318bcab6c7cb5de14333b8cb4668ff2fcc721f6d6cbc428678acd16d0f355fd6fcbd3578a8861f7854094dac05b9edc357c618f6d2d48b982c7e6aa2
6
+ metadata.gz: 5c4bcac8d43198dc0de517c8d0ac8b7552bceb430c87fc7127a59f5ea8a1583626cc9ac546627ce1cf30f045b48c79958ee46fc9b51d7f11abee28e86eaf2824
7
+ data.tar.gz: 2e00782dfc9b69ab3849f4f58e3ed855b806f52a3c6e4f2203b9c2eeaaa6721079a32af6beb694617a9e7a9aa7e1b8efccb086b02e3244a35cde60297f40895b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.802
1
+ 3.0.804
@@ -1335,10 +1335,13 @@ module TencentCloud
1335
1335
  # @param ProductId: 产品ID
1336
1336
  # 注意:此字段可能返回 null,表示取不到有效值。
1337
1337
  # @type ProductId: String
1338
+ # @param HierarchicalValue: 告警分级阈值配置
1339
+ # 注意:此字段可能返回 null,表示取不到有效值。
1340
+ # @type HierarchicalValue: :class:`Tencentcloud::Monitor.v20180724.models.AlarmHierarchicalValue`
1338
1341
 
1339
- attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :CalcType, :CalcValue, :ContinueTime, :MetricID, :MetricDisplayName, :Period, :RuleID, :Unit, :IsAdvanced, :IsOpen, :ProductId
1342
+ attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :CalcType, :CalcValue, :ContinueTime, :MetricID, :MetricDisplayName, :Period, :RuleID, :Unit, :IsAdvanced, :IsOpen, :ProductId, :HierarchicalValue
1340
1343
 
1341
- def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, calctype=nil, calcvalue=nil, continuetime=nil, metricid=nil, metricdisplayname=nil, period=nil, ruleid=nil, unit=nil, isadvanced=nil, isopen=nil, productid=nil)
1344
+ def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, calctype=nil, calcvalue=nil, continuetime=nil, metricid=nil, metricdisplayname=nil, period=nil, ruleid=nil, unit=nil, isadvanced=nil, isopen=nil, productid=nil, hierarchicalvalue=nil)
1342
1345
  @AlarmNotifyPeriod = alarmnotifyperiod
1343
1346
  @AlarmNotifyType = alarmnotifytype
1344
1347
  @CalcType = calctype
@@ -1352,6 +1355,7 @@ module TencentCloud
1352
1355
  @IsAdvanced = isadvanced
1353
1356
  @IsOpen = isopen
1354
1357
  @ProductId = productid
1358
+ @HierarchicalValue = hierarchicalvalue
1355
1359
  end
1356
1360
 
1357
1361
  def deserialize(params)
@@ -1368,6 +1372,10 @@ module TencentCloud
1368
1372
  @IsAdvanced = params['IsAdvanced']
1369
1373
  @IsOpen = params['IsOpen']
1370
1374
  @ProductId = params['ProductId']
1375
+ unless params['HierarchicalValue'].nil?
1376
+ @HierarchicalValue = AlarmHierarchicalValue.new
1377
+ @HierarchicalValue.deserialize(params['HierarchicalValue'])
1378
+ end
1371
1379
  end
1372
1380
  end
1373
1381
 
@@ -9269,15 +9277,19 @@ module TencentCloud
9269
9277
  # @type EventDisplayName: String
9270
9278
  # @param RuleID: 规则ID
9271
9279
  # @type RuleID: String
9280
+ # @param MetricName: 指标名
9281
+ # 注意:此字段可能返回 null,表示取不到有效值。
9282
+ # @type MetricName: String
9272
9283
 
9273
- attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :EventID, :EventDisplayName, :RuleID
9284
+ attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :EventID, :EventDisplayName, :RuleID, :MetricName
9274
9285
 
9275
- def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, eventid=nil, eventdisplayname=nil, ruleid=nil)
9286
+ def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, eventid=nil, eventdisplayname=nil, ruleid=nil, metricname=nil)
9276
9287
  @AlarmNotifyPeriod = alarmnotifyperiod
9277
9288
  @AlarmNotifyType = alarmnotifytype
9278
9289
  @EventID = eventid
9279
9290
  @EventDisplayName = eventdisplayname
9280
9291
  @RuleID = ruleid
9292
+ @MetricName = metricname
9281
9293
  end
9282
9294
 
9283
9295
  def deserialize(params)
@@ -9286,6 +9298,7 @@ module TencentCloud
9286
9298
  @EventID = params['EventID']
9287
9299
  @EventDisplayName = params['EventDisplayName']
9288
9300
  @RuleID = params['RuleID']
9301
+ @MetricName = params['MetricName']
9289
9302
  end
9290
9303
  end
9291
9304
 
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.802
4
+ version: 3.0.804
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-12 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common