tencentcloud-sdk-cls 3.0.683 → 3.0.685

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201016/models.rb +102 -11
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21fca29a85033556f994151c8b95ca55149044b3
4
- data.tar.gz: db700d5327fda58b904d559f22c485ec7658808c
3
+ metadata.gz: 09ac9a16706b4ac3e8f30b0a7e8d8bbb72ddb82f
4
+ data.tar.gz: c198ec19df54763658a7ed974ec52f6746bf039e
5
5
  SHA512:
6
- metadata.gz: db03ca9ca33a6e889e5acb7d9738ff1ec3b87eacfa00f2f01f9a50c7c0ecc7b3c77f8f723d5758677c9c154bbf4ac4558980a9a4b794b67f8c1df57f56308e11
7
- data.tar.gz: bb5db8feac0e2a36bc3323d4e0ebb28e3f3ec1af7aa4fa6430b2b1943663b17d59ba59422700a686ad27b4b89a4b765df72f1c750821d5f28f4f23344a3f014c
6
+ metadata.gz: 59e509331f82b2908265283335450eceecbdc62544056f9fd78b7f5eda5c7195c76f5e76647c3380c104b01eb47f8c6fdc35d2563c3fa54c28a97a2845a9cb77
7
+ data.tar.gz: a8b86bbe00487fe0235e04026dccbabcf1bded2d27fa497039c3f3fd86d630cf9ed8748cb47a7bc0a007f373278693ad3dd0e33faefebcf03a74da579b55176b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.683
1
+ 3.0.685
@@ -112,14 +112,26 @@ module TencentCloud
112
112
  # @param Analysis: 多维分析设置
113
113
  # 注意:此字段可能返回 null,表示取不到有效值。
114
114
  # @type Analysis: Array
115
+ # @param GroupTriggerStatus: 分组触发状态。1:开启,0:关闭(默认)
116
+ # 注意:此字段可能返回 null,表示取不到有效值。
117
+ # @type GroupTriggerStatus: Boolean
118
+ # @param GroupTriggerCondition: 分组触发条件。
119
+ # 注意:此字段可能返回 null,表示取不到有效值。
120
+ # @type GroupTriggerCondition: Array
121
+ # @param MonitorObjectType: 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
122
+ # 注意:此字段可能返回 null,表示取不到有效值。
123
+ # @type MonitorObjectType: Integer
124
+ # @param AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
125
+ # 注意:此字段可能返回 null,表示取不到有效值。
126
+ # @type AlarmLevel: Integer
115
127
  # @param MultiConditions: 多触发条件。
116
128
 
117
129
  # 注意:此字段可能返回 null,表示取不到有效值。
118
130
  # @type MultiConditions: Array
119
131
 
120
- attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :MultiConditions
132
+ attr_accessor :Name, :AlarmTargets, :MonitorTime, :Condition, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Status, :AlarmId, :CreateTime, :UpdateTime, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType, :AlarmLevel, :MultiConditions
121
133
 
122
- def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, multiconditions=nil)
134
+ def initialize(name=nil, alarmtargets=nil, monitortime=nil, condition=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, status=nil, alarmid=nil, createtime=nil, updatetime=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil, alarmlevel=nil, multiconditions=nil)
123
135
  @Name = name
124
136
  @AlarmTargets = alarmtargets
125
137
  @MonitorTime = monitortime
@@ -134,6 +146,10 @@ module TencentCloud
134
146
  @MessageTemplate = messagetemplate
135
147
  @CallBack = callback
136
148
  @Analysis = analysis
149
+ @GroupTriggerStatus = grouptriggerstatus
150
+ @GroupTriggerCondition = grouptriggercondition
151
+ @MonitorObjectType = monitorobjecttype
152
+ @AlarmLevel = alarmlevel
137
153
  @MultiConditions = multiconditions
138
154
  end
139
155
 
@@ -172,6 +188,10 @@ module TencentCloud
172
188
  @Analysis << analysisdimensional_tmp
173
189
  end
174
190
  end
191
+ @GroupTriggerStatus = params['GroupTriggerStatus']
192
+ @GroupTriggerCondition = params['GroupTriggerCondition']
193
+ @MonitorObjectType = params['MonitorObjectType']
194
+ @AlarmLevel = params['AlarmLevel']
175
195
  unless params['MultiConditions'].nil?
176
196
  @MultiConditions = []
177
197
  params['MultiConditions'].each do |i|
@@ -1340,7 +1360,11 @@ module TencentCloud
1340
1360
  # @type MonitorTime: :class:`Tencentcloud::Cls.v20201016.models.MonitorTime`
1341
1361
  # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。
1342
1362
  # @type TriggerCount: Integer
1343
- # @param AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
1363
+ # @param AlarmPeriod: 告警重复的周期。
1364
+
1365
+ # 单位是分钟。
1366
+
1367
+ # 取值范围是0~1440。
1344
1368
  # @type AlarmPeriod: Integer
1345
1369
  # @param AlarmNoticeIds: 关联的告警通知模板列表。
1346
1370
  # @type AlarmNoticeIds: Array
@@ -1350,14 +1374,24 @@ module TencentCloud
1350
1374
 
1351
1375
  # - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
1352
1376
  # @type Condition: String
1377
+ # @param AlarmLevel: 告警级别。
1378
+
1379
+ # 0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
1380
+
1381
+ # 注意:
1382
+ # - 不填则默认为0。
1383
+ # - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
1384
+ # @type AlarmLevel: Integer
1353
1385
  # @param MultiConditions: 多触发条件。
1354
1386
 
1355
1387
  # 注意:
1356
- # - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li>
1388
+ # - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
1357
1389
 
1358
1390
 
1359
1391
  # @type MultiConditions: Array
1360
- # @param Status: 是否开启告警策略。默认值为true
1392
+ # @param Status: 是否开启告警策略。
1393
+
1394
+ # 默认值为true
1361
1395
  # @type Status: Boolean
1362
1396
  # @param MessageTemplate: 用户自定义告警内容
1363
1397
  # @type MessageTemplate: String
@@ -1365,10 +1399,26 @@ module TencentCloud
1365
1399
  # @type CallBack: :class:`Tencentcloud::Cls.v20201016.models.CallBackInfo`
1366
1400
  # @param Analysis: 多维分析
1367
1401
  # @type Analysis: Array
1402
+ # @param GroupTriggerStatus: 分组触发状态。
1403
+
1404
+ # 默认值false
1405
+ # @type GroupTriggerStatus: Boolean
1406
+ # @param GroupTriggerCondition: 分组触发条件。
1407
+ # @type GroupTriggerCondition: Array
1408
+ # @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。
1409
+
1410
+ # 最大支持10个标签键值对,并且不能有重复的键值对。
1411
+ # @type Tags: Array
1412
+ # @param MonitorObjectType: 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
1413
+
1414
+ # 不填则默认为0。
1415
+
1416
+ # 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。
1417
+ # @type MonitorObjectType: Integer
1368
1418
 
1369
- attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :MultiConditions, :Status, :MessageTemplate, :CallBack, :Analysis
1419
+ attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :AlarmLevel, :MultiConditions, :Status, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType
1370
1420
 
1371
- def initialize(name=nil, alarmtargets=nil, monitortime=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, condition=nil, multiconditions=nil, status=nil, messagetemplate=nil, callback=nil, analysis=nil)
1421
+ def initialize(name=nil, alarmtargets=nil, monitortime=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, condition=nil, alarmlevel=nil, multiconditions=nil, status=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil)
1372
1422
  @Name = name
1373
1423
  @AlarmTargets = alarmtargets
1374
1424
  @MonitorTime = monitortime
@@ -1376,11 +1426,16 @@ module TencentCloud
1376
1426
  @AlarmPeriod = alarmperiod
1377
1427
  @AlarmNoticeIds = alarmnoticeids
1378
1428
  @Condition = condition
1429
+ @AlarmLevel = alarmlevel
1379
1430
  @MultiConditions = multiconditions
1380
1431
  @Status = status
1381
1432
  @MessageTemplate = messagetemplate
1382
1433
  @CallBack = callback
1383
1434
  @Analysis = analysis
1435
+ @GroupTriggerStatus = grouptriggerstatus
1436
+ @GroupTriggerCondition = grouptriggercondition
1437
+ @Tags = tags
1438
+ @MonitorObjectType = monitorobjecttype
1384
1439
  end
1385
1440
 
1386
1441
  def deserialize(params)
@@ -1401,6 +1456,7 @@ module TencentCloud
1401
1456
  @AlarmPeriod = params['AlarmPeriod']
1402
1457
  @AlarmNoticeIds = params['AlarmNoticeIds']
1403
1458
  @Condition = params['Condition']
1459
+ @AlarmLevel = params['AlarmLevel']
1404
1460
  unless params['MultiConditions'].nil?
1405
1461
  @MultiConditions = []
1406
1462
  params['MultiConditions'].each do |i|
@@ -1423,6 +1479,17 @@ module TencentCloud
1423
1479
  @Analysis << analysisdimensional_tmp
1424
1480
  end
1425
1481
  end
1482
+ @GroupTriggerStatus = params['GroupTriggerStatus']
1483
+ @GroupTriggerCondition = params['GroupTriggerCondition']
1484
+ unless params['Tags'].nil?
1485
+ @Tags = []
1486
+ params['Tags'].each do |i|
1487
+ tag_tmp = Tag.new
1488
+ tag_tmp.deserialize(i)
1489
+ @Tags << tag_tmp
1490
+ end
1491
+ end
1492
+ @MonitorObjectType = params['MonitorObjectType']
1426
1493
  end
1427
1494
  end
1428
1495
 
@@ -4687,14 +4754,17 @@ module TencentCloud
4687
4754
  # @type Name: String
4688
4755
  # @param TaskId: 任务id
4689
4756
  # @type TaskId: String
4757
+ # @param Filters: <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否<br><li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否<br><li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,,。类型:String必选:否<br><li>status按照【任务状态】进行过滤。类型:String必选:否<br><li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否<br><li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
4758
+ # @type Filters: Array
4690
4759
 
4691
- attr_accessor :Offset, :Limit, :Name, :TaskId
4760
+ attr_accessor :Offset, :Limit, :Name, :TaskId, :Filters
4692
4761
 
4693
- def initialize(offset=nil, limit=nil, name=nil, taskid=nil)
4762
+ def initialize(offset=nil, limit=nil, name=nil, taskid=nil, filters=nil)
4694
4763
  @Offset = offset
4695
4764
  @Limit = limit
4696
4765
  @Name = name
4697
4766
  @TaskId = taskid
4767
+ @Filters = filters
4698
4768
  end
4699
4769
 
4700
4770
  def deserialize(params)
@@ -4702,6 +4772,14 @@ module TencentCloud
4702
4772
  @Limit = params['Limit']
4703
4773
  @Name = params['Name']
4704
4774
  @TaskId = params['TaskId']
4775
+ unless params['Filters'].nil?
4776
+ @Filters = []
4777
+ params['Filters'].each do |i|
4778
+ filter_tmp = Filter.new
4779
+ filter_tmp.deserialize(i)
4780
+ @Filters << filter_tmp
4781
+ end
4782
+ end
4705
4783
  end
4706
4784
  end
4707
4785
 
@@ -6326,10 +6404,17 @@ module TencentCloud
6326
6404
  # @type CallBack: :class:`Tencentcloud::Cls.v20201016.models.CallBackInfo`
6327
6405
  # @param Analysis: 多维分析
6328
6406
  # @type Analysis: Array
6407
+ # @param GroupTriggerStatus: 分组触发状态。true:开启,false:关闭(默认)
6408
+ # @type GroupTriggerStatus: Boolean
6409
+ # @param GroupTriggerCondition: 分组触发条件。
6410
+ # @type GroupTriggerCondition: Array
6411
+ # @param MonitorObjectType: 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
6412
+ # <li> 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。
6413
+ # @type MonitorObjectType: Integer
6329
6414
 
6330
- attr_accessor :AlarmId, :Name, :MonitorTime, :Condition, :AlarmLevel, :MultiConditions, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :AlarmTargets, :Status, :MessageTemplate, :CallBack, :Analysis
6415
+ attr_accessor :AlarmId, :Name, :MonitorTime, :Condition, :AlarmLevel, :MultiConditions, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :AlarmTargets, :Status, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :MonitorObjectType
6331
6416
 
6332
- def initialize(alarmid=nil, name=nil, monitortime=nil, condition=nil, alarmlevel=nil, multiconditions=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, alarmtargets=nil, status=nil, messagetemplate=nil, callback=nil, analysis=nil)
6417
+ def initialize(alarmid=nil, name=nil, monitortime=nil, condition=nil, alarmlevel=nil, multiconditions=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, alarmtargets=nil, status=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, monitorobjecttype=nil)
6333
6418
  @AlarmId = alarmid
6334
6419
  @Name = name
6335
6420
  @MonitorTime = monitortime
@@ -6344,6 +6429,9 @@ module TencentCloud
6344
6429
  @MessageTemplate = messagetemplate
6345
6430
  @CallBack = callback
6346
6431
  @Analysis = analysis
6432
+ @GroupTriggerStatus = grouptriggerstatus
6433
+ @GroupTriggerCondition = grouptriggercondition
6434
+ @MonitorObjectType = monitorobjecttype
6347
6435
  end
6348
6436
 
6349
6437
  def deserialize(params)
@@ -6388,6 +6476,9 @@ module TencentCloud
6388
6476
  @Analysis << analysisdimensional_tmp
6389
6477
  end
6390
6478
  end
6479
+ @GroupTriggerStatus = params['GroupTriggerStatus']
6480
+ @GroupTriggerCondition = params['GroupTriggerCondition']
6481
+ @MonitorObjectType = params['MonitorObjectType']
6391
6482
  end
6392
6483
  end
6393
6484
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.683
4
+ version: 3.0.685
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-24 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-cls.rb
37
- - lib/v20201016/models.rb
38
36
  - lib/v20201016/client.rb
37
+ - lib/v20201016/models.rb
38
+ - lib/tencentcloud-sdk-cls.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: