tencentcloud-sdk-cls 3.0.729 → 3.0.731

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 +101 -38
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f226228830c2dbd20a933d195f7c9ad6473d630
4
- data.tar.gz: 743015a291e1c81a6d6b0c1abb3b13cf006c6476
3
+ metadata.gz: ee9da96b1fbe4160ffc9d628f84afc8a1e9d774f
4
+ data.tar.gz: 830e55b2eea3d74104fcd9243d48705285d8aa26
5
5
  SHA512:
6
- metadata.gz: 97cde7848233fae8f925c7f50ebda40ecef5eab3821fcc4c958cf2ac59c904aca7e06a8c35c54ac223c507f6cae59b5646c61e5c9cca0f33bb1cb6e0485b3d07
7
- data.tar.gz: 057f0cd2000ff0349df25ad070e3e221157cf6f7ec858c34a484d84c02d0141af04f0de63aa73f15924cd1e3a9b5c49b41f47cc726a96ec92d3b53cf070e712a
6
+ metadata.gz: 00d599e40fd20006c644b2de502b570cbed04416d4180ead114854ba7ba0feec77008b6de2bec259dec9682c8764df18cc55e5dd7ab64ec7627005db1f87b28d
7
+ data.tar.gz: 4c770921996e8094d3b55a6a00872308e4af1be918514d3c3d835dcb6fdab8ed4cd0b5c7ef8d35e55f802c7c8edd47b1a7621d900f9a248ffd9dd05be96e6edb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.729
1
+ 3.0.731
@@ -107,7 +107,7 @@ module TencentCloud
107
107
  # @type AlarmTargets: Array
108
108
  # @param MonitorTime: 监控任务运行时间点。
109
109
  # @type MonitorTime: :class:`Tencentcloud::Cls.v20201016.models.MonitorTime`
110
- # @param Condition: 触发条件。
110
+ # @param Condition: 单触发条件。与MultiConditions参数互斥。
111
111
  # @type Condition: String
112
112
  # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。
113
113
  # @type TriggerCount: Integer
@@ -144,8 +144,8 @@ module TencentCloud
144
144
  # @param AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
145
145
  # 注意:此字段可能返回 null,表示取不到有效值。
146
146
  # @type AlarmLevel: Integer
147
- # @param MultiConditions: 多触发条件。
148
-
147
+ # @param MultiConditions: 多触发条件。与
148
+ # Condition互斥。
149
149
  # 注意:此字段可能返回 null,表示取不到有效值。
150
150
  # @type MultiConditions: Array
151
151
 
@@ -515,7 +515,49 @@ module TencentCloud
515
515
  # @param Content: 分析内容
516
516
  # 注意:此字段可能返回 null,表示取不到有效值。
517
517
  # @type Content: String
518
- # @param ConfigInfo: 配置
518
+ # @param ConfigInfo: 多维分析配置。
519
+
520
+ # 当Analysis的Type字段为query(自定义)时,支持
521
+ # {
522
+ # "Key": "SyntaxRule", // 语法规则
523
+ # "Value": "1" //0:Lucene语法 ,1: CQL语法
524
+ # }
525
+
526
+
527
+
528
+ # 当Analysis的Type字段为field(top5)时, 支持
529
+ # {
530
+ # "Key": "QueryIndex",
531
+ # "Value": "-1" // -1:自定义, 1:执行语句1, 2:执行语句2
532
+ # },{
533
+ # "Key": "CustomQuery", //检索语句。 QueryIndex为-1时有效且必填
534
+ # "Value": "* | select count(*) as count"
535
+ # },{
536
+ # "Key": "SyntaxRule", // 查不到这个字段也是老语法(Lucene)
537
+ # "Value": "0"//0:Lucene, 1:CQL
538
+ # }
539
+
540
+ # 当Analysis的Type字段为original(原始日志)时, 支持
541
+ # {
542
+ # "Key": "Fields",
543
+ # "Value": "__SOURCE__,__HOSTNAME__,__TIMESTAMP__,__PKG_LOGID__,__TAG__.pod_ip"
544
+ # }, {
545
+ # "Key": "QueryIndex",
546
+ # "Value": "-1" // -1:自定义, 1:执行语句1, 2:执行语句2
547
+ # },{
548
+ # "Key": "CustomQuery", // //检索语句。 QueryIndex为-1时有效且必填
549
+ # "Value": "* | select count(*) as count"
550
+ # },{
551
+ # "Key": "Format", //显示形式。1:每条日志一行,2:每条日志每个字段一行
552
+ # "Value": "2"
553
+ # },
554
+ # {
555
+ # "Key": "Limit", //最大日志条数
556
+ # "Value": "5"
557
+ # },{
558
+ # "Key": "SyntaxRule", // 查不到这个字段也是老语法
559
+ # "Value": "0"//0:Lucene, 1:CQL
560
+ # }
519
561
  # 注意:此字段可能返回 null,表示取不到有效值。
520
562
  # @type ConfigInfo: Array
521
563
 
@@ -659,13 +701,15 @@ module TencentCloud
659
701
  class CheckRechargeKafkaServerRequest < TencentCloud::Common::AbstractModel
660
702
  # @param KafkaType: 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
661
703
  # @type KafkaType: Integer
662
- # @param KafkaInstance: 腾讯云CKafka实例ID,KafkaType为0时必填
704
+ # @param KafkaInstance: 腾讯云CKafka实例ID
705
+ # KafkaType为0时,KafkaInstance必填
663
706
  # @type KafkaInstance: String
664
- # @param ServerAddr: 服务地址
707
+ # @param ServerAddr: 服务地址。
708
+ # KafkaType为1时,ServerAddr必填
665
709
  # @type ServerAddr: String
666
710
  # @param IsEncryptionAddr: ServerAddr是否为加密连接
667
711
  # @type IsEncryptionAddr: Boolean
668
- # @param Protocol: 加密访问协议,IsEncryptionAddr参数为true时必填
712
+ # @param Protocol: 加密访问协议。IsEncryptionAddr参数为true时必填
669
713
  # @type Protocol: :class:`Tencentcloud::Cls.v20201016.models.KafkaProtocolInfo`
670
714
 
671
715
  attr_accessor :KafkaType, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol
@@ -1860,9 +1904,10 @@ module TencentCloud
1860
1904
  # @type LogsetId: String
1861
1905
  # @param Name: 投递任务名称
1862
1906
  # @type Name: String
1863
- # @param Bucket: COS存储桶
1907
+ # @param Bucket: COS存储桶。
1908
+ # 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312
1864
1909
  # @type Bucket: String
1865
- # @param BucketRegion: COS存储桶所在地域
1910
+ # @param BucketRegion: COS存储桶所在地域。地域和访问域名:https://cloud.tencent.com/document/product/436/6224
1866
1911
  # @type BucketRegion: String
1867
1912
  # @param Prefix: COS文件所在文件夹的前缀
1868
1913
  # @type Prefix: String
@@ -2194,11 +2239,13 @@ module TencentCloud
2194
2239
  # @type ServerAddr: String
2195
2240
  # @param IsEncryptionAddr: ServerAddr是否为加密连接,KafkaType为1时必填
2196
2241
  # @type IsEncryptionAddr: Boolean
2197
- # @param Protocol: 加密访问协议,IsEncryptionAddr参数为true时必填
2242
+ # @param Protocol: 加密访问协议。
2243
+ # KafkaType为1并且IsEncryptionAddr为true时Protocol必填
2198
2244
  # @type Protocol: :class:`Tencentcloud::Cls.v20201016.models.KafkaProtocolInfo`
2199
2245
  # @param ConsumerGroupName: 用户Kafka消费组名称
2200
2246
  # @type ConsumerGroupName: String
2201
- # @param LogRechargeRule: 日志导入规则
2247
+ # @param LogRechargeRule: 日志导入规则。
2248
+ # 必填字段。
2202
2249
  # @type LogRechargeRule: :class:`Tencentcloud::Cls.v20201016.models.LogRechargeRuleInfo`
2203
2250
 
2204
2251
  attr_accessor :TopicId, :Name, :KafkaType, :UserKafkaTopics, :Offset, :KafkaInstance, :ServerAddr, :IsEncryptionAddr, :Protocol, :ConsumerGroupName, :LogRechargeRule
@@ -4888,18 +4935,18 @@ module TencentCloud
4888
4935
  # @type Offset: Integer
4889
4936
  # @param Limit: 分页单页限制数目,默认值为20,最大值100。
4890
4937
  # @type Limit: Integer
4891
- # @param Name: 任务名称
4938
+ # @param Name: 任务名称。
4892
4939
  # @type Name: String
4893
- # @param TaskId: 任务id
4940
+ # @param TaskId: 任务id
4894
4941
  # @type TaskId: String
4895
- # @param Filters: <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>
4896
- # <li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>
4897
- # <li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否</li>
4898
- # <li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否</li>
4899
- # <li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,。类型:String必选:否</li>
4900
- # <li>status按照【任务状态】进行过滤。类型:String必选:否</li>
4901
- # <li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否</li>
4902
- # <li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否</li>
4942
+ # @param Filters: <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li>
4943
+ # <li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li>
4944
+ # <li>srcTopicId按照【源日志主题ID】进行过滤。类型:String。必选:否</li>
4945
+ # <li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String。必选:否</li>
4946
+ # <li>bizType按照【主题类型】进行过滤,0日志主题 1指标主题。类型:String。必选:否</li>
4947
+ # <li>status按照【任务状态】进行过滤,1:运行 2:停止。类型:String。必选:否</li>
4948
+ # <li>taskName按照【任务名称】进行过滤,模糊匹配。类型:String。必选:否</li>
4949
+ # <li>taskId按照【任务ID】进行过滤,模糊匹配。类型:String。必选:否</li>
4903
4950
  # @type Filters: Array
4904
4951
 
4905
4952
  attr_accessor :Offset, :Limit, :Name, :TaskId, :Filters
@@ -5517,8 +5564,9 @@ module TencentCloud
5517
5564
  # @type To: Integer
5518
5565
  # @param Query: 查询过滤条件,例如:
5519
5566
  # - 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"`
5520
- # - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b") `
5521
- # - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b")`
5567
+ # - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
5568
+ # - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
5569
+ # - 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
5522
5570
  # @type Query: String
5523
5571
  # @param Limit: 单次查询返回的执行详情条数,最大值为1000
5524
5572
  # @type Limit: Integer
@@ -5560,13 +5608,18 @@ module TencentCloud
5560
5608
  # @type ListOver: Boolean
5561
5609
  # @param Analysis: 返回的结果是否为SQL分析结果
5562
5610
  # @type Analysis: Boolean
5563
- # @param ColNames: 如果Analysis为True,则返回分析结果的列名,否则为空
5611
+ # @param ColNames: 分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;
5612
+ # 否则为空。
5564
5613
  # 注意:此字段可能返回 null,表示取不到有效值。
5565
5614
  # @type ColNames: Array
5566
- # @param Results: 执行详情查询结果;当Analysis为True时,可能返回为null
5615
+ # @param Results: 执行详情查询结果。
5616
+
5617
+ # 当Query字段无SQL语句时,返回查询结果。
5618
+ # 当Query字段有SQL语句时,可能返回null。
5567
5619
  # 注意:此字段可能返回 null,表示取不到有效值。
5568
5620
  # @type Results: Array
5569
- # @param AnalysisResults: 执行详情统计分析结果;当Analysis为False时,可能返回为null
5621
+ # @param AnalysisResults: 执行详情统计分析结果。当Query字段有SQL语句时,返回sql统计结果,否则可能返回null
5622
+
5570
5623
  # 注意:此字段可能返回 null,表示取不到有效值。
5571
5624
  # @type AnalysisResults: Array
5572
5625
  # @param AnalysisRecords: 执行详情统计分析结果; UseNewAnalysis为true有效
@@ -5759,16 +5812,20 @@ module TencentCloud
5759
5812
 
5760
5813
  # Kafka访问协议
5761
5814
  class KafkaProtocolInfo < TencentCloud::Common::AbstractModel
5762
- # @param Protocol: 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证
5815
+ # @param Protocol: 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。
5816
+ # 入参必填
5763
5817
  # 注意:此字段可能返回 null,表示取不到有效值。
5764
5818
  # @type Protocol: String
5765
- # @param Mechanism: 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512
5819
+ # @param Mechanism: 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512
5820
+ # 当Protocol为sasl_plaintext或sasl_ssl时必填
5766
5821
  # 注意:此字段可能返回 null,表示取不到有效值。
5767
5822
  # @type Mechanism: String
5768
- # @param UserName: 用户名
5823
+ # @param UserName: 用户名。
5824
+ # 当Protocol为sasl_plaintext或sasl_ssl时必填
5769
5825
  # 注意:此字段可能返回 null,表示取不到有效值。
5770
5826
  # @type UserName: String
5771
- # @param Password: 用户密码
5827
+ # @param Password: 用户密码。
5828
+ # 当Protocol为sasl_plaintext或sasl_ssl时必填
5772
5829
  # 注意:此字段可能返回 null,表示取不到有效值。
5773
5830
  # @type Password: String
5774
5831
 
@@ -7890,17 +7947,21 @@ module TencentCloud
7890
7947
  # @type PreviewType: Integer
7891
7948
  # @param KafkaType: 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
7892
7949
  # @type KafkaType: Integer
7893
- # @param UserKafkaTopics: 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开
7950
+ # @param UserKafkaTopics: 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。最多支持100个。
7894
7951
  # @type UserKafkaTopics: String
7895
7952
  # @param Offset: 导入数据位置,-2:最早(默认),-1:最晚
7896
7953
  # @type Offset: Integer
7897
- # @param KafkaInstance: 腾讯云CKafka实例ID,KafkaType为0时必填
7954
+ # @param KafkaInstance: 腾讯云CKafka实例ID
7955
+ # KafkaType为0时KafkaInstance必填
7898
7956
  # @type KafkaInstance: String
7899
- # @param ServerAddr: 服务地址
7957
+ # @param ServerAddr: 服务地址。
7958
+ # KafkaType为1时ServerAddr必填
7900
7959
  # @type ServerAddr: String
7901
- # @param IsEncryptionAddr: ServerAddr是否为加密连接
7960
+ # @param IsEncryptionAddr: ServerAddr是否为加密连接。。
7961
+ # KafkaType为1时有效。
7902
7962
  # @type IsEncryptionAddr: Boolean
7903
- # @param Protocol: 加密访问协议,IsEncryptionAddr参数为true时必填
7963
+ # @param Protocol: 加密访问协议。
7964
+ # KafkaType为1并且IsEncryptionAddr为true时Protocol必填
7904
7965
  # @type Protocol: :class:`Tencentcloud::Cls.v20201016.models.KafkaProtocolInfo`
7905
7966
  # @param ConsumerGroupName: 用户Kafka消费组
7906
7967
  # @type ConsumerGroupName: String
@@ -8251,7 +8312,7 @@ module TencentCloud
8251
8312
  # @type Region: String
8252
8313
  # @param BizType: 主题类型:0为日志主题,1为指标主题
8253
8314
  # @type BizType: Integer
8254
- # @param MetricName: 指标名称
8315
+ # @param MetricName: 指标名称。当BizType为1时,MetricName需要填写
8255
8316
  # @type MetricName: String
8256
8317
  # @param MetricNames: 指标名称
8257
8318
  # BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段
@@ -8394,9 +8455,11 @@ module TencentCloud
8394
8455
  # @type LogsetId: String
8395
8456
  # @param Name: 投递任务名称
8396
8457
  # @type Name: String
8397
- # @param Bucket: 存储桶
8458
+ # @param Bucket: 存储桶。
8459
+ # 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312
8398
8460
  # @type Bucket: String
8399
- # @param BucketRegion: 存储桶所在地域
8461
+ # @param BucketRegion: 存储桶所在地域。
8462
+ # 地域和访问域名:https://cloud.tencent.com/document/product/436/6224
8400
8463
  # @type BucketRegion: String
8401
8464
  # @param Prefix: cos文件所在文件夹的前缀
8402
8465
  # @type Prefix: String
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.729
4
+ version: 3.0.731
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-12-17 00:00:00.000000000 Z
11
+ date: 2023-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common