tencentcloud-sdk-cls 3.0.760 → 3.0.761
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/client.rb +96 -0
- data/lib/v20201016/models.rb +283 -0
- 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: b3f4244ea866db14d253c5bd1208c27ce50f1411
|
4
|
+
data.tar.gz: 6afb96eb2a537c6e27501fc791e16aa8255352b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70cd23651968de26f48f6404a5501a0272cd0919dda11daf925d2657c9ddea90c95bfc057f9141c5f7091b0fe78ac2ba642e364c48c382e9a864f692a1f08e39
|
7
|
+
data.tar.gz: 0a2d4f05b39ae475b0daac5bca25afd65b166d4fb043651be9345da77923fae015638d7c195f1c27fcb2e0c462a3a44628b93df1b4b9489df88c8f3b185f64d0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.761
|
data/lib/v20201016/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 该接口用于创建告警屏蔽规则。
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateAlarmShield.
|
203
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateAlarmShieldRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateAlarmShieldResponse`
|
205
|
+
def CreateAlarmShield(request)
|
206
|
+
body = send_request('CreateAlarmShield', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateAlarmShieldResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 创建采集规则配置
|
201
225
|
|
202
226
|
# @param request: Request instance for CreateConfig.
|
@@ -581,6 +605,30 @@ module TencentCloud
|
|
581
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
606
|
end
|
583
607
|
|
608
|
+
# 该接口用于删除告警屏蔽规则。
|
609
|
+
|
610
|
+
# @param request: Request instance for DeleteAlarmShield.
|
611
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteAlarmShieldRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteAlarmShieldResponse`
|
613
|
+
def DeleteAlarmShield(request)
|
614
|
+
body = send_request('DeleteAlarmShield', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DeleteAlarmShieldResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
584
632
|
# 删除采集规则配置
|
585
633
|
|
586
634
|
# @param request: Request instance for DeleteConfig.
|
@@ -941,6 +989,30 @@ module TencentCloud
|
|
941
989
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
990
|
end
|
943
991
|
|
992
|
+
# 获取告警屏蔽配置规则
|
993
|
+
|
994
|
+
# @param request: Request instance for DescribeAlarmShields.
|
995
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeAlarmShieldsRequest`
|
996
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeAlarmShieldsResponse`
|
997
|
+
def DescribeAlarmShields(request)
|
998
|
+
body = send_request('DescribeAlarmShields', request.serialize)
|
999
|
+
response = JSON.parse(body)
|
1000
|
+
if response['Response'].key?('Error') == false
|
1001
|
+
model = DescribeAlarmShieldsResponse.new
|
1002
|
+
model.deserialize(response['Response'])
|
1003
|
+
model
|
1004
|
+
else
|
1005
|
+
code = response['Response']['Error']['Code']
|
1006
|
+
message = response['Response']['Error']['Message']
|
1007
|
+
reqid = response['Response']['RequestId']
|
1008
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1009
|
+
end
|
1010
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1011
|
+
raise e
|
1012
|
+
rescue StandardError => e
|
1013
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
|
+
end
|
1015
|
+
|
944
1016
|
# 本接口用于获取告警策略列表。
|
945
1017
|
|
946
1018
|
# @param request: Request instance for DescribeAlarms.
|
@@ -1637,6 +1709,30 @@ module TencentCloud
|
|
1637
1709
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
1710
|
end
|
1639
1711
|
|
1712
|
+
# 该接口用于修改告警屏蔽规则。
|
1713
|
+
|
1714
|
+
# @param request: Request instance for ModifyAlarmShield.
|
1715
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyAlarmShieldRequest`
|
1716
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyAlarmShieldResponse`
|
1717
|
+
def ModifyAlarmShield(request)
|
1718
|
+
body = send_request('ModifyAlarmShield', request.serialize)
|
1719
|
+
response = JSON.parse(body)
|
1720
|
+
if response['Response'].key?('Error') == false
|
1721
|
+
model = ModifyAlarmShieldResponse.new
|
1722
|
+
model.deserialize(response['Response'])
|
1723
|
+
model
|
1724
|
+
else
|
1725
|
+
code = response['Response']['Error']['Code']
|
1726
|
+
message = response['Response']['Error']['Message']
|
1727
|
+
reqid = response['Response']['RequestId']
|
1728
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1729
|
+
end
|
1730
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1731
|
+
raise e
|
1732
|
+
rescue StandardError => e
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
|
+
end
|
1735
|
+
|
1640
1736
|
# 修改采集规则配置
|
1641
1737
|
|
1642
1738
|
# @param request: Request instance for ModifyConfig.
|
data/lib/v20201016/models.rb
CHANGED
@@ -297,6 +297,69 @@ module TencentCloud
|
|
297
297
|
end
|
298
298
|
end
|
299
299
|
|
300
|
+
# 告警屏蔽任务配置
|
301
|
+
class AlarmShieldInfo < TencentCloud::Common::AbstractModel
|
302
|
+
# @param AlarmNoticeId: 通知渠道组Id
|
303
|
+
# @type AlarmNoticeId: String
|
304
|
+
# @param TaskId: 屏蔽规则id
|
305
|
+
# @type TaskId: String
|
306
|
+
# @param StartTime: 屏蔽开始时间(秒级时间戳)。
|
307
|
+
# @type StartTime: Integer
|
308
|
+
# @param EndTime: 屏蔽结束时间(秒级时间戳)。
|
309
|
+
# @type EndTime: Integer
|
310
|
+
# @param Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
311
|
+
# @type Type: Integer
|
312
|
+
# @param Rule: 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
313
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
314
|
+
# @type Rule: String
|
315
|
+
# @param Reason: 屏蔽原因。
|
316
|
+
# @type Reason: String
|
317
|
+
# @param Source: 规则创建来源。
|
318
|
+
# 1. 控制台,2.api,3.告警通知
|
319
|
+
# @type Source: Integer
|
320
|
+
# @param Operator: 操作者。
|
321
|
+
# @type Operator: String
|
322
|
+
# @param Status: 规则状态。
|
323
|
+
# 0:暂未生效,1:生效中,2:已失效
|
324
|
+
# @type Status: Integer
|
325
|
+
# @param CreateTime: 规则创建时间。
|
326
|
+
# @type CreateTime: Integer
|
327
|
+
# @param UpdateTime: 规则更新时间。
|
328
|
+
# @type UpdateTime: Integer
|
329
|
+
|
330
|
+
attr_accessor :AlarmNoticeId, :TaskId, :StartTime, :EndTime, :Type, :Rule, :Reason, :Source, :Operator, :Status, :CreateTime, :UpdateTime
|
331
|
+
|
332
|
+
def initialize(alarmnoticeid=nil, taskid=nil, starttime=nil, endtime=nil, type=nil, rule=nil, reason=nil, source=nil, operator=nil, status=nil, createtime=nil, updatetime=nil)
|
333
|
+
@AlarmNoticeId = alarmnoticeid
|
334
|
+
@TaskId = taskid
|
335
|
+
@StartTime = starttime
|
336
|
+
@EndTime = endtime
|
337
|
+
@Type = type
|
338
|
+
@Rule = rule
|
339
|
+
@Reason = reason
|
340
|
+
@Source = source
|
341
|
+
@Operator = operator
|
342
|
+
@Status = status
|
343
|
+
@CreateTime = createtime
|
344
|
+
@UpdateTime = updatetime
|
345
|
+
end
|
346
|
+
|
347
|
+
def deserialize(params)
|
348
|
+
@AlarmNoticeId = params['AlarmNoticeId']
|
349
|
+
@TaskId = params['TaskId']
|
350
|
+
@StartTime = params['StartTime']
|
351
|
+
@EndTime = params['EndTime']
|
352
|
+
@Type = params['Type']
|
353
|
+
@Rule = params['Rule']
|
354
|
+
@Reason = params['Reason']
|
355
|
+
@Source = params['Source']
|
356
|
+
@Operator = params['Operator']
|
357
|
+
@Status = params['Status']
|
358
|
+
@CreateTime = params['CreateTime']
|
359
|
+
@UpdateTime = params['UpdateTime']
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
300
363
|
# 告警对象
|
301
364
|
class AlarmTarget < TencentCloud::Common::AbstractModel
|
302
365
|
# @param TopicId: 日志主题ID。
|
@@ -1637,6 +1700,62 @@ module TencentCloud
|
|
1637
1700
|
end
|
1638
1701
|
end
|
1639
1702
|
|
1703
|
+
# CreateAlarmShield请求参数结构体
|
1704
|
+
class CreateAlarmShieldRequest < TencentCloud::Common::AbstractModel
|
1705
|
+
# @param AlarmNoticeId: 通知渠道组id。
|
1706
|
+
# @type AlarmNoticeId: String
|
1707
|
+
# @param StartTime: 屏蔽开始时间(秒级时间戳)。
|
1708
|
+
# @type StartTime: Integer
|
1709
|
+
# @param EndTime: 屏蔽结束时间(秒级时间戳)。
|
1710
|
+
# @type EndTime: Integer
|
1711
|
+
# @param Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
1712
|
+
# @type Type: Integer
|
1713
|
+
# @param Reason: 屏蔽原因。
|
1714
|
+
# @type Reason: String
|
1715
|
+
# @param Rule: 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
1716
|
+
# @type Rule: String
|
1717
|
+
|
1718
|
+
attr_accessor :AlarmNoticeId, :StartTime, :EndTime, :Type, :Reason, :Rule
|
1719
|
+
|
1720
|
+
def initialize(alarmnoticeid=nil, starttime=nil, endtime=nil, type=nil, reason=nil, rule=nil)
|
1721
|
+
@AlarmNoticeId = alarmnoticeid
|
1722
|
+
@StartTime = starttime
|
1723
|
+
@EndTime = endtime
|
1724
|
+
@Type = type
|
1725
|
+
@Reason = reason
|
1726
|
+
@Rule = rule
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
def deserialize(params)
|
1730
|
+
@AlarmNoticeId = params['AlarmNoticeId']
|
1731
|
+
@StartTime = params['StartTime']
|
1732
|
+
@EndTime = params['EndTime']
|
1733
|
+
@Type = params['Type']
|
1734
|
+
@Reason = params['Reason']
|
1735
|
+
@Rule = params['Rule']
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# CreateAlarmShield返回参数结构体
|
1740
|
+
class CreateAlarmShieldResponse < TencentCloud::Common::AbstractModel
|
1741
|
+
# @param TaskId: 屏蔽规则ID。
|
1742
|
+
# @type TaskId: String
|
1743
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1744
|
+
# @type RequestId: String
|
1745
|
+
|
1746
|
+
attr_accessor :TaskId, :RequestId
|
1747
|
+
|
1748
|
+
def initialize(taskid=nil, requestid=nil)
|
1749
|
+
@TaskId = taskid
|
1750
|
+
@RequestId = requestid
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
def deserialize(params)
|
1754
|
+
@TaskId = params['TaskId']
|
1755
|
+
@RequestId = params['RequestId']
|
1756
|
+
end
|
1757
|
+
end
|
1758
|
+
|
1640
1759
|
# CreateConfigExtra请求参数结构体
|
1641
1760
|
class CreateConfigExtraRequest < TencentCloud::Common::AbstractModel
|
1642
1761
|
# @param Name: 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
|
@@ -2995,6 +3114,42 @@ module TencentCloud
|
|
2995
3114
|
end
|
2996
3115
|
end
|
2997
3116
|
|
3117
|
+
# DeleteAlarmShield请求参数结构体
|
3118
|
+
class DeleteAlarmShieldRequest < TencentCloud::Common::AbstractModel
|
3119
|
+
# @param TaskId: 屏蔽规则id。
|
3120
|
+
# @type TaskId: String
|
3121
|
+
# @param AlarmNoticeId: 通知渠道组id。
|
3122
|
+
# @type AlarmNoticeId: String
|
3123
|
+
|
3124
|
+
attr_accessor :TaskId, :AlarmNoticeId
|
3125
|
+
|
3126
|
+
def initialize(taskid=nil, alarmnoticeid=nil)
|
3127
|
+
@TaskId = taskid
|
3128
|
+
@AlarmNoticeId = alarmnoticeid
|
3129
|
+
end
|
3130
|
+
|
3131
|
+
def deserialize(params)
|
3132
|
+
@TaskId = params['TaskId']
|
3133
|
+
@AlarmNoticeId = params['AlarmNoticeId']
|
3134
|
+
end
|
3135
|
+
end
|
3136
|
+
|
3137
|
+
# DeleteAlarmShield返回参数结构体
|
3138
|
+
class DeleteAlarmShieldResponse < TencentCloud::Common::AbstractModel
|
3139
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3140
|
+
# @type RequestId: String
|
3141
|
+
|
3142
|
+
attr_accessor :RequestId
|
3143
|
+
|
3144
|
+
def initialize(requestid=nil)
|
3145
|
+
@RequestId = requestid
|
3146
|
+
end
|
3147
|
+
|
3148
|
+
def deserialize(params)
|
3149
|
+
@RequestId = params['RequestId']
|
3150
|
+
end
|
3151
|
+
end
|
3152
|
+
|
2998
3153
|
# DeleteConfigExtra请求参数结构体
|
2999
3154
|
class DeleteConfigExtraRequest < TencentCloud::Common::AbstractModel
|
3000
3155
|
# @param ConfigExtraId: 采集规则扩展配置ID
|
@@ -3549,6 +3704,74 @@ module TencentCloud
|
|
3549
3704
|
end
|
3550
3705
|
end
|
3551
3706
|
|
3707
|
+
# DescribeAlarmShields请求参数结构体
|
3708
|
+
class DescribeAlarmShieldsRequest < TencentCloud::Common::AbstractModel
|
3709
|
+
# @param AlarmNoticeId: 通知渠道组id。
|
3710
|
+
# @type AlarmNoticeId: String
|
3711
|
+
# @param Filters: - taskId:按照【规则id】进行过滤。类型:String 必选:否
|
3712
|
+
# - status:按照【规则状态】进行过滤。类型:String。 支持 0:暂未生效,1:生效中,2:已失效。 必选:否
|
3713
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
3714
|
+
# @type Filters: Array
|
3715
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
3716
|
+
# @type Offset: Integer
|
3717
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
3718
|
+
# @type Limit: Integer
|
3719
|
+
|
3720
|
+
attr_accessor :AlarmNoticeId, :Filters, :Offset, :Limit
|
3721
|
+
|
3722
|
+
def initialize(alarmnoticeid=nil, filters=nil, offset=nil, limit=nil)
|
3723
|
+
@AlarmNoticeId = alarmnoticeid
|
3724
|
+
@Filters = filters
|
3725
|
+
@Offset = offset
|
3726
|
+
@Limit = limit
|
3727
|
+
end
|
3728
|
+
|
3729
|
+
def deserialize(params)
|
3730
|
+
@AlarmNoticeId = params['AlarmNoticeId']
|
3731
|
+
unless params['Filters'].nil?
|
3732
|
+
@Filters = []
|
3733
|
+
params['Filters'].each do |i|
|
3734
|
+
filter_tmp = Filter.new
|
3735
|
+
filter_tmp.deserialize(i)
|
3736
|
+
@Filters << filter_tmp
|
3737
|
+
end
|
3738
|
+
end
|
3739
|
+
@Offset = params['Offset']
|
3740
|
+
@Limit = params['Limit']
|
3741
|
+
end
|
3742
|
+
end
|
3743
|
+
|
3744
|
+
# DescribeAlarmShields返回参数结构体
|
3745
|
+
class DescribeAlarmShieldsResponse < TencentCloud::Common::AbstractModel
|
3746
|
+
# @param TotalCount: 符合条件的规则总数目
|
3747
|
+
# @type TotalCount: Integer
|
3748
|
+
# @param AlarmShields: 告警屏蔽规则详情
|
3749
|
+
# @type AlarmShields: Array
|
3750
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3751
|
+
# @type RequestId: String
|
3752
|
+
|
3753
|
+
attr_accessor :TotalCount, :AlarmShields, :RequestId
|
3754
|
+
|
3755
|
+
def initialize(totalcount=nil, alarmshields=nil, requestid=nil)
|
3756
|
+
@TotalCount = totalcount
|
3757
|
+
@AlarmShields = alarmshields
|
3758
|
+
@RequestId = requestid
|
3759
|
+
end
|
3760
|
+
|
3761
|
+
def deserialize(params)
|
3762
|
+
@TotalCount = params['TotalCount']
|
3763
|
+
unless params['AlarmShields'].nil?
|
3764
|
+
@AlarmShields = []
|
3765
|
+
params['AlarmShields'].each do |i|
|
3766
|
+
alarmshieldinfo_tmp = AlarmShieldInfo.new
|
3767
|
+
alarmshieldinfo_tmp.deserialize(i)
|
3768
|
+
@AlarmShields << alarmshieldinfo_tmp
|
3769
|
+
end
|
3770
|
+
end
|
3771
|
+
@RequestId = params['RequestId']
|
3772
|
+
end
|
3773
|
+
end
|
3774
|
+
|
3552
3775
|
# DescribeAlarms请求参数结构体
|
3553
3776
|
class DescribeAlarmsRequest < TencentCloud::Common::AbstractModel
|
3554
3777
|
# @param Filters: name
|
@@ -6753,6 +6976,66 @@ module TencentCloud
|
|
6753
6976
|
end
|
6754
6977
|
end
|
6755
6978
|
|
6979
|
+
# ModifyAlarmShield请求参数结构体
|
6980
|
+
class ModifyAlarmShieldRequest < TencentCloud::Common::AbstractModel
|
6981
|
+
# @param TaskId: 屏蔽规则ID。
|
6982
|
+
# @type TaskId: String
|
6983
|
+
# @param AlarmNoticeId: 通知渠道组id。
|
6984
|
+
# @type AlarmNoticeId: String
|
6985
|
+
# @param StartTime: 屏蔽开始时间(秒级时间戳)。
|
6986
|
+
# @type StartTime: Integer
|
6987
|
+
# @param EndTime: 屏蔽结束时间(秒级时间戳)。
|
6988
|
+
# @type EndTime: Integer
|
6989
|
+
# @param Type: 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。
|
6990
|
+
# @type Type: Integer
|
6991
|
+
# @param Rule: 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。
|
6992
|
+
# @type Rule: String
|
6993
|
+
# @param Reason: 屏蔽原因。
|
6994
|
+
# @type Reason: String
|
6995
|
+
# @param Status: 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。
|
6996
|
+
# @type Status: Integer
|
6997
|
+
|
6998
|
+
attr_accessor :TaskId, :AlarmNoticeId, :StartTime, :EndTime, :Type, :Rule, :Reason, :Status
|
6999
|
+
|
7000
|
+
def initialize(taskid=nil, alarmnoticeid=nil, starttime=nil, endtime=nil, type=nil, rule=nil, reason=nil, status=nil)
|
7001
|
+
@TaskId = taskid
|
7002
|
+
@AlarmNoticeId = alarmnoticeid
|
7003
|
+
@StartTime = starttime
|
7004
|
+
@EndTime = endtime
|
7005
|
+
@Type = type
|
7006
|
+
@Rule = rule
|
7007
|
+
@Reason = reason
|
7008
|
+
@Status = status
|
7009
|
+
end
|
7010
|
+
|
7011
|
+
def deserialize(params)
|
7012
|
+
@TaskId = params['TaskId']
|
7013
|
+
@AlarmNoticeId = params['AlarmNoticeId']
|
7014
|
+
@StartTime = params['StartTime']
|
7015
|
+
@EndTime = params['EndTime']
|
7016
|
+
@Type = params['Type']
|
7017
|
+
@Rule = params['Rule']
|
7018
|
+
@Reason = params['Reason']
|
7019
|
+
@Status = params['Status']
|
7020
|
+
end
|
7021
|
+
end
|
7022
|
+
|
7023
|
+
# ModifyAlarmShield返回参数结构体
|
7024
|
+
class ModifyAlarmShieldResponse < TencentCloud::Common::AbstractModel
|
7025
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7026
|
+
# @type RequestId: String
|
7027
|
+
|
7028
|
+
attr_accessor :RequestId
|
7029
|
+
|
7030
|
+
def initialize(requestid=nil)
|
7031
|
+
@RequestId = requestid
|
7032
|
+
end
|
7033
|
+
|
7034
|
+
def deserialize(params)
|
7035
|
+
@RequestId = params['RequestId']
|
7036
|
+
end
|
7037
|
+
end
|
7038
|
+
|
6756
7039
|
# ModifyConfigExtra请求参数结构体
|
6757
7040
|
class ModifyConfigExtraRequest < TencentCloud::Common::AbstractModel
|
6758
7041
|
# @param ConfigExtraId: 采集配置扩展信息id
|
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.761
|
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-01-
|
11
|
+
date: 2024-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|