tencentcloud-sdk-monitor 1.0.278 → 1.0.279
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 +81 -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: 1d74b98d2ef2bc446a4731a51f75e6d00cfaf5cd
|
4
|
+
data.tar.gz: 85708d3ad450279aa19fd15c5dbeaaa25027990f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3bbddd59a012ab26dd8e7494b191816fce96418959d8d6217a5cc3adde17a2b7571b444a0d071a22f13a7a00e81e853c8bc935f60302bbb84d3e023b58fa03b
|
7
|
+
data.tar.gz: 4050a0c75452845044f8fb07e12985161d43fc905ad9eab19400c0338876c3f66438dd32d2bf463cf9413ad0eeb55505db9615c651ca036590e03e208dac5b52
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.279
|
data/lib/v20180724/models.rb
CHANGED
@@ -229,10 +229,13 @@ module TencentCloud
|
|
229
229
|
# @param PolicyIds: 告警通知模板绑定的告警策略ID列表
|
230
230
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
231
|
# @type PolicyIds: Array
|
232
|
+
# @param CLSNotices: 推送cls渠道
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type CLSNotices: Array
|
232
235
|
|
233
|
-
attr_accessor :Id, :Name, :UpdatedAt, :UpdatedBy, :NoticeType, :UserNotices, :URLNotices, :IsPreset, :NoticeLanguage, :PolicyIds
|
236
|
+
attr_accessor :Id, :Name, :UpdatedAt, :UpdatedBy, :NoticeType, :UserNotices, :URLNotices, :IsPreset, :NoticeLanguage, :PolicyIds, :CLSNotices
|
234
237
|
|
235
|
-
def initialize(id=nil, name=nil, updatedat=nil, updatedby=nil, noticetype=nil, usernotices=nil, urlnotices=nil, ispreset=nil, noticelanguage=nil, policyids=nil)
|
238
|
+
def initialize(id=nil, name=nil, updatedat=nil, updatedby=nil, noticetype=nil, usernotices=nil, urlnotices=nil, ispreset=nil, noticelanguage=nil, policyids=nil, clsnotices=nil)
|
236
239
|
@Id = id
|
237
240
|
@Name = name
|
238
241
|
@UpdatedAt = updatedat
|
@@ -243,6 +246,7 @@ module TencentCloud
|
|
243
246
|
@IsPreset = ispreset
|
244
247
|
@NoticeLanguage = noticelanguage
|
245
248
|
@PolicyIds = policyids
|
249
|
+
@CLSNotices = clsnotices
|
246
250
|
end
|
247
251
|
|
248
252
|
def deserialize(params)
|
@@ -270,6 +274,14 @@ module TencentCloud
|
|
270
274
|
@IsPreset = params['IsPreset']
|
271
275
|
@NoticeLanguage = params['NoticeLanguage']
|
272
276
|
@PolicyIds = params['PolicyIds']
|
277
|
+
unless params['CLSNotices'].nil?
|
278
|
+
@CLSNotices = []
|
279
|
+
params['CLSNotices'].each do |i|
|
280
|
+
clsnotice_tmp = CLSNotice.new
|
281
|
+
clsnotice_tmp.deserialize(i)
|
282
|
+
@CLSNotices << clsnotice_tmp
|
283
|
+
end
|
284
|
+
end
|
273
285
|
end
|
274
286
|
end
|
275
287
|
|
@@ -793,6 +805,34 @@ module TencentCloud
|
|
793
805
|
end
|
794
806
|
end
|
795
807
|
|
808
|
+
# 告警通知中的推送CLS操作
|
809
|
+
class CLSNotice < TencentCloud::Common::AbstractModel
|
810
|
+
# @param Region: 地域
|
811
|
+
# @type Region: String
|
812
|
+
# @param LogSetId: 日志集Id
|
813
|
+
# @type LogSetId: String
|
814
|
+
# @param TopicId: 主题Id
|
815
|
+
# @type TopicId: String
|
816
|
+
# @param Enable: 启停状态,可不传,默认启用。0=停用,1=启用
|
817
|
+
# @type Enable: Integer
|
818
|
+
|
819
|
+
attr_accessor :Region, :LogSetId, :TopicId, :Enable
|
820
|
+
|
821
|
+
def initialize(region=nil, logsetid=nil, topicid=nil, enable=nil)
|
822
|
+
@Region = region
|
823
|
+
@LogSetId = logsetid
|
824
|
+
@TopicId = topicid
|
825
|
+
@Enable = enable
|
826
|
+
end
|
827
|
+
|
828
|
+
def deserialize(params)
|
829
|
+
@Region = params['Region']
|
830
|
+
@LogSetId = params['LogSetId']
|
831
|
+
@TopicId = params['TopicId']
|
832
|
+
@Enable = params['Enable']
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
796
836
|
# 统一的命名空间信息
|
797
837
|
class CommonNamespace < TencentCloud::Common::AbstractModel
|
798
838
|
# @param Id: 命名空间标示
|
@@ -939,16 +979,19 @@ module TencentCloud
|
|
939
979
|
# @type UserNotices: Array
|
940
980
|
# @param URLNotices: 回调通知 最多3个
|
941
981
|
# @type URLNotices: Array
|
982
|
+
# @param CLSNotices: 推送CLS日志服务的操作 最多1个
|
983
|
+
# @type CLSNotices: Array
|
942
984
|
|
943
|
-
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :UserNotices, :URLNotices
|
985
|
+
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :UserNotices, :URLNotices, :CLSNotices
|
944
986
|
|
945
|
-
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, usernotices=nil, urlnotices=nil)
|
987
|
+
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, usernotices=nil, urlnotices=nil, clsnotices=nil)
|
946
988
|
@Module = _module
|
947
989
|
@Name = name
|
948
990
|
@NoticeType = noticetype
|
949
991
|
@NoticeLanguage = noticelanguage
|
950
992
|
@UserNotices = usernotices
|
951
993
|
@URLNotices = urlnotices
|
994
|
+
@CLSNotices = clsnotices
|
952
995
|
end
|
953
996
|
|
954
997
|
def deserialize(params)
|
@@ -972,6 +1015,14 @@ module TencentCloud
|
|
972
1015
|
@URLNotices << urlnotice_tmp
|
973
1016
|
end
|
974
1017
|
end
|
1018
|
+
unless params['CLSNotices'].nil?
|
1019
|
+
@CLSNotices = []
|
1020
|
+
params['CLSNotices'].each do |i|
|
1021
|
+
clsnotice_tmp = CLSNotice.new
|
1022
|
+
clsnotice_tmp.deserialize(i)
|
1023
|
+
@CLSNotices << clsnotice_tmp
|
1024
|
+
end
|
1025
|
+
end
|
975
1026
|
end
|
976
1027
|
end
|
977
1028
|
|
@@ -2232,10 +2283,12 @@ module TencentCloud
|
|
2232
2283
|
# @type InstanceGroupId: Integer
|
2233
2284
|
# @param NeedCorrespondence: 是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0
|
2234
2285
|
# @type NeedCorrespondence: Integer
|
2286
|
+
# @param TriggerTasks: 按照触发任务(例如弹性伸缩)过滤策略。最多10个
|
2287
|
+
# @type TriggerTasks: Array
|
2235
2288
|
|
2236
|
-
attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence
|
2289
|
+
attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence, :TriggerTasks
|
2237
2290
|
|
2238
|
-
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)
|
2291
|
+
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)
|
2239
2292
|
@Module = _module
|
2240
2293
|
@PageNumber = pagenumber
|
2241
2294
|
@PageSize = pagesize
|
@@ -2255,6 +2308,7 @@ module TencentCloud
|
|
2255
2308
|
@NotBindingNoticeRule = notbindingnoticerule
|
2256
2309
|
@InstanceGroupId = instancegroupid
|
2257
2310
|
@NeedCorrespondence = needcorrespondence
|
2311
|
+
@TriggerTasks = triggertasks
|
2258
2312
|
end
|
2259
2313
|
|
2260
2314
|
def deserialize(params)
|
@@ -2277,6 +2331,14 @@ module TencentCloud
|
|
2277
2331
|
@NotBindingNoticeRule = params['NotBindingNoticeRule']
|
2278
2332
|
@InstanceGroupId = params['InstanceGroupId']
|
2279
2333
|
@NeedCorrespondence = params['NeedCorrespondence']
|
2334
|
+
unless params['TriggerTasks'].nil?
|
2335
|
+
@TriggerTasks = []
|
2336
|
+
params['TriggerTasks'].each do |i|
|
2337
|
+
alarmpolicytriggertask_tmp = AlarmPolicyTriggerTask.new
|
2338
|
+
alarmpolicytriggertask_tmp.deserialize(i)
|
2339
|
+
@TriggerTasks << alarmpolicytriggertask_tmp
|
2340
|
+
end
|
2341
|
+
end
|
2280
2342
|
end
|
2281
2343
|
end
|
2282
2344
|
|
@@ -5292,10 +5354,12 @@ module TencentCloud
|
|
5292
5354
|
# @type UserNotices: Array
|
5293
5355
|
# @param URLNotices: 回调通知 最多3个
|
5294
5356
|
# @type URLNotices: Array
|
5357
|
+
# @param CLSNotices: 告警通知推送到CLS服务 最多1个
|
5358
|
+
# @type CLSNotices: Array
|
5295
5359
|
|
5296
|
-
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :NoticeId, :UserNotices, :URLNotices
|
5360
|
+
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :NoticeId, :UserNotices, :URLNotices, :CLSNotices
|
5297
5361
|
|
5298
|
-
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, noticeid=nil, usernotices=nil, urlnotices=nil)
|
5362
|
+
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, noticeid=nil, usernotices=nil, urlnotices=nil, clsnotices=nil)
|
5299
5363
|
@Module = _module
|
5300
5364
|
@Name = name
|
5301
5365
|
@NoticeType = noticetype
|
@@ -5303,6 +5367,7 @@ module TencentCloud
|
|
5303
5367
|
@NoticeId = noticeid
|
5304
5368
|
@UserNotices = usernotices
|
5305
5369
|
@URLNotices = urlnotices
|
5370
|
+
@CLSNotices = clsnotices
|
5306
5371
|
end
|
5307
5372
|
|
5308
5373
|
def deserialize(params)
|
@@ -5327,6 +5392,14 @@ module TencentCloud
|
|
5327
5392
|
@URLNotices << urlnotice_tmp
|
5328
5393
|
end
|
5329
5394
|
end
|
5395
|
+
unless params['CLSNotices'].nil?
|
5396
|
+
@CLSNotices = []
|
5397
|
+
params['CLSNotices'].each do |i|
|
5398
|
+
clsnotice_tmp = CLSNotice.new
|
5399
|
+
clsnotice_tmp.deserialize(i)
|
5400
|
+
@CLSNotices << clsnotice_tmp
|
5401
|
+
end
|
5402
|
+
end
|
5330
5403
|
end
|
5331
5404
|
end
|
5332
5405
|
|
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.279
|
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-03-
|
11
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|