tencentcloud-sdk-cls 3.0.1122 → 3.0.1123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +1 -1
- data/lib/v20201016/models.rb +73 -56
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5396487402cf3d912c9d85479cb600c507bfea15
|
4
|
+
data.tar.gz: 7676a285b715296d3946da920afb843e977c8176
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f98862fd8b60e4838e833f3f9fb045dd0c41ac91296dce0770870698818346c65ae6494357a292189ce56f4b4a89024cfc34d3980c9c4126829954eafd1eb7b0
|
7
|
+
data.tar.gz: 1b5e481f2ce6d9d2f2011323c93e1963272e2418b14eb89f04d923ed207959d41a5711586a456aafeef7ecad4567f32996855a29009468e0e34b7d2611e2d3d2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1123
|
data/lib/v20201016/client.rb
CHANGED
@@ -2077,7 +2077,7 @@ module TencentCloud
|
|
2077
2077
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2078
2078
|
end
|
2079
2079
|
|
2080
|
-
#
|
2080
|
+
# 该接口用于修改告警屏蔽规则。当告警屏蔽规则为失效中时,无法对其进行修改
|
2081
2081
|
|
2082
2082
|
# @param request: Request instance for ModifyAlarmShield.
|
2083
2083
|
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyAlarmShieldRequest`
|
data/lib/v20201016/models.rb
CHANGED
@@ -19,7 +19,8 @@ module TencentCloud
|
|
19
19
|
module V20201016
|
20
20
|
# AddMachineGroupInfo请求参数结构体
|
21
21
|
class AddMachineGroupInfoRequest < TencentCloud::Common::AbstractModel
|
22
|
-
# @param GroupId: 机器组
|
22
|
+
# @param GroupId: 机器组Id
|
23
|
+
# - 通过[获取机器组列表](https://cloud.tencent.com/document/product/614/56438)获取机器组Id。
|
23
24
|
# @type GroupId: String
|
24
25
|
# @param MachineGroupType: 机器组类型
|
25
26
|
# 目前type支持 ip 和 label
|
@@ -142,7 +143,7 @@ module TencentCloud
|
|
142
143
|
# @type AlarmTargets: Array
|
143
144
|
# @param MonitorTime: 监控任务运行时间点。
|
144
145
|
# @type MonitorTime: :class:`Tencentcloud::Cls.v20201016.models.MonitorTime`
|
145
|
-
# @param Condition:
|
146
|
+
# @param Condition: 是否触发告警的单触发条件。与MultiConditions参数互斥。
|
146
147
|
# @type Condition: String
|
147
148
|
# @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。
|
148
149
|
# @type TriggerCount: Integer
|
@@ -154,9 +155,9 @@ module TencentCloud
|
|
154
155
|
# @type Status: Boolean
|
155
156
|
# @param AlarmId: 告警策略ID。
|
156
157
|
# @type AlarmId: String
|
157
|
-
# @param CreateTime:
|
158
|
+
# @param CreateTime: 创建时间。格式: YYYY-MM-DD HH:MM:SS
|
158
159
|
# @type CreateTime: String
|
159
|
-
# @param UpdateTime:
|
160
|
+
# @param UpdateTime: 最近更新时间。格式: YYYY-MM-DD HH:MM:SS
|
160
161
|
# @type UpdateTime: String
|
161
162
|
# @param MessageTemplate: 自定义通知模板
|
162
163
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -300,9 +301,9 @@ module TencentCloud
|
|
300
301
|
# @param AlarmNoticeDeliverConfig: 投递相关信息。
|
301
302
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
302
303
|
# @type AlarmNoticeDeliverConfig: :class:`Tencentcloud::Cls.v20201016.models.AlarmNoticeDeliverConfig`
|
303
|
-
# @param CreateTime:
|
304
|
+
# @param CreateTime: 创建时间。格式: YYYY-MM-DD HH:MM:SS
|
304
305
|
# @type CreateTime: String
|
305
|
-
# @param UpdateTime:
|
306
|
+
# @param UpdateTime: 最近更新时间。格式: YYYY-MM-DD HH:MM:SS
|
306
307
|
# @type UpdateTime: String
|
307
308
|
|
308
309
|
attr_accessor :Name, :Tags, :Type, :NoticeReceivers, :WebCallbacks, :AlarmNoticeId, :NoticeRules, :AlarmShieldStatus, :JumpDomain, :AlarmNoticeDeliverConfig, :CreateTime, :UpdateTime
|
@@ -456,7 +457,7 @@ module TencentCloud
|
|
456
457
|
|
457
458
|
# 告警对象
|
458
459
|
class AlarmTarget < TencentCloud::Common::AbstractModel
|
459
|
-
# @param TopicId: 日志主题ID
|
460
|
+
# @param TopicId: 日志主题ID。-通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题ID
|
460
461
|
# @type TopicId: String
|
461
462
|
# @param Query: 查询语句。
|
462
463
|
# @type Query: String
|
@@ -466,7 +467,7 @@ module TencentCloud
|
|
466
467
|
# @type StartTimeOffset: Integer
|
467
468
|
# @param EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
468
469
|
# @type EndTimeOffset: Integer
|
469
|
-
# @param LogsetId: 日志集ID
|
470
|
+
# @param LogsetId: 日志集ID。通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志集ID
|
470
471
|
# @type LogsetId: String
|
471
472
|
# @param SyntaxRule: 检索语法规则,默认值为0。
|
472
473
|
# 0:Lucene语法,1:CQL语法。
|
@@ -589,15 +590,15 @@ module TencentCloud
|
|
589
590
|
# @type Trigger: String
|
590
591
|
# @param TriggerCount: 持续周期,持续满足触发条件TriggerCount个周期后,再进行告警
|
591
592
|
# @type TriggerCount: Integer
|
592
|
-
# @param AlarmPeriod: 告警通知发送频率,单位为分钟
|
593
|
+
# @param AlarmPeriod: 告警通知发送频率,单位为分钟(min)
|
593
594
|
# @type AlarmPeriod: Integer
|
594
595
|
# @param Notices: 通知渠道组
|
595
596
|
# @type Notices: Array
|
596
|
-
# @param Duration: 告警持续时间,单位为分钟
|
597
|
+
# @param Duration: 告警持续时间,单位为分钟(min)
|
597
598
|
# @type Duration: Integer
|
598
599
|
# @param Status: 告警状态,0代表未恢复,1代表已恢复,2代表已失效
|
599
600
|
# @type Status: Integer
|
600
|
-
# @param CreateTime: 告警发生时间,毫秒级Unix时间戳
|
601
|
+
# @param CreateTime: 告警发生时间,毫秒级Unix时间戳(ms)
|
601
602
|
# @type CreateTime: Integer
|
602
603
|
# @param GroupTriggerCondition: 告警分组触发时对应的分组信息
|
603
604
|
# @type GroupTriggerCondition: Array
|
@@ -666,7 +667,7 @@ module TencentCloud
|
|
666
667
|
class AnalysisDimensional < TencentCloud::Common::AbstractModel
|
667
668
|
# @param Name: 分析名称
|
668
669
|
# @type Name: String
|
669
|
-
# @param Type: 分析类型:query,field ,original
|
670
|
+
# @param Type: 分析类型:query(自定义检索分析),field(字段TOP5及占比统计) ,original(相关原始日志)
|
670
671
|
# @type Type: String
|
671
672
|
# @param Content: 分析内容
|
672
673
|
# @type Content: String
|
@@ -1916,7 +1917,7 @@ module TencentCloud
|
|
1916
1917
|
|
1917
1918
|
# CreateAlarmNotice请求参数结构体
|
1918
1919
|
class CreateAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
1919
|
-
# @param Name:
|
1920
|
+
# @param Name: 通知渠道组名称。最大支持255个字节。 不支持 '|'。
|
1920
1921
|
# @type Name: String
|
1921
1922
|
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持50个标签键值对,并且不能有重复的键值对。
|
1922
1923
|
# @type Tags: Array
|
@@ -2031,7 +2032,7 @@ module TencentCloud
|
|
2031
2032
|
|
2032
2033
|
# CreateAlarm请求参数结构体
|
2033
2034
|
class CreateAlarmRequest < TencentCloud::Common::AbstractModel
|
2034
|
-
# @param Name:
|
2035
|
+
# @param Name: 告警策略名称。最大支持255个字节。 不支持 '|'。
|
2035
2036
|
# @type Name: String
|
2036
2037
|
# @param AlarmTargets: 监控对象列表。
|
2037
2038
|
# @type AlarmTargets: Array
|
@@ -2041,9 +2042,9 @@ module TencentCloud
|
|
2041
2042
|
# @type TriggerCount: Integer
|
2042
2043
|
# @param AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
|
2043
2044
|
# @type AlarmPeriod: Integer
|
2044
|
-
# @param AlarmNoticeIds:
|
2045
|
+
# @param AlarmNoticeIds: 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表
|
2045
2046
|
# @type AlarmNoticeIds: Array
|
2046
|
-
# @param Condition:
|
2047
|
+
# @param Condition: 告警发送通知的触发条件
|
2047
2048
|
# 注意:
|
2048
2049
|
# - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
2049
2050
|
# @type Condition: String
|
@@ -2202,11 +2203,11 @@ module TencentCloud
|
|
2202
2203
|
|
2203
2204
|
# CreateAlarmShield请求参数结构体
|
2204
2205
|
class CreateAlarmShieldRequest < TencentCloud::Common::AbstractModel
|
2205
|
-
# @param AlarmNoticeId: 通知渠道组id
|
2206
|
+
# @param AlarmNoticeId: 通知渠道组id。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取通知渠道组id
|
2206
2207
|
# @type AlarmNoticeId: String
|
2207
|
-
# @param StartTime:
|
2208
|
+
# @param StartTime: 屏蔽规则开始时间,秒级(s)时间戳。
|
2208
2209
|
# @type StartTime: Integer
|
2209
|
-
# @param EndTime:
|
2210
|
+
# @param EndTime: 屏蔽规则结束时间,秒级(s)时间戳。结束时间需要大于当前时间
|
2210
2211
|
# @type EndTime: Integer
|
2211
2212
|
# @param Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
2212
2213
|
# @type Type: Integer
|
@@ -3265,7 +3266,10 @@ module TencentCloud
|
|
3265
3266
|
|
3266
3267
|
# CreateMachineGroup请求参数结构体
|
3267
3268
|
class CreateMachineGroupRequest < TencentCloud::Common::AbstractModel
|
3268
|
-
# @param GroupName:
|
3269
|
+
# @param GroupName: 机器组名字。
|
3270
|
+
# 输入限制:
|
3271
|
+
# - 最大支持255个字符,不能为空字符串
|
3272
|
+
# - 不能包含字符'|'
|
3269
3273
|
# @type GroupName: String
|
3270
3274
|
# @param MachineGroupType: 创建机器组类型。取值如下:
|
3271
3275
|
# - Type:ip,Values中为ip字符串列表创建机器组
|
@@ -3276,12 +3280,16 @@ module TencentCloud
|
|
3276
3280
|
# @param AutoUpdate: 是否开启机器组自动更新。默认false
|
3277
3281
|
# @type AutoUpdate: Boolean
|
3278
3282
|
# @param UpdateStartTime: 升级开始时间,建议业务低峰期升级LogListener
|
3283
|
+
# 时间格式:HH:mm:ss
|
3279
3284
|
# @type UpdateStartTime: String
|
3280
3285
|
# @param UpdateEndTime: 升级结束时间,建议业务低峰期升级LogListener
|
3286
|
+
# 时间格式:HH:mm:ss
|
3281
3287
|
# @type UpdateEndTime: String
|
3282
3288
|
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费。默认false
|
3283
3289
|
# @type ServiceLogging: Boolean
|
3284
3290
|
# @param DelayCleanupTime: 机器组中机器离线清理时间。单位:天
|
3291
|
+
|
3292
|
+
# - 大于0时生效。
|
3285
3293
|
# @type DelayCleanupTime: Integer
|
3286
3294
|
# @param MetaTags: 机器组元数据信息列表
|
3287
3295
|
# @type MetaTags: Array
|
@@ -3358,7 +3366,7 @@ module TencentCloud
|
|
3358
3366
|
|
3359
3367
|
# CreateNoticeContent请求参数结构体
|
3360
3368
|
class CreateNoticeContentRequest < TencentCloud::Common::AbstractModel
|
3361
|
-
# @param Name:
|
3369
|
+
# @param Name: 模板名称。最大支持255个字节
|
3362
3370
|
# @type Name: String
|
3363
3371
|
# @param Type: 模板内容语言。0:中文1:英文
|
3364
3372
|
# @type Type: Integer
|
@@ -3720,7 +3728,7 @@ module TencentCloud
|
|
3720
3728
|
|
3721
3729
|
# CreateWebCallback请求参数结构体
|
3722
3730
|
class CreateWebCallbackRequest < TencentCloud::Common::AbstractModel
|
3723
|
-
# @param Name:
|
3731
|
+
# @param Name: 通知内容名称。最大支持255个字节
|
3724
3732
|
# @type Name: String
|
3725
3733
|
# @param Type: 渠道类型。
|
3726
3734
|
|
@@ -3732,7 +3740,7 @@ module TencentCloud
|
|
3732
3740
|
|
3733
3741
|
# 当Type为Http时,必填。
|
3734
3742
|
# @type Method: String
|
3735
|
-
# @param Key:
|
3743
|
+
# @param Key: 秘钥。最大支持1024个字节
|
3736
3744
|
# @type Key: String
|
3737
3745
|
|
3738
3746
|
attr_accessor :Name, :Type, :Webhook, :Method, :Key
|
@@ -4140,7 +4148,7 @@ module TencentCloud
|
|
4140
4148
|
|
4141
4149
|
# DeleteAlarmNotice请求参数结构体
|
4142
4150
|
class DeleteAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
4143
|
-
# @param AlarmNoticeId: 通知渠道组ID
|
4151
|
+
# @param AlarmNoticeId: 通知渠道组ID。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/api/614/56462)获取通知渠道组ID
|
4144
4152
|
# @type AlarmNoticeId: String
|
4145
4153
|
|
4146
4154
|
attr_accessor :AlarmNoticeId
|
@@ -4786,7 +4794,7 @@ module TencentCloud
|
|
4786
4794
|
|
4787
4795
|
# DeleteNoticeContent请求参数结构体
|
4788
4796
|
class DeleteNoticeContentRequest < TencentCloud::Common::AbstractModel
|
4789
|
-
# @param NoticeContentId: 通知内容模板ID
|
4797
|
+
# @param NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
|
4790
4798
|
# @type NoticeContentId: String
|
4791
4799
|
|
4792
4800
|
attr_accessor :NoticeContentId
|
@@ -4920,7 +4928,7 @@ module TencentCloud
|
|
4920
4928
|
|
4921
4929
|
# DeleteWebCallback请求参数结构体
|
4922
4930
|
class DeleteWebCallbackRequest < TencentCloud::Common::AbstractModel
|
4923
|
-
# @param WebCallbackId: 告警渠道回调配置ID
|
4931
|
+
# @param WebCallbackId: 告警渠道回调配置ID。-通过[获取告警渠道回调配置列表](https://cloud.tencent.com/document/api/614/115229)获取告警渠道回调配置ID
|
4924
4932
|
# @type WebCallbackId: String
|
4925
4933
|
|
4926
4934
|
attr_accessor :WebCallbackId
|
@@ -4962,7 +4970,7 @@ module TencentCloud
|
|
4962
4970
|
|
4963
4971
|
# https://cloud.tencent.com/document/product/614/18940
|
4964
4972
|
# @type Region: String
|
4965
|
-
# @param TopicId: 日志主题ID
|
4973
|
+
# @param TopicId: 日志主题ID。-通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题ID
|
4966
4974
|
# @type TopicId: String
|
4967
4975
|
# @param Scope: 投递数据范围。
|
4968
4976
|
|
@@ -4991,18 +4999,22 @@ module TencentCloud
|
|
4991
4999
|
# @param Filters: <li> name
|
4992
5000
|
# 按照【通知渠道组名称】进行过滤。
|
4993
5001
|
# 类型:String
|
5002
|
+
# 示例:"Filters":[{"Key":"name","Values":["test-notice"]}]
|
4994
5003
|
# 必选:否</li>
|
4995
5004
|
# <li> alarmNoticeId
|
4996
5005
|
# 按照【通知渠道组ID】进行过滤。
|
4997
5006
|
# 类型:String
|
5007
|
+
# 示例:"Filters": [{Key: "alarmNoticeId", Values: ["notice-5281f1d2-6275-4e56-9ec3-a1eb19d8bc2f"]}]
|
4998
5008
|
# 必选:否</li>
|
4999
5009
|
# <li> uid
|
5000
5010
|
# 按照【接收用户ID】进行过滤。
|
5001
5011
|
# 类型:String
|
5012
|
+
# 示例:"Filters": [{Key: "uid", Values: ["1137546"]}]
|
5002
5013
|
# 必选:否</li>
|
5003
5014
|
# <li> groupId
|
5004
5015
|
# 按照【接收用户组ID】进行过滤。
|
5005
5016
|
# 类型:String
|
5017
|
+
# 示例:"Filters": [{Key: "groupId", Values: ["344098"]}]
|
5006
5018
|
# 必选:否</li>
|
5007
5019
|
|
5008
5020
|
# <li> deliverFlag
|
@@ -5010,7 +5022,7 @@ module TencentCloud
|
|
5010
5022
|
# 类型:String
|
5011
5023
|
# 必选:否
|
5012
5024
|
# 可选值: "1":未启用, "2": 已启用, "3":投递异常</li>
|
5013
|
-
|
5025
|
+
# 示例:"Filters":[{"Key":"deliverFlag","Values":["2"]}]
|
5014
5026
|
# 每次请求的Filters的上限为10,Filter.Values的上限为5。
|
5015
5027
|
# @type Filters: Array
|
5016
5028
|
# @param Offset: 分页的偏移量,默认值为0。
|
@@ -5145,22 +5157,26 @@ module TencentCloud
|
|
5145
5157
|
# - 按照【告警策略名称】进行过滤。
|
5146
5158
|
# - 类型:String
|
5147
5159
|
# - 必选:否
|
5160
|
+
# - 示例:test-alarm
|
5148
5161
|
|
5149
5162
|
# alarmId
|
5150
5163
|
# - 按照【告警策略ID】进行过滤。
|
5151
5164
|
# - 类型:String
|
5152
5165
|
# - 必选:否
|
5166
|
+
# - 示例:alarm-b60cf034-c3d6-4b01-xxxx-4e877ebb4751
|
5153
5167
|
|
5154
5168
|
# topicId
|
5155
5169
|
# - 按照【监控对象的日志主题ID】进行过滤。
|
5156
5170
|
# - 类型:String
|
5157
5171
|
# - 必选:否
|
5172
|
+
# - 示例:6766f83d-659e-xxxx-a8f7-9104a1012743
|
5158
5173
|
|
5159
5174
|
# enable
|
5160
5175
|
# - 按照【启用状态】进行过滤。
|
5161
5176
|
# - 类型:String
|
5162
5177
|
# - 备注:enable参数值范围: 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False。 其它值将返回参数错误信息.
|
5163
5178
|
# - 必选:否
|
5179
|
+
# - 示例:true
|
5164
5180
|
|
5165
5181
|
# 每次请求的Filters的上限为10,Filter.Values的上限为5。
|
5166
5182
|
# @type Filters: Array
|
@@ -5224,9 +5240,9 @@ module TencentCloud
|
|
5224
5240
|
|
5225
5241
|
# DescribeAlertRecordHistory请求参数结构体
|
5226
5242
|
class DescribeAlertRecordHistoryRequest < TencentCloud::Common::AbstractModel
|
5227
|
-
# @param From: 查询时间范围启始时间,毫秒级unix时间戳
|
5243
|
+
# @param From: 查询时间范围启始时间,毫秒级unix时间戳(ms)
|
5228
5244
|
# @type From: Integer
|
5229
|
-
# @param To: 查询时间范围结束时间,毫秒级unix时间戳
|
5245
|
+
# @param To: 查询时间范围结束时间,毫秒级unix时间戳(ms)
|
5230
5246
|
# @type To: Integer
|
5231
5247
|
# @param Offset: 分页的偏移量,默认值为0。
|
5232
5248
|
# @type Offset: Integer
|
@@ -7151,7 +7167,7 @@ module TencentCloud
|
|
7151
7167
|
# 按照【告警渠道回调配置渠道类型】进行过滤。
|
7152
7168
|
# 类型:String
|
7153
7169
|
# 必选:否
|
7154
|
-
|
7170
|
+
# 枚举值:WeCom,DingTalk,Lark,Http
|
7155
7171
|
# 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
7156
7172
|
# @type Filters: Array
|
7157
7173
|
# @param Offset: 分页的偏移量,默认值为0。
|
@@ -8762,7 +8778,7 @@ module TencentCloud
|
|
8762
8778
|
|
8763
8779
|
# ModifyAlarmNotice请求参数结构体
|
8764
8780
|
class ModifyAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
8765
|
-
# @param AlarmNoticeId: 通知渠道组ID
|
8781
|
+
# @param AlarmNoticeId: 通知渠道组ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知渠道组ID
|
8766
8782
|
# @type AlarmNoticeId: String
|
8767
8783
|
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
8768
8784
|
# @type Tags: Array
|
@@ -8882,13 +8898,13 @@ module TencentCloud
|
|
8882
8898
|
|
8883
8899
|
# ModifyAlarm请求参数结构体
|
8884
8900
|
class ModifyAlarmRequest < TencentCloud::Common::AbstractModel
|
8885
|
-
# @param AlarmId: 告警策略ID
|
8901
|
+
# @param AlarmId: 告警策略ID。-通过[获取告警策略列表](https://cloud.tencent.com/document/product/614/56461)获取告警策略ID
|
8886
8902
|
# @type AlarmId: String
|
8887
|
-
# @param Name:
|
8903
|
+
# @param Name: 告警策略名称。最大支持255个字节,不支持 '|'。
|
8888
8904
|
# @type Name: String
|
8889
8905
|
# @param MonitorTime: 监控任务运行时间点。
|
8890
8906
|
# @type MonitorTime: :class:`Tencentcloud::Cls.v20201016.models.MonitorTime`
|
8891
|
-
# @param Condition:
|
8907
|
+
# @param Condition: 告警信息发送的触发条件。
|
8892
8908
|
|
8893
8909
|
# 注意:
|
8894
8910
|
# - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
@@ -8909,7 +8925,7 @@ module TencentCloud
|
|
8909
8925
|
# @type TriggerCount: Integer
|
8910
8926
|
# @param AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
|
8911
8927
|
# @type AlarmPeriod: Integer
|
8912
|
-
# @param AlarmNoticeIds:
|
8928
|
+
# @param AlarmNoticeIds: 关联的告警通知渠道列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取告警通知渠道列表
|
8913
8929
|
# @type AlarmNoticeIds: Array
|
8914
8930
|
# @param AlarmTargets: 监控对象列表。
|
8915
8931
|
# @type AlarmTargets: Array
|
@@ -9049,13 +9065,13 @@ module TencentCloud
|
|
9049
9065
|
|
9050
9066
|
# ModifyAlarmShield请求参数结构体
|
9051
9067
|
class ModifyAlarmShieldRequest < TencentCloud::Common::AbstractModel
|
9052
|
-
# @param TaskId: 屏蔽规则ID
|
9068
|
+
# @param TaskId: 屏蔽规则ID。-通过[获取告警屏蔽配置规则](https://cloud.tencent.com/document/api/614/103650)获取屏蔽规则ID
|
9053
9069
|
# @type TaskId: String
|
9054
|
-
# @param AlarmNoticeId: 通知渠道组id
|
9070
|
+
# @param AlarmNoticeId: 通知渠道组id。-通过[获取告警屏蔽配置规则](https://cloud.tencent.com/document/api/614/103650)获取通知渠道组id
|
9055
9071
|
# @type AlarmNoticeId: String
|
9056
|
-
# @param StartTime:
|
9072
|
+
# @param StartTime: 屏蔽开始时间,秒级(s)时间戳。
|
9057
9073
|
# @type StartTime: Integer
|
9058
|
-
# @param EndTime:
|
9074
|
+
# @param EndTime: 屏蔽结束时间,秒级(s)时间戳。
|
9059
9075
|
# @type EndTime: Integer
|
9060
9076
|
# @param Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
9061
9077
|
# @type Type: Integer
|
@@ -9064,6 +9080,7 @@ module TencentCloud
|
|
9064
9080
|
# @param Reason: 屏蔽原因。
|
9065
9081
|
# @type Reason: String
|
9066
9082
|
# @param Status: 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。
|
9083
|
+
# 枚举:0(未生效),1(生效中),2(已失效)
|
9067
9084
|
# @type Status: Integer
|
9068
9085
|
|
9069
9086
|
attr_accessor :TaskId, :AlarmNoticeId, :StartTime, :EndTime, :Type, :Rule, :Reason, :Status
|
@@ -10038,7 +10055,7 @@ module TencentCloud
|
|
10038
10055
|
|
10039
10056
|
# ModifyNoticeContent请求参数结构体
|
10040
10057
|
class ModifyNoticeContentRequest < TencentCloud::Common::AbstractModel
|
10041
|
-
# @param NoticeContentId: 通知内容模板ID
|
10058
|
+
# @param NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
|
10042
10059
|
# @type NoticeContentId: String
|
10043
10060
|
# @param Name: 通知内容模板名称。
|
10044
10061
|
# @type Name: String
|
@@ -10107,7 +10124,7 @@ module TencentCloud
|
|
10107
10124
|
# @type ProcessTimeWindow: String
|
10108
10125
|
# @param ProcessDelay: 执行延迟(秒),0~120秒,默认60秒
|
10109
10126
|
# @type ProcessDelay: Integer
|
10110
|
-
# @param SrcTopicRegion: 源topicId的地域信息,支持地域见(https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8)
|
10127
|
+
# @param SrcTopicRegion: 源topicId的地域信息,支持地域见 [地域列表](https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) 文档
|
10111
10128
|
# @type SrcTopicRegion: String
|
10112
10129
|
# @param Name: 任务名称,0~255字符
|
10113
10130
|
# @type Name: String
|
@@ -10380,9 +10397,9 @@ module TencentCloud
|
|
10380
10397
|
|
10381
10398
|
# ModifyWebCallback请求参数结构体
|
10382
10399
|
class ModifyWebCallbackRequest < TencentCloud::Common::AbstractModel
|
10383
|
-
# @param WebCallbackId: 告警渠道回调配置ID
|
10400
|
+
# @param WebCallbackId: 告警渠道回调配置ID。-通过[获取告警渠道回调配置列表](https://cloud.tencent.com/document/api/614/115229)获取告警渠道回调配置ID
|
10384
10401
|
# @type WebCallbackId: String
|
10385
|
-
# @param Name:
|
10402
|
+
# @param Name: 告警渠道回调配置名称。最大支持255个字节
|
10386
10403
|
# @type Name: String
|
10387
10404
|
# @param Type: 渠道类型
|
10388
10405
|
|
@@ -10396,7 +10413,7 @@ module TencentCloud
|
|
10396
10413
|
|
10397
10414
|
# 注意:当Type为Http时,必填。
|
10398
10415
|
# @type Method: String
|
10399
|
-
# @param Key:
|
10416
|
+
# @param Key: 秘钥信息。最大支持1024个字节
|
10400
10417
|
# @type Key: String
|
10401
10418
|
|
10402
10419
|
attr_accessor :WebCallbackId, :Name, :Type, :Webhook, :Method, :Key
|
@@ -10447,7 +10464,7 @@ module TencentCloud
|
|
10447
10464
|
# @param Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
|
10448
10465
|
# 当type为`Period`,`Fixed`时,time字段生效。
|
10449
10466
|
# @type Time: Integer
|
10450
|
-
# @param CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
|
10467
|
+
# @param CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field(分钟), Hours field(小时),Day of month field(日期),Month field(月份),Day of week field(星期), 不支持秒级别。
|
10451
10468
|
# 当type为`Cron`时,CronExpression字段生效。
|
10452
10469
|
# @type CronExpression: String
|
10453
10470
|
|
@@ -10588,9 +10605,9 @@ module TencentCloud
|
|
10588
10605
|
# @type Uin: Integer
|
10589
10606
|
# @param SubUin: 创建/修改者子账号。
|
10590
10607
|
# @type SubUin: Integer
|
10591
|
-
# @param CreateTime: 创建时间
|
10608
|
+
# @param CreateTime: 创建时间 秒级(s)时间戳。
|
10592
10609
|
# @type CreateTime: Integer
|
10593
|
-
# @param UpdateTime: 更新时间
|
10610
|
+
# @param UpdateTime: 更新时间 秒级(s)时间戳。
|
10594
10611
|
# @type UpdateTime: Integer
|
10595
10612
|
|
10596
10613
|
attr_accessor :NoticeContentId, :Name, :Type, :NoticeContents, :Flag, :Uin, :SubUin, :CreateTime, :UpdateTime
|
@@ -10644,7 +10661,7 @@ module TencentCloud
|
|
10644
10661
|
# - WeChat - 微信
|
10645
10662
|
# - Phone - 电话
|
10646
10663
|
# @type ReceiverChannels: Array
|
10647
|
-
# @param NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)
|
10664
|
+
# @param NoticeContentId: 通知内容模板ID,使用Default-zh引用默认模板(中文),使用Default-en引用DefaultTemplate(English)。-通过[获取通知内容模板](https://cloud.tencent.com/document/product/614/111714)获取通知内容模板ID
|
10648
10665
|
# @type NoticeContentId: String
|
10649
10666
|
# @param StartTime: 允许接收信息的开始时间。格式:`15:04:05`。必填
|
10650
10667
|
# @type StartTime: String
|
@@ -12403,15 +12420,15 @@ module TencentCloud
|
|
12403
12420
|
# 回调地址
|
12404
12421
|
class WebCallback < TencentCloud::Common::AbstractModel
|
12405
12422
|
# @param CallbackType: 回调的类型。可选值:
|
12406
|
-
# - Http
|
12407
|
-
# - WeCom
|
12408
|
-
# - DingTalk
|
12409
|
-
# - Lark
|
12423
|
+
# - Http(自定义接口回调)
|
12424
|
+
# - WeCom(企业微信)
|
12425
|
+
# - DingTalk(钉钉)
|
12426
|
+
# - Lark(飞书)
|
12410
12427
|
# @type CallbackType: String
|
12411
12428
|
# @param Url: 回调地址,最大支持1024个字节。
|
12412
12429
|
# 也可使用WebCallbackId引用集成配置中的URL,此时该字段请填写为空字符串。
|
12413
12430
|
# @type Url: String
|
12414
|
-
# @param WebCallbackId: 集成配置ID
|
12431
|
+
# @param WebCallbackId: 集成配置ID。-通过[获取告警渠道回调配置列表](https://cloud.tencent.com/document/product/614/115229)获取集成配置ID
|
12415
12432
|
# @type WebCallbackId: String
|
12416
12433
|
# @param Method: 回调方法。可选值:
|
12417
12434
|
# - POST(默认值)
|
@@ -12496,9 +12513,9 @@ module TencentCloud
|
|
12496
12513
|
# @type Uin: Integer
|
12497
12514
|
# @param SubUin: 子账号。
|
12498
12515
|
# @type SubUin: Integer
|
12499
|
-
# @param CreateTime:
|
12516
|
+
# @param CreateTime: 创建时间。秒(s)级时间戳
|
12500
12517
|
# @type CreateTime: Integer
|
12501
|
-
# @param UpdateTime:
|
12518
|
+
# @param UpdateTime: 更新时间。秒(s)级时间戳
|
12502
12519
|
# @type UpdateTime: Integer
|
12503
12520
|
|
12504
12521
|
attr_accessor :WebCallbackId, :Name, :Type, :Webhook, :Method, :Key, :Uin, :SubUin, :CreateTime, :UpdateTime
|
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.1123
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|