tencentcloud-sdk-monitor 3.0.974 → 3.0.976
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180724/models.rb +69 -8
- 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: 2bdbbe1fb91b7691bcb8a403914b2d3ef5cd3f9e
|
4
|
+
data.tar.gz: d831ae1742e823ada05fab55a92d4fe0418c17de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdccaa750f28ba6043f35aab1e33fd18334b8ac7b5941808d13b1926b1e928df293176e974f8e7b966fea15bfdcf840d3ee565951c66d3a7f6d7847fac21f902
|
7
|
+
data.tar.gz: d5efe8fbcf6273536cbd4d8c630820a1fda0f3142b486724082142a5c2839e7cd78966869447b39185711cf9993039ffb5b3b7d83d73f61f85ad7a67ea84b8aa
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.976
|
data/lib/v20180724/models.rb
CHANGED
@@ -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.
|
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-
|
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
|