tencentcloud-sdk-monitor 3.0.974 → 3.0.976

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 +69 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef366d352328a02ce2afd8cf6c9de102c304cac5
4
- data.tar.gz: 02aa3ddf55cf71e844d32ad65fa764963729ee68
3
+ metadata.gz: 2bdbbe1fb91b7691bcb8a403914b2d3ef5cd3f9e
4
+ data.tar.gz: d831ae1742e823ada05fab55a92d4fe0418c17de
5
5
  SHA512:
6
- metadata.gz: f2ae4739e48aaf3000ed63b715d0357c67d9db0cfab83f6db3cbd6298ee7888acdc484b9f24456aba42d71dc9e4657dba20d42de3f229d98b782e67784ab049c
7
- data.tar.gz: 474e281fb1cb1b1e0e7768abb3d6eaee2bf69681cbaab9ad4cf57476fae280957336aae881c6c8c3ba877481afb986bded20ac1263f791bfb1932fa47ed096a2
6
+ metadata.gz: fdccaa750f28ba6043f35aab1e33fd18334b8ac7b5941808d13b1926b1e928df293176e974f8e7b966fea15bfdcf840d3ee565951c66d3a7f6d7847fac21f902
7
+ data.tar.gz: d5efe8fbcf6273536cbd4d8c630820a1fda0f3142b486724082142a5c2839e7cd78966869447b39185711cf9993039ffb5b3b7d83d73f61f85ad7a67ea84b8aa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.974
1
+ 3.0.976
@@ -577,10 +577,12 @@ module TencentCloud
577
577
  # @param TagOperation: 多标签交/并集关系
578
578
  # 注意:此字段可能返回 null,表示取不到有效值。
579
579
  # @type TagOperation: String
580
+ # @param NoticeTmplBindInfos: 通知模板绑定内容模板信息
581
+ # @type NoticeTmplBindInfos: Array
580
582
 
581
- attr_accessor :PolicyId, :PolicyName, :Remark, :MonitorType, :Enable, :UseSum, :ProjectId, :ProjectName, :Namespace, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :Notices, :TriggerTasks, :ConditionsTemp, :LastEditUin, :UpdateTime, :InsertTime, :Region, :NamespaceShowName, :IsDefault, :CanSetDefault, :InstanceGroupId, :InstanceSum, :InstanceGroupName, :RuleType, :OriginId, :TagInstances, :Filter, :GroupBy, :FilterDimensionsParam, :IsOneClick, :OneClickStatus, :AdvancedMetricNumber, :IsBindAll, :Tags, :IsSupportAlarmTag, :TagOperation
583
+ attr_accessor :PolicyId, :PolicyName, :Remark, :MonitorType, :Enable, :UseSum, :ProjectId, :ProjectName, :Namespace, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :Notices, :TriggerTasks, :ConditionsTemp, :LastEditUin, :UpdateTime, :InsertTime, :Region, :NamespaceShowName, :IsDefault, :CanSetDefault, :InstanceGroupId, :InstanceSum, :InstanceGroupName, :RuleType, :OriginId, :TagInstances, :Filter, :GroupBy, :FilterDimensionsParam, :IsOneClick, :OneClickStatus, :AdvancedMetricNumber, :IsBindAll, :Tags, :IsSupportAlarmTag, :TagOperation, :NoticeTmplBindInfos
582
584
 
583
- def initialize(policyid=nil, policyname=nil, remark=nil, monitortype=nil, enable=nil, usesum=nil, projectid=nil, projectname=nil, namespace=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, notices=nil, triggertasks=nil, conditionstemp=nil, lastedituin=nil, updatetime=nil, inserttime=nil, region=nil, namespaceshowname=nil, isdefault=nil, cansetdefault=nil, instancegroupid=nil, instancesum=nil, instancegroupname=nil, ruletype=nil, originid=nil, taginstances=nil, filter=nil, groupby=nil, filterdimensionsparam=nil, isoneclick=nil, oneclickstatus=nil, advancedmetricnumber=nil, isbindall=nil, tags=nil, issupportalarmtag=nil, tagoperation=nil)
585
+ def initialize(policyid=nil, policyname=nil, remark=nil, monitortype=nil, enable=nil, usesum=nil, projectid=nil, projectname=nil, namespace=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, notices=nil, triggertasks=nil, conditionstemp=nil, lastedituin=nil, updatetime=nil, inserttime=nil, region=nil, namespaceshowname=nil, isdefault=nil, cansetdefault=nil, instancegroupid=nil, instancesum=nil, instancegroupname=nil, ruletype=nil, originid=nil, taginstances=nil, filter=nil, groupby=nil, filterdimensionsparam=nil, isoneclick=nil, oneclickstatus=nil, advancedmetricnumber=nil, isbindall=nil, tags=nil, issupportalarmtag=nil, tagoperation=nil, noticetmplbindinfos=nil)
584
586
  @PolicyId = policyid
585
587
  @PolicyName = policyname
586
588
  @Remark = remark
@@ -620,6 +622,7 @@ module TencentCloud
620
622
  @Tags = tags
621
623
  @IsSupportAlarmTag = issupportalarmtag
622
624
  @TagOperation = tagoperation
625
+ @NoticeTmplBindInfos = noticetmplbindinfos
623
626
  end
624
627
 
625
628
  def deserialize(params)
@@ -709,6 +712,14 @@ module TencentCloud
709
712
  end
710
713
  @IsSupportAlarmTag = params['IsSupportAlarmTag']
711
714
  @TagOperation = params['TagOperation']
715
+ unless params['NoticeTmplBindInfos'].nil?
716
+ @NoticeTmplBindInfos = []
717
+ params['NoticeTmplBindInfos'].each do |i|
718
+ noticecontenttmplbindinfo_tmp = NoticeContentTmplBindInfo.new
719
+ noticecontenttmplbindinfo_tmp.deserialize(i)
720
+ @NoticeTmplBindInfos << noticecontenttmplbindinfo_tmp
721
+ end
722
+ end
712
723
  end
713
724
  end
714
725
 
@@ -1554,10 +1565,14 @@ module TencentCloud
1554
1565
  # @type MigrateFlag: Integer
1555
1566
  # @param EbSubject: 事件配置的告警
1556
1567
  # @type EbSubject: String
1568
+ # @param AdditionalAlarmContent: 附加告警内容
1569
+ # @type AdditionalAlarmContent: String
1570
+ # @param NoticeContentTmplBindInfos: 通知模板绑定信息
1571
+ # @type NoticeContentTmplBindInfos: Array
1557
1572
 
1558
- attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo, :HierarchicalNotices, :MigrateFlag, :EbSubject
1573
+ attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo, :HierarchicalNotices, :MigrateFlag, :EbSubject, :AdditionalAlarmContent, :NoticeContentTmplBindInfos
1559
1574
 
1560
- 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, ebsubject=nil)
1575
+ 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, ebsubject=nil, additionalalarmcontent=nil, noticecontenttmplbindinfos=nil)
1561
1576
  @Module = _module
1562
1577
  @PolicyName = policyname
1563
1578
  @MonitorType = monitortype
@@ -1577,6 +1592,8 @@ module TencentCloud
1577
1592
  @HierarchicalNotices = hierarchicalnotices
1578
1593
  @MigrateFlag = migrateflag
1579
1594
  @EbSubject = ebsubject
1595
+ @AdditionalAlarmContent = additionalalarmcontent
1596
+ @NoticeContentTmplBindInfos = noticecontenttmplbindinfos
1580
1597
  end
1581
1598
 
1582
1599
  def deserialize(params)
@@ -1632,6 +1649,15 @@ module TencentCloud
1632
1649
  end
1633
1650
  @MigrateFlag = params['MigrateFlag']
1634
1651
  @EbSubject = params['EbSubject']
1652
+ @AdditionalAlarmContent = params['AdditionalAlarmContent']
1653
+ unless params['NoticeContentTmplBindInfos'].nil?
1654
+ @NoticeContentTmplBindInfos = []
1655
+ params['NoticeContentTmplBindInfos'].each do |i|
1656
+ noticecontenttmplbindinfo_tmp = NoticeContentTmplBindInfo.new
1657
+ noticecontenttmplbindinfo_tmp.deserialize(i)
1658
+ @NoticeContentTmplBindInfos << noticecontenttmplbindinfo_tmp
1659
+ end
1660
+ end
1635
1661
  end
1636
1662
  end
1637
1663
 
@@ -4355,10 +4381,12 @@ module TencentCloud
4355
4381
  # @type PromInsId: String
4356
4382
  # @param ReceiverOnCallFormIDs: 根据排班表搜索
4357
4383
  # @type ReceiverOnCallFormIDs: Array
4384
+ # @param NoticeContentTmplIDs: 通知内容模板ID筛选
4385
+ # @type NoticeContentTmplIDs: Array
4358
4386
 
4359
- attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence, :TriggerTasks, :OneClickPolicyType, :NotBindAll, :NotInstanceGroup, :Tags, :PromInsId, :ReceiverOnCallFormIDs
4387
+ attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence, :TriggerTasks, :OneClickPolicyType, :NotBindAll, :NotInstanceGroup, :Tags, :PromInsId, :ReceiverOnCallFormIDs, :NoticeContentTmplIDs
4360
4388
 
4361
- def initialize(_module=nil, pagenumber=nil, pagesize=nil, policyname=nil, monitortypes=nil, namespaces=nil, dimensions=nil, receiveruids=nil, receivergroups=nil, policytype=nil, field=nil, order=nil, projectids=nil, noticeids=nil, ruletypes=nil, enable=nil, notbindingnoticerule=nil, instancegroupid=nil, needcorrespondence=nil, triggertasks=nil, oneclickpolicytype=nil, notbindall=nil, notinstancegroup=nil, tags=nil, prominsid=nil, receiveroncallformids=nil)
4389
+ def initialize(_module=nil, pagenumber=nil, pagesize=nil, policyname=nil, monitortypes=nil, namespaces=nil, dimensions=nil, receiveruids=nil, receivergroups=nil, policytype=nil, field=nil, order=nil, projectids=nil, noticeids=nil, ruletypes=nil, enable=nil, notbindingnoticerule=nil, instancegroupid=nil, needcorrespondence=nil, triggertasks=nil, oneclickpolicytype=nil, notbindall=nil, notinstancegroup=nil, tags=nil, prominsid=nil, receiveroncallformids=nil, noticecontenttmplids=nil)
4362
4390
  @Module = _module
4363
4391
  @PageNumber = pagenumber
4364
4392
  @PageSize = pagesize
@@ -4385,6 +4413,7 @@ module TencentCloud
4385
4413
  @Tags = tags
4386
4414
  @PromInsId = prominsid
4387
4415
  @ReceiverOnCallFormIDs = receiveroncallformids
4416
+ @NoticeContentTmplIDs = noticecontenttmplids
4388
4417
  end
4389
4418
 
4390
4419
  def deserialize(params)
@@ -4428,6 +4457,7 @@ module TencentCloud
4428
4457
  end
4429
4458
  @PromInsId = params['PromInsId']
4430
4459
  @ReceiverOnCallFormIDs = params['ReceiverOnCallFormIDs']
4460
+ @NoticeContentTmplIDs = params['NoticeContentTmplIDs']
4431
4461
  end
4432
4462
  end
4433
4463
 
@@ -10706,15 +10736,18 @@ module TencentCloud
10706
10736
  # @type PolicyIds: Array
10707
10737
  # @param HierarchicalNotices: 告警分级通知规则配置
10708
10738
  # @type HierarchicalNotices: Array
10739
+ # @param NoticeContentTmplBindInfos: 通知内容模板绑定信息
10740
+ # @type NoticeContentTmplBindInfos: Array
10709
10741
 
10710
- attr_accessor :Module, :PolicyId, :NoticeIds, :PolicyIds, :HierarchicalNotices
10742
+ attr_accessor :Module, :PolicyId, :NoticeIds, :PolicyIds, :HierarchicalNotices, :NoticeContentTmplBindInfos
10711
10743
 
10712
- def initialize(_module=nil, policyid=nil, noticeids=nil, policyids=nil, hierarchicalnotices=nil)
10744
+ def initialize(_module=nil, policyid=nil, noticeids=nil, policyids=nil, hierarchicalnotices=nil, noticecontenttmplbindinfos=nil)
10713
10745
  @Module = _module
10714
10746
  @PolicyId = policyid
10715
10747
  @NoticeIds = noticeids
10716
10748
  @PolicyIds = policyids
10717
10749
  @HierarchicalNotices = hierarchicalnotices
10750
+ @NoticeContentTmplBindInfos = noticecontenttmplbindinfos
10718
10751
  end
10719
10752
 
10720
10753
  def deserialize(params)
@@ -10730,6 +10763,14 @@ module TencentCloud
10730
10763
  @HierarchicalNotices << alarmhierarchicalnotice_tmp
10731
10764
  end
10732
10765
  end
10766
+ unless params['NoticeContentTmplBindInfos'].nil?
10767
+ @NoticeContentTmplBindInfos = []
10768
+ params['NoticeContentTmplBindInfos'].each do |i|
10769
+ noticecontenttmplbindinfo_tmp = NoticeContentTmplBindInfo.new
10770
+ noticecontenttmplbindinfo_tmp.deserialize(i)
10771
+ @NoticeContentTmplBindInfos << noticecontenttmplbindinfo_tmp
10772
+ end
10773
+ end
10733
10774
  end
10734
10775
  end
10735
10776
 
@@ -11498,6 +11539,26 @@ module TencentCloud
11498
11539
  end
11499
11540
  end
11500
11541
 
11542
+ # 通知内容模板绑定信息
11543
+ class NoticeContentTmplBindInfo < TencentCloud::Common::AbstractModel
11544
+ # @param ContentTmplID: 通知内容模板ID
11545
+ # @type ContentTmplID: String
11546
+ # @param NoticeID: 通知模板ID
11547
+ # @type NoticeID: String
11548
+
11549
+ attr_accessor :ContentTmplID, :NoticeID
11550
+
11551
+ def initialize(contenttmplid=nil, noticeid=nil)
11552
+ @ContentTmplID = contenttmplid
11553
+ @NoticeID = noticeid
11554
+ end
11555
+
11556
+ def deserialize(params)
11557
+ @ContentTmplID = params['ContentTmplID']
11558
+ @NoticeID = params['NoticeID']
11559
+ end
11560
+ end
11561
+
11501
11562
  # 维度支持的操作符信息
11502
11563
  class Operator < TencentCloud::Common::AbstractModel
11503
11564
  # @param Id: 运算符标识
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.974
4
+ version: 3.0.976
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-02 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common