tencentcloud-sdk-monitor 3.0.483 → 3.0.485
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180724/models.rb +93 -14
- 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: 21ebe43ccaf6dbe9092fdd2e739c5cbdc31c2afc
|
4
|
+
data.tar.gz: d948150a3b32f0b3799fc7d5f015042b6cdd78ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04c28a161ad4e5fa101688d384a833ea2c0142f159236c89ae92eed3d2f9c3041a10b93d38c4cb724b64963967bf6321c2d29dfe48a4247217f6a539c03e201a
|
7
|
+
data.tar.gz: 0ae829970a51c2aa982964bbe9d188003f6c1000e2fe7ee41fc04ff92611cf61cfe75fa4c235b5b0004fb5fe868392b5990b44b567540c9ddf09e633ed17afc9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.485
|
data/lib/v20180724/models.rb
CHANGED
@@ -874,15 +874,21 @@ module TencentCloud
|
|
874
874
|
# @type InstanceGroupId: Integer
|
875
875
|
# @param Dimensions: 需要绑定的对象维度信息
|
876
876
|
# @type Dimensions: Array
|
877
|
+
# @param EbSubject: 事件配置的告警
|
878
|
+
# @type EbSubject: String
|
879
|
+
# @param EbEventFlag: 是否配置了事件告警
|
880
|
+
# @type EbEventFlag: Integer
|
877
881
|
|
878
|
-
attr_accessor :Module, :GroupId, :PolicyId, :InstanceGroupId, :Dimensions
|
882
|
+
attr_accessor :Module, :GroupId, :PolicyId, :InstanceGroupId, :Dimensions, :EbSubject, :EbEventFlag
|
879
883
|
|
880
|
-
def initialize(_module=nil, groupid=nil, policyid=nil, instancegroupid=nil, dimensions=nil)
|
884
|
+
def initialize(_module=nil, groupid=nil, policyid=nil, instancegroupid=nil, dimensions=nil, ebsubject=nil, ebeventflag=nil)
|
881
885
|
@Module = _module
|
882
886
|
@GroupId = groupid
|
883
887
|
@PolicyId = policyid
|
884
888
|
@InstanceGroupId = instancegroupid
|
885
889
|
@Dimensions = dimensions
|
890
|
+
@EbSubject = ebsubject
|
891
|
+
@EbEventFlag = ebeventflag
|
886
892
|
end
|
887
893
|
|
888
894
|
def deserialize(params)
|
@@ -898,6 +904,8 @@ module TencentCloud
|
|
898
904
|
@Dimensions << bindingpolicyobjectdimension_tmp
|
899
905
|
end
|
900
906
|
end
|
907
|
+
@EbSubject = params['EbSubject']
|
908
|
+
@EbEventFlag = params['EbEventFlag']
|
901
909
|
end
|
902
910
|
end
|
903
911
|
|
@@ -1353,10 +1361,12 @@ module TencentCloud
|
|
1353
1361
|
# @type HierarchicalNotices: Array
|
1354
1362
|
# @param MigrateFlag: 迁移策略专用字段,0-走鉴权逻辑,1-跳过鉴权逻辑
|
1355
1363
|
# @type MigrateFlag: Integer
|
1364
|
+
# @param EbSubject: 事件配置的告警
|
1365
|
+
# @type EbSubject: String
|
1356
1366
|
|
1357
|
-
attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo, :HierarchicalNotices, :MigrateFlag
|
1367
|
+
attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo, :HierarchicalNotices, :MigrateFlag, :EbSubject
|
1358
1368
|
|
1359
|
-
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)
|
1369
|
+
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)
|
1360
1370
|
@Module = _module
|
1361
1371
|
@PolicyName = policyname
|
1362
1372
|
@MonitorType = monitortype
|
@@ -1375,6 +1385,7 @@ module TencentCloud
|
|
1375
1385
|
@LogAlarmReqInfo = logalarmreqinfo
|
1376
1386
|
@HierarchicalNotices = hierarchicalnotices
|
1377
1387
|
@MigrateFlag = migrateflag
|
1388
|
+
@EbSubject = ebsubject
|
1378
1389
|
end
|
1379
1390
|
|
1380
1391
|
def deserialize(params)
|
@@ -1429,6 +1440,7 @@ module TencentCloud
|
|
1429
1440
|
end
|
1430
1441
|
end
|
1431
1442
|
@MigrateFlag = params['MigrateFlag']
|
1443
|
+
@EbSubject = params['EbSubject']
|
1432
1444
|
end
|
1433
1445
|
end
|
1434
1446
|
|
@@ -2284,17 +2296,28 @@ module TencentCloud
|
|
2284
2296
|
# @type Module: String
|
2285
2297
|
# @param NoticeIds: 告警通知模板id列表
|
2286
2298
|
# @type NoticeIds: Array
|
2299
|
+
# @param NoticeBindPolicys: 通知模版与策略绑定关系
|
2300
|
+
# @type NoticeBindPolicys: Array
|
2287
2301
|
|
2288
|
-
attr_accessor :Module, :NoticeIds
|
2302
|
+
attr_accessor :Module, :NoticeIds, :NoticeBindPolicys
|
2289
2303
|
|
2290
|
-
def initialize(_module=nil, noticeids=nil)
|
2304
|
+
def initialize(_module=nil, noticeids=nil, noticebindpolicys=nil)
|
2291
2305
|
@Module = _module
|
2292
2306
|
@NoticeIds = noticeids
|
2307
|
+
@NoticeBindPolicys = noticebindpolicys
|
2293
2308
|
end
|
2294
2309
|
|
2295
2310
|
def deserialize(params)
|
2296
2311
|
@Module = params['Module']
|
2297
2312
|
@NoticeIds = params['NoticeIds']
|
2313
|
+
unless params['NoticeBindPolicys'].nil?
|
2314
|
+
@NoticeBindPolicys = []
|
2315
|
+
params['NoticeBindPolicys'].each do |i|
|
2316
|
+
noticebindpolicys_tmp = NoticeBindPolicys.new
|
2317
|
+
noticebindpolicys_tmp.deserialize(i)
|
2318
|
+
@NoticeBindPolicys << noticebindpolicys_tmp
|
2319
|
+
end
|
2320
|
+
end
|
2298
2321
|
end
|
2299
2322
|
end
|
2300
2323
|
|
@@ -8136,10 +8159,12 @@ module TencentCloud
|
|
8136
8159
|
# @type URLNotices: Array
|
8137
8160
|
# @param CLSNotices: 告警通知推送到CLS服务 最多1个
|
8138
8161
|
# @type CLSNotices: Array
|
8162
|
+
# @param PolicyIds: 告警通知模板绑定的告警策略ID列表
|
8163
|
+
# @type PolicyIds: Array
|
8139
8164
|
|
8140
|
-
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :NoticeId, :UserNotices, :URLNotices, :CLSNotices
|
8165
|
+
attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :NoticeId, :UserNotices, :URLNotices, :CLSNotices, :PolicyIds
|
8141
8166
|
|
8142
|
-
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, noticeid=nil, usernotices=nil, urlnotices=nil, clsnotices=nil)
|
8167
|
+
def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, noticeid=nil, usernotices=nil, urlnotices=nil, clsnotices=nil, policyids=nil)
|
8143
8168
|
@Module = _module
|
8144
8169
|
@Name = name
|
8145
8170
|
@NoticeType = noticetype
|
@@ -8148,6 +8173,7 @@ module TencentCloud
|
|
8148
8173
|
@UserNotices = usernotices
|
8149
8174
|
@URLNotices = urlnotices
|
8150
8175
|
@CLSNotices = clsnotices
|
8176
|
+
@PolicyIds = policyids
|
8151
8177
|
end
|
8152
8178
|
|
8153
8179
|
def deserialize(params)
|
@@ -8180,6 +8206,7 @@ module TencentCloud
|
|
8180
8206
|
@CLSNotices << clsnotice_tmp
|
8181
8207
|
end
|
8182
8208
|
end
|
8209
|
+
@PolicyIds = params['PolicyIds']
|
8183
8210
|
end
|
8184
8211
|
end
|
8185
8212
|
|
@@ -8217,10 +8244,18 @@ module TencentCloud
|
|
8217
8244
|
# @type GroupBy: Array
|
8218
8245
|
# @param LogAlarmReqInfo: 日志告警创建请求参数信息
|
8219
8246
|
# @type LogAlarmReqInfo: :class:`Tencentcloud::Monitor.v20180724.models.LogAlarmReq`
|
8247
|
+
# @param NoticeIds: 模版id,专供prom使用
|
8248
|
+
# @type NoticeIds: Array
|
8249
|
+
# @param Enable: 启停状态,0=停用,1=启用
|
8250
|
+
# @type Enable: Integer
|
8251
|
+
# @param PolicyName: 专供prom策略名称
|
8252
|
+
# @type PolicyName: String
|
8253
|
+
# @param EbSubject: 事件配置的告警
|
8254
|
+
# @type EbSubject: String
|
8220
8255
|
|
8221
|
-
attr_accessor :Module, :PolicyId, :ConditionTemplateId, :Condition, :EventCondition, :Filter, :GroupBy, :LogAlarmReqInfo
|
8256
|
+
attr_accessor :Module, :PolicyId, :ConditionTemplateId, :Condition, :EventCondition, :Filter, :GroupBy, :LogAlarmReqInfo, :NoticeIds, :Enable, :PolicyName, :EbSubject
|
8222
8257
|
|
8223
|
-
def initialize(_module=nil, policyid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, filter=nil, groupby=nil, logalarmreqinfo=nil)
|
8258
|
+
def initialize(_module=nil, policyid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, filter=nil, groupby=nil, logalarmreqinfo=nil, noticeids=nil, enable=nil, policyname=nil, ebsubject=nil)
|
8224
8259
|
@Module = _module
|
8225
8260
|
@PolicyId = policyid
|
8226
8261
|
@ConditionTemplateId = conditiontemplateid
|
@@ -8229,6 +8264,10 @@ module TencentCloud
|
|
8229
8264
|
@Filter = filter
|
8230
8265
|
@GroupBy = groupby
|
8231
8266
|
@LogAlarmReqInfo = logalarmreqinfo
|
8267
|
+
@NoticeIds = noticeids
|
8268
|
+
@Enable = enable
|
8269
|
+
@PolicyName = policyname
|
8270
|
+
@EbSubject = ebsubject
|
8232
8271
|
end
|
8233
8272
|
|
8234
8273
|
def deserialize(params)
|
@@ -8252,6 +8291,10 @@ module TencentCloud
|
|
8252
8291
|
@LogAlarmReqInfo = LogAlarmReq.new
|
8253
8292
|
@LogAlarmReqInfo.deserialize(params['LogAlarmReqInfo'])
|
8254
8293
|
end
|
8294
|
+
@NoticeIds = params['NoticeIds']
|
8295
|
+
@Enable = params['Enable']
|
8296
|
+
@PolicyName = params['PolicyName']
|
8297
|
+
@EbSubject = params['EbSubject']
|
8255
8298
|
end
|
8256
8299
|
end
|
8257
8300
|
|
@@ -8763,6 +8806,26 @@ module TencentCloud
|
|
8763
8806
|
end
|
8764
8807
|
end
|
8765
8808
|
|
8809
|
+
# 通知模版与策略绑定关系
|
8810
|
+
class NoticeBindPolicys < TencentCloud::Common::AbstractModel
|
8811
|
+
# @param NoticeId: 告警通知模板 ID
|
8812
|
+
# @type NoticeId: String
|
8813
|
+
# @param PolicyIds: 告警通知模板绑定的告警策略ID列表
|
8814
|
+
# @type PolicyIds: Array
|
8815
|
+
|
8816
|
+
attr_accessor :NoticeId, :PolicyIds
|
8817
|
+
|
8818
|
+
def initialize(noticeid=nil, policyids=nil)
|
8819
|
+
@NoticeId = noticeid
|
8820
|
+
@PolicyIds = policyids
|
8821
|
+
end
|
8822
|
+
|
8823
|
+
def deserialize(params)
|
8824
|
+
@NoticeId = params['NoticeId']
|
8825
|
+
@PolicyIds = params['PolicyIds']
|
8826
|
+
end
|
8827
|
+
end
|
8828
|
+
|
8766
8829
|
# 维度支持的操作符信息
|
8767
8830
|
class Operator < TencentCloud::Common::AbstractModel
|
8768
8831
|
# @param Id: 运算符标识
|
@@ -10086,19 +10149,27 @@ module TencentCloud
|
|
10086
10149
|
# @type GroupId: Integer
|
10087
10150
|
# @param PolicyId: 告警策略ID,使用此字段时 GroupId 会被忽略
|
10088
10151
|
# @type PolicyId: String
|
10152
|
+
# @param EbSubject: 事件配置的告警
|
10153
|
+
# @type EbSubject: String
|
10154
|
+
# @param EbEventFlag: 是否配置了事件告警
|
10155
|
+
# @type EbEventFlag: Integer
|
10089
10156
|
|
10090
|
-
attr_accessor :Module, :GroupId, :PolicyId
|
10157
|
+
attr_accessor :Module, :GroupId, :PolicyId, :EbSubject, :EbEventFlag
|
10091
10158
|
|
10092
|
-
def initialize(_module=nil, groupid=nil, policyid=nil)
|
10159
|
+
def initialize(_module=nil, groupid=nil, policyid=nil, ebsubject=nil, ebeventflag=nil)
|
10093
10160
|
@Module = _module
|
10094
10161
|
@GroupId = groupid
|
10095
10162
|
@PolicyId = policyid
|
10163
|
+
@EbSubject = ebsubject
|
10164
|
+
@EbEventFlag = ebeventflag
|
10096
10165
|
end
|
10097
10166
|
|
10098
10167
|
def deserialize(params)
|
10099
10168
|
@Module = params['Module']
|
10100
10169
|
@GroupId = params['GroupId']
|
10101
10170
|
@PolicyId = params['PolicyId']
|
10171
|
+
@EbSubject = params['EbSubject']
|
10172
|
+
@EbEventFlag = params['EbEventFlag']
|
10102
10173
|
end
|
10103
10174
|
end
|
10104
10175
|
|
@@ -10130,15 +10201,21 @@ module TencentCloud
|
|
10130
10201
|
# @type InstanceGroupId: Integer
|
10131
10202
|
# @param PolicyId: 告警策略ID,使用此字段时 GroupId 会被忽略
|
10132
10203
|
# @type PolicyId: String
|
10204
|
+
# @param EbSubject: 事件配置的告警
|
10205
|
+
# @type EbSubject: String
|
10206
|
+
# @param EbEventFlag: 是否配置了事件告警
|
10207
|
+
# @type EbEventFlag: Integer
|
10133
10208
|
|
10134
|
-
attr_accessor :Module, :GroupId, :UniqueId, :InstanceGroupId, :PolicyId
|
10209
|
+
attr_accessor :Module, :GroupId, :UniqueId, :InstanceGroupId, :PolicyId, :EbSubject, :EbEventFlag
|
10135
10210
|
|
10136
|
-
def initialize(_module=nil, groupid=nil, uniqueid=nil, instancegroupid=nil, policyid=nil)
|
10211
|
+
def initialize(_module=nil, groupid=nil, uniqueid=nil, instancegroupid=nil, policyid=nil, ebsubject=nil, ebeventflag=nil)
|
10137
10212
|
@Module = _module
|
10138
10213
|
@GroupId = groupid
|
10139
10214
|
@UniqueId = uniqueid
|
10140
10215
|
@InstanceGroupId = instancegroupid
|
10141
10216
|
@PolicyId = policyid
|
10217
|
+
@EbSubject = ebsubject
|
10218
|
+
@EbEventFlag = ebeventflag
|
10142
10219
|
end
|
10143
10220
|
|
10144
10221
|
def deserialize(params)
|
@@ -10147,6 +10224,8 @@ module TencentCloud
|
|
10147
10224
|
@UniqueId = params['UniqueId']
|
10148
10225
|
@InstanceGroupId = params['InstanceGroupId']
|
10149
10226
|
@PolicyId = params['PolicyId']
|
10227
|
+
@EbSubject = params['EbSubject']
|
10228
|
+
@EbEventFlag = params['EbEventFlag']
|
10150
10229
|
end
|
10151
10230
|
end
|
10152
10231
|
|
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.485
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|