tencentcloud-sdk-cls 3.0.816 → 3.0.817
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/v20201016/models.rb +10 -57
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2b3aff93604e654e478ad9fa3d3517ac077faf6
|
4
|
+
data.tar.gz: be32ca1af1a18e13ce5e060dcf1b1871289f2a0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82546d9934774338f70d955ae346feff56e0832398cad629cf4716816336650d3101ba91506e6a51dbc9e66523a464f786a42780b1f10b495eecd827a782f416
|
7
|
+
data.tar.gz: f8514591e6a3ec341890f7bda61d034de2f3703c411751bdd6e5defa124106f697a09be7c7147e27f28086561cb47f7fb7420bfe149468213c5243d92d9434a2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.817
|
data/lib/v20201016/models.rb
CHANGED
@@ -8647,49 +8647,9 @@ module TencentCloud
|
|
8647
8647
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8648
8648
|
# @type WebCallbacks: Array
|
8649
8649
|
# @param Rule: 匹配规则 JSON串。
|
8650
|
-
# **rule
|
8651
|
-
#
|
8652
|
-
|
8653
|
-
# "Value": "AND",
|
8654
|
-
# "Type": "Operation",
|
8655
|
-
# "Children": [
|
8656
|
-
# {
|
8657
|
-
# "Value": "OR",
|
8658
|
-
# "Type": "Operation",
|
8659
|
-
# "Children": [
|
8660
|
-
# {
|
8661
|
-
# "Type": "Condition",
|
8662
|
-
# "Value": "Level",
|
8663
|
-
# "Children": [
|
8664
|
-
# {
|
8665
|
-
# "Value": "In",
|
8666
|
-
# "Type": "Compare"
|
8667
|
-
# },
|
8668
|
-
# {
|
8669
|
-
# "Value": "[1,0]",
|
8670
|
-
# "Type": "Value"
|
8671
|
-
# }
|
8672
|
-
# ]
|
8673
|
-
# },
|
8674
|
-
# {
|
8675
|
-
# "Type": "Condition",
|
8676
|
-
# "Value": "Level",
|
8677
|
-
# "Children": [
|
8678
|
-
# {
|
8679
|
-
# "Value": "NotIn",
|
8680
|
-
# "Type": "Compare"
|
8681
|
-
# },
|
8682
|
-
# {
|
8683
|
-
# "Value": "[2]",
|
8684
|
-
# "Type": "Value"
|
8685
|
-
# }
|
8686
|
-
# ]
|
8687
|
-
# }
|
8688
|
-
# ]
|
8689
|
-
# }
|
8690
|
-
# ]
|
8691
|
-
# }
|
8692
|
-
# ```
|
8650
|
+
# **rule规则树格式为嵌套结构体JSON字符串**
|
8651
|
+
# `{"Value":"AND","Type":"Operation","Children":[{"Value":"OR","Type":"Operation","Children":[{"Type":"Condition","Value":"Level","Children":[{"Value":"In","Type":"Compare"},{"Value":"[1,0]","Type":"Value"}]},{"Type":"Condition","Value":"Level","Children":[{"Value":"NotIn","Type":"Compare"},{"Value":"[2]","Type":"Value"}]}]}]}`
|
8652
|
+
|
8693
8653
|
# **rule规则树限制规则如下**:
|
8694
8654
|
# - 顶层rule中Type可取值:`Condition`,`Operation`
|
8695
8655
|
# - Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation`
|
@@ -8707,50 +8667,43 @@ module TencentCloud
|
|
8707
8667
|
# - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
8708
8668
|
# - 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急)
|
8709
8669
|
# 以下示例表示:告警等级属于提醒
|
8710
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]}]}
|
8711
|
-
# `
|
8670
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]}]}`
|
8712
8671
|
|
8713
8672
|
# - Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型
|
8714
8673
|
# - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
8715
8674
|
# - 下一个子节点value支持的值:1(告警通知),2 (恢复通知)
|
8716
8675
|
# 以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知
|
8717
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}
|
8718
|
-
# `
|
8676
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}`
|
8719
8677
|
|
8720
8678
|
# - Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略
|
8721
8679
|
# - 子节点Type支持`Compare`,Value支持`In`,`NotIn`
|
8722
8680
|
# - 下一个子节点value支持的值:告警策略id数组
|
8723
8681
|
# 以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx
|
8724
|
-
# `"{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\",\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\"]\",\"Type\":\"Value\"}]}]}]}"
|
8725
|
-
# `
|
8682
|
+
# `"{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\",\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\"]\",\"Type\":\"Value\"}]}]}]}"`
|
8726
8683
|
|
8727
8684
|
# - Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称
|
8728
8685
|
# - 子节点Type支持`Compare`,Value支持`=~`,`!=~`
|
8729
8686
|
# - 下一个子节点value支持的值:必须是正则表达式
|
8730
8687
|
# 以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$
|
8731
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}
|
8732
|
-
# `
|
8688
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}`
|
8733
8689
|
|
8734
8690
|
# - Type:Condition 表示是规则条件,Value:Label 表示告警分类字段
|
8735
8691
|
# - 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~`
|
8736
8692
|
# - 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式
|
8737
8693
|
# 以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$
|
8738
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key1\",\"Type\":\"Key\"},{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v1\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key2\",\"Type\":\"Key\"},{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v2\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key3\",\"Type\":\"Key\"},{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key4\",\"Type\":\"Key\"},{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}
|
8739
|
-
# `
|
8694
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key1\",\"Type\":\"Key\"},{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v1\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key2\",\"Type\":\"Key\"},{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v2\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key3\",\"Type\":\"Key\"},{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key4\",\"Type\":\"Key\"},{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}`
|
8740
8695
|
|
8741
8696
|
# - Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间
|
8742
8697
|
# - 子节点Type支持`Compare`,Value支持`Between `,`NotBetween `
|
8743
8698
|
# - 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组
|
8744
8699
|
# 以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36
|
8745
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"Between\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:18:36\\\",\\\"14:33:36\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"NotBetween\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:20:36\\\",\\\"14:30:36\\\"]\",\"Type\":\"Value\"}]}]}]}
|
8746
|
-
# `
|
8700
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"Between\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:18:36\\\",\\\"14:33:36\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"NotBetween\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:20:36\\\",\\\"14:30:36\\\"]\",\"Type\":\"Value\"}]}]}]}`
|
8747
8701
|
|
8748
8702
|
# - Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间
|
8749
8703
|
# - 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=`
|
8750
8704
|
# - 下一个子节点value支持的值:整型值单位分钟
|
8751
8705
|
# 以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟
|
8752
|
-
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}
|
8753
|
-
# `
|
8706
|
+
# `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}`
|
8754
8707
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8755
8708
|
# @type Rule: String
|
8756
8709
|
|
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.
|
4
|
+
version: 3.0.817
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-08 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/v20201016/client.rb
|
37
|
-
- lib/v20201016/models.rb
|
38
36
|
- lib/tencentcloud-sdk-cls.rb
|
37
|
+
- lib/v20201016/models.rb
|
38
|
+
- lib/v20201016/client.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|