tencentcloud-sdk-monitor 1.0.257 → 1.0.261
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 +23 -7
- 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: d0e3b127490c7de2d2c78ba587df7ac256f9957c
|
4
|
+
data.tar.gz: 1981b43a253aba6dfa0ba3bccd1119701d26f841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19416448f0592fdb2d97a6179746f8b78d12938b30f591e25bfaa1618a35e03126db9b05e9b3b260e5c779c345174725d1f0c7c0135913569818a6982796c353
|
7
|
+
data.tar.gz: 8bcc0fc243bcd938aeee232d4b31d1179787e058ff1326f9bdcb4dc60feb2f807807e7258aa086ba64e2fcb33162dc6d381bd4a417348d387dc8c4e159364f26
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.261
|
data/lib/v20180724/models.rb
CHANGED
@@ -365,10 +365,13 @@ module TencentCloud
|
|
365
365
|
# @param TagInstances: 标签
|
366
366
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
367
367
|
# @type TagInstances: Array
|
368
|
+
# @param FilterDimensionsParam: 策略关联的过滤维度信息
|
369
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
370
|
+
# @type FilterDimensionsParam: String
|
368
371
|
|
369
|
-
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
|
372
|
+
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, :FilterDimensionsParam
|
370
373
|
|
371
|
-
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)
|
374
|
+
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, filterdimensionsparam=nil)
|
372
375
|
@PolicyId = policyid
|
373
376
|
@PolicyName = policyname
|
374
377
|
@Remark = remark
|
@@ -398,6 +401,7 @@ module TencentCloud
|
|
398
401
|
@RuleType = ruletype
|
399
402
|
@OriginId = originid
|
400
403
|
@TagInstances = taginstances
|
404
|
+
@FilterDimensionsParam = filterdimensionsparam
|
401
405
|
end
|
402
406
|
|
403
407
|
def deserialize(params)
|
@@ -460,6 +464,7 @@ module TencentCloud
|
|
460
464
|
@TagInstances << taginstance_tmp
|
461
465
|
end
|
462
466
|
end
|
467
|
+
@FilterDimensionsParam = params['FilterDimensionsParam']
|
463
468
|
end
|
464
469
|
end
|
465
470
|
|
@@ -2143,6 +2148,8 @@ module TencentCloud
|
|
2143
2148
|
# 具体也可以参考下方的示例 2。
|
2144
2149
|
|
2145
2150
|
# 不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
2151
|
+
|
2152
|
+
# 注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
|
2146
2153
|
# @type Dimensions: String
|
2147
2154
|
# @param ReceiverUids: 根据接收人搜索,可以使用“访问管理”的 [拉取子用户 ListUsers](https://cloud.tencent.com/document/product/598/34587) 接口获取用户列表 或 [查询子用户 GetUser](https://cloud.tencent.com/document/product/598/34590) 接口查询子用户详情,此处填入返回结果中的 `Uid` 字段
|
2148
2155
|
# @type ReceiverUids: Array
|
@@ -2168,10 +2175,12 @@ module TencentCloud
|
|
2168
2175
|
# @type NotBindingNoticeRule: Integer
|
2169
2176
|
# @param InstanceGroupId: 实例分组id
|
2170
2177
|
# @type InstanceGroupId: Integer
|
2178
|
+
# @param NeedCorrespondence: 是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0
|
2179
|
+
# @type NeedCorrespondence: Integer
|
2171
2180
|
|
2172
|
-
attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId
|
2181
|
+
attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence
|
2173
2182
|
|
2174
|
-
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)
|
2183
|
+
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)
|
2175
2184
|
@Module = _module
|
2176
2185
|
@PageNumber = pagenumber
|
2177
2186
|
@PageSize = pagesize
|
@@ -2190,6 +2199,7 @@ module TencentCloud
|
|
2190
2199
|
@Enable = enable
|
2191
2200
|
@NotBindingNoticeRule = notbindingnoticerule
|
2192
2201
|
@InstanceGroupId = instancegroupid
|
2202
|
+
@NeedCorrespondence = needcorrespondence
|
2193
2203
|
end
|
2194
2204
|
|
2195
2205
|
def deserialize(params)
|
@@ -2211,6 +2221,7 @@ module TencentCloud
|
|
2211
2221
|
@Enable = params['Enable']
|
2212
2222
|
@NotBindingNoticeRule = params['NotBindingNoticeRule']
|
2213
2223
|
@InstanceGroupId = params['InstanceGroupId']
|
2224
|
+
@NeedCorrespondence = params['NeedCorrespondence']
|
2214
2225
|
end
|
2215
2226
|
end
|
2216
2227
|
|
@@ -6678,7 +6689,7 @@ module TencentCloud
|
|
6678
6689
|
# @param EndTime: 通知结束时间 00:00:00 开始的秒数(取值范围0-86399)
|
6679
6690
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6680
6691
|
# @type EndTime: Integer
|
6681
|
-
# @param NoticeWay: 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信
|
6692
|
+
# @param NoticeWay: 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信
|
6682
6693
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6683
6694
|
# @type NoticeWay: Array
|
6684
6695
|
# @param UserIds: 用户 uid 列表
|
@@ -6702,10 +6713,13 @@ module TencentCloud
|
|
6702
6713
|
# @param NeedPhoneArriveNotice: 是否需要触达通知 0=否 1=是
|
6703
6714
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6704
6715
|
# @type NeedPhoneArriveNotice: Integer
|
6716
|
+
# @param PhoneCallType: 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询
|
6717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6718
|
+
# @type PhoneCallType: String
|
6705
6719
|
|
6706
|
-
attr_accessor :ReceiverType, :StartTime, :EndTime, :NoticeWay, :UserIds, :GroupIds, :PhoneOrder, :PhoneCircleTimes, :PhoneInnerInterval, :PhoneCircleInterval, :NeedPhoneArriveNotice
|
6720
|
+
attr_accessor :ReceiverType, :StartTime, :EndTime, :NoticeWay, :UserIds, :GroupIds, :PhoneOrder, :PhoneCircleTimes, :PhoneInnerInterval, :PhoneCircleInterval, :NeedPhoneArriveNotice, :PhoneCallType
|
6707
6721
|
|
6708
|
-
def initialize(receivertype=nil, starttime=nil, endtime=nil, noticeway=nil, userids=nil, groupids=nil, phoneorder=nil, phonecircletimes=nil, phoneinnerinterval=nil, phonecircleinterval=nil, needphonearrivenotice=nil)
|
6722
|
+
def initialize(receivertype=nil, starttime=nil, endtime=nil, noticeway=nil, userids=nil, groupids=nil, phoneorder=nil, phonecircletimes=nil, phoneinnerinterval=nil, phonecircleinterval=nil, needphonearrivenotice=nil, phonecalltype=nil)
|
6709
6723
|
@ReceiverType = receivertype
|
6710
6724
|
@StartTime = starttime
|
6711
6725
|
@EndTime = endtime
|
@@ -6717,6 +6731,7 @@ module TencentCloud
|
|
6717
6731
|
@PhoneInnerInterval = phoneinnerinterval
|
6718
6732
|
@PhoneCircleInterval = phonecircleinterval
|
6719
6733
|
@NeedPhoneArriveNotice = needphonearrivenotice
|
6734
|
+
@PhoneCallType = phonecalltype
|
6720
6735
|
end
|
6721
6736
|
|
6722
6737
|
def deserialize(params)
|
@@ -6731,6 +6746,7 @@ module TencentCloud
|
|
6731
6746
|
@PhoneInnerInterval = params['PhoneInnerInterval']
|
6732
6747
|
@PhoneCircleInterval = params['PhoneCircleInterval']
|
6733
6748
|
@NeedPhoneArriveNotice = params['NeedPhoneArriveNotice']
|
6749
|
+
@PhoneCallType = params['PhoneCallType']
|
6734
6750
|
end
|
6735
6751
|
end
|
6736
6752
|
|
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: 1.0.
|
4
|
+
version: 1.0.261
|
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-02-
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|