tencentcloud-sdk-monitor 3.0.1027 → 3.0.1029
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 +45 -13
- 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: d12c10e0d751d48e4fdf8a2faeed3d1d7ca29294
|
4
|
+
data.tar.gz: e00a315c76ca0d308fdb7a96751848b381ccc211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35a20e91c76ae6809c118f7b3032b470e01b441586be57bd26f3e691dceae2c247b4c47eccd1863d8a98b519f9a00046584f485eb6f85a6f31765245fa59caef
|
7
|
+
data.tar.gz: 156f904d063c27c078b879770f9016a117b1bd3a24c308e2fcbe091ab24274a1cdb43876147e4d245f6c48a132a9142c1e5bfbf3d3bc6afa528476d6bbc3aa85
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1029
|
data/lib/v20180724/models.rb
CHANGED
@@ -579,10 +579,19 @@ module TencentCloud
|
|
579
579
|
# @type TagOperation: String
|
580
580
|
# @param NoticeTmplBindInfos: 通知模板绑定内容模板信息
|
581
581
|
# @type NoticeTmplBindInfos: Array
|
582
|
+
# @param HierarchicalNotices: 模板通知的等级
|
583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
584
|
+
# @type HierarchicalNotices: Array
|
585
|
+
# @param NoticeContentTmplBindInfos: 通知模板绑定内容模板信息,同NoticeTmplBindInfos
|
586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
587
|
+
# @type NoticeContentTmplBindInfos: Array
|
588
|
+
# @param PredefinedConfigID: 预设配置id
|
589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
590
|
+
# @type PredefinedConfigID: String
|
582
591
|
|
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
|
592
|
+
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, :HierarchicalNotices, :NoticeContentTmplBindInfos, :PredefinedConfigID
|
584
593
|
|
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)
|
594
|
+
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, hierarchicalnotices=nil, noticecontenttmplbindinfos=nil, predefinedconfigid=nil)
|
586
595
|
@PolicyId = policyid
|
587
596
|
@PolicyName = policyname
|
588
597
|
@Remark = remark
|
@@ -623,6 +632,9 @@ module TencentCloud
|
|
623
632
|
@IsSupportAlarmTag = issupportalarmtag
|
624
633
|
@TagOperation = tagoperation
|
625
634
|
@NoticeTmplBindInfos = noticetmplbindinfos
|
635
|
+
@HierarchicalNotices = hierarchicalnotices
|
636
|
+
@NoticeContentTmplBindInfos = noticecontenttmplbindinfos
|
637
|
+
@PredefinedConfigID = predefinedconfigid
|
626
638
|
end
|
627
639
|
|
628
640
|
def deserialize(params)
|
@@ -720,6 +732,23 @@ module TencentCloud
|
|
720
732
|
@NoticeTmplBindInfos << noticecontenttmplbindinfo_tmp
|
721
733
|
end
|
722
734
|
end
|
735
|
+
unless params['HierarchicalNotices'].nil?
|
736
|
+
@HierarchicalNotices = []
|
737
|
+
params['HierarchicalNotices'].each do |i|
|
738
|
+
alarmhierarchicalnotice_tmp = AlarmHierarchicalNotice.new
|
739
|
+
alarmhierarchicalnotice_tmp.deserialize(i)
|
740
|
+
@HierarchicalNotices << alarmhierarchicalnotice_tmp
|
741
|
+
end
|
742
|
+
end
|
743
|
+
unless params['NoticeContentTmplBindInfos'].nil?
|
744
|
+
@NoticeContentTmplBindInfos = []
|
745
|
+
params['NoticeContentTmplBindInfos'].each do |i|
|
746
|
+
noticecontenttmplbindinfo_tmp = NoticeContentTmplBindInfo.new
|
747
|
+
noticecontenttmplbindinfo_tmp.deserialize(i)
|
748
|
+
@NoticeContentTmplBindInfos << noticecontenttmplbindinfo_tmp
|
749
|
+
end
|
750
|
+
end
|
751
|
+
@PredefinedConfigID = params['PredefinedConfigID']
|
723
752
|
end
|
724
753
|
end
|
725
754
|
|
@@ -4419,13 +4448,7 @@ module TencentCloud
|
|
4419
4448
|
# @param Namespaces: 根据命名空间过滤,不同策略类型的值详见
|
4420
4449
|
# [策略类型列表](https://cloud.tencent.com/document/product/248/50397)当Dimension不为空时,该项为必填项
|
4421
4450
|
# @type Namespaces: Array
|
4422
|
-
# @param Dimensions: 告警对象列表,JSON
|
4423
|
-
# `[ {"Dimensions": {"unInstanceId": "ins-qr8d555g"}}, {"Dimensions": {"unInstanceId": "ins-qr8d555h"}} ]`
|
4424
|
-
# 具体也可以参考下方的示例 2。
|
4425
|
-
|
4426
|
-
# 不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
4427
|
-
|
4428
|
-
# 注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
4451
|
+
# @param Dimensions: 告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:`[[{"name":"unInstanceId","value":"ins-qr888845g"}]]`具体也可以参考下方的示例 2。不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
4429
4452
|
# @type Dimensions: String
|
4430
4453
|
# @param ReceiverUids: 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段
|
4431
4454
|
# @type ReceiverUids: Array
|
@@ -4469,10 +4492,12 @@ module TencentCloud
|
|
4469
4492
|
# @type ReceiverOnCallFormIDs: Array
|
4470
4493
|
# @param NoticeContentTmplIDs: 通知内容模板ID筛选
|
4471
4494
|
# @type NoticeContentTmplIDs: Array
|
4495
|
+
# @param IsPredefined: 是否为预设策略,1是,0否
|
4496
|
+
# @type IsPredefined: Integer
|
4472
4497
|
|
4473
|
-
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
|
4498
|
+
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, :IsPredefined
|
4474
4499
|
|
4475
|
-
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)
|
4500
|
+
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, ispredefined=nil)
|
4476
4501
|
@Module = _module
|
4477
4502
|
@PageNumber = pagenumber
|
4478
4503
|
@PageSize = pagesize
|
@@ -4500,6 +4525,7 @@ module TencentCloud
|
|
4500
4525
|
@PromInsId = prominsid
|
4501
4526
|
@ReceiverOnCallFormIDs = receiveroncallformids
|
4502
4527
|
@NoticeContentTmplIDs = noticecontenttmplids
|
4528
|
+
@IsPredefined = ispredefined
|
4503
4529
|
end
|
4504
4530
|
|
4505
4531
|
def deserialize(params)
|
@@ -4544,6 +4570,7 @@ module TencentCloud
|
|
4544
4570
|
@PromInsId = params['PromInsId']
|
4545
4571
|
@ReceiverOnCallFormIDs = params['ReceiverOnCallFormIDs']
|
4546
4572
|
@NoticeContentTmplIDs = params['NoticeContentTmplIDs']
|
4573
|
+
@IsPredefined = params['IsPredefined']
|
4547
4574
|
end
|
4548
4575
|
end
|
4549
4576
|
|
@@ -14559,16 +14586,20 @@ module TencentCloud
|
|
14559
14586
|
# @param Weekday: 通知周期 1-7表示周一到周日
|
14560
14587
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14561
14588
|
# @type Weekday: Array
|
14589
|
+
# @param GroupMembers: 组名
|
14590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14591
|
+
# @type GroupMembers: String
|
14562
14592
|
|
14563
|
-
attr_accessor :URL, :IsValid, :ValidationCode, :StartTime, :EndTime, :Weekday
|
14593
|
+
attr_accessor :URL, :IsValid, :ValidationCode, :StartTime, :EndTime, :Weekday, :GroupMembers
|
14564
14594
|
|
14565
|
-
def initialize(url=nil, isvalid=nil, validationcode=nil, starttime=nil, endtime=nil, weekday=nil)
|
14595
|
+
def initialize(url=nil, isvalid=nil, validationcode=nil, starttime=nil, endtime=nil, weekday=nil, groupmembers=nil)
|
14566
14596
|
@URL = url
|
14567
14597
|
@IsValid = isvalid
|
14568
14598
|
@ValidationCode = validationcode
|
14569
14599
|
@StartTime = starttime
|
14570
14600
|
@EndTime = endtime
|
14571
14601
|
@Weekday = weekday
|
14602
|
+
@GroupMembers = groupmembers
|
14572
14603
|
end
|
14573
14604
|
|
14574
14605
|
def deserialize(params)
|
@@ -14578,6 +14609,7 @@ module TencentCloud
|
|
14578
14609
|
@StartTime = params['StartTime']
|
14579
14610
|
@EndTime = params['EndTime']
|
14580
14611
|
@Weekday = params['Weekday']
|
14612
|
+
@GroupMembers = params['GroupMembers']
|
14581
14613
|
end
|
14582
14614
|
end
|
14583
14615
|
|
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.1029
|
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-03-
|
11
|
+
date: 2025-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|