tencentcloud-sdk-monitor 3.0.417 → 3.0.418

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180724/models.rb +200 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 493d0f74c436fdf6804f2745cce4f8072d865fff
4
- data.tar.gz: b11ee3c49289f8e0fcbc1a0b253b3c897cb17896
3
+ metadata.gz: 6da0f25e01574fe7f73e109fca87fe97290d907b
4
+ data.tar.gz: 7857feaa8a1ce685cf860290838f229549d07664
5
5
  SHA512:
6
- metadata.gz: c9e78ce9d61b532c8948b34b83a4482f2b009cba8f50db7baa51b30cb4e8a3e47a592b65b8cbcc83bc8add99cb7718c62642f10bfe9ce44f435ba8c27fa88001
7
- data.tar.gz: 2f6df4ae91fddddd2456907fff58cb2875db885e1ede0b92137c29a94c6094b679b2bb1ff55f1fa0758bdc3fda3d8f53ea40b16545d9e170b275af5f335f386c
6
+ metadata.gz: ae61104be139302acd68d325cdad496e018f665f84af1cb48d663aa01df0fd3658668e66b4d7b90364ba3a7621559a6a3f497f515df8f84bbddeba0491a789fa
7
+ data.tar.gz: f71481c5fc6d63efcabf1adf5912da840a7d498c2f44870697073e2f1cbab7e8706b25703ad73de9eb2029847b61c151f4f414bfc8a1457b3ddc161d2f378dad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.417
1
+ 3.0.418
@@ -235,10 +235,13 @@ module TencentCloud
235
235
  # @param CLSNotices: 推送cls渠道
236
236
  # 注意:此字段可能返回 null,表示取不到有效值。
237
237
  # @type CLSNotices: Array
238
+ # @param Tags: 通知模版绑定的标签
239
+ # 注意:此字段可能返回 null,表示取不到有效值。
240
+ # @type Tags: Array
238
241
 
239
- attr_accessor :Id, :Name, :UpdatedAt, :UpdatedBy, :NoticeType, :UserNotices, :URLNotices, :IsPreset, :NoticeLanguage, :PolicyIds, :AMPConsumerId, :CLSNotices
242
+ attr_accessor :Id, :Name, :UpdatedAt, :UpdatedBy, :NoticeType, :UserNotices, :URLNotices, :IsPreset, :NoticeLanguage, :PolicyIds, :AMPConsumerId, :CLSNotices, :Tags
240
243
 
241
- def initialize(id=nil, name=nil, updatedat=nil, updatedby=nil, noticetype=nil, usernotices=nil, urlnotices=nil, ispreset=nil, noticelanguage=nil, policyids=nil, ampconsumerid=nil, clsnotices=nil)
244
+ def initialize(id=nil, name=nil, updatedat=nil, updatedby=nil, noticetype=nil, usernotices=nil, urlnotices=nil, ispreset=nil, noticelanguage=nil, policyids=nil, ampconsumerid=nil, clsnotices=nil, tags=nil)
242
245
  @Id = id
243
246
  @Name = name
244
247
  @UpdatedAt = updatedat
@@ -251,6 +254,7 @@ module TencentCloud
251
254
  @PolicyIds = policyids
252
255
  @AMPConsumerId = ampconsumerid
253
256
  @CLSNotices = clsnotices
257
+ @Tags = tags
254
258
  end
255
259
 
256
260
  def deserialize(params)
@@ -287,6 +291,14 @@ module TencentCloud
287
291
  @CLSNotices << clsnotice_tmp
288
292
  end
289
293
  end
294
+ unless params['Tags'].nil?
295
+ @Tags = []
296
+ params['Tags'].each do |i|
297
+ tag_tmp = Tag.new
298
+ tag_tmp.deserialize(i)
299
+ @Tags << tag_tmp
300
+ end
301
+ end
290
302
  end
291
303
  end
292
304
 
@@ -394,10 +406,16 @@ module TencentCloud
394
406
  # @param AdvancedMetricNumber: 高级指标数量
395
407
  # 注意:此字段可能返回 null,表示取不到有效值。
396
408
  # @type AdvancedMetricNumber: Integer
409
+ # @param IsBindAll: 策略是否是全部对象策略
410
+ # 注意:此字段可能返回 null,表示取不到有效值。
411
+ # @type IsBindAll: Integer
412
+ # @param Tags: 策略标签
413
+ # 注意:此字段可能返回 null,表示取不到有效值。
414
+ # @type Tags: Array
397
415
 
398
- 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, :IsOneClick, :OneClickStatus, :AdvancedMetricNumber
416
+ 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, :IsOneClick, :OneClickStatus, :AdvancedMetricNumber, :IsBindAll, :Tags
399
417
 
400
- 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, isoneclick=nil, oneclickstatus=nil, advancedmetricnumber=nil)
418
+ 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, isoneclick=nil, oneclickstatus=nil, advancedmetricnumber=nil, isbindall=nil, tags=nil)
401
419
  @PolicyId = policyid
402
420
  @PolicyName = policyname
403
421
  @Remark = remark
@@ -431,6 +449,8 @@ module TencentCloud
431
449
  @IsOneClick = isoneclick
432
450
  @OneClickStatus = oneclickstatus
433
451
  @AdvancedMetricNumber = advancedmetricnumber
452
+ @IsBindAll = isbindall
453
+ @Tags = tags
434
454
  end
435
455
 
436
456
  def deserialize(params)
@@ -497,6 +517,15 @@ module TencentCloud
497
517
  @IsOneClick = params['IsOneClick']
498
518
  @OneClickStatus = params['OneClickStatus']
499
519
  @AdvancedMetricNumber = params['AdvancedMetricNumber']
520
+ @IsBindAll = params['IsBindAll']
521
+ unless params['Tags'].nil?
522
+ @Tags = []
523
+ params['Tags'].each do |i|
524
+ tag_tmp = Tag.new
525
+ tag_tmp.deserialize(i)
526
+ @Tags << tag_tmp
527
+ end
528
+ end
500
529
  end
501
530
  end
502
531
 
@@ -637,10 +666,16 @@ module TencentCloud
637
666
  # @param ProductId: 集成中心产品ID
638
667
  # 注意:此字段可能返回 null,表示取不到有效值。
639
668
  # @type ProductId: String
669
+ # @param ValueMax: 最大值
670
+ # 注意:此字段可能返回 null,表示取不到有效值。
671
+ # @type ValueMax: Float
672
+ # @param ValueMin: 最小值
673
+ # 注意:此字段可能返回 null,表示取不到有效值。
674
+ # @type ValueMin: Float
640
675
 
641
- attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType, :IsAdvanced, :IsOpen, :ProductId
676
+ attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType, :IsAdvanced, :IsOpen, :ProductId, :ValueMax, :ValueMin
642
677
 
643
- def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil, isadvanced=nil, isopen=nil, productid=nil)
678
+ def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil, isadvanced=nil, isopen=nil, productid=nil, valuemax=nil, valuemin=nil)
644
679
  @MetricName = metricname
645
680
  @Period = period
646
681
  @Operator = operator
@@ -655,6 +690,8 @@ module TencentCloud
655
690
  @IsAdvanced = isadvanced
656
691
  @IsOpen = isopen
657
692
  @ProductId = productid
693
+ @ValueMax = valuemax
694
+ @ValueMin = valuemin
658
695
  end
659
696
 
660
697
  def deserialize(params)
@@ -675,6 +712,8 @@ module TencentCloud
675
712
  @IsAdvanced = params['IsAdvanced']
676
713
  @IsOpen = params['IsOpen']
677
714
  @ProductId = params['ProductId']
715
+ @ValueMax = params['ValueMax']
716
+ @ValueMin = params['ValueMin']
678
717
  end
679
718
  end
680
719
 
@@ -1143,10 +1182,12 @@ module TencentCloud
1143
1182
  # @type URLNotices: Array
1144
1183
  # @param CLSNotices: 推送CLS日志服务的操作 最多1个
1145
1184
  # @type CLSNotices: Array
1185
+ # @param Tags: 模版绑定的标签
1186
+ # @type Tags: Array
1146
1187
 
1147
- attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :UserNotices, :URLNotices, :CLSNotices
1188
+ attr_accessor :Module, :Name, :NoticeType, :NoticeLanguage, :UserNotices, :URLNotices, :CLSNotices, :Tags
1148
1189
 
1149
- def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, usernotices=nil, urlnotices=nil, clsnotices=nil)
1190
+ def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, usernotices=nil, urlnotices=nil, clsnotices=nil, tags=nil)
1150
1191
  @Module = _module
1151
1192
  @Name = name
1152
1193
  @NoticeType = noticetype
@@ -1154,6 +1195,7 @@ module TencentCloud
1154
1195
  @UserNotices = usernotices
1155
1196
  @URLNotices = urlnotices
1156
1197
  @CLSNotices = clsnotices
1198
+ @Tags = tags
1157
1199
  end
1158
1200
 
1159
1201
  def deserialize(params)
@@ -1185,6 +1227,14 @@ module TencentCloud
1185
1227
  @CLSNotices << clsnotice_tmp
1186
1228
  end
1187
1229
  end
1230
+ unless params['Tags'].nil?
1231
+ @Tags = []
1232
+ params['Tags'].each do |i|
1233
+ tag_tmp = Tag.new
1234
+ tag_tmp.deserialize(i)
1235
+ @Tags << tag_tmp
1236
+ end
1237
+ end
1188
1238
  end
1189
1239
  end
1190
1240
 
@@ -1238,10 +1288,14 @@ module TencentCloud
1238
1288
  # @type Filter: :class:`Tencentcloud::Monitor.v20180724.models.AlarmPolicyFilter`
1239
1289
  # @param GroupBy: 聚合维度列表,指定按哪些维度 key 来做 group by
1240
1290
  # @type GroupBy: Array
1291
+ # @param Tags: 模版绑定的标签
1292
+ # @type Tags: Array
1293
+ # @param LogAlarmReqInfo: 日志告警信息
1294
+ # @type LogAlarmReqInfo: :class:`Tencentcloud::Monitor.v20180724.models.LogAlarmReq`
1241
1295
 
1242
- attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy
1296
+ attr_accessor :Module, :PolicyName, :MonitorType, :Namespace, :Remark, :Enable, :ProjectId, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :TriggerTasks, :Filter, :GroupBy, :Tags, :LogAlarmReqInfo
1243
1297
 
1244
- 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)
1298
+ 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)
1245
1299
  @Module = _module
1246
1300
  @PolicyName = policyname
1247
1301
  @MonitorType = monitortype
@@ -1256,6 +1310,8 @@ module TencentCloud
1256
1310
  @TriggerTasks = triggertasks
1257
1311
  @Filter = filter
1258
1312
  @GroupBy = groupby
1313
+ @Tags = tags
1314
+ @LogAlarmReqInfo = logalarmreqinfo
1259
1315
  end
1260
1316
 
1261
1317
  def deserialize(params)
@@ -1289,6 +1345,18 @@ module TencentCloud
1289
1345
  @Filter.deserialize(params['Filter'])
1290
1346
  end
1291
1347
  @GroupBy = params['GroupBy']
1348
+ unless params['Tags'].nil?
1349
+ @Tags = []
1350
+ params['Tags'].each do |i|
1351
+ tag_tmp = Tag.new
1352
+ tag_tmp.deserialize(i)
1353
+ @Tags << tag_tmp
1354
+ end
1355
+ end
1356
+ unless params['LogAlarmReqInfo'].nil?
1357
+ @LogAlarmReqInfo = LogAlarmReq.new
1358
+ @LogAlarmReqInfo.deserialize(params['LogAlarmReqInfo'])
1359
+ end
1292
1360
  end
1293
1361
  end
1294
1362
 
@@ -3081,10 +3149,12 @@ module TencentCloud
3081
3149
  # @type GroupIds: Array
3082
3150
  # @param NoticeIds: 根据通知模板 id 过滤,空数组/不传则不过滤
3083
3151
  # @type NoticeIds: Array
3152
+ # @param Tags: 模版根据标签过滤
3153
+ # @type Tags: Array
3084
3154
 
3085
- attr_accessor :Module, :PageNumber, :PageSize, :Order, :OwnerUid, :Name, :ReceiverType, :UserIds, :GroupIds, :NoticeIds
3155
+ attr_accessor :Module, :PageNumber, :PageSize, :Order, :OwnerUid, :Name, :ReceiverType, :UserIds, :GroupIds, :NoticeIds, :Tags
3086
3156
 
3087
- def initialize(_module=nil, pagenumber=nil, pagesize=nil, order=nil, owneruid=nil, name=nil, receivertype=nil, userids=nil, groupids=nil, noticeids=nil)
3157
+ def initialize(_module=nil, pagenumber=nil, pagesize=nil, order=nil, owneruid=nil, name=nil, receivertype=nil, userids=nil, groupids=nil, noticeids=nil, tags=nil)
3088
3158
  @Module = _module
3089
3159
  @PageNumber = pagenumber
3090
3160
  @PageSize = pagesize
@@ -3095,6 +3165,7 @@ module TencentCloud
3095
3165
  @UserIds = userids
3096
3166
  @GroupIds = groupids
3097
3167
  @NoticeIds = noticeids
3168
+ @Tags = tags
3098
3169
  end
3099
3170
 
3100
3171
  def deserialize(params)
@@ -3108,6 +3179,14 @@ module TencentCloud
3108
3179
  @UserIds = params['UserIds']
3109
3180
  @GroupIds = params['GroupIds']
3110
3181
  @NoticeIds = params['NoticeIds']
3182
+ unless params['Tags'].nil?
3183
+ @Tags = []
3184
+ params['Tags'].each do |i|
3185
+ tag_tmp = Tag.new
3186
+ tag_tmp.deserialize(i)
3187
+ @Tags << tag_tmp
3188
+ end
3189
+ end
3111
3190
  end
3112
3191
  end
3113
3192
 
@@ -3195,10 +3274,16 @@ module TencentCloud
3195
3274
  # @type TriggerTasks: Array
3196
3275
  # @param OneClickPolicyType: 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
3197
3276
  # @type OneClickPolicyType: Array
3277
+ # @param NotBindAll: 根据全部对象过滤,1代表需要过滤掉全部对象,0则无需过滤
3278
+ # @type NotBindAll: Integer
3279
+ # @param NotInstanceGroup: 根据实例对象过滤,1代表需要过滤掉有实例对象,0则无需过滤
3280
+ # @type NotInstanceGroup: Integer
3281
+ # @param Tags: 策略根据标签过滤
3282
+ # @type Tags: Array
3198
3283
 
3199
- attr_accessor :Module, :PageNumber, :PageSize, :PolicyName, :MonitorTypes, :Namespaces, :Dimensions, :ReceiverUids, :ReceiverGroups, :PolicyType, :Field, :Order, :ProjectIds, :NoticeIds, :RuleTypes, :Enable, :NotBindingNoticeRule, :InstanceGroupId, :NeedCorrespondence, :TriggerTasks, :OneClickPolicyType
3284
+ 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
3200
3285
 
3201
- 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)
3286
+ 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)
3202
3287
  @Module = _module
3203
3288
  @PageNumber = pagenumber
3204
3289
  @PageSize = pagesize
@@ -3220,6 +3305,9 @@ module TencentCloud
3220
3305
  @NeedCorrespondence = needcorrespondence
3221
3306
  @TriggerTasks = triggertasks
3222
3307
  @OneClickPolicyType = oneclickpolicytype
3308
+ @NotBindAll = notbindall
3309
+ @NotInstanceGroup = notinstancegroup
3310
+ @Tags = tags
3223
3311
  end
3224
3312
 
3225
3313
  def deserialize(params)
@@ -3251,6 +3339,16 @@ module TencentCloud
3251
3339
  end
3252
3340
  end
3253
3341
  @OneClickPolicyType = params['OneClickPolicyType']
3342
+ @NotBindAll = params['NotBindAll']
3343
+ @NotInstanceGroup = params['NotInstanceGroup']
3344
+ unless params['Tags'].nil?
3345
+ @Tags = []
3346
+ params['Tags'].each do |i|
3347
+ tag_tmp = Tag.new
3348
+ tag_tmp.deserialize(i)
3349
+ @Tags << tag_tmp
3350
+ end
3351
+ end
3254
3352
  end
3255
3353
  end
3256
3354
 
@@ -7469,6 +7567,65 @@ module TencentCloud
7469
7567
  end
7470
7568
  end
7471
7569
 
7570
+ # 日志告警请求信息
7571
+ class LogAlarmReq < TencentCloud::Common::AbstractModel
7572
+ # @param InstanceId: apm实例id
7573
+ # @type InstanceId: String
7574
+ # @param Filter: 检索条件信息
7575
+ # @type Filter: Array
7576
+ # @param AlarmMerge: 告警合并开启/暂停
7577
+ # @type AlarmMerge: String
7578
+ # @param AlarmMergeTime: 告警合并时间
7579
+ # @type AlarmMergeTime: String
7580
+
7581
+ attr_accessor :InstanceId, :Filter, :AlarmMerge, :AlarmMergeTime
7582
+
7583
+ def initialize(instanceid=nil, filter=nil, alarmmerge=nil, alarmmergetime=nil)
7584
+ @InstanceId = instanceid
7585
+ @Filter = filter
7586
+ @AlarmMerge = alarmmerge
7587
+ @AlarmMergeTime = alarmmergetime
7588
+ end
7589
+
7590
+ def deserialize(params)
7591
+ @InstanceId = params['InstanceId']
7592
+ unless params['Filter'].nil?
7593
+ @Filter = []
7594
+ params['Filter'].each do |i|
7595
+ logfilterinfo_tmp = LogFilterInfo.new
7596
+ logfilterinfo_tmp.deserialize(i)
7597
+ @Filter << logfilterinfo_tmp
7598
+ end
7599
+ end
7600
+ @AlarmMerge = params['AlarmMerge']
7601
+ @AlarmMergeTime = params['AlarmMergeTime']
7602
+ end
7603
+ end
7604
+
7605
+ # 日志告警检索条件结构体
7606
+ class LogFilterInfo < TencentCloud::Common::AbstractModel
7607
+ # @param Key: 字段名
7608
+ # @type Key: String
7609
+ # @param Operator: 比较符号
7610
+ # @type Operator: String
7611
+ # @param Value: 字段值
7612
+ # @type Value: String
7613
+
7614
+ attr_accessor :Key, :Operator, :Value
7615
+
7616
+ def initialize(key=nil, operator=nil, value=nil)
7617
+ @Key = key
7618
+ @Operator = operator
7619
+ @Value = value
7620
+ end
7621
+
7622
+ def deserialize(params)
7623
+ @Key = params['Key']
7624
+ @Operator = params['Operator']
7625
+ @Value = params['Value']
7626
+ end
7627
+ end
7628
+
7472
7629
  # Prometheus Agent 管理命令行
7473
7630
  class ManagementCommand < TencentCloud::Common::AbstractModel
7474
7631
  # @param Install: Agent 安装命令
@@ -7886,10 +8043,12 @@ module TencentCloud
7886
8043
  # @type Filter: :class:`Tencentcloud::Monitor.v20180724.models.AlarmPolicyFilter`
7887
8044
  # @param GroupBy: 聚合维度列表,指定按哪些维度 key 来做 group by
7888
8045
  # @type GroupBy: Array
8046
+ # @param LogAlarmReqInfo: 日志告警创建请求参数信息
8047
+ # @type LogAlarmReqInfo: :class:`Tencentcloud::Monitor.v20180724.models.LogAlarmReq`
7889
8048
 
7890
- attr_accessor :Module, :PolicyId, :ConditionTemplateId, :Condition, :EventCondition, :Filter, :GroupBy
8049
+ attr_accessor :Module, :PolicyId, :ConditionTemplateId, :Condition, :EventCondition, :Filter, :GroupBy, :LogAlarmReqInfo
7891
8050
 
7892
- def initialize(_module=nil, policyid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, filter=nil, groupby=nil)
8051
+ def initialize(_module=nil, policyid=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, filter=nil, groupby=nil, logalarmreqinfo=nil)
7893
8052
  @Module = _module
7894
8053
  @PolicyId = policyid
7895
8054
  @ConditionTemplateId = conditiontemplateid
@@ -7897,6 +8056,7 @@ module TencentCloud
7897
8056
  @EventCondition = eventcondition
7898
8057
  @Filter = filter
7899
8058
  @GroupBy = groupby
8059
+ @LogAlarmReqInfo = logalarmreqinfo
7900
8060
  end
7901
8061
 
7902
8062
  def deserialize(params)
@@ -7916,6 +8076,10 @@ module TencentCloud
7916
8076
  @Filter.deserialize(params['Filter'])
7917
8077
  end
7918
8078
  @GroupBy = params['GroupBy']
8079
+ unless params['LogAlarmReqInfo'].nil?
8080
+ @LogAlarmReqInfo = LogAlarmReq.new
8081
+ @LogAlarmReqInfo.deserialize(params['LogAlarmReqInfo'])
8082
+ end
7919
8083
  end
7920
8084
  end
7921
8085
 
@@ -9447,6 +9611,26 @@ module TencentCloud
9447
9611
  end
9448
9612
  end
9449
9613
 
9614
+ # 标签
9615
+ class Tag < TencentCloud::Common::AbstractModel
9616
+ # @param Key: 标签key
9617
+ # @type Key: String
9618
+ # @param Value: 标签value
9619
+ # @type Value: String
9620
+
9621
+ attr_accessor :Key, :Value
9622
+
9623
+ def initialize(key=nil, value=nil)
9624
+ @Key = key
9625
+ @Value = value
9626
+ end
9627
+
9628
+ def deserialize(params)
9629
+ @Key = params['Key']
9630
+ @Value = params['Value']
9631
+ end
9632
+ end
9633
+
9450
9634
  # 策略列表详情标签返回体
9451
9635
  class TagInstance < TencentCloud::Common::AbstractModel
9452
9636
  # @param Key: 标签Key
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.417
4
+ version: 3.0.418
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-09-23 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common