tencentcloud-sdk-cls 3.0.684 → 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 +89 -9
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b83392b3e7ccf6e2dcce860294999d89145030d
4
- data.tar.gz: 7afb324bc8fe97ad347b430da4c8253bb25b32b5
3
+ metadata.gz: 09ac9a16706b4ac3e8f30b0a7e8d8bbb72ddb82f
4
+ data.tar.gz: c198ec19df54763658a7ed974ec52f6746bf039e
5
5
  SHA512:
6
- metadata.gz: efd9c9743f07f0cf119d04bd7f86f3fe4ebabb0fac99027a0e1aab2f2731516e039da37a1c580ef0923b845d0b65ab4f0aaff2b6e89b51618c824085a7054a0d
7
- data.tar.gz: 51013de4929cafd76de28b786f266346d421721261cb58759306bb891913f3462a61a3e7cbb7f13c1bde7230ffed35bdefd3152e9d099d261b4e2b7d5734d4bf
6
+ metadata.gz: 59e509331f82b2908265283335450eceecbdc62544056f9fd78b7f5eda5c7195c76f5e76647c3380c104b01eb47f8c6fdc35d2563c3fa54c28a97a2845a9cb77
7
+ data.tar.gz: a8b86bbe00487fe0235e04026dccbabcf1bded2d27fa497039c3f3fd86d630cf9ed8748cb47a7bc0a007f373278693ad3dd0e33faefebcf03a74da579b55176b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.684
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:每个执行语句单独选择监控对象。
1368
1413
 
1369
- attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :MultiConditions, :Status, :MessageTemplate, :CallBack, :Analysis
1414
+ # 不填则默认为0。
1370
1415
 
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)
1416
+ # 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。
1417
+ # @type MonitorObjectType: Integer
1418
+
1419
+ attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :AlarmLevel, :MultiConditions, :Status, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType
1420
+
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
 
@@ -6337,10 +6404,17 @@ module TencentCloud
6337
6404
  # @type CallBack: :class:`Tencentcloud::Cls.v20201016.models.CallBackInfo`
6338
6405
  # @param Analysis: 多维分析
6339
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
6340
6414
 
6341
- 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
6342
6416
 
6343
- 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)
6344
6418
  @AlarmId = alarmid
6345
6419
  @Name = name
6346
6420
  @MonitorTime = monitortime
@@ -6355,6 +6429,9 @@ module TencentCloud
6355
6429
  @MessageTemplate = messagetemplate
6356
6430
  @CallBack = callback
6357
6431
  @Analysis = analysis
6432
+ @GroupTriggerStatus = grouptriggerstatus
6433
+ @GroupTriggerCondition = grouptriggercondition
6434
+ @MonitorObjectType = monitorobjecttype
6358
6435
  end
6359
6436
 
6360
6437
  def deserialize(params)
@@ -6399,6 +6476,9 @@ module TencentCloud
6399
6476
  @Analysis << analysisdimensional_tmp
6400
6477
  end
6401
6478
  end
6479
+ @GroupTriggerStatus = params['GroupTriggerStatus']
6480
+ @GroupTriggerCondition = params['GroupTriggerCondition']
6481
+ @MonitorObjectType = params['MonitorObjectType']
6402
6482
  end
6403
6483
  end
6404
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.684
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-25 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
36
  - lib/v20201016/client.rb
38
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: