tencentcloud-sdk-cls 3.0.816 → 3.0.818

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 +11 -58
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba93f4db80fa725153714446fb0804242b70c6f1
4
- data.tar.gz: 32f3948d962bca7a0761bc7ddff2caf6a22aa08f
3
+ metadata.gz: 20fee08934ebf87532880ab202be9ebb17cd445b
4
+ data.tar.gz: 561cebd8ccd0855c519e83ffae513d9c752496ee
5
5
  SHA512:
6
- metadata.gz: fe955e14ca83dfe799e04f1967e74ce1549bfc0eeac096afc6caec97ec24456e000a6653a1c478fa83f301ce28d87e7e7ba86f62888733c37d3e7c07f496ecb6
7
- data.tar.gz: 307ecb3be125c212b0a75459f8abd72c487fa3ffdb5d573ff6d051c288c8ce018737d5b80713aaf69d7192474f1b5ca9a353f0ae58b994ac9c8895e146bac792
6
+ metadata.gz: 9872f52a2023181739e66a4349119dc1a3b2942118b94a3803183b85826d7d33acb8f5d672ae9e0b126d6ca2f56b7ff1d0a6fe29f1a25262819e868e67a4d520
7
+ data.tar.gz: dabcc8408040319c2bdc0e035b8f068207f4a961ecb6205c14548dc5f0a103b1e86ccd680010df8b3ddd2371c848364861a586cac64cbbd6a91c3e657ef34ab4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.816
1
+ 3.0.818
@@ -8598,7 +8598,7 @@ module TencentCloud
8598
8598
  # 暂不支持其余接收者类型。
8599
8599
  # @type ReceiverType: String
8600
8600
  # @param ReceiverIds: 接收者。
8601
- # 当ReceiverType为Uin时,ReceiverIds的值为用户id。[子用户信息查询](https://cloud.tencent.com/document/product/598/36258)
8601
+ # 当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)
8602
8602
  # 当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/14985)
8603
8603
  # @type ReceiverIds: Array
8604
8604
  # @param ReceiverChannels: 通知接收渠道。
@@ -8647,49 +8647,9 @@ module TencentCloud
8647
8647
  # 注意:此字段可能返回 null,表示取不到有效值。
8648
8648
  # @type WebCallbacks: Array
8649
8649
  # @param Rule: 匹配规则 JSON串。
8650
- # **rule格式为如下嵌套结构体JSON字符串**
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.816
4
+ version: 3.0.818
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-07 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common