tencentcloud-sdk-monitor 3.0.432 → 3.0.433

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 +39 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f24eeee26c202f63c45e20f6837ee11032afb3c4
4
- data.tar.gz: 8a8f8eff91b83b0831f4265f3e81428c54d6533c
3
+ metadata.gz: 696776babc55e0f555e22b5845884d484f49d250
4
+ data.tar.gz: 32f873f5941b99eafc0e09b8ef5c73f55ee4678e
5
5
  SHA512:
6
- metadata.gz: 1269a552a2d69bd3eaeedb23ff490d847d08e991bbd81fde5b79db30987a7bda796101fc4b4434314a0a3a3094d5bade0719f7f39e69eb2d715265c88031a1e0
7
- data.tar.gz: ff6d715c7734bedaab3f0f79502f2d4190cdfc821febdccbf170ee79de5086110036456e5a0b831dfae3bf93c2787e9d53ff84e2d354645b94bfb08e432739b4
6
+ metadata.gz: 384e8d21b93f70a34e62492a97bf61c245e459aa5be71eb07b31bbe1fa23d4d5773ca8250956c42e71f2b2f35aaef374a461174d59ce7ac1896492f467f74058
7
+ data.tar.gz: fcafd689ea97a7f322b8963df51e00984e42afb7d86fd1b57668c701c31c5277efbac9d721e373e5414ce7ef0c55f96189ba3d73e86ef6fd15597de0efc0b8ee
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.432
1
+ 3.0.433
@@ -41,6 +41,28 @@ module TencentCloud
41
41
  end
42
42
  end
43
43
 
44
+ # 通知模版ID及通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
45
+ class AlarmHierarchicalNotice < TencentCloud::Common::AbstractModel
46
+ # @param NoticeId: 通知模板ID
47
+ # 注意:此字段可能返回 null,表示取不到有效值。
48
+ # @type NoticeId: String
49
+ # @param Classification: 通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type Classification: Array
52
+
53
+ attr_accessor :NoticeId, :Classification
54
+
55
+ def initialize(noticeid=nil, classification=nil)
56
+ @NoticeId = noticeid
57
+ @Classification = classification
58
+ end
59
+
60
+ def deserialize(params)
61
+ @NoticeId = params['NoticeId']
62
+ @Classification = params['Classification']
63
+ end
64
+ end
65
+
44
66
  # 告警分级阈值配置
45
67
  class AlarmHierarchicalValue < TencentCloud::Common::AbstractModel
46
68
  # @param Remind: 提醒等级阈值
@@ -1327,10 +1349,14 @@ module TencentCloud
1327
1349
  # @type Tags: Array
1328
1350
  # @param LogAlarmReqInfo: 日志告警信息
1329
1351
  # @type LogAlarmReqInfo: :class:`Tencentcloud::Monitor.v20180724.models.LogAlarmReq`
1352
+ # @param HierarchicalNotices: 告警分级通知规则配置
1353
+ # @type HierarchicalNotices: Array
1354
+ # @param MigrateFlag: 迁移策略专用字段,0-走鉴权逻辑,1-跳过鉴权逻辑
1355
+ # @type MigrateFlag: Integer
1330
1356
 
1331
- attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo
1357
+ attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo, :HierarchicalNotices, :MigrateFlag
1332
1358
 
1333
- def initialize(_module=nil, policyname=nil, monitortype=nil, namespace=nil, remark=nil, enable=nil, projectid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, triggertasks=nil, filter=nil, groupby=nil, tags=nil, logalarmreqinfo=nil)
1359
+ def initialize(_module=nil, policyname=nil, monitortype=nil, namespace=nil, remark=nil, enable=nil, projectid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, triggertasks=nil, filter=nil, groupby=nil, tags=nil, logalarmreqinfo=nil, hierarchicalnotices=nil, migrateflag=nil)
1334
1360
  @Module = _module
1335
1361
  @PolicyName = policyname
1336
1362
  @MonitorType = monitortype
@@ -1347,6 +1373,8 @@ module TencentCloud
1347
1373
  @GroupBy = groupby
1348
1374
  @Tags = tags
1349
1375
  @LogAlarmReqInfo = logalarmreqinfo
1376
+ @HierarchicalNotices = hierarchicalnotices
1377
+ @MigrateFlag = migrateflag
1350
1378
  end
1351
1379
 
1352
1380
  def deserialize(params)
@@ -1392,6 +1420,15 @@ module TencentCloud
1392
1420
  @LogAlarmReqInfo = LogAlarmReq.new
1393
1421
  @LogAlarmReqInfo.deserialize(params['LogAlarmReqInfo'])
1394
1422
  end
1423
+ unless params['HierarchicalNotices'].nil?
1424
+ @HierarchicalNotices = []
1425
+ params['HierarchicalNotices'].each do |i|
1426
+ alarmhierarchicalnotice_tmp = AlarmHierarchicalNotice.new
1427
+ alarmhierarchicalnotice_tmp.deserialize(i)
1428
+ @HierarchicalNotices << alarmhierarchicalnotice_tmp
1429
+ end
1430
+ end
1431
+ @MigrateFlag = params['MigrateFlag']
1395
1432
  end
1396
1433
  end
1397
1434
 
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.432
4
+ version: 3.0.433
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-20 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common