tencentcloud-sdk-monitor 3.0.802 → 3.0.803

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: 3db9b44777d11929424a1317c9f93dcd0811de6e
4
+ data.tar.gz: 7ff51950638db83696ecd6a60ed2ac01c579a5ec
5
5
  SHA512:
6
- metadata.gz: 15d6015d33d41039a7b34e594fc493a950786916af5740d34b0b03a7678cdc0c4bc081e08b6595dd4bfd9011edcbf7297ad58c81dc417a84ddbe88d85d77cc1e
7
- data.tar.gz: 38b57769318bcab6c7cb5de14333b8cb4668ff2fcc721f6d6cbc428678acd16d0f355fd6fcbd3578a8861f7854094dac05b9edc357c618f6d2d48b982c7e6aa2
6
+ metadata.gz: 8e2b4791d9dcfc4adc3cc13f423687748ed58b5893c52d5c109a1541677897e164582a416f895017b196a4ebfc1a8b46185fe5d9d92a641d7af3b8f99e7f347d
7
+ data.tar.gz: 0ed606612f37e22d2b6f17c4351eedf7cfd901d28a86244023315f24d21285efa19fcdabf2494382b72835eb1155738f13048d796b58bc5a5f964d3bbabd6585
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.802
1
+ 3.0.803
@@ -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.803
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